Mercurial > emacs
comparison configure @ 108119:beeec356b30f
Use autoconf instead of cpp for LIB_MATH.
* s/darwin.h (LIB_MATH): Do not define here, move to configure.
* s/cygwin.h (LIB_MATH): Likewise.
* Makefile.in (LIB_MATH): Do not define with cpp.
(LIBES): Use autoconf for LIB_MATH.
* configure.in (LIB_MATH): New output variable. Set it for some systems.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 26 Apr 2010 10:10:09 -0700 |
parents | 76692c9b0d43 |
children | 8fead72884b2 |
comparison
equal
deleted
inserted
replaced
108118:769f66a9a7ef | 108119:beeec356b30f |
---|---|
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 |
14 DUALCASE=1; export DUALCASE # for MKS sh | 18 DUALCASE=1; export DUALCASE # for MKS sh |
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 19 if 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 |
19 # is contrary to our usage. Disable this feature. | 23 # is contrary to our usage. Disable this feature. |
20 alias -g '${1+"$@"}'='"$@"' | 24 alias -g '${1+"$@"}'='"$@"' |
21 setopt NO_GLOB_SUBST | 25 setopt NO_GLOB_SUBST |
22 else | 26 else |
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 ;; | |
25 esac | 32 esac |
26 | 33 fi |
27 fi | 34 |
28 | |
29 | |
30 | |
31 | |
32 # PATH needs CR | |
33 # Avoid depending upon Character Ranges. | |
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
37 as_cr_digits='0123456789' | |
38 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
39 | 35 |
40 as_nl=' | 36 as_nl=' |
41 ' | 37 ' |
42 export as_nl | 38 export as_nl |
43 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
47 if (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. | |
45 if 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 --' | |
49 elif (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' |
50 else | 52 else |
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
53 as_echo_n='/usr/ucb/echo -n' | 55 as_echo_n='/usr/ucb/echo -n' |
54 else | 56 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\\(.*\\)"`;; |
62 esac; | 64 esac; |
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
77 PATH_SEPARATOR=';' | 79 PATH_SEPARATOR=';' |
78 } | 80 } |
79 fi | 81 fi |
80 | 82 |
81 # Support unset when possible. | |
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
83 as_unset=unset | |
84 else | |
85 as_unset=false | |
86 fi | |
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 |
91 # there to prevent editors from complaining about space-tab. | 86 # there to prevent editors from complaining about space-tab. |
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
93 # splitting by setting IFS to empty value.) | 88 # splitting by setting IFS to empty value.) |
94 IFS=" "" $as_nl" | 89 IFS=" "" $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. |
97 case $0 in | 92 case $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 |
100 for as_dir in $PATH | 95 for as_dir in $PATH |
101 do | 96 do |
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 |
105 done | 100 done |
106 IFS=$as_save_IFS | 101 IFS=$as_save_IFS |
107 | 102 |
108 ;; | 103 ;; |
109 esac | 104 esac |
110 # We did not find ourselves, most probably we were run as `sh COMMAND' | 105 # We did not find ourselves, most probably we were run as `sh COMMAND' |
112 if test "x$as_myself" = x; then | 107 if test "x$as_myself" = x; then |
113 as_myself=$0 | 108 as_myself=$0 |
114 fi | 109 fi |
115 if test ! -f "$as_myself"; then | 110 if 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 |
118 fi | 113 fi |
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 |
121 for as_var in ENV MAIL MAILPATH | 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
122 do ($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. | |
119 for as_var in BASH_ENV ENV MAIL MAILPATH | |
120 do eval test x\${$as_var+set} = xset \ | |
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
123 done | 122 done |
124 PS1='$ ' | 123 PS1='$ ' |
125 PS2='> ' | 124 PS2='> ' |
126 PS4='+ ' | 125 PS4='+ ' |
127 | 126 |
129 LC_ALL=C | 128 LC_ALL=C |
130 export LC_ALL | 129 export LC_ALL |
131 LANGUAGE=C | 130 LANGUAGE=C |
132 export LANGUAGE | 131 export LANGUAGE |
133 | 132 |
134 # Required to use basename. | 133 # CDPATH. |
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
135 | |
136 if test "x$CONFIG_SHELL" = x; then | |
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
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 | |
144 else | |
145 case \`(set -o) 2>/dev/null\` in #( | |
146 *posix*) : | |
147 set -o posix ;; #( | |
148 *) : | |
149 ;; | |
150 esac | |
151 fi | |
152 " | |
153 as_required="as_fn_return () { (exit \$1); } | |
154 as_fn_success () { as_fn_return 0; } | |
155 as_fn_failure () { as_fn_return 1; } | |
156 as_fn_ret_success () { return 0; } | |
157 as_fn_ret_failure () { return 1; } | |
158 | |
159 exitcode=0 | |
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
165 | |
166 else | |
167 exitcode=1; echo positional parameters were not saved. | |
168 fi | |
169 test x\$exitcode = x0 || exit 1" | |
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
174 test \$(( 1 + 1 )) = 2 || exit 1" | |
175 if (eval "$as_required") 2>/dev/null; then : | |
176 as_have_required=yes | |
177 else | |
178 as_have_required=no | |
179 fi | |
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
181 | |
182 else | |
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
184 as_found=false | |
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
186 do | |
187 IFS=$as_save_IFS | |
188 test -z "$as_dir" && as_dir=. | |
189 as_found=: | |
190 case $as_dir in #( | |
191 /*) | |
192 for as_base in sh bash ksh sh5; do | |
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 | |
200 fi | |
201 fi | |
202 done;; | |
203 esac | |
204 as_found=false | |
205 done | |
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 | |
209 fi; } | |
210 IFS=$as_save_IFS | |
211 | |
212 | |
213 if test "x$CONFIG_SHELL" != x; then : | |
214 # We cannot yet assume a decent shell, so we have to provide a | |
215 # neutralization value for shells without unset; and this also | |
216 # works around shells that cannot unset nonexistent variables. | |
217 BASH_ENV=/dev/null | |
218 ENV=/dev/null | |
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
220 export CONFIG_SHELL | |
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
222 fi | |
223 | |
224 if test x$as_have_required = xno; then : | |
225 $as_echo "$0: This script requires a shell more modern than all" | |
226 $as_echo "$0: the shells that I found on your system." | |
227 if test x${ZSH_VERSION+set} = xset ; then | |
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
230 else | |
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
232 $0: including any error possibly output before this | |
233 $0: message. Then install a modern shell, or manually run | |
234 $0: the script under such a shell if you do have one." | |
235 fi | |
236 exit 1 | |
237 fi | |
238 fi | |
239 fi | |
240 SHELL=${CONFIG_SHELL-/bin/sh} | |
241 export SHELL | |
242 # Unset more variables known to interfere with behavior of common tools. | |
243 CLICOLOR_FORCE= GREP_OPTIONS= | |
244 unset CLICOLOR_FORCE GREP_OPTIONS | |
245 | |
246 ## --------------------- ## | |
247 ## M4sh Shell Functions. ## | |
248 ## --------------------- ## | |
249 # as_fn_unset VAR | |
250 # --------------- | |
251 # Portably unset VAR. | |
252 as_fn_unset () | |
253 { | |
254 { eval $1=; unset $1;} | |
255 } | |
256 as_unset=as_fn_unset | |
257 | |
258 # as_fn_set_status STATUS | |
259 # ----------------------- | |
260 # Set $? to STATUS, without forking. | |
261 as_fn_set_status () | |
262 { | |
263 return $1 | |
264 } # as_fn_set_status | |
265 | |
266 # as_fn_exit STATUS | |
267 # ----------------- | |
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
269 as_fn_exit () | |
270 { | |
271 set +e | |
272 as_fn_set_status $1 | |
273 exit $1 | |
274 } # as_fn_exit | |
275 | |
276 # as_fn_mkdir_p | |
277 # ------------- | |
278 # Create "$as_dir" as a directory, including parents if necessary. | |
279 as_fn_mkdir_p () | |
280 { | |
281 | |
282 case $as_dir in #( | |
283 -*) as_dir=./$as_dir;; | |
284 esac | |
285 test -d "$as_dir" || eval $as_mkdir_p || { | |
286 as_dirs= | |
287 while :; do | |
288 case $as_dir in #( | |
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
290 *) as_qdir=$as_dir;; | |
291 esac | |
292 as_dirs="'$as_qdir' $as_dirs" | |
293 as_dir=`$as_dirname -- "$as_dir" || | |
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
295 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
296 X"$as_dir" : 'X\(//\)$' \| \ | |
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
298 $as_echo X"$as_dir" | | |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
300 s//\1/ | |
301 q | |
302 } | |
303 /^X\(\/\/\)[^/].*/{ | |
304 s//\1/ | |
305 q | |
306 } | |
307 /^X\(\/\/\)$/{ | |
308 s//\1/ | |
309 q | |
310 } | |
311 /^X\(\/\).*/{ | |
312 s//\1/ | |
313 q | |
314 } | |
315 s/.*/./; q'` | |
316 test -d "$as_dir" && break | |
317 done | |
318 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
320 | |
321 | |
322 } # as_fn_mkdir_p | |
323 # as_fn_append VAR VALUE | |
324 # ---------------------- | |
325 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
326 # advantage of any shell optimizations that allow amortized linear growth over | |
327 # repeated appends, instead of the typical quadratic growth present in naive | |
328 # implementations. | |
329 if (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 }' | |
334 else | |
335 as_fn_append () | |
336 { | |
337 eval $1=\$$1\$2 | |
338 } | |
339 fi # 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. | |
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
347 eval 'as_fn_arith () | |
348 { | |
349 as_val=$(( $* )) | |
350 }' | |
351 else | |
352 as_fn_arith () | |
353 { | |
354 as_val=`expr "$@" || test $? -eq 1` | |
355 } | |
356 fi # as_fn_arith | |
357 | |
358 | |
359 # as_fn_error ERROR [LINENO LOG_FD] | |
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. | |
364 as_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 | |
135 if expr a : '\(a\)' >/dev/null 2>&1 && | 375 if expr a : '\(a\)' >/dev/null 2>&1 && |
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
137 as_expr=expr | 377 as_expr=expr |
138 else | 378 else |
139 as_expr=false | 379 as_expr=false |
143 as_basename=basename | 383 as_basename=basename |
144 else | 384 else |
145 as_basename=false | 385 as_basename=false |
146 fi | 386 fi |
147 | 387 |
148 | 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
149 # Name of the executable. | 389 as_dirname=dirname |
390 else | |
391 as_dirname=false | |
392 fi | |
393 | |
150 as_me=`$as_basename -- "$0" || | 394 as_me=`$as_basename -- "$0" || |
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
152 X"$0" : 'X\(//\)$' \| \ | 396 X"$0" : 'X\(//\)$' \| \ |
153 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
154 $as_echo X/"$0" | | 398 $as_echo X/"$0" | |
164 s//\1/ | 408 s//\1/ |
165 q | 409 q |
166 } | 410 } |
167 s/.*/./; q'` | 411 s/.*/./; q'` |
168 | 412 |
169 # CDPATH. | 413 # Avoid depending upon Character Ranges. |
170 $as_unset CDPATH | 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
171 | 415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
172 | 416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
173 if test "x$CONFIG_SHELL" = x; then | 417 as_cr_digits='0123456789' |
174 if (eval ":") 2>/dev/null; then | 418 as_cr_alnum=$as_cr_Letters$as_cr_digits |
175 as_have_required=yes | 419 |
176 else | 420 |
177 as_have_required=no | 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO |
178 fi | 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO |
179 | 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
180 if test $as_have_required = yes && (eval ": | 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
181 (as_func_return () { | 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
182 (exit \$1) | |
183 } | |
184 as_func_success () { | |
185 as_func_return 0 | |
186 } | |
187 as_func_failure () { | |
188 as_func_return 1 | |
189 } | |
190 as_func_ret_success () { | |
191 return 0 | |
192 } | |
193 as_func_ret_failure () { | |
194 return 1 | |
195 } | |
196 | |
197 exitcode=0 | |
198 if as_func_success; then | |
199 : | |
200 else | |
201 exitcode=1 | |
202 echo as_func_success failed. | |
203 fi | |
204 | |
205 if as_func_failure; then | |
206 exitcode=1 | |
207 echo as_func_failure succeeded. | |
208 fi | |
209 | |
210 if as_func_ret_success; then | |
211 : | |
212 else | |
213 exitcode=1 | |
214 echo as_func_ret_success failed. | |
215 fi | |
216 | |
217 if as_func_ret_failure; then | |
218 exitcode=1 | |
219 echo as_func_ret_failure succeeded. | |
220 fi | |
221 | |
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
223 : | |
224 else | |
225 exitcode=1 | |
226 echo positional parameters were not saved. | |
227 fi | |
228 | |
229 test \$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 : | |
238 else | |
239 as_candidate_shells= | |
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
242 do | |
243 IFS=$as_save_IFS | |
244 test -z "$as_dir" && as_dir=. | |
245 case $as_dir in | |
246 /*) | |
247 for as_base in sh bash ksh sh5; do | |
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
249 done;; | |
250 esac | |
251 done | |
252 IFS=$as_save_IFS | |
253 | |
254 | |
255 for as_shell in $as_candidate_shells $SHELL; do | |
256 # Try only shells that exist, to save several forks. | |
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
258 { ("$as_shell") 2> /dev/null <<\_ASEOF | |
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
260 emulate sh | |
261 NULLCMD=: | |
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 | |
266 else | |
267 case `(set -o) 2>/dev/null` in | |
268 *posix*) set -o posix ;; | |
269 esac | |
270 | |
271 fi | |
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 | |
280 if 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 | |
287 else | |
288 case `(set -o) 2>/dev/null` in | |
289 *posix*) set -o posix ;; | |
290 esac | |
291 | |
292 fi | |
293 | |
294 | |
295 : | |
296 (as_func_return () { | |
297 (exit $1) | |
298 } | |
299 as_func_success () { | |
300 as_func_return 0 | |
301 } | |
302 as_func_failure () { | |
303 as_func_return 1 | |
304 } | |
305 as_func_ret_success () { | |
306 return 0 | |
307 } | |
308 as_func_ret_failure () { | |
309 return 1 | |
310 } | |
311 | |
312 exitcode=0 | |
313 if as_func_success; then | |
314 : | |
315 else | |
316 exitcode=1 | |
317 echo as_func_success failed. | |
318 fi | |
319 | |
320 if as_func_failure; then | |
321 exitcode=1 | |
322 echo as_func_failure succeeded. | |
323 fi | |
324 | |
325 if as_func_ret_success; then | |
326 : | |
327 else | |
328 exitcode=1 | |
329 echo as_func_ret_success failed. | |
330 fi | |
331 | |
332 if as_func_ret_failure; then | |
333 exitcode=1 | |
334 echo as_func_ret_failure succeeded. | |
335 fi | |
336 | |
337 if ( set x; as_func_ret_success y && test x = "$1" ); then | |
338 : | |
339 else | |
340 exitcode=1 | |
341 echo positional parameters were not saved. | |
342 fi | |
343 | |
344 test $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 | |
355 fi | |
356 | |
357 fi | |
358 | |
359 done | |
360 | |
361 if test "x$CONFIG_SHELL" != x; then | |
362 for as_var in BASH_ENV ENV | |
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
364 done | |
365 export CONFIG_SHELL | |
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
367 fi | |
368 | |
369 | |
370 if test $as_have_required = no; then | |
371 echo This script requires a shell more modern than all the | |
372 echo shells that I found on your system. Please install a | |
373 echo modern shell, or manually run the script under such a | |
374 echo shell if you do have one. | |
375 { (exit 1); exit 1; } | |
376 fi | |
377 | |
378 | |
379 fi | |
380 | |
381 fi | |
382 | |
383 | |
384 | |
385 (eval "as_func_return () { | |
386 (exit \$1) | |
387 } | |
388 as_func_success () { | |
389 as_func_return 0 | |
390 } | |
391 as_func_failure () { | |
392 as_func_return 1 | |
393 } | |
394 as_func_ret_success () { | |
395 return 0 | |
396 } | |
397 as_func_ret_failure () { | |
398 return 1 | |
399 } | |
400 | |
401 exitcode=0 | |
402 if as_func_success; then | |
403 : | |
404 else | |
405 exitcode=1 | |
406 echo as_func_success failed. | |
407 fi | |
408 | |
409 if as_func_failure; then | |
410 exitcode=1 | |
411 echo as_func_failure succeeded. | |
412 fi | |
413 | |
414 if as_func_ret_success; then | |
415 : | |
416 else | |
417 exitcode=1 | |
418 echo as_func_ret_success failed. | |
419 fi | |
420 | |
421 if as_func_ret_failure; then | |
422 exitcode=1 | |
423 echo as_func_ret_failure succeeded. | |
424 fi | |
425 | |
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
427 : | |
428 else | |
429 exitcode=1 | |
430 echo positional parameters were not saved. | |
431 fi | |
432 | |
433 test \$exitcode = 0") || { | |
434 echo No shell found that supports shell functions. | |
435 echo Please tell bug-autoconf@gnu.org about your system, | |
436 echo including any error possibly output before this message. | |
437 echo This can help us improve future autoconf versions. | |
438 echo Configuration will now proceed without shell functions. | |
439 } | |
440 | |
441 | |
442 | |
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 | |
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
449 # uniformly replaced by the line number. The first 'sed' inserts a | |
450 # line-number line after each line using $LINENO; the second 'sed' | |
451 # does the real work. The second script uses 'N' to pair each | |
452 # line-number line with the line containing $LINENO, and appends | |
453 # trailing '-' during substitution so that $LINENO is not a special | |
454 # case at line end. | |
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
456 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
457 # E. McMahon (1931-1989) for sed's syntax. :-) | |
458 sed -n ' | 426 sed -n ' |
459 p | 427 p |
460 /[$]LINENO/= | 428 /[$]LINENO/= |
461 ' <$as_myself | | 429 ' <$as_myself | |
462 sed ' | 430 sed ' |
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
470 t loop | 438 t loop |
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 |
479 # original and so on. Autoconf is especially sensitive to this). | 446 # original and so on. Autoconf is especially sensitive to this). |
480 . "./$as_me.lineno" | 447 . "./$as_me.lineno" |
481 # Exit status is that of the last command. | 448 # Exit status is that of the last command. |
482 exit | 449 exit |
483 } | 450 } |
484 | 451 |
485 | |
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
487 as_dirname=dirname | |
488 else | |
489 as_dirname=false | |
490 fi | |
491 | |
492 ECHO_C= ECHO_N= ECHO_T= | 452 ECHO_C= ECHO_N= ECHO_T= |
493 case `echo -n x` in | 453 case `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';; |
501 esac | 463 esac |
502 if expr a : '\(a\)' >/dev/null 2>&1 && | |
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
504 as_expr=expr | |
505 else | |
506 as_expr=false | |
507 fi | |
508 | 464 |
509 rm -f conf$$ conf$$.exe conf$$.file | 465 rm -f conf$$ conf$$.exe conf$$.file |
510 if test -d conf$$.dir; then | 466 if test -d conf$$.dir; then |
511 rm -f conf$$.dir/conf$$.file | 467 rm -f conf$$.dir/conf$$.file |
512 else | 468 else |
532 fi | 488 fi |
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
534 rmdir conf$$.dir 2>/dev/null | 490 rmdir conf$$.dir 2>/dev/null |
535 | 491 |
536 if mkdir -p . 2>/dev/null; then | 492 if mkdir -p . 2>/dev/null; then |
537 as_mkdir_p=: | 493 as_mkdir_p='mkdir -p "$as_dir"' |
538 else | 494 else |
539 test -d ./-p && rmdir ./-p | 495 test -d ./-p && rmdir ./-p |
540 as_mkdir_p=false | 496 as_mkdir_p=false |
541 fi | 497 fi |
542 | 498 |
551 as_test_x=' | 507 as_test_x=' |
552 eval sh -c '\'' | 508 eval sh -c '\'' |
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 ' |
563 fi | 519 fi |
564 as_executable_p=$as_test_x | 520 as_executable_p=$as_test_x |
568 | 524 |
569 # Sed expression to map a string onto a valid variable name. | 525 # Sed expression to map a string onto a valid variable name. |
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
571 | 527 |
572 | 528 |
573 | 529 test -n "$DJDIR" || exec 7<&0 </dev/null |
574 exec 7<&0 </dev/null 6>&1 | 530 exec 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, |
578 # so uname gets run too. | 534 # so uname gets run too. |
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
587 LIBOBJS= | 543 LIBOBJS= |
588 cross_compiling=no | 544 cross_compiling=no |
589 subdirs= | 545 subdirs= |
590 MFLAGS= | 546 MFLAGS= |
591 MAKEFLAGS= | 547 MAKEFLAGS= |
592 SHELL=${CONFIG_SHELL-/bin/sh} | |
593 | 548 |
594 # Identity of this package. | 549 # Identity of this package. |
595 PACKAGE_NAME='emacs' | 550 PACKAGE_NAME='emacs' |
596 PACKAGE_TARNAME='emacs' | 551 PACKAGE_TARNAME='emacs' |
597 PACKAGE_VERSION='24.0.50' | 552 PACKAGE_VERSION='24.0.50' |
598 PACKAGE_STRING='emacs 24.0.50' | 553 PACKAGE_STRING='emacs 24.0.50' |
599 PACKAGE_BUGREPORT='' | 554 PACKAGE_BUGREPORT='' |
555 PACKAGE_URL='' | |
600 | 556 |
601 ac_unique_file="src/lisp.h" | 557 ac_unique_file="src/lisp.h" |
602 # Factoring default headers for most tests. | 558 # Factoring default headers for most tests. |
603 ac_includes_default="\ | 559 ac_includes_default="\ |
604 #include <stdio.h> | 560 #include <stdio.h> |
636 #endif" | 592 #endif" |
637 | 593 |
638 ac_config_libobj_dir=src | 594 ac_config_libobj_dir=src |
639 ac_header_list= | 595 ac_header_list= |
640 ac_func_list= | 596 ac_func_list= |
641 ac_subst_vars='SHELL | 597 ac_subst_vars='LTLIBOBJS |
598 XOBJ | |
599 XMENU_OBJ | |
600 OTHER_FILES | |
601 LIB_SRC_EXTRA_INSTALLABLES | |
602 GNU_OBJC_CFLAGS | |
603 GNUSTEP_SYSTEM_LIBRARIES | |
604 GNUSTEP_SYSTEM_HEADERS | |
605 GNUSTEP_MAKEFILES | |
606 ns_appsrc | |
607 ns_appresdir | |
608 ns_appbindir | |
609 ns_appdir | |
610 opsysfile | |
611 machfile | |
612 X_TOOLKIT_TYPE | |
613 C_SWITCH_X_SITE | |
614 LD_SWITCH_X_SITE_AUX | |
615 LD_SWITCH_X_SITE | |
616 c_switch_machine | |
617 c_switch_system | |
618 gameuser | |
619 gamedir | |
620 bitmapdir | |
621 archlibdir | |
622 etcdir | |
623 x_default_search_path | |
624 lisppath | |
625 locallisppath | |
626 lispdir | |
627 srcdir | |
628 canonical | |
629 configuration | |
630 version | |
631 KRB4LIB | |
632 DESLIB | |
633 KRB5LIB | |
634 CRYPTOLIB | |
635 COM_ERRLIB | |
636 LIBRESOLV | |
637 LIBHESIOD | |
638 GETOPTOBJS | |
639 GETOPT_H | |
640 GETLOADAVG_LIBS | |
641 KMEM_GROUP | |
642 NEED_SETGID | |
643 LIBOBJS | |
644 LIBS_MAIL | |
645 liblockfile | |
646 ALLOCA | |
647 LIBXSM | |
648 LIBGPM | |
649 LIBGIF | |
650 LIBTIFF | |
651 LIBPNG | |
652 LIBJPEG | |
653 LIBXPM | |
654 FREETYPE_LIBS | |
655 FREETYPE_CFLAGS | |
656 M17N_FLT_LIBS | |
657 M17N_FLT_CFLAGS | |
658 LIBOTF_LIBS | |
659 LIBOTF_CFLAGS | |
660 XFT_LIBS | |
661 XFT_CFLAGS | |
662 FONTCONFIG_LIBS | |
663 FONTCONFIG_CFLAGS | |
664 LIBSELINUX_LIBS | |
665 GCONF_LIBS | |
666 GCONF_CFLAGS | |
667 DBUS_OBJ | |
668 DBUS_LIBS | |
669 DBUS_CFLAGS | |
670 GTK_OBJ | |
671 GTK_LIBS | |
672 GTK_CFLAGS | |
673 RSVG_LIBS | |
674 RSVG_CFLAGS | |
675 HAVE_XSERVER | |
676 XMKMF | |
677 SET_MAKE | |
678 CFLAGS_SOUND | |
679 ALSA_LIBS | |
680 ALSA_CFLAGS | |
681 PKG_CONFIG | |
682 LIBSOUND | |
683 CRT_DIR | |
684 LIB_MATH | |
685 MAKEINFO | |
686 GZIP_PROG | |
687 INSTALL_INFO | |
688 RANLIB | |
689 INSTALL_DATA | |
690 INSTALL_SCRIPT | |
691 INSTALL_PROGRAM | |
692 LN_S | |
693 EGREP | |
694 GREP | |
695 CPP | |
696 OBJEXT | |
697 EXEEXT | |
698 ac_ct_CC | |
699 CPPFLAGS | |
700 LDFLAGS | |
701 CFLAGS | |
702 CC | |
703 host_os | |
704 host_vendor | |
705 host_cpu | |
706 host | |
707 build_os | |
708 build_vendor | |
709 build_cpu | |
710 build | |
711 MAINT | |
712 target_alias | |
713 host_alias | |
714 build_alias | |
715 LIBS | |
716 ECHO_T | |
717 ECHO_N | |
718 ECHO_C | |
719 DEFS | |
720 mandir | |
721 localedir | |
722 libdir | |
723 psdir | |
724 pdfdir | |
725 dvidir | |
726 htmldir | |
727 infodir | |
728 docdir | |
729 oldincludedir | |
730 includedir | |
731 localstatedir | |
732 sharedstatedir | |
733 sysconfdir | |
734 datadir | |
735 datarootdir | |
736 libexecdir | |
737 sbindir | |
738 bindir | |
739 program_transform_name | |
740 prefix | |
741 exec_prefix | |
742 PACKAGE_URL | |
743 PACKAGE_BUGREPORT | |
744 PACKAGE_STRING | |
745 PACKAGE_VERSION | |
746 PACKAGE_TARNAME | |
747 PACKAGE_NAME | |
642 PATH_SEPARATOR | 748 PATH_SEPARATOR |
643 PACKAGE_NAME | 749 SHELL' |
644 PACKAGE_TARNAME | |
645 PACKAGE_VERSION | |
646 PACKAGE_STRING | |
647 PACKAGE_BUGREPORT | |
648 exec_prefix | |
649 prefix | |
650 program_transform_name | |
651 bindir | |
652 sbindir | |
653 libexecdir | |
654 datarootdir | |
655 datadir | |
656 sysconfdir | |
657 sharedstatedir | |
658 localstatedir | |
659 includedir | |
660 oldincludedir | |
661 docdir | |
662 infodir | |
663 htmldir | |
664 dvidir | |
665 pdfdir | |
666 psdir | |
667 libdir | |
668 localedir | |
669 mandir | |
670 DEFS | |
671 ECHO_C | |
672 ECHO_N | |
673 ECHO_T | |
674 LIBS | |
675 build_alias | |
676 host_alias | |
677 target_alias | |
678 MAINT | |
679 build | |
680 build_cpu | |
681 build_vendor | |
682 build_os | |
683 host | |
684 host_cpu | |
685 host_vendor | |
686 host_os | |
687 CC | |
688 CFLAGS | |
689 LDFLAGS | |
690 CPPFLAGS | |
691 ac_ct_CC | |
692 EXEEXT | |
693 OBJEXT | |
694 CPP | |
695 GREP | |
696 EGREP | |
697 LN_S | |
698 INSTALL_PROGRAM | |
699 INSTALL_SCRIPT | |
700 INSTALL_DATA | |
701 RANLIB | |
702 INSTALL_INFO | |
703 GZIP_PROG | |
704 MAKEINFO | |
705 CRT_DIR | |
706 LIBSOUND | |
707 PKG_CONFIG | |
708 ALSA_CFLAGS | |
709 ALSA_LIBS | |
710 CFLAGS_SOUND | |
711 SET_MAKE | |
712 XMKMF | |
713 HAVE_XSERVER | |
714 RSVG_CFLAGS | |
715 RSVG_LIBS | |
716 GTK_CFLAGS | |
717 GTK_LIBS | |
718 GTK_OBJ | |
719 DBUS_CFLAGS | |
720 DBUS_LIBS | |
721 DBUS_OBJ | |
722 GCONF_CFLAGS | |
723 GCONF_LIBS | |
724 LIBSELINUX_LIBS | |
725 FONTCONFIG_CFLAGS | |
726 FONTCONFIG_LIBS | |
727 XFT_CFLAGS | |
728 XFT_LIBS | |
729 LIBOTF_CFLAGS | |
730 LIBOTF_LIBS | |
731 M17N_FLT_CFLAGS | |
732 M17N_FLT_LIBS | |
733 FREETYPE_CFLAGS | |
734 FREETYPE_LIBS | |
735 LIBXPM | |
736 LIBJPEG | |
737 LIBPNG | |
738 LIBTIFF | |
739 LIBGIF | |
740 LIBGPM | |
741 LIBXSM | |
742 ALLOCA | |
743 liblockfile | |
744 LIBS_MAIL | |
745 LIBOBJS | |
746 NEED_SETGID | |
747 KMEM_GROUP | |
748 GETLOADAVG_LIBS | |
749 GETOPT_H | |
750 GETOPTOBJS | |
751 LIBHESIOD | |
752 LIBRESOLV | |
753 COM_ERRLIB | |
754 CRYPTOLIB | |
755 KRB5LIB | |
756 DESLIB | |
757 KRB4LIB | |
758 version | |
759 configuration | |
760 canonical | |
761 srcdir | |
762 lispdir | |
763 locallisppath | |
764 lisppath | |
765 x_default_search_path | |
766 etcdir | |
767 archlibdir | |
768 bitmapdir | |
769 gamedir | |
770 gameuser | |
771 c_switch_system | |
772 c_switch_machine | |
773 LD_SWITCH_X_SITE | |
774 LD_SWITCH_X_SITE_AUX | |
775 C_SWITCH_X_SITE | |
776 X_TOOLKIT_TYPE | |
777 machfile | |
778 opsysfile | |
779 ns_appdir | |
780 ns_appbindir | |
781 ns_appresdir | |
782 ns_appsrc | |
783 GNUSTEP_MAKEFILES | |
784 GNUSTEP_SYSTEM_HEADERS | |
785 GNUSTEP_SYSTEM_LIBRARIES | |
786 GNU_OBJC_CFLAGS | |
787 LIB_SRC_EXTRA_INSTALLABLES | |
788 OTHER_FILES | |
789 XMENU_OBJ | |
790 XOBJ | |
791 LTLIBOBJS' | |
792 ac_subst_files='' | 750 ac_subst_files='' |
793 ac_user_opts=' | 751 ac_user_opts=' |
794 enable_option_checking | 752 enable_option_checking |
795 with_pop | 753 with_pop |
796 with_kerberos | 754 with_kerberos |
951 | 909 |
952 -disable-* | --disable-*) | 910 -disable-* | --disable-*) |
953 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 911 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
954 # Reject names that are not valid shell variable names. | 912 # Reject names that are not valid shell variable names. |
955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
956 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | 914 as_fn_error "invalid feature name: $ac_useropt" |
957 { (exit 1); exit 1; }; } | |
958 ac_useropt_orig=$ac_useropt | 915 ac_useropt_orig=$ac_useropt |
959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
960 case $ac_user_opts in | 917 case $ac_user_opts in |
961 *" | 918 *" |
962 "enable_$ac_useropt" | 919 "enable_$ac_useropt" |
978 | 935 |
979 -enable-* | --enable-*) | 936 -enable-* | --enable-*) |
980 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 937 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
981 # Reject names that are not valid shell variable names. | 938 # Reject names that are not valid shell variable names. |
982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
983 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | 940 as_fn_error "invalid feature name: $ac_useropt" |
984 { (exit 1); exit 1; }; } | |
985 ac_useropt_orig=$ac_useropt | 941 ac_useropt_orig=$ac_useropt |
986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
987 case $ac_user_opts in | 943 case $ac_user_opts in |
988 *" | 944 *" |
989 "enable_$ac_useropt" | 945 "enable_$ac_useropt" |
1183 | 1139 |
1184 -with-* | --with-*) | 1140 -with-* | --with-*) |
1185 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1141 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1186 # Reject names that are not valid shell variable names. | 1142 # Reject names that are not valid shell variable names. |
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1188 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | 1144 as_fn_error "invalid package name: $ac_useropt" |
1189 { (exit 1); exit 1; }; } | |
1190 ac_useropt_orig=$ac_useropt | 1145 ac_useropt_orig=$ac_useropt |
1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1192 case $ac_user_opts in | 1147 case $ac_user_opts in |
1193 *" | 1148 *" |
1194 "with_$ac_useropt" | 1149 "with_$ac_useropt" |
1200 | 1155 |
1201 -without-* | --without-*) | 1156 -without-* | --without-*) |
1202 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1157 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1203 # Reject names that are not valid shell variable names. | 1158 # Reject names that are not valid shell variable names. |
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1205 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | 1160 as_fn_error "invalid package name: $ac_useropt" |
1206 { (exit 1); exit 1; }; } | |
1207 ac_useropt_orig=$ac_useropt | 1161 ac_useropt_orig=$ac_useropt |
1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1209 case $ac_user_opts in | 1163 case $ac_user_opts in |
1210 *" | 1164 *" |
1211 "with_$ac_useropt" | 1165 "with_$ac_useropt" |
1231 ac_prev=x_libraries ;; | 1185 ac_prev=x_libraries ;; |
1232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1186 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1187 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1234 x_libraries=$ac_optarg ;; | 1188 x_libraries=$ac_optarg ;; |
1235 | 1189 |
1236 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option | 1190 -*) as_fn_error "unrecognized option: \`$ac_option' |
1237 Try \`$0 --help' for more information." >&2 | 1191 Try \`$0 --help' for more information." |
1238 { (exit 1); exit 1; }; } | |
1239 ;; | 1192 ;; |
1240 | 1193 |
1241 *=*) | 1194 *=*) |
1242 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1195 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1243 # Reject names that are not valid shell variable names. | 1196 # Reject names that are not valid shell variable names. |
1244 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1197 case $ac_envvar in #( |
1245 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1198 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1246 { (exit 1); exit 1; }; } | 1199 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1200 esac | |
1247 eval $ac_envvar=\$ac_optarg | 1201 eval $ac_envvar=\$ac_optarg |
1248 export $ac_envvar ;; | 1202 export $ac_envvar ;; |
1249 | 1203 |
1250 *) | 1204 *) |
1251 # FIXME: should be removed in autoconf 3.0. | 1205 # FIXME: should be removed in autoconf 3.0. |
1258 esac | 1212 esac |
1259 done | 1213 done |
1260 | 1214 |
1261 if test -n "$ac_prev"; then | 1215 if test -n "$ac_prev"; then |
1262 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1216 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1263 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 | 1217 as_fn_error "missing argument to $ac_option" |
1264 { (exit 1); exit 1; }; } | |
1265 fi | 1218 fi |
1266 | 1219 |
1267 if test -n "$ac_unrecognized_opts"; then | 1220 if test -n "$ac_unrecognized_opts"; then |
1268 case $enable_option_checking in | 1221 case $enable_option_checking in |
1269 no) ;; | 1222 no) ;; |
1270 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 | 1223 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1271 { (exit 1); exit 1; }; } ;; | 1224 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1272 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1273 esac | 1225 esac |
1274 fi | 1226 fi |
1275 | 1227 |
1276 # Check all directory arguments for consistency. | 1228 # Check all directory arguments for consistency. |
1277 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1229 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1289 # Be sure to have absolute directory names. | 1241 # Be sure to have absolute directory names. |
1290 case $ac_val in | 1242 case $ac_val in |
1291 [\\/$]* | ?:[\\/]* ) continue;; | 1243 [\\/$]* | ?:[\\/]* ) continue;; |
1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1244 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1293 esac | 1245 esac |
1294 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1246 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1295 { (exit 1); exit 1; }; } | |
1296 done | 1247 done |
1297 | 1248 |
1298 # There might be people who depend on the old broken behavior: `$host' | 1249 # There might be people who depend on the old broken behavior: `$host' |
1299 # used to hold the argument of --host etc. | 1250 # used to hold the argument of --host etc. |
1300 # FIXME: To remove some day. | 1251 # FIXME: To remove some day. |
1320 | 1271 |
1321 | 1272 |
1322 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1273 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1323 ac_ls_di=`ls -di .` && | 1274 ac_ls_di=`ls -di .` && |
1324 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1325 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 | 1276 as_fn_error "working directory cannot be determined" |
1326 { (exit 1); exit 1; }; } | |
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1328 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 | 1278 as_fn_error "pwd does not report name of working directory" |
1329 { (exit 1); exit 1; }; } | |
1330 | 1279 |
1331 | 1280 |
1332 # Find the source files, if location was not specified. | 1281 # Find the source files, if location was not specified. |
1333 if test -z "$srcdir"; then | 1282 if test -z "$srcdir"; then |
1334 ac_srcdir_defaulted=yes | 1283 ac_srcdir_defaulted=yes |
1363 else | 1312 else |
1364 ac_srcdir_defaulted=no | 1313 ac_srcdir_defaulted=no |
1365 fi | 1314 fi |
1366 if test ! -r "$srcdir/$ac_unique_file"; then | 1315 if test ! -r "$srcdir/$ac_unique_file"; then |
1367 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1316 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1368 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1317 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1369 { (exit 1); exit 1; }; } | |
1370 fi | 1318 fi |
1371 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1372 ac_abs_confdir=`( | 1320 ac_abs_confdir=`( |
1373 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 | 1321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1374 { (exit 1); exit 1; }; } | |
1375 pwd)` | 1322 pwd)` |
1376 # When building in place, set srcdir=. | 1323 # When building in place, set srcdir=. |
1377 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1324 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1378 srcdir=. | 1325 srcdir=. |
1379 fi | 1326 fi |
1549 CC C compiler command | 1496 CC C compiler command |
1550 CFLAGS C compiler flags | 1497 CFLAGS C compiler flags |
1551 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1498 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1552 nonstandard directory <lib dir> | 1499 nonstandard directory <lib dir> |
1553 LIBS libraries to pass to the linker, e.g. -l<library> | 1500 LIBS libraries to pass to the linker, e.g. -l<library> |
1554 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | 1501 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1555 you have headers in a nonstandard directory <include dir> | 1502 you have headers in a nonstandard directory <include dir> |
1556 CPP C preprocessor | 1503 CPP C preprocessor |
1557 XMKMF Path to xmkmf, Makefile generator for X Window System | 1504 XMKMF Path to xmkmf, Makefile generator for X Window System |
1558 | 1505 |
1559 Use these variables to override the choices made by `configure' or to help | 1506 Use these variables to override the choices made by `configure' or to help |
1560 it to find libraries and programs with nonstandard names/locations. | 1507 it to find libraries and programs with nonstandard names/locations. |
1561 | 1508 |
1509 Report bugs to the package provider. | |
1562 _ACEOF | 1510 _ACEOF |
1563 ac_status=$? | 1511 ac_status=$? |
1564 fi | 1512 fi |
1565 | 1513 |
1566 if test "$ac_init_help" = "recursive"; then | 1514 if test "$ac_init_help" = "recursive"; then |
1620 | 1568 |
1621 test -n "$ac_init_help" && exit $ac_status | 1569 test -n "$ac_init_help" && exit $ac_status |
1622 if $ac_init_version; then | 1570 if $ac_init_version; then |
1623 cat <<\_ACEOF | 1571 cat <<\_ACEOF |
1624 emacs configure 24.0.50 | 1572 emacs configure 24.0.50 |
1625 generated by GNU Autoconf 2.62 | 1573 generated by GNU Autoconf 2.65 |
1626 | 1574 |
1627 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 1575 Copyright (C) 2009 Free Software Foundation, Inc. |
1628 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
1629 This configure script is free software; the Free Software Foundation | 1576 This configure script is free software; the Free Software Foundation |
1630 gives unlimited permission to copy, distribute and modify it. | 1577 gives unlimited permission to copy, distribute and modify it. |
1631 _ACEOF | 1578 _ACEOF |
1632 exit | 1579 exit |
1633 fi | 1580 fi |
1581 | |
1582 ## ------------------------ ## | |
1583 ## Autoconf initialization. ## | |
1584 ## ------------------------ ## | |
1585 | |
1586 # ac_fn_c_try_compile LINENO | |
1587 # -------------------------- | |
1588 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1589 ac_fn_c_try_compile () | |
1590 { | |
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1592 rm -f conftest.$ac_objext | |
1593 if { { ac_try="$ac_compile" | |
1594 case "(($ac_try" in | |
1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1596 *) ac_try_echo=$ac_try;; | |
1597 esac | |
1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1599 $as_echo "$ac_try_echo"; } >&5 | |
1600 (eval "$ac_compile") 2>conftest.err | |
1601 ac_status=$? | |
1602 if test -s conftest.err; then | |
1603 grep -v '^ *+' conftest.err >conftest.er1 | |
1604 cat conftest.er1 >&5 | |
1605 mv -f conftest.er1 conftest.err | |
1606 fi | |
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1608 test $ac_status = 0; } && { | |
1609 test -z "$ac_c_werror_flag" || | |
1610 test ! -s conftest.err | |
1611 } && test -s conftest.$ac_objext; then : | |
1612 ac_retval=0 | |
1613 else | |
1614 $as_echo "$as_me: failed program was:" >&5 | |
1615 sed 's/^/| /' conftest.$ac_ext >&5 | |
1616 | |
1617 ac_retval=1 | |
1618 fi | |
1619 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1620 as_fn_set_status $ac_retval | |
1621 | |
1622 } # ac_fn_c_try_compile | |
1623 | |
1624 # ac_fn_c_try_link LINENO | |
1625 # ----------------------- | |
1626 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1627 ac_fn_c_try_link () | |
1628 { | |
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1630 rm -f conftest.$ac_objext conftest$ac_exeext | |
1631 if { { ac_try="$ac_link" | |
1632 case "(($ac_try" in | |
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1634 *) ac_try_echo=$ac_try;; | |
1635 esac | |
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1637 $as_echo "$ac_try_echo"; } >&5 | |
1638 (eval "$ac_link") 2>conftest.err | |
1639 ac_status=$? | |
1640 if test -s conftest.err; then | |
1641 grep -v '^ *+' conftest.err >conftest.er1 | |
1642 cat conftest.er1 >&5 | |
1643 mv -f conftest.er1 conftest.err | |
1644 fi | |
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1646 test $ac_status = 0; } && { | |
1647 test -z "$ac_c_werror_flag" || | |
1648 test ! -s conftest.err | |
1649 } && test -s conftest$ac_exeext && { | |
1650 test "$cross_compiling" = yes || | |
1651 $as_test_x conftest$ac_exeext | |
1652 }; then : | |
1653 ac_retval=0 | |
1654 else | |
1655 $as_echo "$as_me: failed program was:" >&5 | |
1656 sed 's/^/| /' conftest.$ac_ext >&5 | |
1657 | |
1658 ac_retval=1 | |
1659 fi | |
1660 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1661 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1662 # interfere with the next link command; also delete a directory that is | |
1663 # left behind by Apple's compiler. We do this before executing the actions. | |
1664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1665 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1666 as_fn_set_status $ac_retval | |
1667 | |
1668 } # ac_fn_c_try_link | |
1669 | |
1670 # ac_fn_c_try_cpp LINENO | |
1671 # ---------------------- | |
1672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1673 ac_fn_c_try_cpp () | |
1674 { | |
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1676 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1677 case "(($ac_try" in | |
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1679 *) ac_try_echo=$ac_try;; | |
1680 esac | |
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1682 $as_echo "$ac_try_echo"; } >&5 | |
1683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1684 ac_status=$? | |
1685 if test -s conftest.err; then | |
1686 grep -v '^ *+' conftest.err >conftest.er1 | |
1687 cat conftest.er1 >&5 | |
1688 mv -f conftest.er1 conftest.err | |
1689 fi | |
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1691 test $ac_status = 0; } >/dev/null && { | |
1692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1693 test ! -s conftest.err | |
1694 }; then : | |
1695 ac_retval=0 | |
1696 else | |
1697 $as_echo "$as_me: failed program was:" >&5 | |
1698 sed 's/^/| /' conftest.$ac_ext >&5 | |
1699 | |
1700 ac_retval=1 | |
1701 fi | |
1702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1703 as_fn_set_status $ac_retval | |
1704 | |
1705 } # ac_fn_c_try_cpp | |
1706 | |
1707 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1708 # ------------------------------------------------------- | |
1709 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1710 # the include files in INCLUDES and setting the cache variable VAR | |
1711 # accordingly. | |
1712 ac_fn_c_check_header_mongrel () | |
1713 { | |
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1715 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1717 $as_echo_n "checking for $2... " >&6; } | |
1718 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1719 $as_echo_n "(cached) " >&6 | |
1720 fi | |
1721 eval ac_res=\$$3 | |
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1723 $as_echo "$ac_res" >&6; } | |
1724 else | |
1725 # Is the header compilable? | |
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1727 $as_echo_n "checking $2 usability... " >&6; } | |
1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1729 /* end confdefs.h. */ | |
1730 $4 | |
1731 #include <$2> | |
1732 _ACEOF | |
1733 if ac_fn_c_try_compile "$LINENO"; then : | |
1734 ac_header_compiler=yes | |
1735 else | |
1736 ac_header_compiler=no | |
1737 fi | |
1738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1740 $as_echo "$ac_header_compiler" >&6; } | |
1741 | |
1742 # Is the header present? | |
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1744 $as_echo_n "checking $2 presence... " >&6; } | |
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1746 /* end confdefs.h. */ | |
1747 #include <$2> | |
1748 _ACEOF | |
1749 if ac_fn_c_try_cpp "$LINENO"; then : | |
1750 ac_header_preproc=yes | |
1751 else | |
1752 ac_header_preproc=no | |
1753 fi | |
1754 rm -f conftest.err conftest.$ac_ext | |
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1756 $as_echo "$ac_header_preproc" >&6; } | |
1757 | |
1758 # So? What about this header? | |
1759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1760 yes:no: ) | |
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1762 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1764 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1765 ;; | |
1766 no:yes:* ) | |
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1768 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1770 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1772 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1774 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1776 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1777 ;; | |
1778 esac | |
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1780 $as_echo_n "checking for $2... " >&6; } | |
1781 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1782 $as_echo_n "(cached) " >&6 | |
1783 else | |
1784 eval "$3=\$ac_header_compiler" | |
1785 fi | |
1786 eval ac_res=\$$3 | |
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1788 $as_echo "$ac_res" >&6; } | |
1789 fi | |
1790 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1791 | |
1792 } # ac_fn_c_check_header_mongrel | |
1793 | |
1794 # ac_fn_c_try_run LINENO | |
1795 # ---------------------- | |
1796 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1797 # that executables *can* be run. | |
1798 ac_fn_c_try_run () | |
1799 { | |
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1801 if { { ac_try="$ac_link" | |
1802 case "(($ac_try" in | |
1803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1804 *) ac_try_echo=$ac_try;; | |
1805 esac | |
1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1807 $as_echo "$ac_try_echo"; } >&5 | |
1808 (eval "$ac_link") 2>&5 | |
1809 ac_status=$? | |
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1811 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1812 { { case "(($ac_try" in | |
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1814 *) ac_try_echo=$ac_try;; | |
1815 esac | |
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1817 $as_echo "$ac_try_echo"; } >&5 | |
1818 (eval "$ac_try") 2>&5 | |
1819 ac_status=$? | |
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1821 test $ac_status = 0; }; }; then : | |
1822 ac_retval=0 | |
1823 else | |
1824 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1825 $as_echo "$as_me: failed program was:" >&5 | |
1826 sed 's/^/| /' conftest.$ac_ext >&5 | |
1827 | |
1828 ac_retval=$ac_status | |
1829 fi | |
1830 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1832 as_fn_set_status $ac_retval | |
1833 | |
1834 } # ac_fn_c_try_run | |
1835 | |
1836 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1837 # ------------------------------------------------------- | |
1838 # Tests whether HEADER exists and can be compiled using the include files in | |
1839 # INCLUDES, setting the cache variable VAR accordingly. | |
1840 ac_fn_c_check_header_compile () | |
1841 { | |
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1844 $as_echo_n "checking for $2... " >&6; } | |
1845 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1846 $as_echo_n "(cached) " >&6 | |
1847 else | |
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1849 /* end confdefs.h. */ | |
1850 $4 | |
1851 #include <$2> | |
1852 _ACEOF | |
1853 if ac_fn_c_try_compile "$LINENO"; then : | |
1854 eval "$3=yes" | |
1855 else | |
1856 eval "$3=no" | |
1857 fi | |
1858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1859 fi | |
1860 eval ac_res=\$$3 | |
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1862 $as_echo "$ac_res" >&6; } | |
1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1864 | |
1865 } # ac_fn_c_check_header_compile | |
1866 | |
1867 # ac_fn_c_check_header_preproc LINENO HEADER VAR | |
1868 # ---------------------------------------------- | |
1869 # Tests whether HEADER is present, setting the cache variable VAR accordingly. | |
1870 ac_fn_c_check_header_preproc () | |
1871 { | |
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1874 $as_echo_n "checking for $2... " >&6; } | |
1875 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1876 $as_echo_n "(cached) " >&6 | |
1877 else | |
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1879 /* end confdefs.h. */ | |
1880 #include <$2> | |
1881 _ACEOF | |
1882 if ac_fn_c_try_cpp "$LINENO"; then : | |
1883 eval "$3=yes" | |
1884 else | |
1885 eval "$3=no" | |
1886 fi | |
1887 rm -f conftest.err conftest.$ac_ext | |
1888 fi | |
1889 eval ac_res=\$$3 | |
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1891 $as_echo "$ac_res" >&6; } | |
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1893 | |
1894 } # ac_fn_c_check_header_preproc | |
1895 | |
1896 # ac_fn_c_check_decl LINENO SYMBOL VAR | |
1897 # ------------------------------------ | |
1898 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | |
1899 ac_fn_c_check_decl () | |
1900 { | |
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | |
1903 $as_echo_n "checking whether $2 is declared... " >&6; } | |
1904 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1905 $as_echo_n "(cached) " >&6 | |
1906 else | |
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1908 /* end confdefs.h. */ | |
1909 $4 | |
1910 int | |
1911 main () | |
1912 { | |
1913 #ifndef $2 | |
1914 (void) $2; | |
1915 #endif | |
1916 | |
1917 ; | |
1918 return 0; | |
1919 } | |
1920 _ACEOF | |
1921 if ac_fn_c_try_compile "$LINENO"; then : | |
1922 eval "$3=yes" | |
1923 else | |
1924 eval "$3=no" | |
1925 fi | |
1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1927 fi | |
1928 eval ac_res=\$$3 | |
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1930 $as_echo "$ac_res" >&6; } | |
1931 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1932 | |
1933 } # ac_fn_c_check_decl | |
1934 | |
1935 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | |
1936 # ---------------------------------------------------- | |
1937 # Tries to find if the field MEMBER exists in type AGGR, after including | |
1938 # INCLUDES, setting cache variable VAR accordingly. | |
1939 ac_fn_c_check_member () | |
1940 { | |
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | |
1943 $as_echo_n "checking for $2.$3... " >&6; } | |
1944 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1945 $as_echo_n "(cached) " >&6 | |
1946 else | |
1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1948 /* end confdefs.h. */ | |
1949 $5 | |
1950 int | |
1951 main () | |
1952 { | |
1953 static $2 ac_aggr; | |
1954 if (ac_aggr.$3) | |
1955 return 0; | |
1956 ; | |
1957 return 0; | |
1958 } | |
1959 _ACEOF | |
1960 if ac_fn_c_try_compile "$LINENO"; then : | |
1961 eval "$4=yes" | |
1962 else | |
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1964 /* end confdefs.h. */ | |
1965 $5 | |
1966 int | |
1967 main () | |
1968 { | |
1969 static $2 ac_aggr; | |
1970 if (sizeof ac_aggr.$3) | |
1971 return 0; | |
1972 ; | |
1973 return 0; | |
1974 } | |
1975 _ACEOF | |
1976 if ac_fn_c_try_compile "$LINENO"; then : | |
1977 eval "$4=yes" | |
1978 else | |
1979 eval "$4=no" | |
1980 fi | |
1981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1982 fi | |
1983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1984 fi | |
1985 eval ac_res=\$$4 | |
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1987 $as_echo "$ac_res" >&6; } | |
1988 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1989 | |
1990 } # ac_fn_c_check_member | |
1991 | |
1992 # ac_fn_c_check_func LINENO FUNC VAR | |
1993 # ---------------------------------- | |
1994 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
1995 ac_fn_c_check_func () | |
1996 { | |
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1999 $as_echo_n "checking for $2... " >&6; } | |
2000 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2001 $as_echo_n "(cached) " >&6 | |
2002 else | |
2003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2004 /* end confdefs.h. */ | |
2005 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
2006 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
2007 #define $2 innocuous_$2 | |
2008 | |
2009 /* System header to define __stub macros and hopefully few prototypes, | |
2010 which can conflict with char $2 (); below. | |
2011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
2012 <limits.h> exists even on freestanding compilers. */ | |
2013 | |
2014 #ifdef __STDC__ | |
2015 # include <limits.h> | |
2016 #else | |
2017 # include <assert.h> | |
2018 #endif | |
2019 | |
2020 #undef $2 | |
2021 | |
2022 /* Override any GCC internal prototype to avoid an error. | |
2023 Use char because int might match the return type of a GCC | |
2024 builtin and then its argument prototype would still apply. */ | |
2025 #ifdef __cplusplus | |
2026 extern "C" | |
2027 #endif | |
2028 char $2 (); | |
2029 /* The GNU C library defines this for functions which it implements | |
2030 to always fail with ENOSYS. Some functions are actually named | |
2031 something starting with __ and the normal name is an alias. */ | |
2032 #if defined __stub_$2 || defined __stub___$2 | |
2033 choke me | |
2034 #endif | |
2035 | |
2036 int | |
2037 main () | |
2038 { | |
2039 return $2 (); | |
2040 ; | |
2041 return 0; | |
2042 } | |
2043 _ACEOF | |
2044 if ac_fn_c_try_link "$LINENO"; then : | |
2045 eval "$3=yes" | |
2046 else | |
2047 eval "$3=no" | |
2048 fi | |
2049 rm -f core conftest.err conftest.$ac_objext \ | |
2050 conftest$ac_exeext conftest.$ac_ext | |
2051 fi | |
2052 eval ac_res=\$$3 | |
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2054 $as_echo "$ac_res" >&6; } | |
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
2056 | |
2057 } # ac_fn_c_check_func | |
2058 | |
2059 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | |
2060 # ------------------------------------------- | |
2061 # Tests whether TYPE exists after having included INCLUDES, setting cache | |
2062 # variable VAR accordingly. | |
2063 ac_fn_c_check_type () | |
2064 { | |
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2067 $as_echo_n "checking for $2... " >&6; } | |
2068 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2069 $as_echo_n "(cached) " >&6 | |
2070 else | |
2071 eval "$3=no" | |
2072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2073 /* end confdefs.h. */ | |
2074 $4 | |
2075 int | |
2076 main () | |
2077 { | |
2078 if (sizeof ($2)) | |
2079 return 0; | |
2080 ; | |
2081 return 0; | |
2082 } | |
2083 _ACEOF | |
2084 if ac_fn_c_try_compile "$LINENO"; then : | |
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2086 /* end confdefs.h. */ | |
2087 $4 | |
2088 int | |
2089 main () | |
2090 { | |
2091 if (sizeof (($2))) | |
2092 return 0; | |
2093 ; | |
2094 return 0; | |
2095 } | |
2096 _ACEOF | |
2097 if ac_fn_c_try_compile "$LINENO"; then : | |
2098 | |
2099 else | |
2100 eval "$3=yes" | |
2101 fi | |
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2103 fi | |
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2105 fi | |
2106 eval ac_res=\$$3 | |
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2108 $as_echo "$ac_res" >&6; } | |
2109 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
2110 | |
2111 } # ac_fn_c_check_type | |
1634 cat >config.log <<_ACEOF | 2112 cat >config.log <<_ACEOF |
1635 This file contains any messages produced by compilers while | 2113 This file contains any messages produced by compilers while |
1636 running configure, to aid debugging if configure makes a mistake. | 2114 running configure, to aid debugging if configure makes a mistake. |
1637 | 2115 |
1638 It was created by emacs $as_me 24.0.50, which was | 2116 It was created by emacs $as_me 24.0.50, which was |
1639 generated by GNU Autoconf 2.62. Invocation command line was | 2117 generated by GNU Autoconf 2.65. Invocation command line was |
1640 | 2118 |
1641 $ $0 $@ | 2119 $ $0 $@ |
1642 | 2120 |
1643 _ACEOF | 2121 _ACEOF |
1644 exec 5>>config.log | 2122 exec 5>>config.log |
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1671 for as_dir in $PATH | 2149 for as_dir in $PATH |
1672 do | 2150 do |
1673 IFS=$as_save_IFS | 2151 IFS=$as_save_IFS |
1674 test -z "$as_dir" && as_dir=. | 2152 test -z "$as_dir" && as_dir=. |
1675 $as_echo "PATH: $as_dir" | 2153 $as_echo "PATH: $as_dir" |
1676 done | 2154 done |
1677 IFS=$as_save_IFS | 2155 IFS=$as_save_IFS |
1678 | 2156 |
1679 } >&5 | 2157 } >&5 |
1680 | 2158 |
1681 cat >&5 <<_ACEOF | 2159 cat >&5 <<_ACEOF |
1708 continue ;; | 2186 continue ;; |
1709 *\'*) | 2187 *\'*) |
1710 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 2188 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1711 esac | 2189 esac |
1712 case $ac_pass in | 2190 case $ac_pass in |
1713 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 2191 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1714 2) | 2192 2) |
1715 ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 2193 as_fn_append ac_configure_args1 " '$ac_arg'" |
1716 if test $ac_must_keep_next = true; then | 2194 if test $ac_must_keep_next = true; then |
1717 ac_must_keep_next=false # Got value, back to normal. | 2195 ac_must_keep_next=false # Got value, back to normal. |
1718 else | 2196 else |
1719 case $ac_arg in | 2197 case $ac_arg in |
1720 *=* | --config-cache | -C | -disable-* | --disable-* \ | 2198 *=* | --config-cache | -C | -disable-* | --disable-* \ |
1726 esac | 2204 esac |
1727 ;; | 2205 ;; |
1728 -* ) ac_must_keep_next=true ;; | 2206 -* ) ac_must_keep_next=true ;; |
1729 esac | 2207 esac |
1730 fi | 2208 fi |
1731 ac_configure_args="$ac_configure_args '$ac_arg'" | 2209 as_fn_append ac_configure_args " '$ac_arg'" |
1732 ;; | 2210 ;; |
1733 esac | 2211 esac |
1734 done | 2212 done |
1735 done | 2213 done |
1736 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 2214 { ac_configure_args0=; unset ac_configure_args0;} |
1737 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 2215 { ac_configure_args1=; unset ac_configure_args1;} |
1738 | 2216 |
1739 # When interrupted or exit'd, cleanup temporary files, and complete | 2217 # When interrupted or exit'd, cleanup temporary files, and complete |
1740 # config.log. We remove comments because anyway the quotes in there | 2218 # config.log. We remove comments because anyway the quotes in there |
1741 # would cause problems or look ugly. | 2219 # would cause problems or look ugly. |
1742 # WARNING: Use '\'' to represent an apostrophe within the trap. | 2220 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1757 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 2235 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1758 eval ac_val=\$$ac_var | 2236 eval ac_val=\$$ac_var |
1759 case $ac_val in #( | 2237 case $ac_val in #( |
1760 *${as_nl}*) | 2238 *${as_nl}*) |
1761 case $ac_var in #( | 2239 case $ac_var in #( |
1762 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 2240 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1763 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 2241 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1764 esac | 2242 esac |
1765 case $ac_var in #( | 2243 case $ac_var in #( |
1766 _ | IFS | as_nl) ;; #( | 2244 _ | IFS | as_nl) ;; #( |
1767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 2245 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1768 *) $as_unset $ac_var ;; | 2246 *) { eval $ac_var=; unset $ac_var;} ;; |
1769 esac ;; | 2247 esac ;; |
1770 esac | 2248 esac |
1771 done | 2249 done |
1772 (set) 2>&1 | | 2250 (set) 2>&1 | |
1773 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 2251 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1835 rm -f core *.core core.conftest.* && | 2313 rm -f core *.core core.conftest.* && |
1836 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 2314 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1837 exit $exit_status | 2315 exit $exit_status |
1838 ' 0 | 2316 ' 0 |
1839 for ac_signal in 1 2 13 15; do | 2317 for ac_signal in 1 2 13 15; do |
1840 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 2318 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1841 done | 2319 done |
1842 ac_signal=0 | 2320 ac_signal=0 |
1843 | 2321 |
1844 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 2322 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1845 rm -f -r conftest* confdefs.h | 2323 rm -f -r conftest* confdefs.h |
1846 | 2324 |
2325 $as_echo "/* confdefs.h */" > confdefs.h | |
2326 | |
1847 # Predefined preprocessor variables. | 2327 # Predefined preprocessor variables. |
1848 | 2328 |
1849 cat >>confdefs.h <<_ACEOF | 2329 cat >>confdefs.h <<_ACEOF |
1850 #define PACKAGE_NAME "$PACKAGE_NAME" | 2330 #define PACKAGE_NAME "$PACKAGE_NAME" |
1851 _ACEOF | 2331 _ACEOF |
1852 | 2332 |
1853 | |
1854 cat >>confdefs.h <<_ACEOF | 2333 cat >>confdefs.h <<_ACEOF |
1855 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 2334 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1856 _ACEOF | 2335 _ACEOF |
1857 | 2336 |
1858 | |
1859 cat >>confdefs.h <<_ACEOF | 2337 cat >>confdefs.h <<_ACEOF |
1860 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 2338 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1861 _ACEOF | 2339 _ACEOF |
1862 | 2340 |
1863 | |
1864 cat >>confdefs.h <<_ACEOF | 2341 cat >>confdefs.h <<_ACEOF |
1865 #define PACKAGE_STRING "$PACKAGE_STRING" | 2342 #define PACKAGE_STRING "$PACKAGE_STRING" |
1866 _ACEOF | 2343 _ACEOF |
1867 | 2344 |
1868 | |
1869 cat >>confdefs.h <<_ACEOF | 2345 cat >>confdefs.h <<_ACEOF |
1870 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 2346 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2347 _ACEOF | |
2348 | |
2349 cat >>confdefs.h <<_ACEOF | |
2350 #define PACKAGE_URL "$PACKAGE_URL" | |
1871 _ACEOF | 2351 _ACEOF |
1872 | 2352 |
1873 | 2353 |
1874 # Let the site file select an alternate cache file if it wants to. | 2354 # Let the site file select an alternate cache file if it wants to. |
1875 # Prefer an explicitly selected file to automatically selected ones. | 2355 # Prefer an explicitly selected file to automatically selected ones. |
1885 ac_site_file2=$ac_default_prefix/etc/config.site | 2365 ac_site_file2=$ac_default_prefix/etc/config.site |
1886 fi | 2366 fi |
1887 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 2367 for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1888 do | 2368 do |
1889 test "x$ac_site_file" = xNONE && continue | 2369 test "x$ac_site_file" = xNONE && continue |
1890 if test -r "$ac_site_file"; then | 2370 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
1891 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 2371 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1892 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2372 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1893 sed 's/^/| /' "$ac_site_file" >&5 | 2373 sed 's/^/| /' "$ac_site_file" >&5 |
1894 . "$ac_site_file" | 2374 . "$ac_site_file" |
1895 fi | 2375 fi |
1896 done | 2376 done |
1897 | 2377 |
1898 if test -r "$cache_file"; then | 2378 if test -r "$cache_file"; then |
1899 # Some versions of bash will fail to source /dev/null (special | 2379 # Some versions of bash will fail to source /dev/null (special files |
1900 # files actually), so we avoid doing that. | 2380 # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1901 if test -f "$cache_file"; then | 2381 if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1902 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 2382 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1903 $as_echo "$as_me: loading cache $cache_file" >&6;} | 2383 $as_echo "$as_me: loading cache $cache_file" >&6;} |
1904 case $cache_file in | 2384 case $cache_file in |
1905 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 2385 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1906 *) . "./$cache_file";; | 2386 *) . "./$cache_file";; |
1907 esac | 2387 esac |
1908 fi | 2388 fi |
1909 else | 2389 else |
1910 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1911 $as_echo "$as_me: creating cache $cache_file" >&6;} | 2391 $as_echo "$as_me: creating cache $cache_file" >&6;} |
1912 >$cache_file | 2392 >$cache_file |
1913 fi | 2393 fi |
1914 | 2394 |
1915 ac_header_list="$ac_header_list sys/time.h" | 2395 as_fn_append ac_header_list " stdlib.h" |
1916 ac_header_list="$ac_header_list unistd.h" | 2396 as_fn_append ac_header_list " unistd.h" |
1917 ac_func_list="$ac_func_list alarm" | 2397 as_fn_append ac_header_list " sys/param.h" |
2398 as_fn_append ac_header_list " sys/time.h" | |
2399 as_fn_append ac_func_list " alarm" | |
1918 # Check that the precious variables saved in the cache have kept the same | 2400 # Check that the precious variables saved in the cache have kept the same |
1919 # value. | 2401 # value. |
1920 ac_cache_corrupted=false | 2402 ac_cache_corrupted=false |
1921 for ac_var in $ac_precious_vars; do | 2403 for ac_var in $ac_precious_vars; do |
1922 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 2404 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1923 eval ac_new_set=\$ac_env_${ac_var}_set | 2405 eval ac_new_set=\$ac_env_${ac_var}_set |
1924 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 2406 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1925 eval ac_new_val=\$ac_env_${ac_var}_value | 2407 eval ac_new_val=\$ac_env_${ac_var}_value |
1926 case $ac_old_set,$ac_new_set in | 2408 case $ac_old_set,$ac_new_set in |
1927 set,) | 2409 set,) |
1928 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1929 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 2411 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1930 ac_cache_corrupted=: ;; | 2412 ac_cache_corrupted=: ;; |
1931 ,set) | 2413 ,set) |
1932 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1933 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 2415 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1934 ac_cache_corrupted=: ;; | 2416 ac_cache_corrupted=: ;; |
1935 ,);; | 2417 ,);; |
1936 *) | 2418 *) |
1937 if test "x$ac_old_val" != "x$ac_new_val"; then | 2419 if test "x$ac_old_val" != "x$ac_new_val"; then |
1938 # differences in whitespace do not lead to failure. | 2420 # differences in whitespace do not lead to failure. |
1939 ac_old_val_w=`echo x $ac_old_val` | 2421 ac_old_val_w=`echo x $ac_old_val` |
1940 ac_new_val_w=`echo x $ac_new_val` | 2422 ac_new_val_w=`echo x $ac_new_val` |
1941 if test "$ac_old_val_w" != "$ac_new_val_w"; then | 2423 if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1942 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 2424 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1943 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 2425 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1944 ac_cache_corrupted=: | 2426 ac_cache_corrupted=: |
1945 else | 2427 else |
1946 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 2428 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
1947 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 2429 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
1948 eval $ac_var=\$ac_old_val | 2430 eval $ac_var=\$ac_old_val |
1949 fi | 2431 fi |
1950 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 | 2432 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
1951 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | 2433 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
1952 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 | 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
1953 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | 2435 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
1954 fi;; | 2436 fi;; |
1955 esac | 2437 esac |
1956 # Pass precious variables to config.status. | 2438 # Pass precious variables to config.status. |
1957 if test "$ac_new_set" = set; then | 2439 if test "$ac_new_set" = set; then |
1959 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 2441 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1960 *) ac_arg=$ac_var=$ac_new_val ;; | 2442 *) ac_arg=$ac_var=$ac_new_val ;; |
1961 esac | 2443 esac |
1962 case " $ac_configure_args " in | 2444 case " $ac_configure_args " in |
1963 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1964 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 2446 *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1965 esac | 2447 esac |
1966 fi | 2448 fi |
1967 done | 2449 done |
1968 if $ac_cache_corrupted; then | 2450 if $ac_cache_corrupted; then |
1969 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 2451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
1970 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2454 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1971 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 2455 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1972 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 2456 fi |
1973 { (exit 1); exit 1; }; } | 2457 ## -------------------- ## |
1974 fi | 2458 ## Main body of script. ## |
1975 | 2459 ## -------------------- ## |
1976 | |
1977 | |
1978 | |
1979 | |
1980 | |
1981 | |
1982 | |
1983 | |
1984 | |
1985 | |
1986 | |
1987 | |
1988 | |
1989 | |
1990 | |
1991 | |
1992 | |
1993 | |
1994 | |
1995 | |
1996 | |
1997 | |
1998 | |
1999 | 2460 |
2000 ac_ext=c | 2461 ac_ext=c |
2001 ac_cpp='$CPP $CPPFLAGS' | 2462 ac_cpp='$CPP $CPPFLAGS' |
2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2032 | 2493 |
2033 | 2494 |
2034 | 2495 |
2035 | 2496 |
2036 # Check whether --with-pop was given. | 2497 # Check whether --with-pop was given. |
2037 if test "${with_pop+set}" = set; then | 2498 if test "${with_pop+set}" = set; then : |
2038 withval=$with_pop; | 2499 withval=$with_pop; |
2039 else | 2500 else |
2040 with_pop=yes | 2501 with_pop=yes |
2041 fi | 2502 fi |
2042 | 2503 |
2043 if test "$with_pop" = yes; then | 2504 if test "$with_pop" = yes; then |
2044 cat >>confdefs.h <<\_ACEOF | 2505 $as_echo "#define MAIL_USE_POP 1" >>confdefs.h |
2045 #define MAIL_USE_POP 1 | 2506 |
2046 _ACEOF | 2507 fi |
2047 | |
2048 fi | |
2049 | |
2050 | 2508 |
2051 | 2509 |
2052 # Check whether --with-kerberos was given. | 2510 # Check whether --with-kerberos was given. |
2053 if test "${with_kerberos+set}" = set; then | 2511 if test "${with_kerberos+set}" = set; then : |
2054 withval=$with_kerberos; | 2512 withval=$with_kerberos; |
2055 else | 2513 else |
2056 with_kerberos=no | 2514 with_kerberos=no |
2057 fi | 2515 fi |
2058 | 2516 |
2059 if test "$with_kerberos" != no; then | 2517 if test "$with_kerberos" != no; then |
2060 cat >>confdefs.h <<\_ACEOF | 2518 $as_echo "#define KERBEROS 1" >>confdefs.h |
2061 #define KERBEROS 1 | 2519 |
2062 _ACEOF | 2520 fi |
2063 | |
2064 fi | |
2065 | |
2066 | 2521 |
2067 | 2522 |
2068 # Check whether --with-kerberos5 was given. | 2523 # Check whether --with-kerberos5 was given. |
2069 if test "${with_kerberos5+set}" = set; then | 2524 if test "${with_kerberos5+set}" = set; then : |
2070 withval=$with_kerberos5; | 2525 withval=$with_kerberos5; |
2071 else | 2526 else |
2072 with_kerberos5=no | 2527 with_kerberos5=no |
2073 fi | 2528 fi |
2074 | 2529 |
2075 if test "${with_kerberos5}" != no; then | 2530 if test "${with_kerberos5}" != no; then |
2076 if test "${with_kerberos}" = no; then | 2531 if test "${with_kerberos}" = no; then |
2077 with_kerberos=yes | 2532 with_kerberos=yes |
2078 cat >>confdefs.h <<\_ACEOF | 2533 $as_echo "#define KERBEROS 1" >>confdefs.h |
2079 #define KERBEROS 1 | |
2080 _ACEOF | |
2081 | 2534 |
2082 fi | 2535 fi |
2083 | 2536 |
2084 cat >>confdefs.h <<\_ACEOF | 2537 $as_echo "#define KERBEROS5 1" >>confdefs.h |
2085 #define KERBEROS5 1 | |
2086 _ACEOF | |
2087 | 2538 |
2088 fi | 2539 fi |
2089 | 2540 |
2090 | 2541 |
2091 # Check whether --with-hesiod was given. | 2542 # Check whether --with-hesiod was given. |
2092 if test "${with_hesiod+set}" = set; then | 2543 if test "${with_hesiod+set}" = set; then : |
2093 withval=$with_hesiod; | 2544 withval=$with_hesiod; |
2094 else | 2545 else |
2095 with_hesiod=no | 2546 with_hesiod=no |
2096 fi | 2547 fi |
2097 | 2548 |
2098 if test "$with_hesiod" != no; then | 2549 if test "$with_hesiod" != no; then |
2099 | 2550 |
2100 cat >>confdefs.h <<\_ACEOF | 2551 $as_echo "#define HESIOD 1" >>confdefs.h |
2101 #define HESIOD 1 | |
2102 _ACEOF | |
2103 | 2552 |
2104 fi | 2553 fi |
2105 | 2554 |
2106 | 2555 |
2107 # Check whether --with-mmdf was given. | 2556 # Check whether --with-mmdf was given. |
2108 if test "${with_mmdf+set}" = set; then | 2557 if test "${with_mmdf+set}" = set; then : |
2109 withval=$with_mmdf; | 2558 withval=$with_mmdf; |
2110 else | 2559 else |
2111 with_mmdf=no | 2560 with_mmdf=no |
2112 fi | 2561 fi |
2113 | 2562 |
2114 if test "$with_mmdf" != no; then | 2563 if test "$with_mmdf" != no; then |
2115 | 2564 |
2116 cat >>confdefs.h <<\_ACEOF | 2565 $as_echo "#define MAIL_USE_MMDF 1" >>confdefs.h |
2117 #define MAIL_USE_MMDF 1 | |
2118 _ACEOF | |
2119 | 2566 |
2120 fi | 2567 fi |
2121 | 2568 |
2122 | 2569 |
2123 # Check whether --with-mail-unlink was given. | 2570 # Check whether --with-mail-unlink was given. |
2124 if test "${with_mail_unlink+set}" = set; then | 2571 if test "${with_mail_unlink+set}" = set; then : |
2125 withval=$with_mail_unlink; | 2572 withval=$with_mail_unlink; |
2126 else | 2573 else |
2127 with_mail_unlink=no | 2574 with_mail_unlink=no |
2128 fi | 2575 fi |
2129 | 2576 |
2130 if test "$with_mail_unlink" != no; then | 2577 if test "$with_mail_unlink" != no; then |
2131 | 2578 |
2132 cat >>confdefs.h <<\_ACEOF | 2579 $as_echo "#define MAIL_UNLINK_SPOOL 1" >>confdefs.h |
2133 #define MAIL_UNLINK_SPOOL 1 | |
2134 _ACEOF | |
2135 | 2580 |
2136 fi | 2581 fi |
2137 | 2582 |
2138 | 2583 |
2139 # Check whether --with-mailhost was given. | 2584 # Check whether --with-mailhost was given. |
2140 if test "${with_mailhost+set}" = set; then | 2585 if test "${with_mailhost+set}" = set; then : |
2141 withval=$with_mailhost; | 2586 withval=$with_mailhost; |
2142 cat >>confdefs.h <<_ACEOF | 2587 cat >>confdefs.h <<_ACEOF |
2143 #define MAILHOST "$withval" | 2588 #define MAILHOST "$withval" |
2144 _ACEOF | 2589 _ACEOF |
2145 | 2590 |
2146 fi | 2591 fi |
2147 | 2592 |
2148 | 2593 |
2149 | 2594 |
2150 # Check whether --with-sound was given. | 2595 # Check whether --with-sound was given. |
2151 if test "${with_sound+set}" = set; then | 2596 if test "${with_sound+set}" = set; then : |
2152 withval=$with_sound; | 2597 withval=$with_sound; |
2153 else | 2598 else |
2154 with_sound=yes | 2599 with_sound=yes |
2155 fi | 2600 fi |
2156 | 2601 |
2157 | 2602 |
2158 | 2603 |
2159 # Check whether --with-sync-input was given. | 2604 # Check whether --with-sync-input was given. |
2160 if test "${with_sync_input+set}" = set; then | 2605 if test "${with_sync_input+set}" = set; then : |
2161 withval=$with_sync_input; | 2606 withval=$with_sync_input; |
2162 else | 2607 else |
2163 with_sync_input=yes | 2608 with_sync_input=yes |
2164 fi | 2609 fi |
2165 | 2610 |
2166 if test "$with_sync_input" = yes; then | 2611 if test "$with_sync_input" = yes; then |
2167 | 2612 |
2168 cat >>confdefs.h <<\_ACEOF | 2613 $as_echo "#define SYNC_INPUT 1" >>confdefs.h |
2169 #define SYNC_INPUT 1 | |
2170 _ACEOF | |
2171 | 2614 |
2172 fi | 2615 fi |
2173 | 2616 |
2174 | 2617 |
2175 # Check whether --with-x-toolkit was given. | 2618 # Check whether --with-x-toolkit was given. |
2176 if test "${with_x_toolkit+set}" = set; then | 2619 if test "${with_x_toolkit+set}" = set; then : |
2177 withval=$with_x_toolkit; case "${withval}" in | 2620 withval=$with_x_toolkit; case "${withval}" in |
2178 y | ye | yes ) val=gtk ;; | 2621 y | ye | yes ) val=gtk ;; |
2179 n | no ) val=no ;; | 2622 n | no ) val=no ;; |
2180 l | lu | luc | luci | lucid ) val=lucid ;; | 2623 l | lu | luc | luci | lucid ) val=lucid ;; |
2181 a | at | ath | athe | athen | athena ) val=athena ;; | 2624 a | at | ath | athe | athen | athena ) val=athena ;; |
2182 m | mo | mot | moti | motif ) val=motif ;; | 2625 m | mo | mot | moti | motif ) val=motif ;; |
2183 g | gt | gtk ) val=gtk ;; | 2626 g | gt | gtk ) val=gtk ;; |
2184 * ) | 2627 * ) |
2185 { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; | 2628 as_fn_error "\`--with-x-toolkit=$withval' is invalid; |
2186 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | 2629 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. |
2187 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 | 2630 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 |
2188 $as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid; | |
2189 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | |
2190 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;} | |
2191 { (exit 1); exit 1; }; } | |
2192 ;; | 2631 ;; |
2193 esac | 2632 esac |
2194 with_x_toolkit=$val | 2633 with_x_toolkit=$val |
2195 | 2634 |
2196 fi | 2635 fi |
2197 | 2636 |
2198 | 2637 |
2199 | 2638 |
2200 # Check whether --with-xpm was given. | 2639 # Check whether --with-xpm was given. |
2201 if test "${with_xpm+set}" = set; then | 2640 if test "${with_xpm+set}" = set; then : |
2202 withval=$with_xpm; | 2641 withval=$with_xpm; |
2203 else | 2642 else |
2204 with_xpm=yes | 2643 with_xpm=yes |
2205 fi | 2644 fi |
2206 | 2645 |
2207 | 2646 |
2208 # Check whether --with-jpeg was given. | 2647 # Check whether --with-jpeg was given. |
2209 if test "${with_jpeg+set}" = set; then | 2648 if test "${with_jpeg+set}" = set; then : |
2210 withval=$with_jpeg; | 2649 withval=$with_jpeg; |
2211 else | 2650 else |
2212 with_jpeg=yes | 2651 with_jpeg=yes |
2213 fi | 2652 fi |
2214 | 2653 |
2215 | 2654 |
2216 # Check whether --with-tiff was given. | 2655 # Check whether --with-tiff was given. |
2217 if test "${with_tiff+set}" = set; then | 2656 if test "${with_tiff+set}" = set; then : |
2218 withval=$with_tiff; | 2657 withval=$with_tiff; |
2219 else | 2658 else |
2220 with_tiff=yes | 2659 with_tiff=yes |
2221 fi | 2660 fi |
2222 | 2661 |
2223 | 2662 |
2224 # Check whether --with-gif was given. | 2663 # Check whether --with-gif was given. |
2225 if test "${with_gif+set}" = set; then | 2664 if test "${with_gif+set}" = set; then : |
2226 withval=$with_gif; | 2665 withval=$with_gif; |
2227 else | 2666 else |
2228 with_gif=yes | 2667 with_gif=yes |
2229 fi | 2668 fi |
2230 | 2669 |
2231 | 2670 |
2232 # Check whether --with-png was given. | 2671 # Check whether --with-png was given. |
2233 if test "${with_png+set}" = set; then | 2672 if test "${with_png+set}" = set; then : |
2234 withval=$with_png; | 2673 withval=$with_png; |
2235 else | 2674 else |
2236 with_png=yes | 2675 with_png=yes |
2237 fi | 2676 fi |
2238 | 2677 |
2239 | 2678 |
2240 # Check whether --with-rsvg was given. | 2679 # Check whether --with-rsvg was given. |
2241 if test "${with_rsvg+set}" = set; then | 2680 if test "${with_rsvg+set}" = set; then : |
2242 withval=$with_rsvg; | 2681 withval=$with_rsvg; |
2243 else | 2682 else |
2244 with_rsvg=yes | 2683 with_rsvg=yes |
2245 fi | 2684 fi |
2246 | 2685 |
2247 | 2686 |
2248 | 2687 |
2249 # Check whether --with-xft was given. | 2688 # Check whether --with-xft was given. |
2250 if test "${with_xft+set}" = set; then | 2689 if test "${with_xft+set}" = set; then : |
2251 withval=$with_xft; | 2690 withval=$with_xft; |
2252 else | 2691 else |
2253 with_xft=yes | 2692 with_xft=yes |
2254 fi | 2693 fi |
2255 | 2694 |
2256 | 2695 |
2257 # Check whether --with-libotf was given. | 2696 # Check whether --with-libotf was given. |
2258 if test "${with_libotf+set}" = set; then | 2697 if test "${with_libotf+set}" = set; then : |
2259 withval=$with_libotf; | 2698 withval=$with_libotf; |
2260 else | 2699 else |
2261 with_libotf=yes | 2700 with_libotf=yes |
2262 fi | 2701 fi |
2263 | 2702 |
2264 | 2703 |
2265 # Check whether --with-m17n-flt was given. | 2704 # Check whether --with-m17n-flt was given. |
2266 if test "${with_m17n_flt+set}" = set; then | 2705 if test "${with_m17n_flt+set}" = set; then : |
2267 withval=$with_m17n_flt; | 2706 withval=$with_m17n_flt; |
2268 else | 2707 else |
2269 with_m17n_flt=yes | 2708 with_m17n_flt=yes |
2270 fi | 2709 fi |
2271 | 2710 |
2272 | 2711 |
2273 | 2712 |
2274 # Check whether --with-toolkit-scroll-bars was given. | 2713 # Check whether --with-toolkit-scroll-bars was given. |
2275 if test "${with_toolkit_scroll_bars+set}" = set; then | 2714 if test "${with_toolkit_scroll_bars+set}" = set; then : |
2276 withval=$with_toolkit_scroll_bars; | 2715 withval=$with_toolkit_scroll_bars; |
2277 else | 2716 else |
2278 with_toolkit_scroll_bars=yes | 2717 with_toolkit_scroll_bars=yes |
2279 fi | 2718 fi |
2280 | 2719 |
2281 | 2720 |
2282 # Check whether --with-xaw3d was given. | 2721 # Check whether --with-xaw3d was given. |
2283 if test "${with_xaw3d+set}" = set; then | 2722 if test "${with_xaw3d+set}" = set; then : |
2284 withval=$with_xaw3d; | 2723 withval=$with_xaw3d; |
2285 else | 2724 else |
2286 with_xaw3d=yes | 2725 with_xaw3d=yes |
2287 fi | 2726 fi |
2288 | 2727 |
2289 | 2728 |
2290 # Check whether --with-xim was given. | 2729 # Check whether --with-xim was given. |
2291 if test "${with_xim+set}" = set; then | 2730 if test "${with_xim+set}" = set; then : |
2292 withval=$with_xim; | 2731 withval=$with_xim; |
2293 else | 2732 else |
2294 with_xim=yes | 2733 with_xim=yes |
2295 fi | 2734 fi |
2296 | 2735 |
2297 | 2736 |
2298 # Check whether --with-ns was given. | 2737 # Check whether --with-ns was given. |
2299 if test "${with_ns+set}" = set; then | 2738 if test "${with_ns+set}" = set; then : |
2300 withval=$with_ns; | 2739 withval=$with_ns; |
2301 else | 2740 else |
2302 with_ns=no | 2741 with_ns=no |
2303 fi | 2742 fi |
2304 | 2743 |
2305 | 2744 |
2306 | 2745 |
2307 # Check whether --with-gpm was given. | 2746 # Check whether --with-gpm was given. |
2308 if test "${with_gpm+set}" = set; then | 2747 if test "${with_gpm+set}" = set; then : |
2309 withval=$with_gpm; | 2748 withval=$with_gpm; |
2310 else | 2749 else |
2311 with_gpm=yes | 2750 with_gpm=yes |
2312 fi | 2751 fi |
2313 | 2752 |
2314 | 2753 |
2315 # Check whether --with-dbus was given. | 2754 # Check whether --with-dbus was given. |
2316 if test "${with_dbus+set}" = set; then | 2755 if test "${with_dbus+set}" = set; then : |
2317 withval=$with_dbus; | 2756 withval=$with_dbus; |
2318 else | 2757 else |
2319 with_dbus=yes | 2758 with_dbus=yes |
2320 fi | 2759 fi |
2321 | 2760 |
2322 | 2761 |
2323 # Check whether --with-gconf was given. | 2762 # Check whether --with-gconf was given. |
2324 if test "${with_gconf+set}" = set; then | 2763 if test "${with_gconf+set}" = set; then : |
2325 withval=$with_gconf; | 2764 withval=$with_gconf; |
2326 else | 2765 else |
2327 with_gconf=yes | 2766 with_gconf=yes |
2328 fi | 2767 fi |
2329 | 2768 |
2330 | 2769 |
2331 # Check whether --with-selinux was given. | 2770 # Check whether --with-selinux was given. |
2332 if test "${with_selinux+set}" = set; then | 2771 if test "${with_selinux+set}" = set; then : |
2333 withval=$with_selinux; | 2772 withval=$with_selinux; |
2334 else | 2773 else |
2335 with_selinux=yes | 2774 with_selinux=yes |
2336 fi | 2775 fi |
2337 | 2776 |
2338 | 2777 |
2339 ## For the times when you want to build Emacs but don't have | 2778 ## For the times when you want to build Emacs but don't have |
2340 ## a suitable makeinfo, and can live without the manuals. | 2779 ## a suitable makeinfo, and can live without the manuals. |
2341 | 2780 |
2342 # Check whether --with-makeinfo was given. | 2781 # Check whether --with-makeinfo was given. |
2343 if test "${with_makeinfo+set}" = set; then | 2782 if test "${with_makeinfo+set}" = set; then : |
2344 withval=$with_makeinfo; | 2783 withval=$with_makeinfo; |
2345 else | 2784 else |
2346 with_makeinfo=yes | 2785 with_makeinfo=yes |
2347 fi | 2786 fi |
2348 | 2787 |
2349 | 2788 |
2350 | 2789 |
2351 # Check whether --with-gtk was given. | 2790 # Check whether --with-gtk was given. |
2352 if test "${with_gtk+set}" = set; then | 2791 if test "${with_gtk+set}" = set; then : |
2353 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to | 2792 withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to |
2354 specify a toolkit." >&5 | 2793 specify a toolkit." "$LINENO" 5 |
2355 $as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to | |
2356 specify a toolkit." >&2;} | |
2357 { (exit 1); exit 1; }; } | |
2358 fi | 2794 fi |
2359 | 2795 |
2360 | 2796 |
2361 | 2797 |
2362 # Check whether --with-gcc was given. | 2798 # Check whether --with-gcc was given. |
2363 if test "${with_gcc+set}" = set; then | 2799 if test "${with_gcc+set}" = set; then : |
2364 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment | 2800 withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment |
2365 variable to specify a compiler." >&5 | 2801 variable to specify a compiler." "$LINENO" 5 |
2366 $as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment | |
2367 variable to specify a compiler." >&2;} | |
2368 { (exit 1); exit 1; }; } | |
2369 fi | 2802 fi |
2370 | 2803 |
2371 | 2804 |
2372 | 2805 |
2373 # Check whether --with-pkg-config-prog was given. | 2806 # Check whether --with-pkg-config-prog was given. |
2374 if test "${with_pkg_config_prog+set}" = set; then | 2807 if test "${with_pkg_config_prog+set}" = set; then : |
2375 withval=$with_pkg_config_prog; | 2808 withval=$with_pkg_config_prog; |
2376 fi | 2809 fi |
2377 | 2810 |
2378 if test "X${with_pkg_config_prog}" != X; then | 2811 if test "X${with_pkg_config_prog}" != X; then |
2379 if test "${with_pkg_config_prog}" != yes; then | 2812 if test "${with_pkg_config_prog}" != yes; then |
2382 fi | 2815 fi |
2383 | 2816 |
2384 CRT_DIR= | 2817 CRT_DIR= |
2385 | 2818 |
2386 # Check whether --with-crt-dir was given. | 2819 # Check whether --with-crt-dir was given. |
2387 if test "${with_crt_dir+set}" = set; then | 2820 if test "${with_crt_dir+set}" = set; then : |
2388 withval=$with_crt_dir; | 2821 withval=$with_crt_dir; |
2389 fi | 2822 fi |
2390 | 2823 |
2391 CRT_DIR="${with_crt_dir}" | 2824 CRT_DIR="${with_crt_dir}" |
2392 | 2825 |
2393 | 2826 |
2394 # Check whether --with-gnustep-conf was given. | 2827 # Check whether --with-gnustep-conf was given. |
2395 if test "${with_gnustep_conf+set}" = set; then | 2828 if test "${with_gnustep_conf+set}" = set; then : |
2396 withval=$with_gnustep_conf; | 2829 withval=$with_gnustep_conf; |
2397 fi | 2830 fi |
2398 | 2831 |
2399 test "X${with_gnustep_conf}" != X && test "${with_gnustep_conf}" != yes && \ | 2832 test "X${with_gnustep_conf}" != X && test "${with_gnustep_conf}" != yes && \ |
2400 GNUSTEP_CONFIG_FILE="${with_gnustep_conf}" | 2833 GNUSTEP_CONFIG_FILE="${with_gnustep_conf}" |
2401 test "X$GNUSTEP_CONFIG_FILE" = "X" && \ | 2834 test "X$GNUSTEP_CONFIG_FILE" = "X" && \ |
2402 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf | 2835 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf |
2403 | 2836 |
2404 # Check whether --enable-ns-self-contained was given. | 2837 # Check whether --enable-ns-self-contained was given. |
2405 if test "${enable_ns_self_contained+set}" = set; then | 2838 if test "${enable_ns_self_contained+set}" = set; then : |
2406 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval | 2839 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval |
2407 else | 2840 else |
2408 EN_NS_SELF_CONTAINED=yes | 2841 EN_NS_SELF_CONTAINED=yes |
2409 fi | 2842 fi |
2410 | 2843 |
2411 | 2844 |
2412 # Check whether --enable-asserts was given. | 2845 # Check whether --enable-asserts was given. |
2413 if test "${enable_asserts+set}" = set; then | 2846 if test "${enable_asserts+set}" = set; then : |
2414 enableval=$enable_asserts; USE_XASSERTS=$enableval | 2847 enableval=$enable_asserts; USE_XASSERTS=$enableval |
2415 else | 2848 else |
2416 USE_XASSERTS=no | 2849 USE_XASSERTS=no |
2417 fi | 2850 fi |
2418 | 2851 |
2419 | 2852 |
2420 # Check whether --enable-maintainer-mode was given. | 2853 # Check whether --enable-maintainer-mode was given. |
2421 if test "${enable_maintainer_mode+set}" = set; then | 2854 if test "${enable_maintainer_mode+set}" = set; then : |
2422 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 2855 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
2423 else | 2856 else |
2424 USE_MAINTAINER_MODE=no | 2857 USE_MAINTAINER_MODE=no |
2425 fi | 2858 fi |
2426 | 2859 |
2430 MAINT=# | 2863 MAINT=# |
2431 fi | 2864 fi |
2432 | 2865 |
2433 | 2866 |
2434 # Check whether --enable-locallisppath was given. | 2867 # Check whether --enable-locallisppath was given. |
2435 if test "${enable_locallisppath+set}" = set; then | 2868 if test "${enable_locallisppath+set}" = set; then : |
2436 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then | 2869 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
2437 locallisppath= | 2870 locallisppath= |
2438 elif test "${enableval}" != "yes"; then | 2871 elif test "${enableval}" != "yes"; then |
2439 locallisppath=${enableval} | 2872 locallisppath=${enableval} |
2440 fi | 2873 fi |
2441 fi | 2874 fi |
2442 | 2875 |
2443 | 2876 |
2444 # Check whether --enable-checking was given. | 2877 # Check whether --enable-checking was given. |
2445 if test "${enable_checking+set}" = set; then | 2878 if test "${enable_checking+set}" = set; then : |
2446 enableval=$enable_checking; ac_checking_flags="${enableval}" | 2879 enableval=$enable_checking; ac_checking_flags="${enableval}" |
2447 fi | 2880 fi |
2448 | 2881 |
2449 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," | 2882 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," |
2450 for check in $ac_checking_flags | 2883 for check in $ac_checking_flags |
2468 stringbytes) ac_gc_check_stringbytes=1 ;; | 2901 stringbytes) ac_gc_check_stringbytes=1 ;; |
2469 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2902 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2470 stringfreelist) ac_gc_check_string_free_list=1 ;; | 2903 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2471 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2904 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2472 conslist) ac_gc_check_cons_list=1 ;; | 2905 conslist) ac_gc_check_cons_list=1 ;; |
2473 *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5 | 2906 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; |
2474 $as_echo "$as_me: error: unknown check category $check" >&2;} | |
2475 { (exit 1); exit 1; }; } ;; | |
2476 esac | 2907 esac |
2477 done | 2908 done |
2478 IFS="$ac_save_IFS" | 2909 IFS="$ac_save_IFS" |
2479 | 2910 |
2480 if test x$ac_enable_checking != x ; then | 2911 if test x$ac_enable_checking != x ; then |
2481 | 2912 |
2482 cat >>confdefs.h <<\_ACEOF | 2913 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h |
2483 #define ENABLE_CHECKING 1 | |
2484 _ACEOF | |
2485 | 2914 |
2486 fi | 2915 fi |
2487 if test x$ac_gc_check_stringbytes != x ; then | 2916 if test x$ac_gc_check_stringbytes != x ; then |
2488 | 2917 |
2489 cat >>confdefs.h <<\_ACEOF | 2918 $as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h |
2490 #define GC_CHECK_STRING_BYTES 1 | |
2491 _ACEOF | |
2492 | 2919 |
2493 fi | 2920 fi |
2494 if test x$ac_gc_check_stringoverrun != x ; then | 2921 if test x$ac_gc_check_stringoverrun != x ; then |
2495 | 2922 |
2496 cat >>confdefs.h <<\_ACEOF | 2923 $as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h |
2497 #define GC_CHECK_STRING_OVERRUN 1 | |
2498 _ACEOF | |
2499 | 2924 |
2500 fi | 2925 fi |
2501 if test x$ac_gc_check_string_free_list != x ; then | 2926 if test x$ac_gc_check_string_free_list != x ; then |
2502 | 2927 |
2503 cat >>confdefs.h <<\_ACEOF | 2928 $as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h |
2504 #define GC_CHECK_STRING_FREE_LIST 1 | |
2505 _ACEOF | |
2506 | 2929 |
2507 fi | 2930 fi |
2508 if test x$ac_xmalloc_overrun != x ; then | 2931 if test x$ac_xmalloc_overrun != x ; then |
2509 | 2932 |
2510 cat >>confdefs.h <<\_ACEOF | 2933 $as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h |
2511 #define XMALLOC_OVERRUN_CHECK 1 | |
2512 _ACEOF | |
2513 | 2934 |
2514 fi | 2935 fi |
2515 if test x$ac_gc_check_cons_list != x ; then | 2936 if test x$ac_gc_check_cons_list != x ; then |
2516 | 2937 |
2517 cat >>confdefs.h <<\_ACEOF | 2938 $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h |
2518 #define GC_CHECK_CONS_LIST 1 | |
2519 _ACEOF | |
2520 | 2939 |
2521 fi | 2940 fi |
2522 | 2941 |
2523 # Check whether --enable-profiling was given. | 2942 # Check whether --enable-profiling was given. |
2524 if test "${enable_profiling+set}" = set; then | 2943 if test "${enable_profiling+set}" = set; then : |
2525 enableval=$enable_profiling; ac_enable_profiling="${enableval}" | 2944 enableval=$enable_profiling; ac_enable_profiling="${enableval}" |
2526 fi | 2945 fi |
2527 | 2946 |
2528 if test x$ac_enable_profiling != x ; then | 2947 if test x$ac_enable_profiling != x ; then |
2529 PROFILING_CFLAGS="-DPROFILING=1 -pg" | 2948 PROFILING_CFLAGS="-DPROFILING=1 -pg" |
2532 PROFILING_CFLAGS= | 2951 PROFILING_CFLAGS= |
2533 PROFILING_LDFLAGS= | 2952 PROFILING_LDFLAGS= |
2534 fi | 2953 fi |
2535 | 2954 |
2536 # Check whether --enable-autodepend was given. | 2955 # Check whether --enable-autodepend was given. |
2537 if test "${enable_autodepend+set}" = set; then | 2956 if test "${enable_autodepend+set}" = set; then : |
2538 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" | 2957 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" |
2539 else | 2958 else |
2540 ac_enable_autodepend=yes | 2959 ac_enable_autodepend=yes |
2541 fi | 2960 fi |
2542 | 2961 |
2566 esac | 2985 esac |
2567 | 2986 |
2568 #### Check if the source directory already has a configured system in it. | 2987 #### Check if the source directory already has a configured system in it. |
2569 if test `pwd` != `(cd ${srcdir} && pwd)` \ | 2988 if test `pwd` != `(cd ${srcdir} && pwd)` \ |
2570 && test -f "${srcdir}/src/config.h" ; then | 2989 && test -f "${srcdir}/src/config.h" ; then |
2571 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used | 2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used |
2572 as a build directory right now; it has been configured in its own | 2991 as a build directory right now; it has been configured in its own |
2573 right. To configure in another directory as well, you MUST | 2992 right. To configure in another directory as well, you MUST |
2574 use GNU make. If you do not have GNU make, then you must | 2993 use GNU make. If you do not have GNU make, then you must |
2575 now do \`make distclean' in ${srcdir}, | 2994 now do \`make distclean' in ${srcdir}, |
2576 and then run $0 again." >&5 | 2995 and then run $0 again." >&5 |
2587 | 3006 |
2588 ### Canonicalize the configuration name. | 3007 ### Canonicalize the configuration name. |
2589 | 3008 |
2590 ac_aux_dir= | 3009 ac_aux_dir= |
2591 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3010 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2592 if test -f "$ac_dir/install-sh"; then | 3011 for ac_t in install-sh install.sh shtool; do |
2593 ac_aux_dir=$ac_dir | 3012 if test -f "$ac_dir/$ac_t"; then |
2594 ac_install_sh="$ac_aux_dir/install-sh -c" | 3013 ac_aux_dir=$ac_dir |
2595 break | 3014 ac_install_sh="$ac_aux_dir/$ac_t -c" |
2596 elif test -f "$ac_dir/install.sh"; then | 3015 break 2 |
2597 ac_aux_dir=$ac_dir | 3016 fi |
2598 ac_install_sh="$ac_aux_dir/install.sh -c" | 3017 done |
2599 break | |
2600 elif test -f "$ac_dir/shtool"; then | |
2601 ac_aux_dir=$ac_dir | |
2602 ac_install_sh="$ac_aux_dir/shtool install -c" | |
2603 break | |
2604 fi | |
2605 done | 3018 done |
2606 if test -z "$ac_aux_dir"; then | 3019 if test -z "$ac_aux_dir"; then |
2607 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | 3020 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2608 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | |
2609 { (exit 1); exit 1; }; } | |
2610 fi | 3021 fi |
2611 | 3022 |
2612 # These three variables are undocumented and unsupported, | 3023 # These three variables are undocumented and unsupported, |
2613 # and are intended to be withdrawn in a future Autoconf release. | 3024 # and are intended to be withdrawn in a future Autoconf release. |
2614 # They can cause serious problems if a builder's source tree is in a directory | 3025 # They can cause serious problems if a builder's source tree is in a directory |
2618 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 3029 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2619 | 3030 |
2620 | 3031 |
2621 # Make sure we can run config.sub. | 3032 # Make sure we can run config.sub. |
2622 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3033 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2623 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | 3034 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2624 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | 3035 |
2625 { (exit 1); exit 1; }; } | 3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2626 | |
2627 { $as_echo "$as_me:$LINENO: checking build system type" >&5 | |
2628 $as_echo_n "checking build system type... " >&6; } | 3037 $as_echo_n "checking build system type... " >&6; } |
2629 if test "${ac_cv_build+set}" = set; then | 3038 if test "${ac_cv_build+set}" = set; then : |
2630 $as_echo_n "(cached) " >&6 | 3039 $as_echo_n "(cached) " >&6 |
2631 else | 3040 else |
2632 ac_build_alias=$build_alias | 3041 ac_build_alias=$build_alias |
2633 test "x$ac_build_alias" = x && | 3042 test "x$ac_build_alias" = x && |
2634 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3043 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2635 test "x$ac_build_alias" = x && | 3044 test "x$ac_build_alias" = x && |
2636 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 3045 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
2637 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
2638 { (exit 1); exit 1; }; } | |
2639 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3046 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
2640 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | 3047 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
2641 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | 3048 |
2642 { (exit 1); exit 1; }; } | 3049 fi |
2643 | 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2644 fi | |
2645 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
2646 $as_echo "$ac_cv_build" >&6; } | 3051 $as_echo "$ac_cv_build" >&6; } |
2647 case $ac_cv_build in | 3052 case $ac_cv_build in |
2648 *-*-*) ;; | 3053 *-*-*) ;; |
2649 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | 3054 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
2650 $as_echo "$as_me: error: invalid value of canonical build" >&2;} | |
2651 { (exit 1); exit 1; }; };; | |
2652 esac | 3055 esac |
2653 build=$ac_cv_build | 3056 build=$ac_cv_build |
2654 ac_save_IFS=$IFS; IFS='-' | 3057 ac_save_IFS=$IFS; IFS='-' |
2655 set x $ac_cv_build | 3058 set x $ac_cv_build |
2656 shift | 3059 shift |
2662 build_os=$* | 3065 build_os=$* |
2663 IFS=$ac_save_IFS | 3066 IFS=$ac_save_IFS |
2664 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 3067 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2665 | 3068 |
2666 | 3069 |
2667 { $as_echo "$as_me:$LINENO: checking host system type" >&5 | 3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2668 $as_echo_n "checking host system type... " >&6; } | 3071 $as_echo_n "checking host system type... " >&6; } |
2669 if test "${ac_cv_host+set}" = set; then | 3072 if test "${ac_cv_host+set}" = set; then : |
2670 $as_echo_n "(cached) " >&6 | 3073 $as_echo_n "(cached) " >&6 |
2671 else | 3074 else |
2672 if test "x$host_alias" = x; then | 3075 if test "x$host_alias" = x; then |
2673 ac_cv_host=$ac_cv_build | 3076 ac_cv_host=$ac_cv_build |
2674 else | 3077 else |
2675 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3078 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
2676 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | 3079 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
2677 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | 3080 fi |
2678 { (exit 1); exit 1; }; } | 3081 |
2679 fi | 3082 fi |
2680 | 3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2681 fi | |
2682 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
2683 $as_echo "$ac_cv_host" >&6; } | 3084 $as_echo "$ac_cv_host" >&6; } |
2684 case $ac_cv_host in | 3085 case $ac_cv_host in |
2685 *-*-*) ;; | 3086 *-*-*) ;; |
2686 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | 3087 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
2687 $as_echo "$as_me: error: invalid value of canonical host" >&2;} | |
2688 { (exit 1); exit 1; }; };; | |
2689 esac | 3088 esac |
2690 host=$ac_cv_host | 3089 host=$ac_cv_host |
2691 ac_save_IFS=$IFS; IFS='-' | 3090 ac_save_IFS=$IFS; IFS='-' |
2692 set x $ac_cv_host | 3091 set x $ac_cv_host |
2693 shift | 3092 shift |
2763 ## NetBSD ports | 3162 ## NetBSD ports |
2764 *-*-netbsd* ) | 3163 *-*-netbsd* ) |
2765 opsys=netbsd | 3164 opsys=netbsd |
2766 if test -f /usr/lib/crti.o; then | 3165 if test -f /usr/lib/crti.o; then |
2767 | 3166 |
2768 cat >>confdefs.h <<\_ACEOF | 3167 $as_echo "#define HAVE_CRTIN /**/" >>confdefs.h |
2769 #define HAVE_CRTIN /**/ | |
2770 _ACEOF | |
2771 | 3168 |
2772 fi | 3169 fi |
2773 | 3170 |
2774 case "${canonical}" in | 3171 case "${canonical}" in |
2775 alpha*-*-netbsd*) machine=alpha ;; | 3172 alpha*-*-netbsd*) machine=alpha ;; |
2990 fi | 3387 fi |
2991 | 3388 |
2992 | 3389 |
2993 | 3390 |
2994 if test $unported = yes; then | 3391 if test $unported = yes; then |
2995 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. | 3392 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. |
2996 Check \`etc/MACHINES' for recognized configuration names." >&5 | 3393 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 |
2997 $as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. | |
2998 Check \`etc/MACHINES' for recognized configuration names." >&2;} | |
2999 { (exit 1); exit 1; }; } | |
3000 fi | 3394 fi |
3001 | 3395 |
3002 machfile="m/${machine}.h" | 3396 machfile="m/${machine}.h" |
3003 opsysfile="s/${opsys}.h" | 3397 opsysfile="s/${opsys}.h" |
3004 | 3398 |
3015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3016 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3410 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3017 if test -n "$ac_tool_prefix"; then | 3411 if test -n "$ac_tool_prefix"; then |
3018 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3412 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3019 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3413 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3021 $as_echo_n "checking for $ac_word... " >&6; } | 3415 $as_echo_n "checking for $ac_word... " >&6; } |
3022 if test "${ac_cv_prog_CC+set}" = set; then | 3416 if test "${ac_cv_prog_CC+set}" = set; then : |
3023 $as_echo_n "(cached) " >&6 | 3417 $as_echo_n "(cached) " >&6 |
3024 else | 3418 else |
3025 if test -n "$CC"; then | 3419 if test -n "$CC"; then |
3026 ac_cv_prog_CC="$CC" # Let the user override the test. | 3420 ac_cv_prog_CC="$CC" # Let the user override the test. |
3027 else | 3421 else |
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3029 for as_dir in $PATH | 3423 for as_dir in $PATH |
3030 do | 3424 do |
3031 IFS=$as_save_IFS | 3425 IFS=$as_save_IFS |
3032 test -z "$as_dir" && as_dir=. | 3426 test -z "$as_dir" && as_dir=. |
3033 for ac_exec_ext in '' $ac_executable_extensions; do | 3427 for ac_exec_ext in '' $ac_executable_extensions; do |
3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3035 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3429 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3037 break 2 | 3431 break 2 |
3038 fi | 3432 fi |
3039 done | 3433 done |
3040 done | 3434 done |
3041 IFS=$as_save_IFS | 3435 IFS=$as_save_IFS |
3042 | 3436 |
3043 fi | 3437 fi |
3044 fi | 3438 fi |
3045 CC=$ac_cv_prog_CC | 3439 CC=$ac_cv_prog_CC |
3046 if test -n "$CC"; then | 3440 if test -n "$CC"; then |
3047 { $as_echo "$as_me:$LINENO: result: $CC" >&5 | 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3048 $as_echo "$CC" >&6; } | 3442 $as_echo "$CC" >&6; } |
3049 else | 3443 else |
3050 { $as_echo "$as_me:$LINENO: result: no" >&5 | 3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3051 $as_echo "no" >&6; } | 3445 $as_echo "no" >&6; } |
3052 fi | 3446 fi |
3053 | 3447 |
3054 | 3448 |
3055 fi | 3449 fi |
3056 if test -z "$ac_cv_prog_CC"; then | 3450 if test -z "$ac_cv_prog_CC"; then |
3057 ac_ct_CC=$CC | 3451 ac_ct_CC=$CC |
3058 # Extract the first word of "gcc", so it can be a program name with args. | 3452 # Extract the first word of "gcc", so it can be a program name with args. |
3059 set dummy gcc; ac_word=$2 | 3453 set dummy gcc; ac_word=$2 |
3060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3061 $as_echo_n "checking for $ac_word... " >&6; } | 3455 $as_echo_n "checking for $ac_word... " >&6; } |
3062 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3456 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3063 $as_echo_n "(cached) " >&6 | 3457 $as_echo_n "(cached) " >&6 |
3064 else | 3458 else |
3065 if test -n "$ac_ct_CC"; then | 3459 if test -n "$ac_ct_CC"; then |
3066 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3460 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3067 else | 3461 else |
3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3069 for as_dir in $PATH | 3463 for as_dir in $PATH |
3070 do | 3464 do |
3071 IFS=$as_save_IFS | 3465 IFS=$as_save_IFS |
3072 test -z "$as_dir" && as_dir=. | 3466 test -z "$as_dir" && as_dir=. |
3073 for ac_exec_ext in '' $ac_executable_extensions; do | 3467 for ac_exec_ext in '' $ac_executable_extensions; do |
3074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3075 ac_cv_prog_ac_ct_CC="gcc" | 3469 ac_cv_prog_ac_ct_CC="gcc" |
3076 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3077 break 2 | 3471 break 2 |
3078 fi | 3472 fi |
3079 done | 3473 done |
3080 done | 3474 done |
3081 IFS=$as_save_IFS | 3475 IFS=$as_save_IFS |
3082 | 3476 |
3083 fi | 3477 fi |
3084 fi | 3478 fi |
3085 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3479 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3086 if test -n "$ac_ct_CC"; then | 3480 if test -n "$ac_ct_CC"; then |
3087 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3088 $as_echo "$ac_ct_CC" >&6; } | 3482 $as_echo "$ac_ct_CC" >&6; } |
3089 else | 3483 else |
3090 { $as_echo "$as_me:$LINENO: result: no" >&5 | 3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3091 $as_echo "no" >&6; } | 3485 $as_echo "no" >&6; } |
3092 fi | 3486 fi |
3093 | 3487 |
3094 if test "x$ac_ct_CC" = x; then | 3488 if test "x$ac_ct_CC" = x; then |
3095 CC="" | 3489 CC="" |
3096 else | 3490 else |
3097 case $cross_compiling:$ac_tool_warned in | 3491 case $cross_compiling:$ac_tool_warned in |
3098 yes:) | 3492 yes:) |
3099 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 3493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3100 whose name does not start with the host triplet. If you think this | 3494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3101 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3102 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3103 whose name does not start with the host triplet. If you think this | |
3104 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3105 ac_tool_warned=yes ;; | 3495 ac_tool_warned=yes ;; |
3106 esac | 3496 esac |
3107 CC=$ac_ct_CC | 3497 CC=$ac_ct_CC |
3108 fi | 3498 fi |
3109 else | 3499 else |
3112 | 3502 |
3113 if test -z "$CC"; then | 3503 if test -z "$CC"; then |
3114 if test -n "$ac_tool_prefix"; then | 3504 if test -n "$ac_tool_prefix"; then |
3115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3505 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3116 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3506 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3118 $as_echo_n "checking for $ac_word... " >&6; } | 3508 $as_echo_n "checking for $ac_word... " >&6; } |
3119 if test "${ac_cv_prog_CC+set}" = set; then | 3509 if test "${ac_cv_prog_CC+set}" = set; then : |
3120 $as_echo_n "(cached) " >&6 | 3510 $as_echo_n "(cached) " >&6 |
3121 else | 3511 else |
3122 if test -n "$CC"; then | 3512 if test -n "$CC"; then |
3123 ac_cv_prog_CC="$CC" # Let the user override the test. | 3513 ac_cv_prog_CC="$CC" # Let the user override the test. |
3124 else | 3514 else |
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3126 for as_dir in $PATH | 3516 for as_dir in $PATH |
3127 do | 3517 do |
3128 IFS=$as_save_IFS | 3518 IFS=$as_save_IFS |
3129 test -z "$as_dir" && as_dir=. | 3519 test -z "$as_dir" && as_dir=. |
3130 for ac_exec_ext in '' $ac_executable_extensions; do | 3520 for ac_exec_ext in '' $ac_executable_extensions; do |
3131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3132 ac_cv_prog_CC="${ac_tool_prefix}cc" | 3522 ac_cv_prog_CC="${ac_tool_prefix}cc" |
3133 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3134 break 2 | 3524 break 2 |
3135 fi | 3525 fi |
3136 done | 3526 done |
3137 done | 3527 done |
3138 IFS=$as_save_IFS | 3528 IFS=$as_save_IFS |
3139 | 3529 |
3140 fi | 3530 fi |
3141 fi | 3531 fi |
3142 CC=$ac_cv_prog_CC | 3532 CC=$ac_cv_prog_CC |
3143 if test -n "$CC"; then | 3533 if test -n "$CC"; then |
3144 { $as_echo "$as_me:$LINENO: result: $CC" >&5 | 3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3145 $as_echo "$CC" >&6; } | 3535 $as_echo "$CC" >&6; } |
3146 else | 3536 else |
3147 { $as_echo "$as_me:$LINENO: result: no" >&5 | 3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3148 $as_echo "no" >&6; } | 3538 $as_echo "no" >&6; } |
3149 fi | 3539 fi |
3150 | 3540 |
3151 | 3541 |
3152 fi | 3542 fi |
3153 fi | 3543 fi |
3154 if test -z "$CC"; then | 3544 if test -z "$CC"; then |
3155 # Extract the first word of "cc", so it can be a program name with args. | 3545 # Extract the first word of "cc", so it can be a program name with args. |
3156 set dummy cc; ac_word=$2 | 3546 set dummy cc; ac_word=$2 |
3157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3158 $as_echo_n "checking for $ac_word... " >&6; } | 3548 $as_echo_n "checking for $ac_word... " >&6; } |
3159 if test "${ac_cv_prog_CC+set}" = set; then | 3549 if test "${ac_cv_prog_CC+set}" = set; then : |
3160 $as_echo_n "(cached) " >&6 | 3550 $as_echo_n "(cached) " >&6 |
3161 else | 3551 else |
3162 if test -n "$CC"; then | 3552 if test -n "$CC"; then |
3163 ac_cv_prog_CC="$CC" # Let the user override the test. | 3553 ac_cv_prog_CC="$CC" # Let the user override the test. |
3164 else | 3554 else |
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3167 for as_dir in $PATH | 3557 for as_dir in $PATH |
3168 do | 3558 do |
3169 IFS=$as_save_IFS | 3559 IFS=$as_save_IFS |
3170 test -z "$as_dir" && as_dir=. | 3560 test -z "$as_dir" && as_dir=. |
3171 for ac_exec_ext in '' $ac_executable_extensions; do | 3561 for ac_exec_ext in '' $ac_executable_extensions; do |
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3173 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3563 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3174 ac_prog_rejected=yes | 3564 ac_prog_rejected=yes |
3175 continue | 3565 continue |
3176 fi | 3566 fi |
3177 ac_cv_prog_CC="cc" | 3567 ac_cv_prog_CC="cc" |
3178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3179 break 2 | 3569 break 2 |
3180 fi | 3570 fi |
3181 done | 3571 done |
3182 done | 3572 done |
3183 IFS=$as_save_IFS | 3573 IFS=$as_save_IFS |
3184 | 3574 |
3185 if test $ac_prog_rejected = yes; then | 3575 if test $ac_prog_rejected = yes; then |
3186 # We found a bogon in the path, so make sure we never use it. | 3576 # We found a bogon in the path, so make sure we never use it. |
3187 set dummy $ac_cv_prog_CC | 3577 set dummy $ac_cv_prog_CC |
3196 fi | 3586 fi |
3197 fi | 3587 fi |
3198 fi | 3588 fi |
3199 CC=$ac_cv_prog_CC | 3589 CC=$ac_cv_prog_CC |
3200 if test -n "$CC"; then | 3590 if test -n "$CC"; then |
3201 { $as_echo "$as_me:$LINENO: result: $CC" >&5 | 3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3202 $as_echo "$CC" >&6; } | 3592 $as_echo "$CC" >&6; } |
3203 else | 3593 else |
3204 { $as_echo "$as_me:$LINENO: result: no" >&5 | 3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3205 $as_echo "no" >&6; } | 3595 $as_echo "no" >&6; } |
3206 fi | 3596 fi |
3207 | 3597 |
3208 | 3598 |
3209 fi | 3599 fi |
3211 if test -n "$ac_tool_prefix"; then | 3601 if test -n "$ac_tool_prefix"; then |
3212 for ac_prog in cl.exe | 3602 for ac_prog in cl.exe |
3213 do | 3603 do |
3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3216 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3217 $as_echo_n "checking for $ac_word... " >&6; } | 3607 $as_echo_n "checking for $ac_word... " >&6; } |
3218 if test "${ac_cv_prog_CC+set}" = set; then | 3608 if test "${ac_cv_prog_CC+set}" = set; then : |
3219 $as_echo_n "(cached) " >&6 | 3609 $as_echo_n "(cached) " >&6 |
3220 else | 3610 else |
3221 if test -n "$CC"; then | 3611 if test -n "$CC"; then |
3222 ac_cv_prog_CC="$CC" # Let the user override the test. | 3612 ac_cv_prog_CC="$CC" # Let the user override the test. |
3223 else | 3613 else |
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3225 for as_dir in $PATH | 3615 for as_dir in $PATH |
3226 do | 3616 do |
3227 IFS=$as_save_IFS | 3617 IFS=$as_save_IFS |
3228 test -z "$as_dir" && as_dir=. | 3618 test -z "$as_dir" && as_dir=. |
3229 for ac_exec_ext in '' $ac_executable_extensions; do | 3619 for ac_exec_ext in '' $ac_executable_extensions; do |
3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3231 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3621 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3232 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3233 break 2 | 3623 break 2 |
3234 fi | 3624 fi |
3235 done | 3625 done |
3236 done | 3626 done |
3237 IFS=$as_save_IFS | 3627 IFS=$as_save_IFS |
3238 | 3628 |
3239 fi | 3629 fi |
3240 fi | 3630 fi |
3241 CC=$ac_cv_prog_CC | 3631 CC=$ac_cv_prog_CC |
3242 if test -n "$CC"; then | 3632 if test -n "$CC"; then |
3243 { $as_echo "$as_me:$LINENO: result: $CC" >&5 | 3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3244 $as_echo "$CC" >&6; } | 3634 $as_echo "$CC" >&6; } |
3245 else | 3635 else |
3246 { $as_echo "$as_me:$LINENO: result: no" >&5 | 3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3247 $as_echo "no" >&6; } | 3637 $as_echo "no" >&6; } |
3248 fi | 3638 fi |
3249 | 3639 |
3250 | 3640 |
3251 test -n "$CC" && break | 3641 test -n "$CC" && break |
3255 ac_ct_CC=$CC | 3645 ac_ct_CC=$CC |
3256 for ac_prog in cl.exe | 3646 for ac_prog in cl.exe |
3257 do | 3647 do |
3258 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3648 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3259 set dummy $ac_prog; ac_word=$2 | 3649 set dummy $ac_prog; ac_word=$2 |
3260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3261 $as_echo_n "checking for $ac_word... " >&6; } | 3651 $as_echo_n "checking for $ac_word... " >&6; } |
3262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3263 $as_echo_n "(cached) " >&6 | 3653 $as_echo_n "(cached) " >&6 |
3264 else | 3654 else |
3265 if test -n "$ac_ct_CC"; then | 3655 if test -n "$ac_ct_CC"; then |
3266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3267 else | 3657 else |
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3269 for as_dir in $PATH | 3659 for as_dir in $PATH |
3270 do | 3660 do |
3271 IFS=$as_save_IFS | 3661 IFS=$as_save_IFS |
3272 test -z "$as_dir" && as_dir=. | 3662 test -z "$as_dir" && as_dir=. |
3273 for ac_exec_ext in '' $ac_executable_extensions; do | 3663 for ac_exec_ext in '' $ac_executable_extensions; do |
3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3275 ac_cv_prog_ac_ct_CC="$ac_prog" | 3665 ac_cv_prog_ac_ct_CC="$ac_prog" |
3276 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3277 break 2 | 3667 break 2 |
3278 fi | 3668 fi |
3279 done | 3669 done |
3280 done | 3670 done |
3281 IFS=$as_save_IFS | 3671 IFS=$as_save_IFS |
3282 | 3672 |
3283 fi | 3673 fi |
3284 fi | 3674 fi |
3285 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3675 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3286 if test -n "$ac_ct_CC"; then | 3676 if test -n "$ac_ct_CC"; then |
3287 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3288 $as_echo "$ac_ct_CC" >&6; } | 3678 $as_echo "$ac_ct_CC" >&6; } |
3289 else | 3679 else |
3290 { $as_echo "$as_me:$LINENO: result: no" >&5 | 3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3291 $as_echo "no" >&6; } | 3681 $as_echo "no" >&6; } |
3292 fi | 3682 fi |
3293 | 3683 |
3294 | 3684 |
3295 test -n "$ac_ct_CC" && break | 3685 test -n "$ac_ct_CC" && break |
3298 if test "x$ac_ct_CC" = x; then | 3688 if test "x$ac_ct_CC" = x; then |
3299 CC="" | 3689 CC="" |
3300 else | 3690 else |
3301 case $cross_compiling:$ac_tool_warned in | 3691 case $cross_compiling:$ac_tool_warned in |
3302 yes:) | 3692 yes:) |
3303 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3304 whose name does not start with the host triplet. If you think this | 3694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3305 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3306 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3307 whose name does not start with the host triplet. If you think this | |
3308 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3309 ac_tool_warned=yes ;; | 3695 ac_tool_warned=yes ;; |
3310 esac | 3696 esac |
3311 CC=$ac_ct_CC | 3697 CC=$ac_ct_CC |
3312 fi | 3698 fi |
3313 fi | 3699 fi |
3314 | 3700 |
3315 fi | 3701 fi |
3316 | 3702 |
3317 | 3703 |
3318 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 3704 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3319 See \`config.log' for more details." >&5 | 3705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3320 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | 3706 as_fn_error "no acceptable C compiler found in \$PATH |
3321 See \`config.log' for more details." >&2;} | 3707 See \`config.log' for more details." "$LINENO" 5; } |
3322 { (exit 1); exit 1; }; } | |
3323 | 3708 |
3324 # Provide some information about the compiler. | 3709 # Provide some information about the compiler. |
3325 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 | 3710 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3326 set X $ac_compile | 3711 set X $ac_compile |
3327 ac_compiler=$2 | 3712 ac_compiler=$2 |
3328 { (ac_try="$ac_compiler --version >&5" | 3713 for ac_option in --version -v -V -qversion; do |
3714 { { ac_try="$ac_compiler $ac_option >&5" | |
3329 case "(($ac_try" in | 3715 case "(($ac_try" in |
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3331 *) ac_try_echo=$ac_try;; | 3717 *) ac_try_echo=$ac_try;; |
3332 esac | 3718 esac |
3333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3334 $as_echo "$ac_try_echo") >&5 | 3720 $as_echo "$ac_try_echo"; } >&5 |
3335 (eval "$ac_compiler --version >&5") 2>&5 | 3721 (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3336 ac_status=$? | 3722 ac_status=$? |
3337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3723 if test -s conftest.err; then |
3338 (exit $ac_status); } | 3724 sed '10a\ |
3339 { (ac_try="$ac_compiler -v >&5" | 3725 ... rest of stderr output deleted ... |
3340 case "(($ac_try" in | 3726 10q' conftest.err >conftest.er1 |
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3727 cat conftest.er1 >&5 |
3342 *) ac_try_echo=$ac_try;; | 3728 fi |
3343 esac | 3729 rm -f conftest.er1 conftest.err |
3344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3345 $as_echo "$ac_try_echo") >&5 | 3731 test $ac_status = 0; } |
3346 (eval "$ac_compiler -v >&5") 2>&5 | 3732 done |
3347 ac_status=$? | 3733 |
3348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3349 (exit $ac_status); } | |
3350 { (ac_try="$ac_compiler -V >&5" | |
3351 case "(($ac_try" in | |
3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3353 *) ac_try_echo=$ac_try;; | |
3354 esac | |
3355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3356 $as_echo "$ac_try_echo") >&5 | |
3357 (eval "$ac_compiler -V >&5") 2>&5 | |
3358 ac_status=$? | |
3359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3360 (exit $ac_status); } | |
3361 | |
3362 cat >conftest.$ac_ext <<_ACEOF | |
3363 /* confdefs.h. */ | |
3364 _ACEOF | |
3365 cat confdefs.h >>conftest.$ac_ext | |
3366 cat >>conftest.$ac_ext <<_ACEOF | |
3367 /* end confdefs.h. */ | 3735 /* end confdefs.h. */ |
3368 | 3736 |
3369 int | 3737 int |
3370 main () | 3738 main () |
3371 { | 3739 { |
3377 ac_clean_files_save=$ac_clean_files | 3745 ac_clean_files_save=$ac_clean_files |
3378 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 3746 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3379 # Try to create an executable without -o first, disregard a.out. | 3747 # Try to create an executable without -o first, disregard a.out. |
3380 # It will help us diagnose broken compilers, and finding out an intuition | 3748 # It will help us diagnose broken compilers, and finding out an intuition |
3381 # of exeext. | 3749 # of exeext. |
3382 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3383 $as_echo_n "checking for C compiler default output file name... " >&6; } | 3751 $as_echo_n "checking whether the C compiler works... " >&6; } |
3384 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3752 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3385 | 3753 |
3386 # The possible output files: | 3754 # The possible output files: |
3387 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 3755 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3388 | 3756 |
3394 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 3762 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3395 esac | 3763 esac |
3396 done | 3764 done |
3397 rm -f $ac_rmfiles | 3765 rm -f $ac_rmfiles |
3398 | 3766 |
3399 if { (ac_try="$ac_link_default" | 3767 if { { ac_try="$ac_link_default" |
3400 case "(($ac_try" in | 3768 case "(($ac_try" in |
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3402 *) ac_try_echo=$ac_try;; | 3770 *) ac_try_echo=$ac_try;; |
3403 esac | 3771 esac |
3404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3405 $as_echo "$ac_try_echo") >&5 | 3773 $as_echo "$ac_try_echo"; } >&5 |
3406 (eval "$ac_link_default") 2>&5 | 3774 (eval "$ac_link_default") 2>&5 |
3407 ac_status=$? | 3775 ac_status=$? |
3408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3409 (exit $ac_status); }; then | 3777 test $ac_status = 0; }; then : |
3410 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3778 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3411 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3779 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3412 # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3780 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
3413 # so that the user can short-circuit this test for compilers unknown to | 3781 # so that the user can short-circuit this test for compilers unknown to |
3414 # Autoconf. | 3782 # Autoconf. |
3421 [ab].out ) | 3789 [ab].out ) |
3422 # We found the default executable, but exeext='' is most | 3790 # We found the default executable, but exeext='' is most |
3423 # certainly right. | 3791 # certainly right. |
3424 break;; | 3792 break;; |
3425 *.* ) | 3793 *.* ) |
3426 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3794 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3427 then :; else | 3795 then :; else |
3428 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3796 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3429 fi | 3797 fi |
3430 # We set ac_cv_exeext here because the later test for it is not | 3798 # We set ac_cv_exeext here because the later test for it is not |
3431 # safe: cross compilers may not add the suffix if given an `-o' | 3799 # safe: cross compilers may not add the suffix if given an `-o' |
3440 test "$ac_cv_exeext" = no && ac_cv_exeext= | 3808 test "$ac_cv_exeext" = no && ac_cv_exeext= |
3441 | 3809 |
3442 else | 3810 else |
3443 ac_file='' | 3811 ac_file='' |
3444 fi | 3812 fi |
3445 | 3813 if test -z "$ac_file"; then : |
3446 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3815 $as_echo "no" >&6; } | |
3816 $as_echo "$as_me: failed program was:" >&5 | |
3817 sed 's/^/| /' conftest.$ac_ext >&5 | |
3818 | |
3819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3821 { as_fn_set_status 77 | |
3822 as_fn_error "C compiler cannot create executables | |
3823 See \`config.log' for more details." "$LINENO" 5; }; } | |
3824 else | |
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3826 $as_echo "yes" >&6; } | |
3827 fi | |
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3829 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3447 $as_echo "$ac_file" >&6; } | 3831 $as_echo "$ac_file" >&6; } |
3448 if test -z "$ac_file"; then | |
3449 $as_echo "$as_me: failed program was:" >&5 | |
3450 sed 's/^/| /' conftest.$ac_ext >&5 | |
3451 | |
3452 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables | |
3453 See \`config.log' for more details." >&5 | |
3454 $as_echo "$as_me: error: C compiler cannot create executables | |
3455 See \`config.log' for more details." >&2;} | |
3456 { (exit 77); exit 77; }; } | |
3457 fi | |
3458 | |
3459 ac_exeext=$ac_cv_exeext | 3832 ac_exeext=$ac_cv_exeext |
3460 | |
3461 # Check that the compiler produces executables we can run. If not, either | |
3462 # the compiler is broken, or we cross compile. | |
3463 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
3464 $as_echo_n "checking whether the C compiler works... " >&6; } | |
3465 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
3466 # If not cross compiling, check that we can run a simple program. | |
3467 if test "$cross_compiling" != yes; then | |
3468 if { ac_try='./$ac_file' | |
3469 { (case "(($ac_try" in | |
3470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3471 *) ac_try_echo=$ac_try;; | |
3472 esac | |
3473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3474 $as_echo "$ac_try_echo") >&5 | |
3475 (eval "$ac_try") 2>&5 | |
3476 ac_status=$? | |
3477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3478 (exit $ac_status); }; }; then | |
3479 cross_compiling=no | |
3480 else | |
3481 if test "$cross_compiling" = maybe; then | |
3482 cross_compiling=yes | |
3483 else | |
3484 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
3485 If you meant to cross compile, use \`--host'. | |
3486 See \`config.log' for more details." >&5 | |
3487 $as_echo "$as_me: error: cannot run C compiled programs. | |
3488 If you meant to cross compile, use \`--host'. | |
3489 See \`config.log' for more details." >&2;} | |
3490 { (exit 1); exit 1; }; } | |
3491 fi | |
3492 fi | |
3493 fi | |
3494 { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
3495 $as_echo "yes" >&6; } | |
3496 | 3833 |
3497 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 3834 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3498 ac_clean_files=$ac_clean_files_save | 3835 ac_clean_files=$ac_clean_files_save |
3499 # Check that the compiler produces executables we can run. If not, either | 3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3500 # the compiler is broken, or we cross compile. | |
3501 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
3502 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3503 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
3504 $as_echo "$cross_compiling" >&6; } | |
3505 | |
3506 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
3507 $as_echo_n "checking for suffix of executables... " >&6; } | 3837 $as_echo_n "checking for suffix of executables... " >&6; } |
3508 if { (ac_try="$ac_link" | 3838 if { { ac_try="$ac_link" |
3509 case "(($ac_try" in | 3839 case "(($ac_try" in |
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3511 *) ac_try_echo=$ac_try;; | 3841 *) ac_try_echo=$ac_try;; |
3512 esac | 3842 esac |
3513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3514 $as_echo "$ac_try_echo") >&5 | 3844 $as_echo "$ac_try_echo"; } >&5 |
3515 (eval "$ac_link") 2>&5 | 3845 (eval "$ac_link") 2>&5 |
3516 ac_status=$? | 3846 ac_status=$? |
3517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3518 (exit $ac_status); }; then | 3848 test $ac_status = 0; }; then : |
3519 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3849 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3520 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3850 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3521 # work properly (i.e., refer to `conftest.exe'), while it won't with | 3851 # work properly (i.e., refer to `conftest.exe'), while it won't with |
3522 # `rm'. | 3852 # `rm'. |
3523 for ac_file in conftest.exe conftest conftest.*; do | 3853 for ac_file in conftest.exe conftest conftest.*; do |
3528 break;; | 3858 break;; |
3529 * ) break;; | 3859 * ) break;; |
3530 esac | 3860 esac |
3531 done | 3861 done |
3532 else | 3862 else |
3533 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 3863 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3534 See \`config.log' for more details." >&5 | 3864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3535 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 3865 as_fn_error "cannot compute suffix of executables: cannot compile and link |
3536 See \`config.log' for more details." >&2;} | 3866 See \`config.log' for more details." "$LINENO" 5; } |
3537 { (exit 1); exit 1; }; } | 3867 fi |
3538 fi | 3868 rm -f conftest conftest$ac_cv_exeext |
3539 | 3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3540 rm -f conftest$ac_cv_exeext | |
3541 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
3542 $as_echo "$ac_cv_exeext" >&6; } | 3870 $as_echo "$ac_cv_exeext" >&6; } |
3543 | 3871 |
3544 rm -f conftest.$ac_ext | 3872 rm -f conftest.$ac_ext |
3545 EXEEXT=$ac_cv_exeext | 3873 EXEEXT=$ac_cv_exeext |
3546 ac_exeext=$EXEEXT | 3874 ac_exeext=$EXEEXT |
3547 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3548 $as_echo_n "checking for suffix of object files... " >&6; } | |
3549 if test "${ac_cv_objext+set}" = set; then | |
3550 $as_echo_n "(cached) " >&6 | |
3551 else | |
3552 cat >conftest.$ac_ext <<_ACEOF | |
3553 /* confdefs.h. */ | |
3554 _ACEOF | |
3555 cat confdefs.h >>conftest.$ac_ext | |
3556 cat >>conftest.$ac_ext <<_ACEOF | |
3557 /* end confdefs.h. */ | 3876 /* end confdefs.h. */ |
3558 | 3877 #include <stdio.h> |
3559 int | 3878 int |
3560 main () | 3879 main () |
3561 { | 3880 { |
3881 FILE *f = fopen ("conftest.out", "w"); | |
3882 return ferror (f) || fclose (f) != 0; | |
3562 | 3883 |
3563 ; | 3884 ; |
3564 return 0; | 3885 return 0; |
3565 } | 3886 } |
3566 _ACEOF | 3887 _ACEOF |
3567 rm -f conftest.o conftest.obj | 3888 ac_clean_files="$ac_clean_files conftest.out" |
3568 if { (ac_try="$ac_compile" | 3889 # Check that the compiler produces executables we can run. If not, either |
3890 # the compiler is broken, or we cross compile. | |
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3892 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3893 if test "$cross_compiling" != yes; then | |
3894 { { ac_try="$ac_link" | |
3569 case "(($ac_try" in | 3895 case "(($ac_try" in |
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3571 *) ac_try_echo=$ac_try;; | 3897 *) ac_try_echo=$ac_try;; |
3572 esac | 3898 esac |
3573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 3899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3574 $as_echo "$ac_try_echo") >&5 | 3900 $as_echo "$ac_try_echo"; } >&5 |
3901 (eval "$ac_link") 2>&5 | |
3902 ac_status=$? | |
3903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3904 test $ac_status = 0; } | |
3905 if { ac_try='./conftest$ac_cv_exeext' | |
3906 { { case "(($ac_try" in | |
3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3908 *) ac_try_echo=$ac_try;; | |
3909 esac | |
3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3911 $as_echo "$ac_try_echo"; } >&5 | |
3912 (eval "$ac_try") 2>&5 | |
3913 ac_status=$? | |
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3915 test $ac_status = 0; }; }; then | |
3916 cross_compiling=no | |
3917 else | |
3918 if test "$cross_compiling" = maybe; then | |
3919 cross_compiling=yes | |
3920 else | |
3921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3923 as_fn_error "cannot run C compiled programs. | |
3924 If you meant to cross compile, use \`--host'. | |
3925 See \`config.log' for more details." "$LINENO" 5; } | |
3926 fi | |
3927 fi | |
3928 fi | |
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3930 $as_echo "$cross_compiling" >&6; } | |
3931 | |
3932 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3933 ac_clean_files=$ac_clean_files_save | |
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3935 $as_echo_n "checking for suffix of object files... " >&6; } | |
3936 if test "${ac_cv_objext+set}" = set; then : | |
3937 $as_echo_n "(cached) " >&6 | |
3938 else | |
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3940 /* end confdefs.h. */ | |
3941 | |
3942 int | |
3943 main () | |
3944 { | |
3945 | |
3946 ; | |
3947 return 0; | |
3948 } | |
3949 _ACEOF | |
3950 rm -f conftest.o conftest.obj | |
3951 if { { ac_try="$ac_compile" | |
3952 case "(($ac_try" in | |
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3954 *) ac_try_echo=$ac_try;; | |
3955 esac | |
3956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3957 $as_echo "$ac_try_echo"; } >&5 | |
3575 (eval "$ac_compile") 2>&5 | 3958 (eval "$ac_compile") 2>&5 |
3576 ac_status=$? | 3959 ac_status=$? |
3577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3578 (exit $ac_status); }; then | 3961 test $ac_status = 0; }; then : |
3579 for ac_file in conftest.o conftest.obj conftest.*; do | 3962 for ac_file in conftest.o conftest.obj conftest.*; do |
3580 test -f "$ac_file" || continue; | 3963 test -f "$ac_file" || continue; |
3581 case $ac_file in | 3964 case $ac_file in |
3582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 3965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3583 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3966 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3586 done | 3969 done |
3587 else | 3970 else |
3588 $as_echo "$as_me: failed program was:" >&5 | 3971 $as_echo "$as_me: failed program was:" >&5 |
3589 sed 's/^/| /' conftest.$ac_ext >&5 | 3972 sed 's/^/| /' conftest.$ac_ext >&5 |
3590 | 3973 |
3591 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 3974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3592 See \`config.log' for more details." >&5 | 3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3593 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | 3976 as_fn_error "cannot compute suffix of object files: cannot compile |
3594 See \`config.log' for more details." >&2;} | 3977 See \`config.log' for more details." "$LINENO" 5; } |
3595 { (exit 1); exit 1; }; } | 3978 fi |
3596 fi | |
3597 | |
3598 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3979 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3599 fi | 3980 fi |
3600 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3601 $as_echo "$ac_cv_objext" >&6; } | 3982 $as_echo "$ac_cv_objext" >&6; } |
3602 OBJEXT=$ac_cv_objext | 3983 OBJEXT=$ac_cv_objext |
3603 ac_objext=$OBJEXT | 3984 ac_objext=$OBJEXT |
3604 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 3986 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3606 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 3987 if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3607 $as_echo_n "(cached) " >&6 | 3988 $as_echo_n "(cached) " >&6 |
3608 else | 3989 else |
3609 cat >conftest.$ac_ext <<_ACEOF | 3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3610 /* confdefs.h. */ | |
3611 _ACEOF | |
3612 cat confdefs.h >>conftest.$ac_ext | |
3613 cat >>conftest.$ac_ext <<_ACEOF | |
3614 /* end confdefs.h. */ | 3991 /* end confdefs.h. */ |
3615 | 3992 |
3616 int | 3993 int |
3617 main () | 3994 main () |
3618 { | 3995 { |
3622 | 3999 |
3623 ; | 4000 ; |
3624 return 0; | 4001 return 0; |
3625 } | 4002 } |
3626 _ACEOF | 4003 _ACEOF |
3627 rm -f conftest.$ac_objext | 4004 if ac_fn_c_try_compile "$LINENO"; then : |
3628 if { (ac_try="$ac_compile" | |
3629 case "(($ac_try" in | |
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3631 *) ac_try_echo=$ac_try;; | |
3632 esac | |
3633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3634 $as_echo "$ac_try_echo") >&5 | |
3635 (eval "$ac_compile") 2>conftest.er1 | |
3636 ac_status=$? | |
3637 grep -v '^ *+' conftest.er1 >conftest.err | |
3638 rm -f conftest.er1 | |
3639 cat conftest.err >&5 | |
3640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3641 (exit $ac_status); } && { | |
3642 test -z "$ac_c_werror_flag" || | |
3643 test ! -s conftest.err | |
3644 } && test -s conftest.$ac_objext; then | |
3645 ac_compiler_gnu=yes | 4005 ac_compiler_gnu=yes |
3646 else | 4006 else |
3647 $as_echo "$as_me: failed program was:" >&5 | 4007 ac_compiler_gnu=no |
3648 sed 's/^/| /' conftest.$ac_ext >&5 | 4008 fi |
3649 | |
3650 ac_compiler_gnu=no | |
3651 fi | |
3652 | |
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3654 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 4010 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3655 | 4011 |
3656 fi | 4012 fi |
3657 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3658 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 4014 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3659 if test $ac_compiler_gnu = yes; then | 4015 if test $ac_compiler_gnu = yes; then |
3660 GCC=yes | 4016 GCC=yes |
3661 else | 4017 else |
3662 GCC= | 4018 GCC= |
3663 fi | 4019 fi |
3664 ac_test_CFLAGS=${CFLAGS+set} | 4020 ac_test_CFLAGS=${CFLAGS+set} |
3665 ac_save_CFLAGS=$CFLAGS | 4021 ac_save_CFLAGS=$CFLAGS |
3666 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3667 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 4023 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3668 if test "${ac_cv_prog_cc_g+set}" = set; then | 4024 if test "${ac_cv_prog_cc_g+set}" = set; then : |
3669 $as_echo_n "(cached) " >&6 | 4025 $as_echo_n "(cached) " >&6 |
3670 else | 4026 else |
3671 ac_save_c_werror_flag=$ac_c_werror_flag | 4027 ac_save_c_werror_flag=$ac_c_werror_flag |
3672 ac_c_werror_flag=yes | 4028 ac_c_werror_flag=yes |
3673 ac_cv_prog_cc_g=no | 4029 ac_cv_prog_cc_g=no |
3674 CFLAGS="-g" | 4030 CFLAGS="-g" |
3675 cat >conftest.$ac_ext <<_ACEOF | 4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3676 /* confdefs.h. */ | |
3677 _ACEOF | |
3678 cat confdefs.h >>conftest.$ac_ext | |
3679 cat >>conftest.$ac_ext <<_ACEOF | |
3680 /* end confdefs.h. */ | 4032 /* end confdefs.h. */ |
3681 | 4033 |
3682 int | 4034 int |
3683 main () | 4035 main () |
3684 { | 4036 { |
3685 | 4037 |
3686 ; | 4038 ; |
3687 return 0; | 4039 return 0; |
3688 } | 4040 } |
3689 _ACEOF | 4041 _ACEOF |
3690 rm -f conftest.$ac_objext | 4042 if ac_fn_c_try_compile "$LINENO"; then : |
3691 if { (ac_try="$ac_compile" | |
3692 case "(($ac_try" in | |
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3694 *) ac_try_echo=$ac_try;; | |
3695 esac | |
3696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3697 $as_echo "$ac_try_echo") >&5 | |
3698 (eval "$ac_compile") 2>conftest.er1 | |
3699 ac_status=$? | |
3700 grep -v '^ *+' conftest.er1 >conftest.err | |
3701 rm -f conftest.er1 | |
3702 cat conftest.err >&5 | |
3703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3704 (exit $ac_status); } && { | |
3705 test -z "$ac_c_werror_flag" || | |
3706 test ! -s conftest.err | |
3707 } && test -s conftest.$ac_objext; then | |
3708 ac_cv_prog_cc_g=yes | 4043 ac_cv_prog_cc_g=yes |
3709 else | 4044 else |
3710 $as_echo "$as_me: failed program was:" >&5 | 4045 CFLAGS="" |
3711 sed 's/^/| /' conftest.$ac_ext >&5 | 4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3712 | |
3713 CFLAGS="" | |
3714 cat >conftest.$ac_ext <<_ACEOF | |
3715 /* confdefs.h. */ | |
3716 _ACEOF | |
3717 cat confdefs.h >>conftest.$ac_ext | |
3718 cat >>conftest.$ac_ext <<_ACEOF | |
3719 /* end confdefs.h. */ | 4047 /* end confdefs.h. */ |
3720 | 4048 |
3721 int | 4049 int |
3722 main () | 4050 main () |
3723 { | 4051 { |
3724 | 4052 |
3725 ; | 4053 ; |
3726 return 0; | 4054 return 0; |
3727 } | 4055 } |
3728 _ACEOF | 4056 _ACEOF |
3729 rm -f conftest.$ac_objext | 4057 if ac_fn_c_try_compile "$LINENO"; then : |
3730 if { (ac_try="$ac_compile" | 4058 |
3731 case "(($ac_try" in | 4059 else |
3732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4060 ac_c_werror_flag=$ac_save_c_werror_flag |
3733 *) ac_try_echo=$ac_try;; | |
3734 esac | |
3735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3736 $as_echo "$ac_try_echo") >&5 | |
3737 (eval "$ac_compile") 2>conftest.er1 | |
3738 ac_status=$? | |
3739 grep -v '^ *+' conftest.er1 >conftest.err | |
3740 rm -f conftest.er1 | |
3741 cat conftest.err >&5 | |
3742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3743 (exit $ac_status); } && { | |
3744 test -z "$ac_c_werror_flag" || | |
3745 test ! -s conftest.err | |
3746 } && test -s conftest.$ac_objext; then | |
3747 : | |
3748 else | |
3749 $as_echo "$as_me: failed program was:" >&5 | |
3750 sed 's/^/| /' conftest.$ac_ext >&5 | |
3751 | |
3752 ac_c_werror_flag=$ac_save_c_werror_flag | |
3753 CFLAGS="-g" | 4061 CFLAGS="-g" |
3754 cat >conftest.$ac_ext <<_ACEOF | 4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3755 /* confdefs.h. */ | |
3756 _ACEOF | |
3757 cat confdefs.h >>conftest.$ac_ext | |
3758 cat >>conftest.$ac_ext <<_ACEOF | |
3759 /* end confdefs.h. */ | 4063 /* end confdefs.h. */ |
3760 | 4064 |
3761 int | 4065 int |
3762 main () | 4066 main () |
3763 { | 4067 { |
3764 | 4068 |
3765 ; | 4069 ; |
3766 return 0; | 4070 return 0; |
3767 } | 4071 } |
3768 _ACEOF | 4072 _ACEOF |
3769 rm -f conftest.$ac_objext | 4073 if ac_fn_c_try_compile "$LINENO"; then : |
3770 if { (ac_try="$ac_compile" | |
3771 case "(($ac_try" in | |
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3773 *) ac_try_echo=$ac_try;; | |
3774 esac | |
3775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3776 $as_echo "$ac_try_echo") >&5 | |
3777 (eval "$ac_compile") 2>conftest.er1 | |
3778 ac_status=$? | |
3779 grep -v '^ *+' conftest.er1 >conftest.err | |
3780 rm -f conftest.er1 | |
3781 cat conftest.err >&5 | |
3782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3783 (exit $ac_status); } && { | |
3784 test -z "$ac_c_werror_flag" || | |
3785 test ! -s conftest.err | |
3786 } && test -s conftest.$ac_objext; then | |
3787 ac_cv_prog_cc_g=yes | 4074 ac_cv_prog_cc_g=yes |
3788 else | 4075 fi |
3789 $as_echo "$as_me: failed program was:" >&5 | |
3790 sed 's/^/| /' conftest.$ac_ext >&5 | |
3791 | |
3792 | |
3793 fi | |
3794 | |
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3796 fi | 4077 fi |
3797 | |
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3799 fi | 4079 fi |
3800 | |
3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3802 ac_c_werror_flag=$ac_save_c_werror_flag | 4081 ac_c_werror_flag=$ac_save_c_werror_flag |
3803 fi | 4082 fi |
3804 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
3805 $as_echo "$ac_cv_prog_cc_g" >&6; } | 4084 $as_echo "$ac_cv_prog_cc_g" >&6; } |
3806 if test "$ac_test_CFLAGS" = set; then | 4085 if test "$ac_test_CFLAGS" = set; then |
3807 CFLAGS=$ac_save_CFLAGS | 4086 CFLAGS=$ac_save_CFLAGS |
3808 elif test $ac_cv_prog_cc_g = yes; then | 4087 elif test $ac_cv_prog_cc_g = yes; then |
3809 if test "$GCC" = yes; then | 4088 if test "$GCC" = yes; then |
3816 CFLAGS="-O2" | 4095 CFLAGS="-O2" |
3817 else | 4096 else |
3818 CFLAGS= | 4097 CFLAGS= |
3819 fi | 4098 fi |
3820 fi | 4099 fi |
3821 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3822 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 4101 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3823 if test "${ac_cv_prog_cc_c89+set}" = set; then | 4102 if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3824 $as_echo_n "(cached) " >&6 | 4103 $as_echo_n "(cached) " >&6 |
3825 else | 4104 else |
3826 ac_cv_prog_cc_c89=no | 4105 ac_cv_prog_cc_c89=no |
3827 ac_save_CC=$CC | 4106 ac_save_CC=$CC |
3828 cat >conftest.$ac_ext <<_ACEOF | 4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3829 /* confdefs.h. */ | |
3830 _ACEOF | |
3831 cat confdefs.h >>conftest.$ac_ext | |
3832 cat >>conftest.$ac_ext <<_ACEOF | |
3833 /* end confdefs.h. */ | 4108 /* end confdefs.h. */ |
3834 #include <stdarg.h> | 4109 #include <stdarg.h> |
3835 #include <stdio.h> | 4110 #include <stdio.h> |
3836 #include <sys/types.h> | 4111 #include <sys/types.h> |
3837 #include <sys/stat.h> | 4112 #include <sys/stat.h> |
3884 _ACEOF | 4159 _ACEOF |
3885 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 4160 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 4161 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3887 do | 4162 do |
3888 CC="$ac_save_CC $ac_arg" | 4163 CC="$ac_save_CC $ac_arg" |
3889 rm -f conftest.$ac_objext | 4164 if ac_fn_c_try_compile "$LINENO"; then : |
3890 if { (ac_try="$ac_compile" | |
3891 case "(($ac_try" in | |
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3893 *) ac_try_echo=$ac_try;; | |
3894 esac | |
3895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3896 $as_echo "$ac_try_echo") >&5 | |
3897 (eval "$ac_compile") 2>conftest.er1 | |
3898 ac_status=$? | |
3899 grep -v '^ *+' conftest.er1 >conftest.err | |
3900 rm -f conftest.er1 | |
3901 cat conftest.err >&5 | |
3902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3903 (exit $ac_status); } && { | |
3904 test -z "$ac_c_werror_flag" || | |
3905 test ! -s conftest.err | |
3906 } && test -s conftest.$ac_objext; then | |
3907 ac_cv_prog_cc_c89=$ac_arg | 4165 ac_cv_prog_cc_c89=$ac_arg |
3908 else | 4166 fi |
3909 $as_echo "$as_me: failed program was:" >&5 | |
3910 sed 's/^/| /' conftest.$ac_ext >&5 | |
3911 | |
3912 | |
3913 fi | |
3914 | |
3915 rm -f core conftest.err conftest.$ac_objext | 4167 rm -f core conftest.err conftest.$ac_objext |
3916 test "x$ac_cv_prog_cc_c89" != "xno" && break | 4168 test "x$ac_cv_prog_cc_c89" != "xno" && break |
3917 done | 4169 done |
3918 rm -f conftest.$ac_ext | 4170 rm -f conftest.$ac_ext |
3919 CC=$ac_save_CC | 4171 CC=$ac_save_CC |
3920 | 4172 |
3921 fi | 4173 fi |
3922 # AC_CACHE_VAL | 4174 # AC_CACHE_VAL |
3923 case "x$ac_cv_prog_cc_c89" in | 4175 case "x$ac_cv_prog_cc_c89" in |
3924 x) | 4176 x) |
3925 { $as_echo "$as_me:$LINENO: result: none needed" >&5 | 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
3926 $as_echo "none needed" >&6; } ;; | 4178 $as_echo "none needed" >&6; } ;; |
3927 xno) | 4179 xno) |
3928 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 | 4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
3929 $as_echo "unsupported" >&6; } ;; | 4181 $as_echo "unsupported" >&6; } ;; |
3930 *) | 4182 *) |
3931 CC="$CC $ac_cv_prog_cc_c89" | 4183 CC="$CC $ac_cv_prog_cc_c89" |
3932 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
3933 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 4185 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
3934 esac | 4186 esac |
3935 | 4187 if test "x$ac_cv_prog_cc_c89" != xno; then : |
4188 | |
4189 fi | |
3936 | 4190 |
3937 ac_ext=c | 4191 ac_ext=c |
3938 ac_cpp='$CPP $CPPFLAGS' | 4192 ac_cpp='$CPP $CPPFLAGS' |
3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3948 | 4202 |
3949 ## If not using gcc, and on Solaris, and no CPP specified, see if | 4203 ## If not using gcc, and on Solaris, and no CPP specified, see if |
3950 ## using a Sun compiler, which needs -Xs to prevent whitespace. | 4204 ## using a Sun compiler, which needs -Xs to prevent whitespace. |
3951 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ | 4205 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ |
3952 test x"$CPP" = x; then | 4206 test x"$CPP" = x; then |
3953 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 | 4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 |
3954 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } | 4208 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } |
3955 | 4209 |
3956 if test "${emacs_cv_sunpro_c+set}" = set; then | 4210 if test "${emacs_cv_sunpro_c+set}" = set; then : |
3957 $as_echo_n "(cached) " >&6 | 4211 $as_echo_n "(cached) " >&6 |
3958 else | 4212 else |
3959 cat >conftest.$ac_ext <<_ACEOF | 4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3960 /* confdefs.h. */ | |
3961 _ACEOF | |
3962 cat confdefs.h >>conftest.$ac_ext | |
3963 cat >>conftest.$ac_ext <<_ACEOF | |
3964 /* end confdefs.h. */ | 4214 /* end confdefs.h. */ |
3965 | 4215 |
3966 int | 4216 int |
3967 main () | 4217 main () |
3968 { | 4218 { |
3972 | 4222 |
3973 ; | 4223 ; |
3974 return 0; | 4224 return 0; |
3975 } | 4225 } |
3976 _ACEOF | 4226 _ACEOF |
3977 rm -f conftest.$ac_objext conftest$ac_exeext | 4227 if ac_fn_c_try_link "$LINENO"; then : |
3978 if { (ac_try="$ac_link" | |
3979 case "(($ac_try" in | |
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3981 *) ac_try_echo=$ac_try;; | |
3982 esac | |
3983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3984 $as_echo "$ac_try_echo") >&5 | |
3985 (eval "$ac_link") 2>conftest.er1 | |
3986 ac_status=$? | |
3987 grep -v '^ *+' conftest.er1 >conftest.err | |
3988 rm -f conftest.er1 | |
3989 cat conftest.err >&5 | |
3990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3991 (exit $ac_status); } && { | |
3992 test -z "$ac_c_werror_flag" || | |
3993 test ! -s conftest.err | |
3994 } && test -s conftest$ac_exeext && { | |
3995 test "$cross_compiling" = yes || | |
3996 $as_test_x conftest$ac_exeext | |
3997 }; then | |
3998 emacs_cv_sunpro_c=yes | 4228 emacs_cv_sunpro_c=yes |
3999 else | 4229 else |
4000 $as_echo "$as_me: failed program was:" >&5 | 4230 emacs_cv_sunpro_c=no |
4001 sed 's/^/| /' conftest.$ac_ext >&5 | 4231 fi |
4002 | 4232 rm -f core conftest.err conftest.$ac_objext \ |
4003 emacs_cv_sunpro_c=no | 4233 conftest$ac_exeext conftest.$ac_ext |
4004 fi | 4234 fi |
4005 | 4235 |
4006 rm -rf conftest.dSYM | 4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5 |
4007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4008 conftest$ac_exeext conftest.$ac_ext | |
4009 fi | |
4010 | |
4011 { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 | |
4012 $as_echo "$emacs_cv_sunpro_c" >&6; } | 4237 $as_echo "$emacs_cv_sunpro_c" >&6; } |
4013 | 4238 |
4014 if test x"$emacs_cv_sunpro_c" = xyes; then | 4239 if test x"$emacs_cv_sunpro_c" = xyes; then |
4015 NON_GNU_CPP="$CC -E -Xs" | 4240 NON_GNU_CPP="$CC -E -Xs" |
4016 fi | 4241 fi |
4046 ac_ext=c | 4271 ac_ext=c |
4047 ac_cpp='$CPP $CPPFLAGS' | 4272 ac_cpp='$CPP $CPPFLAGS' |
4048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4050 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4275 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4051 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
4052 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 4277 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
4053 # On Suns, sometimes $CPP names a directory. | 4278 # On Suns, sometimes $CPP names a directory. |
4054 if test -n "$CPP" && test -d "$CPP"; then | 4279 if test -n "$CPP" && test -d "$CPP"; then |
4055 CPP= | 4280 CPP= |
4056 fi | 4281 fi |
4057 if test -z "$CPP"; then | 4282 if test -z "$CPP"; then |
4058 if test "${ac_cv_prog_CPP+set}" = set; then | 4283 if test "${ac_cv_prog_CPP+set}" = set; then : |
4059 $as_echo_n "(cached) " >&6 | 4284 $as_echo_n "(cached) " >&6 |
4060 else | 4285 else |
4061 # Double quotes because CPP needs to be expanded | 4286 # Double quotes because CPP needs to be expanded |
4062 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 4287 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4063 do | 4288 do |
4068 # with a fresh cross-compiler works. | 4293 # with a fresh cross-compiler works. |
4069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4070 # <limits.h> exists even on freestanding compilers. | 4295 # <limits.h> exists even on freestanding compilers. |
4071 # On the NeXT, cc -E runs the code through the compiler's parser, | 4296 # On the NeXT, cc -E runs the code through the compiler's parser, |
4072 # not just through cpp. "Syntax error" is here to catch this case. | 4297 # not just through cpp. "Syntax error" is here to catch this case. |
4073 cat >conftest.$ac_ext <<_ACEOF | 4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4074 /* confdefs.h. */ | |
4075 _ACEOF | |
4076 cat confdefs.h >>conftest.$ac_ext | |
4077 cat >>conftest.$ac_ext <<_ACEOF | |
4078 /* end confdefs.h. */ | 4299 /* end confdefs.h. */ |
4079 #ifdef __STDC__ | 4300 #ifdef __STDC__ |
4080 # include <limits.h> | 4301 # include <limits.h> |
4081 #else | 4302 #else |
4082 # include <assert.h> | 4303 # include <assert.h> |
4083 #endif | 4304 #endif |
4084 Syntax error | 4305 Syntax error |
4085 _ACEOF | 4306 _ACEOF |
4086 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4307 if ac_fn_c_try_cpp "$LINENO"; then : |
4087 case "(($ac_try" in | 4308 |
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4309 else |
4089 *) ac_try_echo=$ac_try;; | |
4090 esac | |
4091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4092 $as_echo "$ac_try_echo") >&5 | |
4093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4094 ac_status=$? | |
4095 grep -v '^ *+' conftest.er1 >conftest.err | |
4096 rm -f conftest.er1 | |
4097 cat conftest.err >&5 | |
4098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4099 (exit $ac_status); } >/dev/null && { | |
4100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4101 test ! -s conftest.err | |
4102 }; then | |
4103 : | |
4104 else | |
4105 $as_echo "$as_me: failed program was:" >&5 | |
4106 sed 's/^/| /' conftest.$ac_ext >&5 | |
4107 | |
4108 # Broken: fails on valid input. | 4310 # Broken: fails on valid input. |
4109 continue | 4311 continue |
4110 fi | 4312 fi |
4111 | |
4112 rm -f conftest.err conftest.$ac_ext | 4313 rm -f conftest.err conftest.$ac_ext |
4113 | 4314 |
4114 # OK, works on sane cases. Now check whether nonexistent headers | 4315 # OK, works on sane cases. Now check whether nonexistent headers |
4115 # can be detected and how. | 4316 # can be detected and how. |
4116 cat >conftest.$ac_ext <<_ACEOF | 4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4117 /* confdefs.h. */ | |
4118 _ACEOF | |
4119 cat confdefs.h >>conftest.$ac_ext | |
4120 cat >>conftest.$ac_ext <<_ACEOF | |
4121 /* end confdefs.h. */ | 4318 /* end confdefs.h. */ |
4122 #include <ac_nonexistent.h> | 4319 #include <ac_nonexistent.h> |
4123 _ACEOF | 4320 _ACEOF |
4124 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4321 if ac_fn_c_try_cpp "$LINENO"; then : |
4125 case "(($ac_try" in | |
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4127 *) ac_try_echo=$ac_try;; | |
4128 esac | |
4129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4130 $as_echo "$ac_try_echo") >&5 | |
4131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4132 ac_status=$? | |
4133 grep -v '^ *+' conftest.er1 >conftest.err | |
4134 rm -f conftest.er1 | |
4135 cat conftest.err >&5 | |
4136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4137 (exit $ac_status); } >/dev/null && { | |
4138 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4139 test ! -s conftest.err | |
4140 }; then | |
4141 # Broken: success on invalid input. | 4322 # Broken: success on invalid input. |
4142 continue | 4323 continue |
4143 else | 4324 else |
4144 $as_echo "$as_me: failed program was:" >&5 | |
4145 sed 's/^/| /' conftest.$ac_ext >&5 | |
4146 | |
4147 # Passes both tests. | 4325 # Passes both tests. |
4148 ac_preproc_ok=: | 4326 ac_preproc_ok=: |
4149 break | 4327 break |
4150 fi | 4328 fi |
4151 | |
4152 rm -f conftest.err conftest.$ac_ext | 4329 rm -f conftest.err conftest.$ac_ext |
4153 | 4330 |
4154 done | 4331 done |
4155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4156 rm -f conftest.err conftest.$ac_ext | 4333 rm -f conftest.err conftest.$ac_ext |
4157 if $ac_preproc_ok; then | 4334 if $ac_preproc_ok; then : |
4158 break | 4335 break |
4159 fi | 4336 fi |
4160 | 4337 |
4161 done | 4338 done |
4162 ac_cv_prog_CPP=$CPP | 4339 ac_cv_prog_CPP=$CPP |
4164 fi | 4341 fi |
4165 CPP=$ac_cv_prog_CPP | 4342 CPP=$ac_cv_prog_CPP |
4166 else | 4343 else |
4167 ac_cv_prog_CPP=$CPP | 4344 ac_cv_prog_CPP=$CPP |
4168 fi | 4345 fi |
4169 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | 4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
4170 $as_echo "$CPP" >&6; } | 4347 $as_echo "$CPP" >&6; } |
4171 ac_preproc_ok=false | 4348 ac_preproc_ok=false |
4172 for ac_c_preproc_warn_flag in '' yes | 4349 for ac_c_preproc_warn_flag in '' yes |
4173 do | 4350 do |
4174 # Use a header file that comes with gcc, so configuring glibc | 4351 # Use a header file that comes with gcc, so configuring glibc |
4175 # with a fresh cross-compiler works. | 4352 # with a fresh cross-compiler works. |
4176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4177 # <limits.h> exists even on freestanding compilers. | 4354 # <limits.h> exists even on freestanding compilers. |
4178 # On the NeXT, cc -E runs the code through the compiler's parser, | 4355 # On the NeXT, cc -E runs the code through the compiler's parser, |
4179 # not just through cpp. "Syntax error" is here to catch this case. | 4356 # not just through cpp. "Syntax error" is here to catch this case. |
4180 cat >conftest.$ac_ext <<_ACEOF | 4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4181 /* confdefs.h. */ | |
4182 _ACEOF | |
4183 cat confdefs.h >>conftest.$ac_ext | |
4184 cat >>conftest.$ac_ext <<_ACEOF | |
4185 /* end confdefs.h. */ | 4358 /* end confdefs.h. */ |
4186 #ifdef __STDC__ | 4359 #ifdef __STDC__ |
4187 # include <limits.h> | 4360 # include <limits.h> |
4188 #else | 4361 #else |
4189 # include <assert.h> | 4362 # include <assert.h> |
4190 #endif | 4363 #endif |
4191 Syntax error | 4364 Syntax error |
4192 _ACEOF | 4365 _ACEOF |
4193 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4366 if ac_fn_c_try_cpp "$LINENO"; then : |
4194 case "(($ac_try" in | 4367 |
4195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4368 else |
4196 *) ac_try_echo=$ac_try;; | |
4197 esac | |
4198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4199 $as_echo "$ac_try_echo") >&5 | |
4200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4201 ac_status=$? | |
4202 grep -v '^ *+' conftest.er1 >conftest.err | |
4203 rm -f conftest.er1 | |
4204 cat conftest.err >&5 | |
4205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4206 (exit $ac_status); } >/dev/null && { | |
4207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4208 test ! -s conftest.err | |
4209 }; then | |
4210 : | |
4211 else | |
4212 $as_echo "$as_me: failed program was:" >&5 | |
4213 sed 's/^/| /' conftest.$ac_ext >&5 | |
4214 | |
4215 # Broken: fails on valid input. | 4369 # Broken: fails on valid input. |
4216 continue | 4370 continue |
4217 fi | 4371 fi |
4218 | |
4219 rm -f conftest.err conftest.$ac_ext | 4372 rm -f conftest.err conftest.$ac_ext |
4220 | 4373 |
4221 # OK, works on sane cases. Now check whether nonexistent headers | 4374 # OK, works on sane cases. Now check whether nonexistent headers |
4222 # can be detected and how. | 4375 # can be detected and how. |
4223 cat >conftest.$ac_ext <<_ACEOF | 4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4224 /* confdefs.h. */ | |
4225 _ACEOF | |
4226 cat confdefs.h >>conftest.$ac_ext | |
4227 cat >>conftest.$ac_ext <<_ACEOF | |
4228 /* end confdefs.h. */ | 4377 /* end confdefs.h. */ |
4229 #include <ac_nonexistent.h> | 4378 #include <ac_nonexistent.h> |
4230 _ACEOF | 4379 _ACEOF |
4231 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4380 if ac_fn_c_try_cpp "$LINENO"; then : |
4232 case "(($ac_try" in | |
4233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4234 *) ac_try_echo=$ac_try;; | |
4235 esac | |
4236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4237 $as_echo "$ac_try_echo") >&5 | |
4238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4239 ac_status=$? | |
4240 grep -v '^ *+' conftest.er1 >conftest.err | |
4241 rm -f conftest.er1 | |
4242 cat conftest.err >&5 | |
4243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4244 (exit $ac_status); } >/dev/null && { | |
4245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4246 test ! -s conftest.err | |
4247 }; then | |
4248 # Broken: success on invalid input. | 4381 # Broken: success on invalid input. |
4249 continue | 4382 continue |
4250 else | 4383 else |
4251 $as_echo "$as_me: failed program was:" >&5 | |
4252 sed 's/^/| /' conftest.$ac_ext >&5 | |
4253 | |
4254 # Passes both tests. | 4384 # Passes both tests. |
4255 ac_preproc_ok=: | 4385 ac_preproc_ok=: |
4256 break | 4386 break |
4257 fi | 4387 fi |
4258 | |
4259 rm -f conftest.err conftest.$ac_ext | 4388 rm -f conftest.err conftest.$ac_ext |
4260 | 4389 |
4261 done | 4390 done |
4262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4263 rm -f conftest.err conftest.$ac_ext | 4392 rm -f conftest.err conftest.$ac_ext |
4264 if $ac_preproc_ok; then | 4393 if $ac_preproc_ok; then : |
4265 : | 4394 |
4266 else | 4395 else |
4267 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 4396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4268 See \`config.log' for more details." >&5 | 4397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4269 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 4398 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
4270 See \`config.log' for more details." >&2;} | 4399 See \`config.log' for more details." "$LINENO" 5; } |
4271 { (exit 1); exit 1; }; } | |
4272 fi | 4400 fi |
4273 | 4401 |
4274 ac_ext=c | 4402 ac_ext=c |
4275 ac_cpp='$CPP $CPPFLAGS' | 4403 ac_cpp='$CPP $CPPFLAGS' |
4276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4278 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4406 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4279 | 4407 |
4280 | 4408 |
4281 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | 4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4282 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 4410 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4283 if test "${ac_cv_path_GREP+set}" = set; then | 4411 if test "${ac_cv_path_GREP+set}" = set; then : |
4284 $as_echo_n "(cached) " >&6 | 4412 $as_echo_n "(cached) " >&6 |
4285 else | 4413 else |
4286 if test -z "$GREP"; then | 4414 if test -z "$GREP"; then |
4287 ac_path_GREP_found=false | 4415 ac_path_GREP_found=false |
4288 # Loop through the user's path and test for each of PROGNAME-LIST | 4416 # Loop through the user's path and test for each of PROGNAME-LIST |
4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4290 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4418 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4291 do | 4419 do |
4292 IFS=$as_save_IFS | 4420 IFS=$as_save_IFS |
4293 test -z "$as_dir" && as_dir=. | 4421 test -z "$as_dir" && as_dir=. |
4294 for ac_prog in grep ggrep; do | 4422 for ac_prog in grep ggrep; do |
4295 for ac_exec_ext in '' $ac_executable_extensions; do | 4423 for ac_exec_ext in '' $ac_executable_extensions; do |
4296 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 4424 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4297 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4425 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4298 # Check for GNU ac_path_GREP and select it if it is found. | 4426 # Check for GNU ac_path_GREP and select it if it is found. |
4299 # Check for GNU $ac_path_GREP | 4427 # Check for GNU $ac_path_GREP |
4309 mv "conftest.tmp" "conftest.in" | 4437 mv "conftest.tmp" "conftest.in" |
4310 cp "conftest.in" "conftest.nl" | 4438 cp "conftest.in" "conftest.nl" |
4311 $as_echo 'GREP' >> "conftest.nl" | 4439 $as_echo 'GREP' >> "conftest.nl" |
4312 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4440 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4313 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4314 ac_count=`expr $ac_count + 1` | 4442 as_fn_arith $ac_count + 1 && ac_count=$as_val |
4315 if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4443 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4316 # Best one so far, save it but keep looking for a better one | 4444 # Best one so far, save it but keep looking for a better one |
4317 ac_cv_path_GREP="$ac_path_GREP" | 4445 ac_cv_path_GREP="$ac_path_GREP" |
4318 ac_path_GREP_max=$ac_count | 4446 ac_path_GREP_max=$ac_count |
4319 fi | 4447 fi |
4324 esac | 4452 esac |
4325 | 4453 |
4326 $ac_path_GREP_found && break 3 | 4454 $ac_path_GREP_found && break 3 |
4327 done | 4455 done |
4328 done | 4456 done |
4329 done | 4457 done |
4330 IFS=$as_save_IFS | 4458 IFS=$as_save_IFS |
4331 if test -z "$ac_cv_path_GREP"; then | 4459 if test -z "$ac_cv_path_GREP"; then |
4332 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | 4460 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4333 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4334 { (exit 1); exit 1; }; } | |
4335 fi | 4461 fi |
4336 else | 4462 else |
4337 ac_cv_path_GREP=$GREP | 4463 ac_cv_path_GREP=$GREP |
4338 fi | 4464 fi |
4339 | 4465 |
4340 fi | 4466 fi |
4341 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | 4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
4342 $as_echo "$ac_cv_path_GREP" >&6; } | 4468 $as_echo "$ac_cv_path_GREP" >&6; } |
4343 GREP="$ac_cv_path_GREP" | 4469 GREP="$ac_cv_path_GREP" |
4344 | 4470 |
4345 | 4471 |
4346 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 | 4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4347 $as_echo_n "checking for egrep... " >&6; } | 4473 $as_echo_n "checking for egrep... " >&6; } |
4348 if test "${ac_cv_path_EGREP+set}" = set; then | 4474 if test "${ac_cv_path_EGREP+set}" = set; then : |
4349 $as_echo_n "(cached) " >&6 | 4475 $as_echo_n "(cached) " >&6 |
4350 else | 4476 else |
4351 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4477 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4352 then ac_cv_path_EGREP="$GREP -E" | 4478 then ac_cv_path_EGREP="$GREP -E" |
4353 else | 4479 else |
4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4358 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4484 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4359 do | 4485 do |
4360 IFS=$as_save_IFS | 4486 IFS=$as_save_IFS |
4361 test -z "$as_dir" && as_dir=. | 4487 test -z "$as_dir" && as_dir=. |
4362 for ac_prog in egrep; do | 4488 for ac_prog in egrep; do |
4363 for ac_exec_ext in '' $ac_executable_extensions; do | 4489 for ac_exec_ext in '' $ac_executable_extensions; do |
4364 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4490 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4365 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4491 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4366 # Check for GNU ac_path_EGREP and select it if it is found. | 4492 # Check for GNU ac_path_EGREP and select it if it is found. |
4367 # Check for GNU $ac_path_EGREP | 4493 # Check for GNU $ac_path_EGREP |
4377 mv "conftest.tmp" "conftest.in" | 4503 mv "conftest.tmp" "conftest.in" |
4378 cp "conftest.in" "conftest.nl" | 4504 cp "conftest.in" "conftest.nl" |
4379 $as_echo 'EGREP' >> "conftest.nl" | 4505 $as_echo 'EGREP' >> "conftest.nl" |
4380 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4506 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4381 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4507 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4382 ac_count=`expr $ac_count + 1` | 4508 as_fn_arith $ac_count + 1 && ac_count=$as_val |
4383 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4509 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4384 # Best one so far, save it but keep looking for a better one | 4510 # Best one so far, save it but keep looking for a better one |
4385 ac_cv_path_EGREP="$ac_path_EGREP" | 4511 ac_cv_path_EGREP="$ac_path_EGREP" |
4386 ac_path_EGREP_max=$ac_count | 4512 ac_path_EGREP_max=$ac_count |
4387 fi | 4513 fi |
4392 esac | 4518 esac |
4393 | 4519 |
4394 $ac_path_EGREP_found && break 3 | 4520 $ac_path_EGREP_found && break 3 |
4395 done | 4521 done |
4396 done | 4522 done |
4397 done | 4523 done |
4398 IFS=$as_save_IFS | 4524 IFS=$as_save_IFS |
4399 if test -z "$ac_cv_path_EGREP"; then | 4525 if test -z "$ac_cv_path_EGREP"; then |
4400 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | 4526 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4401 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4402 { (exit 1); exit 1; }; } | |
4403 fi | 4527 fi |
4404 else | 4528 else |
4405 ac_cv_path_EGREP=$EGREP | 4529 ac_cv_path_EGREP=$EGREP |
4406 fi | 4530 fi |
4407 | 4531 |
4408 fi | 4532 fi |
4409 fi | 4533 fi |
4410 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | 4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
4411 $as_echo "$ac_cv_path_EGREP" >&6; } | 4535 $as_echo "$ac_cv_path_EGREP" >&6; } |
4412 EGREP="$ac_cv_path_EGREP" | 4536 EGREP="$ac_cv_path_EGREP" |
4413 | 4537 |
4414 | 4538 |
4415 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4416 $as_echo_n "checking for ANSI C header files... " >&6; } | 4540 $as_echo_n "checking for ANSI C header files... " >&6; } |
4417 if test "${ac_cv_header_stdc+set}" = set; then | 4541 if test "${ac_cv_header_stdc+set}" = set; then : |
4418 $as_echo_n "(cached) " >&6 | 4542 $as_echo_n "(cached) " >&6 |
4419 else | 4543 else |
4420 cat >conftest.$ac_ext <<_ACEOF | 4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4421 /* confdefs.h. */ | |
4422 _ACEOF | |
4423 cat confdefs.h >>conftest.$ac_ext | |
4424 cat >>conftest.$ac_ext <<_ACEOF | |
4425 /* end confdefs.h. */ | 4545 /* end confdefs.h. */ |
4426 #include <stdlib.h> | 4546 #include <stdlib.h> |
4427 #include <stdarg.h> | 4547 #include <stdarg.h> |
4428 #include <string.h> | 4548 #include <string.h> |
4429 #include <float.h> | 4549 #include <float.h> |
4434 | 4554 |
4435 ; | 4555 ; |
4436 return 0; | 4556 return 0; |
4437 } | 4557 } |
4438 _ACEOF | 4558 _ACEOF |
4439 rm -f conftest.$ac_objext | 4559 if ac_fn_c_try_compile "$LINENO"; then : |
4440 if { (ac_try="$ac_compile" | |
4441 case "(($ac_try" in | |
4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4443 *) ac_try_echo=$ac_try;; | |
4444 esac | |
4445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4446 $as_echo "$ac_try_echo") >&5 | |
4447 (eval "$ac_compile") 2>conftest.er1 | |
4448 ac_status=$? | |
4449 grep -v '^ *+' conftest.er1 >conftest.err | |
4450 rm -f conftest.er1 | |
4451 cat conftest.err >&5 | |
4452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4453 (exit $ac_status); } && { | |
4454 test -z "$ac_c_werror_flag" || | |
4455 test ! -s conftest.err | |
4456 } && test -s conftest.$ac_objext; then | |
4457 ac_cv_header_stdc=yes | 4560 ac_cv_header_stdc=yes |
4458 else | 4561 else |
4459 $as_echo "$as_me: failed program was:" >&5 | 4562 ac_cv_header_stdc=no |
4460 sed 's/^/| /' conftest.$ac_ext >&5 | 4563 fi |
4461 | |
4462 ac_cv_header_stdc=no | |
4463 fi | |
4464 | |
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4466 | 4565 |
4467 if test $ac_cv_header_stdc = yes; then | 4566 if test $ac_cv_header_stdc = yes; then |
4468 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4567 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4469 cat >conftest.$ac_ext <<_ACEOF | 4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4470 /* confdefs.h. */ | |
4471 _ACEOF | |
4472 cat confdefs.h >>conftest.$ac_ext | |
4473 cat >>conftest.$ac_ext <<_ACEOF | |
4474 /* end confdefs.h. */ | 4569 /* end confdefs.h. */ |
4475 #include <string.h> | 4570 #include <string.h> |
4476 | 4571 |
4477 _ACEOF | 4572 _ACEOF |
4478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4479 $EGREP "memchr" >/dev/null 2>&1; then | 4574 $EGREP "memchr" >/dev/null 2>&1; then : |
4480 : | 4575 |
4481 else | 4576 else |
4482 ac_cv_header_stdc=no | 4577 ac_cv_header_stdc=no |
4483 fi | 4578 fi |
4484 rm -f conftest* | 4579 rm -f conftest* |
4485 | 4580 |
4486 fi | 4581 fi |
4487 | 4582 |
4488 if test $ac_cv_header_stdc = yes; then | 4583 if test $ac_cv_header_stdc = yes; then |
4489 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4584 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4490 cat >conftest.$ac_ext <<_ACEOF | 4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4491 /* confdefs.h. */ | |
4492 _ACEOF | |
4493 cat confdefs.h >>conftest.$ac_ext | |
4494 cat >>conftest.$ac_ext <<_ACEOF | |
4495 /* end confdefs.h. */ | 4586 /* end confdefs.h. */ |
4496 #include <stdlib.h> | 4587 #include <stdlib.h> |
4497 | 4588 |
4498 _ACEOF | 4589 _ACEOF |
4499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4500 $EGREP "free" >/dev/null 2>&1; then | 4591 $EGREP "free" >/dev/null 2>&1; then : |
4501 : | 4592 |
4502 else | 4593 else |
4503 ac_cv_header_stdc=no | 4594 ac_cv_header_stdc=no |
4504 fi | 4595 fi |
4505 rm -f conftest* | 4596 rm -f conftest* |
4506 | 4597 |
4507 fi | 4598 fi |
4508 | 4599 |
4509 if test $ac_cv_header_stdc = yes; then | 4600 if test $ac_cv_header_stdc = yes; then |
4510 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4601 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4511 if test "$cross_compiling" = yes; then | 4602 if test "$cross_compiling" = yes; then : |
4512 : | 4603 : |
4513 else | 4604 else |
4514 cat >conftest.$ac_ext <<_ACEOF | 4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4515 /* confdefs.h. */ | |
4516 _ACEOF | |
4517 cat confdefs.h >>conftest.$ac_ext | |
4518 cat >>conftest.$ac_ext <<_ACEOF | |
4519 /* end confdefs.h. */ | 4606 /* end confdefs.h. */ |
4520 #include <ctype.h> | 4607 #include <ctype.h> |
4521 #include <stdlib.h> | 4608 #include <stdlib.h> |
4522 #if ((' ' & 0x0FF) == 0x020) | 4609 #if ((' ' & 0x0FF) == 0x020) |
4523 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4610 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4540 || toupper (i) != TOUPPER (i)) | 4627 || toupper (i) != TOUPPER (i)) |
4541 return 2; | 4628 return 2; |
4542 return 0; | 4629 return 0; |
4543 } | 4630 } |
4544 _ACEOF | 4631 _ACEOF |
4545 rm -f conftest$ac_exeext | 4632 if ac_fn_c_try_run "$LINENO"; then : |
4546 if { (ac_try="$ac_link" | 4633 |
4547 case "(($ac_try" in | 4634 else |
4548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4635 ac_cv_header_stdc=no |
4549 *) ac_try_echo=$ac_try;; | 4636 fi |
4550 esac | 4637 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
4551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 4638 conftest.$ac_objext conftest.beam conftest.$ac_ext |
4552 $as_echo "$ac_try_echo") >&5 | 4639 fi |
4553 (eval "$ac_link") 2>&5 | 4640 |
4554 ac_status=$? | 4641 fi |
4555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4642 fi |
4556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
4557 { (case "(($ac_try" in | |
4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4559 *) ac_try_echo=$ac_try;; | |
4560 esac | |
4561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4562 $as_echo "$ac_try_echo") >&5 | |
4563 (eval "$ac_try") 2>&5 | |
4564 ac_status=$? | |
4565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4566 (exit $ac_status); }; }; then | |
4567 : | |
4568 else | |
4569 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
4570 $as_echo "$as_me: failed program was:" >&5 | |
4571 sed 's/^/| /' conftest.$ac_ext >&5 | |
4572 | |
4573 ( exit $ac_status ) | |
4574 ac_cv_header_stdc=no | |
4575 fi | |
4576 rm -rf conftest.dSYM | |
4577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4578 fi | |
4579 | |
4580 | |
4581 fi | |
4582 fi | |
4583 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
4584 $as_echo "$ac_cv_header_stdc" >&6; } | 4644 $as_echo "$ac_cv_header_stdc" >&6; } |
4585 if test $ac_cv_header_stdc = yes; then | 4645 if test $ac_cv_header_stdc = yes; then |
4586 | 4646 |
4587 cat >>confdefs.h <<\_ACEOF | 4647 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
4588 #define STDC_HEADERS 1 | |
4589 _ACEOF | |
4590 | 4648 |
4591 fi | 4649 fi |
4592 | 4650 |
4593 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4651 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4594 | |
4595 | |
4596 | |
4597 | |
4598 | |
4599 | |
4600 | |
4601 | |
4602 | |
4603 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4652 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4604 inttypes.h stdint.h unistd.h | 4653 inttypes.h stdint.h unistd.h |
4605 do | 4654 do : |
4606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4607 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 4656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4608 $as_echo_n "checking for $ac_header... " >&6; } | 4657 " |
4609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 4658 eval as_val=\$$as_ac_Header |
4610 $as_echo_n "(cached) " >&6 | 4659 if test "x$as_val" = x""yes; then : |
4611 else | |
4612 cat >conftest.$ac_ext <<_ACEOF | |
4613 /* confdefs.h. */ | |
4614 _ACEOF | |
4615 cat confdefs.h >>conftest.$ac_ext | |
4616 cat >>conftest.$ac_ext <<_ACEOF | |
4617 /* end confdefs.h. */ | |
4618 $ac_includes_default | |
4619 | |
4620 #include <$ac_header> | |
4621 _ACEOF | |
4622 rm -f conftest.$ac_objext | |
4623 if { (ac_try="$ac_compile" | |
4624 case "(($ac_try" in | |
4625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4626 *) ac_try_echo=$ac_try;; | |
4627 esac | |
4628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4629 $as_echo "$ac_try_echo") >&5 | |
4630 (eval "$ac_compile") 2>conftest.er1 | |
4631 ac_status=$? | |
4632 grep -v '^ *+' conftest.er1 >conftest.err | |
4633 rm -f conftest.er1 | |
4634 cat conftest.err >&5 | |
4635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4636 (exit $ac_status); } && { | |
4637 test -z "$ac_c_werror_flag" || | |
4638 test ! -s conftest.err | |
4639 } && test -s conftest.$ac_objext; then | |
4640 eval "$as_ac_Header=yes" | |
4641 else | |
4642 $as_echo "$as_me: failed program was:" >&5 | |
4643 sed 's/^/| /' conftest.$ac_ext >&5 | |
4644 | |
4645 eval "$as_ac_Header=no" | |
4646 fi | |
4647 | |
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4649 fi | |
4650 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4651 $as_echo "$as_val"'` | |
4652 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4653 $as_echo "$ac_res" >&6; } | |
4654 if test `eval 'as_val=${'$as_ac_Header'} | |
4655 $as_echo "$as_val"'` = yes; then | |
4656 cat >>confdefs.h <<_ACEOF | 4660 cat >>confdefs.h <<_ACEOF |
4657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4658 _ACEOF | 4662 _ACEOF |
4659 | 4663 |
4660 fi | 4664 fi |
4661 | 4665 |
4662 done | 4666 done |
4663 | 4667 |
4664 | 4668 |
4665 | 4669 |
4666 if test "${ac_cv_header_minix_config_h+set}" = set; then | 4670 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4667 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 | 4671 if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
4668 $as_echo_n "checking for minix/config.h... " >&6; } | 4672 MINIX=yes |
4669 if test "${ac_cv_header_minix_config_h+set}" = set; then | 4673 else |
4674 MINIX= | |
4675 fi | |
4676 | |
4677 | |
4678 if test "$MINIX" = yes; then | |
4679 | |
4680 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h | |
4681 | |
4682 | |
4683 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h | |
4684 | |
4685 | |
4686 $as_echo "#define _MINIX 1" >>confdefs.h | |
4687 | |
4688 fi | |
4689 | |
4690 | |
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 | |
4692 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | |
4693 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : | |
4670 $as_echo_n "(cached) " >&6 | 4694 $as_echo_n "(cached) " >&6 |
4671 fi | 4695 else |
4672 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | 4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4673 $as_echo "$ac_cv_header_minix_config_h" >&6; } | |
4674 else | |
4675 # Is the header compilable? | |
4676 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 | |
4677 $as_echo_n "checking minix/config.h usability... " >&6; } | |
4678 cat >conftest.$ac_ext <<_ACEOF | |
4679 /* confdefs.h. */ | |
4680 _ACEOF | |
4681 cat confdefs.h >>conftest.$ac_ext | |
4682 cat >>conftest.$ac_ext <<_ACEOF | |
4683 /* end confdefs.h. */ | |
4684 $ac_includes_default | |
4685 #include <minix/config.h> | |
4686 _ACEOF | |
4687 rm -f conftest.$ac_objext | |
4688 if { (ac_try="$ac_compile" | |
4689 case "(($ac_try" in | |
4690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4691 *) ac_try_echo=$ac_try;; | |
4692 esac | |
4693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4694 $as_echo "$ac_try_echo") >&5 | |
4695 (eval "$ac_compile") 2>conftest.er1 | |
4696 ac_status=$? | |
4697 grep -v '^ *+' conftest.er1 >conftest.err | |
4698 rm -f conftest.er1 | |
4699 cat conftest.err >&5 | |
4700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4701 (exit $ac_status); } && { | |
4702 test -z "$ac_c_werror_flag" || | |
4703 test ! -s conftest.err | |
4704 } && test -s conftest.$ac_objext; then | |
4705 ac_header_compiler=yes | |
4706 else | |
4707 $as_echo "$as_me: failed program was:" >&5 | |
4708 sed 's/^/| /' conftest.$ac_ext >&5 | |
4709 | |
4710 ac_header_compiler=no | |
4711 fi | |
4712 | |
4713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4714 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4715 $as_echo "$ac_header_compiler" >&6; } | |
4716 | |
4717 # Is the header present? | |
4718 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 | |
4719 $as_echo_n "checking minix/config.h presence... " >&6; } | |
4720 cat >conftest.$ac_ext <<_ACEOF | |
4721 /* confdefs.h. */ | |
4722 _ACEOF | |
4723 cat confdefs.h >>conftest.$ac_ext | |
4724 cat >>conftest.$ac_ext <<_ACEOF | |
4725 /* end confdefs.h. */ | |
4726 #include <minix/config.h> | |
4727 _ACEOF | |
4728 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4729 case "(($ac_try" in | |
4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4731 *) ac_try_echo=$ac_try;; | |
4732 esac | |
4733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4734 $as_echo "$ac_try_echo") >&5 | |
4735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4736 ac_status=$? | |
4737 grep -v '^ *+' conftest.er1 >conftest.err | |
4738 rm -f conftest.er1 | |
4739 cat conftest.err >&5 | |
4740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4741 (exit $ac_status); } >/dev/null && { | |
4742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4743 test ! -s conftest.err | |
4744 }; then | |
4745 ac_header_preproc=yes | |
4746 else | |
4747 $as_echo "$as_me: failed program was:" >&5 | |
4748 sed 's/^/| /' conftest.$ac_ext >&5 | |
4749 | |
4750 ac_header_preproc=no | |
4751 fi | |
4752 | |
4753 rm -f conftest.err conftest.$ac_ext | |
4754 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4755 $as_echo "$ac_header_preproc" >&6; } | |
4756 | |
4757 # So? What about this header? | |
4758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4759 yes:no: ) | |
4760 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4761 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4762 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 | |
4763 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} | |
4764 ac_header_preproc=yes | |
4765 ;; | |
4766 no:yes:* ) | |
4767 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 | |
4768 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} | |
4769 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 | |
4770 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} | |
4771 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 | |
4772 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} | |
4773 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 | |
4774 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
4775 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 | |
4776 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} | |
4777 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 | |
4778 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} | |
4779 | |
4780 ;; | |
4781 esac | |
4782 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 | |
4783 $as_echo_n "checking for minix/config.h... " >&6; } | |
4784 if test "${ac_cv_header_minix_config_h+set}" = set; then | |
4785 $as_echo_n "(cached) " >&6 | |
4786 else | |
4787 ac_cv_header_minix_config_h=$ac_header_preproc | |
4788 fi | |
4789 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | |
4790 $as_echo "$ac_cv_header_minix_config_h" >&6; } | |
4791 | |
4792 fi | |
4793 if test $ac_cv_header_minix_config_h = yes; then | |
4794 MINIX=yes | |
4795 else | |
4796 MINIX= | |
4797 fi | |
4798 | |
4799 | |
4800 if test "$MINIX" = yes; then | |
4801 | |
4802 cat >>confdefs.h <<\_ACEOF | |
4803 #define _POSIX_SOURCE 1 | |
4804 _ACEOF | |
4805 | |
4806 | |
4807 cat >>confdefs.h <<\_ACEOF | |
4808 #define _POSIX_1_SOURCE 2 | |
4809 _ACEOF | |
4810 | |
4811 | |
4812 cat >>confdefs.h <<\_ACEOF | |
4813 #define _MINIX 1 | |
4814 _ACEOF | |
4815 | |
4816 fi | |
4817 | |
4818 | |
4819 | |
4820 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 | |
4821 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | |
4822 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then | |
4823 $as_echo_n "(cached) " >&6 | |
4824 else | |
4825 cat >conftest.$ac_ext <<_ACEOF | |
4826 /* confdefs.h. */ | |
4827 _ACEOF | |
4828 cat confdefs.h >>conftest.$ac_ext | |
4829 cat >>conftest.$ac_ext <<_ACEOF | |
4830 /* end confdefs.h. */ | 4697 /* end confdefs.h. */ |
4831 | 4698 |
4832 # define __EXTENSIONS__ 1 | 4699 # define __EXTENSIONS__ 1 |
4833 $ac_includes_default | 4700 $ac_includes_default |
4834 int | 4701 int |
4837 | 4704 |
4838 ; | 4705 ; |
4839 return 0; | 4706 return 0; |
4840 } | 4707 } |
4841 _ACEOF | 4708 _ACEOF |
4842 rm -f conftest.$ac_objext | 4709 if ac_fn_c_try_compile "$LINENO"; then : |
4843 if { (ac_try="$ac_compile" | |
4844 case "(($ac_try" in | |
4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4846 *) ac_try_echo=$ac_try;; | |
4847 esac | |
4848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4849 $as_echo "$ac_try_echo") >&5 | |
4850 (eval "$ac_compile") 2>conftest.er1 | |
4851 ac_status=$? | |
4852 grep -v '^ *+' conftest.er1 >conftest.err | |
4853 rm -f conftest.er1 | |
4854 cat conftest.err >&5 | |
4855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4856 (exit $ac_status); } && { | |
4857 test -z "$ac_c_werror_flag" || | |
4858 test ! -s conftest.err | |
4859 } && test -s conftest.$ac_objext; then | |
4860 ac_cv_safe_to_define___extensions__=yes | 4710 ac_cv_safe_to_define___extensions__=yes |
4861 else | 4711 else |
4862 $as_echo "$as_me: failed program was:" >&5 | 4712 ac_cv_safe_to_define___extensions__=no |
4863 sed 's/^/| /' conftest.$ac_ext >&5 | 4713 fi |
4864 | |
4865 ac_cv_safe_to_define___extensions__=no | |
4866 fi | |
4867 | |
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4869 fi | 4715 fi |
4870 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 | 4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
4871 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | 4717 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
4872 test $ac_cv_safe_to_define___extensions__ = yes && | 4718 test $ac_cv_safe_to_define___extensions__ = yes && |
4873 cat >>confdefs.h <<\_ACEOF | 4719 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
4874 #define __EXTENSIONS__ 1 | 4720 |
4875 _ACEOF | 4721 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
4876 | 4722 |
4877 cat >>confdefs.h <<\_ACEOF | 4723 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
4878 #define _ALL_SOURCE 1 | 4724 |
4879 _ACEOF | 4725 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
4880 | 4726 |
4881 cat >>confdefs.h <<\_ACEOF | 4727 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
4882 #define _GNU_SOURCE 1 | |
4883 _ACEOF | |
4884 | |
4885 cat >>confdefs.h <<\_ACEOF | |
4886 #define _POSIX_PTHREAD_SEMANTICS 1 | |
4887 _ACEOF | |
4888 | |
4889 cat >>confdefs.h <<\_ACEOF | |
4890 #define _TANDEM_SOURCE 1 | |
4891 _ACEOF | |
4892 | 4728 |
4893 | 4729 |
4894 | 4730 |
4895 ### Use -Wno-pointer-sign if the compiler supports it | 4731 ### Use -Wno-pointer-sign if the compiler supports it |
4896 { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 | 4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5 |
4897 $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } | 4733 $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } |
4898 SAVE_CFLAGS="$CFLAGS" | 4734 SAVE_CFLAGS="$CFLAGS" |
4899 CFLAGS="$CFLAGS -Wno-pointer-sign" | 4735 CFLAGS="$CFLAGS -Wno-pointer-sign" |
4900 cat >conftest.$ac_ext <<_ACEOF | 4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4901 /* confdefs.h. */ | |
4902 _ACEOF | |
4903 cat confdefs.h >>conftest.$ac_ext | |
4904 cat >>conftest.$ac_ext <<_ACEOF | |
4905 /* end confdefs.h. */ | 4737 /* end confdefs.h. */ |
4906 | 4738 |
4907 int | 4739 int |
4908 main () | 4740 main () |
4909 { | 4741 { |
4910 | 4742 |
4911 ; | 4743 ; |
4912 return 0; | 4744 return 0; |
4913 } | 4745 } |
4914 _ACEOF | 4746 _ACEOF |
4915 rm -f conftest.$ac_objext | 4747 if ac_fn_c_try_compile "$LINENO"; then : |
4916 if { (ac_try="$ac_compile" | |
4917 case "(($ac_try" in | |
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4919 *) ac_try_echo=$ac_try;; | |
4920 esac | |
4921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4922 $as_echo "$ac_try_echo") >&5 | |
4923 (eval "$ac_compile") 2>conftest.er1 | |
4924 ac_status=$? | |
4925 grep -v '^ *+' conftest.er1 >conftest.err | |
4926 rm -f conftest.er1 | |
4927 cat conftest.err >&5 | |
4928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4929 (exit $ac_status); } && { | |
4930 test -z "$ac_c_werror_flag" || | |
4931 test ! -s conftest.err | |
4932 } && test -s conftest.$ac_objext; then | |
4933 has_option=yes | 4748 has_option=yes |
4934 else | 4749 else |
4935 $as_echo "$as_me: failed program was:" >&5 | 4750 has_option=no |
4936 sed 's/^/| /' conftest.$ac_ext >&5 | 4751 fi |
4937 | |
4938 has_option=no | |
4939 fi | |
4940 | |
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4942 if test $has_option = yes; then | 4753 if test $has_option = yes; then |
4943 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4754 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
4944 fi | 4755 fi |
4945 { $as_echo "$as_me:$LINENO: result: $has_option" >&5 | 4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 |
4946 $as_echo "$has_option" >&6; } | 4757 $as_echo "$has_option" >&6; } |
4947 CFLAGS="$SAVE_CFLAGS" | 4758 CFLAGS="$SAVE_CFLAGS" |
4948 unset has_option | 4759 unset has_option |
4949 unset SAVE_CFLAGS | 4760 unset SAVE_CFLAGS |
4950 | 4761 |
4951 ### Use -Wdeclaration-after-statement if the compiler supports it | 4762 ### Use -Wdeclaration-after-statement if the compiler supports it |
4952 { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5 | 4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 |
4953 $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } | 4764 $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } |
4954 SAVE_CFLAGS="$CFLAGS" | 4765 SAVE_CFLAGS="$CFLAGS" |
4955 CFLAGS="$CFLAGS -Wdeclaration-after-statement" | 4766 CFLAGS="$CFLAGS -Wdeclaration-after-statement" |
4956 cat >conftest.$ac_ext <<_ACEOF | 4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4957 /* confdefs.h. */ | |
4958 _ACEOF | |
4959 cat confdefs.h >>conftest.$ac_ext | |
4960 cat >>conftest.$ac_ext <<_ACEOF | |
4961 /* end confdefs.h. */ | 4768 /* end confdefs.h. */ |
4962 | 4769 |
4963 int | 4770 int |
4964 main () | 4771 main () |
4965 { | 4772 { |
4966 | 4773 |
4967 ; | 4774 ; |
4968 return 0; | 4775 return 0; |
4969 } | 4776 } |
4970 _ACEOF | 4777 _ACEOF |
4971 rm -f conftest.$ac_objext | 4778 if ac_fn_c_try_compile "$LINENO"; then : |
4972 if { (ac_try="$ac_compile" | |
4973 case "(($ac_try" in | |
4974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4975 *) ac_try_echo=$ac_try;; | |
4976 esac | |
4977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4978 $as_echo "$ac_try_echo") >&5 | |
4979 (eval "$ac_compile") 2>conftest.er1 | |
4980 ac_status=$? | |
4981 grep -v '^ *+' conftest.er1 >conftest.err | |
4982 rm -f conftest.er1 | |
4983 cat conftest.err >&5 | |
4984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4985 (exit $ac_status); } && { | |
4986 test -z "$ac_c_werror_flag" || | |
4987 test ! -s conftest.err | |
4988 } && test -s conftest.$ac_objext; then | |
4989 has_option=yes | 4779 has_option=yes |
4990 else | 4780 else |
4991 $as_echo "$as_me: failed program was:" >&5 | 4781 has_option=no |
4992 sed 's/^/| /' conftest.$ac_ext >&5 | 4782 fi |
4993 | |
4994 has_option=no | |
4995 fi | |
4996 | |
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4998 if test $has_option = yes; then | 4784 if test $has_option = yes; then |
4999 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" | 4785 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" |
5000 fi | 4786 fi |
5001 { $as_echo "$as_me:$LINENO: result: $has_option" >&5 | 4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 |
5002 $as_echo "$has_option" >&6; } | 4788 $as_echo "$has_option" >&6; } |
5003 CFLAGS="$SAVE_CFLAGS" | 4789 CFLAGS="$SAVE_CFLAGS" |
5004 unset has_option | 4790 unset has_option |
5005 unset SAVE_CFLAGS | 4791 unset SAVE_CFLAGS |
5006 | 4792 |
5007 #### Some other nice autoconf tests. | 4793 #### Some other nice autoconf tests. |
5008 | 4794 |
5009 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
5010 $as_echo_n "checking whether ln -s works... " >&6; } | 4796 $as_echo_n "checking whether ln -s works... " >&6; } |
5011 LN_S=$as_ln_s | 4797 LN_S=$as_ln_s |
5012 if test "$LN_S" = "ln -s"; then | 4798 if test "$LN_S" = "ln -s"; then |
5013 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5014 $as_echo "yes" >&6; } | 4800 $as_echo "yes" >&6; } |
5015 else | 4801 else |
5016 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
5017 $as_echo "no, using $LN_S" >&6; } | 4803 $as_echo "no, using $LN_S" >&6; } |
5018 fi | 4804 fi |
5019 | 4805 |
5020 ac_ext=c | 4806 ac_ext=c |
5021 ac_cpp='$CPP $CPPFLAGS' | 4807 ac_cpp='$CPP $CPPFLAGS' |
5022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5024 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4810 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5025 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
5026 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 4812 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
5027 # On Suns, sometimes $CPP names a directory. | 4813 # On Suns, sometimes $CPP names a directory. |
5028 if test -n "$CPP" && test -d "$CPP"; then | 4814 if test -n "$CPP" && test -d "$CPP"; then |
5029 CPP= | 4815 CPP= |
5030 fi | 4816 fi |
5031 if test -z "$CPP"; then | 4817 if test -z "$CPP"; then |
5032 if test "${ac_cv_prog_CPP+set}" = set; then | 4818 if test "${ac_cv_prog_CPP+set}" = set; then : |
5033 $as_echo_n "(cached) " >&6 | 4819 $as_echo_n "(cached) " >&6 |
5034 else | 4820 else |
5035 # Double quotes because CPP needs to be expanded | 4821 # Double quotes because CPP needs to be expanded |
5036 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 4822 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5037 do | 4823 do |
5042 # with a fresh cross-compiler works. | 4828 # with a fresh cross-compiler works. |
5043 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4829 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5044 # <limits.h> exists even on freestanding compilers. | 4830 # <limits.h> exists even on freestanding compilers. |
5045 # On the NeXT, cc -E runs the code through the compiler's parser, | 4831 # On the NeXT, cc -E runs the code through the compiler's parser, |
5046 # not just through cpp. "Syntax error" is here to catch this case. | 4832 # not just through cpp. "Syntax error" is here to catch this case. |
5047 cat >conftest.$ac_ext <<_ACEOF | 4833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5048 /* confdefs.h. */ | |
5049 _ACEOF | |
5050 cat confdefs.h >>conftest.$ac_ext | |
5051 cat >>conftest.$ac_ext <<_ACEOF | |
5052 /* end confdefs.h. */ | 4834 /* end confdefs.h. */ |
5053 #ifdef __STDC__ | 4835 #ifdef __STDC__ |
5054 # include <limits.h> | 4836 # include <limits.h> |
5055 #else | 4837 #else |
5056 # include <assert.h> | 4838 # include <assert.h> |
5057 #endif | 4839 #endif |
5058 Syntax error | 4840 Syntax error |
5059 _ACEOF | 4841 _ACEOF |
5060 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4842 if ac_fn_c_try_cpp "$LINENO"; then : |
5061 case "(($ac_try" in | 4843 |
5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4844 else |
5063 *) ac_try_echo=$ac_try;; | |
5064 esac | |
5065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5066 $as_echo "$ac_try_echo") >&5 | |
5067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5068 ac_status=$? | |
5069 grep -v '^ *+' conftest.er1 >conftest.err | |
5070 rm -f conftest.er1 | |
5071 cat conftest.err >&5 | |
5072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5073 (exit $ac_status); } >/dev/null && { | |
5074 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
5075 test ! -s conftest.err | |
5076 }; then | |
5077 : | |
5078 else | |
5079 $as_echo "$as_me: failed program was:" >&5 | |
5080 sed 's/^/| /' conftest.$ac_ext >&5 | |
5081 | |
5082 # Broken: fails on valid input. | 4845 # Broken: fails on valid input. |
5083 continue | 4846 continue |
5084 fi | 4847 fi |
5085 | |
5086 rm -f conftest.err conftest.$ac_ext | 4848 rm -f conftest.err conftest.$ac_ext |
5087 | 4849 |
5088 # OK, works on sane cases. Now check whether nonexistent headers | 4850 # OK, works on sane cases. Now check whether nonexistent headers |
5089 # can be detected and how. | 4851 # can be detected and how. |
5090 cat >conftest.$ac_ext <<_ACEOF | 4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5091 /* confdefs.h. */ | |
5092 _ACEOF | |
5093 cat confdefs.h >>conftest.$ac_ext | |
5094 cat >>conftest.$ac_ext <<_ACEOF | |
5095 /* end confdefs.h. */ | 4853 /* end confdefs.h. */ |
5096 #include <ac_nonexistent.h> | 4854 #include <ac_nonexistent.h> |
5097 _ACEOF | 4855 _ACEOF |
5098 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4856 if ac_fn_c_try_cpp "$LINENO"; then : |
5099 case "(($ac_try" in | |
5100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5101 *) ac_try_echo=$ac_try;; | |
5102 esac | |
5103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5104 $as_echo "$ac_try_echo") >&5 | |
5105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5106 ac_status=$? | |
5107 grep -v '^ *+' conftest.er1 >conftest.err | |
5108 rm -f conftest.er1 | |
5109 cat conftest.err >&5 | |
5110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5111 (exit $ac_status); } >/dev/null && { | |
5112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
5113 test ! -s conftest.err | |
5114 }; then | |
5115 # Broken: success on invalid input. | 4857 # Broken: success on invalid input. |
5116 continue | 4858 continue |
5117 else | 4859 else |
5118 $as_echo "$as_me: failed program was:" >&5 | |
5119 sed 's/^/| /' conftest.$ac_ext >&5 | |
5120 | |
5121 # Passes both tests. | 4860 # Passes both tests. |
5122 ac_preproc_ok=: | 4861 ac_preproc_ok=: |
5123 break | 4862 break |
5124 fi | 4863 fi |
5125 | |
5126 rm -f conftest.err conftest.$ac_ext | 4864 rm -f conftest.err conftest.$ac_ext |
5127 | 4865 |
5128 done | 4866 done |
5129 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5130 rm -f conftest.err conftest.$ac_ext | 4868 rm -f conftest.err conftest.$ac_ext |
5131 if $ac_preproc_ok; then | 4869 if $ac_preproc_ok; then : |
5132 break | 4870 break |
5133 fi | 4871 fi |
5134 | 4872 |
5135 done | 4873 done |
5136 ac_cv_prog_CPP=$CPP | 4874 ac_cv_prog_CPP=$CPP |
5138 fi | 4876 fi |
5139 CPP=$ac_cv_prog_CPP | 4877 CPP=$ac_cv_prog_CPP |
5140 else | 4878 else |
5141 ac_cv_prog_CPP=$CPP | 4879 ac_cv_prog_CPP=$CPP |
5142 fi | 4880 fi |
5143 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | 4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
5144 $as_echo "$CPP" >&6; } | 4882 $as_echo "$CPP" >&6; } |
5145 ac_preproc_ok=false | 4883 ac_preproc_ok=false |
5146 for ac_c_preproc_warn_flag in '' yes | 4884 for ac_c_preproc_warn_flag in '' yes |
5147 do | 4885 do |
5148 # Use a header file that comes with gcc, so configuring glibc | 4886 # Use a header file that comes with gcc, so configuring glibc |
5149 # with a fresh cross-compiler works. | 4887 # with a fresh cross-compiler works. |
5150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5151 # <limits.h> exists even on freestanding compilers. | 4889 # <limits.h> exists even on freestanding compilers. |
5152 # On the NeXT, cc -E runs the code through the compiler's parser, | 4890 # On the NeXT, cc -E runs the code through the compiler's parser, |
5153 # not just through cpp. "Syntax error" is here to catch this case. | 4891 # not just through cpp. "Syntax error" is here to catch this case. |
5154 cat >conftest.$ac_ext <<_ACEOF | 4892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5155 /* confdefs.h. */ | |
5156 _ACEOF | |
5157 cat confdefs.h >>conftest.$ac_ext | |
5158 cat >>conftest.$ac_ext <<_ACEOF | |
5159 /* end confdefs.h. */ | 4893 /* end confdefs.h. */ |
5160 #ifdef __STDC__ | 4894 #ifdef __STDC__ |
5161 # include <limits.h> | 4895 # include <limits.h> |
5162 #else | 4896 #else |
5163 # include <assert.h> | 4897 # include <assert.h> |
5164 #endif | 4898 #endif |
5165 Syntax error | 4899 Syntax error |
5166 _ACEOF | 4900 _ACEOF |
5167 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4901 if ac_fn_c_try_cpp "$LINENO"; then : |
5168 case "(($ac_try" in | 4902 |
5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4903 else |
5170 *) ac_try_echo=$ac_try;; | |
5171 esac | |
5172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5173 $as_echo "$ac_try_echo") >&5 | |
5174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5175 ac_status=$? | |
5176 grep -v '^ *+' conftest.er1 >conftest.err | |
5177 rm -f conftest.er1 | |
5178 cat conftest.err >&5 | |
5179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5180 (exit $ac_status); } >/dev/null && { | |
5181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
5182 test ! -s conftest.err | |
5183 }; then | |
5184 : | |
5185 else | |
5186 $as_echo "$as_me: failed program was:" >&5 | |
5187 sed 's/^/| /' conftest.$ac_ext >&5 | |
5188 | |
5189 # Broken: fails on valid input. | 4904 # Broken: fails on valid input. |
5190 continue | 4905 continue |
5191 fi | 4906 fi |
5192 | |
5193 rm -f conftest.err conftest.$ac_ext | 4907 rm -f conftest.err conftest.$ac_ext |
5194 | 4908 |
5195 # OK, works on sane cases. Now check whether nonexistent headers | 4909 # OK, works on sane cases. Now check whether nonexistent headers |
5196 # can be detected and how. | 4910 # can be detected and how. |
5197 cat >conftest.$ac_ext <<_ACEOF | 4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5198 /* confdefs.h. */ | |
5199 _ACEOF | |
5200 cat confdefs.h >>conftest.$ac_ext | |
5201 cat >>conftest.$ac_ext <<_ACEOF | |
5202 /* end confdefs.h. */ | 4912 /* end confdefs.h. */ |
5203 #include <ac_nonexistent.h> | 4913 #include <ac_nonexistent.h> |
5204 _ACEOF | 4914 _ACEOF |
5205 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4915 if ac_fn_c_try_cpp "$LINENO"; then : |
5206 case "(($ac_try" in | |
5207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5208 *) ac_try_echo=$ac_try;; | |
5209 esac | |
5210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5211 $as_echo "$ac_try_echo") >&5 | |
5212 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5213 ac_status=$? | |
5214 grep -v '^ *+' conftest.er1 >conftest.err | |
5215 rm -f conftest.er1 | |
5216 cat conftest.err >&5 | |
5217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5218 (exit $ac_status); } >/dev/null && { | |
5219 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
5220 test ! -s conftest.err | |
5221 }; then | |
5222 # Broken: success on invalid input. | 4916 # Broken: success on invalid input. |
5223 continue | 4917 continue |
5224 else | 4918 else |
5225 $as_echo "$as_me: failed program was:" >&5 | |
5226 sed 's/^/| /' conftest.$ac_ext >&5 | |
5227 | |
5228 # Passes both tests. | 4919 # Passes both tests. |
5229 ac_preproc_ok=: | 4920 ac_preproc_ok=: |
5230 break | 4921 break |
5231 fi | 4922 fi |
5232 | |
5233 rm -f conftest.err conftest.$ac_ext | 4923 rm -f conftest.err conftest.$ac_ext |
5234 | 4924 |
5235 done | 4925 done |
5236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5237 rm -f conftest.err conftest.$ac_ext | 4927 rm -f conftest.err conftest.$ac_ext |
5238 if $ac_preproc_ok; then | 4928 if $ac_preproc_ok; then : |
5239 : | 4929 |
5240 else | 4930 else |
5241 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 4931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5242 See \`config.log' for more details." >&5 | 4932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5243 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 4933 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
5244 See \`config.log' for more details." >&2;} | 4934 See \`config.log' for more details." "$LINENO" 5; } |
5245 { (exit 1); exit 1; }; } | |
5246 fi | 4935 fi |
5247 | 4936 |
5248 ac_ext=c | 4937 ac_ext=c |
5249 ac_cpp='$CPP $CPPFLAGS' | 4938 ac_cpp='$CPP $CPPFLAGS' |
5250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5263 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 4952 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
5264 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 4953 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
5265 # OS/2's system install, which has a completely different semantic | 4954 # OS/2's system install, which has a completely different semantic |
5266 # ./install, which can be erroneously created by make from ./install.sh. | 4955 # ./install, which can be erroneously created by make from ./install.sh. |
5267 # Reject install programs that cannot install multiple files. | 4956 # Reject install programs that cannot install multiple files. |
5268 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
5269 $as_echo_n "checking for a BSD-compatible install... " >&6; } | 4958 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
5270 if test -z "$INSTALL"; then | 4959 if test -z "$INSTALL"; then |
5271 if test "${ac_cv_path_install+set}" = set; then | 4960 if test "${ac_cv_path_install+set}" = set; then : |
5272 $as_echo_n "(cached) " >&6 | 4961 $as_echo_n "(cached) " >&6 |
5273 else | 4962 else |
5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5275 for as_dir in $PATH | 4964 for as_dir in $PATH |
5276 do | 4965 do |
5277 IFS=$as_save_IFS | 4966 IFS=$as_save_IFS |
5278 test -z "$as_dir" && as_dir=. | 4967 test -z "$as_dir" && as_dir=. |
5279 # Account for people who put trailing slashes in PATH elements. | 4968 # Account for people who put trailing slashes in PATH elements. |
5280 case $as_dir/ in | 4969 case $as_dir/ in #(( |
5281 ./ | .// | /cC/* | \ | 4970 ./ | .// | /[cC]/* | \ |
5282 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 4971 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
5283 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 4972 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
5284 /usr/ucb/* ) ;; | 4973 /usr/ucb/* ) ;; |
5285 *) | 4974 *) |
5286 # OSF1 and SCO ODT 3.0 have their own names for install. | 4975 # OSF1 and SCO ODT 3.0 have their own names for install. |
5287 # Don't use installbsd from OSF since it installs stuff as root | 4976 # Don't use installbsd from OSF since it installs stuff as root |
5288 # by default. | 4977 # by default. |
5315 done | 5004 done |
5316 done | 5005 done |
5317 ;; | 5006 ;; |
5318 esac | 5007 esac |
5319 | 5008 |
5320 done | 5009 done |
5321 IFS=$as_save_IFS | 5010 IFS=$as_save_IFS |
5322 | 5011 |
5323 rm -rf conftest.one conftest.two conftest.dir | 5012 rm -rf conftest.one conftest.two conftest.dir |
5324 | 5013 |
5325 fi | 5014 fi |
5331 # break other packages using the cache if that directory is | 5020 # break other packages using the cache if that directory is |
5332 # removed, or if the value is a relative name. | 5021 # removed, or if the value is a relative name. |
5333 INSTALL=$ac_install_sh | 5022 INSTALL=$ac_install_sh |
5334 fi | 5023 fi |
5335 fi | 5024 fi |
5336 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | 5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
5337 $as_echo "$INSTALL" >&6; } | 5026 $as_echo "$INSTALL" >&6; } |
5338 | 5027 |
5339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 5028 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
5340 # It thinks the first close brace ends the variable substitution. | 5029 # It thinks the first close brace ends the variable substitution. |
5341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 5030 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
5346 | 5035 |
5347 if test "x$RANLIB" = x; then | 5036 if test "x$RANLIB" = x; then |
5348 if test -n "$ac_tool_prefix"; then | 5037 if test -n "$ac_tool_prefix"; then |
5349 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 5038 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5350 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 5039 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5352 $as_echo_n "checking for $ac_word... " >&6; } | 5041 $as_echo_n "checking for $ac_word... " >&6; } |
5353 if test "${ac_cv_prog_RANLIB+set}" = set; then | 5042 if test "${ac_cv_prog_RANLIB+set}" = set; then : |
5354 $as_echo_n "(cached) " >&6 | 5043 $as_echo_n "(cached) " >&6 |
5355 else | 5044 else |
5356 if test -n "$RANLIB"; then | 5045 if test -n "$RANLIB"; then |
5357 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 5046 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5358 else | 5047 else |
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5360 for as_dir in $PATH | 5049 for as_dir in $PATH |
5361 do | 5050 do |
5362 IFS=$as_save_IFS | 5051 IFS=$as_save_IFS |
5363 test -z "$as_dir" && as_dir=. | 5052 test -z "$as_dir" && as_dir=. |
5364 for ac_exec_ext in '' $ac_executable_extensions; do | 5053 for ac_exec_ext in '' $ac_executable_extensions; do |
5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5366 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 5055 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5368 break 2 | 5057 break 2 |
5369 fi | 5058 fi |
5370 done | 5059 done |
5371 done | 5060 done |
5372 IFS=$as_save_IFS | 5061 IFS=$as_save_IFS |
5373 | 5062 |
5374 fi | 5063 fi |
5375 fi | 5064 fi |
5376 RANLIB=$ac_cv_prog_RANLIB | 5065 RANLIB=$ac_cv_prog_RANLIB |
5377 if test -n "$RANLIB"; then | 5066 if test -n "$RANLIB"; then |
5378 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 | 5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
5379 $as_echo "$RANLIB" >&6; } | 5068 $as_echo "$RANLIB" >&6; } |
5380 else | 5069 else |
5381 { $as_echo "$as_me:$LINENO: result: no" >&5 | 5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5382 $as_echo "no" >&6; } | 5071 $as_echo "no" >&6; } |
5383 fi | 5072 fi |
5384 | 5073 |
5385 | 5074 |
5386 fi | 5075 fi |
5387 if test -z "$ac_cv_prog_RANLIB"; then | 5076 if test -z "$ac_cv_prog_RANLIB"; then |
5388 ac_ct_RANLIB=$RANLIB | 5077 ac_ct_RANLIB=$RANLIB |
5389 # Extract the first word of "ranlib", so it can be a program name with args. | 5078 # Extract the first word of "ranlib", so it can be a program name with args. |
5390 set dummy ranlib; ac_word=$2 | 5079 set dummy ranlib; ac_word=$2 |
5391 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5392 $as_echo_n "checking for $ac_word... " >&6; } | 5081 $as_echo_n "checking for $ac_word... " >&6; } |
5393 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 5082 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
5394 $as_echo_n "(cached) " >&6 | 5083 $as_echo_n "(cached) " >&6 |
5395 else | 5084 else |
5396 if test -n "$ac_ct_RANLIB"; then | 5085 if test -n "$ac_ct_RANLIB"; then |
5397 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 5086 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5398 else | 5087 else |
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5400 for as_dir in $PATH | 5089 for as_dir in $PATH |
5401 do | 5090 do |
5402 IFS=$as_save_IFS | 5091 IFS=$as_save_IFS |
5403 test -z "$as_dir" && as_dir=. | 5092 test -z "$as_dir" && as_dir=. |
5404 for ac_exec_ext in '' $ac_executable_extensions; do | 5093 for ac_exec_ext in '' $ac_executable_extensions; do |
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5406 ac_cv_prog_ac_ct_RANLIB="ranlib" | 5095 ac_cv_prog_ac_ct_RANLIB="ranlib" |
5407 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5408 break 2 | 5097 break 2 |
5409 fi | 5098 fi |
5410 done | 5099 done |
5411 done | 5100 done |
5412 IFS=$as_save_IFS | 5101 IFS=$as_save_IFS |
5413 | 5102 |
5414 fi | 5103 fi |
5415 fi | 5104 fi |
5416 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 5105 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5417 if test -n "$ac_ct_RANLIB"; then | 5106 if test -n "$ac_ct_RANLIB"; then |
5418 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
5419 $as_echo "$ac_ct_RANLIB" >&6; } | 5108 $as_echo "$ac_ct_RANLIB" >&6; } |
5420 else | 5109 else |
5421 { $as_echo "$as_me:$LINENO: result: no" >&5 | 5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5422 $as_echo "no" >&6; } | 5111 $as_echo "no" >&6; } |
5423 fi | 5112 fi |
5424 | 5113 |
5425 if test "x$ac_ct_RANLIB" = x; then | 5114 if test "x$ac_ct_RANLIB" = x; then |
5426 RANLIB=":" | 5115 RANLIB=":" |
5427 else | 5116 else |
5428 case $cross_compiling:$ac_tool_warned in | 5117 case $cross_compiling:$ac_tool_warned in |
5429 yes:) | 5118 yes:) |
5430 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5431 whose name does not start with the host triplet. If you think this | 5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5432 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
5433 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
5434 whose name does not start with the host triplet. If you think this | |
5435 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
5436 ac_tool_warned=yes ;; | 5121 ac_tool_warned=yes ;; |
5437 esac | 5122 esac |
5438 RANLIB=$ac_ct_RANLIB | 5123 RANLIB=$ac_ct_RANLIB |
5439 fi | 5124 fi |
5440 else | 5125 else |
5442 fi | 5127 fi |
5443 | 5128 |
5444 fi | 5129 fi |
5445 # Extract the first word of "install-info", so it can be a program name with args. | 5130 # Extract the first word of "install-info", so it can be a program name with args. |
5446 set dummy install-info; ac_word=$2 | 5131 set dummy install-info; ac_word=$2 |
5447 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5448 $as_echo_n "checking for $ac_word... " >&6; } | 5133 $as_echo_n "checking for $ac_word... " >&6; } |
5449 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5134 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : |
5450 $as_echo_n "(cached) " >&6 | 5135 $as_echo_n "(cached) " >&6 |
5451 else | 5136 else |
5452 case $INSTALL_INFO in | 5137 case $INSTALL_INFO in |
5453 [\\/]* | ?:[\\/]*) | 5138 [\\/]* | ?:[\\/]*) |
5454 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5139 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5458 for as_dir in $PATH | 5143 for as_dir in $PATH |
5459 do | 5144 do |
5460 IFS=$as_save_IFS | 5145 IFS=$as_save_IFS |
5461 test -z "$as_dir" && as_dir=. | 5146 test -z "$as_dir" && as_dir=. |
5462 for ac_exec_ext in '' $ac_executable_extensions; do | 5147 for ac_exec_ext in '' $ac_executable_extensions; do |
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5464 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5149 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5466 break 2 | 5151 break 2 |
5467 fi | 5152 fi |
5468 done | 5153 done |
5469 done | 5154 done |
5470 IFS=$as_save_IFS | 5155 IFS=$as_save_IFS |
5471 | 5156 |
5472 ;; | 5157 ;; |
5473 esac | 5158 esac |
5474 fi | 5159 fi |
5475 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5160 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
5476 if test -n "$INSTALL_INFO"; then | 5161 if test -n "$INSTALL_INFO"; then |
5477 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 |
5478 $as_echo "$INSTALL_INFO" >&6; } | 5163 $as_echo "$INSTALL_INFO" >&6; } |
5479 else | 5164 else |
5480 { $as_echo "$as_me:$LINENO: result: no" >&5 | 5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5481 $as_echo "no" >&6; } | 5166 $as_echo "no" >&6; } |
5482 fi | 5167 fi |
5483 | 5168 |
5484 | 5169 |
5485 # Extract the first word of "install-info", so it can be a program name with args. | 5170 # Extract the first word of "install-info", so it can be a program name with args. |
5486 set dummy install-info; ac_word=$2 | 5171 set dummy install-info; ac_word=$2 |
5487 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5488 $as_echo_n "checking for $ac_word... " >&6; } | 5173 $as_echo_n "checking for $ac_word... " >&6; } |
5489 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5174 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : |
5490 $as_echo_n "(cached) " >&6 | 5175 $as_echo_n "(cached) " >&6 |
5491 else | 5176 else |
5492 case $INSTALL_INFO in | 5177 case $INSTALL_INFO in |
5493 [\\/]* | ?:[\\/]*) | 5178 [\\/]* | ?:[\\/]*) |
5494 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5179 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5498 for as_dir in /usr/sbin | 5183 for as_dir in /usr/sbin |
5499 do | 5184 do |
5500 IFS=$as_save_IFS | 5185 IFS=$as_save_IFS |
5501 test -z "$as_dir" && as_dir=. | 5186 test -z "$as_dir" && as_dir=. |
5502 for ac_exec_ext in '' $ac_executable_extensions; do | 5187 for ac_exec_ext in '' $ac_executable_extensions; do |
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5504 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5189 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5505 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5506 break 2 | 5191 break 2 |
5507 fi | 5192 fi |
5508 done | 5193 done |
5509 done | 5194 done |
5510 IFS=$as_save_IFS | 5195 IFS=$as_save_IFS |
5511 | 5196 |
5512 ;; | 5197 ;; |
5513 esac | 5198 esac |
5514 fi | 5199 fi |
5515 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5200 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
5516 if test -n "$INSTALL_INFO"; then | 5201 if test -n "$INSTALL_INFO"; then |
5517 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 |
5518 $as_echo "$INSTALL_INFO" >&6; } | 5203 $as_echo "$INSTALL_INFO" >&6; } |
5519 else | 5204 else |
5520 { $as_echo "$as_me:$LINENO: result: no" >&5 | 5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5521 $as_echo "no" >&6; } | 5206 $as_echo "no" >&6; } |
5522 fi | 5207 fi |
5523 | 5208 |
5524 | 5209 |
5525 # Extract the first word of "install-info", so it can be a program name with args. | 5210 # Extract the first word of "install-info", so it can be a program name with args. |
5526 set dummy install-info; ac_word=$2 | 5211 set dummy install-info; ac_word=$2 |
5527 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5528 $as_echo_n "checking for $ac_word... " >&6; } | 5213 $as_echo_n "checking for $ac_word... " >&6; } |
5529 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5214 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : |
5530 $as_echo_n "(cached) " >&6 | 5215 $as_echo_n "(cached) " >&6 |
5531 else | 5216 else |
5532 case $INSTALL_INFO in | 5217 case $INSTALL_INFO in |
5533 [\\/]* | ?:[\\/]*) | 5218 [\\/]* | ?:[\\/]*) |
5534 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5219 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5538 for as_dir in /sbin | 5223 for as_dir in /sbin |
5539 do | 5224 do |
5540 IFS=$as_save_IFS | 5225 IFS=$as_save_IFS |
5541 test -z "$as_dir" && as_dir=. | 5226 test -z "$as_dir" && as_dir=. |
5542 for ac_exec_ext in '' $ac_executable_extensions; do | 5227 for ac_exec_ext in '' $ac_executable_extensions; do |
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5544 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5229 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5545 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5546 break 2 | 5231 break 2 |
5547 fi | 5232 fi |
5548 done | 5233 done |
5549 done | 5234 done |
5550 IFS=$as_save_IFS | 5235 IFS=$as_save_IFS |
5551 | 5236 |
5552 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 5237 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
5553 ;; | 5238 ;; |
5554 esac | 5239 esac |
5555 fi | 5240 fi |
5556 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5241 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
5557 if test -n "$INSTALL_INFO"; then | 5242 if test -n "$INSTALL_INFO"; then |
5558 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 |
5559 $as_echo "$INSTALL_INFO" >&6; } | 5244 $as_echo "$INSTALL_INFO" >&6; } |
5560 else | 5245 else |
5561 { $as_echo "$as_me:$LINENO: result: no" >&5 | 5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5562 $as_echo "no" >&6; } | 5247 $as_echo "no" >&6; } |
5563 fi | 5248 fi |
5564 | 5249 |
5565 | 5250 |
5566 # Extract the first word of "gzip", so it can be a program name with args. | 5251 # Extract the first word of "gzip", so it can be a program name with args. |
5567 set dummy gzip; ac_word=$2 | 5252 set dummy gzip; ac_word=$2 |
5568 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5569 $as_echo_n "checking for $ac_word... " >&6; } | 5254 $as_echo_n "checking for $ac_word... " >&6; } |
5570 if test "${ac_cv_path_GZIP_PROG+set}" = set; then | 5255 if test "${ac_cv_path_GZIP_PROG+set}" = set; then : |
5571 $as_echo_n "(cached) " >&6 | 5256 $as_echo_n "(cached) " >&6 |
5572 else | 5257 else |
5573 case $GZIP_PROG in | 5258 case $GZIP_PROG in |
5574 [\\/]* | ?:[\\/]*) | 5259 [\\/]* | ?:[\\/]*) |
5575 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. | 5260 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. |
5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5579 for as_dir in $PATH | 5264 for as_dir in $PATH |
5580 do | 5265 do |
5581 IFS=$as_save_IFS | 5266 IFS=$as_save_IFS |
5582 test -z "$as_dir" && as_dir=. | 5267 test -z "$as_dir" && as_dir=. |
5583 for ac_exec_ext in '' $ac_executable_extensions; do | 5268 for ac_exec_ext in '' $ac_executable_extensions; do |
5584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5585 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 5270 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
5586 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5587 break 2 | 5272 break 2 |
5588 fi | 5273 fi |
5589 done | 5274 done |
5590 done | 5275 done |
5591 IFS=$as_save_IFS | 5276 IFS=$as_save_IFS |
5592 | 5277 |
5593 ;; | 5278 ;; |
5594 esac | 5279 esac |
5595 fi | 5280 fi |
5596 GZIP_PROG=$ac_cv_path_GZIP_PROG | 5281 GZIP_PROG=$ac_cv_path_GZIP_PROG |
5597 if test -n "$GZIP_PROG"; then | 5282 if test -n "$GZIP_PROG"; then |
5598 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 | 5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5 |
5599 $as_echo "$GZIP_PROG" >&6; } | 5284 $as_echo "$GZIP_PROG" >&6; } |
5600 else | 5285 else |
5601 { $as_echo "$as_me:$LINENO: result: no" >&5 | 5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5602 $as_echo "no" >&6; } | 5287 $as_echo "no" >&6; } |
5603 fi | 5288 fi |
5604 | 5289 |
5605 | 5290 |
5606 | 5291 |
5607 | 5292 |
5608 ## Need makeinfo >= 4.6 (?) to build the manuals. | 5293 ## Need makeinfo >= 4.6 (?) to build the manuals. |
5609 # Extract the first word of "makeinfo", so it can be a program name with args. | 5294 # Extract the first word of "makeinfo", so it can be a program name with args. |
5610 set dummy makeinfo; ac_word=$2 | 5295 set dummy makeinfo; ac_word=$2 |
5611 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5612 $as_echo_n "checking for $ac_word... " >&6; } | 5297 $as_echo_n "checking for $ac_word... " >&6; } |
5613 if test "${ac_cv_path_MAKEINFO+set}" = set; then | 5298 if test "${ac_cv_path_MAKEINFO+set}" = set; then : |
5614 $as_echo_n "(cached) " >&6 | 5299 $as_echo_n "(cached) " >&6 |
5615 else | 5300 else |
5616 case $MAKEINFO in | 5301 case $MAKEINFO in |
5617 [\\/]* | ?:[\\/]*) | 5302 [\\/]* | ?:[\\/]*) |
5618 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. | 5303 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. |
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5622 for as_dir in $PATH | 5307 for as_dir in $PATH |
5623 do | 5308 do |
5624 IFS=$as_save_IFS | 5309 IFS=$as_save_IFS |
5625 test -z "$as_dir" && as_dir=. | 5310 test -z "$as_dir" && as_dir=. |
5626 for ac_exec_ext in '' $ac_executable_extensions; do | 5311 for ac_exec_ext in '' $ac_executable_extensions; do |
5627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5628 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" | 5313 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" |
5629 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5630 break 2 | 5315 break 2 |
5631 fi | 5316 fi |
5632 done | 5317 done |
5633 done | 5318 done |
5634 IFS=$as_save_IFS | 5319 IFS=$as_save_IFS |
5635 | 5320 |
5636 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" | 5321 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" |
5637 ;; | 5322 ;; |
5638 esac | 5323 esac |
5639 fi | 5324 fi |
5640 MAKEINFO=$ac_cv_path_MAKEINFO | 5325 MAKEINFO=$ac_cv_path_MAKEINFO |
5641 if test -n "$MAKEINFO"; then | 5326 if test -n "$MAKEINFO"; then |
5642 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 | 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 |
5643 $as_echo "$MAKEINFO" >&6; } | 5328 $as_echo "$MAKEINFO" >&6; } |
5644 else | 5329 else |
5645 { $as_echo "$as_me:$LINENO: result: no" >&5 | 5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5646 $as_echo "no" >&6; } | 5331 $as_echo "no" >&6; } |
5647 fi | 5332 fi |
5648 | 5333 |
5649 | 5334 |
5650 if test "$MAKEINFO" != "no" && \ | 5335 if test "$MAKEINFO" != "no" && \ |
5663 ## with pre-built manuals, from a Bazaar checkout. | 5348 ## with pre-built manuals, from a Bazaar checkout. |
5664 if test "$MAKEINFO" = "no"; then | 5349 if test "$MAKEINFO" = "no"; then |
5665 if test "x${with_makeinfo}" = "xno"; then | 5350 if test "x${with_makeinfo}" = "xno"; then |
5666 MAKEINFO=off | 5351 MAKEINFO=off |
5667 elif test ! -e $srcdir/info/emacs; then | 5352 elif test ! -e $srcdir/info/emacs; then |
5668 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your | 5353 as_fn_error "You do not seem to have makeinfo >= 4.6, and your |
5669 source tree does not seem to have pre-built manuals in the \`info' directory. | 5354 source tree does not seem to have pre-built manuals in the \`info' directory. |
5670 Either install a suitable version of makeinfo, or re-run configure | 5355 Either install a suitable version of makeinfo, or re-run configure |
5671 with the \`--without-makeinfo' option to build without the manuals. " >&5 | 5356 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 |
5672 $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your | |
5673 source tree does not seem to have pre-built manuals in the \`info' directory. | |
5674 Either install a suitable version of makeinfo, or re-run configure | |
5675 with the \`--without-makeinfo' option to build without the manuals. " >&2;} | |
5676 { (exit 1); exit 1; }; } | |
5677 fi | 5357 fi |
5678 fi | 5358 fi |
5679 | 5359 |
5680 | 5360 |
5681 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x | 5361 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x |
5694 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" | 5374 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" |
5695 else | 5375 else |
5696 LDFLAGS="$LDFLAGS -znocombreloc" | 5376 LDFLAGS="$LDFLAGS -znocombreloc" |
5697 fi | 5377 fi |
5698 | 5378 |
5699 { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 | 5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 |
5700 $as_echo_n "checking for -znocombreloc... " >&6; } | 5380 $as_echo_n "checking for -znocombreloc... " >&6; } |
5701 cat >conftest.$ac_ext <<_ACEOF | 5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5382 /* end confdefs.h. */ | |
5702 main(){return 0;} | 5383 main(){return 0;} |
5703 _ACEOF | 5384 _ACEOF |
5704 rm -f conftest.$ac_objext conftest$ac_exeext | 5385 if ac_fn_c_try_link "$LINENO"; then : |
5705 if { (ac_try="$ac_link" | 5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5706 case "(($ac_try" in | 5387 $as_echo "yes" >&6; } |
5707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5388 else |
5708 *) ac_try_echo=$ac_try;; | 5389 LDFLAGS=$late_LDFLAGS |
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5391 $as_echo "no" >&6; } | |
5392 fi | |
5393 rm -f core conftest.err conftest.$ac_objext \ | |
5394 conftest$ac_exeext conftest.$ac_ext | |
5395 | |
5396 LIB_MATH=-lm | |
5397 | |
5398 case $opsys in | |
5399 cygwin ) | |
5400 LIB_MATH= | |
5401 ;; | |
5402 darwin ) | |
5403 ## Adding -lm confuses the dynamic linker, so omit it. | |
5404 LIB_MATH= | |
5405 ;; | |
5709 esac | 5406 esac |
5710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 5407 |
5711 $as_echo "$ac_try_echo") >&5 | 5408 |
5712 (eval "$ac_link") 2>conftest.er1 | |
5713 ac_status=$? | |
5714 grep -v '^ *+' conftest.er1 >conftest.err | |
5715 rm -f conftest.er1 | |
5716 cat conftest.err >&5 | |
5717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5718 (exit $ac_status); } && { | |
5719 test -z "$ac_c_werror_flag" || | |
5720 test ! -s conftest.err | |
5721 } && test -s conftest$ac_exeext && { | |
5722 test "$cross_compiling" = yes || | |
5723 $as_test_x conftest$ac_exeext | |
5724 }; then | |
5725 { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
5726 $as_echo "yes" >&6; } | |
5727 else | |
5728 $as_echo "$as_me: failed program was:" >&5 | |
5729 sed 's/^/| /' conftest.$ac_ext >&5 | |
5730 | |
5731 LDFLAGS=$late_LDFLAGS | |
5732 { $as_echo "$as_me:$LINENO: result: no" >&5 | |
5733 $as_echo "no" >&6; } | |
5734 fi | |
5735 | |
5736 rm -rf conftest.dSYM | |
5737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5738 conftest$ac_exeext conftest.$ac_ext | |
5739 | 5409 |
5740 #### Extract some information from the operating system and machine files. | 5410 #### Extract some information from the operating system and machine files. |
5741 | 5411 |
5742 { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out | 5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out |
5743 - which libraries the lib-src programs will want, and | 5413 - which libraries the lib-src programs will want, and |
5744 - whether the GNU malloc routines are usable..." >&5 | 5414 - whether the GNU malloc routines are usable..." >&5 |
5745 $as_echo "$as_me: checking the machine- and system-dependent files to find out | 5415 $as_echo "$as_me: checking the machine- and system-dependent files to find out |
5746 - which libraries the lib-src programs will want, and | 5416 - which libraries the lib-src programs will want, and |
5747 - whether the GNU malloc routines are usable..." >&6;} | 5417 - whether the GNU malloc routines are usable..." >&6;} |
5878 fi | 5548 fi |
5879 | 5549 |
5880 | 5550 |
5881 | 5551 |
5882 # Check whether --enable-largefile was given. | 5552 # Check whether --enable-largefile was given. |
5883 if test "${enable_largefile+set}" = set; then | 5553 if test "${enable_largefile+set}" = set; then : |
5884 enableval=$enable_largefile; | 5554 enableval=$enable_largefile; |
5885 fi | 5555 fi |
5886 | 5556 |
5887 if test "$enable_largefile" != no; then | 5557 if test "$enable_largefile" != no; then |
5888 | 5558 |
5889 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | 5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 |
5890 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | 5560 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
5891 if test "${ac_cv_sys_largefile_CC+set}" = set; then | 5561 if test "${ac_cv_sys_largefile_CC+set}" = set; then : |
5892 $as_echo_n "(cached) " >&6 | 5562 $as_echo_n "(cached) " >&6 |
5893 else | 5563 else |
5894 ac_cv_sys_largefile_CC=no | 5564 ac_cv_sys_largefile_CC=no |
5895 if test "$GCC" != yes; then | 5565 if test "$GCC" != yes; then |
5896 ac_save_CC=$CC | 5566 ac_save_CC=$CC |
5897 while :; do | 5567 while :; do |
5898 # IRIX 6.2 and later do not support large files by default, | 5568 # IRIX 6.2 and later do not support large files by default, |
5899 # so use the C compiler's -n32 option if that helps. | 5569 # so use the C compiler's -n32 option if that helps. |
5900 cat >conftest.$ac_ext <<_ACEOF | 5570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5901 /* confdefs.h. */ | |
5902 _ACEOF | |
5903 cat confdefs.h >>conftest.$ac_ext | |
5904 cat >>conftest.$ac_ext <<_ACEOF | |
5905 /* end confdefs.h. */ | 5571 /* end confdefs.h. */ |
5906 #include <sys/types.h> | 5572 #include <sys/types.h> |
5907 /* Check that off_t can represent 2**63 - 1 correctly. | 5573 /* Check that off_t can represent 2**63 - 1 correctly. |
5908 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 5574 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5909 since some C++ compilers masquerading as C compilers | 5575 since some C++ compilers masquerading as C compilers |
5918 | 5584 |
5919 ; | 5585 ; |
5920 return 0; | 5586 return 0; |
5921 } | 5587 } |
5922 _ACEOF | 5588 _ACEOF |
5923 rm -f conftest.$ac_objext | 5589 if ac_fn_c_try_compile "$LINENO"; then : |
5924 if { (ac_try="$ac_compile" | |
5925 case "(($ac_try" in | |
5926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5927 *) ac_try_echo=$ac_try;; | |
5928 esac | |
5929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5930 $as_echo "$ac_try_echo") >&5 | |
5931 (eval "$ac_compile") 2>conftest.er1 | |
5932 ac_status=$? | |
5933 grep -v '^ *+' conftest.er1 >conftest.err | |
5934 rm -f conftest.er1 | |
5935 cat conftest.err >&5 | |
5936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5937 (exit $ac_status); } && { | |
5938 test -z "$ac_c_werror_flag" || | |
5939 test ! -s conftest.err | |
5940 } && test -s conftest.$ac_objext; then | |
5941 break | 5590 break |
5942 else | 5591 fi |
5943 $as_echo "$as_me: failed program was:" >&5 | |
5944 sed 's/^/| /' conftest.$ac_ext >&5 | |
5945 | |
5946 | |
5947 fi | |
5948 | |
5949 rm -f core conftest.err conftest.$ac_objext | 5592 rm -f core conftest.err conftest.$ac_objext |
5950 CC="$CC -n32" | 5593 CC="$CC -n32" |
5951 rm -f conftest.$ac_objext | 5594 if ac_fn_c_try_compile "$LINENO"; then : |
5952 if { (ac_try="$ac_compile" | |
5953 case "(($ac_try" in | |
5954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5955 *) ac_try_echo=$ac_try;; | |
5956 esac | |
5957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5958 $as_echo "$ac_try_echo") >&5 | |
5959 (eval "$ac_compile") 2>conftest.er1 | |
5960 ac_status=$? | |
5961 grep -v '^ *+' conftest.er1 >conftest.err | |
5962 rm -f conftest.er1 | |
5963 cat conftest.err >&5 | |
5964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5965 (exit $ac_status); } && { | |
5966 test -z "$ac_c_werror_flag" || | |
5967 test ! -s conftest.err | |
5968 } && test -s conftest.$ac_objext; then | |
5969 ac_cv_sys_largefile_CC=' -n32'; break | 5595 ac_cv_sys_largefile_CC=' -n32'; break |
5970 else | 5596 fi |
5971 $as_echo "$as_me: failed program was:" >&5 | |
5972 sed 's/^/| /' conftest.$ac_ext >&5 | |
5973 | |
5974 | |
5975 fi | |
5976 | |
5977 rm -f core conftest.err conftest.$ac_objext | 5597 rm -f core conftest.err conftest.$ac_objext |
5978 break | 5598 break |
5979 done | 5599 done |
5980 CC=$ac_save_CC | 5600 CC=$ac_save_CC |
5981 rm -f conftest.$ac_ext | 5601 rm -f conftest.$ac_ext |
5982 fi | 5602 fi |
5983 fi | 5603 fi |
5984 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | 5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 |
5985 $as_echo "$ac_cv_sys_largefile_CC" >&6; } | 5605 $as_echo "$ac_cv_sys_largefile_CC" >&6; } |
5986 if test "$ac_cv_sys_largefile_CC" != no; then | 5606 if test "$ac_cv_sys_largefile_CC" != no; then |
5987 CC=$CC$ac_cv_sys_largefile_CC | 5607 CC=$CC$ac_cv_sys_largefile_CC |
5988 fi | 5608 fi |
5989 | 5609 |
5990 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
5991 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | 5611 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
5992 if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 5612 if test "${ac_cv_sys_file_offset_bits+set}" = set; then : |
5993 $as_echo_n "(cached) " >&6 | 5613 $as_echo_n "(cached) " >&6 |
5994 else | 5614 else |
5995 while :; do | 5615 while :; do |
5996 cat >conftest.$ac_ext <<_ACEOF | 5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5997 /* confdefs.h. */ | |
5998 _ACEOF | |
5999 cat confdefs.h >>conftest.$ac_ext | |
6000 cat >>conftest.$ac_ext <<_ACEOF | |
6001 /* end confdefs.h. */ | 5617 /* end confdefs.h. */ |
6002 #include <sys/types.h> | 5618 #include <sys/types.h> |
6003 /* Check that off_t can represent 2**63 - 1 correctly. | 5619 /* Check that off_t can represent 2**63 - 1 correctly. |
6004 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 5620 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
6005 since some C++ compilers masquerading as C compilers | 5621 since some C++ compilers masquerading as C compilers |
6014 | 5630 |
6015 ; | 5631 ; |
6016 return 0; | 5632 return 0; |
6017 } | 5633 } |
6018 _ACEOF | 5634 _ACEOF |
6019 rm -f conftest.$ac_objext | 5635 if ac_fn_c_try_compile "$LINENO"; then : |
6020 if { (ac_try="$ac_compile" | |
6021 case "(($ac_try" in | |
6022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6023 *) ac_try_echo=$ac_try;; | |
6024 esac | |
6025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6026 $as_echo "$ac_try_echo") >&5 | |
6027 (eval "$ac_compile") 2>conftest.er1 | |
6028 ac_status=$? | |
6029 grep -v '^ *+' conftest.er1 >conftest.err | |
6030 rm -f conftest.er1 | |
6031 cat conftest.err >&5 | |
6032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6033 (exit $ac_status); } && { | |
6034 test -z "$ac_c_werror_flag" || | |
6035 test ! -s conftest.err | |
6036 } && test -s conftest.$ac_objext; then | |
6037 ac_cv_sys_file_offset_bits=no; break | 5636 ac_cv_sys_file_offset_bits=no; break |
6038 else | 5637 fi |
6039 $as_echo "$as_me: failed program was:" >&5 | |
6040 sed 's/^/| /' conftest.$ac_ext >&5 | |
6041 | |
6042 | |
6043 fi | |
6044 | |
6045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6046 cat >conftest.$ac_ext <<_ACEOF | 5639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6047 /* confdefs.h. */ | |
6048 _ACEOF | |
6049 cat confdefs.h >>conftest.$ac_ext | |
6050 cat >>conftest.$ac_ext <<_ACEOF | |
6051 /* end confdefs.h. */ | 5640 /* end confdefs.h. */ |
6052 #define _FILE_OFFSET_BITS 64 | 5641 #define _FILE_OFFSET_BITS 64 |
6053 #include <sys/types.h> | 5642 #include <sys/types.h> |
6054 /* Check that off_t can represent 2**63 - 1 correctly. | 5643 /* Check that off_t can represent 2**63 - 1 correctly. |
6055 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 5644 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
6065 | 5654 |
6066 ; | 5655 ; |
6067 return 0; | 5656 return 0; |
6068 } | 5657 } |
6069 _ACEOF | 5658 _ACEOF |
6070 rm -f conftest.$ac_objext | 5659 if ac_fn_c_try_compile "$LINENO"; then : |
6071 if { (ac_try="$ac_compile" | |
6072 case "(($ac_try" in | |
6073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6074 *) ac_try_echo=$ac_try;; | |
6075 esac | |
6076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6077 $as_echo "$ac_try_echo") >&5 | |
6078 (eval "$ac_compile") 2>conftest.er1 | |
6079 ac_status=$? | |
6080 grep -v '^ *+' conftest.er1 >conftest.err | |
6081 rm -f conftest.er1 | |
6082 cat conftest.err >&5 | |
6083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6084 (exit $ac_status); } && { | |
6085 test -z "$ac_c_werror_flag" || | |
6086 test ! -s conftest.err | |
6087 } && test -s conftest.$ac_objext; then | |
6088 ac_cv_sys_file_offset_bits=64; break | 5660 ac_cv_sys_file_offset_bits=64; break |
6089 else | 5661 fi |
6090 $as_echo "$as_me: failed program was:" >&5 | |
6091 sed 's/^/| /' conftest.$ac_ext >&5 | |
6092 | |
6093 | |
6094 fi | |
6095 | |
6096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6097 ac_cv_sys_file_offset_bits=unknown | 5663 ac_cv_sys_file_offset_bits=unknown |
6098 break | 5664 break |
6099 done | 5665 done |
6100 fi | 5666 fi |
6101 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | 5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 |
6102 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } | 5668 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
6103 case $ac_cv_sys_file_offset_bits in #( | 5669 case $ac_cv_sys_file_offset_bits in #( |
6104 no | unknown) ;; | 5670 no | unknown) ;; |
6105 *) | 5671 *) |
6106 cat >>confdefs.h <<_ACEOF | 5672 cat >>confdefs.h <<_ACEOF |
6108 _ACEOF | 5674 _ACEOF |
6109 ;; | 5675 ;; |
6110 esac | 5676 esac |
6111 rm -rf conftest* | 5677 rm -rf conftest* |
6112 if test $ac_cv_sys_file_offset_bits = unknown; then | 5678 if test $ac_cv_sys_file_offset_bits = unknown; then |
6113 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | 5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 |
6114 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | 5680 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
6115 if test "${ac_cv_sys_large_files+set}" = set; then | 5681 if test "${ac_cv_sys_large_files+set}" = set; then : |
6116 $as_echo_n "(cached) " >&6 | 5682 $as_echo_n "(cached) " >&6 |
6117 else | 5683 else |
6118 while :; do | 5684 while :; do |
6119 cat >conftest.$ac_ext <<_ACEOF | 5685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6120 /* confdefs.h. */ | |
6121 _ACEOF | |
6122 cat confdefs.h >>conftest.$ac_ext | |
6123 cat >>conftest.$ac_ext <<_ACEOF | |
6124 /* end confdefs.h. */ | 5686 /* end confdefs.h. */ |
6125 #include <sys/types.h> | 5687 #include <sys/types.h> |
6126 /* Check that off_t can represent 2**63 - 1 correctly. | 5688 /* Check that off_t can represent 2**63 - 1 correctly. |
6127 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 5689 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
6128 since some C++ compilers masquerading as C compilers | 5690 since some C++ compilers masquerading as C compilers |
6137 | 5699 |
6138 ; | 5700 ; |
6139 return 0; | 5701 return 0; |
6140 } | 5702 } |
6141 _ACEOF | 5703 _ACEOF |
6142 rm -f conftest.$ac_objext | 5704 if ac_fn_c_try_compile "$LINENO"; then : |
6143 if { (ac_try="$ac_compile" | |
6144 case "(($ac_try" in | |
6145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6146 *) ac_try_echo=$ac_try;; | |
6147 esac | |
6148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6149 $as_echo "$ac_try_echo") >&5 | |
6150 (eval "$ac_compile") 2>conftest.er1 | |
6151 ac_status=$? | |
6152 grep -v '^ *+' conftest.er1 >conftest.err | |
6153 rm -f conftest.er1 | |
6154 cat conftest.err >&5 | |
6155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6156 (exit $ac_status); } && { | |
6157 test -z "$ac_c_werror_flag" || | |
6158 test ! -s conftest.err | |
6159 } && test -s conftest.$ac_objext; then | |
6160 ac_cv_sys_large_files=no; break | 5705 ac_cv_sys_large_files=no; break |
6161 else | 5706 fi |
6162 $as_echo "$as_me: failed program was:" >&5 | |
6163 sed 's/^/| /' conftest.$ac_ext >&5 | |
6164 | |
6165 | |
6166 fi | |
6167 | |
6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6169 cat >conftest.$ac_ext <<_ACEOF | 5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6170 /* confdefs.h. */ | |
6171 _ACEOF | |
6172 cat confdefs.h >>conftest.$ac_ext | |
6173 cat >>conftest.$ac_ext <<_ACEOF | |
6174 /* end confdefs.h. */ | 5709 /* end confdefs.h. */ |
6175 #define _LARGE_FILES 1 | 5710 #define _LARGE_FILES 1 |
6176 #include <sys/types.h> | 5711 #include <sys/types.h> |
6177 /* Check that off_t can represent 2**63 - 1 correctly. | 5712 /* Check that off_t can represent 2**63 - 1 correctly. |
6178 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 5713 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
6188 | 5723 |
6189 ; | 5724 ; |
6190 return 0; | 5725 return 0; |
6191 } | 5726 } |
6192 _ACEOF | 5727 _ACEOF |
6193 rm -f conftest.$ac_objext | 5728 if ac_fn_c_try_compile "$LINENO"; then : |
6194 if { (ac_try="$ac_compile" | |
6195 case "(($ac_try" in | |
6196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6197 *) ac_try_echo=$ac_try;; | |
6198 esac | |
6199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6200 $as_echo "$ac_try_echo") >&5 | |
6201 (eval "$ac_compile") 2>conftest.er1 | |
6202 ac_status=$? | |
6203 grep -v '^ *+' conftest.er1 >conftest.err | |
6204 rm -f conftest.er1 | |
6205 cat conftest.err >&5 | |
6206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6207 (exit $ac_status); } && { | |
6208 test -z "$ac_c_werror_flag" || | |
6209 test ! -s conftest.err | |
6210 } && test -s conftest.$ac_objext; then | |
6211 ac_cv_sys_large_files=1; break | 5729 ac_cv_sys_large_files=1; break |
6212 else | 5730 fi |
6213 $as_echo "$as_me: failed program was:" >&5 | |
6214 sed 's/^/| /' conftest.$ac_ext >&5 | |
6215 | |
6216 | |
6217 fi | |
6218 | |
6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6220 ac_cv_sys_large_files=unknown | 5732 ac_cv_sys_large_files=unknown |
6221 break | 5733 break |
6222 done | 5734 done |
6223 fi | 5735 fi |
6224 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | 5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 |
6225 $as_echo "$ac_cv_sys_large_files" >&6; } | 5737 $as_echo "$ac_cv_sys_large_files" >&6; } |
6226 case $ac_cv_sys_large_files in #( | 5738 case $ac_cv_sys_large_files in #( |
6227 no | unknown) ;; | 5739 no | unknown) ;; |
6228 *) | 5740 *) |
6229 cat >>confdefs.h <<_ACEOF | 5741 cat >>confdefs.h <<_ACEOF |
6253 CRT_DIR=/usr/lib | 5765 CRT_DIR=/usr/lib |
6254 test -e /usr/lib64/crtn.o && CRT_DIR=/usr/lib64 | 5766 test -e /usr/lib64/crtn.o && CRT_DIR=/usr/lib64 |
6255 fi | 5767 fi |
6256 | 5768 |
6257 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 5769 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
6258 { { $as_echo "$as_me:$LINENO: error: crt*.o not found. Use --with-crt-dir to specify the location." >&5 | 5770 as_fn_error "crt*.o not found. Use --with-crt-dir to specify the location." "$LINENO" 5 |
6259 $as_echo "$as_me: error: crt*.o not found. Use --with-crt-dir to specify the location." >&2;} | |
6260 { (exit 1); exit 1; }; } | |
6261 ;; | 5771 ;; |
6262 | 5772 |
6263 esac | 5773 esac |
6264 test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib | 5774 test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib |
6265 | 5775 |
6268 | 5778 |
6269 | 5779 |
6270 | 5780 |
6271 if test "${with_sound}" != "no"; then | 5781 if test "${with_sound}" != "no"; then |
6272 # Sound support for GNU/Linux and the free BSDs. | 5782 # Sound support for GNU/Linux and the free BSDs. |
6273 | 5783 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
6274 | 5784 do : |
6275 | 5785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6276 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 5786 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6277 do | 5787 eval as_val=\$$as_ac_Header |
6278 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5788 if test "x$as_val" = x""yes; then : |
6279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6280 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
6281 $as_echo_n "checking for $ac_header... " >&6; } | |
6282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6283 $as_echo_n "(cached) " >&6 | |
6284 fi | |
6285 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
6286 $as_echo "$as_val"'` | |
6287 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6288 $as_echo "$ac_res" >&6; } | |
6289 else | |
6290 # Is the header compilable? | |
6291 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
6292 $as_echo_n "checking $ac_header usability... " >&6; } | |
6293 cat >conftest.$ac_ext <<_ACEOF | |
6294 /* confdefs.h. */ | |
6295 _ACEOF | |
6296 cat confdefs.h >>conftest.$ac_ext | |
6297 cat >>conftest.$ac_ext <<_ACEOF | |
6298 /* end confdefs.h. */ | |
6299 $ac_includes_default | |
6300 #include <$ac_header> | |
6301 _ACEOF | |
6302 rm -f conftest.$ac_objext | |
6303 if { (ac_try="$ac_compile" | |
6304 case "(($ac_try" in | |
6305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6306 *) ac_try_echo=$ac_try;; | |
6307 esac | |
6308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6309 $as_echo "$ac_try_echo") >&5 | |
6310 (eval "$ac_compile") 2>conftest.er1 | |
6311 ac_status=$? | |
6312 grep -v '^ *+' conftest.er1 >conftest.err | |
6313 rm -f conftest.er1 | |
6314 cat conftest.err >&5 | |
6315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6316 (exit $ac_status); } && { | |
6317 test -z "$ac_c_werror_flag" || | |
6318 test ! -s conftest.err | |
6319 } && test -s conftest.$ac_objext; then | |
6320 ac_header_compiler=yes | |
6321 else | |
6322 $as_echo "$as_me: failed program was:" >&5 | |
6323 sed 's/^/| /' conftest.$ac_ext >&5 | |
6324 | |
6325 ac_header_compiler=no | |
6326 fi | |
6327 | |
6328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6329 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6330 $as_echo "$ac_header_compiler" >&6; } | |
6331 | |
6332 # Is the header present? | |
6333 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
6334 $as_echo_n "checking $ac_header presence... " >&6; } | |
6335 cat >conftest.$ac_ext <<_ACEOF | |
6336 /* confdefs.h. */ | |
6337 _ACEOF | |
6338 cat confdefs.h >>conftest.$ac_ext | |
6339 cat >>conftest.$ac_ext <<_ACEOF | |
6340 /* end confdefs.h. */ | |
6341 #include <$ac_header> | |
6342 _ACEOF | |
6343 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6344 case "(($ac_try" in | |
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6346 *) ac_try_echo=$ac_try;; | |
6347 esac | |
6348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6349 $as_echo "$ac_try_echo") >&5 | |
6350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6351 ac_status=$? | |
6352 grep -v '^ *+' conftest.er1 >conftest.err | |
6353 rm -f conftest.er1 | |
6354 cat conftest.err >&5 | |
6355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6356 (exit $ac_status); } >/dev/null && { | |
6357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
6358 test ! -s conftest.err | |
6359 }; then | |
6360 ac_header_preproc=yes | |
6361 else | |
6362 $as_echo "$as_me: failed program was:" >&5 | |
6363 sed 's/^/| /' conftest.$ac_ext >&5 | |
6364 | |
6365 ac_header_preproc=no | |
6366 fi | |
6367 | |
6368 rm -f conftest.err conftest.$ac_ext | |
6369 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
6370 $as_echo "$ac_header_preproc" >&6; } | |
6371 | |
6372 # So? What about this header? | |
6373 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
6374 yes:no: ) | |
6375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
6376 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
6377 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
6378 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
6379 ac_header_preproc=yes | |
6380 ;; | |
6381 no:yes:* ) | |
6382 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
6383 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
6384 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
6385 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
6386 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
6387 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
6388 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
6389 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
6390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
6391 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
6392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
6393 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
6394 | |
6395 ;; | |
6396 esac | |
6397 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
6398 $as_echo_n "checking for $ac_header... " >&6; } | |
6399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6400 $as_echo_n "(cached) " >&6 | |
6401 else | |
6402 eval "$as_ac_Header=\$ac_header_preproc" | |
6403 fi | |
6404 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
6405 $as_echo "$as_val"'` | |
6406 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6407 $as_echo "$ac_res" >&6; } | |
6408 | |
6409 fi | |
6410 if test `eval 'as_val=${'$as_ac_Header'} | |
6411 $as_echo "$as_val"'` = yes; then | |
6412 cat >>confdefs.h <<_ACEOF | 5789 cat >>confdefs.h <<_ACEOF |
6413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6414 _ACEOF | 5791 _ACEOF |
6415 | 5792 |
6416 fi | 5793 fi |
6417 | 5794 |
6418 done | 5795 done |
6419 | 5796 |
6420 # Emulation library used on NetBSD. | 5797 # Emulation library used on NetBSD. |
6421 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 | 5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 |
6422 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | 5799 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } |
6423 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then | 5800 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : |
6424 $as_echo_n "(cached) " >&6 | 5801 $as_echo_n "(cached) " >&6 |
6425 else | 5802 else |
6426 ac_check_lib_save_LIBS=$LIBS | 5803 ac_check_lib_save_LIBS=$LIBS |
6427 LIBS="-lossaudio $LIBS" | 5804 LIBS="-lossaudio $LIBS" |
6428 cat >conftest.$ac_ext <<_ACEOF | 5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6429 /* confdefs.h. */ | |
6430 _ACEOF | |
6431 cat confdefs.h >>conftest.$ac_ext | |
6432 cat >>conftest.$ac_ext <<_ACEOF | |
6433 /* end confdefs.h. */ | 5806 /* end confdefs.h. */ |
6434 | 5807 |
6435 /* Override any GCC internal prototype to avoid an error. | 5808 /* Override any GCC internal prototype to avoid an error. |
6436 Use char because int might match the return type of a GCC | 5809 Use char because int might match the return type of a GCC |
6437 builtin and then its argument prototype would still apply. */ | 5810 builtin and then its argument prototype would still apply. */ |
6445 return _oss_ioctl (); | 5818 return _oss_ioctl (); |
6446 ; | 5819 ; |
6447 return 0; | 5820 return 0; |
6448 } | 5821 } |
6449 _ACEOF | 5822 _ACEOF |
6450 rm -f conftest.$ac_objext conftest$ac_exeext | 5823 if ac_fn_c_try_link "$LINENO"; then : |
6451 if { (ac_try="$ac_link" | |
6452 case "(($ac_try" in | |
6453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6454 *) ac_try_echo=$ac_try;; | |
6455 esac | |
6456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6457 $as_echo "$ac_try_echo") >&5 | |
6458 (eval "$ac_link") 2>conftest.er1 | |
6459 ac_status=$? | |
6460 grep -v '^ *+' conftest.er1 >conftest.err | |
6461 rm -f conftest.er1 | |
6462 cat conftest.err >&5 | |
6463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6464 (exit $ac_status); } && { | |
6465 test -z "$ac_c_werror_flag" || | |
6466 test ! -s conftest.err | |
6467 } && test -s conftest$ac_exeext && { | |
6468 test "$cross_compiling" = yes || | |
6469 $as_test_x conftest$ac_exeext | |
6470 }; then | |
6471 ac_cv_lib_ossaudio__oss_ioctl=yes | 5824 ac_cv_lib_ossaudio__oss_ioctl=yes |
6472 else | 5825 else |
6473 $as_echo "$as_me: failed program was:" >&5 | 5826 ac_cv_lib_ossaudio__oss_ioctl=no |
6474 sed 's/^/| /' conftest.$ac_ext >&5 | 5827 fi |
6475 | 5828 rm -f core conftest.err conftest.$ac_objext \ |
6476 ac_cv_lib_ossaudio__oss_ioctl=no | 5829 conftest$ac_exeext conftest.$ac_ext |
6477 fi | |
6478 | |
6479 rm -rf conftest.dSYM | |
6480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6481 conftest$ac_exeext conftest.$ac_ext | |
6482 LIBS=$ac_check_lib_save_LIBS | 5830 LIBS=$ac_check_lib_save_LIBS |
6483 fi | 5831 fi |
6484 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
6485 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 5833 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
6486 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then | 5834 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : |
6487 LIBSOUND=-lossaudio | 5835 LIBSOUND=-lossaudio |
6488 else | 5836 else |
6489 LIBSOUND= | 5837 LIBSOUND= |
6490 fi | 5838 fi |
6491 | 5839 |
6496 | 5844 |
6497 succeeded=no | 5845 succeeded=no |
6498 | 5846 |
6499 # Extract the first word of "pkg-config", so it can be a program name with args. | 5847 # Extract the first word of "pkg-config", so it can be a program name with args. |
6500 set dummy pkg-config; ac_word=$2 | 5848 set dummy pkg-config; ac_word=$2 |
6501 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6502 $as_echo_n "checking for $ac_word... " >&6; } | 5850 $as_echo_n "checking for $ac_word... " >&6; } |
6503 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 5851 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
6504 $as_echo_n "(cached) " >&6 | 5852 $as_echo_n "(cached) " >&6 |
6505 else | 5853 else |
6506 case $PKG_CONFIG in | 5854 case $PKG_CONFIG in |
6507 [\\/]* | ?:[\\/]*) | 5855 [\\/]* | ?:[\\/]*) |
6508 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 5856 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6512 for as_dir in $PATH | 5860 for as_dir in $PATH |
6513 do | 5861 do |
6514 IFS=$as_save_IFS | 5862 IFS=$as_save_IFS |
6515 test -z "$as_dir" && as_dir=. | 5863 test -z "$as_dir" && as_dir=. |
6516 for ac_exec_ext in '' $ac_executable_extensions; do | 5864 for ac_exec_ext in '' $ac_executable_extensions; do |
6517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6518 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5866 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6520 break 2 | 5868 break 2 |
6521 fi | 5869 fi |
6522 done | 5870 done |
6523 done | 5871 done |
6524 IFS=$as_save_IFS | 5872 IFS=$as_save_IFS |
6525 | 5873 |
6526 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 5874 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
6527 ;; | 5875 ;; |
6528 esac | 5876 esac |
6529 fi | 5877 fi |
6530 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 5878 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6531 if test -n "$PKG_CONFIG"; then | 5879 if test -n "$PKG_CONFIG"; then |
6532 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
6533 $as_echo "$PKG_CONFIG" >&6; } | 5881 $as_echo "$PKG_CONFIG" >&6; } |
6534 else | 5882 else |
6535 { $as_echo "$as_me:$LINENO: result: no" >&5 | 5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6536 $as_echo "no" >&6; } | 5884 $as_echo "no" >&6; } |
6537 fi | 5885 fi |
6538 | 5886 |
6539 | 5887 |
6540 | 5888 |
6541 if test "$PKG_CONFIG" = "no" ; then | 5889 if test "$PKG_CONFIG" = "no" ; then |
6542 HAVE_ALSA=no | 5890 HAVE_ALSA=no |
6543 else | 5891 else |
6544 PKG_CONFIG_MIN_VERSION=0.9.0 | 5892 PKG_CONFIG_MIN_VERSION=0.9.0 |
6545 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 5893 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
6546 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 | 5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 |
6547 $as_echo_n "checking for $ALSA_MODULES... " >&6; } | 5895 $as_echo_n "checking for $ALSA_MODULES... " >&6; } |
6548 | 5896 |
6549 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 5897 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
6550 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6551 $as_echo "yes" >&6; } | 5899 $as_echo "yes" >&6; } |
6552 succeeded=yes | 5900 succeeded=yes |
6553 | 5901 |
6554 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 | 5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 |
6555 $as_echo_n "checking ALSA_CFLAGS... " >&6; } | 5903 $as_echo_n "checking ALSA_CFLAGS... " >&6; } |
6556 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 5904 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
6557 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 | 5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 |
6558 $as_echo "$ALSA_CFLAGS" >&6; } | 5906 $as_echo "$ALSA_CFLAGS" >&6; } |
6559 | 5907 |
6560 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 | 5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 |
6561 $as_echo_n "checking ALSA_LIBS... " >&6; } | 5909 $as_echo_n "checking ALSA_LIBS... " >&6; } |
6562 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 5910 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
6563 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 | 5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 |
6564 $as_echo "$ALSA_LIBS" >&6; } | 5912 $as_echo "$ALSA_LIBS" >&6; } |
6565 else | 5913 else |
6566 { $as_echo "$as_me:$LINENO: result: no" >&5 | 5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6567 $as_echo "no" >&6; } | 5915 $as_echo "no" >&6; } |
6568 ALSA_CFLAGS="" | 5916 ALSA_CFLAGS="" |
6569 ALSA_LIBS="" | 5917 ALSA_LIBS="" |
6570 ## If we have a custom action on failure, don't print errors, but | 5918 ## If we have a custom action on failure, don't print errors, but |
6571 ## do set a variable so people can do so. | 5919 ## do set a variable so people can do so. |
6590 if test $HAVE_ALSA = yes; then | 5938 if test $HAVE_ALSA = yes; then |
6591 SAVE_CFLAGS="$CFLAGS" | 5939 SAVE_CFLAGS="$CFLAGS" |
6592 SAVE_LDFLAGS="$LDFLAGS" | 5940 SAVE_LDFLAGS="$LDFLAGS" |
6593 CFLAGS="$ALSA_CFLAGS $CFLAGS" | 5941 CFLAGS="$ALSA_CFLAGS $CFLAGS" |
6594 LDFLAGS="$ALSA_LIBS $LDFLAGS" | 5942 LDFLAGS="$ALSA_LIBS $LDFLAGS" |
6595 cat >conftest.$ac_ext <<_ACEOF | 5943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6596 /* confdefs.h. */ | |
6597 _ACEOF | |
6598 cat confdefs.h >>conftest.$ac_ext | |
6599 cat >>conftest.$ac_ext <<_ACEOF | |
6600 /* end confdefs.h. */ | 5944 /* end confdefs.h. */ |
6601 #include <asoundlib.h> | 5945 #include <asoundlib.h> |
6602 int | 5946 int |
6603 main () | 5947 main () |
6604 { | 5948 { |
6605 snd_lib_error_set_handler (0); | 5949 snd_lib_error_set_handler (0); |
6606 ; | 5950 ; |
6607 return 0; | 5951 return 0; |
6608 } | 5952 } |
6609 _ACEOF | 5953 _ACEOF |
6610 rm -f conftest.$ac_objext | 5954 if ac_fn_c_try_compile "$LINENO"; then : |
6611 if { (ac_try="$ac_compile" | |
6612 case "(($ac_try" in | |
6613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6614 *) ac_try_echo=$ac_try;; | |
6615 esac | |
6616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6617 $as_echo "$ac_try_echo") >&5 | |
6618 (eval "$ac_compile") 2>conftest.er1 | |
6619 ac_status=$? | |
6620 grep -v '^ *+' conftest.er1 >conftest.err | |
6621 rm -f conftest.er1 | |
6622 cat conftest.err >&5 | |
6623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6624 (exit $ac_status); } && { | |
6625 test -z "$ac_c_werror_flag" || | |
6626 test ! -s conftest.err | |
6627 } && test -s conftest.$ac_objext; then | |
6628 emacs_alsa_normal=yes | 5955 emacs_alsa_normal=yes |
6629 else | 5956 else |
6630 $as_echo "$as_me: failed program was:" >&5 | 5957 emacs_alsa_normal=no |
6631 sed 's/^/| /' conftest.$ac_ext >&5 | 5958 fi |
6632 | |
6633 emacs_alsa_normal=no | |
6634 fi | |
6635 | |
6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6637 if test "$emacs_alsa_normal" != yes; then | 5960 if test "$emacs_alsa_normal" != yes; then |
6638 cat >conftest.$ac_ext <<_ACEOF | 5961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6639 /* confdefs.h. */ | |
6640 _ACEOF | |
6641 cat confdefs.h >>conftest.$ac_ext | |
6642 cat >>conftest.$ac_ext <<_ACEOF | |
6643 /* end confdefs.h. */ | 5962 /* end confdefs.h. */ |
6644 #include <alsa/asoundlib.h> | 5963 #include <alsa/asoundlib.h> |
6645 int | 5964 int |
6646 main () | 5965 main () |
6647 { | 5966 { |
6648 snd_lib_error_set_handler (0); | 5967 snd_lib_error_set_handler (0); |
6649 ; | 5968 ; |
6650 return 0; | 5969 return 0; |
6651 } | 5970 } |
6652 _ACEOF | 5971 _ACEOF |
6653 rm -f conftest.$ac_objext | 5972 if ac_fn_c_try_compile "$LINENO"; then : |
6654 if { (ac_try="$ac_compile" | |
6655 case "(($ac_try" in | |
6656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6657 *) ac_try_echo=$ac_try;; | |
6658 esac | |
6659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6660 $as_echo "$ac_try_echo") >&5 | |
6661 (eval "$ac_compile") 2>conftest.er1 | |
6662 ac_status=$? | |
6663 grep -v '^ *+' conftest.er1 >conftest.err | |
6664 rm -f conftest.er1 | |
6665 cat conftest.err >&5 | |
6666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6667 (exit $ac_status); } && { | |
6668 test -z "$ac_c_werror_flag" || | |
6669 test ! -s conftest.err | |
6670 } && test -s conftest.$ac_objext; then | |
6671 emacs_alsa_subdir=yes | 5973 emacs_alsa_subdir=yes |
6672 else | 5974 else |
6673 $as_echo "$as_me: failed program was:" >&5 | 5975 emacs_alsa_subdir=no |
6674 sed 's/^/| /' conftest.$ac_ext >&5 | 5976 fi |
6675 | |
6676 emacs_alsa_subdir=no | |
6677 fi | |
6678 | |
6679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6680 if test "$emacs_alsa_subdir" != yes; then | 5978 if test "$emacs_alsa_subdir" != yes; then |
6681 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 | 5979 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 |
6682 $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} | |
6683 { (exit 1); exit 1; }; } | |
6684 fi | 5980 fi |
6685 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 5981 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
6686 fi | 5982 fi |
6687 | 5983 |
6688 CFLAGS="$SAVE_CFLAGS" | 5984 CFLAGS="$SAVE_CFLAGS" |
6689 LDFLAGS="$SAVE_LDFLAGS" | 5985 LDFLAGS="$SAVE_LDFLAGS" |
6690 LIBSOUND="$LIBSOUND $ALSA_LIBS" | 5986 LIBSOUND="$LIBSOUND $ALSA_LIBS" |
6691 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" | 5987 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
6692 | 5988 |
6693 cat >>confdefs.h <<\_ACEOF | 5989 $as_echo "#define HAVE_ALSA 1" >>confdefs.h |
6694 #define HAVE_ALSA 1 | |
6695 _ACEOF | |
6696 | 5990 |
6697 fi | 5991 fi |
6698 | 5992 |
6699 fi | 5993 fi |
6700 | |
6701 | |
6702 | |
6703 | |
6704 | |
6705 | |
6706 | |
6707 | |
6708 | |
6709 | |
6710 | |
6711 | |
6712 | |
6713 | |
6714 | |
6715 | |
6716 | |
6717 | |
6718 | |
6719 | |
6720 | |
6721 | |
6722 | |
6723 | |
6724 | |
6725 | 5994 |
6726 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 5995 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
6727 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 5996 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
6728 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 5997 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
6729 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 5998 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6730 sys/utsname.h pwd.h utmp.h | 5999 sys/utsname.h pwd.h utmp.h |
6731 do | 6000 do : |
6732 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6002 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6734 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6003 eval as_val=\$$as_ac_Header |
6735 $as_echo_n "checking for $ac_header... " >&6; } | 6004 if test "x$as_val" = x""yes; then : |
6736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6737 $as_echo_n "(cached) " >&6 | |
6738 fi | |
6739 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
6740 $as_echo "$as_val"'` | |
6741 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6742 $as_echo "$ac_res" >&6; } | |
6743 else | |
6744 # Is the header compilable? | |
6745 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
6746 $as_echo_n "checking $ac_header usability... " >&6; } | |
6747 cat >conftest.$ac_ext <<_ACEOF | |
6748 /* confdefs.h. */ | |
6749 _ACEOF | |
6750 cat confdefs.h >>conftest.$ac_ext | |
6751 cat >>conftest.$ac_ext <<_ACEOF | |
6752 /* end confdefs.h. */ | |
6753 $ac_includes_default | |
6754 #include <$ac_header> | |
6755 _ACEOF | |
6756 rm -f conftest.$ac_objext | |
6757 if { (ac_try="$ac_compile" | |
6758 case "(($ac_try" in | |
6759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6760 *) ac_try_echo=$ac_try;; | |
6761 esac | |
6762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6763 $as_echo "$ac_try_echo") >&5 | |
6764 (eval "$ac_compile") 2>conftest.er1 | |
6765 ac_status=$? | |
6766 grep -v '^ *+' conftest.er1 >conftest.err | |
6767 rm -f conftest.er1 | |
6768 cat conftest.err >&5 | |
6769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6770 (exit $ac_status); } && { | |
6771 test -z "$ac_c_werror_flag" || | |
6772 test ! -s conftest.err | |
6773 } && test -s conftest.$ac_objext; then | |
6774 ac_header_compiler=yes | |
6775 else | |
6776 $as_echo "$as_me: failed program was:" >&5 | |
6777 sed 's/^/| /' conftest.$ac_ext >&5 | |
6778 | |
6779 ac_header_compiler=no | |
6780 fi | |
6781 | |
6782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6783 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6784 $as_echo "$ac_header_compiler" >&6; } | |
6785 | |
6786 # Is the header present? | |
6787 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
6788 $as_echo_n "checking $ac_header presence... " >&6; } | |
6789 cat >conftest.$ac_ext <<_ACEOF | |
6790 /* confdefs.h. */ | |
6791 _ACEOF | |
6792 cat confdefs.h >>conftest.$ac_ext | |
6793 cat >>conftest.$ac_ext <<_ACEOF | |
6794 /* end confdefs.h. */ | |
6795 #include <$ac_header> | |
6796 _ACEOF | |
6797 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6798 case "(($ac_try" in | |
6799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6800 *) ac_try_echo=$ac_try;; | |
6801 esac | |
6802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6803 $as_echo "$ac_try_echo") >&5 | |
6804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6805 ac_status=$? | |
6806 grep -v '^ *+' conftest.er1 >conftest.err | |
6807 rm -f conftest.er1 | |
6808 cat conftest.err >&5 | |
6809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6810 (exit $ac_status); } >/dev/null && { | |
6811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
6812 test ! -s conftest.err | |
6813 }; then | |
6814 ac_header_preproc=yes | |
6815 else | |
6816 $as_echo "$as_me: failed program was:" >&5 | |
6817 sed 's/^/| /' conftest.$ac_ext >&5 | |
6818 | |
6819 ac_header_preproc=no | |
6820 fi | |
6821 | |
6822 rm -f conftest.err conftest.$ac_ext | |
6823 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
6824 $as_echo "$ac_header_preproc" >&6; } | |
6825 | |
6826 # So? What about this header? | |
6827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
6828 yes:no: ) | |
6829 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
6830 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
6831 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
6832 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
6833 ac_header_preproc=yes | |
6834 ;; | |
6835 no:yes:* ) | |
6836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
6837 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
6838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
6839 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
6840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
6841 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
6842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
6843 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
6844 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
6845 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
6846 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
6847 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
6848 | |
6849 ;; | |
6850 esac | |
6851 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
6852 $as_echo_n "checking for $ac_header... " >&6; } | |
6853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6854 $as_echo_n "(cached) " >&6 | |
6855 else | |
6856 eval "$as_ac_Header=\$ac_header_preproc" | |
6857 fi | |
6858 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
6859 $as_echo "$as_val"'` | |
6860 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6861 $as_echo "$ac_res" >&6; } | |
6862 | |
6863 fi | |
6864 if test `eval 'as_val=${'$as_ac_Header'} | |
6865 $as_echo "$as_val"'` = yes; then | |
6866 cat >>confdefs.h <<_ACEOF | 6005 cat >>confdefs.h <<_ACEOF |
6867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6868 _ACEOF | 6007 _ACEOF |
6869 | 6008 |
6870 fi | 6009 fi |
6871 | 6010 |
6872 done | 6011 done |
6873 | 6012 |
6874 | 6013 |
6875 { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 | 6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 |
6876 $as_echo_n "checking if personality LINUX32 can be set... " >&6; } | 6015 $as_echo_n "checking if personality LINUX32 can be set... " >&6; } |
6877 cat >conftest.$ac_ext <<_ACEOF | 6016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6878 /* confdefs.h. */ | |
6879 _ACEOF | |
6880 cat confdefs.h >>conftest.$ac_ext | |
6881 cat >>conftest.$ac_ext <<_ACEOF | |
6882 /* end confdefs.h. */ | 6017 /* end confdefs.h. */ |
6883 #include <sys/personality.h> | 6018 #include <sys/personality.h> |
6884 int | 6019 int |
6885 main () | 6020 main () |
6886 { | 6021 { |
6887 personality (PER_LINUX32) | 6022 personality (PER_LINUX32) |
6888 ; | 6023 ; |
6889 return 0; | 6024 return 0; |
6890 } | 6025 } |
6891 _ACEOF | 6026 _ACEOF |
6892 rm -f conftest.$ac_objext | 6027 if ac_fn_c_try_compile "$LINENO"; then : |
6893 if { (ac_try="$ac_compile" | |
6894 case "(($ac_try" in | |
6895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6896 *) ac_try_echo=$ac_try;; | |
6897 esac | |
6898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6899 $as_echo "$ac_try_echo") >&5 | |
6900 (eval "$ac_compile") 2>conftest.er1 | |
6901 ac_status=$? | |
6902 grep -v '^ *+' conftest.er1 >conftest.err | |
6903 rm -f conftest.er1 | |
6904 cat conftest.err >&5 | |
6905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6906 (exit $ac_status); } && { | |
6907 test -z "$ac_c_werror_flag" || | |
6908 test ! -s conftest.err | |
6909 } && test -s conftest.$ac_objext; then | |
6910 emacs_cv_personality_linux32=yes | 6028 emacs_cv_personality_linux32=yes |
6911 else | 6029 else |
6912 $as_echo "$as_me: failed program was:" >&5 | 6030 emacs_cv_personality_linux32=no |
6913 sed 's/^/| /' conftest.$ac_ext >&5 | 6031 fi |
6914 | |
6915 emacs_cv_personality_linux32=no | |
6916 fi | |
6917 | |
6918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6919 { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 | 6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5 |
6920 $as_echo "$emacs_cv_personality_linux32" >&6; } | 6034 $as_echo "$emacs_cv_personality_linux32" >&6; } |
6921 | 6035 |
6922 if test $emacs_cv_personality_linux32 = yes; then | 6036 if test $emacs_cv_personality_linux32 = yes; then |
6923 | 6037 |
6924 cat >>confdefs.h <<\_ACEOF | 6038 $as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h |
6925 #define HAVE_PERSONALITY_LINUX32 1 | 6039 |
6926 _ACEOF | 6040 fi |
6927 | |
6928 fi | |
6929 | |
6930 | 6041 |
6931 for ac_header in term.h | 6042 for ac_header in term.h |
6932 do | 6043 do : |
6933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6044 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" |
6934 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6045 if test "x$ac_cv_header_term_h" = x""yes; then : |
6935 $as_echo_n "checking for $ac_header... " >&6; } | 6046 cat >>confdefs.h <<_ACEOF |
6936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6047 #define HAVE_TERM_H 1 |
6048 _ACEOF | |
6049 | |
6050 fi | |
6051 | |
6052 done | |
6053 | |
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
6055 $as_echo_n "checking for ANSI C header files... " >&6; } | |
6056 if test "${ac_cv_header_stdc+set}" = set; then : | |
6937 $as_echo_n "(cached) " >&6 | 6057 $as_echo_n "(cached) " >&6 |
6938 else | 6058 else |
6939 cat >conftest.$ac_ext <<_ACEOF | 6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6940 /* confdefs.h. */ | |
6941 _ACEOF | |
6942 cat confdefs.h >>conftest.$ac_ext | |
6943 cat >>conftest.$ac_ext <<_ACEOF | |
6944 /* end confdefs.h. */ | |
6945 #include <$ac_header> | |
6946 _ACEOF | |
6947 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6948 case "(($ac_try" in | |
6949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6950 *) ac_try_echo=$ac_try;; | |
6951 esac | |
6952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6953 $as_echo "$ac_try_echo") >&5 | |
6954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6955 ac_status=$? | |
6956 grep -v '^ *+' conftest.er1 >conftest.err | |
6957 rm -f conftest.er1 | |
6958 cat conftest.err >&5 | |
6959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6960 (exit $ac_status); } >/dev/null && { | |
6961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
6962 test ! -s conftest.err | |
6963 }; then | |
6964 eval "$as_ac_Header=yes" | |
6965 else | |
6966 $as_echo "$as_me: failed program was:" >&5 | |
6967 sed 's/^/| /' conftest.$ac_ext >&5 | |
6968 | |
6969 eval "$as_ac_Header=no" | |
6970 fi | |
6971 | |
6972 rm -f conftest.err conftest.$ac_ext | |
6973 fi | |
6974 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
6975 $as_echo "$as_val"'` | |
6976 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6977 $as_echo "$ac_res" >&6; } | |
6978 if test `eval 'as_val=${'$as_ac_Header'} | |
6979 $as_echo "$as_val"'` = yes; then | |
6980 cat >>confdefs.h <<_ACEOF | |
6981 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
6982 _ACEOF | |
6983 | |
6984 fi | |
6985 | |
6986 done | |
6987 | |
6988 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
6989 $as_echo_n "checking for ANSI C header files... " >&6; } | |
6990 if test "${ac_cv_header_stdc+set}" = set; then | |
6991 $as_echo_n "(cached) " >&6 | |
6992 else | |
6993 cat >conftest.$ac_ext <<_ACEOF | |
6994 /* confdefs.h. */ | |
6995 _ACEOF | |
6996 cat confdefs.h >>conftest.$ac_ext | |
6997 cat >>conftest.$ac_ext <<_ACEOF | |
6998 /* end confdefs.h. */ | 6060 /* end confdefs.h. */ |
6999 #include <stdlib.h> | 6061 #include <stdlib.h> |
7000 #include <stdarg.h> | 6062 #include <stdarg.h> |
7001 #include <string.h> | 6063 #include <string.h> |
7002 #include <float.h> | 6064 #include <float.h> |
7007 | 6069 |
7008 ; | 6070 ; |
7009 return 0; | 6071 return 0; |
7010 } | 6072 } |
7011 _ACEOF | 6073 _ACEOF |
7012 rm -f conftest.$ac_objext | 6074 if ac_fn_c_try_compile "$LINENO"; then : |
7013 if { (ac_try="$ac_compile" | |
7014 case "(($ac_try" in | |
7015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7016 *) ac_try_echo=$ac_try;; | |
7017 esac | |
7018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7019 $as_echo "$ac_try_echo") >&5 | |
7020 (eval "$ac_compile") 2>conftest.er1 | |
7021 ac_status=$? | |
7022 grep -v '^ *+' conftest.er1 >conftest.err | |
7023 rm -f conftest.er1 | |
7024 cat conftest.err >&5 | |
7025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7026 (exit $ac_status); } && { | |
7027 test -z "$ac_c_werror_flag" || | |
7028 test ! -s conftest.err | |
7029 } && test -s conftest.$ac_objext; then | |
7030 ac_cv_header_stdc=yes | 6075 ac_cv_header_stdc=yes |
7031 else | 6076 else |
7032 $as_echo "$as_me: failed program was:" >&5 | 6077 ac_cv_header_stdc=no |
7033 sed 's/^/| /' conftest.$ac_ext >&5 | 6078 fi |
7034 | |
7035 ac_cv_header_stdc=no | |
7036 fi | |
7037 | |
7038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7039 | 6080 |
7040 if test $ac_cv_header_stdc = yes; then | 6081 if test $ac_cv_header_stdc = yes; then |
7041 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 6082 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
7042 cat >conftest.$ac_ext <<_ACEOF | 6083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7043 /* confdefs.h. */ | |
7044 _ACEOF | |
7045 cat confdefs.h >>conftest.$ac_ext | |
7046 cat >>conftest.$ac_ext <<_ACEOF | |
7047 /* end confdefs.h. */ | 6084 /* end confdefs.h. */ |
7048 #include <string.h> | 6085 #include <string.h> |
7049 | 6086 |
7050 _ACEOF | 6087 _ACEOF |
7051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7052 $EGREP "memchr" >/dev/null 2>&1; then | 6089 $EGREP "memchr" >/dev/null 2>&1; then : |
7053 : | 6090 |
7054 else | 6091 else |
7055 ac_cv_header_stdc=no | 6092 ac_cv_header_stdc=no |
7056 fi | 6093 fi |
7057 rm -f conftest* | 6094 rm -f conftest* |
7058 | 6095 |
7059 fi | 6096 fi |
7060 | 6097 |
7061 if test $ac_cv_header_stdc = yes; then | 6098 if test $ac_cv_header_stdc = yes; then |
7062 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 6099 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
7063 cat >conftest.$ac_ext <<_ACEOF | 6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7064 /* confdefs.h. */ | |
7065 _ACEOF | |
7066 cat confdefs.h >>conftest.$ac_ext | |
7067 cat >>conftest.$ac_ext <<_ACEOF | |
7068 /* end confdefs.h. */ | 6101 /* end confdefs.h. */ |
7069 #include <stdlib.h> | 6102 #include <stdlib.h> |
7070 | 6103 |
7071 _ACEOF | 6104 _ACEOF |
7072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7073 $EGREP "free" >/dev/null 2>&1; then | 6106 $EGREP "free" >/dev/null 2>&1; then : |
7074 : | 6107 |
7075 else | 6108 else |
7076 ac_cv_header_stdc=no | 6109 ac_cv_header_stdc=no |
7077 fi | 6110 fi |
7078 rm -f conftest* | 6111 rm -f conftest* |
7079 | 6112 |
7080 fi | 6113 fi |
7081 | 6114 |
7082 if test $ac_cv_header_stdc = yes; then | 6115 if test $ac_cv_header_stdc = yes; then |
7083 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 6116 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
7084 if test "$cross_compiling" = yes; then | 6117 if test "$cross_compiling" = yes; then : |
7085 : | 6118 : |
7086 else | 6119 else |
7087 cat >conftest.$ac_ext <<_ACEOF | 6120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7088 /* confdefs.h. */ | |
7089 _ACEOF | |
7090 cat confdefs.h >>conftest.$ac_ext | |
7091 cat >>conftest.$ac_ext <<_ACEOF | |
7092 /* end confdefs.h. */ | 6121 /* end confdefs.h. */ |
7093 #include <ctype.h> | 6122 #include <ctype.h> |
7094 #include <stdlib.h> | 6123 #include <stdlib.h> |
7095 #if ((' ' & 0x0FF) == 0x020) | 6124 #if ((' ' & 0x0FF) == 0x020) |
7096 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 6125 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
7113 || toupper (i) != TOUPPER (i)) | 6142 || toupper (i) != TOUPPER (i)) |
7114 return 2; | 6143 return 2; |
7115 return 0; | 6144 return 0; |
7116 } | 6145 } |
7117 _ACEOF | 6146 _ACEOF |
7118 rm -f conftest$ac_exeext | 6147 if ac_fn_c_try_run "$LINENO"; then : |
7119 if { (ac_try="$ac_link" | 6148 |
7120 case "(($ac_try" in | 6149 else |
7121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6150 ac_cv_header_stdc=no |
7122 *) ac_try_echo=$ac_try;; | 6151 fi |
7123 esac | 6152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
7124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 6153 conftest.$ac_objext conftest.beam conftest.$ac_ext |
7125 $as_echo "$ac_try_echo") >&5 | 6154 fi |
7126 (eval "$ac_link") 2>&5 | 6155 |
7127 ac_status=$? | 6156 fi |
7128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6157 fi |
7129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
7130 { (case "(($ac_try" in | |
7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7132 *) ac_try_echo=$ac_try;; | |
7133 esac | |
7134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7135 $as_echo "$ac_try_echo") >&5 | |
7136 (eval "$ac_try") 2>&5 | |
7137 ac_status=$? | |
7138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7139 (exit $ac_status); }; }; then | |
7140 : | |
7141 else | |
7142 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
7143 $as_echo "$as_me: failed program was:" >&5 | |
7144 sed 's/^/| /' conftest.$ac_ext >&5 | |
7145 | |
7146 ( exit $ac_status ) | |
7147 ac_cv_header_stdc=no | |
7148 fi | |
7149 rm -rf conftest.dSYM | |
7150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
7151 fi | |
7152 | |
7153 | |
7154 fi | |
7155 fi | |
7156 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
7157 $as_echo "$ac_cv_header_stdc" >&6; } | 6159 $as_echo "$ac_cv_header_stdc" >&6; } |
7158 if test $ac_cv_header_stdc = yes; then | 6160 if test $ac_cv_header_stdc = yes; then |
7159 | 6161 |
7160 cat >>confdefs.h <<\_ACEOF | 6162 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
7161 #define STDC_HEADERS 1 | 6163 |
7162 _ACEOF | 6164 fi |
7163 | 6165 |
7164 fi | 6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
7165 | |
7166 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | |
7167 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | 6167 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
7168 if test "${ac_cv_header_time+set}" = set; then | 6168 if test "${ac_cv_header_time+set}" = set; then : |
7169 $as_echo_n "(cached) " >&6 | 6169 $as_echo_n "(cached) " >&6 |
7170 else | 6170 else |
7171 cat >conftest.$ac_ext <<_ACEOF | 6171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7172 /* confdefs.h. */ | |
7173 _ACEOF | |
7174 cat confdefs.h >>conftest.$ac_ext | |
7175 cat >>conftest.$ac_ext <<_ACEOF | |
7176 /* end confdefs.h. */ | 6172 /* end confdefs.h. */ |
7177 #include <sys/types.h> | 6173 #include <sys/types.h> |
7178 #include <sys/time.h> | 6174 #include <sys/time.h> |
7179 #include <time.h> | 6175 #include <time.h> |
7180 | 6176 |
7185 return 0; | 6181 return 0; |
7186 ; | 6182 ; |
7187 return 0; | 6183 return 0; |
7188 } | 6184 } |
7189 _ACEOF | 6185 _ACEOF |
7190 rm -f conftest.$ac_objext | 6186 if ac_fn_c_try_compile "$LINENO"; then : |
7191 if { (ac_try="$ac_compile" | |
7192 case "(($ac_try" in | |
7193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7194 *) ac_try_echo=$ac_try;; | |
7195 esac | |
7196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7197 $as_echo "$ac_try_echo") >&5 | |
7198 (eval "$ac_compile") 2>conftest.er1 | |
7199 ac_status=$? | |
7200 grep -v '^ *+' conftest.er1 >conftest.err | |
7201 rm -f conftest.er1 | |
7202 cat conftest.err >&5 | |
7203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7204 (exit $ac_status); } && { | |
7205 test -z "$ac_c_werror_flag" || | |
7206 test ! -s conftest.err | |
7207 } && test -s conftest.$ac_objext; then | |
7208 ac_cv_header_time=yes | 6187 ac_cv_header_time=yes |
7209 else | 6188 else |
7210 $as_echo "$as_me: failed program was:" >&5 | 6189 ac_cv_header_time=no |
7211 sed 's/^/| /' conftest.$ac_ext >&5 | 6190 fi |
7212 | |
7213 ac_cv_header_time=no | |
7214 fi | |
7215 | |
7216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7217 fi | 6192 fi |
7218 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
7219 $as_echo "$ac_cv_header_time" >&6; } | 6194 $as_echo "$ac_cv_header_time" >&6; } |
7220 if test $ac_cv_header_time = yes; then | 6195 if test $ac_cv_header_time = yes; then |
7221 | 6196 |
7222 cat >>confdefs.h <<\_ACEOF | 6197 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
7223 #define TIME_WITH_SYS_TIME 1 | 6198 |
7224 _ACEOF | 6199 fi |
7225 | 6200 |
7226 fi | 6201 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" |
7227 | 6202 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : |
7228 { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 | 6203 ac_have_decl=1 |
7229 $as_echo_n "checking whether sys_siglist is declared... " >&6; } | 6204 else |
7230 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then | 6205 ac_have_decl=0 |
7231 $as_echo_n "(cached) " >&6 | 6206 fi |
7232 else | |
7233 cat >conftest.$ac_ext <<_ACEOF | |
7234 /* confdefs.h. */ | |
7235 _ACEOF | |
7236 cat confdefs.h >>conftest.$ac_ext | |
7237 cat >>conftest.$ac_ext <<_ACEOF | |
7238 /* end confdefs.h. */ | |
7239 $ac_includes_default | |
7240 int | |
7241 main () | |
7242 { | |
7243 #ifndef sys_siglist | |
7244 (void) sys_siglist; | |
7245 #endif | |
7246 | |
7247 ; | |
7248 return 0; | |
7249 } | |
7250 _ACEOF | |
7251 rm -f conftest.$ac_objext | |
7252 if { (ac_try="$ac_compile" | |
7253 case "(($ac_try" in | |
7254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7255 *) ac_try_echo=$ac_try;; | |
7256 esac | |
7257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7258 $as_echo "$ac_try_echo") >&5 | |
7259 (eval "$ac_compile") 2>conftest.er1 | |
7260 ac_status=$? | |
7261 grep -v '^ *+' conftest.er1 >conftest.err | |
7262 rm -f conftest.er1 | |
7263 cat conftest.err >&5 | |
7264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7265 (exit $ac_status); } && { | |
7266 test -z "$ac_c_werror_flag" || | |
7267 test ! -s conftest.err | |
7268 } && test -s conftest.$ac_objext; then | |
7269 ac_cv_have_decl_sys_siglist=yes | |
7270 else | |
7271 $as_echo "$as_me: failed program was:" >&5 | |
7272 sed 's/^/| /' conftest.$ac_ext >&5 | |
7273 | |
7274 ac_cv_have_decl_sys_siglist=no | |
7275 fi | |
7276 | |
7277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7278 fi | |
7279 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 | |
7280 $as_echo "$ac_cv_have_decl_sys_siglist" >&6; } | |
7281 if test $ac_cv_have_decl_sys_siglist = yes; then | |
7282 | 6207 |
7283 cat >>confdefs.h <<_ACEOF | 6208 cat >>confdefs.h <<_ACEOF |
7284 #define HAVE_DECL_SYS_SIGLIST 1 | 6209 #define HAVE_DECL_SYS_SIGLIST $ac_have_decl |
7285 _ACEOF | 6210 _ACEOF |
7286 | |
7287 | |
7288 else | |
7289 cat >>confdefs.h <<_ACEOF | |
7290 #define HAVE_DECL_SYS_SIGLIST 0 | |
7291 _ACEOF | |
7292 | |
7293 | |
7294 fi | |
7295 | |
7296 | 6211 |
7297 if test $ac_cv_have_decl_sys_siglist != yes; then | 6212 if test $ac_cv_have_decl_sys_siglist != yes; then |
7298 # For Tru64, at least: | 6213 # For Tru64, at least: |
7299 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 | 6214 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" |
7300 $as_echo_n "checking whether __sys_siglist is declared... " >&6; } | 6215 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : |
7301 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then | 6216 ac_have_decl=1 |
6217 else | |
6218 ac_have_decl=0 | |
6219 fi | |
6220 | |
6221 cat >>confdefs.h <<_ACEOF | |
6222 #define HAVE_DECL___SYS_SIGLIST $ac_have_decl | |
6223 _ACEOF | |
6224 | |
6225 if test $ac_cv_have_decl___sys_siglist = yes; then | |
6226 | |
6227 $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h | |
6228 | |
6229 fi | |
6230 fi | |
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 | |
6232 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } | |
6233 if test "${ac_cv_header_sys_wait_h+set}" = set; then : | |
7302 $as_echo_n "(cached) " >&6 | 6234 $as_echo_n "(cached) " >&6 |
7303 else | 6235 else |
7304 cat >conftest.$ac_ext <<_ACEOF | 6236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7305 /* confdefs.h. */ | |
7306 _ACEOF | |
7307 cat confdefs.h >>conftest.$ac_ext | |
7308 cat >>conftest.$ac_ext <<_ACEOF | |
7309 /* end confdefs.h. */ | |
7310 $ac_includes_default | |
7311 int | |
7312 main () | |
7313 { | |
7314 #ifndef __sys_siglist | |
7315 (void) __sys_siglist; | |
7316 #endif | |
7317 | |
7318 ; | |
7319 return 0; | |
7320 } | |
7321 _ACEOF | |
7322 rm -f conftest.$ac_objext | |
7323 if { (ac_try="$ac_compile" | |
7324 case "(($ac_try" in | |
7325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7326 *) ac_try_echo=$ac_try;; | |
7327 esac | |
7328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7329 $as_echo "$ac_try_echo") >&5 | |
7330 (eval "$ac_compile") 2>conftest.er1 | |
7331 ac_status=$? | |
7332 grep -v '^ *+' conftest.er1 >conftest.err | |
7333 rm -f conftest.er1 | |
7334 cat conftest.err >&5 | |
7335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7336 (exit $ac_status); } && { | |
7337 test -z "$ac_c_werror_flag" || | |
7338 test ! -s conftest.err | |
7339 } && test -s conftest.$ac_objext; then | |
7340 ac_cv_have_decl___sys_siglist=yes | |
7341 else | |
7342 $as_echo "$as_me: failed program was:" >&5 | |
7343 sed 's/^/| /' conftest.$ac_ext >&5 | |
7344 | |
7345 ac_cv_have_decl___sys_siglist=no | |
7346 fi | |
7347 | |
7348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7349 fi | |
7350 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 | |
7351 $as_echo "$ac_cv_have_decl___sys_siglist" >&6; } | |
7352 if test $ac_cv_have_decl___sys_siglist = yes; then | |
7353 | |
7354 cat >>confdefs.h <<_ACEOF | |
7355 #define HAVE_DECL___SYS_SIGLIST 1 | |
7356 _ACEOF | |
7357 | |
7358 | |
7359 else | |
7360 cat >>confdefs.h <<_ACEOF | |
7361 #define HAVE_DECL___SYS_SIGLIST 0 | |
7362 _ACEOF | |
7363 | |
7364 | |
7365 fi | |
7366 | |
7367 | |
7368 if test $ac_cv_have_decl___sys_siglist = yes; then | |
7369 | |
7370 cat >>confdefs.h <<\_ACEOF | |
7371 #define sys_siglist __sys_siglist | |
7372 _ACEOF | |
7373 | |
7374 fi | |
7375 fi | |
7376 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | |
7377 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } | |
7378 if test "${ac_cv_header_sys_wait_h+set}" = set; then | |
7379 $as_echo_n "(cached) " >&6 | |
7380 else | |
7381 cat >conftest.$ac_ext <<_ACEOF | |
7382 /* confdefs.h. */ | |
7383 _ACEOF | |
7384 cat confdefs.h >>conftest.$ac_ext | |
7385 cat >>conftest.$ac_ext <<_ACEOF | |
7386 /* end confdefs.h. */ | 6237 /* end confdefs.h. */ |
7387 #include <sys/types.h> | 6238 #include <sys/types.h> |
7388 #include <sys/wait.h> | 6239 #include <sys/wait.h> |
7389 #ifndef WEXITSTATUS | 6240 #ifndef WEXITSTATUS |
7390 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) | 6241 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
7401 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 6252 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
7402 ; | 6253 ; |
7403 return 0; | 6254 return 0; |
7404 } | 6255 } |
7405 _ACEOF | 6256 _ACEOF |
7406 rm -f conftest.$ac_objext | 6257 if ac_fn_c_try_compile "$LINENO"; then : |
7407 if { (ac_try="$ac_compile" | |
7408 case "(($ac_try" in | |
7409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7410 *) ac_try_echo=$ac_try;; | |
7411 esac | |
7412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7413 $as_echo "$ac_try_echo") >&5 | |
7414 (eval "$ac_compile") 2>conftest.er1 | |
7415 ac_status=$? | |
7416 grep -v '^ *+' conftest.er1 >conftest.err | |
7417 rm -f conftest.er1 | |
7418 cat conftest.err >&5 | |
7419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7420 (exit $ac_status); } && { | |
7421 test -z "$ac_c_werror_flag" || | |
7422 test ! -s conftest.err | |
7423 } && test -s conftest.$ac_objext; then | |
7424 ac_cv_header_sys_wait_h=yes | 6258 ac_cv_header_sys_wait_h=yes |
7425 else | 6259 else |
7426 $as_echo "$as_me: failed program was:" >&5 | 6260 ac_cv_header_sys_wait_h=no |
7427 sed 's/^/| /' conftest.$ac_ext >&5 | 6261 fi |
7428 | |
7429 ac_cv_header_sys_wait_h=no | |
7430 fi | |
7431 | |
7432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7433 fi | 6263 fi |
7434 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 |
7435 $as_echo "$ac_cv_header_sys_wait_h" >&6; } | 6265 $as_echo "$ac_cv_header_sys_wait_h" >&6; } |
7436 if test $ac_cv_header_sys_wait_h = yes; then | 6266 if test $ac_cv_header_sys_wait_h = yes; then |
7437 | 6267 |
7438 cat >>confdefs.h <<\_ACEOF | 6268 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h |
7439 #define HAVE_SYS_WAIT_H 1 | 6269 |
7440 _ACEOF | 6270 fi |
7441 | 6271 |
7442 fi | 6272 |
7443 | 6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 |
7444 | |
7445 { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 | |
7446 $as_echo_n "checking for struct utimbuf... " >&6; } | 6274 $as_echo_n "checking for struct utimbuf... " >&6; } |
7447 if test "${emacs_cv_struct_utimbuf+set}" = set; then | 6275 if test "${emacs_cv_struct_utimbuf+set}" = set; then : |
7448 $as_echo_n "(cached) " >&6 | 6276 $as_echo_n "(cached) " >&6 |
7449 else | 6277 else |
7450 cat >conftest.$ac_ext <<_ACEOF | 6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7451 /* confdefs.h. */ | |
7452 _ACEOF | |
7453 cat confdefs.h >>conftest.$ac_ext | |
7454 cat >>conftest.$ac_ext <<_ACEOF | |
7455 /* end confdefs.h. */ | 6279 /* end confdefs.h. */ |
7456 #ifdef TIME_WITH_SYS_TIME | 6280 #ifdef TIME_WITH_SYS_TIME |
7457 #include <sys/time.h> | 6281 #include <sys/time.h> |
7458 #include <time.h> | 6282 #include <time.h> |
7459 #else | 6283 #else |
7472 static struct utimbuf x; x.actime = x.modtime; | 6296 static struct utimbuf x; x.actime = x.modtime; |
7473 ; | 6297 ; |
7474 return 0; | 6298 return 0; |
7475 } | 6299 } |
7476 _ACEOF | 6300 _ACEOF |
7477 rm -f conftest.$ac_objext | 6301 if ac_fn_c_try_compile "$LINENO"; then : |
7478 if { (ac_try="$ac_compile" | |
7479 case "(($ac_try" in | |
7480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7481 *) ac_try_echo=$ac_try;; | |
7482 esac | |
7483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7484 $as_echo "$ac_try_echo") >&5 | |
7485 (eval "$ac_compile") 2>conftest.er1 | |
7486 ac_status=$? | |
7487 grep -v '^ *+' conftest.er1 >conftest.err | |
7488 rm -f conftest.er1 | |
7489 cat conftest.err >&5 | |
7490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7491 (exit $ac_status); } && { | |
7492 test -z "$ac_c_werror_flag" || | |
7493 test ! -s conftest.err | |
7494 } && test -s conftest.$ac_objext; then | |
7495 emacs_cv_struct_utimbuf=yes | 6302 emacs_cv_struct_utimbuf=yes |
7496 else | 6303 else |
7497 $as_echo "$as_me: failed program was:" >&5 | 6304 emacs_cv_struct_utimbuf=no |
7498 sed 's/^/| /' conftest.$ac_ext >&5 | 6305 fi |
7499 | |
7500 emacs_cv_struct_utimbuf=no | |
7501 fi | |
7502 | |
7503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7504 fi | 6307 fi |
7505 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 | 6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5 |
7506 $as_echo "$emacs_cv_struct_utimbuf" >&6; } | 6309 $as_echo "$emacs_cv_struct_utimbuf" >&6; } |
7507 if test $emacs_cv_struct_utimbuf = yes; then | 6310 if test $emacs_cv_struct_utimbuf = yes; then |
7508 | 6311 |
7509 cat >>confdefs.h <<\_ACEOF | 6312 $as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h |
7510 #define HAVE_STRUCT_UTIMBUF 1 | 6313 |
7511 _ACEOF | 6314 fi |
7512 | 6315 |
7513 fi | 6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
7514 | |
7515 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | |
7516 $as_echo_n "checking return type of signal handlers... " >&6; } | 6317 $as_echo_n "checking return type of signal handlers... " >&6; } |
7517 if test "${ac_cv_type_signal+set}" = set; then | 6318 if test "${ac_cv_type_signal+set}" = set; then : |
7518 $as_echo_n "(cached) " >&6 | 6319 $as_echo_n "(cached) " >&6 |
7519 else | 6320 else |
7520 cat >conftest.$ac_ext <<_ACEOF | 6321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7521 /* confdefs.h. */ | |
7522 _ACEOF | |
7523 cat confdefs.h >>conftest.$ac_ext | |
7524 cat >>conftest.$ac_ext <<_ACEOF | |
7525 /* end confdefs.h. */ | 6322 /* end confdefs.h. */ |
7526 #include <sys/types.h> | 6323 #include <sys/types.h> |
7527 #include <signal.h> | 6324 #include <signal.h> |
7528 | 6325 |
7529 int | 6326 int |
7532 return *(signal (0, 0)) (0) == 1; | 6329 return *(signal (0, 0)) (0) == 1; |
7533 ; | 6330 ; |
7534 return 0; | 6331 return 0; |
7535 } | 6332 } |
7536 _ACEOF | 6333 _ACEOF |
7537 rm -f conftest.$ac_objext | 6334 if ac_fn_c_try_compile "$LINENO"; then : |
7538 if { (ac_try="$ac_compile" | |
7539 case "(($ac_try" in | |
7540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7541 *) ac_try_echo=$ac_try;; | |
7542 esac | |
7543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7544 $as_echo "$ac_try_echo") >&5 | |
7545 (eval "$ac_compile") 2>conftest.er1 | |
7546 ac_status=$? | |
7547 grep -v '^ *+' conftest.er1 >conftest.err | |
7548 rm -f conftest.er1 | |
7549 cat conftest.err >&5 | |
7550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7551 (exit $ac_status); } && { | |
7552 test -z "$ac_c_werror_flag" || | |
7553 test ! -s conftest.err | |
7554 } && test -s conftest.$ac_objext; then | |
7555 ac_cv_type_signal=int | 6335 ac_cv_type_signal=int |
7556 else | 6336 else |
7557 $as_echo "$as_me: failed program was:" >&5 | 6337 ac_cv_type_signal=void |
7558 sed 's/^/| /' conftest.$ac_ext >&5 | 6338 fi |
7559 | |
7560 ac_cv_type_signal=void | |
7561 fi | |
7562 | |
7563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7564 fi | 6340 fi |
7565 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
7566 $as_echo "$ac_cv_type_signal" >&6; } | 6342 $as_echo "$ac_cv_type_signal" >&6; } |
7567 | 6343 |
7568 cat >>confdefs.h <<_ACEOF | 6344 cat >>confdefs.h <<_ACEOF |
7569 #define RETSIGTYPE $ac_cv_type_signal | 6345 #define RETSIGTYPE $ac_cv_type_signal |
7570 _ACEOF | 6346 _ACEOF |
7571 | 6347 |
7572 | 6348 |
7573 | 6349 |
7574 { $as_echo "$as_me:$LINENO: checking for speed_t" >&5 | 6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 |
7575 $as_echo_n "checking for speed_t... " >&6; } | 6351 $as_echo_n "checking for speed_t... " >&6; } |
7576 if test "${emacs_cv_speed_t+set}" = set; then | 6352 if test "${emacs_cv_speed_t+set}" = set; then : |
7577 $as_echo_n "(cached) " >&6 | 6353 $as_echo_n "(cached) " >&6 |
7578 else | 6354 else |
7579 cat >conftest.$ac_ext <<_ACEOF | 6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7580 /* confdefs.h. */ | |
7581 _ACEOF | |
7582 cat confdefs.h >>conftest.$ac_ext | |
7583 cat >>conftest.$ac_ext <<_ACEOF | |
7584 /* end confdefs.h. */ | 6356 /* end confdefs.h. */ |
7585 #include <termios.h> | 6357 #include <termios.h> |
7586 int | 6358 int |
7587 main () | 6359 main () |
7588 { | 6360 { |
7589 speed_t x = 1; | 6361 speed_t x = 1; |
7590 ; | 6362 ; |
7591 return 0; | 6363 return 0; |
7592 } | 6364 } |
7593 _ACEOF | 6365 _ACEOF |
7594 rm -f conftest.$ac_objext | 6366 if ac_fn_c_try_compile "$LINENO"; then : |
7595 if { (ac_try="$ac_compile" | |
7596 case "(($ac_try" in | |
7597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7598 *) ac_try_echo=$ac_try;; | |
7599 esac | |
7600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7601 $as_echo "$ac_try_echo") >&5 | |
7602 (eval "$ac_compile") 2>conftest.er1 | |
7603 ac_status=$? | |
7604 grep -v '^ *+' conftest.er1 >conftest.err | |
7605 rm -f conftest.er1 | |
7606 cat conftest.err >&5 | |
7607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7608 (exit $ac_status); } && { | |
7609 test -z "$ac_c_werror_flag" || | |
7610 test ! -s conftest.err | |
7611 } && test -s conftest.$ac_objext; then | |
7612 emacs_cv_speed_t=yes | 6367 emacs_cv_speed_t=yes |
7613 else | 6368 else |
7614 $as_echo "$as_me: failed program was:" >&5 | 6369 emacs_cv_speed_t=no |
7615 sed 's/^/| /' conftest.$ac_ext >&5 | 6370 fi |
7616 | |
7617 emacs_cv_speed_t=no | |
7618 fi | |
7619 | |
7620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7621 fi | 6372 fi |
7622 { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 | 6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5 |
7623 $as_echo "$emacs_cv_speed_t" >&6; } | 6374 $as_echo "$emacs_cv_speed_t" >&6; } |
7624 if test $emacs_cv_speed_t = yes; then | 6375 if test $emacs_cv_speed_t = yes; then |
7625 | 6376 |
7626 cat >>confdefs.h <<\_ACEOF | 6377 $as_echo "#define HAVE_SPEED_T 1" >>confdefs.h |
7627 #define HAVE_SPEED_T 1 | 6378 |
7628 _ACEOF | 6379 fi |
7629 | 6380 |
7630 fi | 6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 |
7631 | |
7632 { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 | |
7633 $as_echo_n "checking for struct timeval... " >&6; } | 6382 $as_echo_n "checking for struct timeval... " >&6; } |
7634 if test "${emacs_cv_struct_timeval+set}" = set; then | 6383 if test "${emacs_cv_struct_timeval+set}" = set; then : |
7635 $as_echo_n "(cached) " >&6 | 6384 $as_echo_n "(cached) " >&6 |
7636 else | 6385 else |
7637 cat >conftest.$ac_ext <<_ACEOF | 6386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7638 /* confdefs.h. */ | |
7639 _ACEOF | |
7640 cat confdefs.h >>conftest.$ac_ext | |
7641 cat >>conftest.$ac_ext <<_ACEOF | |
7642 /* end confdefs.h. */ | 6387 /* end confdefs.h. */ |
7643 #ifdef TIME_WITH_SYS_TIME | 6388 #ifdef TIME_WITH_SYS_TIME |
7644 #include <sys/time.h> | 6389 #include <sys/time.h> |
7645 #include <time.h> | 6390 #include <time.h> |
7646 #else | 6391 #else |
7656 static struct timeval x; x.tv_sec = x.tv_usec; | 6401 static struct timeval x; x.tv_sec = x.tv_usec; |
7657 ; | 6402 ; |
7658 return 0; | 6403 return 0; |
7659 } | 6404 } |
7660 _ACEOF | 6405 _ACEOF |
7661 rm -f conftest.$ac_objext | 6406 if ac_fn_c_try_compile "$LINENO"; then : |
7662 if { (ac_try="$ac_compile" | |
7663 case "(($ac_try" in | |
7664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7665 *) ac_try_echo=$ac_try;; | |
7666 esac | |
7667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7668 $as_echo "$ac_try_echo") >&5 | |
7669 (eval "$ac_compile") 2>conftest.er1 | |
7670 ac_status=$? | |
7671 grep -v '^ *+' conftest.er1 >conftest.err | |
7672 rm -f conftest.er1 | |
7673 cat conftest.err >&5 | |
7674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7675 (exit $ac_status); } && { | |
7676 test -z "$ac_c_werror_flag" || | |
7677 test ! -s conftest.err | |
7678 } && test -s conftest.$ac_objext; then | |
7679 emacs_cv_struct_timeval=yes | 6407 emacs_cv_struct_timeval=yes |
7680 else | 6408 else |
7681 $as_echo "$as_me: failed program was:" >&5 | 6409 emacs_cv_struct_timeval=no |
7682 sed 's/^/| /' conftest.$ac_ext >&5 | 6410 fi |
7683 | |
7684 emacs_cv_struct_timeval=no | |
7685 fi | |
7686 | |
7687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7688 fi | 6412 fi |
7689 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 | 6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5 |
7690 $as_echo "$emacs_cv_struct_timeval" >&6; } | 6414 $as_echo "$emacs_cv_struct_timeval" >&6; } |
7691 HAVE_TIMEVAL=$emacs_cv_struct_timeval | 6415 HAVE_TIMEVAL=$emacs_cv_struct_timeval |
7692 if test $emacs_cv_struct_timeval = yes; then | 6416 if test $emacs_cv_struct_timeval = yes; then |
7693 | 6417 |
7694 cat >>confdefs.h <<\_ACEOF | 6418 $as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h |
7695 #define HAVE_TIMEVAL 1 | 6419 |
7696 _ACEOF | 6420 fi |
7697 | 6421 |
7698 fi | 6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 |
7699 | |
7700 { $as_echo "$as_me:$LINENO: checking for struct exception" >&5 | |
7701 $as_echo_n "checking for struct exception... " >&6; } | 6423 $as_echo_n "checking for struct exception... " >&6; } |
7702 if test "${emacs_cv_struct_exception+set}" = set; then | 6424 if test "${emacs_cv_struct_exception+set}" = set; then : |
7703 $as_echo_n "(cached) " >&6 | 6425 $as_echo_n "(cached) " >&6 |
7704 else | 6426 else |
7705 cat >conftest.$ac_ext <<_ACEOF | 6427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7706 /* confdefs.h. */ | |
7707 _ACEOF | |
7708 cat confdefs.h >>conftest.$ac_ext | |
7709 cat >>conftest.$ac_ext <<_ACEOF | |
7710 /* end confdefs.h. */ | 6428 /* end confdefs.h. */ |
7711 #include <math.h> | 6429 #include <math.h> |
7712 int | 6430 int |
7713 main () | 6431 main () |
7714 { | 6432 { |
7715 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | 6433 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; |
7716 ; | 6434 ; |
7717 return 0; | 6435 return 0; |
7718 } | 6436 } |
7719 _ACEOF | 6437 _ACEOF |
7720 rm -f conftest.$ac_objext | 6438 if ac_fn_c_try_compile "$LINENO"; then : |
7721 if { (ac_try="$ac_compile" | |
7722 case "(($ac_try" in | |
7723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7724 *) ac_try_echo=$ac_try;; | |
7725 esac | |
7726 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7727 $as_echo "$ac_try_echo") >&5 | |
7728 (eval "$ac_compile") 2>conftest.er1 | |
7729 ac_status=$? | |
7730 grep -v '^ *+' conftest.er1 >conftest.err | |
7731 rm -f conftest.er1 | |
7732 cat conftest.err >&5 | |
7733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7734 (exit $ac_status); } && { | |
7735 test -z "$ac_c_werror_flag" || | |
7736 test ! -s conftest.err | |
7737 } && test -s conftest.$ac_objext; then | |
7738 emacs_cv_struct_exception=yes | 6439 emacs_cv_struct_exception=yes |
7739 else | 6440 else |
7740 $as_echo "$as_me: failed program was:" >&5 | 6441 emacs_cv_struct_exception=no |
7741 sed 's/^/| /' conftest.$ac_ext >&5 | 6442 fi |
7742 | |
7743 emacs_cv_struct_exception=no | |
7744 fi | |
7745 | |
7746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7747 fi | 6444 fi |
7748 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 | 6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 |
7749 $as_echo "$emacs_cv_struct_exception" >&6; } | 6446 $as_echo "$emacs_cv_struct_exception" >&6; } |
7750 HAVE_EXCEPTION=$emacs_cv_struct_exception | 6447 HAVE_EXCEPTION=$emacs_cv_struct_exception |
7751 if test $emacs_cv_struct_exception != yes; then | 6448 if test $emacs_cv_struct_exception != yes; then |
7752 | 6449 |
7753 cat >>confdefs.h <<\_ACEOF | 6450 $as_echo "#define NO_MATHERR 1" >>confdefs.h |
7754 #define NO_MATHERR 1 | 6451 |
7755 _ACEOF | 6452 fi |
7756 | |
7757 fi | |
7758 | |
7759 | 6453 |
7760 for ac_header in sys/socket.h | 6454 for ac_header in sys/socket.h |
7761 do | 6455 do : |
7762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6456 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" |
7763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6457 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : |
7764 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7765 $as_echo_n "checking for $ac_header... " >&6; } | |
7766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7767 $as_echo_n "(cached) " >&6 | |
7768 fi | |
7769 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
7770 $as_echo "$as_val"'` | |
7771 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7772 $as_echo "$ac_res" >&6; } | |
7773 else | |
7774 # Is the header compilable? | |
7775 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
7776 $as_echo_n "checking $ac_header usability... " >&6; } | |
7777 cat >conftest.$ac_ext <<_ACEOF | |
7778 /* confdefs.h. */ | |
7779 _ACEOF | |
7780 cat confdefs.h >>conftest.$ac_ext | |
7781 cat >>conftest.$ac_ext <<_ACEOF | |
7782 /* end confdefs.h. */ | |
7783 $ac_includes_default | |
7784 #include <$ac_header> | |
7785 _ACEOF | |
7786 rm -f conftest.$ac_objext | |
7787 if { (ac_try="$ac_compile" | |
7788 case "(($ac_try" in | |
7789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7790 *) ac_try_echo=$ac_try;; | |
7791 esac | |
7792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7793 $as_echo "$ac_try_echo") >&5 | |
7794 (eval "$ac_compile") 2>conftest.er1 | |
7795 ac_status=$? | |
7796 grep -v '^ *+' conftest.er1 >conftest.err | |
7797 rm -f conftest.er1 | |
7798 cat conftest.err >&5 | |
7799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7800 (exit $ac_status); } && { | |
7801 test -z "$ac_c_werror_flag" || | |
7802 test ! -s conftest.err | |
7803 } && test -s conftest.$ac_objext; then | |
7804 ac_header_compiler=yes | |
7805 else | |
7806 $as_echo "$as_me: failed program was:" >&5 | |
7807 sed 's/^/| /' conftest.$ac_ext >&5 | |
7808 | |
7809 ac_header_compiler=no | |
7810 fi | |
7811 | |
7812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7813 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
7814 $as_echo "$ac_header_compiler" >&6; } | |
7815 | |
7816 # Is the header present? | |
7817 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
7818 $as_echo_n "checking $ac_header presence... " >&6; } | |
7819 cat >conftest.$ac_ext <<_ACEOF | |
7820 /* confdefs.h. */ | |
7821 _ACEOF | |
7822 cat confdefs.h >>conftest.$ac_ext | |
7823 cat >>conftest.$ac_ext <<_ACEOF | |
7824 /* end confdefs.h. */ | |
7825 #include <$ac_header> | |
7826 _ACEOF | |
7827 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
7828 case "(($ac_try" in | |
7829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7830 *) ac_try_echo=$ac_try;; | |
7831 esac | |
7832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7833 $as_echo "$ac_try_echo") >&5 | |
7834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
7835 ac_status=$? | |
7836 grep -v '^ *+' conftest.er1 >conftest.err | |
7837 rm -f conftest.er1 | |
7838 cat conftest.err >&5 | |
7839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7840 (exit $ac_status); } >/dev/null && { | |
7841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
7842 test ! -s conftest.err | |
7843 }; then | |
7844 ac_header_preproc=yes | |
7845 else | |
7846 $as_echo "$as_me: failed program was:" >&5 | |
7847 sed 's/^/| /' conftest.$ac_ext >&5 | |
7848 | |
7849 ac_header_preproc=no | |
7850 fi | |
7851 | |
7852 rm -f conftest.err conftest.$ac_ext | |
7853 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
7854 $as_echo "$ac_header_preproc" >&6; } | |
7855 | |
7856 # So? What about this header? | |
7857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
7858 yes:no: ) | |
7859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
7860 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
7861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
7862 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
7863 ac_header_preproc=yes | |
7864 ;; | |
7865 no:yes:* ) | |
7866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
7867 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
7868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
7869 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
7870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
7871 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
7872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
7873 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
7874 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
7875 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
7876 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
7877 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
7878 | |
7879 ;; | |
7880 esac | |
7881 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7882 $as_echo_n "checking for $ac_header... " >&6; } | |
7883 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7884 $as_echo_n "(cached) " >&6 | |
7885 else | |
7886 eval "$as_ac_Header=\$ac_header_preproc" | |
7887 fi | |
7888 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
7889 $as_echo "$as_val"'` | |
7890 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7891 $as_echo "$ac_res" >&6; } | |
7892 | |
7893 fi | |
7894 if test `eval 'as_val=${'$as_ac_Header'} | |
7895 $as_echo "$as_val"'` = yes; then | |
7896 cat >>confdefs.h <<_ACEOF | 6458 cat >>confdefs.h <<_ACEOF |
7897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6459 #define HAVE_SYS_SOCKET_H 1 |
7898 _ACEOF | 6460 _ACEOF |
7899 | 6461 |
7900 fi | 6462 fi |
7901 | 6463 |
7902 done | 6464 done |
7903 | 6465 |
7904 | |
7905 for ac_header in net/if.h | 6466 for ac_header in net/if.h |
7906 do | 6467 do : |
7907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6468 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default |
7908 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7909 $as_echo_n "checking for $ac_header... " >&6; } | |
7910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7911 $as_echo_n "(cached) " >&6 | |
7912 else | |
7913 cat >conftest.$ac_ext <<_ACEOF | |
7914 /* confdefs.h. */ | |
7915 _ACEOF | |
7916 cat confdefs.h >>conftest.$ac_ext | |
7917 cat >>conftest.$ac_ext <<_ACEOF | |
7918 /* end confdefs.h. */ | |
7919 $ac_includes_default | |
7920 #if HAVE_SYS_SOCKET_H | 6469 #if HAVE_SYS_SOCKET_H |
7921 #include <sys/socket.h> | 6470 #include <sys/socket.h> |
7922 #endif | 6471 #endif |
7923 | 6472 " |
7924 #include <$ac_header> | 6473 if test "x$ac_cv_header_net_if_h" = x""yes; then : |
7925 _ACEOF | |
7926 rm -f conftest.$ac_objext | |
7927 if { (ac_try="$ac_compile" | |
7928 case "(($ac_try" in | |
7929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7930 *) ac_try_echo=$ac_try;; | |
7931 esac | |
7932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7933 $as_echo "$ac_try_echo") >&5 | |
7934 (eval "$ac_compile") 2>conftest.er1 | |
7935 ac_status=$? | |
7936 grep -v '^ *+' conftest.er1 >conftest.err | |
7937 rm -f conftest.er1 | |
7938 cat conftest.err >&5 | |
7939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7940 (exit $ac_status); } && { | |
7941 test -z "$ac_c_werror_flag" || | |
7942 test ! -s conftest.err | |
7943 } && test -s conftest.$ac_objext; then | |
7944 eval "$as_ac_Header=yes" | |
7945 else | |
7946 $as_echo "$as_me: failed program was:" >&5 | |
7947 sed 's/^/| /' conftest.$ac_ext >&5 | |
7948 | |
7949 eval "$as_ac_Header=no" | |
7950 fi | |
7951 | |
7952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7953 fi | |
7954 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
7955 $as_echo "$as_val"'` | |
7956 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7957 $as_echo "$ac_res" >&6; } | |
7958 if test `eval 'as_val=${'$as_ac_Header'} | |
7959 $as_echo "$as_val"'` = yes; then | |
7960 cat >>confdefs.h <<_ACEOF | 6474 cat >>confdefs.h <<_ACEOF |
7961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6475 #define HAVE_NET_IF_H 1 |
7962 _ACEOF | 6476 _ACEOF |
7963 | 6477 |
7964 fi | 6478 fi |
7965 | 6479 |
7966 done | 6480 done |
7967 | 6481 |
7968 | 6482 |
7969 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
7970 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | 6484 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
7971 if test "${ac_cv_struct_tm+set}" = set; then | 6485 if test "${ac_cv_struct_tm+set}" = set; then : |
7972 $as_echo_n "(cached) " >&6 | 6486 $as_echo_n "(cached) " >&6 |
7973 else | 6487 else |
7974 cat >conftest.$ac_ext <<_ACEOF | 6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7975 /* confdefs.h. */ | |
7976 _ACEOF | |
7977 cat confdefs.h >>conftest.$ac_ext | |
7978 cat >>conftest.$ac_ext <<_ACEOF | |
7979 /* end confdefs.h. */ | 6489 /* end confdefs.h. */ |
7980 #include <sys/types.h> | 6490 #include <sys/types.h> |
7981 #include <time.h> | 6491 #include <time.h> |
7982 | 6492 |
7983 int | 6493 int |
7988 return !p; | 6498 return !p; |
7989 ; | 6499 ; |
7990 return 0; | 6500 return 0; |
7991 } | 6501 } |
7992 _ACEOF | 6502 _ACEOF |
7993 rm -f conftest.$ac_objext | 6503 if ac_fn_c_try_compile "$LINENO"; then : |
7994 if { (ac_try="$ac_compile" | |
7995 case "(($ac_try" in | |
7996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7997 *) ac_try_echo=$ac_try;; | |
7998 esac | |
7999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8000 $as_echo "$ac_try_echo") >&5 | |
8001 (eval "$ac_compile") 2>conftest.er1 | |
8002 ac_status=$? | |
8003 grep -v '^ *+' conftest.er1 >conftest.err | |
8004 rm -f conftest.er1 | |
8005 cat conftest.err >&5 | |
8006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8007 (exit $ac_status); } && { | |
8008 test -z "$ac_c_werror_flag" || | |
8009 test ! -s conftest.err | |
8010 } && test -s conftest.$ac_objext; then | |
8011 ac_cv_struct_tm=time.h | 6504 ac_cv_struct_tm=time.h |
8012 else | 6505 else |
8013 $as_echo "$as_me: failed program was:" >&5 | 6506 ac_cv_struct_tm=sys/time.h |
8014 sed 's/^/| /' conftest.$ac_ext >&5 | 6507 fi |
8015 | |
8016 ac_cv_struct_tm=sys/time.h | |
8017 fi | |
8018 | |
8019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8020 fi | 6509 fi |
8021 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
8022 $as_echo "$ac_cv_struct_tm" >&6; } | 6511 $as_echo "$ac_cv_struct_tm" >&6; } |
8023 if test $ac_cv_struct_tm = sys/time.h; then | 6512 if test $ac_cv_struct_tm = sys/time.h; then |
8024 | 6513 |
8025 cat >>confdefs.h <<\_ACEOF | 6514 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h |
8026 #define TM_IN_SYS_TIME 1 | 6515 |
8027 _ACEOF | 6516 fi |
8028 | 6517 |
8029 fi | 6518 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> |
8030 | |
8031 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 | |
8032 $as_echo_n "checking for struct tm.tm_zone... " >&6; } | |
8033 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | |
8034 $as_echo_n "(cached) " >&6 | |
8035 else | |
8036 cat >conftest.$ac_ext <<_ACEOF | |
8037 /* confdefs.h. */ | |
8038 _ACEOF | |
8039 cat confdefs.h >>conftest.$ac_ext | |
8040 cat >>conftest.$ac_ext <<_ACEOF | |
8041 /* end confdefs.h. */ | |
8042 #include <sys/types.h> | |
8043 #include <$ac_cv_struct_tm> | 6519 #include <$ac_cv_struct_tm> |
8044 | 6520 |
8045 | 6521 " |
8046 int | 6522 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : |
8047 main () | |
8048 { | |
8049 static struct tm ac_aggr; | |
8050 if (ac_aggr.tm_zone) | |
8051 return 0; | |
8052 ; | |
8053 return 0; | |
8054 } | |
8055 _ACEOF | |
8056 rm -f conftest.$ac_objext | |
8057 if { (ac_try="$ac_compile" | |
8058 case "(($ac_try" in | |
8059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8060 *) ac_try_echo=$ac_try;; | |
8061 esac | |
8062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8063 $as_echo "$ac_try_echo") >&5 | |
8064 (eval "$ac_compile") 2>conftest.er1 | |
8065 ac_status=$? | |
8066 grep -v '^ *+' conftest.er1 >conftest.err | |
8067 rm -f conftest.er1 | |
8068 cat conftest.err >&5 | |
8069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8070 (exit $ac_status); } && { | |
8071 test -z "$ac_c_werror_flag" || | |
8072 test ! -s conftest.err | |
8073 } && test -s conftest.$ac_objext; then | |
8074 ac_cv_member_struct_tm_tm_zone=yes | |
8075 else | |
8076 $as_echo "$as_me: failed program was:" >&5 | |
8077 sed 's/^/| /' conftest.$ac_ext >&5 | |
8078 | |
8079 cat >conftest.$ac_ext <<_ACEOF | |
8080 /* confdefs.h. */ | |
8081 _ACEOF | |
8082 cat confdefs.h >>conftest.$ac_ext | |
8083 cat >>conftest.$ac_ext <<_ACEOF | |
8084 /* end confdefs.h. */ | |
8085 #include <sys/types.h> | |
8086 #include <$ac_cv_struct_tm> | |
8087 | |
8088 | |
8089 int | |
8090 main () | |
8091 { | |
8092 static struct tm ac_aggr; | |
8093 if (sizeof ac_aggr.tm_zone) | |
8094 return 0; | |
8095 ; | |
8096 return 0; | |
8097 } | |
8098 _ACEOF | |
8099 rm -f conftest.$ac_objext | |
8100 if { (ac_try="$ac_compile" | |
8101 case "(($ac_try" in | |
8102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8103 *) ac_try_echo=$ac_try;; | |
8104 esac | |
8105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8106 $as_echo "$ac_try_echo") >&5 | |
8107 (eval "$ac_compile") 2>conftest.er1 | |
8108 ac_status=$? | |
8109 grep -v '^ *+' conftest.er1 >conftest.err | |
8110 rm -f conftest.er1 | |
8111 cat conftest.err >&5 | |
8112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8113 (exit $ac_status); } && { | |
8114 test -z "$ac_c_werror_flag" || | |
8115 test ! -s conftest.err | |
8116 } && test -s conftest.$ac_objext; then | |
8117 ac_cv_member_struct_tm_tm_zone=yes | |
8118 else | |
8119 $as_echo "$as_me: failed program was:" >&5 | |
8120 sed 's/^/| /' conftest.$ac_ext >&5 | |
8121 | |
8122 ac_cv_member_struct_tm_tm_zone=no | |
8123 fi | |
8124 | |
8125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8126 fi | |
8127 | |
8128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8129 fi | |
8130 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | |
8131 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; } | |
8132 if test $ac_cv_member_struct_tm_tm_zone = yes; then | |
8133 | 6523 |
8134 cat >>confdefs.h <<_ACEOF | 6524 cat >>confdefs.h <<_ACEOF |
8135 #define HAVE_STRUCT_TM_TM_ZONE 1 | 6525 #define HAVE_STRUCT_TM_TM_ZONE 1 |
8136 _ACEOF | 6526 _ACEOF |
8137 | 6527 |
8138 | 6528 |
8139 fi | 6529 fi |
8140 | 6530 |
8141 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then | 6531 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
8142 | 6532 |
8143 cat >>confdefs.h <<\_ACEOF | 6533 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h |
8144 #define HAVE_TM_ZONE 1 | 6534 |
8145 _ACEOF | 6535 else |
8146 | 6536 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> |
8147 else | 6537 " |
8148 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 | 6538 if test "x$ac_cv_have_decl_tzname" = x""yes; then : |
8149 $as_echo_n "checking whether tzname is declared... " >&6; } | 6539 ac_have_decl=1 |
8150 if test "${ac_cv_have_decl_tzname+set}" = set; then | 6540 else |
6541 ac_have_decl=0 | |
6542 fi | |
6543 | |
6544 cat >>confdefs.h <<_ACEOF | |
6545 #define HAVE_DECL_TZNAME $ac_have_decl | |
6546 _ACEOF | |
6547 | |
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 | |
6549 $as_echo_n "checking for tzname... " >&6; } | |
6550 if test "${ac_cv_var_tzname+set}" = set; then : | |
8151 $as_echo_n "(cached) " >&6 | 6551 $as_echo_n "(cached) " >&6 |
8152 else | 6552 else |
8153 cat >conftest.$ac_ext <<_ACEOF | 6553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8154 /* confdefs.h. */ | |
8155 _ACEOF | |
8156 cat confdefs.h >>conftest.$ac_ext | |
8157 cat >>conftest.$ac_ext <<_ACEOF | |
8158 /* end confdefs.h. */ | |
8159 #include <time.h> | |
8160 | |
8161 int | |
8162 main () | |
8163 { | |
8164 #ifndef tzname | |
8165 (void) tzname; | |
8166 #endif | |
8167 | |
8168 ; | |
8169 return 0; | |
8170 } | |
8171 _ACEOF | |
8172 rm -f conftest.$ac_objext | |
8173 if { (ac_try="$ac_compile" | |
8174 case "(($ac_try" in | |
8175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8176 *) ac_try_echo=$ac_try;; | |
8177 esac | |
8178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8179 $as_echo "$ac_try_echo") >&5 | |
8180 (eval "$ac_compile") 2>conftest.er1 | |
8181 ac_status=$? | |
8182 grep -v '^ *+' conftest.er1 >conftest.err | |
8183 rm -f conftest.er1 | |
8184 cat conftest.err >&5 | |
8185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8186 (exit $ac_status); } && { | |
8187 test -z "$ac_c_werror_flag" || | |
8188 test ! -s conftest.err | |
8189 } && test -s conftest.$ac_objext; then | |
8190 ac_cv_have_decl_tzname=yes | |
8191 else | |
8192 $as_echo "$as_me: failed program was:" >&5 | |
8193 sed 's/^/| /' conftest.$ac_ext >&5 | |
8194 | |
8195 ac_cv_have_decl_tzname=no | |
8196 fi | |
8197 | |
8198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8199 fi | |
8200 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | |
8201 $as_echo "$ac_cv_have_decl_tzname" >&6; } | |
8202 if test $ac_cv_have_decl_tzname = yes; then | |
8203 | |
8204 cat >>confdefs.h <<_ACEOF | |
8205 #define HAVE_DECL_TZNAME 1 | |
8206 _ACEOF | |
8207 | |
8208 | |
8209 else | |
8210 cat >>confdefs.h <<_ACEOF | |
8211 #define HAVE_DECL_TZNAME 0 | |
8212 _ACEOF | |
8213 | |
8214 | |
8215 fi | |
8216 | |
8217 | |
8218 { $as_echo "$as_me:$LINENO: checking for tzname" >&5 | |
8219 $as_echo_n "checking for tzname... " >&6; } | |
8220 if test "${ac_cv_var_tzname+set}" = set; then | |
8221 $as_echo_n "(cached) " >&6 | |
8222 else | |
8223 cat >conftest.$ac_ext <<_ACEOF | |
8224 /* confdefs.h. */ | |
8225 _ACEOF | |
8226 cat confdefs.h >>conftest.$ac_ext | |
8227 cat >>conftest.$ac_ext <<_ACEOF | |
8228 /* end confdefs.h. */ | 6554 /* end confdefs.h. */ |
8229 #include <time.h> | 6555 #include <time.h> |
8230 #if !HAVE_DECL_TZNAME | 6556 #if !HAVE_DECL_TZNAME |
8231 extern char *tzname[]; | 6557 extern char *tzname[]; |
8232 #endif | 6558 #endif |
8237 return tzname[0][0]; | 6563 return tzname[0][0]; |
8238 ; | 6564 ; |
8239 return 0; | 6565 return 0; |
8240 } | 6566 } |
8241 _ACEOF | 6567 _ACEOF |
8242 rm -f conftest.$ac_objext conftest$ac_exeext | 6568 if ac_fn_c_try_link "$LINENO"; then : |
8243 if { (ac_try="$ac_link" | |
8244 case "(($ac_try" in | |
8245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8246 *) ac_try_echo=$ac_try;; | |
8247 esac | |
8248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8249 $as_echo "$ac_try_echo") >&5 | |
8250 (eval "$ac_link") 2>conftest.er1 | |
8251 ac_status=$? | |
8252 grep -v '^ *+' conftest.er1 >conftest.err | |
8253 rm -f conftest.er1 | |
8254 cat conftest.err >&5 | |
8255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8256 (exit $ac_status); } && { | |
8257 test -z "$ac_c_werror_flag" || | |
8258 test ! -s conftest.err | |
8259 } && test -s conftest$ac_exeext && { | |
8260 test "$cross_compiling" = yes || | |
8261 $as_test_x conftest$ac_exeext | |
8262 }; then | |
8263 ac_cv_var_tzname=yes | 6569 ac_cv_var_tzname=yes |
8264 else | 6570 else |
8265 $as_echo "$as_me: failed program was:" >&5 | 6571 ac_cv_var_tzname=no |
8266 sed 's/^/| /' conftest.$ac_ext >&5 | 6572 fi |
8267 | 6573 rm -f core conftest.err conftest.$ac_objext \ |
8268 ac_cv_var_tzname=no | 6574 conftest$ac_exeext conftest.$ac_ext |
8269 fi | 6575 fi |
8270 | 6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 |
8271 rm -rf conftest.dSYM | |
8272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
8273 conftest$ac_exeext conftest.$ac_ext | |
8274 fi | |
8275 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 | |
8276 $as_echo "$ac_cv_var_tzname" >&6; } | 6577 $as_echo "$ac_cv_var_tzname" >&6; } |
8277 if test $ac_cv_var_tzname = yes; then | 6578 if test $ac_cv_var_tzname = yes; then |
8278 | 6579 |
8279 cat >>confdefs.h <<\_ACEOF | 6580 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h |
8280 #define HAVE_TZNAME 1 | |
8281 _ACEOF | |
8282 | 6581 |
8283 fi | 6582 fi |
8284 fi | 6583 fi |
8285 | 6584 |
8286 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 | 6585 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> |
8287 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } | 6586 " |
8288 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then | 6587 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : |
8289 $as_echo_n "(cached) " >&6 | 6588 |
8290 else | 6589 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h |
8291 cat >conftest.$ac_ext <<_ACEOF | 6590 |
8292 /* confdefs.h. */ | 6591 fi |
8293 _ACEOF | 6592 |
8294 cat confdefs.h >>conftest.$ac_ext | 6593 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default |
8295 cat >>conftest.$ac_ext <<_ACEOF | |
8296 /* end confdefs.h. */ | |
8297 #include <time.h> | |
8298 | |
8299 int | |
8300 main () | |
8301 { | |
8302 static struct tm ac_aggr; | |
8303 if (ac_aggr.tm_gmtoff) | |
8304 return 0; | |
8305 ; | |
8306 return 0; | |
8307 } | |
8308 _ACEOF | |
8309 rm -f conftest.$ac_objext | |
8310 if { (ac_try="$ac_compile" | |
8311 case "(($ac_try" in | |
8312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8313 *) ac_try_echo=$ac_try;; | |
8314 esac | |
8315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8316 $as_echo "$ac_try_echo") >&5 | |
8317 (eval "$ac_compile") 2>conftest.er1 | |
8318 ac_status=$? | |
8319 grep -v '^ *+' conftest.er1 >conftest.err | |
8320 rm -f conftest.er1 | |
8321 cat conftest.err >&5 | |
8322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8323 (exit $ac_status); } && { | |
8324 test -z "$ac_c_werror_flag" || | |
8325 test ! -s conftest.err | |
8326 } && test -s conftest.$ac_objext; then | |
8327 ac_cv_member_struct_tm_tm_gmtoff=yes | |
8328 else | |
8329 $as_echo "$as_me: failed program was:" >&5 | |
8330 sed 's/^/| /' conftest.$ac_ext >&5 | |
8331 | |
8332 cat >conftest.$ac_ext <<_ACEOF | |
8333 /* confdefs.h. */ | |
8334 _ACEOF | |
8335 cat confdefs.h >>conftest.$ac_ext | |
8336 cat >>conftest.$ac_ext <<_ACEOF | |
8337 /* end confdefs.h. */ | |
8338 #include <time.h> | |
8339 | |
8340 int | |
8341 main () | |
8342 { | |
8343 static struct tm ac_aggr; | |
8344 if (sizeof ac_aggr.tm_gmtoff) | |
8345 return 0; | |
8346 ; | |
8347 return 0; | |
8348 } | |
8349 _ACEOF | |
8350 rm -f conftest.$ac_objext | |
8351 if { (ac_try="$ac_compile" | |
8352 case "(($ac_try" in | |
8353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8354 *) ac_try_echo=$ac_try;; | |
8355 esac | |
8356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8357 $as_echo "$ac_try_echo") >&5 | |
8358 (eval "$ac_compile") 2>conftest.er1 | |
8359 ac_status=$? | |
8360 grep -v '^ *+' conftest.er1 >conftest.err | |
8361 rm -f conftest.er1 | |
8362 cat conftest.err >&5 | |
8363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8364 (exit $ac_status); } && { | |
8365 test -z "$ac_c_werror_flag" || | |
8366 test ! -s conftest.err | |
8367 } && test -s conftest.$ac_objext; then | |
8368 ac_cv_member_struct_tm_tm_gmtoff=yes | |
8369 else | |
8370 $as_echo "$as_me: failed program was:" >&5 | |
8371 sed 's/^/| /' conftest.$ac_ext >&5 | |
8372 | |
8373 ac_cv_member_struct_tm_tm_gmtoff=no | |
8374 fi | |
8375 | |
8376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8377 fi | |
8378 | |
8379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8380 fi | |
8381 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | |
8382 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; } | |
8383 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | |
8384 | |
8385 cat >>confdefs.h <<\_ACEOF | |
8386 #define HAVE_TM_GMTOFF 1 | |
8387 _ACEOF | |
8388 | |
8389 fi | |
8390 | |
8391 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 | |
8392 $as_echo_n "checking for struct ifreq.ifr_flags... " >&6; } | |
8393 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then | |
8394 $as_echo_n "(cached) " >&6 | |
8395 else | |
8396 cat >conftest.$ac_ext <<_ACEOF | |
8397 /* confdefs.h. */ | |
8398 _ACEOF | |
8399 cat confdefs.h >>conftest.$ac_ext | |
8400 cat >>conftest.$ac_ext <<_ACEOF | |
8401 /* end confdefs.h. */ | |
8402 $ac_includes_default | |
8403 #if HAVE_SYS_SOCKET_H | 6594 #if HAVE_SYS_SOCKET_H |
8404 #include <sys/socket.h> | 6595 #include <sys/socket.h> |
8405 #endif | 6596 #endif |
8406 #if HAVE_NET_IF_H | 6597 #if HAVE_NET_IF_H |
8407 #include <net/if.h> | 6598 #include <net/if.h> |
8408 #endif | 6599 #endif |
8409 | 6600 " |
8410 int | 6601 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : |
8411 main () | 6602 |
8412 { | 6603 cat >>confdefs.h <<_ACEOF |
8413 static struct ifreq ac_aggr; | 6604 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
8414 if (ac_aggr.ifr_flags) | 6605 _ACEOF |
8415 return 0; | 6606 |
8416 ; | 6607 |
8417 return 0; | 6608 fi |
8418 } | 6609 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default |
8419 _ACEOF | |
8420 rm -f conftest.$ac_objext | |
8421 if { (ac_try="$ac_compile" | |
8422 case "(($ac_try" in | |
8423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8424 *) ac_try_echo=$ac_try;; | |
8425 esac | |
8426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8427 $as_echo "$ac_try_echo") >&5 | |
8428 (eval "$ac_compile") 2>conftest.er1 | |
8429 ac_status=$? | |
8430 grep -v '^ *+' conftest.er1 >conftest.err | |
8431 rm -f conftest.er1 | |
8432 cat conftest.err >&5 | |
8433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8434 (exit $ac_status); } && { | |
8435 test -z "$ac_c_werror_flag" || | |
8436 test ! -s conftest.err | |
8437 } && test -s conftest.$ac_objext; then | |
8438 ac_cv_member_struct_ifreq_ifr_flags=yes | |
8439 else | |
8440 $as_echo "$as_me: failed program was:" >&5 | |
8441 sed 's/^/| /' conftest.$ac_ext >&5 | |
8442 | |
8443 cat >conftest.$ac_ext <<_ACEOF | |
8444 /* confdefs.h. */ | |
8445 _ACEOF | |
8446 cat confdefs.h >>conftest.$ac_ext | |
8447 cat >>conftest.$ac_ext <<_ACEOF | |
8448 /* end confdefs.h. */ | |
8449 $ac_includes_default | |
8450 #if HAVE_SYS_SOCKET_H | 6610 #if HAVE_SYS_SOCKET_H |
8451 #include <sys/socket.h> | 6611 #include <sys/socket.h> |
8452 #endif | 6612 #endif |
8453 #if HAVE_NET_IF_H | 6613 #if HAVE_NET_IF_H |
8454 #include <net/if.h> | 6614 #include <net/if.h> |
8455 #endif | 6615 #endif |
8456 | 6616 " |
8457 int | 6617 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : |
8458 main () | |
8459 { | |
8460 static struct ifreq ac_aggr; | |
8461 if (sizeof ac_aggr.ifr_flags) | |
8462 return 0; | |
8463 ; | |
8464 return 0; | |
8465 } | |
8466 _ACEOF | |
8467 rm -f conftest.$ac_objext | |
8468 if { (ac_try="$ac_compile" | |
8469 case "(($ac_try" in | |
8470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8471 *) ac_try_echo=$ac_try;; | |
8472 esac | |
8473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8474 $as_echo "$ac_try_echo") >&5 | |
8475 (eval "$ac_compile") 2>conftest.er1 | |
8476 ac_status=$? | |
8477 grep -v '^ *+' conftest.er1 >conftest.err | |
8478 rm -f conftest.er1 | |
8479 cat conftest.err >&5 | |
8480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8481 (exit $ac_status); } && { | |
8482 test -z "$ac_c_werror_flag" || | |
8483 test ! -s conftest.err | |
8484 } && test -s conftest.$ac_objext; then | |
8485 ac_cv_member_struct_ifreq_ifr_flags=yes | |
8486 else | |
8487 $as_echo "$as_me: failed program was:" >&5 | |
8488 sed 's/^/| /' conftest.$ac_ext >&5 | |
8489 | |
8490 ac_cv_member_struct_ifreq_ifr_flags=no | |
8491 fi | |
8492 | |
8493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8494 fi | |
8495 | |
8496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8497 fi | |
8498 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | |
8499 $as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; } | |
8500 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then | |
8501 | 6618 |
8502 cat >>confdefs.h <<_ACEOF | 6619 cat >>confdefs.h <<_ACEOF |
8503 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 6620 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
8504 _ACEOF | 6621 _ACEOF |
8505 | 6622 |
8506 | 6623 |
8507 fi | 6624 fi |
8508 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 | 6625 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default |
8509 $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; } | |
8510 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then | |
8511 $as_echo_n "(cached) " >&6 | |
8512 else | |
8513 cat >conftest.$ac_ext <<_ACEOF | |
8514 /* confdefs.h. */ | |
8515 _ACEOF | |
8516 cat confdefs.h >>conftest.$ac_ext | |
8517 cat >>conftest.$ac_ext <<_ACEOF | |
8518 /* end confdefs.h. */ | |
8519 $ac_includes_default | |
8520 #if HAVE_SYS_SOCKET_H | 6626 #if HAVE_SYS_SOCKET_H |
8521 #include <sys/socket.h> | 6627 #include <sys/socket.h> |
8522 #endif | 6628 #endif |
8523 #if HAVE_NET_IF_H | 6629 #if HAVE_NET_IF_H |
8524 #include <net/if.h> | 6630 #include <net/if.h> |
8525 #endif | 6631 #endif |
8526 | 6632 " |
8527 int | 6633 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : |
8528 main () | 6634 |
8529 { | 6635 cat >>confdefs.h <<_ACEOF |
8530 static struct ifreq ac_aggr; | 6636 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 |
8531 if (ac_aggr.ifr_hwaddr) | 6637 _ACEOF |
8532 return 0; | 6638 |
8533 ; | 6639 |
8534 return 0; | 6640 fi |
8535 } | 6641 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default |
8536 _ACEOF | |
8537 rm -f conftest.$ac_objext | |
8538 if { (ac_try="$ac_compile" | |
8539 case "(($ac_try" in | |
8540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8541 *) ac_try_echo=$ac_try;; | |
8542 esac | |
8543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8544 $as_echo "$ac_try_echo") >&5 | |
8545 (eval "$ac_compile") 2>conftest.er1 | |
8546 ac_status=$? | |
8547 grep -v '^ *+' conftest.er1 >conftest.err | |
8548 rm -f conftest.er1 | |
8549 cat conftest.err >&5 | |
8550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8551 (exit $ac_status); } && { | |
8552 test -z "$ac_c_werror_flag" || | |
8553 test ! -s conftest.err | |
8554 } && test -s conftest.$ac_objext; then | |
8555 ac_cv_member_struct_ifreq_ifr_hwaddr=yes | |
8556 else | |
8557 $as_echo "$as_me: failed program was:" >&5 | |
8558 sed 's/^/| /' conftest.$ac_ext >&5 | |
8559 | |
8560 cat >conftest.$ac_ext <<_ACEOF | |
8561 /* confdefs.h. */ | |
8562 _ACEOF | |
8563 cat confdefs.h >>conftest.$ac_ext | |
8564 cat >>conftest.$ac_ext <<_ACEOF | |
8565 /* end confdefs.h. */ | |
8566 $ac_includes_default | |
8567 #if HAVE_SYS_SOCKET_H | 6642 #if HAVE_SYS_SOCKET_H |
8568 #include <sys/socket.h> | 6643 #include <sys/socket.h> |
8569 #endif | 6644 #endif |
8570 #if HAVE_NET_IF_H | 6645 #if HAVE_NET_IF_H |
8571 #include <net/if.h> | 6646 #include <net/if.h> |
8572 #endif | 6647 #endif |
8573 | 6648 " |
8574 int | 6649 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : |
8575 main () | |
8576 { | |
8577 static struct ifreq ac_aggr; | |
8578 if (sizeof ac_aggr.ifr_hwaddr) | |
8579 return 0; | |
8580 ; | |
8581 return 0; | |
8582 } | |
8583 _ACEOF | |
8584 rm -f conftest.$ac_objext | |
8585 if { (ac_try="$ac_compile" | |
8586 case "(($ac_try" in | |
8587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8588 *) ac_try_echo=$ac_try;; | |
8589 esac | |
8590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8591 $as_echo "$ac_try_echo") >&5 | |
8592 (eval "$ac_compile") 2>conftest.er1 | |
8593 ac_status=$? | |
8594 grep -v '^ *+' conftest.er1 >conftest.err | |
8595 rm -f conftest.er1 | |
8596 cat conftest.err >&5 | |
8597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8598 (exit $ac_status); } && { | |
8599 test -z "$ac_c_werror_flag" || | |
8600 test ! -s conftest.err | |
8601 } && test -s conftest.$ac_objext; then | |
8602 ac_cv_member_struct_ifreq_ifr_hwaddr=yes | |
8603 else | |
8604 $as_echo "$as_me: failed program was:" >&5 | |
8605 sed 's/^/| /' conftest.$ac_ext >&5 | |
8606 | |
8607 ac_cv_member_struct_ifreq_ifr_hwaddr=no | |
8608 fi | |
8609 | |
8610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8611 fi | |
8612 | |
8613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8614 fi | |
8615 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | |
8616 $as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } | |
8617 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then | |
8618 | 6650 |
8619 cat >>confdefs.h <<_ACEOF | 6651 cat >>confdefs.h <<_ACEOF |
8620 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 6652 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 |
8621 _ACEOF | 6653 _ACEOF |
8622 | 6654 |
8623 | 6655 |
8624 fi | 6656 fi |
8625 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 | 6657 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default |
8626 $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; } | |
8627 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then | |
8628 $as_echo_n "(cached) " >&6 | |
8629 else | |
8630 cat >conftest.$ac_ext <<_ACEOF | |
8631 /* confdefs.h. */ | |
8632 _ACEOF | |
8633 cat confdefs.h >>conftest.$ac_ext | |
8634 cat >>conftest.$ac_ext <<_ACEOF | |
8635 /* end confdefs.h. */ | |
8636 $ac_includes_default | |
8637 #if HAVE_SYS_SOCKET_H | 6658 #if HAVE_SYS_SOCKET_H |
8638 #include <sys/socket.h> | 6659 #include <sys/socket.h> |
8639 #endif | 6660 #endif |
8640 #if HAVE_NET_IF_H | 6661 #if HAVE_NET_IF_H |
8641 #include <net/if.h> | 6662 #include <net/if.h> |
8642 #endif | 6663 #endif |
8643 | 6664 " |
8644 int | 6665 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : |
8645 main () | |
8646 { | |
8647 static struct ifreq ac_aggr; | |
8648 if (ac_aggr.ifr_netmask) | |
8649 return 0; | |
8650 ; | |
8651 return 0; | |
8652 } | |
8653 _ACEOF | |
8654 rm -f conftest.$ac_objext | |
8655 if { (ac_try="$ac_compile" | |
8656 case "(($ac_try" in | |
8657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8658 *) ac_try_echo=$ac_try;; | |
8659 esac | |
8660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8661 $as_echo "$ac_try_echo") >&5 | |
8662 (eval "$ac_compile") 2>conftest.er1 | |
8663 ac_status=$? | |
8664 grep -v '^ *+' conftest.er1 >conftest.err | |
8665 rm -f conftest.er1 | |
8666 cat conftest.err >&5 | |
8667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8668 (exit $ac_status); } && { | |
8669 test -z "$ac_c_werror_flag" || | |
8670 test ! -s conftest.err | |
8671 } && test -s conftest.$ac_objext; then | |
8672 ac_cv_member_struct_ifreq_ifr_netmask=yes | |
8673 else | |
8674 $as_echo "$as_me: failed program was:" >&5 | |
8675 sed 's/^/| /' conftest.$ac_ext >&5 | |
8676 | |
8677 cat >conftest.$ac_ext <<_ACEOF | |
8678 /* confdefs.h. */ | |
8679 _ACEOF | |
8680 cat confdefs.h >>conftest.$ac_ext | |
8681 cat >>conftest.$ac_ext <<_ACEOF | |
8682 /* end confdefs.h. */ | |
8683 $ac_includes_default | |
8684 #if HAVE_SYS_SOCKET_H | |
8685 #include <sys/socket.h> | |
8686 #endif | |
8687 #if HAVE_NET_IF_H | |
8688 #include <net/if.h> | |
8689 #endif | |
8690 | |
8691 int | |
8692 main () | |
8693 { | |
8694 static struct ifreq ac_aggr; | |
8695 if (sizeof ac_aggr.ifr_netmask) | |
8696 return 0; | |
8697 ; | |
8698 return 0; | |
8699 } | |
8700 _ACEOF | |
8701 rm -f conftest.$ac_objext | |
8702 if { (ac_try="$ac_compile" | |
8703 case "(($ac_try" in | |
8704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8705 *) ac_try_echo=$ac_try;; | |
8706 esac | |
8707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8708 $as_echo "$ac_try_echo") >&5 | |
8709 (eval "$ac_compile") 2>conftest.er1 | |
8710 ac_status=$? | |
8711 grep -v '^ *+' conftest.er1 >conftest.err | |
8712 rm -f conftest.er1 | |
8713 cat conftest.err >&5 | |
8714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8715 (exit $ac_status); } && { | |
8716 test -z "$ac_c_werror_flag" || | |
8717 test ! -s conftest.err | |
8718 } && test -s conftest.$ac_objext; then | |
8719 ac_cv_member_struct_ifreq_ifr_netmask=yes | |
8720 else | |
8721 $as_echo "$as_me: failed program was:" >&5 | |
8722 sed 's/^/| /' conftest.$ac_ext >&5 | |
8723 | |
8724 ac_cv_member_struct_ifreq_ifr_netmask=no | |
8725 fi | |
8726 | |
8727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8728 fi | |
8729 | |
8730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8731 fi | |
8732 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | |
8733 $as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } | |
8734 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then | |
8735 | |
8736 cat >>confdefs.h <<_ACEOF | |
8737 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | |
8738 _ACEOF | |
8739 | |
8740 | |
8741 fi | |
8742 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 | |
8743 $as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; } | |
8744 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then | |
8745 $as_echo_n "(cached) " >&6 | |
8746 else | |
8747 cat >conftest.$ac_ext <<_ACEOF | |
8748 /* confdefs.h. */ | |
8749 _ACEOF | |
8750 cat confdefs.h >>conftest.$ac_ext | |
8751 cat >>conftest.$ac_ext <<_ACEOF | |
8752 /* end confdefs.h. */ | |
8753 $ac_includes_default | |
8754 #if HAVE_SYS_SOCKET_H | |
8755 #include <sys/socket.h> | |
8756 #endif | |
8757 #if HAVE_NET_IF_H | |
8758 #include <net/if.h> | |
8759 #endif | |
8760 | |
8761 int | |
8762 main () | |
8763 { | |
8764 static struct ifreq ac_aggr; | |
8765 if (ac_aggr.ifr_broadaddr) | |
8766 return 0; | |
8767 ; | |
8768 return 0; | |
8769 } | |
8770 _ACEOF | |
8771 rm -f conftest.$ac_objext | |
8772 if { (ac_try="$ac_compile" | |
8773 case "(($ac_try" in | |
8774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8775 *) ac_try_echo=$ac_try;; | |
8776 esac | |
8777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8778 $as_echo "$ac_try_echo") >&5 | |
8779 (eval "$ac_compile") 2>conftest.er1 | |
8780 ac_status=$? | |
8781 grep -v '^ *+' conftest.er1 >conftest.err | |
8782 rm -f conftest.er1 | |
8783 cat conftest.err >&5 | |
8784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8785 (exit $ac_status); } && { | |
8786 test -z "$ac_c_werror_flag" || | |
8787 test ! -s conftest.err | |
8788 } && test -s conftest.$ac_objext; then | |
8789 ac_cv_member_struct_ifreq_ifr_broadaddr=yes | |
8790 else | |
8791 $as_echo "$as_me: failed program was:" >&5 | |
8792 sed 's/^/| /' conftest.$ac_ext >&5 | |
8793 | |
8794 cat >conftest.$ac_ext <<_ACEOF | |
8795 /* confdefs.h. */ | |
8796 _ACEOF | |
8797 cat confdefs.h >>conftest.$ac_ext | |
8798 cat >>conftest.$ac_ext <<_ACEOF | |
8799 /* end confdefs.h. */ | |
8800 $ac_includes_default | |
8801 #if HAVE_SYS_SOCKET_H | |
8802 #include <sys/socket.h> | |
8803 #endif | |
8804 #if HAVE_NET_IF_H | |
8805 #include <net/if.h> | |
8806 #endif | |
8807 | |
8808 int | |
8809 main () | |
8810 { | |
8811 static struct ifreq ac_aggr; | |
8812 if (sizeof ac_aggr.ifr_broadaddr) | |
8813 return 0; | |
8814 ; | |
8815 return 0; | |
8816 } | |
8817 _ACEOF | |
8818 rm -f conftest.$ac_objext | |
8819 if { (ac_try="$ac_compile" | |
8820 case "(($ac_try" in | |
8821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8822 *) ac_try_echo=$ac_try;; | |
8823 esac | |
8824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8825 $as_echo "$ac_try_echo") >&5 | |
8826 (eval "$ac_compile") 2>conftest.er1 | |
8827 ac_status=$? | |
8828 grep -v '^ *+' conftest.er1 >conftest.err | |
8829 rm -f conftest.er1 | |
8830 cat conftest.err >&5 | |
8831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8832 (exit $ac_status); } && { | |
8833 test -z "$ac_c_werror_flag" || | |
8834 test ! -s conftest.err | |
8835 } && test -s conftest.$ac_objext; then | |
8836 ac_cv_member_struct_ifreq_ifr_broadaddr=yes | |
8837 else | |
8838 $as_echo "$as_me: failed program was:" >&5 | |
8839 sed 's/^/| /' conftest.$ac_ext >&5 | |
8840 | |
8841 ac_cv_member_struct_ifreq_ifr_broadaddr=no | |
8842 fi | |
8843 | |
8844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8845 fi | |
8846 | |
8847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8848 fi | |
8849 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | |
8850 $as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } | |
8851 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then | |
8852 | |
8853 cat >>confdefs.h <<_ACEOF | |
8854 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | |
8855 _ACEOF | |
8856 | |
8857 | |
8858 fi | |
8859 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 | |
8860 $as_echo_n "checking for struct ifreq.ifr_addr... " >&6; } | |
8861 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then | |
8862 $as_echo_n "(cached) " >&6 | |
8863 else | |
8864 cat >conftest.$ac_ext <<_ACEOF | |
8865 /* confdefs.h. */ | |
8866 _ACEOF | |
8867 cat confdefs.h >>conftest.$ac_ext | |
8868 cat >>conftest.$ac_ext <<_ACEOF | |
8869 /* end confdefs.h. */ | |
8870 $ac_includes_default | |
8871 #if HAVE_SYS_SOCKET_H | |
8872 #include <sys/socket.h> | |
8873 #endif | |
8874 #if HAVE_NET_IF_H | |
8875 #include <net/if.h> | |
8876 #endif | |
8877 | |
8878 int | |
8879 main () | |
8880 { | |
8881 static struct ifreq ac_aggr; | |
8882 if (ac_aggr.ifr_addr) | |
8883 return 0; | |
8884 ; | |
8885 return 0; | |
8886 } | |
8887 _ACEOF | |
8888 rm -f conftest.$ac_objext | |
8889 if { (ac_try="$ac_compile" | |
8890 case "(($ac_try" in | |
8891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8892 *) ac_try_echo=$ac_try;; | |
8893 esac | |
8894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8895 $as_echo "$ac_try_echo") >&5 | |
8896 (eval "$ac_compile") 2>conftest.er1 | |
8897 ac_status=$? | |
8898 grep -v '^ *+' conftest.er1 >conftest.err | |
8899 rm -f conftest.er1 | |
8900 cat conftest.err >&5 | |
8901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8902 (exit $ac_status); } && { | |
8903 test -z "$ac_c_werror_flag" || | |
8904 test ! -s conftest.err | |
8905 } && test -s conftest.$ac_objext; then | |
8906 ac_cv_member_struct_ifreq_ifr_addr=yes | |
8907 else | |
8908 $as_echo "$as_me: failed program was:" >&5 | |
8909 sed 's/^/| /' conftest.$ac_ext >&5 | |
8910 | |
8911 cat >conftest.$ac_ext <<_ACEOF | |
8912 /* confdefs.h. */ | |
8913 _ACEOF | |
8914 cat confdefs.h >>conftest.$ac_ext | |
8915 cat >>conftest.$ac_ext <<_ACEOF | |
8916 /* end confdefs.h. */ | |
8917 $ac_includes_default | |
8918 #if HAVE_SYS_SOCKET_H | |
8919 #include <sys/socket.h> | |
8920 #endif | |
8921 #if HAVE_NET_IF_H | |
8922 #include <net/if.h> | |
8923 #endif | |
8924 | |
8925 int | |
8926 main () | |
8927 { | |
8928 static struct ifreq ac_aggr; | |
8929 if (sizeof ac_aggr.ifr_addr) | |
8930 return 0; | |
8931 ; | |
8932 return 0; | |
8933 } | |
8934 _ACEOF | |
8935 rm -f conftest.$ac_objext | |
8936 if { (ac_try="$ac_compile" | |
8937 case "(($ac_try" in | |
8938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8939 *) ac_try_echo=$ac_try;; | |
8940 esac | |
8941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8942 $as_echo "$ac_try_echo") >&5 | |
8943 (eval "$ac_compile") 2>conftest.er1 | |
8944 ac_status=$? | |
8945 grep -v '^ *+' conftest.er1 >conftest.err | |
8946 rm -f conftest.er1 | |
8947 cat conftest.err >&5 | |
8948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8949 (exit $ac_status); } && { | |
8950 test -z "$ac_c_werror_flag" || | |
8951 test ! -s conftest.err | |
8952 } && test -s conftest.$ac_objext; then | |
8953 ac_cv_member_struct_ifreq_ifr_addr=yes | |
8954 else | |
8955 $as_echo "$as_me: failed program was:" >&5 | |
8956 sed 's/^/| /' conftest.$ac_ext >&5 | |
8957 | |
8958 ac_cv_member_struct_ifreq_ifr_addr=no | |
8959 fi | |
8960 | |
8961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8962 fi | |
8963 | |
8964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8965 fi | |
8966 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | |
8967 $as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; } | |
8968 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then | |
8969 | 6666 |
8970 cat >>confdefs.h <<_ACEOF | 6667 cat >>confdefs.h <<_ACEOF |
8971 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 6668 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
8972 _ACEOF | 6669 _ACEOF |
8973 | 6670 |
8974 | 6671 |
8975 fi | 6672 fi |
8976 | 6673 |
8977 | 6674 |
8978 | 6675 |
8979 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 | 6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 |
8980 $as_echo_n "checking for function prototypes... " >&6; } | 6677 $as_echo_n "checking for function prototypes... " >&6; } |
8981 if test "$ac_cv_prog_cc_c89" != no; then | 6678 if test "$ac_cv_prog_cc_c89" != no; then |
8982 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
8983 $as_echo "yes" >&6; } | 6680 $as_echo "yes" >&6; } |
8984 | 6681 |
8985 cat >>confdefs.h <<\_ACEOF | 6682 $as_echo "#define PROTOTYPES 1" >>confdefs.h |
8986 #define PROTOTYPES 1 | 6683 |
8987 _ACEOF | 6684 |
8988 | 6685 $as_echo "#define __PROTOTYPES 1" >>confdefs.h |
8989 | 6686 |
8990 cat >>confdefs.h <<\_ACEOF | 6687 else |
8991 #define __PROTOTYPES 1 | 6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8992 _ACEOF | |
8993 | |
8994 else | |
8995 { $as_echo "$as_me:$LINENO: result: no" >&5 | |
8996 $as_echo "no" >&6; } | 6689 $as_echo "no" >&6; } |
8997 fi | 6690 fi |
8998 | 6691 |
8999 { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 | 6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 |
9000 $as_echo_n "checking for working volatile... " >&6; } | 6693 $as_echo_n "checking for working volatile... " >&6; } |
9001 if test "${ac_cv_c_volatile+set}" = set; then | 6694 if test "${ac_cv_c_volatile+set}" = set; then : |
9002 $as_echo_n "(cached) " >&6 | 6695 $as_echo_n "(cached) " >&6 |
9003 else | 6696 else |
9004 cat >conftest.$ac_ext <<_ACEOF | 6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9005 /* confdefs.h. */ | |
9006 _ACEOF | |
9007 cat confdefs.h >>conftest.$ac_ext | |
9008 cat >>conftest.$ac_ext <<_ACEOF | |
9009 /* end confdefs.h. */ | 6698 /* end confdefs.h. */ |
9010 | 6699 |
9011 int | 6700 int |
9012 main () | 6701 main () |
9013 { | 6702 { |
9017 return !x && !y; | 6706 return !x && !y; |
9018 ; | 6707 ; |
9019 return 0; | 6708 return 0; |
9020 } | 6709 } |
9021 _ACEOF | 6710 _ACEOF |
9022 rm -f conftest.$ac_objext | 6711 if ac_fn_c_try_compile "$LINENO"; then : |
9023 if { (ac_try="$ac_compile" | |
9024 case "(($ac_try" in | |
9025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9026 *) ac_try_echo=$ac_try;; | |
9027 esac | |
9028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9029 $as_echo "$ac_try_echo") >&5 | |
9030 (eval "$ac_compile") 2>conftest.er1 | |
9031 ac_status=$? | |
9032 grep -v '^ *+' conftest.er1 >conftest.err | |
9033 rm -f conftest.er1 | |
9034 cat conftest.err >&5 | |
9035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9036 (exit $ac_status); } && { | |
9037 test -z "$ac_c_werror_flag" || | |
9038 test ! -s conftest.err | |
9039 } && test -s conftest.$ac_objext; then | |
9040 ac_cv_c_volatile=yes | 6712 ac_cv_c_volatile=yes |
9041 else | 6713 else |
9042 $as_echo "$as_me: failed program was:" >&5 | 6714 ac_cv_c_volatile=no |
9043 sed 's/^/| /' conftest.$ac_ext >&5 | 6715 fi |
9044 | |
9045 ac_cv_c_volatile=no | |
9046 fi | |
9047 | |
9048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9049 fi | 6717 fi |
9050 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 | 6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 |
9051 $as_echo "$ac_cv_c_volatile" >&6; } | 6719 $as_echo "$ac_cv_c_volatile" >&6; } |
9052 if test $ac_cv_c_volatile = no; then | 6720 if test $ac_cv_c_volatile = no; then |
9053 | 6721 |
9054 cat >>confdefs.h <<\_ACEOF | 6722 $as_echo "#define volatile /**/" >>confdefs.h |
9055 #define volatile /**/ | 6723 |
9056 _ACEOF | 6724 fi |
9057 | 6725 |
9058 fi | 6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
9059 | |
9060 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | |
9061 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | 6727 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
9062 if test "${ac_cv_c_const+set}" = set; then | 6728 if test "${ac_cv_c_const+set}" = set; then : |
9063 $as_echo_n "(cached) " >&6 | 6729 $as_echo_n "(cached) " >&6 |
9064 else | 6730 else |
9065 cat >conftest.$ac_ext <<_ACEOF | 6731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9066 /* confdefs.h. */ | |
9067 _ACEOF | |
9068 cat confdefs.h >>conftest.$ac_ext | |
9069 cat >>conftest.$ac_ext <<_ACEOF | |
9070 /* end confdefs.h. */ | 6732 /* end confdefs.h. */ |
9071 | 6733 |
9072 int | 6734 int |
9073 main () | 6735 main () |
9074 { | 6736 { |
9124 | 6786 |
9125 ; | 6787 ; |
9126 return 0; | 6788 return 0; |
9127 } | 6789 } |
9128 _ACEOF | 6790 _ACEOF |
9129 rm -f conftest.$ac_objext | 6791 if ac_fn_c_try_compile "$LINENO"; then : |
9130 if { (ac_try="$ac_compile" | |
9131 case "(($ac_try" in | |
9132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9133 *) ac_try_echo=$ac_try;; | |
9134 esac | |
9135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9136 $as_echo "$ac_try_echo") >&5 | |
9137 (eval "$ac_compile") 2>conftest.er1 | |
9138 ac_status=$? | |
9139 grep -v '^ *+' conftest.er1 >conftest.err | |
9140 rm -f conftest.er1 | |
9141 cat conftest.err >&5 | |
9142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9143 (exit $ac_status); } && { | |
9144 test -z "$ac_c_werror_flag" || | |
9145 test ! -s conftest.err | |
9146 } && test -s conftest.$ac_objext; then | |
9147 ac_cv_c_const=yes | 6792 ac_cv_c_const=yes |
9148 else | 6793 else |
9149 $as_echo "$as_me: failed program was:" >&5 | 6794 ac_cv_c_const=no |
9150 sed 's/^/| /' conftest.$ac_ext >&5 | 6795 fi |
9151 | |
9152 ac_cv_c_const=no | |
9153 fi | |
9154 | |
9155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9156 fi | 6797 fi |
9157 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
9158 $as_echo "$ac_cv_c_const" >&6; } | 6799 $as_echo "$ac_cv_c_const" >&6; } |
9159 if test $ac_cv_c_const = no; then | 6800 if test $ac_cv_c_const = no; then |
9160 | 6801 |
9161 cat >>confdefs.h <<\_ACEOF | 6802 $as_echo "#define const /**/" >>confdefs.h |
9162 #define const /**/ | 6803 |
9163 _ACEOF | 6804 fi |
9164 | 6805 |
9165 fi | 6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 |
9166 | |
9167 { $as_echo "$as_me:$LINENO: checking for void * support" >&5 | |
9168 $as_echo_n "checking for void * support... " >&6; } | 6807 $as_echo_n "checking for void * support... " >&6; } |
9169 if test "${emacs_cv_void_star+set}" = set; then | 6808 if test "${emacs_cv_void_star+set}" = set; then : |
9170 $as_echo_n "(cached) " >&6 | 6809 $as_echo_n "(cached) " >&6 |
9171 else | 6810 else |
9172 cat >conftest.$ac_ext <<_ACEOF | 6811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9173 /* confdefs.h. */ | |
9174 _ACEOF | |
9175 cat confdefs.h >>conftest.$ac_ext | |
9176 cat >>conftest.$ac_ext <<_ACEOF | |
9177 /* end confdefs.h. */ | 6812 /* end confdefs.h. */ |
9178 | 6813 |
9179 int | 6814 int |
9180 main () | 6815 main () |
9181 { | 6816 { |
9182 void * foo; | 6817 void * foo; |
9183 ; | 6818 ; |
9184 return 0; | 6819 return 0; |
9185 } | 6820 } |
9186 _ACEOF | 6821 _ACEOF |
9187 rm -f conftest.$ac_objext | 6822 if ac_fn_c_try_compile "$LINENO"; then : |
9188 if { (ac_try="$ac_compile" | |
9189 case "(($ac_try" in | |
9190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9191 *) ac_try_echo=$ac_try;; | |
9192 esac | |
9193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9194 $as_echo "$ac_try_echo") >&5 | |
9195 (eval "$ac_compile") 2>conftest.er1 | |
9196 ac_status=$? | |
9197 grep -v '^ *+' conftest.er1 >conftest.err | |
9198 rm -f conftest.er1 | |
9199 cat conftest.err >&5 | |
9200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9201 (exit $ac_status); } && { | |
9202 test -z "$ac_c_werror_flag" || | |
9203 test ! -s conftest.err | |
9204 } && test -s conftest.$ac_objext; then | |
9205 emacs_cv_void_star=yes | 6823 emacs_cv_void_star=yes |
9206 else | 6824 else |
9207 $as_echo "$as_me: failed program was:" >&5 | 6825 emacs_cv_void_star=no |
9208 sed 's/^/| /' conftest.$ac_ext >&5 | 6826 fi |
9209 | |
9210 emacs_cv_void_star=no | |
9211 fi | |
9212 | |
9213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9214 fi | 6828 fi |
9215 { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 | 6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5 |
9216 $as_echo "$emacs_cv_void_star" >&6; } | 6830 $as_echo "$emacs_cv_void_star" >&6; } |
9217 if test $emacs_cv_void_star = yes; then | 6831 if test $emacs_cv_void_star = yes; then |
9218 cat >>confdefs.h <<\_ACEOF | 6832 $as_echo "#define POINTER_TYPE void" >>confdefs.h |
9219 #define POINTER_TYPE void | 6833 |
9220 _ACEOF | 6834 else |
9221 | 6835 $as_echo "#define POINTER_TYPE char" >>confdefs.h |
9222 else | 6836 |
9223 cat >>confdefs.h <<\_ACEOF | 6837 fi |
9224 #define POINTER_TYPE char | 6838 |
9225 _ACEOF | 6839 |
9226 | 6840 |
9227 fi | 6841 |
9228 | 6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
9229 | |
9230 | |
9231 | |
9232 | |
9233 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
9234 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 6843 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
9235 set x ${MAKE-make} | 6844 set x ${MAKE-make} |
9236 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 6845 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
9237 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | 6846 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
9238 $as_echo_n "(cached) " >&6 | 6847 $as_echo_n "(cached) " >&6 |
9239 else | 6848 else |
9240 cat >conftest.make <<\_ACEOF | 6849 cat >conftest.make <<\_ACEOF |
9241 SHELL = /bin/sh | 6850 SHELL = /bin/sh |
9242 all: | 6851 all: |
9250 eval ac_cv_prog_make_${ac_make}_set=no;; | 6859 eval ac_cv_prog_make_${ac_make}_set=no;; |
9251 esac | 6860 esac |
9252 rm -f conftest.make | 6861 rm -f conftest.make |
9253 fi | 6862 fi |
9254 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 6863 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
9255 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
9256 $as_echo "yes" >&6; } | 6865 $as_echo "yes" >&6; } |
9257 SET_MAKE= | 6866 SET_MAKE= |
9258 else | 6867 else |
9259 { $as_echo "$as_me:$LINENO: result: no" >&5 | 6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9260 $as_echo "no" >&6; } | 6869 $as_echo "no" >&6; } |
9261 SET_MAKE="MAKE=${MAKE-make}" | 6870 SET_MAKE="MAKE=${MAKE-make}" |
9262 fi | 6871 fi |
9263 | 6872 |
9264 | 6873 |
9265 if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then | 6874 if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then |
9266 { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5 | 6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5 |
9267 $as_echo_n "checking whether we are using GNU Make... " >&6; } | 6876 $as_echo_n "checking whether we are using GNU Make... " >&6; } |
9268 HAVE_GNU_MAKE=no | 6877 HAVE_GNU_MAKE=no |
9269 testval=`make --version 2>/dev/null | grep 'GNU Make'` | 6878 testval=`make --version 2>/dev/null | grep 'GNU Make'` |
9270 if test "x$testval" != x; then | 6879 if test "x$testval" != x; then |
9271 HAVE_GNU_MAKE=yes | 6880 HAVE_GNU_MAKE=yes |
9272 else | 6881 else |
9273 ac_enable_autodepend=no | 6882 ac_enable_autodepend=no |
9274 fi | 6883 fi |
9275 { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5 | 6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5 |
9276 $as_echo "$HAVE_GNU_MAKE" >&6; } | 6885 $as_echo "$HAVE_GNU_MAKE" >&6; } |
9277 if test $HAVE_GNU_MAKE = yes; then | 6886 if test $HAVE_GNU_MAKE = yes; then |
9278 { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5 | 6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 |
9279 $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } | 6888 $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } |
9280 SAVE_CFLAGS="$CFLAGS" | 6889 SAVE_CFLAGS="$CFLAGS" |
9281 CFLAGS="$CFLAGS -MMD -MF deps.d" | 6890 CFLAGS="$CFLAGS -MMD -MF deps.d" |
9282 cat >conftest.$ac_ext <<_ACEOF | 6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9283 /* confdefs.h. */ | |
9284 _ACEOF | |
9285 cat confdefs.h >>conftest.$ac_ext | |
9286 cat >>conftest.$ac_ext <<_ACEOF | |
9287 /* end confdefs.h. */ | 6892 /* end confdefs.h. */ |
9288 | 6893 |
9289 int | 6894 int |
9290 main () | 6895 main () |
9291 { | 6896 { |
9292 | 6897 |
9293 ; | 6898 ; |
9294 return 0; | 6899 return 0; |
9295 } | 6900 } |
9296 _ACEOF | 6901 _ACEOF |
9297 rm -f conftest.$ac_objext | 6902 if ac_fn_c_try_compile "$LINENO"; then : |
9298 if { (ac_try="$ac_compile" | 6903 |
9299 case "(($ac_try" in | 6904 else |
9300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6905 ac_enable_autodepend=no |
9301 *) ac_try_echo=$ac_try;; | 6906 fi |
9302 esac | |
9303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9304 $as_echo "$ac_try_echo") >&5 | |
9305 (eval "$ac_compile") 2>conftest.er1 | |
9306 ac_status=$? | |
9307 grep -v '^ *+' conftest.er1 >conftest.err | |
9308 rm -f conftest.er1 | |
9309 cat conftest.err >&5 | |
9310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9311 (exit $ac_status); } && { | |
9312 test -z "$ac_c_werror_flag" || | |
9313 test ! -s conftest.err | |
9314 } && test -s conftest.$ac_objext; then | |
9315 : | |
9316 else | |
9317 $as_echo "$as_me: failed program was:" >&5 | |
9318 sed 's/^/| /' conftest.$ac_ext >&5 | |
9319 | |
9320 ac_enable_autodepend=no | |
9321 fi | |
9322 | |
9323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9324 CFLAGS="$SAVE_CFLAGS" | 6908 CFLAGS="$SAVE_CFLAGS" |
9325 test -f deps.d || ac_enable_autodepend=no | 6909 test -f deps.d || ac_enable_autodepend=no |
9326 rm -rf deps.d | 6910 rm -rf deps.d |
9327 { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5 | 6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5 |
9328 $as_echo "$ac_enable_autodepend" >&6; } | 6912 $as_echo "$ac_enable_autodepend" >&6; } |
9329 fi | 6913 fi |
9330 if test $ac_enable_autodepend = yes; then | 6914 if test $ac_enable_autodepend = yes; then |
9331 | 6915 |
9332 cat >>confdefs.h <<\_ACEOF | 6916 $as_echo "#define AUTO_DEPEND 1" >>confdefs.h |
9333 #define AUTO_DEPEND 1 | |
9334 _ACEOF | |
9335 | 6917 |
9336 fi | 6918 fi |
9337 fi | 6919 fi |
9338 | 6920 |
9339 { $as_echo "$as_me:$LINENO: checking for long file names" >&5 | 6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 |
9340 $as_echo_n "checking for long file names... " >&6; } | 6922 $as_echo_n "checking for long file names... " >&6; } |
9341 if test "${ac_cv_sys_long_file_names+set}" = set; then | 6923 if test "${ac_cv_sys_long_file_names+set}" = set; then : |
9342 $as_echo_n "(cached) " >&6 | 6924 $as_echo_n "(cached) " >&6 |
9343 else | 6925 else |
9344 ac_cv_sys_long_file_names=yes | 6926 ac_cv_sys_long_file_names=yes |
9345 # Test for long file names in all the places we know might matter: | 6927 # Test for long file names in all the places we know might matter: |
9346 # . the current directory, where building will happen | 6928 # . the current directory, where building will happen |
9366 ac_cv_sys_long_file_names=no | 6948 ac_cv_sys_long_file_names=no |
9367 rm -f -r "$ac_xdir" 2>/dev/null | 6949 rm -f -r "$ac_xdir" 2>/dev/null |
9368 test $ac_cv_sys_long_file_names = no && break | 6950 test $ac_cv_sys_long_file_names = no && break |
9369 done | 6951 done |
9370 fi | 6952 fi |
9371 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 | 6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 |
9372 $as_echo "$ac_cv_sys_long_file_names" >&6; } | 6954 $as_echo "$ac_cv_sys_long_file_names" >&6; } |
9373 if test $ac_cv_sys_long_file_names = yes; then | 6955 if test $ac_cv_sys_long_file_names = yes; then |
9374 | 6956 |
9375 cat >>confdefs.h <<\_ACEOF | 6957 $as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h |
9376 #define HAVE_LONG_FILE_NAMES 1 | |
9377 _ACEOF | |
9378 | 6958 |
9379 fi | 6959 fi |
9380 | 6960 |
9381 | 6961 |
9382 #### Choose a window system. | 6962 #### Choose a window system. |
9383 | 6963 |
9384 { $as_echo "$as_me:$LINENO: checking for X" >&5 | 6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 |
9385 $as_echo_n "checking for X... " >&6; } | 6965 $as_echo_n "checking for X... " >&6; } |
9386 | 6966 |
9387 | 6967 |
9388 # Check whether --with-x was given. | 6968 # Check whether --with-x was given. |
9389 if test "${with_x+set}" = set; then | 6969 if test "${with_x+set}" = set; then : |
9390 withval=$with_x; | 6970 withval=$with_x; |
9391 fi | 6971 fi |
9392 | 6972 |
9393 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. | 6973 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
9394 if test "x$with_x" = xno; then | 6974 if test "x$with_x" = xno; then |
9395 # The user explicitly disabled X. | 6975 # The user explicitly disabled X. |
9396 have_x=disabled | 6976 have_x=disabled |
9397 else | 6977 else |
9398 case $x_includes,$x_libraries in #( | 6978 case $x_includes,$x_libraries in #( |
9399 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 | 6979 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( |
9400 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} | 6980 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
9401 { (exit 1); exit 1; }; };; #( | |
9402 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then | |
9403 $as_echo_n "(cached) " >&6 | 6981 $as_echo_n "(cached) " >&6 |
9404 else | 6982 else |
9405 # One or both of the vars are not set, and there is no cached value. | 6983 # One or both of the vars are not set, and there is no cached value. |
9406 ac_x_includes=no ac_x_libraries=no | 6984 ac_x_includes=no ac_x_libraries=no |
9407 rm -f -r conftest.dir | 6985 rm -f -r conftest.dir |
9433 case $ac_im_incroot in | 7011 case $ac_im_incroot in |
9434 /usr/include) ac_x_includes= ;; | 7012 /usr/include) ac_x_includes= ;; |
9435 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 7013 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
9436 esac | 7014 esac |
9437 case $ac_im_usrlibdir in | 7015 case $ac_im_usrlibdir in |
9438 /usr/lib | /lib) ;; | 7016 /usr/lib | /usr/lib64 | /lib | /lib64) ;; |
9439 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 7017 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
9440 esac | 7018 esac |
9441 fi | 7019 fi |
9442 cd .. | 7020 cd .. |
9443 rm -f -r conftest.dir | 7021 rm -f -r conftest.dir |
9445 | 7023 |
9446 # Standard set of common directories for X headers. | 7024 # Standard set of common directories for X headers. |
9447 # Check X11 before X11Rn because it is often a symlink to the current release. | 7025 # Check X11 before X11Rn because it is often a symlink to the current release. |
9448 ac_x_header_dirs=' | 7026 ac_x_header_dirs=' |
9449 /usr/X11/include | 7027 /usr/X11/include |
7028 /usr/X11R7/include | |
9450 /usr/X11R6/include | 7029 /usr/X11R6/include |
9451 /usr/X11R5/include | 7030 /usr/X11R5/include |
9452 /usr/X11R4/include | 7031 /usr/X11R4/include |
9453 | 7032 |
9454 /usr/include/X11 | 7033 /usr/include/X11 |
7034 /usr/include/X11R7 | |
9455 /usr/include/X11R6 | 7035 /usr/include/X11R6 |
9456 /usr/include/X11R5 | 7036 /usr/include/X11R5 |
9457 /usr/include/X11R4 | 7037 /usr/include/X11R4 |
9458 | 7038 |
9459 /usr/local/X11/include | 7039 /usr/local/X11/include |
7040 /usr/local/X11R7/include | |
9460 /usr/local/X11R6/include | 7041 /usr/local/X11R6/include |
9461 /usr/local/X11R5/include | 7042 /usr/local/X11R5/include |
9462 /usr/local/X11R4/include | 7043 /usr/local/X11R4/include |
9463 | 7044 |
9464 /usr/local/include/X11 | 7045 /usr/local/include/X11 |
7046 /usr/local/include/X11R7 | |
9465 /usr/local/include/X11R6 | 7047 /usr/local/include/X11R6 |
9466 /usr/local/include/X11R5 | 7048 /usr/local/include/X11R5 |
9467 /usr/local/include/X11R4 | 7049 /usr/local/include/X11R4 |
9468 | 7050 |
9469 /usr/X386/include | 7051 /usr/X386/include |
9481 /usr/openwin/share/include' | 7063 /usr/openwin/share/include' |
9482 | 7064 |
9483 if test "$ac_x_includes" = no; then | 7065 if test "$ac_x_includes" = no; then |
9484 # Guess where to find include files, by looking for Xlib.h. | 7066 # Guess where to find include files, by looking for Xlib.h. |
9485 # First, try using that file with no special directory specified. | 7067 # First, try using that file with no special directory specified. |
9486 cat >conftest.$ac_ext <<_ACEOF | 7068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9487 /* confdefs.h. */ | |
9488 _ACEOF | |
9489 cat confdefs.h >>conftest.$ac_ext | |
9490 cat >>conftest.$ac_ext <<_ACEOF | |
9491 /* end confdefs.h. */ | 7069 /* end confdefs.h. */ |
9492 #include <X11/Xlib.h> | 7070 #include <X11/Xlib.h> |
9493 _ACEOF | 7071 _ACEOF |
9494 if { (ac_try="$ac_cpp conftest.$ac_ext" | 7072 if ac_fn_c_try_cpp "$LINENO"; then : |
9495 case "(($ac_try" in | |
9496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9497 *) ac_try_echo=$ac_try;; | |
9498 esac | |
9499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9500 $as_echo "$ac_try_echo") >&5 | |
9501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
9502 ac_status=$? | |
9503 grep -v '^ *+' conftest.er1 >conftest.err | |
9504 rm -f conftest.er1 | |
9505 cat conftest.err >&5 | |
9506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9507 (exit $ac_status); } >/dev/null && { | |
9508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
9509 test ! -s conftest.err | |
9510 }; then | |
9511 # We can compile using X headers with no special include directory. | 7073 # We can compile using X headers with no special include directory. |
9512 ac_x_includes= | 7074 ac_x_includes= |
9513 else | 7075 else |
9514 $as_echo "$as_me: failed program was:" >&5 | |
9515 sed 's/^/| /' conftest.$ac_ext >&5 | |
9516 | |
9517 for ac_dir in $ac_x_header_dirs; do | 7076 for ac_dir in $ac_x_header_dirs; do |
9518 if test -r "$ac_dir/X11/Xlib.h"; then | 7077 if test -r "$ac_dir/X11/Xlib.h"; then |
9519 ac_x_includes=$ac_dir | 7078 ac_x_includes=$ac_dir |
9520 break | 7079 break |
9521 fi | 7080 fi |
9522 done | 7081 done |
9523 fi | 7082 fi |
9524 | |
9525 rm -f conftest.err conftest.$ac_ext | 7083 rm -f conftest.err conftest.$ac_ext |
9526 fi # $ac_x_includes = no | 7084 fi # $ac_x_includes = no |
9527 | 7085 |
9528 if test "$ac_x_libraries" = no; then | 7086 if test "$ac_x_libraries" = no; then |
9529 # Check for the libraries. | 7087 # Check for the libraries. |
9530 # See if we find them without any special options. | 7088 # See if we find them without any special options. |
9531 # Don't add to $LIBS permanently. | 7089 # Don't add to $LIBS permanently. |
9532 ac_save_LIBS=$LIBS | 7090 ac_save_LIBS=$LIBS |
9533 LIBS="-lX11 $LIBS" | 7091 LIBS="-lX11 $LIBS" |
9534 cat >conftest.$ac_ext <<_ACEOF | 7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9535 /* confdefs.h. */ | |
9536 _ACEOF | |
9537 cat confdefs.h >>conftest.$ac_ext | |
9538 cat >>conftest.$ac_ext <<_ACEOF | |
9539 /* end confdefs.h. */ | 7093 /* end confdefs.h. */ |
9540 #include <X11/Xlib.h> | 7094 #include <X11/Xlib.h> |
9541 int | 7095 int |
9542 main () | 7096 main () |
9543 { | 7097 { |
9544 XrmInitialize () | 7098 XrmInitialize () |
9545 ; | 7099 ; |
9546 return 0; | 7100 return 0; |
9547 } | 7101 } |
9548 _ACEOF | 7102 _ACEOF |
9549 rm -f conftest.$ac_objext conftest$ac_exeext | 7103 if ac_fn_c_try_link "$LINENO"; then : |
9550 if { (ac_try="$ac_link" | |
9551 case "(($ac_try" in | |
9552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9553 *) ac_try_echo=$ac_try;; | |
9554 esac | |
9555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9556 $as_echo "$ac_try_echo") >&5 | |
9557 (eval "$ac_link") 2>conftest.er1 | |
9558 ac_status=$? | |
9559 grep -v '^ *+' conftest.er1 >conftest.err | |
9560 rm -f conftest.er1 | |
9561 cat conftest.err >&5 | |
9562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9563 (exit $ac_status); } && { | |
9564 test -z "$ac_c_werror_flag" || | |
9565 test ! -s conftest.err | |
9566 } && test -s conftest$ac_exeext && { | |
9567 test "$cross_compiling" = yes || | |
9568 $as_test_x conftest$ac_exeext | |
9569 }; then | |
9570 LIBS=$ac_save_LIBS | 7104 LIBS=$ac_save_LIBS |
9571 # We can link X programs with no special library path. | 7105 # We can link X programs with no special library path. |
9572 ac_x_libraries= | 7106 ac_x_libraries= |
9573 else | 7107 else |
9574 $as_echo "$as_me: failed program was:" >&5 | 7108 LIBS=$ac_save_LIBS |
9575 sed 's/^/| /' conftest.$ac_ext >&5 | |
9576 | |
9577 LIBS=$ac_save_LIBS | |
9578 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 7109 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
9579 do | 7110 do |
9580 # Don't even attempt the hair of trying to link an X program! | 7111 # Don't even attempt the hair of trying to link an X program! |
9581 for ac_extension in a so sl dylib la dll; do | 7112 for ac_extension in a so sl dylib la dll; do |
9582 if test -r "$ac_dir/libX11.$ac_extension"; then | 7113 if test -r "$ac_dir/libX11.$ac_extension"; then |
9584 break 2 | 7115 break 2 |
9585 fi | 7116 fi |
9586 done | 7117 done |
9587 done | 7118 done |
9588 fi | 7119 fi |
9589 | 7120 rm -f core conftest.err conftest.$ac_objext \ |
9590 rm -rf conftest.dSYM | 7121 conftest$ac_exeext conftest.$ac_ext |
9591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
9592 conftest$ac_exeext conftest.$ac_ext | |
9593 fi # $ac_x_libraries = no | 7122 fi # $ac_x_libraries = no |
9594 | 7123 |
9595 case $ac_x_includes,$ac_x_libraries in #( | 7124 case $ac_x_includes,$ac_x_libraries in #( |
9596 no,* | *,no | *\'*) | 7125 no,* | *,no | *\'*) |
9597 # Didn't find X, or a directory has "'" in its name. | 7126 # Didn't find X, or a directory has "'" in its name. |
9608 esac | 7137 esac |
9609 eval "$ac_cv_have_x" | 7138 eval "$ac_cv_have_x" |
9610 fi # $with_x != no | 7139 fi # $with_x != no |
9611 | 7140 |
9612 if test "$have_x" != yes; then | 7141 if test "$have_x" != yes; then |
9613 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 | 7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 |
9614 $as_echo "$have_x" >&6; } | 7143 $as_echo "$have_x" >&6; } |
9615 no_x=yes | 7144 no_x=yes |
9616 else | 7145 else |
9617 # If each of the values was on the command line, it overrides each guess. | 7146 # If each of the values was on the command line, it overrides each guess. |
9618 test "x$x_includes" = xNONE && x_includes=$ac_x_includes | 7147 test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9619 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | 7148 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9620 # Update the cache value to reflect the command line values. | 7149 # Update the cache value to reflect the command line values. |
9621 ac_cv_have_x="have_x=yes\ | 7150 ac_cv_have_x="have_x=yes\ |
9622 ac_x_includes='$x_includes'\ | 7151 ac_x_includes='$x_includes'\ |
9623 ac_x_libraries='$x_libraries'" | 7152 ac_x_libraries='$x_libraries'" |
9624 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 | 7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 |
9625 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } | 7154 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
9626 fi | 7155 fi |
9627 | 7156 |
9628 if test "$no_x" = yes; then | 7157 if test "$no_x" = yes; then |
9629 window_system=none | 7158 window_system=none |
9715 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 7244 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
9716 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 7245 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
9717 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 7246 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
9718 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 7247 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
9719 fi | 7248 fi |
9720 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | 7249 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" |
9721 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 | 7250 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : |
9722 $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | |
9723 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | |
9724 $as_echo_n "(cached) " >&6 | |
9725 fi | |
9726 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | |
9727 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | |
9728 else | |
9729 # Is the header compilable? | |
9730 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5 | |
9731 $as_echo_n "checking AppKit/AppKit.h usability... " >&6; } | |
9732 cat >conftest.$ac_ext <<_ACEOF | |
9733 /* confdefs.h. */ | |
9734 _ACEOF | |
9735 cat confdefs.h >>conftest.$ac_ext | |
9736 cat >>conftest.$ac_ext <<_ACEOF | |
9737 /* end confdefs.h. */ | |
9738 $ac_includes_default | |
9739 #include <AppKit/AppKit.h> | |
9740 _ACEOF | |
9741 rm -f conftest.$ac_objext | |
9742 if { (ac_try="$ac_compile" | |
9743 case "(($ac_try" in | |
9744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9745 *) ac_try_echo=$ac_try;; | |
9746 esac | |
9747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9748 $as_echo "$ac_try_echo") >&5 | |
9749 (eval "$ac_compile") 2>conftest.er1 | |
9750 ac_status=$? | |
9751 grep -v '^ *+' conftest.er1 >conftest.err | |
9752 rm -f conftest.er1 | |
9753 cat conftest.err >&5 | |
9754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9755 (exit $ac_status); } && { | |
9756 test -z "$ac_c_werror_flag" || | |
9757 test ! -s conftest.err | |
9758 } && test -s conftest.$ac_objext; then | |
9759 ac_header_compiler=yes | |
9760 else | |
9761 $as_echo "$as_me: failed program was:" >&5 | |
9762 sed 's/^/| /' conftest.$ac_ext >&5 | |
9763 | |
9764 ac_header_compiler=no | |
9765 fi | |
9766 | |
9767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
9768 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
9769 $as_echo "$ac_header_compiler" >&6; } | |
9770 | |
9771 # Is the header present? | |
9772 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5 | |
9773 $as_echo_n "checking AppKit/AppKit.h presence... " >&6; } | |
9774 cat >conftest.$ac_ext <<_ACEOF | |
9775 /* confdefs.h. */ | |
9776 _ACEOF | |
9777 cat confdefs.h >>conftest.$ac_ext | |
9778 cat >>conftest.$ac_ext <<_ACEOF | |
9779 /* end confdefs.h. */ | |
9780 #include <AppKit/AppKit.h> | |
9781 _ACEOF | |
9782 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
9783 case "(($ac_try" in | |
9784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9785 *) ac_try_echo=$ac_try;; | |
9786 esac | |
9787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9788 $as_echo "$ac_try_echo") >&5 | |
9789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
9790 ac_status=$? | |
9791 grep -v '^ *+' conftest.er1 >conftest.err | |
9792 rm -f conftest.er1 | |
9793 cat conftest.err >&5 | |
9794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9795 (exit $ac_status); } >/dev/null && { | |
9796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
9797 test ! -s conftest.err | |
9798 }; then | |
9799 ac_header_preproc=yes | |
9800 else | |
9801 $as_echo "$as_me: failed program was:" >&5 | |
9802 sed 's/^/| /' conftest.$ac_ext >&5 | |
9803 | |
9804 ac_header_preproc=no | |
9805 fi | |
9806 | |
9807 rm -f conftest.err conftest.$ac_ext | |
9808 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
9809 $as_echo "$ac_header_preproc" >&6; } | |
9810 | |
9811 # So? What about this header? | |
9812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
9813 yes:no: ) | |
9814 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
9815 $as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
9816 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5 | |
9817 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;} | |
9818 ac_header_preproc=yes | |
9819 ;; | |
9820 no:yes:* ) | |
9821 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5 | |
9822 $as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;} | |
9823 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5 | |
9824 $as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;} | |
9825 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5 | |
9826 $as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;} | |
9827 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5 | |
9828 $as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
9829 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5 | |
9830 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;} | |
9831 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5 | |
9832 $as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;} | |
9833 | |
9834 ;; | |
9835 esac | |
9836 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 | |
9837 $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | |
9838 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | |
9839 $as_echo_n "(cached) " >&6 | |
9840 else | |
9841 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc | |
9842 fi | |
9843 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | |
9844 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | |
9845 | |
9846 fi | |
9847 if test $ac_cv_header_AppKit_AppKit_h = yes; then | |
9848 HAVE_NS=yes | 7251 HAVE_NS=yes |
9849 else | 7252 else |
9850 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include | 7253 as_fn_error "\`--with-ns' was specified, but the include |
9851 files are missing or cannot be compiled." >&5 | 7254 files are missing or cannot be compiled." "$LINENO" 5 |
9852 $as_echo "$as_me: error: \`--with-ns' was specified, but the include | |
9853 files are missing or cannot be compiled." >&2;} | |
9854 { (exit 1); exit 1; }; } | |
9855 fi | 7255 fi |
9856 | 7256 |
9857 | 7257 |
9858 NS_HAVE_NSINTEGER=yes | 7258 NS_HAVE_NSINTEGER=yes |
9859 cat >conftest.$ac_ext <<_ACEOF | 7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9860 /* confdefs.h. */ | |
9861 _ACEOF | |
9862 cat confdefs.h >>conftest.$ac_ext | |
9863 cat >>conftest.$ac_ext <<_ACEOF | |
9864 /* end confdefs.h. */ | 7260 /* end confdefs.h. */ |
9865 #include <Foundation/NSObjCRuntime.h> | 7261 #include <Foundation/NSObjCRuntime.h> |
9866 int | 7262 int |
9867 main () | 7263 main () |
9868 { | 7264 { |
9869 NSInteger i; | 7265 NSInteger i; |
9870 ; | 7266 ; |
9871 return 0; | 7267 return 0; |
9872 } | 7268 } |
9873 _ACEOF | 7269 _ACEOF |
9874 rm -f conftest.$ac_objext | 7270 if ac_fn_c_try_compile "$LINENO"; then : |
9875 if { (ac_try="$ac_compile" | |
9876 case "(($ac_try" in | |
9877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9878 *) ac_try_echo=$ac_try;; | |
9879 esac | |
9880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9881 $as_echo "$ac_try_echo") >&5 | |
9882 (eval "$ac_compile") 2>conftest.er1 | |
9883 ac_status=$? | |
9884 grep -v '^ *+' conftest.er1 >conftest.err | |
9885 rm -f conftest.er1 | |
9886 cat conftest.err >&5 | |
9887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9888 (exit $ac_status); } && { | |
9889 test -z "$ac_c_werror_flag" || | |
9890 test ! -s conftest.err | |
9891 } && test -s conftest.$ac_objext; then | |
9892 ns_have_nsinteger=yes | 7271 ns_have_nsinteger=yes |
9893 else | 7272 else |
9894 $as_echo "$as_me: failed program was:" >&5 | 7273 ns_have_nsinteger=no |
9895 sed 's/^/| /' conftest.$ac_ext >&5 | 7274 fi |
9896 | |
9897 ns_have_nsinteger=no | |
9898 fi | |
9899 | |
9900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9901 if test $ns_have_nsinteger = no; then | 7276 if test $ns_have_nsinteger = no; then |
9902 NS_HAVE_NSINTEGER=no | 7277 NS_HAVE_NSINTEGER=no |
9903 fi | 7278 fi |
9904 fi | 7279 fi |
9936 esac | 7311 esac |
9937 | 7312 |
9938 if test "$window_system" = none && test "X$with_x" != "Xno"; then | 7313 if test "$window_system" = none && test "X$with_x" != "Xno"; then |
9939 # Extract the first word of "X", so it can be a program name with args. | 7314 # Extract the first word of "X", so it can be a program name with args. |
9940 set dummy X; ac_word=$2 | 7315 set dummy X; ac_word=$2 |
9941 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9942 $as_echo_n "checking for $ac_word... " >&6; } | 7317 $as_echo_n "checking for $ac_word... " >&6; } |
9943 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then | 7318 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : |
9944 $as_echo_n "(cached) " >&6 | 7319 $as_echo_n "(cached) " >&6 |
9945 else | 7320 else |
9946 if test -n "$HAVE_XSERVER"; then | 7321 if test -n "$HAVE_XSERVER"; then |
9947 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. | 7322 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. |
9948 else | 7323 else |
9949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9950 for as_dir in $PATH | 7325 for as_dir in $PATH |
9951 do | 7326 do |
9952 IFS=$as_save_IFS | 7327 IFS=$as_save_IFS |
9953 test -z "$as_dir" && as_dir=. | 7328 test -z "$as_dir" && as_dir=. |
9954 for ac_exec_ext in '' $ac_executable_extensions; do | 7329 for ac_exec_ext in '' $ac_executable_extensions; do |
9955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9956 ac_cv_prog_HAVE_XSERVER="true" | 7331 ac_cv_prog_HAVE_XSERVER="true" |
9957 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9958 break 2 | 7333 break 2 |
9959 fi | 7334 fi |
9960 done | 7335 done |
9961 done | 7336 done |
9962 IFS=$as_save_IFS | 7337 IFS=$as_save_IFS |
9963 | 7338 |
9964 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" | 7339 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" |
9965 fi | 7340 fi |
9966 fi | 7341 fi |
9967 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER | 7342 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER |
9968 if test -n "$HAVE_XSERVER"; then | 7343 if test -n "$HAVE_XSERVER"; then |
9969 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 | 7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5 |
9970 $as_echo "$HAVE_XSERVER" >&6; } | 7345 $as_echo "$HAVE_XSERVER" >&6; } |
9971 else | 7346 else |
9972 { $as_echo "$as_me:$LINENO: result: no" >&5 | 7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9973 $as_echo "no" >&6; } | 7348 $as_echo "no" >&6; } |
9974 fi | 7349 fi |
9975 | 7350 |
9976 | 7351 |
9977 if test "$HAVE_XSERVER" = true || | 7352 if test "$HAVE_XSERVER" = true || |
9978 test -n "$DISPLAY" || | 7353 test -n "$DISPLAY" || |
9979 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 7354 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
9980 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries | 7355 as_fn_error "You seem to be running X, but no X development libraries |
9981 were found. You should install the relevant development files for X | 7356 were found. You should install the relevant development files for X |
9982 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 7357 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
9983 sure you have development files for image handling, i.e. | 7358 sure you have development files for image handling, i.e. |
9984 tiff, gif, jpeg, png and xpm. | 7359 tiff, gif, jpeg, png and xpm. |
9985 If you are sure you want Emacs compiled without X window support, pass | 7360 If you are sure you want Emacs compiled without X window support, pass |
9986 --without-x | 7361 --without-x |
9987 to configure." >&5 | 7362 to configure." "$LINENO" 5 |
9988 $as_echo "$as_me: error: You seem to be running X, but no X development libraries | |
9989 were found. You should install the relevant development files for X | |
9990 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | |
9991 sure you have development files for image handling, i.e. | |
9992 tiff, gif, jpeg, png and xpm. | |
9993 If you are sure you want Emacs compiled without X window support, pass | |
9994 --without-x | |
9995 to configure." >&2;} | |
9996 { (exit 1); exit 1; }; } | |
9997 fi | 7363 fi |
9998 fi | 7364 fi |
9999 | 7365 |
10000 ### If we're using X11, we should use the X menu package. | 7366 ### If we're using X11, we should use the X menu package. |
10001 HAVE_MENUS=no | 7367 HAVE_MENUS=no |
10005 | 7371 |
10006 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 7372 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
10007 # Assume not, until told otherwise. | 7373 # Assume not, until told otherwise. |
10008 GNU_MALLOC=yes | 7374 GNU_MALLOC=yes |
10009 doug_lea_malloc=yes | 7375 doug_lea_malloc=yes |
10010 { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 | 7376 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" |
10011 $as_echo_n "checking for malloc_get_state... " >&6; } | 7377 if test "x$ac_cv_func_malloc_get_state" = x""yes; then : |
10012 if test "${ac_cv_func_malloc_get_state+set}" = set; then | 7378 |
7379 else | |
7380 doug_lea_malloc=no | |
7381 fi | |
7382 | |
7383 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" | |
7384 if test "x$ac_cv_func_malloc_set_state" = x""yes; then : | |
7385 | |
7386 else | |
7387 doug_lea_malloc=no | |
7388 fi | |
7389 | |
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 | |
7391 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } | |
7392 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : | |
10013 $as_echo_n "(cached) " >&6 | 7393 $as_echo_n "(cached) " >&6 |
10014 else | 7394 else |
10015 cat >conftest.$ac_ext <<_ACEOF | 7395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10016 /* confdefs.h. */ | |
10017 _ACEOF | |
10018 cat confdefs.h >>conftest.$ac_ext | |
10019 cat >>conftest.$ac_ext <<_ACEOF | |
10020 /* end confdefs.h. */ | |
10021 /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state. | |
10022 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
10023 #define malloc_get_state innocuous_malloc_get_state | |
10024 | |
10025 /* System header to define __stub macros and hopefully few prototypes, | |
10026 which can conflict with char malloc_get_state (); below. | |
10027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
10028 <limits.h> exists even on freestanding compilers. */ | |
10029 | |
10030 #ifdef __STDC__ | |
10031 # include <limits.h> | |
10032 #else | |
10033 # include <assert.h> | |
10034 #endif | |
10035 | |
10036 #undef malloc_get_state | |
10037 | |
10038 /* Override any GCC internal prototype to avoid an error. | |
10039 Use char because int might match the return type of a GCC | |
10040 builtin and then its argument prototype would still apply. */ | |
10041 #ifdef __cplusplus | |
10042 extern "C" | |
10043 #endif | |
10044 char malloc_get_state (); | |
10045 /* The GNU C library defines this for functions which it implements | |
10046 to always fail with ENOSYS. Some functions are actually named | |
10047 something starting with __ and the normal name is an alias. */ | |
10048 #if defined __stub_malloc_get_state || defined __stub___malloc_get_state | |
10049 choke me | |
10050 #endif | |
10051 | |
10052 int | |
10053 main () | |
10054 { | |
10055 return malloc_get_state (); | |
10056 ; | |
10057 return 0; | |
10058 } | |
10059 _ACEOF | |
10060 rm -f conftest.$ac_objext conftest$ac_exeext | |
10061 if { (ac_try="$ac_link" | |
10062 case "(($ac_try" in | |
10063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10064 *) ac_try_echo=$ac_try;; | |
10065 esac | |
10066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10067 $as_echo "$ac_try_echo") >&5 | |
10068 (eval "$ac_link") 2>conftest.er1 | |
10069 ac_status=$? | |
10070 grep -v '^ *+' conftest.er1 >conftest.err | |
10071 rm -f conftest.er1 | |
10072 cat conftest.err >&5 | |
10073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10074 (exit $ac_status); } && { | |
10075 test -z "$ac_c_werror_flag" || | |
10076 test ! -s conftest.err | |
10077 } && test -s conftest$ac_exeext && { | |
10078 test "$cross_compiling" = yes || | |
10079 $as_test_x conftest$ac_exeext | |
10080 }; then | |
10081 ac_cv_func_malloc_get_state=yes | |
10082 else | |
10083 $as_echo "$as_me: failed program was:" >&5 | |
10084 sed 's/^/| /' conftest.$ac_ext >&5 | |
10085 | |
10086 ac_cv_func_malloc_get_state=no | |
10087 fi | |
10088 | |
10089 rm -rf conftest.dSYM | |
10090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10091 conftest$ac_exeext conftest.$ac_ext | |
10092 fi | |
10093 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | |
10094 $as_echo "$ac_cv_func_malloc_get_state" >&6; } | |
10095 if test $ac_cv_func_malloc_get_state = yes; then | |
10096 : | |
10097 else | |
10098 doug_lea_malloc=no | |
10099 fi | |
10100 | |
10101 { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 | |
10102 $as_echo_n "checking for malloc_set_state... " >&6; } | |
10103 if test "${ac_cv_func_malloc_set_state+set}" = set; then | |
10104 $as_echo_n "(cached) " >&6 | |
10105 else | |
10106 cat >conftest.$ac_ext <<_ACEOF | |
10107 /* confdefs.h. */ | |
10108 _ACEOF | |
10109 cat confdefs.h >>conftest.$ac_ext | |
10110 cat >>conftest.$ac_ext <<_ACEOF | |
10111 /* end confdefs.h. */ | |
10112 /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state. | |
10113 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
10114 #define malloc_set_state innocuous_malloc_set_state | |
10115 | |
10116 /* System header to define __stub macros and hopefully few prototypes, | |
10117 which can conflict with char malloc_set_state (); below. | |
10118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
10119 <limits.h> exists even on freestanding compilers. */ | |
10120 | |
10121 #ifdef __STDC__ | |
10122 # include <limits.h> | |
10123 #else | |
10124 # include <assert.h> | |
10125 #endif | |
10126 | |
10127 #undef malloc_set_state | |
10128 | |
10129 /* Override any GCC internal prototype to avoid an error. | |
10130 Use char because int might match the return type of a GCC | |
10131 builtin and then its argument prototype would still apply. */ | |
10132 #ifdef __cplusplus | |
10133 extern "C" | |
10134 #endif | |
10135 char malloc_set_state (); | |
10136 /* The GNU C library defines this for functions which it implements | |
10137 to always fail with ENOSYS. Some functions are actually named | |
10138 something starting with __ and the normal name is an alias. */ | |
10139 #if defined __stub_malloc_set_state || defined __stub___malloc_set_state | |
10140 choke me | |
10141 #endif | |
10142 | |
10143 int | |
10144 main () | |
10145 { | |
10146 return malloc_set_state (); | |
10147 ; | |
10148 return 0; | |
10149 } | |
10150 _ACEOF | |
10151 rm -f conftest.$ac_objext conftest$ac_exeext | |
10152 if { (ac_try="$ac_link" | |
10153 case "(($ac_try" in | |
10154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10155 *) ac_try_echo=$ac_try;; | |
10156 esac | |
10157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10158 $as_echo "$ac_try_echo") >&5 | |
10159 (eval "$ac_link") 2>conftest.er1 | |
10160 ac_status=$? | |
10161 grep -v '^ *+' conftest.er1 >conftest.err | |
10162 rm -f conftest.er1 | |
10163 cat conftest.err >&5 | |
10164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10165 (exit $ac_status); } && { | |
10166 test -z "$ac_c_werror_flag" || | |
10167 test ! -s conftest.err | |
10168 } && test -s conftest$ac_exeext && { | |
10169 test "$cross_compiling" = yes || | |
10170 $as_test_x conftest$ac_exeext | |
10171 }; then | |
10172 ac_cv_func_malloc_set_state=yes | |
10173 else | |
10174 $as_echo "$as_me: failed program was:" >&5 | |
10175 sed 's/^/| /' conftest.$ac_ext >&5 | |
10176 | |
10177 ac_cv_func_malloc_set_state=no | |
10178 fi | |
10179 | |
10180 rm -rf conftest.dSYM | |
10181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10182 conftest$ac_exeext conftest.$ac_ext | |
10183 fi | |
10184 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | |
10185 $as_echo "$ac_cv_func_malloc_set_state" >&6; } | |
10186 if test $ac_cv_func_malloc_set_state = yes; then | |
10187 : | |
10188 else | |
10189 doug_lea_malloc=no | |
10190 fi | |
10191 | |
10192 { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 | |
10193 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } | |
10194 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then | |
10195 $as_echo_n "(cached) " >&6 | |
10196 else | |
10197 cat >conftest.$ac_ext <<_ACEOF | |
10198 /* confdefs.h. */ | |
10199 _ACEOF | |
10200 cat confdefs.h >>conftest.$ac_ext | |
10201 cat >>conftest.$ac_ext <<_ACEOF | |
10202 /* end confdefs.h. */ | 7396 /* end confdefs.h. */ |
10203 extern void (* __after_morecore_hook)(); | 7397 extern void (* __after_morecore_hook)(); |
10204 int | 7398 int |
10205 main () | 7399 main () |
10206 { | 7400 { |
10207 __after_morecore_hook = 0 | 7401 __after_morecore_hook = 0 |
10208 ; | 7402 ; |
10209 return 0; | 7403 return 0; |
10210 } | 7404 } |
10211 _ACEOF | 7405 _ACEOF |
10212 rm -f conftest.$ac_objext conftest$ac_exeext | 7406 if ac_fn_c_try_link "$LINENO"; then : |
10213 if { (ac_try="$ac_link" | |
10214 case "(($ac_try" in | |
10215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10216 *) ac_try_echo=$ac_try;; | |
10217 esac | |
10218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10219 $as_echo "$ac_try_echo") >&5 | |
10220 (eval "$ac_link") 2>conftest.er1 | |
10221 ac_status=$? | |
10222 grep -v '^ *+' conftest.er1 >conftest.err | |
10223 rm -f conftest.er1 | |
10224 cat conftest.err >&5 | |
10225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10226 (exit $ac_status); } && { | |
10227 test -z "$ac_c_werror_flag" || | |
10228 test ! -s conftest.err | |
10229 } && test -s conftest$ac_exeext && { | |
10230 test "$cross_compiling" = yes || | |
10231 $as_test_x conftest$ac_exeext | |
10232 }; then | |
10233 emacs_cv_var___after_morecore_hook=yes | 7407 emacs_cv_var___after_morecore_hook=yes |
10234 else | 7408 else |
10235 $as_echo "$as_me: failed program was:" >&5 | 7409 emacs_cv_var___after_morecore_hook=no |
10236 sed 's/^/| /' conftest.$ac_ext >&5 | 7410 fi |
10237 | 7411 rm -f core conftest.err conftest.$ac_objext \ |
10238 emacs_cv_var___after_morecore_hook=no | 7412 conftest$ac_exeext conftest.$ac_ext |
10239 fi | 7413 fi |
10240 | 7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5 |
10241 rm -rf conftest.dSYM | |
10242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10243 conftest$ac_exeext conftest.$ac_ext | |
10244 fi | |
10245 { $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 | |
10246 $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } | 7415 $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } |
10247 if test $emacs_cv_var___after_morecore_hook = no; then | 7416 if test $emacs_cv_var___after_morecore_hook = no; then |
10248 doug_lea_malloc=no | 7417 doug_lea_malloc=no |
10249 fi | 7418 fi |
10250 if test "${system_malloc}" = "yes"; then | 7419 if test "${system_malloc}" = "yes"; then |
10256 if test "$GNU_MALLOC" = yes ; then | 7425 if test "$GNU_MALLOC" = yes ; then |
10257 GNU_MALLOC_reason=" | 7426 GNU_MALLOC_reason=" |
10258 (Using Doug Lea's new malloc from the GNU C Library.)" | 7427 (Using Doug Lea's new malloc from the GNU C Library.)" |
10259 fi | 7428 fi |
10260 | 7429 |
10261 cat >>confdefs.h <<\_ACEOF | 7430 $as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h |
10262 #define DOUG_LEA_MALLOC 1 | |
10263 _ACEOF | |
10264 | 7431 |
10265 fi | 7432 fi |
10266 | 7433 |
10267 if test x"${REL_ALLOC}" = x; then | 7434 if test x"${REL_ALLOC}" = x; then |
10268 REL_ALLOC=${GNU_MALLOC} | 7435 REL_ALLOC=${GNU_MALLOC} |
10269 fi | 7436 fi |
10270 | 7437 |
10271 | 7438 |
10272 | 7439 |
10273 | 7440 |
10274 for ac_header in stdlib.h unistd.h | 7441 |
10275 do | 7442 for ac_header in $ac_header_list |
10276 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7443 do : |
10277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 7444 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10278 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 7445 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
10279 $as_echo_n "checking for $ac_header... " >&6; } | 7446 " |
10280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 7447 eval as_val=\$$as_ac_Header |
10281 $as_echo_n "(cached) " >&6 | 7448 if test "x$as_val" = x""yes; then : |
10282 fi | |
10283 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
10284 $as_echo "$as_val"'` | |
10285 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10286 $as_echo "$ac_res" >&6; } | |
10287 else | |
10288 # Is the header compilable? | |
10289 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
10290 $as_echo_n "checking $ac_header usability... " >&6; } | |
10291 cat >conftest.$ac_ext <<_ACEOF | |
10292 /* confdefs.h. */ | |
10293 _ACEOF | |
10294 cat confdefs.h >>conftest.$ac_ext | |
10295 cat >>conftest.$ac_ext <<_ACEOF | |
10296 /* end confdefs.h. */ | |
10297 $ac_includes_default | |
10298 #include <$ac_header> | |
10299 _ACEOF | |
10300 rm -f conftest.$ac_objext | |
10301 if { (ac_try="$ac_compile" | |
10302 case "(($ac_try" in | |
10303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10304 *) ac_try_echo=$ac_try;; | |
10305 esac | |
10306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10307 $as_echo "$ac_try_echo") >&5 | |
10308 (eval "$ac_compile") 2>conftest.er1 | |
10309 ac_status=$? | |
10310 grep -v '^ *+' conftest.er1 >conftest.err | |
10311 rm -f conftest.er1 | |
10312 cat conftest.err >&5 | |
10313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10314 (exit $ac_status); } && { | |
10315 test -z "$ac_c_werror_flag" || | |
10316 test ! -s conftest.err | |
10317 } && test -s conftest.$ac_objext; then | |
10318 ac_header_compiler=yes | |
10319 else | |
10320 $as_echo "$as_me: failed program was:" >&5 | |
10321 sed 's/^/| /' conftest.$ac_ext >&5 | |
10322 | |
10323 ac_header_compiler=no | |
10324 fi | |
10325 | |
10326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
10327 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
10328 $as_echo "$ac_header_compiler" >&6; } | |
10329 | |
10330 # Is the header present? | |
10331 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
10332 $as_echo_n "checking $ac_header presence... " >&6; } | |
10333 cat >conftest.$ac_ext <<_ACEOF | |
10334 /* confdefs.h. */ | |
10335 _ACEOF | |
10336 cat confdefs.h >>conftest.$ac_ext | |
10337 cat >>conftest.$ac_ext <<_ACEOF | |
10338 /* end confdefs.h. */ | |
10339 #include <$ac_header> | |
10340 _ACEOF | |
10341 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
10342 case "(($ac_try" in | |
10343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10344 *) ac_try_echo=$ac_try;; | |
10345 esac | |
10346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10347 $as_echo "$ac_try_echo") >&5 | |
10348 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
10349 ac_status=$? | |
10350 grep -v '^ *+' conftest.er1 >conftest.err | |
10351 rm -f conftest.er1 | |
10352 cat conftest.err >&5 | |
10353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10354 (exit $ac_status); } >/dev/null && { | |
10355 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
10356 test ! -s conftest.err | |
10357 }; then | |
10358 ac_header_preproc=yes | |
10359 else | |
10360 $as_echo "$as_me: failed program was:" >&5 | |
10361 sed 's/^/| /' conftest.$ac_ext >&5 | |
10362 | |
10363 ac_header_preproc=no | |
10364 fi | |
10365 | |
10366 rm -f conftest.err conftest.$ac_ext | |
10367 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
10368 $as_echo "$ac_header_preproc" >&6; } | |
10369 | |
10370 # So? What about this header? | |
10371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
10372 yes:no: ) | |
10373 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
10374 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
10375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
10376 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
10377 ac_header_preproc=yes | |
10378 ;; | |
10379 no:yes:* ) | |
10380 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
10381 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
10382 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
10383 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
10384 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
10385 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
10386 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
10387 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
10388 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
10389 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
10390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
10391 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
10392 | |
10393 ;; | |
10394 esac | |
10395 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
10396 $as_echo_n "checking for $ac_header... " >&6; } | |
10397 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
10398 $as_echo_n "(cached) " >&6 | |
10399 else | |
10400 eval "$as_ac_Header=\$ac_header_preproc" | |
10401 fi | |
10402 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
10403 $as_echo "$as_val"'` | |
10404 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10405 $as_echo "$ac_res" >&6; } | |
10406 | |
10407 fi | |
10408 if test `eval 'as_val=${'$as_ac_Header'} | |
10409 $as_echo "$as_val"'` = yes; then | |
10410 cat >>confdefs.h <<_ACEOF | 7449 cat >>confdefs.h <<_ACEOF |
10411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7450 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10412 _ACEOF | 7451 _ACEOF |
10413 | 7452 |
10414 fi | 7453 fi |
10415 | 7454 |
10416 done | 7455 done |
10417 | 7456 |
10418 | 7457 |
7458 | |
7459 | |
7460 | |
7461 | |
7462 | |
7463 | |
10419 for ac_func in getpagesize | 7464 for ac_func in getpagesize |
10420 do | 7465 do : |
10421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7466 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" |
10422 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7467 if test "x$ac_cv_func_getpagesize" = x""yes; then : |
10423 $as_echo_n "checking for $ac_func... " >&6; } | 7468 cat >>confdefs.h <<_ACEOF |
10424 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 7469 #define HAVE_GETPAGESIZE 1 |
7470 _ACEOF | |
7471 | |
7472 fi | |
7473 done | |
7474 | |
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 | |
7476 $as_echo_n "checking for working mmap... " >&6; } | |
7477 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : | |
10425 $as_echo_n "(cached) " >&6 | 7478 $as_echo_n "(cached) " >&6 |
10426 else | 7479 else |
10427 cat >conftest.$ac_ext <<_ACEOF | 7480 if test "$cross_compiling" = yes; then : |
10428 /* confdefs.h. */ | |
10429 _ACEOF | |
10430 cat confdefs.h >>conftest.$ac_ext | |
10431 cat >>conftest.$ac_ext <<_ACEOF | |
10432 /* end confdefs.h. */ | |
10433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
10434 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
10435 #define $ac_func innocuous_$ac_func | |
10436 | |
10437 /* System header to define __stub macros and hopefully few prototypes, | |
10438 which can conflict with char $ac_func (); below. | |
10439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
10440 <limits.h> exists even on freestanding compilers. */ | |
10441 | |
10442 #ifdef __STDC__ | |
10443 # include <limits.h> | |
10444 #else | |
10445 # include <assert.h> | |
10446 #endif | |
10447 | |
10448 #undef $ac_func | |
10449 | |
10450 /* Override any GCC internal prototype to avoid an error. | |
10451 Use char because int might match the return type of a GCC | |
10452 builtin and then its argument prototype would still apply. */ | |
10453 #ifdef __cplusplus | |
10454 extern "C" | |
10455 #endif | |
10456 char $ac_func (); | |
10457 /* The GNU C library defines this for functions which it implements | |
10458 to always fail with ENOSYS. Some functions are actually named | |
10459 something starting with __ and the normal name is an alias. */ | |
10460 #if defined __stub_$ac_func || defined __stub___$ac_func | |
10461 choke me | |
10462 #endif | |
10463 | |
10464 int | |
10465 main () | |
10466 { | |
10467 return $ac_func (); | |
10468 ; | |
10469 return 0; | |
10470 } | |
10471 _ACEOF | |
10472 rm -f conftest.$ac_objext conftest$ac_exeext | |
10473 if { (ac_try="$ac_link" | |
10474 case "(($ac_try" in | |
10475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10476 *) ac_try_echo=$ac_try;; | |
10477 esac | |
10478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10479 $as_echo "$ac_try_echo") >&5 | |
10480 (eval "$ac_link") 2>conftest.er1 | |
10481 ac_status=$? | |
10482 grep -v '^ *+' conftest.er1 >conftest.err | |
10483 rm -f conftest.er1 | |
10484 cat conftest.err >&5 | |
10485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10486 (exit $ac_status); } && { | |
10487 test -z "$ac_c_werror_flag" || | |
10488 test ! -s conftest.err | |
10489 } && test -s conftest$ac_exeext && { | |
10490 test "$cross_compiling" = yes || | |
10491 $as_test_x conftest$ac_exeext | |
10492 }; then | |
10493 eval "$as_ac_var=yes" | |
10494 else | |
10495 $as_echo "$as_me: failed program was:" >&5 | |
10496 sed 's/^/| /' conftest.$ac_ext >&5 | |
10497 | |
10498 eval "$as_ac_var=no" | |
10499 fi | |
10500 | |
10501 rm -rf conftest.dSYM | |
10502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10503 conftest$ac_exeext conftest.$ac_ext | |
10504 fi | |
10505 ac_res=`eval 'as_val=${'$as_ac_var'} | |
10506 $as_echo "$as_val"'` | |
10507 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10508 $as_echo "$ac_res" >&6; } | |
10509 if test `eval 'as_val=${'$as_ac_var'} | |
10510 $as_echo "$as_val"'` = yes; then | |
10511 cat >>confdefs.h <<_ACEOF | |
10512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
10513 _ACEOF | |
10514 | |
10515 fi | |
10516 done | |
10517 | |
10518 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5 | |
10519 $as_echo_n "checking for working mmap... " >&6; } | |
10520 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | |
10521 $as_echo_n "(cached) " >&6 | |
10522 else | |
10523 if test "$cross_compiling" = yes; then | |
10524 ac_cv_func_mmap_fixed_mapped=no | 7481 ac_cv_func_mmap_fixed_mapped=no |
10525 else | 7482 else |
10526 cat >conftest.$ac_ext <<_ACEOF | 7483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10527 /* confdefs.h. */ | |
10528 _ACEOF | |
10529 cat confdefs.h >>conftest.$ac_ext | |
10530 cat >>conftest.$ac_ext <<_ACEOF | |
10531 /* end confdefs.h. */ | 7484 /* end confdefs.h. */ |
10532 $ac_includes_default | 7485 $ac_includes_default |
10533 /* malloc might have been renamed as rpl_malloc. */ | 7486 /* malloc might have been renamed as rpl_malloc. */ |
10534 #undef malloc | 7487 #undef malloc |
10535 | 7488 |
10562 char *malloc (); | 7515 char *malloc (); |
10563 #endif | 7516 #endif |
10564 | 7517 |
10565 /* This mess was copied from the GNU getpagesize.h. */ | 7518 /* This mess was copied from the GNU getpagesize.h. */ |
10566 #ifndef HAVE_GETPAGESIZE | 7519 #ifndef HAVE_GETPAGESIZE |
10567 /* Assume that all systems that can run configure have sys/param.h. */ | |
10568 # ifndef HAVE_SYS_PARAM_H | |
10569 # define HAVE_SYS_PARAM_H 1 | |
10570 # endif | |
10571 | |
10572 # ifdef _SC_PAGESIZE | 7520 # ifdef _SC_PAGESIZE |
10573 # define getpagesize() sysconf(_SC_PAGESIZE) | 7521 # define getpagesize() sysconf(_SC_PAGESIZE) |
10574 # else /* no _SC_PAGESIZE */ | 7522 # else /* no _SC_PAGESIZE */ |
10575 # ifdef HAVE_SYS_PARAM_H | 7523 # ifdef HAVE_SYS_PARAM_H |
10576 # include <sys/param.h> | 7524 # include <sys/param.h> |
10602 int | 7550 int |
10603 main () | 7551 main () |
10604 { | 7552 { |
10605 char *data, *data2, *data3; | 7553 char *data, *data2, *data3; |
10606 int i, pagesize; | 7554 int i, pagesize; |
10607 int fd; | 7555 int fd, fd2; |
10608 | 7556 |
10609 pagesize = getpagesize (); | 7557 pagesize = getpagesize (); |
10610 | 7558 |
10611 /* First, make a file with some known garbage in it. */ | 7559 /* First, make a file with some known garbage in it. */ |
10612 data = (char *) malloc (pagesize); | 7560 data = (char *) malloc (pagesize); |
10615 for (i = 0; i < pagesize; ++i) | 7563 for (i = 0; i < pagesize; ++i) |
10616 *(data + i) = rand (); | 7564 *(data + i) = rand (); |
10617 umask (0); | 7565 umask (0); |
10618 fd = creat ("conftest.mmap", 0600); | 7566 fd = creat ("conftest.mmap", 0600); |
10619 if (fd < 0) | 7567 if (fd < 0) |
10620 return 1; | 7568 return 2; |
10621 if (write (fd, data, pagesize) != pagesize) | 7569 if (write (fd, data, pagesize) != pagesize) |
10622 return 1; | 7570 return 3; |
10623 close (fd); | 7571 close (fd); |
7572 | |
7573 /* Next, check that the tail of a page is zero-filled. File must have | |
7574 non-zero length, otherwise we risk SIGBUS for entire page. */ | |
7575 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | |
7576 if (fd2 < 0) | |
7577 return 4; | |
7578 data2 = ""; | |
7579 if (write (fd2, data2, 1) != 1) | |
7580 return 5; | |
7581 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | |
7582 if (data2 == MAP_FAILED) | |
7583 return 6; | |
7584 for (i = 0; i < pagesize; ++i) | |
7585 if (*(data2 + i)) | |
7586 return 7; | |
7587 close (fd2); | |
7588 if (munmap (data2, pagesize)) | |
7589 return 8; | |
10624 | 7590 |
10625 /* Next, try to mmap the file at a fixed address which already has | 7591 /* Next, try to mmap the file at a fixed address which already has |
10626 something else allocated at it. If we can, also make sure that | 7592 something else allocated at it. If we can, also make sure that |
10627 we see the same garbage. */ | 7593 we see the same garbage. */ |
10628 fd = open ("conftest.mmap", O_RDWR); | 7594 fd = open ("conftest.mmap", O_RDWR); |
10629 if (fd < 0) | 7595 if (fd < 0) |
10630 return 1; | 7596 return 9; |
10631 data2 = (char *) malloc (2 * pagesize); | |
10632 if (!data2) | |
10633 return 1; | |
10634 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); | |
10635 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 7597 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
10636 MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 7598 MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
10637 return 1; | 7599 return 10; |
10638 for (i = 0; i < pagesize; ++i) | 7600 for (i = 0; i < pagesize; ++i) |
10639 if (*(data + i) != *(data2 + i)) | 7601 if (*(data + i) != *(data2 + i)) |
10640 return 1; | 7602 return 11; |
10641 | 7603 |
10642 /* Finally, make sure that changes to the mapped area do not | 7604 /* Finally, make sure that changes to the mapped area do not |
10643 percolate back to the file as seen by read(). (This is a bug on | 7605 percolate back to the file as seen by read(). (This is a bug on |
10644 some variants of i386 svr4.0.) */ | 7606 some variants of i386 svr4.0.) */ |
10645 for (i = 0; i < pagesize; ++i) | 7607 for (i = 0; i < pagesize; ++i) |
10646 *(data2 + i) = *(data2 + i) + 1; | 7608 *(data2 + i) = *(data2 + i) + 1; |
10647 data3 = (char *) malloc (pagesize); | 7609 data3 = (char *) malloc (pagesize); |
10648 if (!data3) | 7610 if (!data3) |
10649 return 1; | 7611 return 12; |
10650 if (read (fd, data3, pagesize) != pagesize) | 7612 if (read (fd, data3, pagesize) != pagesize) |
10651 return 1; | 7613 return 13; |
10652 for (i = 0; i < pagesize; ++i) | 7614 for (i = 0; i < pagesize; ++i) |
10653 if (*(data + i) != *(data3 + i)) | 7615 if (*(data + i) != *(data3 + i)) |
10654 return 1; | 7616 return 14; |
10655 close (fd); | 7617 close (fd); |
10656 return 0; | 7618 return 0; |
10657 } | 7619 } |
10658 _ACEOF | 7620 _ACEOF |
10659 rm -f conftest$ac_exeext | 7621 if ac_fn_c_try_run "$LINENO"; then : |
10660 if { (ac_try="$ac_link" | |
10661 case "(($ac_try" in | |
10662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10663 *) ac_try_echo=$ac_try;; | |
10664 esac | |
10665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10666 $as_echo "$ac_try_echo") >&5 | |
10667 (eval "$ac_link") 2>&5 | |
10668 ac_status=$? | |
10669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
10671 { (case "(($ac_try" in | |
10672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10673 *) ac_try_echo=$ac_try;; | |
10674 esac | |
10675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10676 $as_echo "$ac_try_echo") >&5 | |
10677 (eval "$ac_try") 2>&5 | |
10678 ac_status=$? | |
10679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10680 (exit $ac_status); }; }; then | |
10681 ac_cv_func_mmap_fixed_mapped=yes | 7622 ac_cv_func_mmap_fixed_mapped=yes |
10682 else | 7623 else |
10683 $as_echo "$as_me: program exited with status $ac_status" >&5 | 7624 ac_cv_func_mmap_fixed_mapped=no |
10684 $as_echo "$as_me: failed program was:" >&5 | 7625 fi |
10685 sed 's/^/| /' conftest.$ac_ext >&5 | 7626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
10686 | 7627 conftest.$ac_objext conftest.beam conftest.$ac_ext |
10687 ( exit $ac_status ) | 7628 fi |
10688 ac_cv_func_mmap_fixed_mapped=no | 7629 |
10689 fi | 7630 fi |
10690 rm -rf conftest.dSYM | 7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
10691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
10692 fi | |
10693 | |
10694 | |
10695 fi | |
10696 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | |
10697 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } | 7632 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
10698 if test $ac_cv_func_mmap_fixed_mapped = yes; then | 7633 if test $ac_cv_func_mmap_fixed_mapped = yes; then |
10699 | 7634 |
10700 cat >>confdefs.h <<\_ACEOF | 7635 $as_echo "#define HAVE_MMAP 1" >>confdefs.h |
10701 #define HAVE_MMAP 1 | 7636 |
10702 _ACEOF | 7637 fi |
10703 | 7638 rm -f conftest.mmap conftest.txt |
10704 fi | |
10705 rm -f conftest.mmap | |
10706 | 7639 |
10707 if test $use_mmap_for_buffers = yes; then | 7640 if test $use_mmap_for_buffers = yes; then |
10708 REL_ALLOC=no | 7641 REL_ALLOC=no |
10709 fi | 7642 fi |
10710 | 7643 |
10711 LIBS="$libsrc_libs $LIBS" | 7644 LIBS="$libsrc_libs $LIBS" |
10712 | 7645 |
10713 | 7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
10714 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | |
10715 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | 7647 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
10716 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | 7648 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : |
10717 $as_echo_n "(cached) " >&6 | 7649 $as_echo_n "(cached) " >&6 |
10718 else | 7650 else |
10719 ac_check_lib_save_LIBS=$LIBS | 7651 ac_check_lib_save_LIBS=$LIBS |
10720 LIBS="-ldnet $LIBS" | 7652 LIBS="-ldnet $LIBS" |
10721 cat >conftest.$ac_ext <<_ACEOF | 7653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10722 /* confdefs.h. */ | |
10723 _ACEOF | |
10724 cat confdefs.h >>conftest.$ac_ext | |
10725 cat >>conftest.$ac_ext <<_ACEOF | |
10726 /* end confdefs.h. */ | 7654 /* end confdefs.h. */ |
10727 | 7655 |
10728 /* Override any GCC internal prototype to avoid an error. | 7656 /* Override any GCC internal prototype to avoid an error. |
10729 Use char because int might match the return type of a GCC | 7657 Use char because int might match the return type of a GCC |
10730 builtin and then its argument prototype would still apply. */ | 7658 builtin and then its argument prototype would still apply. */ |
10738 return dnet_ntoa (); | 7666 return dnet_ntoa (); |
10739 ; | 7667 ; |
10740 return 0; | 7668 return 0; |
10741 } | 7669 } |
10742 _ACEOF | 7670 _ACEOF |
10743 rm -f conftest.$ac_objext conftest$ac_exeext | 7671 if ac_fn_c_try_link "$LINENO"; then : |
10744 if { (ac_try="$ac_link" | |
10745 case "(($ac_try" in | |
10746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10747 *) ac_try_echo=$ac_try;; | |
10748 esac | |
10749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10750 $as_echo "$ac_try_echo") >&5 | |
10751 (eval "$ac_link") 2>conftest.er1 | |
10752 ac_status=$? | |
10753 grep -v '^ *+' conftest.er1 >conftest.err | |
10754 rm -f conftest.er1 | |
10755 cat conftest.err >&5 | |
10756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10757 (exit $ac_status); } && { | |
10758 test -z "$ac_c_werror_flag" || | |
10759 test ! -s conftest.err | |
10760 } && test -s conftest$ac_exeext && { | |
10761 test "$cross_compiling" = yes || | |
10762 $as_test_x conftest$ac_exeext | |
10763 }; then | |
10764 ac_cv_lib_dnet_dnet_ntoa=yes | 7672 ac_cv_lib_dnet_dnet_ntoa=yes |
10765 else | 7673 else |
10766 $as_echo "$as_me: failed program was:" >&5 | 7674 ac_cv_lib_dnet_dnet_ntoa=no |
10767 sed 's/^/| /' conftest.$ac_ext >&5 | 7675 fi |
10768 | 7676 rm -f core conftest.err conftest.$ac_objext \ |
10769 ac_cv_lib_dnet_dnet_ntoa=no | 7677 conftest$ac_exeext conftest.$ac_ext |
10770 fi | |
10771 | |
10772 rm -rf conftest.dSYM | |
10773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10774 conftest$ac_exeext conftest.$ac_ext | |
10775 LIBS=$ac_check_lib_save_LIBS | 7678 LIBS=$ac_check_lib_save_LIBS |
10776 fi | 7679 fi |
10777 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
10778 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } | 7681 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
10779 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | 7682 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : |
10780 cat >>confdefs.h <<_ACEOF | 7683 cat >>confdefs.h <<_ACEOF |
10781 #define HAVE_LIBDNET 1 | 7684 #define HAVE_LIBDNET 1 |
10782 _ACEOF | 7685 _ACEOF |
10783 | 7686 |
10784 LIBS="-ldnet $LIBS" | 7687 LIBS="-ldnet $LIBS" |
10785 | 7688 |
10786 fi | 7689 fi |
10787 | 7690 |
10788 | 7691 |
10789 { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 | 7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 |
10790 $as_echo_n "checking for main in -lXbsd... " >&6; } | 7693 $as_echo_n "checking for main in -lXbsd... " >&6; } |
10791 if test "${ac_cv_lib_Xbsd_main+set}" = set; then | 7694 if test "${ac_cv_lib_Xbsd_main+set}" = set; then : |
10792 $as_echo_n "(cached) " >&6 | 7695 $as_echo_n "(cached) " >&6 |
10793 else | 7696 else |
10794 ac_check_lib_save_LIBS=$LIBS | 7697 ac_check_lib_save_LIBS=$LIBS |
10795 LIBS="-lXbsd $LIBS" | 7698 LIBS="-lXbsd $LIBS" |
10796 cat >conftest.$ac_ext <<_ACEOF | 7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10797 /* confdefs.h. */ | |
10798 _ACEOF | |
10799 cat confdefs.h >>conftest.$ac_ext | |
10800 cat >>conftest.$ac_ext <<_ACEOF | |
10801 /* end confdefs.h. */ | 7700 /* end confdefs.h. */ |
10802 | 7701 |
10803 | 7702 |
10804 int | 7703 int |
10805 main () | 7704 main () |
10807 return main (); | 7706 return main (); |
10808 ; | 7707 ; |
10809 return 0; | 7708 return 0; |
10810 } | 7709 } |
10811 _ACEOF | 7710 _ACEOF |
10812 rm -f conftest.$ac_objext conftest$ac_exeext | 7711 if ac_fn_c_try_link "$LINENO"; then : |
10813 if { (ac_try="$ac_link" | |
10814 case "(($ac_try" in | |
10815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10816 *) ac_try_echo=$ac_try;; | |
10817 esac | |
10818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10819 $as_echo "$ac_try_echo") >&5 | |
10820 (eval "$ac_link") 2>conftest.er1 | |
10821 ac_status=$? | |
10822 grep -v '^ *+' conftest.er1 >conftest.err | |
10823 rm -f conftest.er1 | |
10824 cat conftest.err >&5 | |
10825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10826 (exit $ac_status); } && { | |
10827 test -z "$ac_c_werror_flag" || | |
10828 test ! -s conftest.err | |
10829 } && test -s conftest$ac_exeext && { | |
10830 test "$cross_compiling" = yes || | |
10831 $as_test_x conftest$ac_exeext | |
10832 }; then | |
10833 ac_cv_lib_Xbsd_main=yes | 7712 ac_cv_lib_Xbsd_main=yes |
10834 else | 7713 else |
10835 $as_echo "$as_me: failed program was:" >&5 | 7714 ac_cv_lib_Xbsd_main=no |
10836 sed 's/^/| /' conftest.$ac_ext >&5 | 7715 fi |
10837 | 7716 rm -f core conftest.err conftest.$ac_objext \ |
10838 ac_cv_lib_Xbsd_main=no | 7717 conftest$ac_exeext conftest.$ac_ext |
10839 fi | |
10840 | |
10841 rm -rf conftest.dSYM | |
10842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10843 conftest$ac_exeext conftest.$ac_ext | |
10844 LIBS=$ac_check_lib_save_LIBS | 7718 LIBS=$ac_check_lib_save_LIBS |
10845 fi | 7719 fi |
10846 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 | 7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 |
10847 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } | 7721 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } |
10848 if test $ac_cv_lib_Xbsd_main = yes; then | 7722 if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : |
10849 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 7723 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
10850 fi | 7724 fi |
10851 | 7725 |
10852 | 7726 |
10853 | 7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 |
10854 { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | |
10855 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } | 7728 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
10856 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then | 7729 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : |
10857 $as_echo_n "(cached) " >&6 | 7730 $as_echo_n "(cached) " >&6 |
10858 else | 7731 else |
10859 ac_check_lib_save_LIBS=$LIBS | 7732 ac_check_lib_save_LIBS=$LIBS |
10860 LIBS="-lpthreads $LIBS" | 7733 LIBS="-lpthreads $LIBS" |
10861 cat >conftest.$ac_ext <<_ACEOF | 7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10862 /* confdefs.h. */ | |
10863 _ACEOF | |
10864 cat confdefs.h >>conftest.$ac_ext | |
10865 cat >>conftest.$ac_ext <<_ACEOF | |
10866 /* end confdefs.h. */ | 7735 /* end confdefs.h. */ |
10867 | 7736 |
10868 /* Override any GCC internal prototype to avoid an error. | 7737 /* Override any GCC internal prototype to avoid an error. |
10869 Use char because int might match the return type of a GCC | 7738 Use char because int might match the return type of a GCC |
10870 builtin and then its argument prototype would still apply. */ | 7739 builtin and then its argument prototype would still apply. */ |
10878 return cma_open (); | 7747 return cma_open (); |
10879 ; | 7748 ; |
10880 return 0; | 7749 return 0; |
10881 } | 7750 } |
10882 _ACEOF | 7751 _ACEOF |
10883 rm -f conftest.$ac_objext conftest$ac_exeext | 7752 if ac_fn_c_try_link "$LINENO"; then : |
10884 if { (ac_try="$ac_link" | |
10885 case "(($ac_try" in | |
10886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10887 *) ac_try_echo=$ac_try;; | |
10888 esac | |
10889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10890 $as_echo "$ac_try_echo") >&5 | |
10891 (eval "$ac_link") 2>conftest.er1 | |
10892 ac_status=$? | |
10893 grep -v '^ *+' conftest.er1 >conftest.err | |
10894 rm -f conftest.er1 | |
10895 cat conftest.err >&5 | |
10896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10897 (exit $ac_status); } && { | |
10898 test -z "$ac_c_werror_flag" || | |
10899 test ! -s conftest.err | |
10900 } && test -s conftest$ac_exeext && { | |
10901 test "$cross_compiling" = yes || | |
10902 $as_test_x conftest$ac_exeext | |
10903 }; then | |
10904 ac_cv_lib_pthreads_cma_open=yes | 7753 ac_cv_lib_pthreads_cma_open=yes |
10905 else | 7754 else |
10906 $as_echo "$as_me: failed program was:" >&5 | 7755 ac_cv_lib_pthreads_cma_open=no |
10907 sed 's/^/| /' conftest.$ac_ext >&5 | 7756 fi |
10908 | 7757 rm -f core conftest.err conftest.$ac_objext \ |
10909 ac_cv_lib_pthreads_cma_open=no | 7758 conftest$ac_exeext conftest.$ac_ext |
10910 fi | |
10911 | |
10912 rm -rf conftest.dSYM | |
10913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10914 conftest$ac_exeext conftest.$ac_ext | |
10915 LIBS=$ac_check_lib_save_LIBS | 7759 LIBS=$ac_check_lib_save_LIBS |
10916 fi | 7760 fi |
10917 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 | 7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 |
10918 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } | 7762 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } |
10919 if test $ac_cv_lib_pthreads_cma_open = yes; then | 7763 if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : |
10920 cat >>confdefs.h <<_ACEOF | 7764 cat >>confdefs.h <<_ACEOF |
10921 #define HAVE_LIBPTHREADS 1 | 7765 #define HAVE_LIBPTHREADS 1 |
10922 _ACEOF | 7766 _ACEOF |
10923 | 7767 |
10924 LIBS="-lpthreads $LIBS" | 7768 LIBS="-lpthreads $LIBS" |
10927 | 7771 |
10928 | 7772 |
10929 | 7773 |
10930 case ${host_os} in | 7774 case ${host_os} in |
10931 aix*) | 7775 aix*) |
10932 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 | 7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 |
10933 $as_echo_n "checking for -bbigtoc option... " >&6; } | 7777 $as_echo_n "checking for -bbigtoc option... " >&6; } |
10934 if test "${gdb_cv_bigtoc+set}" = set; then | 7778 if test "${gdb_cv_bigtoc+set}" = set; then : |
10935 $as_echo_n "(cached) " >&6 | 7779 $as_echo_n "(cached) " >&6 |
10936 else | 7780 else |
10937 | 7781 |
10938 case $GCC in | 7782 case $GCC in |
10939 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; | 7783 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; |
10940 *) gdb_cv_bigtoc=-bbigtoc ;; | 7784 *) gdb_cv_bigtoc=-bbigtoc ;; |
10941 esac | 7785 esac |
10942 | 7786 |
10943 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc | 7787 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc |
10944 cat >conftest.$ac_ext <<_ACEOF | 7788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10945 /* confdefs.h. */ | |
10946 _ACEOF | |
10947 cat confdefs.h >>conftest.$ac_ext | |
10948 cat >>conftest.$ac_ext <<_ACEOF | |
10949 /* end confdefs.h. */ | 7789 /* end confdefs.h. */ |
10950 | 7790 |
10951 int | 7791 int |
10952 main () | 7792 main () |
10953 { | 7793 { |
10954 int i; | 7794 int i; |
10955 ; | 7795 ; |
10956 return 0; | 7796 return 0; |
10957 } | 7797 } |
10958 _ACEOF | 7798 _ACEOF |
10959 rm -f conftest.$ac_objext conftest$ac_exeext | 7799 if ac_fn_c_try_link "$LINENO"; then : |
10960 if { (ac_try="$ac_link" | 7800 |
10961 case "(($ac_try" in | 7801 else |
10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7802 gdb_cv_bigtoc= |
10963 *) ac_try_echo=$ac_try;; | 7803 fi |
10964 esac | 7804 rm -f core conftest.err conftest.$ac_objext \ |
10965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | 7805 conftest$ac_exeext conftest.$ac_ext |
10966 $as_echo "$ac_try_echo") >&5 | 7806 |
10967 (eval "$ac_link") 2>conftest.er1 | 7807 fi |
10968 ac_status=$? | 7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5 |
10969 grep -v '^ *+' conftest.er1 >conftest.err | |
10970 rm -f conftest.er1 | |
10971 cat conftest.err >&5 | |
10972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10973 (exit $ac_status); } && { | |
10974 test -z "$ac_c_werror_flag" || | |
10975 test ! -s conftest.err | |
10976 } && test -s conftest$ac_exeext && { | |
10977 test "$cross_compiling" = yes || | |
10978 $as_test_x conftest$ac_exeext | |
10979 }; then | |
10980 : | |
10981 else | |
10982 $as_echo "$as_me: failed program was:" >&5 | |
10983 sed 's/^/| /' conftest.$ac_ext >&5 | |
10984 | |
10985 gdb_cv_bigtoc= | |
10986 fi | |
10987 | |
10988 rm -rf conftest.dSYM | |
10989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10990 conftest$ac_exeext conftest.$ac_ext | |
10991 | |
10992 fi | |
10993 { $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 | |
10994 $as_echo "$gdb_cv_bigtoc" >&6; } | 7809 $as_echo "$gdb_cv_bigtoc" >&6; } |
10995 ;; | 7810 ;; |
10996 esac | 7811 esac |
10997 | 7812 |
10998 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets | 7813 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets |
11016 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH | 7831 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH |
11017 export LD_RUN_PATH | 7832 export LD_RUN_PATH |
11018 fi | 7833 fi |
11019 | 7834 |
11020 if test "${opsys}" = "gnu-linux"; then | 7835 if test "${opsys}" = "gnu-linux"; then |
11021 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 | 7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5 |
11022 $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } | 7837 $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } |
11023 cat >conftest.$ac_ext <<_ACEOF | 7838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11024 /* confdefs.h. */ | |
11025 _ACEOF | |
11026 cat confdefs.h >>conftest.$ac_ext | |
11027 cat >>conftest.$ac_ext <<_ACEOF | |
11028 /* end confdefs.h. */ | 7839 /* end confdefs.h. */ |
11029 | 7840 |
11030 int | 7841 int |
11031 main () | 7842 main () |
11032 { | 7843 { |
11033 XOpenDisplay ("foo"); | 7844 XOpenDisplay ("foo"); |
11034 ; | 7845 ; |
11035 return 0; | 7846 return 0; |
11036 } | 7847 } |
11037 _ACEOF | 7848 _ACEOF |
11038 rm -f conftest.$ac_objext conftest$ac_exeext | 7849 if ac_fn_c_try_link "$LINENO"; then : |
11039 if { (ac_try="$ac_link" | |
11040 case "(($ac_try" in | |
11041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11042 *) ac_try_echo=$ac_try;; | |
11043 esac | |
11044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11045 $as_echo "$ac_try_echo") >&5 | |
11046 (eval "$ac_link") 2>conftest.er1 | |
11047 ac_status=$? | |
11048 grep -v '^ *+' conftest.er1 >conftest.err | |
11049 rm -f conftest.er1 | |
11050 cat conftest.err >&5 | |
11051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11052 (exit $ac_status); } && { | |
11053 test -z "$ac_c_werror_flag" || | |
11054 test ! -s conftest.err | |
11055 } && test -s conftest$ac_exeext && { | |
11056 test "$cross_compiling" = yes || | |
11057 $as_test_x conftest$ac_exeext | |
11058 }; then | |
11059 xlinux_first_failure=no | 7850 xlinux_first_failure=no |
11060 else | 7851 else |
11061 $as_echo "$as_me: failed program was:" >&5 | 7852 xlinux_first_failure=yes |
11062 sed 's/^/| /' conftest.$ac_ext >&5 | 7853 fi |
11063 | 7854 rm -f core conftest.err conftest.$ac_objext \ |
11064 xlinux_first_failure=yes | 7855 conftest$ac_exeext conftest.$ac_ext |
11065 fi | |
11066 | |
11067 rm -rf conftest.dSYM | |
11068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11069 conftest$ac_exeext conftest.$ac_ext | |
11070 if test "${xlinux_first_failure}" = "yes"; then | 7856 if test "${xlinux_first_failure}" = "yes"; then |
11071 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 7857 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
11072 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" | 7858 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" |
11073 OLD_CPPFLAGS="$CPPFLAGS" | 7859 OLD_CPPFLAGS="$CPPFLAGS" |
11074 OLD_LIBS="$LIBS" | 7860 OLD_LIBS="$LIBS" |
11075 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 7861 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
11076 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 7862 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
11077 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 7863 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
11078 LIBS="$LIBS -b i486-linuxaout" | 7864 LIBS="$LIBS -b i486-linuxaout" |
11079 cat >conftest.$ac_ext <<_ACEOF | 7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11080 /* confdefs.h. */ | |
11081 _ACEOF | |
11082 cat confdefs.h >>conftest.$ac_ext | |
11083 cat >>conftest.$ac_ext <<_ACEOF | |
11084 /* end confdefs.h. */ | 7866 /* end confdefs.h. */ |
11085 | 7867 |
11086 int | 7868 int |
11087 main () | 7869 main () |
11088 { | 7870 { |
11089 XOpenDisplay ("foo"); | 7871 XOpenDisplay ("foo"); |
11090 ; | 7872 ; |
11091 return 0; | 7873 return 0; |
11092 } | 7874 } |
11093 _ACEOF | 7875 _ACEOF |
11094 rm -f conftest.$ac_objext conftest$ac_exeext | 7876 if ac_fn_c_try_link "$LINENO"; then : |
11095 if { (ac_try="$ac_link" | |
11096 case "(($ac_try" in | |
11097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11098 *) ac_try_echo=$ac_try;; | |
11099 esac | |
11100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11101 $as_echo "$ac_try_echo") >&5 | |
11102 (eval "$ac_link") 2>conftest.er1 | |
11103 ac_status=$? | |
11104 grep -v '^ *+' conftest.er1 >conftest.err | |
11105 rm -f conftest.er1 | |
11106 cat conftest.err >&5 | |
11107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11108 (exit $ac_status); } && { | |
11109 test -z "$ac_c_werror_flag" || | |
11110 test ! -s conftest.err | |
11111 } && test -s conftest$ac_exeext && { | |
11112 test "$cross_compiling" = yes || | |
11113 $as_test_x conftest$ac_exeext | |
11114 }; then | |
11115 xlinux_second_failure=no | 7877 xlinux_second_failure=no |
11116 else | 7878 else |
11117 $as_echo "$as_me: failed program was:" >&5 | 7879 xlinux_second_failure=yes |
11118 sed 's/^/| /' conftest.$ac_ext >&5 | 7880 fi |
11119 | 7881 rm -f core conftest.err conftest.$ac_objext \ |
11120 xlinux_second_failure=yes | 7882 conftest$ac_exeext conftest.$ac_ext |
11121 fi | |
11122 | |
11123 rm -rf conftest.dSYM | |
11124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11125 conftest$ac_exeext conftest.$ac_ext | |
11126 if test "${xlinux_second_failure}" = "yes"; then | 7883 if test "${xlinux_second_failure}" = "yes"; then |
11127 # If we get the same failure with -b, there is no use adding -b. | 7884 # If we get the same failure with -b, there is no use adding -b. |
11128 # So take it out. This plays safe. | 7885 # So take it out. This plays safe. |
11129 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" | 7886 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" |
11130 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 7887 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
11131 CPPFLAGS="$OLD_CPPFLAGS" | 7888 CPPFLAGS="$OLD_CPPFLAGS" |
11132 LIBS="$OLD_LIBS" | 7889 LIBS="$OLD_LIBS" |
11133 { $as_echo "$as_me:$LINENO: result: no" >&5 | 7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11134 $as_echo "no" >&6; } | 7891 $as_echo "no" >&6; } |
11135 else | 7892 else |
11136 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11137 $as_echo "yes" >&6; } | 7894 $as_echo "yes" >&6; } |
11138 fi | 7895 fi |
11139 else | 7896 else |
11140 { $as_echo "$as_me:$LINENO: result: no" >&5 | 7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11141 $as_echo "no" >&6; } | 7898 $as_echo "no" >&6; } |
11142 fi | 7899 fi |
11143 fi | 7900 fi |
11144 | 7901 |
11145 # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 7902 # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
11146 # header files included from there. | 7903 # header files included from there. |
11147 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 | 7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5 |
11148 $as_echo_n "checking for Xkb... " >&6; } | 7905 $as_echo_n "checking for Xkb... " >&6; } |
11149 cat >conftest.$ac_ext <<_ACEOF | 7906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11150 /* confdefs.h. */ | |
11151 _ACEOF | |
11152 cat confdefs.h >>conftest.$ac_ext | |
11153 cat >>conftest.$ac_ext <<_ACEOF | |
11154 /* end confdefs.h. */ | 7907 /* end confdefs.h. */ |
11155 #include <X11/Xlib.h> | 7908 #include <X11/Xlib.h> |
11156 #include <X11/XKBlib.h> | 7909 #include <X11/XKBlib.h> |
11157 int | 7910 int |
11158 main () | 7911 main () |
11160 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); | 7913 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); |
11161 ; | 7914 ; |
11162 return 0; | 7915 return 0; |
11163 } | 7916 } |
11164 _ACEOF | 7917 _ACEOF |
11165 rm -f conftest.$ac_objext conftest$ac_exeext | 7918 if ac_fn_c_try_link "$LINENO"; then : |
11166 if { (ac_try="$ac_link" | |
11167 case "(($ac_try" in | |
11168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11169 *) ac_try_echo=$ac_try;; | |
11170 esac | |
11171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11172 $as_echo "$ac_try_echo") >&5 | |
11173 (eval "$ac_link") 2>conftest.er1 | |
11174 ac_status=$? | |
11175 grep -v '^ *+' conftest.er1 >conftest.err | |
11176 rm -f conftest.er1 | |
11177 cat conftest.err >&5 | |
11178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11179 (exit $ac_status); } && { | |
11180 test -z "$ac_c_werror_flag" || | |
11181 test ! -s conftest.err | |
11182 } && test -s conftest$ac_exeext && { | |
11183 test "$cross_compiling" = yes || | |
11184 $as_test_x conftest$ac_exeext | |
11185 }; then | |
11186 emacs_xkb=yes | 7919 emacs_xkb=yes |
11187 else | 7920 else |
11188 $as_echo "$as_me: failed program was:" >&5 | 7921 emacs_xkb=no |
11189 sed 's/^/| /' conftest.$ac_ext >&5 | 7922 fi |
11190 | 7923 rm -f core conftest.err conftest.$ac_objext \ |
11191 emacs_xkb=no | 7924 conftest$ac_exeext conftest.$ac_ext |
11192 fi | 7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5 |
11193 | |
11194 rm -rf conftest.dSYM | |
11195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11196 conftest$ac_exeext conftest.$ac_ext | |
11197 { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | |
11198 $as_echo "$emacs_xkb" >&6; } | 7926 $as_echo "$emacs_xkb" >&6; } |
11199 if test $emacs_xkb = yes; then | 7927 if test $emacs_xkb = yes; then |
11200 | 7928 |
11201 cat >>confdefs.h <<\_ACEOF | 7929 $as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h |
11202 #define HAVE_XKBGETKEYBOARD 1 | |
11203 _ACEOF | |
11204 | 7930 |
11205 fi | 7931 fi |
11206 | 7932 |
11207 | 7933 for ac_func in XrmSetDatabase XScreenResourceString \ |
11208 | |
11209 | |
11210 | |
11211 for ac_func in XrmSetDatabase XScreenResourceString \ | |
11212 XScreenNumberOfScreen XSetWMProtocols | 7934 XScreenNumberOfScreen XSetWMProtocols |
11213 do | 7935 do : |
11214 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11215 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11216 $as_echo_n "checking for $ac_func... " >&6; } | 7938 eval as_val=\$$as_ac_var |
11217 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 7939 if test "x$as_val" = x""yes; then : |
11218 $as_echo_n "(cached) " >&6 | |
11219 else | |
11220 cat >conftest.$ac_ext <<_ACEOF | |
11221 /* confdefs.h. */ | |
11222 _ACEOF | |
11223 cat confdefs.h >>conftest.$ac_ext | |
11224 cat >>conftest.$ac_ext <<_ACEOF | |
11225 /* end confdefs.h. */ | |
11226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
11227 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
11228 #define $ac_func innocuous_$ac_func | |
11229 | |
11230 /* System header to define __stub macros and hopefully few prototypes, | |
11231 which can conflict with char $ac_func (); below. | |
11232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
11233 <limits.h> exists even on freestanding compilers. */ | |
11234 | |
11235 #ifdef __STDC__ | |
11236 # include <limits.h> | |
11237 #else | |
11238 # include <assert.h> | |
11239 #endif | |
11240 | |
11241 #undef $ac_func | |
11242 | |
11243 /* Override any GCC internal prototype to avoid an error. | |
11244 Use char because int might match the return type of a GCC | |
11245 builtin and then its argument prototype would still apply. */ | |
11246 #ifdef __cplusplus | |
11247 extern "C" | |
11248 #endif | |
11249 char $ac_func (); | |
11250 /* The GNU C library defines this for functions which it implements | |
11251 to always fail with ENOSYS. Some functions are actually named | |
11252 something starting with __ and the normal name is an alias. */ | |
11253 #if defined __stub_$ac_func || defined __stub___$ac_func | |
11254 choke me | |
11255 #endif | |
11256 | |
11257 int | |
11258 main () | |
11259 { | |
11260 return $ac_func (); | |
11261 ; | |
11262 return 0; | |
11263 } | |
11264 _ACEOF | |
11265 rm -f conftest.$ac_objext conftest$ac_exeext | |
11266 if { (ac_try="$ac_link" | |
11267 case "(($ac_try" in | |
11268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11269 *) ac_try_echo=$ac_try;; | |
11270 esac | |
11271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11272 $as_echo "$ac_try_echo") >&5 | |
11273 (eval "$ac_link") 2>conftest.er1 | |
11274 ac_status=$? | |
11275 grep -v '^ *+' conftest.er1 >conftest.err | |
11276 rm -f conftest.er1 | |
11277 cat conftest.err >&5 | |
11278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11279 (exit $ac_status); } && { | |
11280 test -z "$ac_c_werror_flag" || | |
11281 test ! -s conftest.err | |
11282 } && test -s conftest$ac_exeext && { | |
11283 test "$cross_compiling" = yes || | |
11284 $as_test_x conftest$ac_exeext | |
11285 }; then | |
11286 eval "$as_ac_var=yes" | |
11287 else | |
11288 $as_echo "$as_me: failed program was:" >&5 | |
11289 sed 's/^/| /' conftest.$ac_ext >&5 | |
11290 | |
11291 eval "$as_ac_var=no" | |
11292 fi | |
11293 | |
11294 rm -rf conftest.dSYM | |
11295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11296 conftest$ac_exeext conftest.$ac_ext | |
11297 fi | |
11298 ac_res=`eval 'as_val=${'$as_ac_var'} | |
11299 $as_echo "$as_val"'` | |
11300 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11301 $as_echo "$ac_res" >&6; } | |
11302 if test `eval 'as_val=${'$as_ac_var'} | |
11303 $as_echo "$as_val"'` = yes; then | |
11304 cat >>confdefs.h <<_ACEOF | 7940 cat >>confdefs.h <<_ACEOF |
11305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11306 _ACEOF | 7942 _ACEOF |
11307 | 7943 |
11308 fi | 7944 fi |
11309 done | 7945 done |
11310 | 7946 |
11311 fi | 7947 fi |
11312 | 7948 |
11313 if test "${window_system}" = "x11"; then | 7949 if test "${window_system}" = "x11"; then |
11314 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 | 7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 |
11315 $as_echo_n "checking X11 version 6... " >&6; } | 7951 $as_echo_n "checking X11 version 6... " >&6; } |
11316 if test "${emacs_cv_x11_version_6+set}" = set; then | 7952 if test "${emacs_cv_x11_version_6+set}" = set; then : |
11317 $as_echo_n "(cached) " >&6 | 7953 $as_echo_n "(cached) " >&6 |
11318 else | 7954 else |
11319 cat >conftest.$ac_ext <<_ACEOF | 7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11320 /* confdefs.h. */ | |
11321 _ACEOF | |
11322 cat confdefs.h >>conftest.$ac_ext | |
11323 cat >>conftest.$ac_ext <<_ACEOF | |
11324 /* end confdefs.h. */ | 7956 /* end confdefs.h. */ |
11325 #include <X11/Xlib.h> | 7957 #include <X11/Xlib.h> |
11326 int | 7958 int |
11327 main () | 7959 main () |
11328 { | 7960 { |
11332 | 7964 |
11333 ; | 7965 ; |
11334 return 0; | 7966 return 0; |
11335 } | 7967 } |
11336 _ACEOF | 7968 _ACEOF |
11337 rm -f conftest.$ac_objext conftest$ac_exeext | 7969 if ac_fn_c_try_link "$LINENO"; then : |
11338 if { (ac_try="$ac_link" | |
11339 case "(($ac_try" in | |
11340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11341 *) ac_try_echo=$ac_try;; | |
11342 esac | |
11343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11344 $as_echo "$ac_try_echo") >&5 | |
11345 (eval "$ac_link") 2>conftest.er1 | |
11346 ac_status=$? | |
11347 grep -v '^ *+' conftest.er1 >conftest.err | |
11348 rm -f conftest.er1 | |
11349 cat conftest.err >&5 | |
11350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11351 (exit $ac_status); } && { | |
11352 test -z "$ac_c_werror_flag" || | |
11353 test ! -s conftest.err | |
11354 } && test -s conftest$ac_exeext && { | |
11355 test "$cross_compiling" = yes || | |
11356 $as_test_x conftest$ac_exeext | |
11357 }; then | |
11358 emacs_cv_x11_version_6=yes | 7970 emacs_cv_x11_version_6=yes |
11359 else | 7971 else |
11360 $as_echo "$as_me: failed program was:" >&5 | 7972 emacs_cv_x11_version_6=no |
11361 sed 's/^/| /' conftest.$ac_ext >&5 | 7973 fi |
11362 | 7974 rm -f core conftest.err conftest.$ac_objext \ |
11363 emacs_cv_x11_version_6=no | 7975 conftest$ac_exeext conftest.$ac_ext |
11364 fi | |
11365 | |
11366 rm -rf conftest.dSYM | |
11367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11368 conftest$ac_exeext conftest.$ac_ext | |
11369 fi | 7976 fi |
11370 | 7977 |
11371 if test $emacs_cv_x11_version_6 = yes; then | 7978 if test $emacs_cv_x11_version_6 = yes; then |
11372 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 | 7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 |
11373 $as_echo "6 or newer" >&6; } | 7980 $as_echo "6 or newer" >&6; } |
11374 | 7981 |
11375 cat >>confdefs.h <<\_ACEOF | 7982 $as_echo "#define HAVE_X11R6 1" >>confdefs.h |
11376 #define HAVE_X11R6 1 | |
11377 _ACEOF | |
11378 | 7983 |
11379 else | 7984 else |
11380 { $as_echo "$as_me:$LINENO: result: before 6" >&5 | 7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 |
11381 $as_echo "before 6" >&6; } | 7986 $as_echo "before 6" >&6; } |
11382 fi | 7987 fi |
11383 fi | 7988 fi |
11384 | 7989 |
11385 | 7990 |
11393 | 7998 |
11394 succeeded=no | 7999 succeeded=no |
11395 | 8000 |
11396 # Extract the first word of "pkg-config", so it can be a program name with args. | 8001 # Extract the first word of "pkg-config", so it can be a program name with args. |
11397 set dummy pkg-config; ac_word=$2 | 8002 set dummy pkg-config; ac_word=$2 |
11398 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11399 $as_echo_n "checking for $ac_word... " >&6; } | 8004 $as_echo_n "checking for $ac_word... " >&6; } |
11400 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 8005 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
11401 $as_echo_n "(cached) " >&6 | 8006 $as_echo_n "(cached) " >&6 |
11402 else | 8007 else |
11403 case $PKG_CONFIG in | 8008 case $PKG_CONFIG in |
11404 [\\/]* | ?:[\\/]*) | 8009 [\\/]* | ?:[\\/]*) |
11405 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 8010 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
11408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11409 for as_dir in $PATH | 8014 for as_dir in $PATH |
11410 do | 8015 do |
11411 IFS=$as_save_IFS | 8016 IFS=$as_save_IFS |
11412 test -z "$as_dir" && as_dir=. | 8017 test -z "$as_dir" && as_dir=. |
11413 for ac_exec_ext in '' $ac_executable_extensions; do | 8018 for ac_exec_ext in '' $ac_executable_extensions; do |
11414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11415 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 8020 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
11416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11417 break 2 | 8022 break 2 |
11418 fi | 8023 fi |
11419 done | 8024 done |
11420 done | 8025 done |
11421 IFS=$as_save_IFS | 8026 IFS=$as_save_IFS |
11422 | 8027 |
11423 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 8028 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
11424 ;; | 8029 ;; |
11425 esac | 8030 esac |
11426 fi | 8031 fi |
11427 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 8032 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
11428 if test -n "$PKG_CONFIG"; then | 8033 if test -n "$PKG_CONFIG"; then |
11429 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
11430 $as_echo "$PKG_CONFIG" >&6; } | 8035 $as_echo "$PKG_CONFIG" >&6; } |
11431 else | 8036 else |
11432 { $as_echo "$as_me:$LINENO: result: no" >&5 | 8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11433 $as_echo "no" >&6; } | 8038 $as_echo "no" >&6; } |
11434 fi | 8039 fi |
11435 | 8040 |
11436 | 8041 |
11437 | 8042 |
11438 if test "$PKG_CONFIG" = "no" ; then | 8043 if test "$PKG_CONFIG" = "no" ; then |
11439 : | 8044 : |
11440 else | 8045 else |
11441 PKG_CONFIG_MIN_VERSION=0.9.0 | 8046 PKG_CONFIG_MIN_VERSION=0.9.0 |
11442 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 8047 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
11443 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 | 8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 |
11444 $as_echo_n "checking for $RSVG_MODULE... " >&6; } | 8049 $as_echo_n "checking for $RSVG_MODULE... " >&6; } |
11445 | 8050 |
11446 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then | 8051 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then |
11447 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11448 $as_echo "yes" >&6; } | 8053 $as_echo "yes" >&6; } |
11449 succeeded=yes | 8054 succeeded=yes |
11450 | 8055 |
11451 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 | 8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5 |
11452 $as_echo_n "checking RSVG_CFLAGS... " >&6; } | 8057 $as_echo_n "checking RSVG_CFLAGS... " >&6; } |
11453 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 8058 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
11454 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 | 8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5 |
11455 $as_echo "$RSVG_CFLAGS" >&6; } | 8060 $as_echo "$RSVG_CFLAGS" >&6; } |
11456 | 8061 |
11457 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 | 8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5 |
11458 $as_echo_n "checking RSVG_LIBS... " >&6; } | 8063 $as_echo_n "checking RSVG_LIBS... " >&6; } |
11459 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 8064 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
11460 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 | 8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5 |
11461 $as_echo "$RSVG_LIBS" >&6; } | 8066 $as_echo "$RSVG_LIBS" >&6; } |
11462 else | 8067 else |
11463 { $as_echo "$as_me:$LINENO: result: no" >&5 | 8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11464 $as_echo "no" >&6; } | 8069 $as_echo "no" >&6; } |
11465 RSVG_CFLAGS="" | 8070 RSVG_CFLAGS="" |
11466 RSVG_LIBS="" | 8071 RSVG_LIBS="" |
11467 ## If we have a custom action on failure, don't print errors, but | 8072 ## If we have a custom action on failure, don't print errors, but |
11468 ## do set a variable so people can do so. | 8073 ## do set a variable so people can do so. |
11488 | 8093 |
11489 | 8094 |
11490 if test ".${RSVG_CFLAGS}" != "."; then | 8095 if test ".${RSVG_CFLAGS}" != "."; then |
11491 HAVE_RSVG=yes | 8096 HAVE_RSVG=yes |
11492 | 8097 |
11493 cat >>confdefs.h <<\_ACEOF | 8098 $as_echo "#define HAVE_RSVG 1" >>confdefs.h |
11494 #define HAVE_RSVG 1 | |
11495 _ACEOF | |
11496 | 8099 |
11497 CFLAGS="$CFLAGS $RSVG_CFLAGS" | 8100 CFLAGS="$CFLAGS $RSVG_CFLAGS" |
11498 LIBS="$RSVG_LIBS $LIBS" | 8101 LIBS="$RSVG_LIBS $LIBS" |
11499 fi | 8102 fi |
11500 fi | 8103 fi |
11510 | 8113 |
11511 succeeded=no | 8114 succeeded=no |
11512 | 8115 |
11513 # Extract the first word of "pkg-config", so it can be a program name with args. | 8116 # Extract the first word of "pkg-config", so it can be a program name with args. |
11514 set dummy pkg-config; ac_word=$2 | 8117 set dummy pkg-config; ac_word=$2 |
11515 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11516 $as_echo_n "checking for $ac_word... " >&6; } | 8119 $as_echo_n "checking for $ac_word... " >&6; } |
11517 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 8120 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
11518 $as_echo_n "(cached) " >&6 | 8121 $as_echo_n "(cached) " >&6 |
11519 else | 8122 else |
11520 case $PKG_CONFIG in | 8123 case $PKG_CONFIG in |
11521 [\\/]* | ?:[\\/]*) | 8124 [\\/]* | ?:[\\/]*) |
11522 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 8125 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
11525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11526 for as_dir in $PATH | 8129 for as_dir in $PATH |
11527 do | 8130 do |
11528 IFS=$as_save_IFS | 8131 IFS=$as_save_IFS |
11529 test -z "$as_dir" && as_dir=. | 8132 test -z "$as_dir" && as_dir=. |
11530 for ac_exec_ext in '' $ac_executable_extensions; do | 8133 for ac_exec_ext in '' $ac_executable_extensions; do |
11531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11532 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 8135 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
11533 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11534 break 2 | 8137 break 2 |
11535 fi | 8138 fi |
11536 done | 8139 done |
11537 done | 8140 done |
11538 IFS=$as_save_IFS | 8141 IFS=$as_save_IFS |
11539 | 8142 |
11540 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 8143 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
11541 ;; | 8144 ;; |
11542 esac | 8145 esac |
11543 fi | 8146 fi |
11544 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 8147 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
11545 if test -n "$PKG_CONFIG"; then | 8148 if test -n "$PKG_CONFIG"; then |
11546 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
11547 $as_echo "$PKG_CONFIG" >&6; } | 8150 $as_echo "$PKG_CONFIG" >&6; } |
11548 else | 8151 else |
11549 { $as_echo "$as_me:$LINENO: result: no" >&5 | 8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11550 $as_echo "no" >&6; } | 8153 $as_echo "no" >&6; } |
11551 fi | 8154 fi |
11552 | 8155 |
11553 | 8156 |
11554 | 8157 |
11555 if test "$PKG_CONFIG" = "no" ; then | 8158 if test "$PKG_CONFIG" = "no" ; then |
11556 pkg_check_gtk=no | 8159 pkg_check_gtk=no |
11557 else | 8160 else |
11558 PKG_CONFIG_MIN_VERSION=0.9.0 | 8161 PKG_CONFIG_MIN_VERSION=0.9.0 |
11559 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 8162 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
11560 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 | 8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 |
11561 $as_echo_n "checking for $GTK_MODULES... " >&6; } | 8164 $as_echo_n "checking for $GTK_MODULES... " >&6; } |
11562 | 8165 |
11563 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 8166 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
11564 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11565 $as_echo "yes" >&6; } | 8168 $as_echo "yes" >&6; } |
11566 succeeded=yes | 8169 succeeded=yes |
11567 | 8170 |
11568 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 | 8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 |
11569 $as_echo_n "checking GTK_CFLAGS... " >&6; } | 8172 $as_echo_n "checking GTK_CFLAGS... " >&6; } |
11570 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` | 8173 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` |
11571 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 | 8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 |
11572 $as_echo "$GTK_CFLAGS" >&6; } | 8175 $as_echo "$GTK_CFLAGS" >&6; } |
11573 | 8176 |
11574 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 | 8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 |
11575 $as_echo_n "checking GTK_LIBS... " >&6; } | 8178 $as_echo_n "checking GTK_LIBS... " >&6; } |
11576 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` | 8179 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` |
11577 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 | 8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 |
11578 $as_echo "$GTK_LIBS" >&6; } | 8181 $as_echo "$GTK_LIBS" >&6; } |
11579 else | 8182 else |
11580 { $as_echo "$as_me:$LINENO: result: no" >&5 | 8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11581 $as_echo "no" >&6; } | 8184 $as_echo "no" >&6; } |
11582 GTK_CFLAGS="" | 8185 GTK_CFLAGS="" |
11583 GTK_LIBS="" | 8186 GTK_LIBS="" |
11584 ## If we have a custom action on failure, don't print errors, but | 8187 ## If we have a custom action on failure, don't print errors, but |
11585 ## do set a variable so people can do so. | 8188 ## do set a variable so people can do so. |
11600 else | 8203 else |
11601 pkg_check_gtk=no | 8204 pkg_check_gtk=no |
11602 fi | 8205 fi |
11603 | 8206 |
11604 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8207 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
11605 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 | 8208 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 |
11606 $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} | |
11607 { (exit 1); exit 1; }; } | |
11608 fi | 8209 fi |
11609 fi | 8210 fi |
11610 | 8211 |
11611 | 8212 |
11612 GTK_OBJ= | 8213 GTK_OBJ= |
11616 | 8217 |
11617 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" | 8218 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" |
11618 CFLAGS="$CFLAGS $GTK_CFLAGS" | 8219 CFLAGS="$CFLAGS $GTK_CFLAGS" |
11619 LIBS="$GTK_LIBS $LIBS" | 8220 LIBS="$GTK_LIBS $LIBS" |
11620 GTK_COMPILES=no | 8221 GTK_COMPILES=no |
11621 | 8222 for ac_func in gtk_main |
11622 for ac_func in gtk_main | 8223 do : |
11623 do | 8224 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" |
11624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8225 if test "x$ac_cv_func_gtk_main" = x""yes; then : |
11625 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
11626 $as_echo_n "checking for $ac_func... " >&6; } | |
11627 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
11628 $as_echo_n "(cached) " >&6 | |
11629 else | |
11630 cat >conftest.$ac_ext <<_ACEOF | |
11631 /* confdefs.h. */ | |
11632 _ACEOF | |
11633 cat confdefs.h >>conftest.$ac_ext | |
11634 cat >>conftest.$ac_ext <<_ACEOF | |
11635 /* end confdefs.h. */ | |
11636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
11637 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
11638 #define $ac_func innocuous_$ac_func | |
11639 | |
11640 /* System header to define __stub macros and hopefully few prototypes, | |
11641 which can conflict with char $ac_func (); below. | |
11642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
11643 <limits.h> exists even on freestanding compilers. */ | |
11644 | |
11645 #ifdef __STDC__ | |
11646 # include <limits.h> | |
11647 #else | |
11648 # include <assert.h> | |
11649 #endif | |
11650 | |
11651 #undef $ac_func | |
11652 | |
11653 /* Override any GCC internal prototype to avoid an error. | |
11654 Use char because int might match the return type of a GCC | |
11655 builtin and then its argument prototype would still apply. */ | |
11656 #ifdef __cplusplus | |
11657 extern "C" | |
11658 #endif | |
11659 char $ac_func (); | |
11660 /* The GNU C library defines this for functions which it implements | |
11661 to always fail with ENOSYS. Some functions are actually named | |
11662 something starting with __ and the normal name is an alias. */ | |
11663 #if defined __stub_$ac_func || defined __stub___$ac_func | |
11664 choke me | |
11665 #endif | |
11666 | |
11667 int | |
11668 main () | |
11669 { | |
11670 return $ac_func (); | |
11671 ; | |
11672 return 0; | |
11673 } | |
11674 _ACEOF | |
11675 rm -f conftest.$ac_objext conftest$ac_exeext | |
11676 if { (ac_try="$ac_link" | |
11677 case "(($ac_try" in | |
11678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11679 *) ac_try_echo=$ac_try;; | |
11680 esac | |
11681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11682 $as_echo "$ac_try_echo") >&5 | |
11683 (eval "$ac_link") 2>conftest.er1 | |
11684 ac_status=$? | |
11685 grep -v '^ *+' conftest.er1 >conftest.err | |
11686 rm -f conftest.er1 | |
11687 cat conftest.err >&5 | |
11688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11689 (exit $ac_status); } && { | |
11690 test -z "$ac_c_werror_flag" || | |
11691 test ! -s conftest.err | |
11692 } && test -s conftest$ac_exeext && { | |
11693 test "$cross_compiling" = yes || | |
11694 $as_test_x conftest$ac_exeext | |
11695 }; then | |
11696 eval "$as_ac_var=yes" | |
11697 else | |
11698 $as_echo "$as_me: failed program was:" >&5 | |
11699 sed 's/^/| /' conftest.$ac_ext >&5 | |
11700 | |
11701 eval "$as_ac_var=no" | |
11702 fi | |
11703 | |
11704 rm -rf conftest.dSYM | |
11705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11706 conftest$ac_exeext conftest.$ac_ext | |
11707 fi | |
11708 ac_res=`eval 'as_val=${'$as_ac_var'} | |
11709 $as_echo "$as_val"'` | |
11710 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11711 $as_echo "$ac_res" >&6; } | |
11712 if test `eval 'as_val=${'$as_ac_var'} | |
11713 $as_echo "$as_val"'` = yes; then | |
11714 cat >>confdefs.h <<_ACEOF | 8226 cat >>confdefs.h <<_ACEOF |
11715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8227 #define HAVE_GTK_MAIN 1 |
11716 _ACEOF | 8228 _ACEOF |
11717 GTK_COMPILES=yes | 8229 GTK_COMPILES=yes |
11718 fi | 8230 fi |
11719 done | 8231 done |
11720 | 8232 |
11721 if test "${GTK_COMPILES}" != "yes"; then | 8233 if test "${GTK_COMPILES}" != "yes"; then |
11722 if test "$USE_X_TOOLKIT" != "maybe"; then | 8234 if test "$USE_X_TOOLKIT" != "maybe"; then |
11723 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 | 8235 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; |
11724 $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} | |
11725 { (exit 1); exit 1; }; }; | |
11726 fi | 8236 fi |
11727 else | 8237 else |
11728 HAVE_GTK=yes | 8238 HAVE_GTK=yes |
11729 | 8239 |
11730 cat >>confdefs.h <<\_ACEOF | 8240 $as_echo "#define USE_GTK 1" >>confdefs.h |
11731 #define USE_GTK 1 | |
11732 _ACEOF | |
11733 | 8241 |
11734 GTK_OBJ=gtkutil.o | 8242 GTK_OBJ=gtkutil.o |
11735 USE_X_TOOLKIT=none | 8243 USE_X_TOOLKIT=none |
11736 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then | 8244 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then |
11737 : | 8245 : |
11738 else | 8246 else |
11739 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with | 8247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with |
11740 closing open displays. This is no problem if you just use | 8248 closing open displays. This is no problem if you just use |
11741 one display, but if you use more than one and close one of them | 8249 one display, but if you use more than one and close one of them |
11742 Emacs may crash." >&5 | 8250 Emacs may crash." >&5 |
11743 $as_echo "$as_me: WARNING: Your version of Gtk+ will have problems with | 8251 $as_echo "$as_me: WARNING: Your version of Gtk+ will have problems with |
11744 closing open displays. This is no problem if you just use | 8252 closing open displays. This is no problem if you just use |
11757 if test "$with_toolkit_scroll_bars" != no; then | 8265 if test "$with_toolkit_scroll_bars" != no; then |
11758 with_toolkit_scroll_bars=yes | 8266 with_toolkit_scroll_bars=yes |
11759 fi | 8267 fi |
11760 | 8268 |
11761 HAVE_GTK_MULTIDISPLAY=no | 8269 HAVE_GTK_MULTIDISPLAY=no |
11762 | 8270 for ac_func in gdk_display_open |
11763 for ac_func in gdk_display_open | 8271 do : |
11764 do | 8272 ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open" |
11765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8273 if test "x$ac_cv_func_gdk_display_open" = x""yes; then : |
11766 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
11767 $as_echo_n "checking for $ac_func... " >&6; } | |
11768 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
11769 $as_echo_n "(cached) " >&6 | |
11770 else | |
11771 cat >conftest.$ac_ext <<_ACEOF | |
11772 /* confdefs.h. */ | |
11773 _ACEOF | |
11774 cat confdefs.h >>conftest.$ac_ext | |
11775 cat >>conftest.$ac_ext <<_ACEOF | |
11776 /* end confdefs.h. */ | |
11777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
11778 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
11779 #define $ac_func innocuous_$ac_func | |
11780 | |
11781 /* System header to define __stub macros and hopefully few prototypes, | |
11782 which can conflict with char $ac_func (); below. | |
11783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
11784 <limits.h> exists even on freestanding compilers. */ | |
11785 | |
11786 #ifdef __STDC__ | |
11787 # include <limits.h> | |
11788 #else | |
11789 # include <assert.h> | |
11790 #endif | |
11791 | |
11792 #undef $ac_func | |
11793 | |
11794 /* Override any GCC internal prototype to avoid an error. | |
11795 Use char because int might match the return type of a GCC | |
11796 builtin and then its argument prototype would still apply. */ | |
11797 #ifdef __cplusplus | |
11798 extern "C" | |
11799 #endif | |
11800 char $ac_func (); | |
11801 /* The GNU C library defines this for functions which it implements | |
11802 to always fail with ENOSYS. Some functions are actually named | |
11803 something starting with __ and the normal name is an alias. */ | |
11804 #if defined __stub_$ac_func || defined __stub___$ac_func | |
11805 choke me | |
11806 #endif | |
11807 | |
11808 int | |
11809 main () | |
11810 { | |
11811 return $ac_func (); | |
11812 ; | |
11813 return 0; | |
11814 } | |
11815 _ACEOF | |
11816 rm -f conftest.$ac_objext conftest$ac_exeext | |
11817 if { (ac_try="$ac_link" | |
11818 case "(($ac_try" in | |
11819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11820 *) ac_try_echo=$ac_try;; | |
11821 esac | |
11822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11823 $as_echo "$ac_try_echo") >&5 | |
11824 (eval "$ac_link") 2>conftest.er1 | |
11825 ac_status=$? | |
11826 grep -v '^ *+' conftest.er1 >conftest.err | |
11827 rm -f conftest.er1 | |
11828 cat conftest.err >&5 | |
11829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11830 (exit $ac_status); } && { | |
11831 test -z "$ac_c_werror_flag" || | |
11832 test ! -s conftest.err | |
11833 } && test -s conftest$ac_exeext && { | |
11834 test "$cross_compiling" = yes || | |
11835 $as_test_x conftest$ac_exeext | |
11836 }; then | |
11837 eval "$as_ac_var=yes" | |
11838 else | |
11839 $as_echo "$as_me: failed program was:" >&5 | |
11840 sed 's/^/| /' conftest.$ac_ext >&5 | |
11841 | |
11842 eval "$as_ac_var=no" | |
11843 fi | |
11844 | |
11845 rm -rf conftest.dSYM | |
11846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11847 conftest$ac_exeext conftest.$ac_ext | |
11848 fi | |
11849 ac_res=`eval 'as_val=${'$as_ac_var'} | |
11850 $as_echo "$as_val"'` | |
11851 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11852 $as_echo "$ac_res" >&6; } | |
11853 if test `eval 'as_val=${'$as_ac_var'} | |
11854 $as_echo "$as_val"'` = yes; then | |
11855 cat >>confdefs.h <<_ACEOF | 8274 cat >>confdefs.h <<_ACEOF |
11856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8275 #define HAVE_GDK_DISPLAY_OPEN 1 |
11857 _ACEOF | 8276 _ACEOF |
11858 HAVE_GTK_MULTIDISPLAY=yes | 8277 HAVE_GTK_MULTIDISPLAY=yes |
11859 fi | 8278 fi |
11860 done | 8279 done |
11861 | 8280 |
11862 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | 8281 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then |
11863 | 8282 |
11864 cat >>confdefs.h <<\_ACEOF | 8283 $as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h |
11865 #define HAVE_GTK_MULTIDISPLAY 1 | |
11866 _ACEOF | |
11867 | 8284 |
11868 fi | 8285 fi |
11869 | 8286 |
11870 HAVE_GTK_FILE_SELECTION=no | 8287 HAVE_GTK_FILE_SELECTION=no |
11871 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 | 8288 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default |
11872 $as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; } | |
11873 if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then | |
11874 $as_echo_n "(cached) " >&6 | |
11875 else | |
11876 cat >conftest.$ac_ext <<_ACEOF | |
11877 /* confdefs.h. */ | |
11878 _ACEOF | |
11879 cat confdefs.h >>conftest.$ac_ext | |
11880 cat >>conftest.$ac_ext <<_ACEOF | |
11881 /* end confdefs.h. */ | |
11882 $ac_includes_default | |
11883 #include <gtk/gtk.h> | 8289 #include <gtk/gtk.h> |
11884 | 8290 " |
11885 int | 8291 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : |
11886 main () | |
11887 { | |
11888 #ifndef GTK_TYPE_FILE_SELECTION | |
11889 (void) GTK_TYPE_FILE_SELECTION; | |
11890 #endif | |
11891 | |
11892 ; | |
11893 return 0; | |
11894 } | |
11895 _ACEOF | |
11896 rm -f conftest.$ac_objext | |
11897 if { (ac_try="$ac_compile" | |
11898 case "(($ac_try" in | |
11899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11900 *) ac_try_echo=$ac_try;; | |
11901 esac | |
11902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11903 $as_echo "$ac_try_echo") >&5 | |
11904 (eval "$ac_compile") 2>conftest.er1 | |
11905 ac_status=$? | |
11906 grep -v '^ *+' conftest.er1 >conftest.err | |
11907 rm -f conftest.er1 | |
11908 cat conftest.err >&5 | |
11909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11910 (exit $ac_status); } && { | |
11911 test -z "$ac_c_werror_flag" || | |
11912 test ! -s conftest.err | |
11913 } && test -s conftest.$ac_objext; then | |
11914 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes | |
11915 else | |
11916 $as_echo "$as_me: failed program was:" >&5 | |
11917 sed 's/^/| /' conftest.$ac_ext >&5 | |
11918 | |
11919 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no | |
11920 fi | |
11921 | |
11922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
11923 fi | |
11924 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5 | |
11925 $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; } | |
11926 if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then | |
11927 HAVE_GTK_FILE_SELECTION=yes | 8292 HAVE_GTK_FILE_SELECTION=yes |
11928 else | 8293 else |
11929 HAVE_GTK_FILE_SELECTION=no | 8294 HAVE_GTK_FILE_SELECTION=no |
11930 fi | 8295 fi |
11931 | 8296 |
11932 if test "$HAVE_GTK_FILE_SELECTION" = yes; then | 8297 if test "$HAVE_GTK_FILE_SELECTION" = yes; then |
11933 | 8298 for ac_func in gtk_file_selection_new |
11934 for ac_func in gtk_file_selection_new | 8299 do : |
11935 do | 8300 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" |
11936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8301 if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : |
11937 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
11938 $as_echo_n "checking for $ac_func... " >&6; } | |
11939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
11940 $as_echo_n "(cached) " >&6 | |
11941 else | |
11942 cat >conftest.$ac_ext <<_ACEOF | |
11943 /* confdefs.h. */ | |
11944 _ACEOF | |
11945 cat confdefs.h >>conftest.$ac_ext | |
11946 cat >>conftest.$ac_ext <<_ACEOF | |
11947 /* end confdefs.h. */ | |
11948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
11949 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
11950 #define $ac_func innocuous_$ac_func | |
11951 | |
11952 /* System header to define __stub macros and hopefully few prototypes, | |
11953 which can conflict with char $ac_func (); below. | |
11954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
11955 <limits.h> exists even on freestanding compilers. */ | |
11956 | |
11957 #ifdef __STDC__ | |
11958 # include <limits.h> | |
11959 #else | |
11960 # include <assert.h> | |
11961 #endif | |
11962 | |
11963 #undef $ac_func | |
11964 | |
11965 /* Override any GCC internal prototype to avoid an error. | |
11966 Use char because int might match the return type of a GCC | |
11967 builtin and then its argument prototype would still apply. */ | |
11968 #ifdef __cplusplus | |
11969 extern "C" | |
11970 #endif | |
11971 char $ac_func (); | |
11972 /* The GNU C library defines this for functions which it implements | |
11973 to always fail with ENOSYS. Some functions are actually named | |
11974 something starting with __ and the normal name is an alias. */ | |
11975 #if defined __stub_$ac_func || defined __stub___$ac_func | |
11976 choke me | |
11977 #endif | |
11978 | |
11979 int | |
11980 main () | |
11981 { | |
11982 return $ac_func (); | |
11983 ; | |
11984 return 0; | |
11985 } | |
11986 _ACEOF | |
11987 rm -f conftest.$ac_objext conftest$ac_exeext | |
11988 if { (ac_try="$ac_link" | |
11989 case "(($ac_try" in | |
11990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11991 *) ac_try_echo=$ac_try;; | |
11992 esac | |
11993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11994 $as_echo "$ac_try_echo") >&5 | |
11995 (eval "$ac_link") 2>conftest.er1 | |
11996 ac_status=$? | |
11997 grep -v '^ *+' conftest.er1 >conftest.err | |
11998 rm -f conftest.er1 | |
11999 cat conftest.err >&5 | |
12000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12001 (exit $ac_status); } && { | |
12002 test -z "$ac_c_werror_flag" || | |
12003 test ! -s conftest.err | |
12004 } && test -s conftest$ac_exeext && { | |
12005 test "$cross_compiling" = yes || | |
12006 $as_test_x conftest$ac_exeext | |
12007 }; then | |
12008 eval "$as_ac_var=yes" | |
12009 else | |
12010 $as_echo "$as_me: failed program was:" >&5 | |
12011 sed 's/^/| /' conftest.$ac_ext >&5 | |
12012 | |
12013 eval "$as_ac_var=no" | |
12014 fi | |
12015 | |
12016 rm -rf conftest.dSYM | |
12017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12018 conftest$ac_exeext conftest.$ac_ext | |
12019 fi | |
12020 ac_res=`eval 'as_val=${'$as_ac_var'} | |
12021 $as_echo "$as_val"'` | |
12022 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12023 $as_echo "$ac_res" >&6; } | |
12024 if test `eval 'as_val=${'$as_ac_var'} | |
12025 $as_echo "$as_val"'` = yes; then | |
12026 cat >>confdefs.h <<_ACEOF | 8302 cat >>confdefs.h <<_ACEOF |
12027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8303 #define HAVE_GTK_FILE_SELECTION_NEW 1 |
12028 _ACEOF | 8304 _ACEOF |
12029 HAVE_GTK_FILE_SELECTION=yes | 8305 HAVE_GTK_FILE_SELECTION=yes |
12030 else | 8306 else |
12031 HAVE_GTK_FILE_SELECTION=no | 8307 HAVE_GTK_FILE_SELECTION=no |
12032 fi | 8308 fi |
12033 done | 8309 done |
12034 | 8310 |
12035 fi | 8311 fi |
12036 | 8312 |
12037 HAVE_GTK_FILE_CHOOSER=no | 8313 HAVE_GTK_FILE_CHOOSER=no |
12038 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 | 8314 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default |
12039 $as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; } | |
12040 if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then | |
12041 $as_echo_n "(cached) " >&6 | |
12042 else | |
12043 cat >conftest.$ac_ext <<_ACEOF | |
12044 /* confdefs.h. */ | |
12045 _ACEOF | |
12046 cat confdefs.h >>conftest.$ac_ext | |
12047 cat >>conftest.$ac_ext <<_ACEOF | |
12048 /* end confdefs.h. */ | |
12049 $ac_includes_default | |
12050 #include <gtk/gtk.h> | 8315 #include <gtk/gtk.h> |
12051 | 8316 " |
12052 int | 8317 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then : |
12053 main () | |
12054 { | |
12055 #ifndef GTK_TYPE_FILE_CHOOSER | |
12056 (void) GTK_TYPE_FILE_CHOOSER; | |
12057 #endif | |
12058 | |
12059 ; | |
12060 return 0; | |
12061 } | |
12062 _ACEOF | |
12063 rm -f conftest.$ac_objext | |
12064 if { (ac_try="$ac_compile" | |
12065 case "(($ac_try" in | |
12066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12067 *) ac_try_echo=$ac_try;; | |
12068 esac | |
12069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12070 $as_echo "$ac_try_echo") >&5 | |
12071 (eval "$ac_compile") 2>conftest.er1 | |
12072 ac_status=$? | |
12073 grep -v '^ *+' conftest.er1 >conftest.err | |
12074 rm -f conftest.er1 | |
12075 cat conftest.err >&5 | |
12076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12077 (exit $ac_status); } && { | |
12078 test -z "$ac_c_werror_flag" || | |
12079 test ! -s conftest.err | |
12080 } && test -s conftest.$ac_objext; then | |
12081 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes | |
12082 else | |
12083 $as_echo "$as_me: failed program was:" >&5 | |
12084 sed 's/^/| /' conftest.$ac_ext >&5 | |
12085 | |
12086 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no | |
12087 fi | |
12088 | |
12089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
12090 fi | |
12091 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5 | |
12092 $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; } | |
12093 if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then | |
12094 HAVE_GTK_FILE_CHOOSER=yes | 8318 HAVE_GTK_FILE_CHOOSER=yes |
12095 else | 8319 else |
12096 HAVE_GTK_FILE_CHOOSER=no | 8320 HAVE_GTK_FILE_CHOOSER=no |
12097 fi | 8321 fi |
12098 | 8322 |
12099 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 8323 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
12100 | 8324 for ac_func in gtk_file_chooser_dialog_new |
12101 for ac_func in gtk_file_chooser_dialog_new | 8325 do : |
12102 do | 8326 ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new" |
12103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8327 if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then : |
12104 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
12105 $as_echo_n "checking for $ac_func... " >&6; } | |
12106 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
12107 $as_echo_n "(cached) " >&6 | |
12108 else | |
12109 cat >conftest.$ac_ext <<_ACEOF | |
12110 /* confdefs.h. */ | |
12111 _ACEOF | |
12112 cat confdefs.h >>conftest.$ac_ext | |
12113 cat >>conftest.$ac_ext <<_ACEOF | |
12114 /* end confdefs.h. */ | |
12115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
12116 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
12117 #define $ac_func innocuous_$ac_func | |
12118 | |
12119 /* System header to define __stub macros and hopefully few prototypes, | |
12120 which can conflict with char $ac_func (); below. | |
12121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
12122 <limits.h> exists even on freestanding compilers. */ | |
12123 | |
12124 #ifdef __STDC__ | |
12125 # include <limits.h> | |
12126 #else | |
12127 # include <assert.h> | |
12128 #endif | |
12129 | |
12130 #undef $ac_func | |
12131 | |
12132 /* Override any GCC internal prototype to avoid an error. | |
12133 Use char because int might match the return type of a GCC | |
12134 builtin and then its argument prototype would still apply. */ | |
12135 #ifdef __cplusplus | |
12136 extern "C" | |
12137 #endif | |
12138 char $ac_func (); | |
12139 /* The GNU C library defines this for functions which it implements | |
12140 to always fail with ENOSYS. Some functions are actually named | |
12141 something starting with __ and the normal name is an alias. */ | |
12142 #if defined __stub_$ac_func || defined __stub___$ac_func | |
12143 choke me | |
12144 #endif | |
12145 | |
12146 int | |
12147 main () | |
12148 { | |
12149 return $ac_func (); | |
12150 ; | |
12151 return 0; | |
12152 } | |
12153 _ACEOF | |
12154 rm -f conftest.$ac_objext conftest$ac_exeext | |
12155 if { (ac_try="$ac_link" | |
12156 case "(($ac_try" in | |
12157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12158 *) ac_try_echo=$ac_try;; | |
12159 esac | |
12160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12161 $as_echo "$ac_try_echo") >&5 | |
12162 (eval "$ac_link") 2>conftest.er1 | |
12163 ac_status=$? | |
12164 grep -v '^ *+' conftest.er1 >conftest.err | |
12165 rm -f conftest.er1 | |
12166 cat conftest.err >&5 | |
12167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12168 (exit $ac_status); } && { | |
12169 test -z "$ac_c_werror_flag" || | |
12170 test ! -s conftest.err | |
12171 } && test -s conftest$ac_exeext && { | |
12172 test "$cross_compiling" = yes || | |
12173 $as_test_x conftest$ac_exeext | |
12174 }; then | |
12175 eval "$as_ac_var=yes" | |
12176 else | |
12177 $as_echo "$as_me: failed program was:" >&5 | |
12178 sed 's/^/| /' conftest.$ac_ext >&5 | |
12179 | |
12180 eval "$as_ac_var=no" | |
12181 fi | |
12182 | |
12183 rm -rf conftest.dSYM | |
12184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12185 conftest$ac_exeext conftest.$ac_ext | |
12186 fi | |
12187 ac_res=`eval 'as_val=${'$as_ac_var'} | |
12188 $as_echo "$as_val"'` | |
12189 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12190 $as_echo "$ac_res" >&6; } | |
12191 if test `eval 'as_val=${'$as_ac_var'} | |
12192 $as_echo "$as_val"'` = yes; then | |
12193 cat >>confdefs.h <<_ACEOF | 8328 cat >>confdefs.h <<_ACEOF |
12194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8329 #define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1 |
12195 _ACEOF | 8330 _ACEOF |
12196 HAVE_GTK_FILE_CHOOSER=yes | 8331 HAVE_GTK_FILE_CHOOSER=yes |
12197 else | 8332 else |
12198 HAVE_GTK_FILE_CHOOSER=no | 8333 HAVE_GTK_FILE_CHOOSER=no |
12199 fi | 8334 fi |
12202 fi | 8337 fi |
12203 | 8338 |
12204 if test "$HAVE_GTK_FILE_SELECTION" = yes \ | 8339 if test "$HAVE_GTK_FILE_SELECTION" = yes \ |
12205 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 8340 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
12206 | 8341 |
12207 cat >>confdefs.h <<\_ACEOF | 8342 $as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h |
12208 #define HAVE_GTK_FILE_BOTH 1 | |
12209 _ACEOF | |
12210 | 8343 |
12211 fi | 8344 fi |
12212 | 8345 |
12213 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 8346 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
12214 HAVE_GTK_AND_PTHREAD=no | 8347 HAVE_GTK_AND_PTHREAD=no |
12215 | 8348 for ac_header in pthread.h |
12216 for ac_header in pthread.h | 8349 do : |
12217 do | 8350 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
12218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8351 if test "x$ac_cv_header_pthread_h" = x""yes; then : |
12219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
12220 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12221 $as_echo_n "checking for $ac_header... " >&6; } | |
12222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
12223 $as_echo_n "(cached) " >&6 | |
12224 fi | |
12225 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
12226 $as_echo "$as_val"'` | |
12227 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12228 $as_echo "$ac_res" >&6; } | |
12229 else | |
12230 # Is the header compilable? | |
12231 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12232 $as_echo_n "checking $ac_header usability... " >&6; } | |
12233 cat >conftest.$ac_ext <<_ACEOF | |
12234 /* confdefs.h. */ | |
12235 _ACEOF | |
12236 cat confdefs.h >>conftest.$ac_ext | |
12237 cat >>conftest.$ac_ext <<_ACEOF | |
12238 /* end confdefs.h. */ | |
12239 $ac_includes_default | |
12240 #include <$ac_header> | |
12241 _ACEOF | |
12242 rm -f conftest.$ac_objext | |
12243 if { (ac_try="$ac_compile" | |
12244 case "(($ac_try" in | |
12245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12246 *) ac_try_echo=$ac_try;; | |
12247 esac | |
12248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12249 $as_echo "$ac_try_echo") >&5 | |
12250 (eval "$ac_compile") 2>conftest.er1 | |
12251 ac_status=$? | |
12252 grep -v '^ *+' conftest.er1 >conftest.err | |
12253 rm -f conftest.er1 | |
12254 cat conftest.err >&5 | |
12255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12256 (exit $ac_status); } && { | |
12257 test -z "$ac_c_werror_flag" || | |
12258 test ! -s conftest.err | |
12259 } && test -s conftest.$ac_objext; then | |
12260 ac_header_compiler=yes | |
12261 else | |
12262 $as_echo "$as_me: failed program was:" >&5 | |
12263 sed 's/^/| /' conftest.$ac_ext >&5 | |
12264 | |
12265 ac_header_compiler=no | |
12266 fi | |
12267 | |
12268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
12269 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12270 $as_echo "$ac_header_compiler" >&6; } | |
12271 | |
12272 # Is the header present? | |
12273 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12274 $as_echo_n "checking $ac_header presence... " >&6; } | |
12275 cat >conftest.$ac_ext <<_ACEOF | |
12276 /* confdefs.h. */ | |
12277 _ACEOF | |
12278 cat confdefs.h >>conftest.$ac_ext | |
12279 cat >>conftest.$ac_ext <<_ACEOF | |
12280 /* end confdefs.h. */ | |
12281 #include <$ac_header> | |
12282 _ACEOF | |
12283 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
12284 case "(($ac_try" in | |
12285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12286 *) ac_try_echo=$ac_try;; | |
12287 esac | |
12288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12289 $as_echo "$ac_try_echo") >&5 | |
12290 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
12291 ac_status=$? | |
12292 grep -v '^ *+' conftest.er1 >conftest.err | |
12293 rm -f conftest.er1 | |
12294 cat conftest.err >&5 | |
12295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12296 (exit $ac_status); } >/dev/null && { | |
12297 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
12298 test ! -s conftest.err | |
12299 }; then | |
12300 ac_header_preproc=yes | |
12301 else | |
12302 $as_echo "$as_me: failed program was:" >&5 | |
12303 sed 's/^/| /' conftest.$ac_ext >&5 | |
12304 | |
12305 ac_header_preproc=no | |
12306 fi | |
12307 | |
12308 rm -f conftest.err conftest.$ac_ext | |
12309 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
12310 $as_echo "$ac_header_preproc" >&6; } | |
12311 | |
12312 # So? What about this header? | |
12313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
12314 yes:no: ) | |
12315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12316 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
12318 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
12319 ac_header_preproc=yes | |
12320 ;; | |
12321 no:yes:* ) | |
12322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12323 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12324 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12325 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12326 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
12327 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
12328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
12329 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
12330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12331 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12332 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
12333 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
12334 | |
12335 ;; | |
12336 esac | |
12337 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12338 $as_echo_n "checking for $ac_header... " >&6; } | |
12339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
12340 $as_echo_n "(cached) " >&6 | |
12341 else | |
12342 eval "$as_ac_Header=\$ac_header_preproc" | |
12343 fi | |
12344 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
12345 $as_echo "$as_val"'` | |
12346 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12347 $as_echo "$ac_res" >&6; } | |
12348 | |
12349 fi | |
12350 if test `eval 'as_val=${'$as_ac_Header'} | |
12351 $as_echo "$as_val"'` = yes; then | |
12352 cat >>confdefs.h <<_ACEOF | 8352 cat >>confdefs.h <<_ACEOF |
12353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8353 #define HAVE_PTHREAD_H 1 |
12354 _ACEOF | 8354 _ACEOF |
12355 | 8355 |
12356 fi | 8356 fi |
12357 | 8357 |
12358 done | 8358 done |
12359 | 8359 |
12360 if test "$ac_cv_header_pthread_h"; then | 8360 if test "$ac_cv_header_pthread_h"; then |
12361 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 | 8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 |
12362 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | 8362 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } |
12363 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then | 8363 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : |
12364 $as_echo_n "(cached) " >&6 | 8364 $as_echo_n "(cached) " >&6 |
12365 else | 8365 else |
12366 ac_check_lib_save_LIBS=$LIBS | 8366 ac_check_lib_save_LIBS=$LIBS |
12367 LIBS="-lpthread $LIBS" | 8367 LIBS="-lpthread $LIBS" |
12368 cat >conftest.$ac_ext <<_ACEOF | 8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12369 /* confdefs.h. */ | |
12370 _ACEOF | |
12371 cat confdefs.h >>conftest.$ac_ext | |
12372 cat >>conftest.$ac_ext <<_ACEOF | |
12373 /* end confdefs.h. */ | 8369 /* end confdefs.h. */ |
12374 | 8370 |
12375 /* Override any GCC internal prototype to avoid an error. | 8371 /* Override any GCC internal prototype to avoid an error. |
12376 Use char because int might match the return type of a GCC | 8372 Use char because int might match the return type of a GCC |
12377 builtin and then its argument prototype would still apply. */ | 8373 builtin and then its argument prototype would still apply. */ |
12385 return pthread_self (); | 8381 return pthread_self (); |
12386 ; | 8382 ; |
12387 return 0; | 8383 return 0; |
12388 } | 8384 } |
12389 _ACEOF | 8385 _ACEOF |
12390 rm -f conftest.$ac_objext conftest$ac_exeext | 8386 if ac_fn_c_try_link "$LINENO"; then : |
12391 if { (ac_try="$ac_link" | |
12392 case "(($ac_try" in | |
12393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12394 *) ac_try_echo=$ac_try;; | |
12395 esac | |
12396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12397 $as_echo "$ac_try_echo") >&5 | |
12398 (eval "$ac_link") 2>conftest.er1 | |
12399 ac_status=$? | |
12400 grep -v '^ *+' conftest.er1 >conftest.err | |
12401 rm -f conftest.er1 | |
12402 cat conftest.err >&5 | |
12403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12404 (exit $ac_status); } && { | |
12405 test -z "$ac_c_werror_flag" || | |
12406 test ! -s conftest.err | |
12407 } && test -s conftest$ac_exeext && { | |
12408 test "$cross_compiling" = yes || | |
12409 $as_test_x conftest$ac_exeext | |
12410 }; then | |
12411 ac_cv_lib_pthread_pthread_self=yes | 8387 ac_cv_lib_pthread_pthread_self=yes |
12412 else | 8388 else |
12413 $as_echo "$as_me: failed program was:" >&5 | 8389 ac_cv_lib_pthread_pthread_self=no |
12414 sed 's/^/| /' conftest.$ac_ext >&5 | 8390 fi |
12415 | 8391 rm -f core conftest.err conftest.$ac_objext \ |
12416 ac_cv_lib_pthread_pthread_self=no | 8392 conftest$ac_exeext conftest.$ac_ext |
12417 fi | |
12418 | |
12419 rm -rf conftest.dSYM | |
12420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12421 conftest$ac_exeext conftest.$ac_ext | |
12422 LIBS=$ac_check_lib_save_LIBS | 8393 LIBS=$ac_check_lib_save_LIBS |
12423 fi | 8394 fi |
12424 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 | 8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 |
12425 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | 8396 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } |
12426 if test $ac_cv_lib_pthread_pthread_self = yes; then | 8397 if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : |
12427 HAVE_GTK_AND_PTHREAD=yes | 8398 HAVE_GTK_AND_PTHREAD=yes |
12428 fi | 8399 fi |
12429 | 8400 |
12430 fi | 8401 fi |
12431 if test "$HAVE_GTK_AND_PTHREAD" = yes; then | 8402 if test "$HAVE_GTK_AND_PTHREAD" = yes; then |
12432 case "${canonical}" in | 8403 case "${canonical}" in |
12433 *-hpux*) ;; | 8404 *-hpux*) ;; |
12434 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; | 8405 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; |
12435 esac | 8406 esac |
12436 | 8407 |
12437 cat >>confdefs.h <<\_ACEOF | 8408 $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h |
12438 #define HAVE_GTK_AND_PTHREAD 1 | |
12439 _ACEOF | |
12440 | 8409 |
12441 fi | 8410 fi |
12442 fi | 8411 fi |
12443 fi | 8412 fi |
12444 | 8413 |
12448 | 8417 |
12449 succeeded=no | 8418 succeeded=no |
12450 | 8419 |
12451 # Extract the first word of "pkg-config", so it can be a program name with args. | 8420 # Extract the first word of "pkg-config", so it can be a program name with args. |
12452 set dummy pkg-config; ac_word=$2 | 8421 set dummy pkg-config; ac_word=$2 |
12453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
12454 $as_echo_n "checking for $ac_word... " >&6; } | 8423 $as_echo_n "checking for $ac_word... " >&6; } |
12455 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 8424 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
12456 $as_echo_n "(cached) " >&6 | 8425 $as_echo_n "(cached) " >&6 |
12457 else | 8426 else |
12458 case $PKG_CONFIG in | 8427 case $PKG_CONFIG in |
12459 [\\/]* | ?:[\\/]*) | 8428 [\\/]* | ?:[\\/]*) |
12460 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 8429 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
12463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12464 for as_dir in $PATH | 8433 for as_dir in $PATH |
12465 do | 8434 do |
12466 IFS=$as_save_IFS | 8435 IFS=$as_save_IFS |
12467 test -z "$as_dir" && as_dir=. | 8436 test -z "$as_dir" && as_dir=. |
12468 for ac_exec_ext in '' $ac_executable_extensions; do | 8437 for ac_exec_ext in '' $ac_executable_extensions; do |
12469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
12470 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 8439 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
12471 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
12472 break 2 | 8441 break 2 |
12473 fi | 8442 fi |
12474 done | 8443 done |
12475 done | 8444 done |
12476 IFS=$as_save_IFS | 8445 IFS=$as_save_IFS |
12477 | 8446 |
12478 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 8447 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
12479 ;; | 8448 ;; |
12480 esac | 8449 esac |
12481 fi | 8450 fi |
12482 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 8451 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
12483 if test -n "$PKG_CONFIG"; then | 8452 if test -n "$PKG_CONFIG"; then |
12484 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
12485 $as_echo "$PKG_CONFIG" >&6; } | 8454 $as_echo "$PKG_CONFIG" >&6; } |
12486 else | 8455 else |
12487 { $as_echo "$as_me:$LINENO: result: no" >&5 | 8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12488 $as_echo "no" >&6; } | 8457 $as_echo "no" >&6; } |
12489 fi | 8458 fi |
12490 | 8459 |
12491 | 8460 |
12492 | 8461 |
12493 if test "$PKG_CONFIG" = "no" ; then | 8462 if test "$PKG_CONFIG" = "no" ; then |
12494 HAVE_DBUS=no | 8463 HAVE_DBUS=no |
12495 else | 8464 else |
12496 PKG_CONFIG_MIN_VERSION=0.9.0 | 8465 PKG_CONFIG_MIN_VERSION=0.9.0 |
12497 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 8466 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
12498 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 | 8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 |
12499 $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } | 8468 $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } |
12500 | 8469 |
12501 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then | 8470 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then |
12502 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12503 $as_echo "yes" >&6; } | 8472 $as_echo "yes" >&6; } |
12504 succeeded=yes | 8473 succeeded=yes |
12505 | 8474 |
12506 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 | 8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 |
12507 $as_echo_n "checking DBUS_CFLAGS... " >&6; } | 8476 $as_echo_n "checking DBUS_CFLAGS... " >&6; } |
12508 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 8477 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
12509 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 | 8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 |
12510 $as_echo "$DBUS_CFLAGS" >&6; } | 8479 $as_echo "$DBUS_CFLAGS" >&6; } |
12511 | 8480 |
12512 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 | 8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 |
12513 $as_echo_n "checking DBUS_LIBS... " >&6; } | 8482 $as_echo_n "checking DBUS_LIBS... " >&6; } |
12514 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 8483 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
12515 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 | 8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 |
12516 $as_echo "$DBUS_LIBS" >&6; } | 8485 $as_echo "$DBUS_LIBS" >&6; } |
12517 else | 8486 else |
12518 { $as_echo "$as_me:$LINENO: result: no" >&5 | 8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12519 $as_echo "no" >&6; } | 8488 $as_echo "no" >&6; } |
12520 DBUS_CFLAGS="" | 8489 DBUS_CFLAGS="" |
12521 DBUS_LIBS="" | 8490 DBUS_LIBS="" |
12522 ## If we have a custom action on failure, don't print errors, but | 8491 ## If we have a custom action on failure, don't print errors, but |
12523 ## do set a variable so people can do so. | 8492 ## do set a variable so people can do so. |
12540 fi | 8509 fi |
12541 | 8510 |
12542 if test "$HAVE_DBUS" = yes; then | 8511 if test "$HAVE_DBUS" = yes; then |
12543 LIBS="$LIBS $DBUS_LIBS" | 8512 LIBS="$LIBS $DBUS_LIBS" |
12544 | 8513 |
12545 cat >>confdefs.h <<\_ACEOF | 8514 $as_echo "#define HAVE_DBUS 1" >>confdefs.h |
12546 #define HAVE_DBUS 1 | 8515 |
12547 _ACEOF | 8516 for ac_func in dbus_watch_get_unix_fd |
12548 | 8517 do : |
12549 | 8518 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" |
12550 for ac_func in dbus_watch_get_unix_fd | 8519 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : |
12551 do | |
12552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
12553 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
12554 $as_echo_n "checking for $ac_func... " >&6; } | |
12555 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
12556 $as_echo_n "(cached) " >&6 | |
12557 else | |
12558 cat >conftest.$ac_ext <<_ACEOF | |
12559 /* confdefs.h. */ | |
12560 _ACEOF | |
12561 cat confdefs.h >>conftest.$ac_ext | |
12562 cat >>conftest.$ac_ext <<_ACEOF | |
12563 /* end confdefs.h. */ | |
12564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
12565 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
12566 #define $ac_func innocuous_$ac_func | |
12567 | |
12568 /* System header to define __stub macros and hopefully few prototypes, | |
12569 which can conflict with char $ac_func (); below. | |
12570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
12571 <limits.h> exists even on freestanding compilers. */ | |
12572 | |
12573 #ifdef __STDC__ | |
12574 # include <limits.h> | |
12575 #else | |
12576 # include <assert.h> | |
12577 #endif | |
12578 | |
12579 #undef $ac_func | |
12580 | |
12581 /* Override any GCC internal prototype to avoid an error. | |
12582 Use char because int might match the return type of a GCC | |
12583 builtin and then its argument prototype would still apply. */ | |
12584 #ifdef __cplusplus | |
12585 extern "C" | |
12586 #endif | |
12587 char $ac_func (); | |
12588 /* The GNU C library defines this for functions which it implements | |
12589 to always fail with ENOSYS. Some functions are actually named | |
12590 something starting with __ and the normal name is an alias. */ | |
12591 #if defined __stub_$ac_func || defined __stub___$ac_func | |
12592 choke me | |
12593 #endif | |
12594 | |
12595 int | |
12596 main () | |
12597 { | |
12598 return $ac_func (); | |
12599 ; | |
12600 return 0; | |
12601 } | |
12602 _ACEOF | |
12603 rm -f conftest.$ac_objext conftest$ac_exeext | |
12604 if { (ac_try="$ac_link" | |
12605 case "(($ac_try" in | |
12606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12607 *) ac_try_echo=$ac_try;; | |
12608 esac | |
12609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12610 $as_echo "$ac_try_echo") >&5 | |
12611 (eval "$ac_link") 2>conftest.er1 | |
12612 ac_status=$? | |
12613 grep -v '^ *+' conftest.er1 >conftest.err | |
12614 rm -f conftest.er1 | |
12615 cat conftest.err >&5 | |
12616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12617 (exit $ac_status); } && { | |
12618 test -z "$ac_c_werror_flag" || | |
12619 test ! -s conftest.err | |
12620 } && test -s conftest$ac_exeext && { | |
12621 test "$cross_compiling" = yes || | |
12622 $as_test_x conftest$ac_exeext | |
12623 }; then | |
12624 eval "$as_ac_var=yes" | |
12625 else | |
12626 $as_echo "$as_me: failed program was:" >&5 | |
12627 sed 's/^/| /' conftest.$ac_ext >&5 | |
12628 | |
12629 eval "$as_ac_var=no" | |
12630 fi | |
12631 | |
12632 rm -rf conftest.dSYM | |
12633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12634 conftest$ac_exeext conftest.$ac_ext | |
12635 fi | |
12636 ac_res=`eval 'as_val=${'$as_ac_var'} | |
12637 $as_echo "$as_val"'` | |
12638 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12639 $as_echo "$ac_res" >&6; } | |
12640 if test `eval 'as_val=${'$as_ac_var'} | |
12641 $as_echo "$as_val"'` = yes; then | |
12642 cat >>confdefs.h <<_ACEOF | 8520 cat >>confdefs.h <<_ACEOF |
12643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8521 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 |
12644 _ACEOF | 8522 _ACEOF |
12645 | 8523 |
12646 fi | 8524 fi |
12647 done | 8525 done |
12648 | 8526 |
12656 | 8534 |
12657 succeeded=no | 8535 succeeded=no |
12658 | 8536 |
12659 # Extract the first word of "pkg-config", so it can be a program name with args. | 8537 # Extract the first word of "pkg-config", so it can be a program name with args. |
12660 set dummy pkg-config; ac_word=$2 | 8538 set dummy pkg-config; ac_word=$2 |
12661 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
12662 $as_echo_n "checking for $ac_word... " >&6; } | 8540 $as_echo_n "checking for $ac_word... " >&6; } |
12663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 8541 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
12664 $as_echo_n "(cached) " >&6 | 8542 $as_echo_n "(cached) " >&6 |
12665 else | 8543 else |
12666 case $PKG_CONFIG in | 8544 case $PKG_CONFIG in |
12667 [\\/]* | ?:[\\/]*) | 8545 [\\/]* | ?:[\\/]*) |
12668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 8546 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
12671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12672 for as_dir in $PATH | 8550 for as_dir in $PATH |
12673 do | 8551 do |
12674 IFS=$as_save_IFS | 8552 IFS=$as_save_IFS |
12675 test -z "$as_dir" && as_dir=. | 8553 test -z "$as_dir" && as_dir=. |
12676 for ac_exec_ext in '' $ac_executable_extensions; do | 8554 for ac_exec_ext in '' $ac_executable_extensions; do |
12677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
12678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 8556 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
12679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
12680 break 2 | 8558 break 2 |
12681 fi | 8559 fi |
12682 done | 8560 done |
12683 done | 8561 done |
12684 IFS=$as_save_IFS | 8562 IFS=$as_save_IFS |
12685 | 8563 |
12686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 8564 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
12687 ;; | 8565 ;; |
12688 esac | 8566 esac |
12689 fi | 8567 fi |
12690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 8568 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
12691 if test -n "$PKG_CONFIG"; then | 8569 if test -n "$PKG_CONFIG"; then |
12692 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
12693 $as_echo "$PKG_CONFIG" >&6; } | 8571 $as_echo "$PKG_CONFIG" >&6; } |
12694 else | 8572 else |
12695 { $as_echo "$as_me:$LINENO: result: no" >&5 | 8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12696 $as_echo "no" >&6; } | 8574 $as_echo "no" >&6; } |
12697 fi | 8575 fi |
12698 | 8576 |
12699 | 8577 |
12700 | 8578 |
12701 if test "$PKG_CONFIG" = "no" ; then | 8579 if test "$PKG_CONFIG" = "no" ; then |
12702 HAVE_GCONF=no | 8580 HAVE_GCONF=no |
12703 else | 8581 else |
12704 PKG_CONFIG_MIN_VERSION=0.9.0 | 8582 PKG_CONFIG_MIN_VERSION=0.9.0 |
12705 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 8583 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
12706 { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5 | 8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 |
12707 $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } | 8585 $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } |
12708 | 8586 |
12709 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then | 8587 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then |
12710 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12711 $as_echo "yes" >&6; } | 8589 $as_echo "yes" >&6; } |
12712 succeeded=yes | 8590 succeeded=yes |
12713 | 8591 |
12714 { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5 | 8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5 |
12715 $as_echo_n "checking GCONF_CFLAGS... " >&6; } | 8593 $as_echo_n "checking GCONF_CFLAGS... " >&6; } |
12716 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 8594 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
12717 { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5 | 8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5 |
12718 $as_echo "$GCONF_CFLAGS" >&6; } | 8596 $as_echo "$GCONF_CFLAGS" >&6; } |
12719 | 8597 |
12720 { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5 | 8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5 |
12721 $as_echo_n "checking GCONF_LIBS... " >&6; } | 8599 $as_echo_n "checking GCONF_LIBS... " >&6; } |
12722 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 8600 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
12723 { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5 | 8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5 |
12724 $as_echo "$GCONF_LIBS" >&6; } | 8602 $as_echo "$GCONF_LIBS" >&6; } |
12725 else | 8603 else |
12726 { $as_echo "$as_me:$LINENO: result: no" >&5 | 8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12727 $as_echo "no" >&6; } | 8605 $as_echo "no" >&6; } |
12728 GCONF_CFLAGS="" | 8606 GCONF_CFLAGS="" |
12729 GCONF_LIBS="" | 8607 GCONF_LIBS="" |
12730 ## If we have a custom action on failure, don't print errors, but | 8608 ## If we have a custom action on failure, don't print errors, but |
12731 ## do set a variable so people can do so. | 8609 ## do set a variable so people can do so. |
12747 HAVE_GCONF=no | 8625 HAVE_GCONF=no |
12748 fi | 8626 fi |
12749 | 8627 |
12750 if test "$HAVE_GCONF" = yes; then | 8628 if test "$HAVE_GCONF" = yes; then |
12751 | 8629 |
12752 cat >>confdefs.h <<\_ACEOF | 8630 $as_echo "#define HAVE_GCONF 1" >>confdefs.h |
12753 #define HAVE_GCONF 1 | |
12754 _ACEOF | |
12755 | 8631 |
12756 fi | 8632 fi |
12757 fi | 8633 fi |
12758 | 8634 |
12759 HAVE_LIBSELINUX=no | 8635 HAVE_LIBSELINUX=no |
12760 LIBSELINUX_LIBS= | 8636 LIBSELINUX_LIBS= |
12761 if test "${with_selinux}" = "yes"; then | 8637 if test "${with_selinux}" = "yes"; then |
12762 { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5 | 8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 |
12763 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } | 8639 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } |
12764 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then | 8640 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : |
12765 $as_echo_n "(cached) " >&6 | 8641 $as_echo_n "(cached) " >&6 |
12766 else | 8642 else |
12767 ac_check_lib_save_LIBS=$LIBS | 8643 ac_check_lib_save_LIBS=$LIBS |
12768 LIBS="-lselinux $LIBS" | 8644 LIBS="-lselinux $LIBS" |
12769 cat >conftest.$ac_ext <<_ACEOF | 8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12770 /* confdefs.h. */ | |
12771 _ACEOF | |
12772 cat confdefs.h >>conftest.$ac_ext | |
12773 cat >>conftest.$ac_ext <<_ACEOF | |
12774 /* end confdefs.h. */ | 8646 /* end confdefs.h. */ |
12775 | 8647 |
12776 /* Override any GCC internal prototype to avoid an error. | 8648 /* Override any GCC internal prototype to avoid an error. |
12777 Use char because int might match the return type of a GCC | 8649 Use char because int might match the return type of a GCC |
12778 builtin and then its argument prototype would still apply. */ | 8650 builtin and then its argument prototype would still apply. */ |
12786 return lgetfilecon (); | 8658 return lgetfilecon (); |
12787 ; | 8659 ; |
12788 return 0; | 8660 return 0; |
12789 } | 8661 } |
12790 _ACEOF | 8662 _ACEOF |
12791 rm -f conftest.$ac_objext conftest$ac_exeext | 8663 if ac_fn_c_try_link "$LINENO"; then : |
12792 if { (ac_try="$ac_link" | |
12793 case "(($ac_try" in | |
12794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12795 *) ac_try_echo=$ac_try;; | |
12796 esac | |
12797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12798 $as_echo "$ac_try_echo") >&5 | |
12799 (eval "$ac_link") 2>conftest.er1 | |
12800 ac_status=$? | |
12801 grep -v '^ *+' conftest.er1 >conftest.err | |
12802 rm -f conftest.er1 | |
12803 cat conftest.err >&5 | |
12804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12805 (exit $ac_status); } && { | |
12806 test -z "$ac_c_werror_flag" || | |
12807 test ! -s conftest.err | |
12808 } && test -s conftest$ac_exeext && { | |
12809 test "$cross_compiling" = yes || | |
12810 $as_test_x conftest$ac_exeext | |
12811 }; then | |
12812 ac_cv_lib_selinux_lgetfilecon=yes | 8664 ac_cv_lib_selinux_lgetfilecon=yes |
12813 else | 8665 else |
12814 $as_echo "$as_me: failed program was:" >&5 | 8666 ac_cv_lib_selinux_lgetfilecon=no |
12815 sed 's/^/| /' conftest.$ac_ext >&5 | 8667 fi |
12816 | 8668 rm -f core conftest.err conftest.$ac_objext \ |
12817 ac_cv_lib_selinux_lgetfilecon=no | 8669 conftest$ac_exeext conftest.$ac_ext |
12818 fi | |
12819 | |
12820 rm -rf conftest.dSYM | |
12821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12822 conftest$ac_exeext conftest.$ac_ext | |
12823 LIBS=$ac_check_lib_save_LIBS | 8670 LIBS=$ac_check_lib_save_LIBS |
12824 fi | 8671 fi |
12825 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5 | 8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 |
12826 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } | 8673 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } |
12827 if test $ac_cv_lib_selinux_lgetfilecon = yes; then | 8674 if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : |
12828 HAVE_LIBSELINUX=yes | 8675 HAVE_LIBSELINUX=yes |
12829 else | 8676 else |
12830 HAVE_LIBSELINUX=no | 8677 HAVE_LIBSELINUX=no |
12831 fi | 8678 fi |
12832 | 8679 |
12833 if test "$HAVE_LIBSELINUX" = yes; then | 8680 if test "$HAVE_LIBSELINUX" = yes; then |
12834 | 8681 |
12835 cat >>confdefs.h <<\_ACEOF | 8682 $as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h |
12836 #define HAVE_LIBSELINUX 1 | |
12837 _ACEOF | |
12838 | 8683 |
12839 LIBSELINUX_LIBS=-lselinux | 8684 LIBSELINUX_LIBS=-lselinux |
12840 fi | 8685 fi |
12841 fi | 8686 fi |
12842 | 8687 |
12843 | 8688 |
12844 HAVE_XAW3D=no | 8689 HAVE_XAW3D=no |
12845 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 8690 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
12846 if test "$with_xaw3d" != no; then | 8691 if test "$with_xaw3d" != no; then |
12847 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 | 8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 |
12848 $as_echo_n "checking for xaw3d... " >&6; } | 8693 $as_echo_n "checking for xaw3d... " >&6; } |
12849 if test "${emacs_cv_xaw3d+set}" = set; then | 8694 if test "${emacs_cv_xaw3d+set}" = set; then : |
12850 $as_echo_n "(cached) " >&6 | 8695 $as_echo_n "(cached) " >&6 |
12851 else | 8696 else |
12852 cat >conftest.$ac_ext <<_ACEOF | 8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12853 /* confdefs.h. */ | |
12854 _ACEOF | |
12855 cat confdefs.h >>conftest.$ac_ext | |
12856 cat >>conftest.$ac_ext <<_ACEOF | |
12857 /* end confdefs.h. */ | 8698 /* end confdefs.h. */ |
12858 | 8699 |
12859 #include <X11/Intrinsic.h> | 8700 #include <X11/Intrinsic.h> |
12860 #include <X11/Xaw3d/Simple.h> | 8701 #include <X11/Xaw3d/Simple.h> |
12861 int | 8702 int |
12864 | 8705 |
12865 ; | 8706 ; |
12866 return 0; | 8707 return 0; |
12867 } | 8708 } |
12868 _ACEOF | 8709 _ACEOF |
12869 rm -f conftest.$ac_objext conftest$ac_exeext | 8710 if ac_fn_c_try_link "$LINENO"; then : |
12870 if { (ac_try="$ac_link" | |
12871 case "(($ac_try" in | |
12872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12873 *) ac_try_echo=$ac_try;; | |
12874 esac | |
12875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12876 $as_echo "$ac_try_echo") >&5 | |
12877 (eval "$ac_link") 2>conftest.er1 | |
12878 ac_status=$? | |
12879 grep -v '^ *+' conftest.er1 >conftest.err | |
12880 rm -f conftest.er1 | |
12881 cat conftest.err >&5 | |
12882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12883 (exit $ac_status); } && { | |
12884 test -z "$ac_c_werror_flag" || | |
12885 test ! -s conftest.err | |
12886 } && test -s conftest$ac_exeext && { | |
12887 test "$cross_compiling" = yes || | |
12888 $as_test_x conftest$ac_exeext | |
12889 }; then | |
12890 emacs_cv_xaw3d=yes | 8711 emacs_cv_xaw3d=yes |
12891 else | 8712 else |
12892 $as_echo "$as_me: failed program was:" >&5 | 8713 emacs_cv_xaw3d=no |
12893 sed 's/^/| /' conftest.$ac_ext >&5 | 8714 fi |
12894 | 8715 rm -f core conftest.err conftest.$ac_objext \ |
12895 emacs_cv_xaw3d=no | 8716 conftest$ac_exeext conftest.$ac_ext |
12896 fi | |
12897 | |
12898 rm -rf conftest.dSYM | |
12899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12900 conftest$ac_exeext conftest.$ac_ext | |
12901 fi | 8717 fi |
12902 | 8718 |
12903 else | 8719 else |
12904 emacs_cv_xaw3d=no | 8720 emacs_cv_xaw3d=no |
12905 fi | 8721 fi |
12906 if test $emacs_cv_xaw3d = yes; then | 8722 if test $emacs_cv_xaw3d = yes; then |
12907 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 | 8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
12908 $as_echo "yes; using Lucid toolkit" >&6; } | 8724 $as_echo "yes; using Lucid toolkit" >&6; } |
12909 USE_X_TOOLKIT=LUCID | 8725 USE_X_TOOLKIT=LUCID |
12910 HAVE_XAW3D=yes | 8726 HAVE_XAW3D=yes |
12911 | 8727 |
12912 cat >>confdefs.h <<\_ACEOF | 8728 $as_echo "#define HAVE_XAW3D 1" >>confdefs.h |
12913 #define HAVE_XAW3D 1 | |
12914 _ACEOF | |
12915 | 8729 |
12916 else | 8730 else |
12917 { $as_echo "$as_me:$LINENO: result: no" >&5 | 8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12918 $as_echo "no" >&6; } | 8732 $as_echo "no" >&6; } |
12919 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 | 8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 |
12920 $as_echo_n "checking for libXaw... " >&6; } | 8734 $as_echo_n "checking for libXaw... " >&6; } |
12921 if test "${emacs_cv_xaw+set}" = set; then | 8735 if test "${emacs_cv_xaw+set}" = set; then : |
12922 $as_echo_n "(cached) " >&6 | 8736 $as_echo_n "(cached) " >&6 |
12923 else | 8737 else |
12924 cat >conftest.$ac_ext <<_ACEOF | 8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12925 /* confdefs.h. */ | |
12926 _ACEOF | |
12927 cat confdefs.h >>conftest.$ac_ext | |
12928 cat >>conftest.$ac_ext <<_ACEOF | |
12929 /* end confdefs.h. */ | 8739 /* end confdefs.h. */ |
12930 | 8740 |
12931 #include <X11/Intrinsic.h> | 8741 #include <X11/Intrinsic.h> |
12932 #include <X11/Xaw/Simple.h> | 8742 #include <X11/Xaw/Simple.h> |
12933 int | 8743 int |
12936 | 8746 |
12937 ; | 8747 ; |
12938 return 0; | 8748 return 0; |
12939 } | 8749 } |
12940 _ACEOF | 8750 _ACEOF |
12941 rm -f conftest.$ac_objext conftest$ac_exeext | 8751 if ac_fn_c_try_link "$LINENO"; then : |
12942 if { (ac_try="$ac_link" | |
12943 case "(($ac_try" in | |
12944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12945 *) ac_try_echo=$ac_try;; | |
12946 esac | |
12947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12948 $as_echo "$ac_try_echo") >&5 | |
12949 (eval "$ac_link") 2>conftest.er1 | |
12950 ac_status=$? | |
12951 grep -v '^ *+' conftest.er1 >conftest.err | |
12952 rm -f conftest.er1 | |
12953 cat conftest.err >&5 | |
12954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12955 (exit $ac_status); } && { | |
12956 test -z "$ac_c_werror_flag" || | |
12957 test ! -s conftest.err | |
12958 } && test -s conftest$ac_exeext && { | |
12959 test "$cross_compiling" = yes || | |
12960 $as_test_x conftest$ac_exeext | |
12961 }; then | |
12962 emacs_cv_xaw=yes | 8752 emacs_cv_xaw=yes |
12963 else | 8753 else |
12964 $as_echo "$as_me: failed program was:" >&5 | 8754 emacs_cv_xaw=no |
12965 sed 's/^/| /' conftest.$ac_ext >&5 | 8755 fi |
12966 | 8756 rm -f core conftest.err conftest.$ac_objext \ |
12967 emacs_cv_xaw=no | 8757 conftest$ac_exeext conftest.$ac_ext |
12968 fi | |
12969 | |
12970 rm -rf conftest.dSYM | |
12971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12972 conftest$ac_exeext conftest.$ac_ext | |
12973 fi | 8758 fi |
12974 | 8759 |
12975 if test $emacs_cv_xaw = yes; then | 8760 if test $emacs_cv_xaw = yes; then |
12976 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 | 8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
12977 $as_echo "yes; using Lucid toolkit" >&6; } | 8762 $as_echo "yes; using Lucid toolkit" >&6; } |
12978 USE_X_TOOLKIT=LUCID | 8763 USE_X_TOOLKIT=LUCID |
12979 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 8764 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
12980 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 | 8765 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 |
12981 $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} | |
12982 { (exit 1); exit 1; }; } | |
12983 else | 8766 else |
12984 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 | 8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 |
12985 $as_echo "no; do not use toolkit by default" >&6; } | 8768 $as_echo "no; do not use toolkit by default" >&6; } |
12986 USE_X_TOOLKIT=none | 8769 USE_X_TOOLKIT=none |
12987 fi | 8770 fi |
12988 fi | 8771 fi |
12989 fi | 8772 fi |
12990 | 8773 |
12991 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 8774 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
12992 | 8775 |
12993 if test "${USE_X_TOOLKIT}" != "none"; then | 8776 if test "${USE_X_TOOLKIT}" != "none"; then |
12994 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 | 8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 |
12995 $as_echo_n "checking X11 toolkit version... " >&6; } | 8778 $as_echo_n "checking X11 toolkit version... " >&6; } |
12996 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then | 8779 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : |
12997 $as_echo_n "(cached) " >&6 | 8780 $as_echo_n "(cached) " >&6 |
12998 else | 8781 else |
12999 cat >conftest.$ac_ext <<_ACEOF | 8782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13000 /* confdefs.h. */ | |
13001 _ACEOF | |
13002 cat confdefs.h >>conftest.$ac_ext | |
13003 cat >>conftest.$ac_ext <<_ACEOF | |
13004 /* end confdefs.h. */ | 8783 /* end confdefs.h. */ |
13005 #include <X11/Intrinsic.h> | 8784 #include <X11/Intrinsic.h> |
13006 int | 8785 int |
13007 main () | 8786 main () |
13008 { | 8787 { |
13012 | 8791 |
13013 ; | 8792 ; |
13014 return 0; | 8793 return 0; |
13015 } | 8794 } |
13016 _ACEOF | 8795 _ACEOF |
13017 rm -f conftest.$ac_objext conftest$ac_exeext | 8796 if ac_fn_c_try_link "$LINENO"; then : |
13018 if { (ac_try="$ac_link" | |
13019 case "(($ac_try" in | |
13020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13021 *) ac_try_echo=$ac_try;; | |
13022 esac | |
13023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13024 $as_echo "$ac_try_echo") >&5 | |
13025 (eval "$ac_link") 2>conftest.er1 | |
13026 ac_status=$? | |
13027 grep -v '^ *+' conftest.er1 >conftest.err | |
13028 rm -f conftest.er1 | |
13029 cat conftest.err >&5 | |
13030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13031 (exit $ac_status); } && { | |
13032 test -z "$ac_c_werror_flag" || | |
13033 test ! -s conftest.err | |
13034 } && test -s conftest$ac_exeext && { | |
13035 test "$cross_compiling" = yes || | |
13036 $as_test_x conftest$ac_exeext | |
13037 }; then | |
13038 emacs_cv_x11_toolkit_version_6=yes | 8797 emacs_cv_x11_toolkit_version_6=yes |
13039 else | 8798 else |
13040 $as_echo "$as_me: failed program was:" >&5 | 8799 emacs_cv_x11_toolkit_version_6=no |
13041 sed 's/^/| /' conftest.$ac_ext >&5 | 8800 fi |
13042 | 8801 rm -f core conftest.err conftest.$ac_objext \ |
13043 emacs_cv_x11_toolkit_version_6=no | 8802 conftest$ac_exeext conftest.$ac_ext |
13044 fi | |
13045 | |
13046 rm -rf conftest.dSYM | |
13047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13048 conftest$ac_exeext conftest.$ac_ext | |
13049 fi | 8803 fi |
13050 | 8804 |
13051 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 8805 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
13052 if test $emacs_cv_x11_toolkit_version_6 = yes; then | 8806 if test $emacs_cv_x11_toolkit_version_6 = yes; then |
13053 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 | 8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 |
13054 $as_echo "6 or newer" >&6; } | 8808 $as_echo "6 or newer" >&6; } |
13055 | 8809 |
13056 cat >>confdefs.h <<\_ACEOF | 8810 $as_echo "#define HAVE_X11XTR6 1" >>confdefs.h |
13057 #define HAVE_X11XTR6 1 | |
13058 _ACEOF | |
13059 | 8811 |
13060 else | 8812 else |
13061 { $as_echo "$as_me:$LINENO: result: before 6" >&5 | 8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 |
13062 $as_echo "before 6" >&6; } | 8814 $as_echo "before 6" >&6; } |
13063 fi | 8815 fi |
13064 | 8816 |
13065 OLDLIBS="$LIBS" | 8817 OLDLIBS="$LIBS" |
13066 if test x$HAVE_X11XTR6 = xyes; then | 8818 if test x$HAVE_X11XTR6 = xyes; then |
13067 LIBS="-lXt -lSM -lICE $LIBS" | 8819 LIBS="-lXt -lSM -lICE $LIBS" |
13068 else | 8820 else |
13069 LIBS="-lXt $LIBS" | 8821 LIBS="-lXt $LIBS" |
13070 fi | 8822 fi |
13071 | 8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 |
13072 { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | |
13073 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } | 8824 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } |
13074 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then | 8825 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : |
13075 $as_echo_n "(cached) " >&6 | 8826 $as_echo_n "(cached) " >&6 |
13076 else | 8827 else |
13077 ac_check_lib_save_LIBS=$LIBS | 8828 ac_check_lib_save_LIBS=$LIBS |
13078 LIBS="-lXmu $LIBS" | 8829 LIBS="-lXmu $LIBS" |
13079 cat >conftest.$ac_ext <<_ACEOF | 8830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13080 /* confdefs.h. */ | |
13081 _ACEOF | |
13082 cat confdefs.h >>conftest.$ac_ext | |
13083 cat >>conftest.$ac_ext <<_ACEOF | |
13084 /* end confdefs.h. */ | 8831 /* end confdefs.h. */ |
13085 | 8832 |
13086 /* Override any GCC internal prototype to avoid an error. | 8833 /* Override any GCC internal prototype to avoid an error. |
13087 Use char because int might match the return type of a GCC | 8834 Use char because int might match the return type of a GCC |
13088 builtin and then its argument prototype would still apply. */ | 8835 builtin and then its argument prototype would still apply. */ |
13096 return XmuConvertStandardSelection (); | 8843 return XmuConvertStandardSelection (); |
13097 ; | 8844 ; |
13098 return 0; | 8845 return 0; |
13099 } | 8846 } |
13100 _ACEOF | 8847 _ACEOF |
13101 rm -f conftest.$ac_objext conftest$ac_exeext | 8848 if ac_fn_c_try_link "$LINENO"; then : |
13102 if { (ac_try="$ac_link" | |
13103 case "(($ac_try" in | |
13104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13105 *) ac_try_echo=$ac_try;; | |
13106 esac | |
13107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13108 $as_echo "$ac_try_echo") >&5 | |
13109 (eval "$ac_link") 2>conftest.er1 | |
13110 ac_status=$? | |
13111 grep -v '^ *+' conftest.er1 >conftest.err | |
13112 rm -f conftest.er1 | |
13113 cat conftest.err >&5 | |
13114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13115 (exit $ac_status); } && { | |
13116 test -z "$ac_c_werror_flag" || | |
13117 test ! -s conftest.err | |
13118 } && test -s conftest$ac_exeext && { | |
13119 test "$cross_compiling" = yes || | |
13120 $as_test_x conftest$ac_exeext | |
13121 }; then | |
13122 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 8849 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
13123 else | 8850 else |
13124 $as_echo "$as_me: failed program was:" >&5 | 8851 ac_cv_lib_Xmu_XmuConvertStandardSelection=no |
13125 sed 's/^/| /' conftest.$ac_ext >&5 | 8852 fi |
13126 | 8853 rm -f core conftest.err conftest.$ac_objext \ |
13127 ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 8854 conftest$ac_exeext conftest.$ac_ext |
13128 fi | |
13129 | |
13130 rm -rf conftest.dSYM | |
13131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13132 conftest$ac_exeext conftest.$ac_ext | |
13133 LIBS=$ac_check_lib_save_LIBS | 8855 LIBS=$ac_check_lib_save_LIBS |
13134 fi | 8856 fi |
13135 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
13136 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } | 8858 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
13137 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then | 8859 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : |
13138 cat >>confdefs.h <<_ACEOF | 8860 cat >>confdefs.h <<_ACEOF |
13139 #define HAVE_LIBXMU 1 | 8861 #define HAVE_LIBXMU 1 |
13140 _ACEOF | 8862 _ACEOF |
13141 | 8863 |
13142 LIBS="-lXmu $LIBS" | 8864 LIBS="-lXmu $LIBS" |
13147 fi | 8869 fi |
13148 | 8870 |
13149 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 8871 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
13150 if test "${HAVE_X11}" = "yes"; then | 8872 if test "${HAVE_X11}" = "yes"; then |
13151 if test "${USE_X_TOOLKIT}" != "none"; then | 8873 if test "${USE_X_TOOLKIT}" != "none"; then |
13152 | 8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 |
13153 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | |
13154 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } | 8875 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
13155 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then | 8876 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : |
13156 $as_echo_n "(cached) " >&6 | 8877 $as_echo_n "(cached) " >&6 |
13157 else | 8878 else |
13158 ac_check_lib_save_LIBS=$LIBS | 8879 ac_check_lib_save_LIBS=$LIBS |
13159 LIBS="-lXext $LIBS" | 8880 LIBS="-lXext $LIBS" |
13160 cat >conftest.$ac_ext <<_ACEOF | 8881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13161 /* confdefs.h. */ | |
13162 _ACEOF | |
13163 cat confdefs.h >>conftest.$ac_ext | |
13164 cat >>conftest.$ac_ext <<_ACEOF | |
13165 /* end confdefs.h. */ | 8882 /* end confdefs.h. */ |
13166 | 8883 |
13167 /* Override any GCC internal prototype to avoid an error. | 8884 /* Override any GCC internal prototype to avoid an error. |
13168 Use char because int might match the return type of a GCC | 8885 Use char because int might match the return type of a GCC |
13169 builtin and then its argument prototype would still apply. */ | 8886 builtin and then its argument prototype would still apply. */ |
13177 return XShapeQueryExtension (); | 8894 return XShapeQueryExtension (); |
13178 ; | 8895 ; |
13179 return 0; | 8896 return 0; |
13180 } | 8897 } |
13181 _ACEOF | 8898 _ACEOF |
13182 rm -f conftest.$ac_objext conftest$ac_exeext | 8899 if ac_fn_c_try_link "$LINENO"; then : |
13183 if { (ac_try="$ac_link" | |
13184 case "(($ac_try" in | |
13185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13186 *) ac_try_echo=$ac_try;; | |
13187 esac | |
13188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13189 $as_echo "$ac_try_echo") >&5 | |
13190 (eval "$ac_link") 2>conftest.er1 | |
13191 ac_status=$? | |
13192 grep -v '^ *+' conftest.er1 >conftest.err | |
13193 rm -f conftest.er1 | |
13194 cat conftest.err >&5 | |
13195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13196 (exit $ac_status); } && { | |
13197 test -z "$ac_c_werror_flag" || | |
13198 test ! -s conftest.err | |
13199 } && test -s conftest$ac_exeext && { | |
13200 test "$cross_compiling" = yes || | |
13201 $as_test_x conftest$ac_exeext | |
13202 }; then | |
13203 ac_cv_lib_Xext_XShapeQueryExtension=yes | 8900 ac_cv_lib_Xext_XShapeQueryExtension=yes |
13204 else | 8901 else |
13205 $as_echo "$as_me: failed program was:" >&5 | 8902 ac_cv_lib_Xext_XShapeQueryExtension=no |
13206 sed 's/^/| /' conftest.$ac_ext >&5 | 8903 fi |
13207 | 8904 rm -f core conftest.err conftest.$ac_objext \ |
13208 ac_cv_lib_Xext_XShapeQueryExtension=no | 8905 conftest$ac_exeext conftest.$ac_ext |
13209 fi | |
13210 | |
13211 rm -rf conftest.dSYM | |
13212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13213 conftest$ac_exeext conftest.$ac_ext | |
13214 LIBS=$ac_check_lib_save_LIBS | 8906 LIBS=$ac_check_lib_save_LIBS |
13215 fi | 8907 fi |
13216 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
13217 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | 8909 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
13218 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then | 8910 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : |
13219 cat >>confdefs.h <<_ACEOF | 8911 cat >>confdefs.h <<_ACEOF |
13220 #define HAVE_LIBXEXT 1 | 8912 #define HAVE_LIBXEXT 1 |
13221 _ACEOF | 8913 _ACEOF |
13222 | 8914 |
13223 LIBS="-lXext $LIBS" | 8915 LIBS="-lXext $LIBS" |
13226 | 8918 |
13227 fi | 8919 fi |
13228 fi | 8920 fi |
13229 | 8921 |
13230 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 8922 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
13231 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 | 8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 |
13232 $as_echo_n "checking for Motif version 2.1... " >&6; } | 8924 $as_echo_n "checking for Motif version 2.1... " >&6; } |
13233 if test "${emacs_cv_motif_version_2_1+set}" = set; then | 8925 if test "${emacs_cv_motif_version_2_1+set}" = set; then : |
13234 $as_echo_n "(cached) " >&6 | 8926 $as_echo_n "(cached) " >&6 |
13235 else | 8927 else |
13236 cat >conftest.$ac_ext <<_ACEOF | 8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13237 /* confdefs.h. */ | |
13238 _ACEOF | |
13239 cat confdefs.h >>conftest.$ac_ext | |
13240 cat >>conftest.$ac_ext <<_ACEOF | |
13241 /* end confdefs.h. */ | 8929 /* end confdefs.h. */ |
13242 #include <Xm/Xm.h> | 8930 #include <Xm/Xm.h> |
13243 int | 8931 int |
13244 main () | 8932 main () |
13245 { | 8933 { |
13250 #endif | 8938 #endif |
13251 ; | 8939 ; |
13252 return 0; | 8940 return 0; |
13253 } | 8941 } |
13254 _ACEOF | 8942 _ACEOF |
13255 rm -f conftest.$ac_objext | 8943 if ac_fn_c_try_compile "$LINENO"; then : |
13256 if { (ac_try="$ac_compile" | |
13257 case "(($ac_try" in | |
13258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13259 *) ac_try_echo=$ac_try;; | |
13260 esac | |
13261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13262 $as_echo "$ac_try_echo") >&5 | |
13263 (eval "$ac_compile") 2>conftest.er1 | |
13264 ac_status=$? | |
13265 grep -v '^ *+' conftest.er1 >conftest.err | |
13266 rm -f conftest.er1 | |
13267 cat conftest.err >&5 | |
13268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13269 (exit $ac_status); } && { | |
13270 test -z "$ac_c_werror_flag" || | |
13271 test ! -s conftest.err | |
13272 } && test -s conftest.$ac_objext; then | |
13273 emacs_cv_motif_version_2_1=yes | 8944 emacs_cv_motif_version_2_1=yes |
13274 else | 8945 else |
13275 $as_echo "$as_me: failed program was:" >&5 | 8946 emacs_cv_motif_version_2_1=no |
13276 sed 's/^/| /' conftest.$ac_ext >&5 | 8947 fi |
13277 | |
13278 emacs_cv_motif_version_2_1=no | |
13279 fi | |
13280 | |
13281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13282 fi | 8949 fi |
13283 { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 | 8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 |
13284 $as_echo "$emacs_cv_motif_version_2_1" >&6; } | 8951 $as_echo "$emacs_cv_motif_version_2_1" >&6; } |
13285 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 8952 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
13286 if test $emacs_cv_motif_version_2_1 = yes; then | 8953 if test $emacs_cv_motif_version_2_1 = yes; then |
13287 HAVE_LIBXP=no | 8954 HAVE_LIBXP=no |
13288 | 8955 |
13289 cat >>confdefs.h <<\_ACEOF | 8956 $as_echo "#define HAVE_MOTIF_2_1 1" >>confdefs.h |
13290 #define HAVE_MOTIF_2_1 1 | 8957 |
13291 _ACEOF | 8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 |
13292 | |
13293 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 | |
13294 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } | 8959 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } |
13295 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then | 8960 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : |
13296 $as_echo_n "(cached) " >&6 | 8961 $as_echo_n "(cached) " >&6 |
13297 else | 8962 else |
13298 ac_check_lib_save_LIBS=$LIBS | 8963 ac_check_lib_save_LIBS=$LIBS |
13299 LIBS="-lXp $LIBS" | 8964 LIBS="-lXp $LIBS" |
13300 cat >conftest.$ac_ext <<_ACEOF | 8965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13301 /* confdefs.h. */ | |
13302 _ACEOF | |
13303 cat confdefs.h >>conftest.$ac_ext | |
13304 cat >>conftest.$ac_ext <<_ACEOF | |
13305 /* end confdefs.h. */ | 8966 /* end confdefs.h. */ |
13306 | 8967 |
13307 /* Override any GCC internal prototype to avoid an error. | 8968 /* Override any GCC internal prototype to avoid an error. |
13308 Use char because int might match the return type of a GCC | 8969 Use char because int might match the return type of a GCC |
13309 builtin and then its argument prototype would still apply. */ | 8970 builtin and then its argument prototype would still apply. */ |
13317 return XpCreateContext (); | 8978 return XpCreateContext (); |
13318 ; | 8979 ; |
13319 return 0; | 8980 return 0; |
13320 } | 8981 } |
13321 _ACEOF | 8982 _ACEOF |
13322 rm -f conftest.$ac_objext conftest$ac_exeext | 8983 if ac_fn_c_try_link "$LINENO"; then : |
13323 if { (ac_try="$ac_link" | |
13324 case "(($ac_try" in | |
13325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13326 *) ac_try_echo=$ac_try;; | |
13327 esac | |
13328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13329 $as_echo "$ac_try_echo") >&5 | |
13330 (eval "$ac_link") 2>conftest.er1 | |
13331 ac_status=$? | |
13332 grep -v '^ *+' conftest.er1 >conftest.err | |
13333 rm -f conftest.er1 | |
13334 cat conftest.err >&5 | |
13335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13336 (exit $ac_status); } && { | |
13337 test -z "$ac_c_werror_flag" || | |
13338 test ! -s conftest.err | |
13339 } && test -s conftest$ac_exeext && { | |
13340 test "$cross_compiling" = yes || | |
13341 $as_test_x conftest$ac_exeext | |
13342 }; then | |
13343 ac_cv_lib_Xp_XpCreateContext=yes | 8984 ac_cv_lib_Xp_XpCreateContext=yes |
13344 else | 8985 else |
13345 $as_echo "$as_me: failed program was:" >&5 | 8986 ac_cv_lib_Xp_XpCreateContext=no |
13346 sed 's/^/| /' conftest.$ac_ext >&5 | 8987 fi |
13347 | 8988 rm -f core conftest.err conftest.$ac_objext \ |
13348 ac_cv_lib_Xp_XpCreateContext=no | 8989 conftest$ac_exeext conftest.$ac_ext |
13349 fi | |
13350 | |
13351 rm -rf conftest.dSYM | |
13352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13353 conftest$ac_exeext conftest.$ac_ext | |
13354 LIBS=$ac_check_lib_save_LIBS | 8990 LIBS=$ac_check_lib_save_LIBS |
13355 fi | 8991 fi |
13356 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
13357 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } | 8993 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } |
13358 if test $ac_cv_lib_Xp_XpCreateContext = yes; then | 8994 if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : |
13359 HAVE_LIBXP=yes | 8995 HAVE_LIBXP=yes |
13360 fi | 8996 fi |
13361 | 8997 |
13362 if test ${HAVE_LIBXP} = yes; then | 8998 if test ${HAVE_LIBXP} = yes; then |
13363 | 8999 |
13364 cat >>confdefs.h <<\_ACEOF | 9000 $as_echo "#define HAVE_LIBXP 1" >>confdefs.h |
13365 #define HAVE_LIBXP 1 | |
13366 _ACEOF | |
13367 | 9001 |
13368 fi | 9002 fi |
13369 else | 9003 else |
13370 { $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 |
13371 $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; } |
13372 if test "${emacs_cv_lesstif+set}" = set; then | 9006 if test "${emacs_cv_lesstif+set}" = set; then : |
13373 $as_echo_n "(cached) " >&6 | 9007 $as_echo_n "(cached) " >&6 |
13374 else | 9008 else |
13375 # We put this in CFLAGS temporarily to precede other -I options | 9009 # We put this in CFLAGS temporarily to precede other -I options |
13376 # that might be in CFLAGS temporarily. | 9010 # that might be in CFLAGS temporarily. |
13377 # We put this in CPPFLAGS where it precedes the other -I options. | 9011 # We put this in CPPFLAGS where it precedes the other -I options. |
13378 OLD_CPPFLAGS=$CPPFLAGS | 9012 OLD_CPPFLAGS=$CPPFLAGS |
13379 OLD_CFLAGS=$CFLAGS | 9013 OLD_CFLAGS=$CFLAGS |
13380 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" | 9014 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" |
13381 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" | 9015 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" |
13382 cat >conftest.$ac_ext <<_ACEOF | 9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13383 /* confdefs.h. */ | |
13384 _ACEOF | |
13385 cat confdefs.h >>conftest.$ac_ext | |
13386 cat >>conftest.$ac_ext <<_ACEOF | |
13387 /* end confdefs.h. */ | 9017 /* end confdefs.h. */ |
13388 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> | 9018 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> |
13389 int | 9019 int |
13390 main () | 9020 main () |
13391 { | 9021 { |
13392 int x = 5; | 9022 int x = 5; |
13393 ; | 9023 ; |
13394 return 0; | 9024 return 0; |
13395 } | 9025 } |
13396 _ACEOF | 9026 _ACEOF |
13397 rm -f conftest.$ac_objext | 9027 if ac_fn_c_try_compile "$LINENO"; then : |
13398 if { (ac_try="$ac_compile" | |
13399 case "(($ac_try" in | |
13400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13401 *) ac_try_echo=$ac_try;; | |
13402 esac | |
13403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13404 $as_echo "$ac_try_echo") >&5 | |
13405 (eval "$ac_compile") 2>conftest.er1 | |
13406 ac_status=$? | |
13407 grep -v '^ *+' conftest.er1 >conftest.err | |
13408 rm -f conftest.er1 | |
13409 cat conftest.err >&5 | |
13410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13411 (exit $ac_status); } && { | |
13412 test -z "$ac_c_werror_flag" || | |
13413 test ! -s conftest.err | |
13414 } && test -s conftest.$ac_objext; then | |
13415 emacs_cv_lesstif=yes | 9028 emacs_cv_lesstif=yes |
13416 else | 9029 else |
13417 $as_echo "$as_me: failed program was:" >&5 | 9030 emacs_cv_lesstif=no |
13418 sed 's/^/| /' conftest.$ac_ext >&5 | 9031 fi |
13419 | |
13420 emacs_cv_lesstif=no | |
13421 fi | |
13422 | |
13423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13424 fi | 9033 fi |
13425 { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 | 9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5 |
13426 $as_echo "$emacs_cv_lesstif" >&6; } | 9035 $as_echo "$emacs_cv_lesstif" >&6; } |
13427 if test $emacs_cv_lesstif = yes; then | 9036 if test $emacs_cv_lesstif = yes; then |
13428 # 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 |
13429 # back to REAL_CPPFLAGS. | 9038 # back to REAL_CPPFLAGS. |
13430 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not | 9039 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not |
13438 fi | 9047 fi |
13439 fi | 9048 fi |
13440 fi | 9049 fi |
13441 | 9050 |
13442 | 9051 |
13443 | |
13444 USE_TOOLKIT_SCROLL_BARS=no | 9052 USE_TOOLKIT_SCROLL_BARS=no |
13445 if test "${with_toolkit_scroll_bars}" != "no"; then | 9053 if test "${with_toolkit_scroll_bars}" != "no"; then |
13446 if test "${USE_X_TOOLKIT}" != "none"; then | 9054 if test "${USE_X_TOOLKIT}" != "none"; then |
13447 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 9055 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
13448 cat >>confdefs.h <<\_ACEOF | 9056 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h |
13449 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13450 _ACEOF | |
13451 | 9057 |
13452 HAVE_XAW3D=no | 9058 HAVE_XAW3D=no |
13453 USE_TOOLKIT_SCROLL_BARS=yes | 9059 USE_TOOLKIT_SCROLL_BARS=yes |
13454 elif test "${HAVE_XAW3D}" = "yes"; then | 9060 elif test "${HAVE_XAW3D}" = "yes"; then |
13455 cat >>confdefs.h <<\_ACEOF | 9061 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h |
13456 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13457 _ACEOF | |
13458 | 9062 |
13459 USE_TOOLKIT_SCROLL_BARS=yes | 9063 USE_TOOLKIT_SCROLL_BARS=yes |
13460 fi | 9064 fi |
13461 elif test "${HAVE_GTK}" = "yes"; then | 9065 elif test "${HAVE_GTK}" = "yes"; then |
13462 cat >>confdefs.h <<\_ACEOF | 9066 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h |
13463 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13464 _ACEOF | |
13465 | 9067 |
13466 USE_TOOLKIT_SCROLL_BARS=yes | 9068 USE_TOOLKIT_SCROLL_BARS=yes |
13467 elif test "${HAVE_NS}" = "yes"; then | 9069 elif test "${HAVE_NS}" = "yes"; then |
13468 cat >>confdefs.h <<\_ACEOF | 9070 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h |
13469 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13470 _ACEOF | |
13471 | 9071 |
13472 USE_TOOLKIT_SCROLL_BARS=yes | 9072 USE_TOOLKIT_SCROLL_BARS=yes |
13473 fi | 9073 fi |
13474 fi | 9074 fi |
13475 | 9075 |
13476 cat >conftest.$ac_ext <<_ACEOF | 9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13477 /* confdefs.h. */ | |
13478 _ACEOF | |
13479 cat confdefs.h >>conftest.$ac_ext | |
13480 cat >>conftest.$ac_ext <<_ACEOF | |
13481 /* end confdefs.h. */ | 9077 /* end confdefs.h. */ |
13482 | 9078 |
13483 #include <X11/Xlib.h> | 9079 #include <X11/Xlib.h> |
13484 #include <X11/Xresource.h> | 9080 #include <X11/Xresource.h> |
13485 int | 9081 int |
13488 XIMProc callback; | 9084 XIMProc callback; |
13489 ; | 9085 ; |
13490 return 0; | 9086 return 0; |
13491 } | 9087 } |
13492 _ACEOF | 9088 _ACEOF |
13493 rm -f conftest.$ac_objext | 9089 if ac_fn_c_try_compile "$LINENO"; then : |
13494 if { (ac_try="$ac_compile" | |
13495 case "(($ac_try" in | |
13496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13497 *) ac_try_echo=$ac_try;; | |
13498 esac | |
13499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13500 $as_echo "$ac_try_echo") >&5 | |
13501 (eval "$ac_compile") 2>conftest.er1 | |
13502 ac_status=$? | |
13503 grep -v '^ *+' conftest.er1 >conftest.err | |
13504 rm -f conftest.er1 | |
13505 cat conftest.err >&5 | |
13506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13507 (exit $ac_status); } && { | |
13508 test -z "$ac_c_werror_flag" || | |
13509 test ! -s conftest.err | |
13510 } && test -s conftest.$ac_objext; then | |
13511 HAVE_XIM=yes | 9090 HAVE_XIM=yes |
13512 | 9091 |
13513 cat >>confdefs.h <<\_ACEOF | 9092 $as_echo "#define HAVE_XIM 1" >>confdefs.h |
13514 #define HAVE_XIM 1 | 9093 |
13515 _ACEOF | 9094 else |
13516 | 9095 HAVE_XIM=no |
13517 else | 9096 fi |
13518 $as_echo "$as_me: failed program was:" >&5 | |
13519 sed 's/^/| /' conftest.$ac_ext >&5 | |
13520 | |
13521 HAVE_XIM=no | |
13522 fi | |
13523 | |
13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13525 | 9098 |
13526 | 9099 |
13527 if test "${with_xim}" != "no"; then | 9100 if test "${with_xim}" != "no"; then |
13528 | 9101 |
13529 cat >>confdefs.h <<\_ACEOF | 9102 $as_echo "#define USE_XIM 1" >>confdefs.h |
13530 #define USE_XIM 1 | |
13531 _ACEOF | |
13532 | 9103 |
13533 fi | 9104 fi |
13534 | 9105 |
13535 | 9106 |
13536 if test "${HAVE_XIM}" != "no"; then | 9107 if test "${HAVE_XIM}" != "no"; then |
13537 late_CFLAGS=$CFLAGS | 9108 late_CFLAGS=$CFLAGS |
13538 if test "$GCC" = yes; then | 9109 if test "$GCC" = yes; then |
13539 CFLAGS="$CFLAGS --pedantic-errors" | 9110 CFLAGS="$CFLAGS --pedantic-errors" |
13540 fi | 9111 fi |
13541 cat >conftest.$ac_ext <<_ACEOF | 9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13542 /* confdefs.h. */ | |
13543 _ACEOF | |
13544 cat confdefs.h >>conftest.$ac_ext | |
13545 cat >>conftest.$ac_ext <<_ACEOF | |
13546 /* end confdefs.h. */ | 9113 /* end confdefs.h. */ |
13547 | 9114 |
13548 #include <X11/Xlib.h> | 9115 #include <X11/Xlib.h> |
13549 #include <X11/Xresource.h> | 9116 #include <X11/Xresource.h> |
13550 int | 9117 int |
13566 client_data); | 9133 client_data); |
13567 ; | 9134 ; |
13568 return 0; | 9135 return 0; |
13569 } | 9136 } |
13570 _ACEOF | 9137 _ACEOF |
13571 rm -f conftest.$ac_objext | 9138 if ac_fn_c_try_compile "$LINENO"; then : |
13572 if { (ac_try="$ac_compile" | |
13573 case "(($ac_try" in | |
13574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13575 *) ac_try_echo=$ac_try;; | |
13576 esac | |
13577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13578 $as_echo "$ac_try_echo") >&5 | |
13579 (eval "$ac_compile") 2>conftest.er1 | |
13580 ac_status=$? | |
13581 grep -v '^ *+' conftest.er1 >conftest.err | |
13582 rm -f conftest.er1 | |
13583 cat conftest.err >&5 | |
13584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13585 (exit $ac_status); } && { | |
13586 test -z "$ac_c_werror_flag" || | |
13587 test ! -s conftest.err | |
13588 } && test -s conftest.$ac_objext; then | |
13589 emacs_cv_arg6_star=yes | 9139 emacs_cv_arg6_star=yes |
13590 else | 9140 fi |
13591 $as_echo "$as_me: failed program was:" >&5 | |
13592 sed 's/^/| /' conftest.$ac_ext >&5 | |
13593 | |
13594 | |
13595 fi | |
13596 | |
13597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13598 | 9142 if test "$emacs_cv_arg6_star" = yes; then |
13599 if test "$emacs_cv_arg6_star" = yes; then | 9143 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h |
13600 cat >>confdefs.h <<\_ACEOF | |
13601 #define XRegisterIMInstantiateCallback_arg6 XPointer* | |
13602 _ACEOF | |
13603 | 9144 |
13604 else | 9145 else |
13605 cat >>confdefs.h <<\_ACEOF | 9146 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h |
13606 #define XRegisterIMInstantiateCallback_arg6 XPointer | |
13607 _ACEOF | |
13608 | 9147 |
13609 fi | 9148 fi |
13610 CFLAGS=$late_CFLAGS | 9149 CFLAGS=$late_CFLAGS |
13611 fi | 9150 fi |
13612 | 9151 |
13619 | 9158 |
13620 succeeded=no | 9159 succeeded=no |
13621 | 9160 |
13622 # Extract the first word of "pkg-config", so it can be a program name with args. | 9161 # Extract the first word of "pkg-config", so it can be a program name with args. |
13623 set dummy pkg-config; ac_word=$2 | 9162 set dummy pkg-config; ac_word=$2 |
13624 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
13625 $as_echo_n "checking for $ac_word... " >&6; } | 9164 $as_echo_n "checking for $ac_word... " >&6; } |
13626 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 9165 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
13627 $as_echo_n "(cached) " >&6 | 9166 $as_echo_n "(cached) " >&6 |
13628 else | 9167 else |
13629 case $PKG_CONFIG in | 9168 case $PKG_CONFIG in |
13630 [\\/]* | ?:[\\/]*) | 9169 [\\/]* | ?:[\\/]*) |
13631 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 9170 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
13634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13635 for as_dir in $PATH | 9174 for as_dir in $PATH |
13636 do | 9175 do |
13637 IFS=$as_save_IFS | 9176 IFS=$as_save_IFS |
13638 test -z "$as_dir" && as_dir=. | 9177 test -z "$as_dir" && as_dir=. |
13639 for ac_exec_ext in '' $ac_executable_extensions; do | 9178 for ac_exec_ext in '' $ac_executable_extensions; do |
13640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13641 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 9180 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
13642 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13643 break 2 | 9182 break 2 |
13644 fi | 9183 fi |
13645 done | 9184 done |
13646 done | 9185 done |
13647 IFS=$as_save_IFS | 9186 IFS=$as_save_IFS |
13648 | 9187 |
13649 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 9188 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
13650 ;; | 9189 ;; |
13651 esac | 9190 esac |
13652 fi | 9191 fi |
13653 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 9192 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
13654 if test -n "$PKG_CONFIG"; then | 9193 if test -n "$PKG_CONFIG"; then |
13655 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
13656 $as_echo "$PKG_CONFIG" >&6; } | 9195 $as_echo "$PKG_CONFIG" >&6; } |
13657 else | 9196 else |
13658 { $as_echo "$as_me:$LINENO: result: no" >&5 | 9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13659 $as_echo "no" >&6; } | 9198 $as_echo "no" >&6; } |
13660 fi | 9199 fi |
13661 | 9200 |
13662 | 9201 |
13663 | 9202 |
13664 if test "$PKG_CONFIG" = "no" ; then | 9203 if test "$PKG_CONFIG" = "no" ; then |
13665 HAVE_FC=no | 9204 HAVE_FC=no |
13666 else | 9205 else |
13667 PKG_CONFIG_MIN_VERSION=0.9.0 | 9206 PKG_CONFIG_MIN_VERSION=0.9.0 |
13668 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 9207 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
13669 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 | 9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 |
13670 $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } | 9209 $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } |
13671 | 9210 |
13672 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then | 9211 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then |
13673 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13674 $as_echo "yes" >&6; } | 9213 $as_echo "yes" >&6; } |
13675 succeeded=yes | 9214 succeeded=yes |
13676 | 9215 |
13677 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 | 9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5 |
13678 $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } | 9217 $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } |
13679 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 9218 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
13680 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 | 9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5 |
13681 $as_echo "$FONTCONFIG_CFLAGS" >&6; } | 9220 $as_echo "$FONTCONFIG_CFLAGS" >&6; } |
13682 | 9221 |
13683 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 | 9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5 |
13684 $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } | 9223 $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } |
13685 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 9224 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
13686 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 | 9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5 |
13687 $as_echo "$FONTCONFIG_LIBS" >&6; } | 9226 $as_echo "$FONTCONFIG_LIBS" >&6; } |
13688 else | 9227 else |
13689 { $as_echo "$as_me:$LINENO: result: no" >&5 | 9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13690 $as_echo "no" >&6; } | 9229 $as_echo "no" >&6; } |
13691 FONTCONFIG_CFLAGS="" | 9230 FONTCONFIG_CFLAGS="" |
13692 FONTCONFIG_LIBS="" | 9231 FONTCONFIG_LIBS="" |
13693 ## If we have a custom action on failure, don't print errors, but | 9232 ## If we have a custom action on failure, don't print errors, but |
13694 ## do set a variable so people can do so. | 9233 ## do set a variable so people can do so. |
13721 | 9260 |
13722 succeeded=no | 9261 succeeded=no |
13723 | 9262 |
13724 # Extract the first word of "pkg-config", so it can be a program name with args. | 9263 # Extract the first word of "pkg-config", so it can be a program name with args. |
13725 set dummy pkg-config; ac_word=$2 | 9264 set dummy pkg-config; ac_word=$2 |
13726 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
13727 $as_echo_n "checking for $ac_word... " >&6; } | 9266 $as_echo_n "checking for $ac_word... " >&6; } |
13728 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 9267 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
13729 $as_echo_n "(cached) " >&6 | 9268 $as_echo_n "(cached) " >&6 |
13730 else | 9269 else |
13731 case $PKG_CONFIG in | 9270 case $PKG_CONFIG in |
13732 [\\/]* | ?:[\\/]*) | 9271 [\\/]* | ?:[\\/]*) |
13733 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 9272 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
13736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13737 for as_dir in $PATH | 9276 for as_dir in $PATH |
13738 do | 9277 do |
13739 IFS=$as_save_IFS | 9278 IFS=$as_save_IFS |
13740 test -z "$as_dir" && as_dir=. | 9279 test -z "$as_dir" && as_dir=. |
13741 for ac_exec_ext in '' $ac_executable_extensions; do | 9280 for ac_exec_ext in '' $ac_executable_extensions; do |
13742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13743 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 9282 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
13744 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13745 break 2 | 9284 break 2 |
13746 fi | 9285 fi |
13747 done | 9286 done |
13748 done | 9287 done |
13749 IFS=$as_save_IFS | 9288 IFS=$as_save_IFS |
13750 | 9289 |
13751 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 9290 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
13752 ;; | 9291 ;; |
13753 esac | 9292 esac |
13754 fi | 9293 fi |
13755 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 9294 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
13756 if test -n "$PKG_CONFIG"; then | 9295 if test -n "$PKG_CONFIG"; then |
13757 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
13758 $as_echo "$PKG_CONFIG" >&6; } | 9297 $as_echo "$PKG_CONFIG" >&6; } |
13759 else | 9298 else |
13760 { $as_echo "$as_me:$LINENO: result: no" >&5 | 9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13761 $as_echo "no" >&6; } | 9300 $as_echo "no" >&6; } |
13762 fi | 9301 fi |
13763 | 9302 |
13764 | 9303 |
13765 | 9304 |
13766 if test "$PKG_CONFIG" = "no" ; then | 9305 if test "$PKG_CONFIG" = "no" ; then |
13767 HAVE_XFT=no | 9306 HAVE_XFT=no |
13768 else | 9307 else |
13769 PKG_CONFIG_MIN_VERSION=0.9.0 | 9308 PKG_CONFIG_MIN_VERSION=0.9.0 |
13770 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 9309 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
13771 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 | 9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 |
13772 $as_echo_n "checking for xft >= 0.13.0... " >&6; } | 9311 $as_echo_n "checking for xft >= 0.13.0... " >&6; } |
13773 | 9312 |
13774 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then | 9313 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then |
13775 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13776 $as_echo "yes" >&6; } | 9315 $as_echo "yes" >&6; } |
13777 succeeded=yes | 9316 succeeded=yes |
13778 | 9317 |
13779 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 | 9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5 |
13780 $as_echo_n "checking XFT_CFLAGS... " >&6; } | 9319 $as_echo_n "checking XFT_CFLAGS... " >&6; } |
13781 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 9320 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
13782 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 | 9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5 |
13783 $as_echo "$XFT_CFLAGS" >&6; } | 9322 $as_echo "$XFT_CFLAGS" >&6; } |
13784 | 9323 |
13785 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 | 9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5 |
13786 $as_echo_n "checking XFT_LIBS... " >&6; } | 9325 $as_echo_n "checking XFT_LIBS... " >&6; } |
13787 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 9326 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
13788 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 | 9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5 |
13789 $as_echo "$XFT_LIBS" >&6; } | 9328 $as_echo "$XFT_LIBS" >&6; } |
13790 else | 9329 else |
13791 { $as_echo "$as_me:$LINENO: result: no" >&5 | 9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13792 $as_echo "no" >&6; } | 9331 $as_echo "no" >&6; } |
13793 XFT_CFLAGS="" | 9332 XFT_CFLAGS="" |
13794 XFT_LIBS="" | 9333 XFT_LIBS="" |
13795 ## If we have a custom action on failure, don't print errors, but | 9334 ## If we have a custom action on failure, don't print errors, but |
13796 ## do set a variable so people can do so. | 9335 ## do set a variable so people can do so. |
13813 fi | 9352 fi |
13814 | 9353 |
13815 ## Because xftfont.c uses XRenderQueryExtension, we also | 9354 ## Because xftfont.c uses XRenderQueryExtension, we also |
13816 ## need to link to -lXrender. | 9355 ## need to link to -lXrender. |
13817 HAVE_XRENDER=no | 9356 HAVE_XRENDER=no |
13818 { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 | 9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 |
13819 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } | 9358 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } |
13820 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then | 9359 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : |
13821 $as_echo_n "(cached) " >&6 | 9360 $as_echo_n "(cached) " >&6 |
13822 else | 9361 else |
13823 ac_check_lib_save_LIBS=$LIBS | 9362 ac_check_lib_save_LIBS=$LIBS |
13824 LIBS="-lXrender $LIBS" | 9363 LIBS="-lXrender $LIBS" |
13825 cat >conftest.$ac_ext <<_ACEOF | 9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13826 /* confdefs.h. */ | |
13827 _ACEOF | |
13828 cat confdefs.h >>conftest.$ac_ext | |
13829 cat >>conftest.$ac_ext <<_ACEOF | |
13830 /* end confdefs.h. */ | 9365 /* end confdefs.h. */ |
13831 | 9366 |
13832 /* Override any GCC internal prototype to avoid an error. | 9367 /* Override any GCC internal prototype to avoid an error. |
13833 Use char because int might match the return type of a GCC | 9368 Use char because int might match the return type of a GCC |
13834 builtin and then its argument prototype would still apply. */ | 9369 builtin and then its argument prototype would still apply. */ |
13842 return XRenderQueryExtension (); | 9377 return XRenderQueryExtension (); |
13843 ; | 9378 ; |
13844 return 0; | 9379 return 0; |
13845 } | 9380 } |
13846 _ACEOF | 9381 _ACEOF |
13847 rm -f conftest.$ac_objext conftest$ac_exeext | 9382 if ac_fn_c_try_link "$LINENO"; then : |
13848 if { (ac_try="$ac_link" | |
13849 case "(($ac_try" in | |
13850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13851 *) ac_try_echo=$ac_try;; | |
13852 esac | |
13853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13854 $as_echo "$ac_try_echo") >&5 | |
13855 (eval "$ac_link") 2>conftest.er1 | |
13856 ac_status=$? | |
13857 grep -v '^ *+' conftest.er1 >conftest.err | |
13858 rm -f conftest.er1 | |
13859 cat conftest.err >&5 | |
13860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13861 (exit $ac_status); } && { | |
13862 test -z "$ac_c_werror_flag" || | |
13863 test ! -s conftest.err | |
13864 } && test -s conftest$ac_exeext && { | |
13865 test "$cross_compiling" = yes || | |
13866 $as_test_x conftest$ac_exeext | |
13867 }; then | |
13868 ac_cv_lib_Xrender_XRenderQueryExtension=yes | 9383 ac_cv_lib_Xrender_XRenderQueryExtension=yes |
13869 else | 9384 else |
13870 $as_echo "$as_me: failed program was:" >&5 | 9385 ac_cv_lib_Xrender_XRenderQueryExtension=no |
13871 sed 's/^/| /' conftest.$ac_ext >&5 | 9386 fi |
13872 | 9387 rm -f core conftest.err conftest.$ac_objext \ |
13873 ac_cv_lib_Xrender_XRenderQueryExtension=no | 9388 conftest$ac_exeext conftest.$ac_ext |
13874 fi | |
13875 | |
13876 rm -rf conftest.dSYM | |
13877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13878 conftest$ac_exeext conftest.$ac_ext | |
13879 LIBS=$ac_check_lib_save_LIBS | 9389 LIBS=$ac_check_lib_save_LIBS |
13880 fi | 9390 fi |
13881 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 | 9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 |
13882 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } | 9392 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } |
13883 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then | 9393 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : |
13884 HAVE_XRENDER=yes | 9394 HAVE_XRENDER=yes |
13885 fi | 9395 fi |
13886 | 9396 |
13887 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then | 9397 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then |
13888 OLD_CPPFLAGS="$CPPFLAGS" | 9398 OLD_CPPFLAGS="$CPPFLAGS" |
13890 OLD_LIBS="$LIBS" | 9400 OLD_LIBS="$LIBS" |
13891 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" | 9401 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
13892 CFLAGS="$CFLAGS $XFT_CFLAGS" | 9402 CFLAGS="$CFLAGS $XFT_CFLAGS" |
13893 XFT_LIBS="-lXrender $XFT_LIBS" | 9403 XFT_LIBS="-lXrender $XFT_LIBS" |
13894 LIBS="$XFT_LIBS $LIBS" | 9404 LIBS="$XFT_LIBS $LIBS" |
13895 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | 9405 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
13896 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 | 9406 if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : |
13897 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } | 9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 |
13898 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | |
13899 $as_echo_n "(cached) " >&6 | |
13900 fi | |
13901 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | |
13902 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | |
13903 else | |
13904 # Is the header compilable? | |
13905 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5 | |
13906 $as_echo_n "checking X11/Xft/Xft.h usability... " >&6; } | |
13907 cat >conftest.$ac_ext <<_ACEOF | |
13908 /* confdefs.h. */ | |
13909 _ACEOF | |
13910 cat confdefs.h >>conftest.$ac_ext | |
13911 cat >>conftest.$ac_ext <<_ACEOF | |
13912 /* end confdefs.h. */ | |
13913 $ac_includes_default | |
13914 #include <X11/Xft/Xft.h> | |
13915 _ACEOF | |
13916 rm -f conftest.$ac_objext | |
13917 if { (ac_try="$ac_compile" | |
13918 case "(($ac_try" in | |
13919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13920 *) ac_try_echo=$ac_try;; | |
13921 esac | |
13922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13923 $as_echo "$ac_try_echo") >&5 | |
13924 (eval "$ac_compile") 2>conftest.er1 | |
13925 ac_status=$? | |
13926 grep -v '^ *+' conftest.er1 >conftest.err | |
13927 rm -f conftest.er1 | |
13928 cat conftest.err >&5 | |
13929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13930 (exit $ac_status); } && { | |
13931 test -z "$ac_c_werror_flag" || | |
13932 test ! -s conftest.err | |
13933 } && test -s conftest.$ac_objext; then | |
13934 ac_header_compiler=yes | |
13935 else | |
13936 $as_echo "$as_me: failed program was:" >&5 | |
13937 sed 's/^/| /' conftest.$ac_ext >&5 | |
13938 | |
13939 ac_header_compiler=no | |
13940 fi | |
13941 | |
13942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
13943 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
13944 $as_echo "$ac_header_compiler" >&6; } | |
13945 | |
13946 # Is the header present? | |
13947 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5 | |
13948 $as_echo_n "checking X11/Xft/Xft.h presence... " >&6; } | |
13949 cat >conftest.$ac_ext <<_ACEOF | |
13950 /* confdefs.h. */ | |
13951 _ACEOF | |
13952 cat confdefs.h >>conftest.$ac_ext | |
13953 cat >>conftest.$ac_ext <<_ACEOF | |
13954 /* end confdefs.h. */ | |
13955 #include <X11/Xft/Xft.h> | |
13956 _ACEOF | |
13957 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
13958 case "(($ac_try" in | |
13959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13960 *) ac_try_echo=$ac_try;; | |
13961 esac | |
13962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13963 $as_echo "$ac_try_echo") >&5 | |
13964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
13965 ac_status=$? | |
13966 grep -v '^ *+' conftest.er1 >conftest.err | |
13967 rm -f conftest.er1 | |
13968 cat conftest.err >&5 | |
13969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13970 (exit $ac_status); } >/dev/null && { | |
13971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
13972 test ! -s conftest.err | |
13973 }; then | |
13974 ac_header_preproc=yes | |
13975 else | |
13976 $as_echo "$as_me: failed program was:" >&5 | |
13977 sed 's/^/| /' conftest.$ac_ext >&5 | |
13978 | |
13979 ac_header_preproc=no | |
13980 fi | |
13981 | |
13982 rm -f conftest.err conftest.$ac_ext | |
13983 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
13984 $as_echo "$ac_header_preproc" >&6; } | |
13985 | |
13986 # So? What about this header? | |
13987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
13988 yes:no: ) | |
13989 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
13990 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
13991 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5 | |
13992 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;} | |
13993 ac_header_preproc=yes | |
13994 ;; | |
13995 no:yes:* ) | |
13996 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 | |
13997 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} | |
13998 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 | |
13999 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} | |
14000 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5 | |
14001 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;} | |
14002 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5 | |
14003 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
14004 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 | |
14005 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} | |
14006 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5 | |
14007 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;} | |
14008 | |
14009 ;; | |
14010 esac | |
14011 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 | |
14012 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } | |
14013 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | |
14014 $as_echo_n "(cached) " >&6 | |
14015 else | |
14016 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc | |
14017 fi | |
14018 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | |
14019 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | |
14020 | |
14021 fi | |
14022 if test $ac_cv_header_X11_Xft_Xft_h = yes; then | |
14023 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 | |
14024 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } | 9408 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } |
14025 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then | 9409 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : |
14026 $as_echo_n "(cached) " >&6 | 9410 $as_echo_n "(cached) " >&6 |
14027 else | 9411 else |
14028 ac_check_lib_save_LIBS=$LIBS | 9412 ac_check_lib_save_LIBS=$LIBS |
14029 LIBS="-lXft $XFT_LIBS $LIBS" | 9413 LIBS="-lXft $XFT_LIBS $LIBS" |
14030 cat >conftest.$ac_ext <<_ACEOF | 9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14031 /* confdefs.h. */ | |
14032 _ACEOF | |
14033 cat confdefs.h >>conftest.$ac_ext | |
14034 cat >>conftest.$ac_ext <<_ACEOF | |
14035 /* end confdefs.h. */ | 9415 /* end confdefs.h. */ |
14036 | 9416 |
14037 /* Override any GCC internal prototype to avoid an error. | 9417 /* Override any GCC internal prototype to avoid an error. |
14038 Use char because int might match the return type of a GCC | 9418 Use char because int might match the return type of a GCC |
14039 builtin and then its argument prototype would still apply. */ | 9419 builtin and then its argument prototype would still apply. */ |
14047 return XftFontOpen (); | 9427 return XftFontOpen (); |
14048 ; | 9428 ; |
14049 return 0; | 9429 return 0; |
14050 } | 9430 } |
14051 _ACEOF | 9431 _ACEOF |
14052 rm -f conftest.$ac_objext conftest$ac_exeext | 9432 if ac_fn_c_try_link "$LINENO"; then : |
14053 if { (ac_try="$ac_link" | |
14054 case "(($ac_try" in | |
14055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14056 *) ac_try_echo=$ac_try;; | |
14057 esac | |
14058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14059 $as_echo "$ac_try_echo") >&5 | |
14060 (eval "$ac_link") 2>conftest.er1 | |
14061 ac_status=$? | |
14062 grep -v '^ *+' conftest.er1 >conftest.err | |
14063 rm -f conftest.er1 | |
14064 cat conftest.err >&5 | |
14065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14066 (exit $ac_status); } && { | |
14067 test -z "$ac_c_werror_flag" || | |
14068 test ! -s conftest.err | |
14069 } && test -s conftest$ac_exeext && { | |
14070 test "$cross_compiling" = yes || | |
14071 $as_test_x conftest$ac_exeext | |
14072 }; then | |
14073 ac_cv_lib_Xft_XftFontOpen=yes | 9433 ac_cv_lib_Xft_XftFontOpen=yes |
14074 else | 9434 else |
14075 $as_echo "$as_me: failed program was:" >&5 | 9435 ac_cv_lib_Xft_XftFontOpen=no |
14076 sed 's/^/| /' conftest.$ac_ext >&5 | 9436 fi |
14077 | 9437 rm -f core conftest.err conftest.$ac_objext \ |
14078 ac_cv_lib_Xft_XftFontOpen=no | 9438 conftest$ac_exeext conftest.$ac_ext |
14079 fi | |
14080 | |
14081 rm -rf conftest.dSYM | |
14082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
14083 conftest$ac_exeext conftest.$ac_ext | |
14084 LIBS=$ac_check_lib_save_LIBS | 9439 LIBS=$ac_check_lib_save_LIBS |
14085 fi | 9440 fi |
14086 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 | 9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 |
14087 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } | 9442 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } |
14088 if test $ac_cv_lib_Xft_XftFontOpen = yes; then | 9443 if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : |
14089 HAVE_XFT=yes | 9444 HAVE_XFT=yes |
14090 fi | 9445 fi |
14091 | 9446 |
14092 fi | 9447 fi |
14093 | 9448 |
14094 | 9449 |
14095 | 9450 |
14096 if test "${HAVE_XFT}" = "yes"; then | 9451 if test "${HAVE_XFT}" = "yes"; then |
14097 | 9452 |
14098 cat >>confdefs.h <<\_ACEOF | 9453 $as_echo "#define HAVE_XFT 1" >>confdefs.h |
14099 #define HAVE_XFT 1 | |
14100 _ACEOF | |
14101 | 9454 |
14102 | 9455 |
14103 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" | 9456 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" |
14104 else | 9457 else |
14105 CPPFLAGS="$OLD_CPPFLAGS" | 9458 CPPFLAGS="$OLD_CPPFLAGS" |
14124 fi | 9477 fi |
14125 | 9478 |
14126 HAVE_LIBOTF=no | 9479 HAVE_LIBOTF=no |
14127 if test "${HAVE_FREETYPE}" = "yes"; then | 9480 if test "${HAVE_FREETYPE}" = "yes"; then |
14128 | 9481 |
14129 cat >>confdefs.h <<\_ACEOF | 9482 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h |
14130 #define HAVE_FREETYPE 1 | |
14131 _ACEOF | |
14132 | 9483 |
14133 if test "${with_libotf}" != "no"; then | 9484 if test "${with_libotf}" != "no"; then |
14134 | 9485 |
14135 succeeded=no | 9486 succeeded=no |
14136 | 9487 |
14137 # Extract the first word of "pkg-config", so it can be a program name with args. | 9488 # Extract the first word of "pkg-config", so it can be a program name with args. |
14138 set dummy pkg-config; ac_word=$2 | 9489 set dummy pkg-config; ac_word=$2 |
14139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
14140 $as_echo_n "checking for $ac_word... " >&6; } | 9491 $as_echo_n "checking for $ac_word... " >&6; } |
14141 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 9492 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
14142 $as_echo_n "(cached) " >&6 | 9493 $as_echo_n "(cached) " >&6 |
14143 else | 9494 else |
14144 case $PKG_CONFIG in | 9495 case $PKG_CONFIG in |
14145 [\\/]* | ?:[\\/]*) | 9496 [\\/]* | ?:[\\/]*) |
14146 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 9497 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
14149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14150 for as_dir in $PATH | 9501 for as_dir in $PATH |
14151 do | 9502 do |
14152 IFS=$as_save_IFS | 9503 IFS=$as_save_IFS |
14153 test -z "$as_dir" && as_dir=. | 9504 test -z "$as_dir" && as_dir=. |
14154 for ac_exec_ext in '' $ac_executable_extensions; do | 9505 for ac_exec_ext in '' $ac_executable_extensions; do |
14155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
14156 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 9507 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
14157 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
14158 break 2 | 9509 break 2 |
14159 fi | 9510 fi |
14160 done | 9511 done |
14161 done | 9512 done |
14162 IFS=$as_save_IFS | 9513 IFS=$as_save_IFS |
14163 | 9514 |
14164 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 9515 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
14165 ;; | 9516 ;; |
14166 esac | 9517 esac |
14167 fi | 9518 fi |
14168 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 9519 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
14169 if test -n "$PKG_CONFIG"; then | 9520 if test -n "$PKG_CONFIG"; then |
14170 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
14171 $as_echo "$PKG_CONFIG" >&6; } | 9522 $as_echo "$PKG_CONFIG" >&6; } |
14172 else | 9523 else |
14173 { $as_echo "$as_me:$LINENO: result: no" >&5 | 9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
14174 $as_echo "no" >&6; } | 9525 $as_echo "no" >&6; } |
14175 fi | 9526 fi |
14176 | 9527 |
14177 | 9528 |
14178 | 9529 |
14179 if test "$PKG_CONFIG" = "no" ; then | 9530 if test "$PKG_CONFIG" = "no" ; then |
14180 HAVE_LIBOTF=no | 9531 HAVE_LIBOTF=no |
14181 else | 9532 else |
14182 PKG_CONFIG_MIN_VERSION=0.9.0 | 9533 PKG_CONFIG_MIN_VERSION=0.9.0 |
14183 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 9534 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
14184 { $as_echo "$as_me:$LINENO: checking for libotf" >&5 | 9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 |
14185 $as_echo_n "checking for libotf... " >&6; } | 9536 $as_echo_n "checking for libotf... " >&6; } |
14186 | 9537 |
14187 if $PKG_CONFIG --exists "libotf" 2>&5; then | 9538 if $PKG_CONFIG --exists "libotf" 2>&5; then |
14188 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
14189 $as_echo "yes" >&6; } | 9540 $as_echo "yes" >&6; } |
14190 succeeded=yes | 9541 succeeded=yes |
14191 | 9542 |
14192 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 | 9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5 |
14193 $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } | 9544 $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } |
14194 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` | 9545 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` |
14195 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 | 9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5 |
14196 $as_echo "$LIBOTF_CFLAGS" >&6; } | 9547 $as_echo "$LIBOTF_CFLAGS" >&6; } |
14197 | 9548 |
14198 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 | 9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5 |
14199 $as_echo_n "checking LIBOTF_LIBS... " >&6; } | 9550 $as_echo_n "checking LIBOTF_LIBS... " >&6; } |
14200 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` | 9551 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` |
14201 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 | 9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5 |
14202 $as_echo "$LIBOTF_LIBS" >&6; } | 9553 $as_echo "$LIBOTF_LIBS" >&6; } |
14203 else | 9554 else |
14204 { $as_echo "$as_me:$LINENO: result: no" >&5 | 9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
14205 $as_echo "no" >&6; } | 9556 $as_echo "no" >&6; } |
14206 LIBOTF_CFLAGS="" | 9557 LIBOTF_CFLAGS="" |
14207 LIBOTF_LIBS="" | 9558 LIBOTF_LIBS="" |
14208 ## If we have a custom action on failure, don't print errors, but | 9559 ## If we have a custom action on failure, don't print errors, but |
14209 ## do set a variable so people can do so. | 9560 ## do set a variable so people can do so. |
14225 HAVE_LIBOTF=no | 9576 HAVE_LIBOTF=no |
14226 fi | 9577 fi |
14227 | 9578 |
14228 if test "$HAVE_LIBOTF" = "yes"; then | 9579 if test "$HAVE_LIBOTF" = "yes"; then |
14229 | 9580 |
14230 cat >>confdefs.h <<\_ACEOF | 9581 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h |
14231 #define HAVE_LIBOTF 1 | 9582 |
14232 _ACEOF | 9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 |
14233 | |
14234 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 | |
14235 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } | 9584 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } |
14236 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then | 9585 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : |
14237 $as_echo_n "(cached) " >&6 | 9586 $as_echo_n "(cached) " >&6 |
14238 else | 9587 else |
14239 ac_check_lib_save_LIBS=$LIBS | 9588 ac_check_lib_save_LIBS=$LIBS |
14240 LIBS="-lotf $LIBS" | 9589 LIBS="-lotf $LIBS" |
14241 cat >conftest.$ac_ext <<_ACEOF | 9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14242 /* confdefs.h. */ | |
14243 _ACEOF | |
14244 cat confdefs.h >>conftest.$ac_ext | |
14245 cat >>conftest.$ac_ext <<_ACEOF | |
14246 /* end confdefs.h. */ | 9591 /* end confdefs.h. */ |
14247 | 9592 |
14248 /* Override any GCC internal prototype to avoid an error. | 9593 /* Override any GCC internal prototype to avoid an error. |
14249 Use char because int might match the return type of a GCC | 9594 Use char because int might match the return type of a GCC |
14250 builtin and then its argument prototype would still apply. */ | 9595 builtin and then its argument prototype would still apply. */ |
14258 return OTF_get_variation_glyphs (); | 9603 return OTF_get_variation_glyphs (); |
14259 ; | 9604 ; |
14260 return 0; | 9605 return 0; |
14261 } | 9606 } |
14262 _ACEOF | 9607 _ACEOF |
14263 rm -f conftest.$ac_objext conftest$ac_exeext | 9608 if ac_fn_c_try_link "$LINENO"; then : |
14264 if { (ac_try="$ac_link" | |
14265 case "(($ac_try" in | |
14266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14267 *) ac_try_echo=$ac_try;; | |
14268 esac | |
14269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14270 $as_echo "$ac_try_echo") >&5 | |
14271 (eval "$ac_link") 2>conftest.er1 | |
14272 ac_status=$? | |
14273 grep -v '^ *+' conftest.er1 >conftest.err | |
14274 rm -f conftest.er1 | |
14275 cat conftest.err >&5 | |
14276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14277 (exit $ac_status); } && { | |
14278 test -z "$ac_c_werror_flag" || | |
14279 test ! -s conftest.err | |
14280 } && test -s conftest$ac_exeext && { | |
14281 test "$cross_compiling" = yes || | |
14282 $as_test_x conftest$ac_exeext | |
14283 }; then | |
14284 ac_cv_lib_otf_OTF_get_variation_glyphs=yes | 9609 ac_cv_lib_otf_OTF_get_variation_glyphs=yes |
14285 else | 9610 else |
14286 $as_echo "$as_me: failed program was:" >&5 | 9611 ac_cv_lib_otf_OTF_get_variation_glyphs=no |
14287 sed 's/^/| /' conftest.$ac_ext >&5 | 9612 fi |
14288 | 9613 rm -f core conftest.err conftest.$ac_objext \ |
14289 ac_cv_lib_otf_OTF_get_variation_glyphs=no | 9614 conftest$ac_exeext conftest.$ac_ext |
14290 fi | |
14291 | |
14292 rm -rf conftest.dSYM | |
14293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
14294 conftest$ac_exeext conftest.$ac_ext | |
14295 LIBS=$ac_check_lib_save_LIBS | 9615 LIBS=$ac_check_lib_save_LIBS |
14296 fi | 9616 fi |
14297 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 | 9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 |
14298 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } | 9618 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } |
14299 if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then | 9619 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : |
14300 HAVE_OTF_GET_VARIATION_GLYPHS=yes | 9620 HAVE_OTF_GET_VARIATION_GLYPHS=yes |
14301 else | 9621 else |
14302 HAVE_OTF_GET_VARIATION_GLYPHS=no | 9622 HAVE_OTF_GET_VARIATION_GLYPHS=no |
14303 fi | 9623 fi |
14304 | 9624 |
14305 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then | 9625 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then |
14306 | 9626 |
14307 cat >>confdefs.h <<\_ACEOF | 9627 $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h |
14308 #define HAVE_OTF_GET_VARIATION_GLYPHS 1 | |
14309 _ACEOF | |
14310 | 9628 |
14311 fi | 9629 fi |
14312 fi | 9630 fi |
14313 fi | 9631 fi |
14314 fi | 9632 fi |
14319 | 9637 |
14320 succeeded=no | 9638 succeeded=no |
14321 | 9639 |
14322 # Extract the first word of "pkg-config", so it can be a program name with args. | 9640 # Extract the first word of "pkg-config", so it can be a program name with args. |
14323 set dummy pkg-config; ac_word=$2 | 9641 set dummy pkg-config; ac_word=$2 |
14324 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
14325 $as_echo_n "checking for $ac_word... " >&6; } | 9643 $as_echo_n "checking for $ac_word... " >&6; } |
14326 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 9644 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
14327 $as_echo_n "(cached) " >&6 | 9645 $as_echo_n "(cached) " >&6 |
14328 else | 9646 else |
14329 case $PKG_CONFIG in | 9647 case $PKG_CONFIG in |
14330 [\\/]* | ?:[\\/]*) | 9648 [\\/]* | ?:[\\/]*) |
14331 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 9649 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
14334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14335 for as_dir in $PATH | 9653 for as_dir in $PATH |
14336 do | 9654 do |
14337 IFS=$as_save_IFS | 9655 IFS=$as_save_IFS |
14338 test -z "$as_dir" && as_dir=. | 9656 test -z "$as_dir" && as_dir=. |
14339 for ac_exec_ext in '' $ac_executable_extensions; do | 9657 for ac_exec_ext in '' $ac_executable_extensions; do |
14340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
14341 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 9659 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
14342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
14343 break 2 | 9661 break 2 |
14344 fi | 9662 fi |
14345 done | 9663 done |
14346 done | 9664 done |
14347 IFS=$as_save_IFS | 9665 IFS=$as_save_IFS |
14348 | 9666 |
14349 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 9667 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
14350 ;; | 9668 ;; |
14351 esac | 9669 esac |
14352 fi | 9670 fi |
14353 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 9671 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
14354 if test -n "$PKG_CONFIG"; then | 9672 if test -n "$PKG_CONFIG"; then |
14355 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
14356 $as_echo "$PKG_CONFIG" >&6; } | 9674 $as_echo "$PKG_CONFIG" >&6; } |
14357 else | 9675 else |
14358 { $as_echo "$as_me:$LINENO: result: no" >&5 | 9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
14359 $as_echo "no" >&6; } | 9677 $as_echo "no" >&6; } |
14360 fi | 9678 fi |
14361 | 9679 |
14362 | 9680 |
14363 | 9681 |
14364 if test "$PKG_CONFIG" = "no" ; then | 9682 if test "$PKG_CONFIG" = "no" ; then |
14365 HAVE_M17N_FLT=no | 9683 HAVE_M17N_FLT=no |
14366 else | 9684 else |
14367 PKG_CONFIG_MIN_VERSION=0.9.0 | 9685 PKG_CONFIG_MIN_VERSION=0.9.0 |
14368 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 9686 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
14369 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 | 9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 |
14370 $as_echo_n "checking for m17n-flt... " >&6; } | 9688 $as_echo_n "checking for m17n-flt... " >&6; } |
14371 | 9689 |
14372 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then | 9690 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then |
14373 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
14374 $as_echo "yes" >&6; } | 9692 $as_echo "yes" >&6; } |
14375 succeeded=yes | 9693 succeeded=yes |
14376 | 9694 |
14377 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 | 9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5 |
14378 $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } | 9696 $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } |
14379 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` | 9697 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` |
14380 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 | 9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5 |
14381 $as_echo "$M17N_FLT_CFLAGS" >&6; } | 9699 $as_echo "$M17N_FLT_CFLAGS" >&6; } |
14382 | 9700 |
14383 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 | 9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5 |
14384 $as_echo_n "checking M17N_FLT_LIBS... " >&6; } | 9702 $as_echo_n "checking M17N_FLT_LIBS... " >&6; } |
14385 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` | 9703 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` |
14386 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 | 9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5 |
14387 $as_echo "$M17N_FLT_LIBS" >&6; } | 9705 $as_echo "$M17N_FLT_LIBS" >&6; } |
14388 else | 9706 else |
14389 { $as_echo "$as_me:$LINENO: result: no" >&5 | 9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
14390 $as_echo "no" >&6; } | 9708 $as_echo "no" >&6; } |
14391 M17N_FLT_CFLAGS="" | 9709 M17N_FLT_CFLAGS="" |
14392 M17N_FLT_LIBS="" | 9710 M17N_FLT_LIBS="" |
14393 ## If we have a custom action on failure, don't print errors, but | 9711 ## If we have a custom action on failure, don't print errors, but |
14394 ## do set a variable so people can do so. | 9712 ## do set a variable so people can do so. |
14410 HAVE_M17N_FLT=no | 9728 HAVE_M17N_FLT=no |
14411 fi | 9729 fi |
14412 | 9730 |
14413 if test "$HAVE_M17N_FLT" = "yes"; then | 9731 if test "$HAVE_M17N_FLT" = "yes"; then |
14414 | 9732 |
14415 cat >>confdefs.h <<\_ACEOF | 9733 $as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h |
14416 #define HAVE_M17N_FLT 1 | |
14417 _ACEOF | |
14418 | 9734 |
14419 fi | 9735 fi |
14420 fi | 9736 fi |
14421 fi | 9737 fi |
14422 else | 9738 else |
14439 ### Use -lXpm if available, unless `--with-xpm=no'. | 9755 ### Use -lXpm if available, unless `--with-xpm=no'. |
14440 HAVE_XPM=no | 9756 HAVE_XPM=no |
14441 LIBXPM= | 9757 LIBXPM= |
14442 if test "${HAVE_X11}" = "yes"; then | 9758 if test "${HAVE_X11}" = "yes"; then |
14443 if test "${with_xpm}" != "no"; then | 9759 if test "${with_xpm}" != "no"; then |
14444 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 9760 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" |
14445 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | 9761 if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : |
14446 $as_echo_n "checking for X11/xpm.h... " >&6; } | 9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 |
14447 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | |
14448 $as_echo_n "(cached) " >&6 | |
14449 fi | |
14450 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | |
14451 $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | |
14452 else | |
14453 # Is the header compilable? | |
14454 { $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | |
14455 $as_echo_n "checking X11/xpm.h usability... " >&6; } | |
14456 cat >conftest.$ac_ext <<_ACEOF | |
14457 /* confdefs.h. */ | |
14458 _ACEOF | |
14459 cat confdefs.h >>conftest.$ac_ext | |
14460 cat >>conftest.$ac_ext <<_ACEOF | |
14461 /* end confdefs.h. */ | |
14462 $ac_includes_default | |
14463 #include <X11/xpm.h> | |
14464 _ACEOF | |
14465 rm -f conftest.$ac_objext | |
14466 if { (ac_try="$ac_compile" | |
14467 case "(($ac_try" in | |
14468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14469 *) ac_try_echo=$ac_try;; | |
14470 esac | |
14471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14472 $as_echo "$ac_try_echo") >&5 | |
14473 (eval "$ac_compile") 2>conftest.er1 | |
14474 ac_status=$? | |
14475 grep -v '^ *+' conftest.er1 >conftest.err | |
14476 rm -f conftest.er1 | |
14477 cat conftest.err >&5 | |
14478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14479 (exit $ac_status); } && { | |
14480 test -z "$ac_c_werror_flag" || | |
14481 test ! -s conftest.err | |
14482 } && test -s conftest.$ac_objext; then | |
14483 ac_header_compiler=yes | |
14484 else | |
14485 $as_echo "$as_me: failed program was:" >&5 | |
14486 sed 's/^/| /' conftest.$ac_ext >&5 | |
14487 | |
14488 ac_header_compiler=no | |
14489 fi | |
14490 | |
14491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
14492 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14493 $as_echo "$ac_header_compiler" >&6; } | |
14494 | |
14495 # Is the header present? | |
14496 { $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | |
14497 $as_echo_n "checking X11/xpm.h presence... " >&6; } | |
14498 cat >conftest.$ac_ext <<_ACEOF | |
14499 /* confdefs.h. */ | |
14500 _ACEOF | |
14501 cat confdefs.h >>conftest.$ac_ext | |
14502 cat >>conftest.$ac_ext <<_ACEOF | |
14503 /* end confdefs.h. */ | |
14504 #include <X11/xpm.h> | |
14505 _ACEOF | |
14506 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
14507 case "(($ac_try" in | |
14508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14509 *) ac_try_echo=$ac_try;; | |
14510 esac | |
14511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14512 $as_echo "$ac_try_echo") >&5 | |
14513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14514 ac_status=$? | |
14515 grep -v '^ *+' conftest.er1 >conftest.err | |
14516 rm -f conftest.er1 | |
14517 cat conftest.err >&5 | |
14518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14519 (exit $ac_status); } >/dev/null && { | |
14520 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
14521 test ! -s conftest.err | |
14522 }; then | |
14523 ac_header_preproc=yes | |
14524 else | |
14525 $as_echo "$as_me: failed program was:" >&5 | |
14526 sed 's/^/| /' conftest.$ac_ext >&5 | |
14527 | |
14528 ac_header_preproc=no | |
14529 fi | |
14530 | |
14531 rm -f conftest.err conftest.$ac_ext | |
14532 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
14533 $as_echo "$ac_header_preproc" >&6; } | |
14534 | |
14535 # So? What about this header? | |
14536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
14537 yes:no: ) | |
14538 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
14539 $as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14540 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5 | |
14541 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;} | |
14542 ac_header_preproc=yes | |
14543 ;; | |
14544 no:yes:* ) | |
14545 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 | |
14546 $as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} | |
14547 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 | |
14548 $as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} | |
14549 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5 | |
14550 $as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;} | |
14551 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5 | |
14552 $as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
14553 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | |
14554 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} | |
14555 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 | |
14556 $as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} | |
14557 | |
14558 ;; | |
14559 esac | |
14560 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | |
14561 $as_echo_n "checking for X11/xpm.h... " >&6; } | |
14562 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | |
14563 $as_echo_n "(cached) " >&6 | |
14564 else | |
14565 ac_cv_header_X11_xpm_h=$ac_header_preproc | |
14566 fi | |
14567 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | |
14568 $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | |
14569 | |
14570 fi | |
14571 if test $ac_cv_header_X11_xpm_h = yes; then | |
14572 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | |
14573 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } | 9763 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } |
14574 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then | 9764 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : |
14575 $as_echo_n "(cached) " >&6 | 9765 $as_echo_n "(cached) " >&6 |
14576 else | 9766 else |
14577 ac_check_lib_save_LIBS=$LIBS | 9767 ac_check_lib_save_LIBS=$LIBS |
14578 LIBS="-lXpm -lX11 $LIBS" | 9768 LIBS="-lXpm -lX11 $LIBS" |
14579 cat >conftest.$ac_ext <<_ACEOF | 9769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14580 /* confdefs.h. */ | |
14581 _ACEOF | |
14582 cat confdefs.h >>conftest.$ac_ext | |
14583 cat >>conftest.$ac_ext <<_ACEOF | |
14584 /* end confdefs.h. */ | 9770 /* end confdefs.h. */ |
14585 | 9771 |
14586 /* Override any GCC internal prototype to avoid an error. | 9772 /* Override any GCC internal prototype to avoid an error. |
14587 Use char because int might match the return type of a GCC | 9773 Use char because int might match the return type of a GCC |
14588 builtin and then its argument prototype would still apply. */ | 9774 builtin and then its argument prototype would still apply. */ |
14596 return XpmReadFileToPixmap (); | 9782 return XpmReadFileToPixmap (); |
14597 ; | 9783 ; |
14598 return 0; | 9784 return 0; |
14599 } | 9785 } |
14600 _ACEOF | 9786 _ACEOF |
14601 rm -f conftest.$ac_objext conftest$ac_exeext | 9787 if ac_fn_c_try_link "$LINENO"; then : |
14602 if { (ac_try="$ac_link" | |
14603 case "(($ac_try" in | |
14604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14605 *) ac_try_echo=$ac_try;; | |
14606 esac | |
14607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14608 $as_echo "$ac_try_echo") >&5 | |
14609 (eval "$ac_link") 2>conftest.er1 | |
14610 ac_status=$? | |
14611 grep -v '^ *+' conftest.er1 >conftest.err | |
14612 rm -f conftest.er1 | |
14613 cat conftest.err >&5 | |
14614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14615 (exit $ac_status); } && { | |
14616 test -z "$ac_c_werror_flag" || | |
14617 test ! -s conftest.err | |
14618 } && test -s conftest$ac_exeext && { | |
14619 test "$cross_compiling" = yes || | |
14620 $as_test_x conftest$ac_exeext | |
14621 }; then | |
14622 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 9788 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
14623 else | 9789 else |
14624 $as_echo "$as_me: failed program was:" >&5 | 9790 ac_cv_lib_Xpm_XpmReadFileToPixmap=no |
14625 sed 's/^/| /' conftest.$ac_ext >&5 | 9791 fi |
14626 | 9792 rm -f core conftest.err conftest.$ac_objext \ |
14627 ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 9793 conftest$ac_exeext conftest.$ac_ext |
14628 fi | |
14629 | |
14630 rm -rf conftest.dSYM | |
14631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
14632 conftest$ac_exeext conftest.$ac_ext | |
14633 LIBS=$ac_check_lib_save_LIBS | 9794 LIBS=$ac_check_lib_save_LIBS |
14634 fi | 9795 fi |
14635 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
14636 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } | 9797 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
14637 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then | 9798 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : |
14638 HAVE_XPM=yes | 9799 HAVE_XPM=yes |
14639 fi | 9800 fi |
14640 | 9801 |
14641 fi | 9802 fi |
14642 | 9803 |
14643 | 9804 |
14644 if test "${HAVE_XPM}" = "yes"; then | 9805 if test "${HAVE_XPM}" = "yes"; then |
14645 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 | 9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5 |
14646 $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } | 9807 $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } |
14647 cat >conftest.$ac_ext <<_ACEOF | 9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14648 /* confdefs.h. */ | |
14649 _ACEOF | |
14650 cat confdefs.h >>conftest.$ac_ext | |
14651 cat >>conftest.$ac_ext <<_ACEOF | |
14652 /* end confdefs.h. */ | 9809 /* end confdefs.h. */ |
14653 #include "X11/xpm.h" | 9810 #include "X11/xpm.h" |
14654 #ifndef XpmReturnAllocPixels | 9811 #ifndef XpmReturnAllocPixels |
14655 no_return_alloc_pixels | 9812 no_return_alloc_pixels |
14656 #endif | 9813 #endif |
14657 | 9814 |
14658 _ACEOF | 9815 _ACEOF |
14659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14660 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then | 9817 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then : |
14661 HAVE_XPM=no | 9818 HAVE_XPM=no |
14662 else | 9819 else |
14663 HAVE_XPM=yes | 9820 HAVE_XPM=yes |
14664 fi | 9821 fi |
14665 rm -f conftest* | 9822 rm -f conftest* |
14666 | 9823 |
14667 | 9824 |
14668 if test "${HAVE_XPM}" = "yes"; then | 9825 if test "${HAVE_XPM}" = "yes"; then |
14669 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
14670 $as_echo "yes" >&6; } | 9827 $as_echo "yes" >&6; } |
14671 else | 9828 else |
14672 { $as_echo "$as_me:$LINENO: result: no" >&5 | 9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
14673 $as_echo "no" >&6; } | 9830 $as_echo "no" >&6; } |
14674 fi | 9831 fi |
14675 fi | 9832 fi |
14676 fi | 9833 fi |
14677 | 9834 |
14678 if test "${HAVE_XPM}" = "yes"; then | 9835 if test "${HAVE_XPM}" = "yes"; then |
14679 | 9836 |
14680 cat >>confdefs.h <<\_ACEOF | 9837 $as_echo "#define HAVE_XPM 1" >>confdefs.h |
14681 #define HAVE_XPM 1 | |
14682 _ACEOF | |
14683 | 9838 |
14684 LIBXPM=-lXpm | 9839 LIBXPM=-lXpm |
14685 fi | 9840 fi |
14686 fi | 9841 fi |
14687 | 9842 |
14689 ### Use -ljpeg if available, unless `--with-jpeg=no'. | 9844 ### Use -ljpeg if available, unless `--with-jpeg=no'. |
14690 HAVE_JPEG=no | 9845 HAVE_JPEG=no |
14691 LIBJPEG= | 9846 LIBJPEG= |
14692 if test "${HAVE_X11}" = "yes"; then | 9847 if test "${HAVE_X11}" = "yes"; then |
14693 if test "${with_jpeg}" != "no"; then | 9848 if test "${with_jpeg}" != "no"; then |
14694 if test "${ac_cv_header_jerror_h+set}" = set; then | 9849 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" |
14695 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 | 9850 if test "x$ac_cv_header_jerror_h" = x""yes; then : |
14696 $as_echo_n "checking for jerror.h... " >&6; } | 9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 |
14697 if test "${ac_cv_header_jerror_h+set}" = set; then | |
14698 $as_echo_n "(cached) " >&6 | |
14699 fi | |
14700 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | |
14701 $as_echo "$ac_cv_header_jerror_h" >&6; } | |
14702 else | |
14703 # Is the header compilable? | |
14704 { $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5 | |
14705 $as_echo_n "checking jerror.h usability... " >&6; } | |
14706 cat >conftest.$ac_ext <<_ACEOF | |
14707 /* confdefs.h. */ | |
14708 _ACEOF | |
14709 cat confdefs.h >>conftest.$ac_ext | |
14710 cat >>conftest.$ac_ext <<_ACEOF | |
14711 /* end confdefs.h. */ | |
14712 $ac_includes_default | |
14713 #include <jerror.h> | |
14714 _ACEOF | |
14715 rm -f conftest.$ac_objext | |
14716 if { (ac_try="$ac_compile" | |
14717 case "(($ac_try" in | |
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14719 *) ac_try_echo=$ac_try;; | |
14720 esac | |
14721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14722 $as_echo "$ac_try_echo") >&5 | |
14723 (eval "$ac_compile") 2>conftest.er1 | |
14724 ac_status=$? | |
14725 grep -v '^ *+' conftest.er1 >conftest.err | |
14726 rm -f conftest.er1 | |
14727 cat conftest.err >&5 | |
14728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14729 (exit $ac_status); } && { | |
14730 test -z "$ac_c_werror_flag" || | |
14731 test ! -s conftest.err | |
14732 } && test -s conftest.$ac_objext; then | |
14733 ac_header_compiler=yes | |
14734 else | |
14735 $as_echo "$as_me: failed program was:" >&5 | |
14736 sed 's/^/| /' conftest.$ac_ext >&5 | |
14737 | |
14738 ac_header_compiler=no | |
14739 fi | |
14740 | |
14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
14742 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14743 $as_echo "$ac_header_compiler" >&6; } | |
14744 | |
14745 # Is the header present? | |
14746 { $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5 | |
14747 $as_echo_n "checking jerror.h presence... " >&6; } | |
14748 cat >conftest.$ac_ext <<_ACEOF | |
14749 /* confdefs.h. */ | |
14750 _ACEOF | |
14751 cat confdefs.h >>conftest.$ac_ext | |
14752 cat >>conftest.$ac_ext <<_ACEOF | |
14753 /* end confdefs.h. */ | |
14754 #include <jerror.h> | |
14755 _ACEOF | |
14756 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
14757 case "(($ac_try" in | |
14758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14759 *) ac_try_echo=$ac_try;; | |
14760 esac | |
14761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14762 $as_echo "$ac_try_echo") >&5 | |
14763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14764 ac_status=$? | |
14765 grep -v '^ *+' conftest.er1 >conftest.err | |
14766 rm -f conftest.er1 | |
14767 cat conftest.err >&5 | |
14768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14769 (exit $ac_status); } >/dev/null && { | |
14770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
14771 test ! -s conftest.err | |
14772 }; then | |
14773 ac_header_preproc=yes | |
14774 else | |
14775 $as_echo "$as_me: failed program was:" >&5 | |
14776 sed 's/^/| /' conftest.$ac_ext >&5 | |
14777 | |
14778 ac_header_preproc=no | |
14779 fi | |
14780 | |
14781 rm -f conftest.err conftest.$ac_ext | |
14782 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
14783 $as_echo "$ac_header_preproc" >&6; } | |
14784 | |
14785 # So? What about this header? | |
14786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
14787 yes:no: ) | |
14788 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
14789 $as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14790 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5 | |
14791 $as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;} | |
14792 ac_header_preproc=yes | |
14793 ;; | |
14794 no:yes:* ) | |
14795 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 | |
14796 $as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} | |
14797 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 | |
14798 $as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} | |
14799 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5 | |
14800 $as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;} | |
14801 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5 | |
14802 $as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
14803 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | |
14804 $as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} | |
14805 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 | |
14806 $as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} | |
14807 | |
14808 ;; | |
14809 esac | |
14810 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 | |
14811 $as_echo_n "checking for jerror.h... " >&6; } | |
14812 if test "${ac_cv_header_jerror_h+set}" = set; then | |
14813 $as_echo_n "(cached) " >&6 | |
14814 else | |
14815 ac_cv_header_jerror_h=$ac_header_preproc | |
14816 fi | |
14817 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | |
14818 $as_echo "$ac_cv_header_jerror_h" >&6; } | |
14819 | |
14820 fi | |
14821 if test $ac_cv_header_jerror_h = yes; then | |
14822 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | |
14823 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } | 9852 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } |
14824 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then | 9853 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : |
14825 $as_echo_n "(cached) " >&6 | 9854 $as_echo_n "(cached) " >&6 |
14826 else | 9855 else |
14827 ac_check_lib_save_LIBS=$LIBS | 9856 ac_check_lib_save_LIBS=$LIBS |
14828 LIBS="-ljpeg $LIBS" | 9857 LIBS="-ljpeg $LIBS" |
14829 cat >conftest.$ac_ext <<_ACEOF | 9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14830 /* confdefs.h. */ | |
14831 _ACEOF | |
14832 cat confdefs.h >>conftest.$ac_ext | |
14833 cat >>conftest.$ac_ext <<_ACEOF | |
14834 /* end confdefs.h. */ | 9859 /* end confdefs.h. */ |
14835 | 9860 |
14836 /* Override any GCC internal prototype to avoid an error. | 9861 /* Override any GCC internal prototype to avoid an error. |
14837 Use char because int might match the return type of a GCC | 9862 Use char because int might match the return type of a GCC |
14838 builtin and then its argument prototype would still apply. */ | 9863 builtin and then its argument prototype would still apply. */ |
14846 return jpeg_destroy_compress (); | 9871 return jpeg_destroy_compress (); |
14847 ; | 9872 ; |
14848 return 0; | 9873 return 0; |
14849 } | 9874 } |
14850 _ACEOF | 9875 _ACEOF |
14851 rm -f conftest.$ac_objext conftest$ac_exeext | 9876 if ac_fn_c_try_link "$LINENO"; then : |
14852 if { (ac_try="$ac_link" | |
14853 case "(($ac_try" in | |
14854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14855 *) ac_try_echo=$ac_try;; | |
14856 esac | |
14857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14858 $as_echo "$ac_try_echo") >&5 | |
14859 (eval "$ac_link") 2>conftest.er1 | |
14860 ac_status=$? | |
14861 grep -v '^ *+' conftest.er1 >conftest.err | |
14862 rm -f conftest.er1 | |
14863 cat conftest.err >&5 | |
14864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14865 (exit $ac_status); } && { | |
14866 test -z "$ac_c_werror_flag" || | |
14867 test ! -s conftest.err | |
14868 } && test -s conftest$ac_exeext && { | |
14869 test "$cross_compiling" = yes || | |
14870 $as_test_x conftest$ac_exeext | |
14871 }; then | |
14872 ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 9877 ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
14873 else | 9878 else |
14874 $as_echo "$as_me: failed program was:" >&5 | 9879 ac_cv_lib_jpeg_jpeg_destroy_compress=no |
14875 sed 's/^/| /' conftest.$ac_ext >&5 | 9880 fi |
14876 | 9881 rm -f core conftest.err conftest.$ac_objext \ |
14877 ac_cv_lib_jpeg_jpeg_destroy_compress=no | 9882 conftest$ac_exeext conftest.$ac_ext |
14878 fi | |
14879 | |
14880 rm -rf conftest.dSYM | |
14881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
14882 conftest$ac_exeext conftest.$ac_ext | |
14883 LIBS=$ac_check_lib_save_LIBS | 9883 LIBS=$ac_check_lib_save_LIBS |
14884 fi | 9884 fi |
14885 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
14886 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } | 9886 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
14887 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then | 9887 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : |
14888 HAVE_JPEG=yes | 9888 HAVE_JPEG=yes |
14889 fi | 9889 fi |
14890 | 9890 |
14891 fi | 9891 fi |
14892 | 9892 |
14893 | 9893 |
14894 fi | 9894 fi |
14895 | 9895 |
14896 | 9896 if test "${HAVE_JPEG}" = "yes"; then |
14897 if test "${HAVE_JPEG}" = "yes"; then | 9897 $as_echo "#define HAVE_JPEG 1" >>confdefs.h |
14898 cat >>confdefs.h <<\_ACEOF | 9898 |
14899 #define HAVE_JPEG 1 | 9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14900 _ACEOF | |
14901 | |
14902 cat >conftest.$ac_ext <<_ACEOF | |
14903 /* confdefs.h. */ | |
14904 _ACEOF | |
14905 cat confdefs.h >>conftest.$ac_ext | |
14906 cat >>conftest.$ac_ext <<_ACEOF | |
14907 /* end confdefs.h. */ | 9900 /* end confdefs.h. */ |
14908 #include <jpeglib.h> | 9901 #include <jpeglib.h> |
14909 version=JPEG_LIB_VERSION | 9902 version=JPEG_LIB_VERSION |
14910 | 9903 |
14911 _ACEOF | 9904 _ACEOF |
14912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14913 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then | 9906 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then : |
14914 cat >>confdefs.h <<\_ACEOF | 9907 $as_echo "#define HAVE_JPEG 1" >>confdefs.h |
14915 #define HAVE_JPEG 1 | 9908 |
14916 _ACEOF | 9909 else |
14917 | 9910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5 |
14918 else | |
14919 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 | |
14920 $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} | 9911 $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} |
14921 HAVE_JPEG=no | 9912 HAVE_JPEG=no |
14922 fi | 9913 fi |
14923 rm -f conftest* | 9914 rm -f conftest* |
14924 | 9915 |
14934 LIBPNG= | 9925 LIBPNG= |
14935 if test "${HAVE_X11}" = "yes"; then | 9926 if test "${HAVE_X11}" = "yes"; then |
14936 if test "${with_png}" != "no"; then | 9927 if test "${with_png}" != "no"; then |
14937 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h | 9928 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h |
14938 # in /usr/include/libpng. | 9929 # in /usr/include/libpng. |
14939 | 9930 for ac_header in png.h libpng/png.h |
14940 | 9931 do : |
14941 for ac_header in png.h libpng/png.h | 9932 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14942 do | 9933 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
14943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9934 eval as_val=\$$as_ac_Header |
14944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 9935 if test "x$as_val" = x""yes; then : |
14945 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14946 $as_echo_n "checking for $ac_header... " >&6; } | |
14947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
14948 $as_echo_n "(cached) " >&6 | |
14949 fi | |
14950 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
14951 $as_echo "$as_val"'` | |
14952 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
14953 $as_echo "$ac_res" >&6; } | |
14954 else | |
14955 # Is the header compilable? | |
14956 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
14957 $as_echo_n "checking $ac_header usability... " >&6; } | |
14958 cat >conftest.$ac_ext <<_ACEOF | |
14959 /* confdefs.h. */ | |
14960 _ACEOF | |
14961 cat confdefs.h >>conftest.$ac_ext | |
14962 cat >>conftest.$ac_ext <<_ACEOF | |
14963 /* end confdefs.h. */ | |
14964 $ac_includes_default | |
14965 #include <$ac_header> | |
14966 _ACEOF | |
14967 rm -f conftest.$ac_objext | |
14968 if { (ac_try="$ac_compile" | |
14969 case "(($ac_try" in | |
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14971 *) ac_try_echo=$ac_try;; | |
14972 esac | |
14973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14974 $as_echo "$ac_try_echo") >&5 | |
14975 (eval "$ac_compile") 2>conftest.er1 | |
14976 ac_status=$? | |
14977 grep -v '^ *+' conftest.er1 >conftest.err | |
14978 rm -f conftest.er1 | |
14979 cat conftest.err >&5 | |
14980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14981 (exit $ac_status); } && { | |
14982 test -z "$ac_c_werror_flag" || | |
14983 test ! -s conftest.err | |
14984 } && test -s conftest.$ac_objext; then | |
14985 ac_header_compiler=yes | |
14986 else | |
14987 $as_echo "$as_me: failed program was:" >&5 | |
14988 sed 's/^/| /' conftest.$ac_ext >&5 | |
14989 | |
14990 ac_header_compiler=no | |
14991 fi | |
14992 | |
14993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
14994 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14995 $as_echo "$ac_header_compiler" >&6; } | |
14996 | |
14997 # Is the header present? | |
14998 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
14999 $as_echo_n "checking $ac_header presence... " >&6; } | |
15000 cat >conftest.$ac_ext <<_ACEOF | |
15001 /* confdefs.h. */ | |
15002 _ACEOF | |
15003 cat confdefs.h >>conftest.$ac_ext | |
15004 cat >>conftest.$ac_ext <<_ACEOF | |
15005 /* end confdefs.h. */ | |
15006 #include <$ac_header> | |
15007 _ACEOF | |
15008 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15009 case "(($ac_try" in | |
15010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15011 *) ac_try_echo=$ac_try;; | |
15012 esac | |
15013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15014 $as_echo "$ac_try_echo") >&5 | |
15015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15016 ac_status=$? | |
15017 grep -v '^ *+' conftest.er1 >conftest.err | |
15018 rm -f conftest.er1 | |
15019 cat conftest.err >&5 | |
15020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15021 (exit $ac_status); } >/dev/null && { | |
15022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
15023 test ! -s conftest.err | |
15024 }; then | |
15025 ac_header_preproc=yes | |
15026 else | |
15027 $as_echo "$as_me: failed program was:" >&5 | |
15028 sed 's/^/| /' conftest.$ac_ext >&5 | |
15029 | |
15030 ac_header_preproc=no | |
15031 fi | |
15032 | |
15033 rm -f conftest.err conftest.$ac_ext | |
15034 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
15035 $as_echo "$ac_header_preproc" >&6; } | |
15036 | |
15037 # So? What about this header? | |
15038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
15039 yes:no: ) | |
15040 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15041 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15042 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
15043 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
15044 ac_header_preproc=yes | |
15045 ;; | |
15046 no:yes:* ) | |
15047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
15048 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
15049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
15050 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
15051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
15052 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
15053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
15054 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
15055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
15056 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
15057 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
15058 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
15059 | |
15060 ;; | |
15061 esac | |
15062 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
15063 $as_echo_n "checking for $ac_header... " >&6; } | |
15064 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
15065 $as_echo_n "(cached) " >&6 | |
15066 else | |
15067 eval "$as_ac_Header=\$ac_header_preproc" | |
15068 fi | |
15069 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
15070 $as_echo "$as_val"'` | |
15071 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
15072 $as_echo "$ac_res" >&6; } | |
15073 | |
15074 fi | |
15075 if test `eval 'as_val=${'$as_ac_Header'} | |
15076 $as_echo "$as_val"'` = yes; then | |
15077 cat >>confdefs.h <<_ACEOF | 9936 cat >>confdefs.h <<_ACEOF |
15078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 9937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
15079 _ACEOF | 9938 _ACEOF |
15080 | 9939 |
15081 fi | 9940 fi |
15082 | 9941 |
15083 done | 9942 done |
15084 | 9943 |
15085 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 9944 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
15086 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 | 9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 |
15087 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } | 9946 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } |
15088 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then | 9947 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : |
15089 $as_echo_n "(cached) " >&6 | 9948 $as_echo_n "(cached) " >&6 |
15090 else | 9949 else |
15091 ac_check_lib_save_LIBS=$LIBS | 9950 ac_check_lib_save_LIBS=$LIBS |
15092 LIBS="-lpng -lz -lm $LIBS" | 9951 LIBS="-lpng -lz -lm $LIBS" |
15093 cat >conftest.$ac_ext <<_ACEOF | 9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15094 /* confdefs.h. */ | |
15095 _ACEOF | |
15096 cat confdefs.h >>conftest.$ac_ext | |
15097 cat >>conftest.$ac_ext <<_ACEOF | |
15098 /* end confdefs.h. */ | 9953 /* end confdefs.h. */ |
15099 | 9954 |
15100 /* Override any GCC internal prototype to avoid an error. | 9955 /* Override any GCC internal prototype to avoid an error. |
15101 Use char because int might match the return type of a GCC | 9956 Use char because int might match the return type of a GCC |
15102 builtin and then its argument prototype would still apply. */ | 9957 builtin and then its argument prototype would still apply. */ |
15110 return png_get_channels (); | 9965 return png_get_channels (); |
15111 ; | 9966 ; |
15112 return 0; | 9967 return 0; |
15113 } | 9968 } |
15114 _ACEOF | 9969 _ACEOF |
15115 rm -f conftest.$ac_objext conftest$ac_exeext | 9970 if ac_fn_c_try_link "$LINENO"; then : |
15116 if { (ac_try="$ac_link" | |
15117 case "(($ac_try" in | |
15118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15119 *) ac_try_echo=$ac_try;; | |
15120 esac | |
15121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15122 $as_echo "$ac_try_echo") >&5 | |
15123 (eval "$ac_link") 2>conftest.er1 | |
15124 ac_status=$? | |
15125 grep -v '^ *+' conftest.er1 >conftest.err | |
15126 rm -f conftest.er1 | |
15127 cat conftest.err >&5 | |
15128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15129 (exit $ac_status); } && { | |
15130 test -z "$ac_c_werror_flag" || | |
15131 test ! -s conftest.err | |
15132 } && test -s conftest$ac_exeext && { | |
15133 test "$cross_compiling" = yes || | |
15134 $as_test_x conftest$ac_exeext | |
15135 }; then | |
15136 ac_cv_lib_png_png_get_channels=yes | 9971 ac_cv_lib_png_png_get_channels=yes |
15137 else | 9972 else |
15138 $as_echo "$as_me: failed program was:" >&5 | 9973 ac_cv_lib_png_png_get_channels=no |
15139 sed 's/^/| /' conftest.$ac_ext >&5 | 9974 fi |
15140 | 9975 rm -f core conftest.err conftest.$ac_objext \ |
15141 ac_cv_lib_png_png_get_channels=no | 9976 conftest$ac_exeext conftest.$ac_ext |
15142 fi | |
15143 | |
15144 rm -rf conftest.dSYM | |
15145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15146 conftest$ac_exeext conftest.$ac_ext | |
15147 LIBS=$ac_check_lib_save_LIBS | 9977 LIBS=$ac_check_lib_save_LIBS |
15148 fi | 9978 fi |
15149 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 | 9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 |
15150 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } | 9980 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } |
15151 if test $ac_cv_lib_png_png_get_channels = yes; then | 9981 if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : |
15152 HAVE_PNG=yes | 9982 HAVE_PNG=yes |
15153 fi | 9983 fi |
15154 | 9984 |
15155 fi | 9985 fi |
15156 fi | 9986 fi |
15157 | 9987 |
15158 if test "${HAVE_PNG}" = "yes"; then | 9988 if test "${HAVE_PNG}" = "yes"; then |
15159 | 9989 |
15160 cat >>confdefs.h <<\_ACEOF | 9990 $as_echo "#define HAVE_PNG 1" >>confdefs.h |
15161 #define HAVE_PNG 1 | |
15162 _ACEOF | |
15163 | 9991 |
15164 LIBPNG="-lpng -lz -lm" | 9992 LIBPNG="-lpng -lz -lm" |
15165 fi | 9993 fi |
15166 fi | 9994 fi |
15167 | 9995 |
15169 ### Use -ltiff if available, unless `--with-tiff=no'. | 9997 ### Use -ltiff if available, unless `--with-tiff=no'. |
15170 HAVE_TIFF=no | 9998 HAVE_TIFF=no |
15171 LIBTIFF= | 9999 LIBTIFF= |
15172 if test "${HAVE_X11}" = "yes"; then | 10000 if test "${HAVE_X11}" = "yes"; then |
15173 if test "${with_tiff}" != "no"; then | 10001 if test "${with_tiff}" != "no"; then |
15174 if test "${ac_cv_header_tiffio_h+set}" = set; then | 10002 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" |
15175 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 | 10003 if test "x$ac_cv_header_tiffio_h" = x""yes; then : |
15176 $as_echo_n "checking for tiffio.h... " >&6; } | |
15177 if test "${ac_cv_header_tiffio_h+set}" = set; then | |
15178 $as_echo_n "(cached) " >&6 | |
15179 fi | |
15180 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | |
15181 $as_echo "$ac_cv_header_tiffio_h" >&6; } | |
15182 else | |
15183 # Is the header compilable? | |
15184 { $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | |
15185 $as_echo_n "checking tiffio.h usability... " >&6; } | |
15186 cat >conftest.$ac_ext <<_ACEOF | |
15187 /* confdefs.h. */ | |
15188 _ACEOF | |
15189 cat confdefs.h >>conftest.$ac_ext | |
15190 cat >>conftest.$ac_ext <<_ACEOF | |
15191 /* end confdefs.h. */ | |
15192 $ac_includes_default | |
15193 #include <tiffio.h> | |
15194 _ACEOF | |
15195 rm -f conftest.$ac_objext | |
15196 if { (ac_try="$ac_compile" | |
15197 case "(($ac_try" in | |
15198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15199 *) ac_try_echo=$ac_try;; | |
15200 esac | |
15201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15202 $as_echo "$ac_try_echo") >&5 | |
15203 (eval "$ac_compile") 2>conftest.er1 | |
15204 ac_status=$? | |
15205 grep -v '^ *+' conftest.er1 >conftest.err | |
15206 rm -f conftest.er1 | |
15207 cat conftest.err >&5 | |
15208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15209 (exit $ac_status); } && { | |
15210 test -z "$ac_c_werror_flag" || | |
15211 test ! -s conftest.err | |
15212 } && test -s conftest.$ac_objext; then | |
15213 ac_header_compiler=yes | |
15214 else | |
15215 $as_echo "$as_me: failed program was:" >&5 | |
15216 sed 's/^/| /' conftest.$ac_ext >&5 | |
15217 | |
15218 ac_header_compiler=no | |
15219 fi | |
15220 | |
15221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
15222 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15223 $as_echo "$ac_header_compiler" >&6; } | |
15224 | |
15225 # Is the header present? | |
15226 { $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | |
15227 $as_echo_n "checking tiffio.h presence... " >&6; } | |
15228 cat >conftest.$ac_ext <<_ACEOF | |
15229 /* confdefs.h. */ | |
15230 _ACEOF | |
15231 cat confdefs.h >>conftest.$ac_ext | |
15232 cat >>conftest.$ac_ext <<_ACEOF | |
15233 /* end confdefs.h. */ | |
15234 #include <tiffio.h> | |
15235 _ACEOF | |
15236 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15237 case "(($ac_try" in | |
15238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15239 *) ac_try_echo=$ac_try;; | |
15240 esac | |
15241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15242 $as_echo "$ac_try_echo") >&5 | |
15243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15244 ac_status=$? | |
15245 grep -v '^ *+' conftest.er1 >conftest.err | |
15246 rm -f conftest.er1 | |
15247 cat conftest.err >&5 | |
15248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15249 (exit $ac_status); } >/dev/null && { | |
15250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
15251 test ! -s conftest.err | |
15252 }; then | |
15253 ac_header_preproc=yes | |
15254 else | |
15255 $as_echo "$as_me: failed program was:" >&5 | |
15256 sed 's/^/| /' conftest.$ac_ext >&5 | |
15257 | |
15258 ac_header_preproc=no | |
15259 fi | |
15260 | |
15261 rm -f conftest.err conftest.$ac_ext | |
15262 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
15263 $as_echo "$ac_header_preproc" >&6; } | |
15264 | |
15265 # So? What about this header? | |
15266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
15267 yes:no: ) | |
15268 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15269 $as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15270 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 | |
15271 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} | |
15272 ac_header_preproc=yes | |
15273 ;; | |
15274 no:yes:* ) | |
15275 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 | |
15276 $as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} | |
15277 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 | |
15278 $as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} | |
15279 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 | |
15280 $as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} | |
15281 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 | |
15282 $as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
15283 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | |
15284 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | |
15285 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 | |
15286 $as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} | |
15287 | |
15288 ;; | |
15289 esac | |
15290 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 | |
15291 $as_echo_n "checking for tiffio.h... " >&6; } | |
15292 if test "${ac_cv_header_tiffio_h+set}" = set; then | |
15293 $as_echo_n "(cached) " >&6 | |
15294 else | |
15295 ac_cv_header_tiffio_h=$ac_header_preproc | |
15296 fi | |
15297 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | |
15298 $as_echo "$ac_cv_header_tiffio_h" >&6; } | |
15299 | |
15300 fi | |
15301 if test $ac_cv_header_tiffio_h = yes; then | |
15302 tifflibs="-lz -lm" | 10004 tifflibs="-lz -lm" |
15303 # At least one tiff package requires the jpeg library. | 10005 # At least one tiff package requires the jpeg library. |
15304 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 10006 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
15305 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 | 10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 |
15306 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } | 10008 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } |
15307 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then | 10009 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : |
15308 $as_echo_n "(cached) " >&6 | 10010 $as_echo_n "(cached) " >&6 |
15309 else | 10011 else |
15310 ac_check_lib_save_LIBS=$LIBS | 10012 ac_check_lib_save_LIBS=$LIBS |
15311 LIBS="-ltiff $tifflibs $LIBS" | 10013 LIBS="-ltiff $tifflibs $LIBS" |
15312 cat >conftest.$ac_ext <<_ACEOF | 10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15313 /* confdefs.h. */ | |
15314 _ACEOF | |
15315 cat confdefs.h >>conftest.$ac_ext | |
15316 cat >>conftest.$ac_ext <<_ACEOF | |
15317 /* end confdefs.h. */ | 10015 /* end confdefs.h. */ |
15318 | 10016 |
15319 /* Override any GCC internal prototype to avoid an error. | 10017 /* Override any GCC internal prototype to avoid an error. |
15320 Use char because int might match the return type of a GCC | 10018 Use char because int might match the return type of a GCC |
15321 builtin and then its argument prototype would still apply. */ | 10019 builtin and then its argument prototype would still apply. */ |
15329 return TIFFGetVersion (); | 10027 return TIFFGetVersion (); |
15330 ; | 10028 ; |
15331 return 0; | 10029 return 0; |
15332 } | 10030 } |
15333 _ACEOF | 10031 _ACEOF |
15334 rm -f conftest.$ac_objext conftest$ac_exeext | 10032 if ac_fn_c_try_link "$LINENO"; then : |
15335 if { (ac_try="$ac_link" | |
15336 case "(($ac_try" in | |
15337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15338 *) ac_try_echo=$ac_try;; | |
15339 esac | |
15340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15341 $as_echo "$ac_try_echo") >&5 | |
15342 (eval "$ac_link") 2>conftest.er1 | |
15343 ac_status=$? | |
15344 grep -v '^ *+' conftest.er1 >conftest.err | |
15345 rm -f conftest.er1 | |
15346 cat conftest.err >&5 | |
15347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15348 (exit $ac_status); } && { | |
15349 test -z "$ac_c_werror_flag" || | |
15350 test ! -s conftest.err | |
15351 } && test -s conftest$ac_exeext && { | |
15352 test "$cross_compiling" = yes || | |
15353 $as_test_x conftest$ac_exeext | |
15354 }; then | |
15355 ac_cv_lib_tiff_TIFFGetVersion=yes | 10033 ac_cv_lib_tiff_TIFFGetVersion=yes |
15356 else | 10034 else |
15357 $as_echo "$as_me: failed program was:" >&5 | 10035 ac_cv_lib_tiff_TIFFGetVersion=no |
15358 sed 's/^/| /' conftest.$ac_ext >&5 | 10036 fi |
15359 | 10037 rm -f core conftest.err conftest.$ac_objext \ |
15360 ac_cv_lib_tiff_TIFFGetVersion=no | 10038 conftest$ac_exeext conftest.$ac_ext |
15361 fi | |
15362 | |
15363 rm -rf conftest.dSYM | |
15364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15365 conftest$ac_exeext conftest.$ac_ext | |
15366 LIBS=$ac_check_lib_save_LIBS | 10039 LIBS=$ac_check_lib_save_LIBS |
15367 fi | 10040 fi |
15368 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
15369 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } | 10042 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
15370 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then | 10043 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : |
15371 HAVE_TIFF=yes | 10044 HAVE_TIFF=yes |
15372 fi | 10045 fi |
15373 | 10046 |
15374 fi | 10047 fi |
15375 | 10048 |
15376 | 10049 |
15377 fi | 10050 fi |
15378 | 10051 |
15379 if test "${HAVE_TIFF}" = "yes"; then | 10052 if test "${HAVE_TIFF}" = "yes"; then |
15380 | 10053 |
15381 cat >>confdefs.h <<\_ACEOF | 10054 $as_echo "#define HAVE_TIFF 1" >>confdefs.h |
15382 #define HAVE_TIFF 1 | |
15383 _ACEOF | |
15384 | 10055 |
15385 LIBTIFF=-ltiff | 10056 LIBTIFF=-ltiff |
15386 fi | 10057 fi |
15387 fi | 10058 fi |
15388 | 10059 |
15389 | 10060 |
15390 ### Use -lgif or -lungif if available, unless `--with-gif=no'. | 10061 ### Use -lgif or -lungif if available, unless `--with-gif=no'. |
15391 HAVE_GIF=no | 10062 HAVE_GIF=no |
15392 LIBGIF= | 10063 LIBGIF= |
15393 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | 10064 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then |
15394 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 10065 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" |
15395 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | 10066 if test "x$ac_cv_header_gif_lib_h" = x""yes; then : |
15396 $as_echo_n "checking for gif_lib.h... " >&6; } | |
15397 if test "${ac_cv_header_gif_lib_h+set}" = set; then | |
15398 $as_echo_n "(cached) " >&6 | |
15399 fi | |
15400 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | |
15401 $as_echo "$ac_cv_header_gif_lib_h" >&6; } | |
15402 else | |
15403 # Is the header compilable? | |
15404 { $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | |
15405 $as_echo_n "checking gif_lib.h usability... " >&6; } | |
15406 cat >conftest.$ac_ext <<_ACEOF | |
15407 /* confdefs.h. */ | |
15408 _ACEOF | |
15409 cat confdefs.h >>conftest.$ac_ext | |
15410 cat >>conftest.$ac_ext <<_ACEOF | |
15411 /* end confdefs.h. */ | |
15412 $ac_includes_default | |
15413 #include <gif_lib.h> | |
15414 _ACEOF | |
15415 rm -f conftest.$ac_objext | |
15416 if { (ac_try="$ac_compile" | |
15417 case "(($ac_try" in | |
15418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15419 *) ac_try_echo=$ac_try;; | |
15420 esac | |
15421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15422 $as_echo "$ac_try_echo") >&5 | |
15423 (eval "$ac_compile") 2>conftest.er1 | |
15424 ac_status=$? | |
15425 grep -v '^ *+' conftest.er1 >conftest.err | |
15426 rm -f conftest.er1 | |
15427 cat conftest.err >&5 | |
15428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15429 (exit $ac_status); } && { | |
15430 test -z "$ac_c_werror_flag" || | |
15431 test ! -s conftest.err | |
15432 } && test -s conftest.$ac_objext; then | |
15433 ac_header_compiler=yes | |
15434 else | |
15435 $as_echo "$as_me: failed program was:" >&5 | |
15436 sed 's/^/| /' conftest.$ac_ext >&5 | |
15437 | |
15438 ac_header_compiler=no | |
15439 fi | |
15440 | |
15441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
15442 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15443 $as_echo "$ac_header_compiler" >&6; } | |
15444 | |
15445 # Is the header present? | |
15446 { $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | |
15447 $as_echo_n "checking gif_lib.h presence... " >&6; } | |
15448 cat >conftest.$ac_ext <<_ACEOF | |
15449 /* confdefs.h. */ | |
15450 _ACEOF | |
15451 cat confdefs.h >>conftest.$ac_ext | |
15452 cat >>conftest.$ac_ext <<_ACEOF | |
15453 /* end confdefs.h. */ | |
15454 #include <gif_lib.h> | |
15455 _ACEOF | |
15456 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15457 case "(($ac_try" in | |
15458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15459 *) ac_try_echo=$ac_try;; | |
15460 esac | |
15461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15462 $as_echo "$ac_try_echo") >&5 | |
15463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15464 ac_status=$? | |
15465 grep -v '^ *+' conftest.er1 >conftest.err | |
15466 rm -f conftest.er1 | |
15467 cat conftest.err >&5 | |
15468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15469 (exit $ac_status); } >/dev/null && { | |
15470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
15471 test ! -s conftest.err | |
15472 }; then | |
15473 ac_header_preproc=yes | |
15474 else | |
15475 $as_echo "$as_me: failed program was:" >&5 | |
15476 sed 's/^/| /' conftest.$ac_ext >&5 | |
15477 | |
15478 ac_header_preproc=no | |
15479 fi | |
15480 | |
15481 rm -f conftest.err conftest.$ac_ext | |
15482 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
15483 $as_echo "$ac_header_preproc" >&6; } | |
15484 | |
15485 # So? What about this header? | |
15486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
15487 yes:no: ) | |
15488 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15489 $as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15490 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 | |
15491 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} | |
15492 ac_header_preproc=yes | |
15493 ;; | |
15494 no:yes:* ) | |
15495 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 | |
15496 $as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} | |
15497 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 | |
15498 $as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} | |
15499 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 | |
15500 $as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} | |
15501 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 | |
15502 $as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
15503 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | |
15504 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} | |
15505 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 | |
15506 $as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} | |
15507 | |
15508 ;; | |
15509 esac | |
15510 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | |
15511 $as_echo_n "checking for gif_lib.h... " >&6; } | |
15512 if test "${ac_cv_header_gif_lib_h+set}" = set; then | |
15513 $as_echo_n "(cached) " >&6 | |
15514 else | |
15515 ac_cv_header_gif_lib_h=$ac_header_preproc | |
15516 fi | |
15517 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | |
15518 $as_echo "$ac_cv_header_gif_lib_h" >&6; } | |
15519 | |
15520 fi | |
15521 if test $ac_cv_header_gif_lib_h = yes; then | |
15522 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 10067 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
15523 # Earlier versions can crash Emacs. | 10068 # Earlier versions can crash Emacs. |
15524 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 | 10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 |
15525 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } | 10070 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } |
15526 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then | 10071 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : |
15527 $as_echo_n "(cached) " >&6 | 10072 $as_echo_n "(cached) " >&6 |
15528 else | 10073 else |
15529 ac_check_lib_save_LIBS=$LIBS | 10074 ac_check_lib_save_LIBS=$LIBS |
15530 LIBS="-lgif $LIBS" | 10075 LIBS="-lgif $LIBS" |
15531 cat >conftest.$ac_ext <<_ACEOF | 10076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15532 /* confdefs.h. */ | |
15533 _ACEOF | |
15534 cat confdefs.h >>conftest.$ac_ext | |
15535 cat >>conftest.$ac_ext <<_ACEOF | |
15536 /* end confdefs.h. */ | 10077 /* end confdefs.h. */ |
15537 | 10078 |
15538 /* Override any GCC internal prototype to avoid an error. | 10079 /* Override any GCC internal prototype to avoid an error. |
15539 Use char because int might match the return type of a GCC | 10080 Use char because int might match the return type of a GCC |
15540 builtin and then its argument prototype would still apply. */ | 10081 builtin and then its argument prototype would still apply. */ |
15548 return EGifPutExtensionLast (); | 10089 return EGifPutExtensionLast (); |
15549 ; | 10090 ; |
15550 return 0; | 10091 return 0; |
15551 } | 10092 } |
15552 _ACEOF | 10093 _ACEOF |
15553 rm -f conftest.$ac_objext conftest$ac_exeext | 10094 if ac_fn_c_try_link "$LINENO"; then : |
15554 if { (ac_try="$ac_link" | |
15555 case "(($ac_try" in | |
15556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15557 *) ac_try_echo=$ac_try;; | |
15558 esac | |
15559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15560 $as_echo "$ac_try_echo") >&5 | |
15561 (eval "$ac_link") 2>conftest.er1 | |
15562 ac_status=$? | |
15563 grep -v '^ *+' conftest.er1 >conftest.err | |
15564 rm -f conftest.er1 | |
15565 cat conftest.err >&5 | |
15566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15567 (exit $ac_status); } && { | |
15568 test -z "$ac_c_werror_flag" || | |
15569 test ! -s conftest.err | |
15570 } && test -s conftest$ac_exeext && { | |
15571 test "$cross_compiling" = yes || | |
15572 $as_test_x conftest$ac_exeext | |
15573 }; then | |
15574 ac_cv_lib_gif_EGifPutExtensionLast=yes | 10095 ac_cv_lib_gif_EGifPutExtensionLast=yes |
15575 else | 10096 else |
15576 $as_echo "$as_me: failed program was:" >&5 | 10097 ac_cv_lib_gif_EGifPutExtensionLast=no |
15577 sed 's/^/| /' conftest.$ac_ext >&5 | 10098 fi |
15578 | 10099 rm -f core conftest.err conftest.$ac_objext \ |
15579 ac_cv_lib_gif_EGifPutExtensionLast=no | 10100 conftest$ac_exeext conftest.$ac_ext |
15580 fi | |
15581 | |
15582 rm -rf conftest.dSYM | |
15583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15584 conftest$ac_exeext conftest.$ac_ext | |
15585 LIBS=$ac_check_lib_save_LIBS | 10101 LIBS=$ac_check_lib_save_LIBS |
15586 fi | 10102 fi |
15587 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
15588 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 10104 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
15589 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then | 10105 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : |
15590 HAVE_GIF=yes | 10106 HAVE_GIF=yes |
15591 else | 10107 else |
15592 HAVE_GIF=maybe | 10108 HAVE_GIF=maybe |
15593 fi | 10109 fi |
15594 | 10110 |
15598 | 10114 |
15599 if test "$HAVE_GIF" = yes; then | 10115 if test "$HAVE_GIF" = yes; then |
15600 LIBGIF=-lgif | 10116 LIBGIF=-lgif |
15601 elif test "$HAVE_GIF" = maybe; then | 10117 elif test "$HAVE_GIF" = maybe; then |
15602 # If gif_lib.h but no libgif, try libungif. | 10118 # If gif_lib.h but no libgif, try libungif. |
15603 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 | 10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 |
15604 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } | 10120 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } |
15605 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | 10121 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : |
15606 $as_echo_n "(cached) " >&6 | 10122 $as_echo_n "(cached) " >&6 |
15607 else | 10123 else |
15608 ac_check_lib_save_LIBS=$LIBS | 10124 ac_check_lib_save_LIBS=$LIBS |
15609 LIBS="-lungif $LIBS" | 10125 LIBS="-lungif $LIBS" |
15610 cat >conftest.$ac_ext <<_ACEOF | 10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15611 /* confdefs.h. */ | |
15612 _ACEOF | |
15613 cat confdefs.h >>conftest.$ac_ext | |
15614 cat >>conftest.$ac_ext <<_ACEOF | |
15615 /* end confdefs.h. */ | 10127 /* end confdefs.h. */ |
15616 | 10128 |
15617 /* Override any GCC internal prototype to avoid an error. | 10129 /* Override any GCC internal prototype to avoid an error. |
15618 Use char because int might match the return type of a GCC | 10130 Use char because int might match the return type of a GCC |
15619 builtin and then its argument prototype would still apply. */ | 10131 builtin and then its argument prototype would still apply. */ |
15627 return EGifPutExtensionLast (); | 10139 return EGifPutExtensionLast (); |
15628 ; | 10140 ; |
15629 return 0; | 10141 return 0; |
15630 } | 10142 } |
15631 _ACEOF | 10143 _ACEOF |
15632 rm -f conftest.$ac_objext conftest$ac_exeext | 10144 if ac_fn_c_try_link "$LINENO"; then : |
15633 if { (ac_try="$ac_link" | |
15634 case "(($ac_try" in | |
15635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15636 *) ac_try_echo=$ac_try;; | |
15637 esac | |
15638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15639 $as_echo "$ac_try_echo") >&5 | |
15640 (eval "$ac_link") 2>conftest.er1 | |
15641 ac_status=$? | |
15642 grep -v '^ *+' conftest.er1 >conftest.err | |
15643 rm -f conftest.er1 | |
15644 cat conftest.err >&5 | |
15645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15646 (exit $ac_status); } && { | |
15647 test -z "$ac_c_werror_flag" || | |
15648 test ! -s conftest.err | |
15649 } && test -s conftest$ac_exeext && { | |
15650 test "$cross_compiling" = yes || | |
15651 $as_test_x conftest$ac_exeext | |
15652 }; then | |
15653 ac_cv_lib_ungif_EGifPutExtensionLast=yes | 10145 ac_cv_lib_ungif_EGifPutExtensionLast=yes |
15654 else | 10146 else |
15655 $as_echo "$as_me: failed program was:" >&5 | 10147 ac_cv_lib_ungif_EGifPutExtensionLast=no |
15656 sed 's/^/| /' conftest.$ac_ext >&5 | 10148 fi |
15657 | 10149 rm -f core conftest.err conftest.$ac_objext \ |
15658 ac_cv_lib_ungif_EGifPutExtensionLast=no | 10150 conftest$ac_exeext conftest.$ac_ext |
15659 fi | |
15660 | |
15661 rm -rf conftest.dSYM | |
15662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15663 conftest$ac_exeext conftest.$ac_ext | |
15664 LIBS=$ac_check_lib_save_LIBS | 10151 LIBS=$ac_check_lib_save_LIBS |
15665 fi | 10152 fi |
15666 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
15667 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 10154 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
15668 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then | 10155 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : |
15669 HAVE_GIF=yes | 10156 HAVE_GIF=yes |
15670 else | 10157 else |
15671 HAVE_GIF=no | 10158 HAVE_GIF=no |
15672 fi | 10159 fi |
15673 | 10160 |
15674 test "$HAVE_GIF" = yes && LIBGIF=-lungif | 10161 test "$HAVE_GIF" = yes && LIBGIF=-lungif |
15675 fi | 10162 fi |
15676 | 10163 |
15677 if test "${HAVE_GIF}" = "yes"; then | 10164 if test "${HAVE_GIF}" = "yes"; then |
15678 | 10165 |
15679 cat >>confdefs.h <<\_ACEOF | 10166 $as_echo "#define HAVE_GIF 1" >>confdefs.h |
15680 #define HAVE_GIF 1 | |
15681 _ACEOF | |
15682 | 10167 |
15683 fi | 10168 fi |
15684 fi | 10169 fi |
15685 | 10170 |
15686 | 10171 |
15697 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 10182 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
15698 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 10183 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
15699 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 10184 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
15700 | 10185 |
15701 if test "X${MISSING}" != X; then | 10186 if test "X${MISSING}" != X; then |
15702 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: | 10187 as_fn_error "The following required libraries were not found: |
15703 $MISSING | 10188 $MISSING |
15704 Maybe some development libraries/packages are missing? | 10189 Maybe some development libraries/packages are missing? |
15705 If you don't want to link with them give | 10190 If you don't want to link with them give |
15706 $WITH_NO | 10191 $WITH_NO |
15707 as options to configure" >&5 | 10192 as options to configure" "$LINENO" 5 |
15708 $as_echo "$as_me: error: The following required libraries were not found: | |
15709 $MISSING | |
15710 Maybe some development libraries/packages are missing? | |
15711 If you don't want to link with them give | |
15712 $WITH_NO | |
15713 as options to configure" >&2;} | |
15714 { (exit 1); exit 1; }; } | |
15715 fi | 10193 fi |
15716 fi | 10194 fi |
15717 | 10195 |
15718 ### Use -lgpm if available, unless `--with-gpm=no'. | 10196 ### Use -lgpm if available, unless `--with-gpm=no'. |
15719 HAVE_GPM=no | 10197 HAVE_GPM=no |
15720 LIBGPM= | 10198 LIBGPM= |
15721 if test "${with_gpm}" != "no"; then | 10199 if test "${with_gpm}" != "no"; then |
15722 if test "${ac_cv_header_gpm_h+set}" = set; then | 10200 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" |
15723 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 | 10201 if test "x$ac_cv_header_gpm_h" = x""yes; then : |
15724 $as_echo_n "checking for gpm.h... " >&6; } | 10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 |
15725 if test "${ac_cv_header_gpm_h+set}" = set; then | |
15726 $as_echo_n "(cached) " >&6 | |
15727 fi | |
15728 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | |
15729 $as_echo "$ac_cv_header_gpm_h" >&6; } | |
15730 else | |
15731 # Is the header compilable? | |
15732 { $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5 | |
15733 $as_echo_n "checking gpm.h usability... " >&6; } | |
15734 cat >conftest.$ac_ext <<_ACEOF | |
15735 /* confdefs.h. */ | |
15736 _ACEOF | |
15737 cat confdefs.h >>conftest.$ac_ext | |
15738 cat >>conftest.$ac_ext <<_ACEOF | |
15739 /* end confdefs.h. */ | |
15740 $ac_includes_default | |
15741 #include <gpm.h> | |
15742 _ACEOF | |
15743 rm -f conftest.$ac_objext | |
15744 if { (ac_try="$ac_compile" | |
15745 case "(($ac_try" in | |
15746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15747 *) ac_try_echo=$ac_try;; | |
15748 esac | |
15749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15750 $as_echo "$ac_try_echo") >&5 | |
15751 (eval "$ac_compile") 2>conftest.er1 | |
15752 ac_status=$? | |
15753 grep -v '^ *+' conftest.er1 >conftest.err | |
15754 rm -f conftest.er1 | |
15755 cat conftest.err >&5 | |
15756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15757 (exit $ac_status); } && { | |
15758 test -z "$ac_c_werror_flag" || | |
15759 test ! -s conftest.err | |
15760 } && test -s conftest.$ac_objext; then | |
15761 ac_header_compiler=yes | |
15762 else | |
15763 $as_echo "$as_me: failed program was:" >&5 | |
15764 sed 's/^/| /' conftest.$ac_ext >&5 | |
15765 | |
15766 ac_header_compiler=no | |
15767 fi | |
15768 | |
15769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
15770 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15771 $as_echo "$ac_header_compiler" >&6; } | |
15772 | |
15773 # Is the header present? | |
15774 { $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5 | |
15775 $as_echo_n "checking gpm.h presence... " >&6; } | |
15776 cat >conftest.$ac_ext <<_ACEOF | |
15777 /* confdefs.h. */ | |
15778 _ACEOF | |
15779 cat confdefs.h >>conftest.$ac_ext | |
15780 cat >>conftest.$ac_ext <<_ACEOF | |
15781 /* end confdefs.h. */ | |
15782 #include <gpm.h> | |
15783 _ACEOF | |
15784 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15785 case "(($ac_try" in | |
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15787 *) ac_try_echo=$ac_try;; | |
15788 esac | |
15789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15790 $as_echo "$ac_try_echo") >&5 | |
15791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15792 ac_status=$? | |
15793 grep -v '^ *+' conftest.er1 >conftest.err | |
15794 rm -f conftest.er1 | |
15795 cat conftest.err >&5 | |
15796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15797 (exit $ac_status); } >/dev/null && { | |
15798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
15799 test ! -s conftest.err | |
15800 }; then | |
15801 ac_header_preproc=yes | |
15802 else | |
15803 $as_echo "$as_me: failed program was:" >&5 | |
15804 sed 's/^/| /' conftest.$ac_ext >&5 | |
15805 | |
15806 ac_header_preproc=no | |
15807 fi | |
15808 | |
15809 rm -f conftest.err conftest.$ac_ext | |
15810 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
15811 $as_echo "$ac_header_preproc" >&6; } | |
15812 | |
15813 # So? What about this header? | |
15814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
15815 yes:no: ) | |
15816 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15817 $as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15818 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5 | |
15819 $as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;} | |
15820 ac_header_preproc=yes | |
15821 ;; | |
15822 no:yes:* ) | |
15823 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5 | |
15824 $as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;} | |
15825 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5 | |
15826 $as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;} | |
15827 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5 | |
15828 $as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;} | |
15829 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5 | |
15830 $as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
15831 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5 | |
15832 $as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;} | |
15833 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5 | |
15834 $as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;} | |
15835 | |
15836 ;; | |
15837 esac | |
15838 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 | |
15839 $as_echo_n "checking for gpm.h... " >&6; } | |
15840 if test "${ac_cv_header_gpm_h+set}" = set; then | |
15841 $as_echo_n "(cached) " >&6 | |
15842 else | |
15843 ac_cv_header_gpm_h=$ac_header_preproc | |
15844 fi | |
15845 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | |
15846 $as_echo "$ac_cv_header_gpm_h" >&6; } | |
15847 | |
15848 fi | |
15849 if test $ac_cv_header_gpm_h = yes; then | |
15850 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 | |
15851 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } | 10203 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } |
15852 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then | 10204 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : |
15853 $as_echo_n "(cached) " >&6 | 10205 $as_echo_n "(cached) " >&6 |
15854 else | 10206 else |
15855 ac_check_lib_save_LIBS=$LIBS | 10207 ac_check_lib_save_LIBS=$LIBS |
15856 LIBS="-lgpm $LIBS" | 10208 LIBS="-lgpm $LIBS" |
15857 cat >conftest.$ac_ext <<_ACEOF | 10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15858 /* confdefs.h. */ | |
15859 _ACEOF | |
15860 cat confdefs.h >>conftest.$ac_ext | |
15861 cat >>conftest.$ac_ext <<_ACEOF | |
15862 /* end confdefs.h. */ | 10210 /* end confdefs.h. */ |
15863 | 10211 |
15864 /* Override any GCC internal prototype to avoid an error. | 10212 /* Override any GCC internal prototype to avoid an error. |
15865 Use char because int might match the return type of a GCC | 10213 Use char because int might match the return type of a GCC |
15866 builtin and then its argument prototype would still apply. */ | 10214 builtin and then its argument prototype would still apply. */ |
15874 return Gpm_Open (); | 10222 return Gpm_Open (); |
15875 ; | 10223 ; |
15876 return 0; | 10224 return 0; |
15877 } | 10225 } |
15878 _ACEOF | 10226 _ACEOF |
15879 rm -f conftest.$ac_objext conftest$ac_exeext | 10227 if ac_fn_c_try_link "$LINENO"; then : |
15880 if { (ac_try="$ac_link" | |
15881 case "(($ac_try" in | |
15882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15883 *) ac_try_echo=$ac_try;; | |
15884 esac | |
15885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15886 $as_echo "$ac_try_echo") >&5 | |
15887 (eval "$ac_link") 2>conftest.er1 | |
15888 ac_status=$? | |
15889 grep -v '^ *+' conftest.er1 >conftest.err | |
15890 rm -f conftest.er1 | |
15891 cat conftest.err >&5 | |
15892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15893 (exit $ac_status); } && { | |
15894 test -z "$ac_c_werror_flag" || | |
15895 test ! -s conftest.err | |
15896 } && test -s conftest$ac_exeext && { | |
15897 test "$cross_compiling" = yes || | |
15898 $as_test_x conftest$ac_exeext | |
15899 }; then | |
15900 ac_cv_lib_gpm_Gpm_Open=yes | 10228 ac_cv_lib_gpm_Gpm_Open=yes |
15901 else | 10229 else |
15902 $as_echo "$as_me: failed program was:" >&5 | 10230 ac_cv_lib_gpm_Gpm_Open=no |
15903 sed 's/^/| /' conftest.$ac_ext >&5 | 10231 fi |
15904 | 10232 rm -f core conftest.err conftest.$ac_objext \ |
15905 ac_cv_lib_gpm_Gpm_Open=no | 10233 conftest$ac_exeext conftest.$ac_ext |
15906 fi | |
15907 | |
15908 rm -rf conftest.dSYM | |
15909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15910 conftest$ac_exeext conftest.$ac_ext | |
15911 LIBS=$ac_check_lib_save_LIBS | 10234 LIBS=$ac_check_lib_save_LIBS |
15912 fi | 10235 fi |
15913 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 | 10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
15914 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } | 10237 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } |
15915 if test $ac_cv_lib_gpm_Gpm_Open = yes; then | 10238 if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : |
15916 HAVE_GPM=yes | 10239 HAVE_GPM=yes |
15917 fi | 10240 fi |
15918 | 10241 |
15919 fi | 10242 fi |
15920 | 10243 |
15921 | 10244 |
15922 | 10245 |
15923 if test "${HAVE_GPM}" = "yes"; then | 10246 if test "${HAVE_GPM}" = "yes"; then |
15924 | 10247 |
15925 cat >>confdefs.h <<\_ACEOF | 10248 $as_echo "#define HAVE_GPM 1" >>confdefs.h |
15926 #define HAVE_GPM 1 | |
15927 _ACEOF | |
15928 | 10249 |
15929 LIBGPM=-lgpm | 10250 LIBGPM=-lgpm |
15930 fi | 10251 fi |
15931 fi | 10252 fi |
15932 | 10253 |
15933 | 10254 |
15934 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 10255 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" |
15935 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | 10256 if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : |
15936 $as_echo_n "checking for malloc/malloc.h... " >&6; } | 10257 |
15937 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 10258 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h |
15938 $as_echo_n "(cached) " >&6 | |
15939 fi | |
15940 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | |
15941 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | |
15942 else | |
15943 # Is the header compilable? | |
15944 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 | |
15945 $as_echo_n "checking malloc/malloc.h usability... " >&6; } | |
15946 cat >conftest.$ac_ext <<_ACEOF | |
15947 /* confdefs.h. */ | |
15948 _ACEOF | |
15949 cat confdefs.h >>conftest.$ac_ext | |
15950 cat >>conftest.$ac_ext <<_ACEOF | |
15951 /* end confdefs.h. */ | |
15952 $ac_includes_default | |
15953 #include <malloc/malloc.h> | |
15954 _ACEOF | |
15955 rm -f conftest.$ac_objext | |
15956 if { (ac_try="$ac_compile" | |
15957 case "(($ac_try" in | |
15958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15959 *) ac_try_echo=$ac_try;; | |
15960 esac | |
15961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15962 $as_echo "$ac_try_echo") >&5 | |
15963 (eval "$ac_compile") 2>conftest.er1 | |
15964 ac_status=$? | |
15965 grep -v '^ *+' conftest.er1 >conftest.err | |
15966 rm -f conftest.er1 | |
15967 cat conftest.err >&5 | |
15968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15969 (exit $ac_status); } && { | |
15970 test -z "$ac_c_werror_flag" || | |
15971 test ! -s conftest.err | |
15972 } && test -s conftest.$ac_objext; then | |
15973 ac_header_compiler=yes | |
15974 else | |
15975 $as_echo "$as_me: failed program was:" >&5 | |
15976 sed 's/^/| /' conftest.$ac_ext >&5 | |
15977 | |
15978 ac_header_compiler=no | |
15979 fi | |
15980 | |
15981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
15982 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15983 $as_echo "$ac_header_compiler" >&6; } | |
15984 | |
15985 # Is the header present? | |
15986 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 | |
15987 $as_echo_n "checking malloc/malloc.h presence... " >&6; } | |
15988 cat >conftest.$ac_ext <<_ACEOF | |
15989 /* confdefs.h. */ | |
15990 _ACEOF | |
15991 cat confdefs.h >>conftest.$ac_ext | |
15992 cat >>conftest.$ac_ext <<_ACEOF | |
15993 /* end confdefs.h. */ | |
15994 #include <malloc/malloc.h> | |
15995 _ACEOF | |
15996 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15997 case "(($ac_try" in | |
15998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15999 *) ac_try_echo=$ac_try;; | |
16000 esac | |
16001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16002 $as_echo "$ac_try_echo") >&5 | |
16003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16004 ac_status=$? | |
16005 grep -v '^ *+' conftest.er1 >conftest.err | |
16006 rm -f conftest.er1 | |
16007 cat conftest.err >&5 | |
16008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16009 (exit $ac_status); } >/dev/null && { | |
16010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
16011 test ! -s conftest.err | |
16012 }; then | |
16013 ac_header_preproc=yes | |
16014 else | |
16015 $as_echo "$as_me: failed program was:" >&5 | |
16016 sed 's/^/| /' conftest.$ac_ext >&5 | |
16017 | |
16018 ac_header_preproc=no | |
16019 fi | |
16020 | |
16021 rm -f conftest.err conftest.$ac_ext | |
16022 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
16023 $as_echo "$ac_header_preproc" >&6; } | |
16024 | |
16025 # So? What about this header? | |
16026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
16027 yes:no: ) | |
16028 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
16029 $as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
16030 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5 | |
16031 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;} | |
16032 ac_header_preproc=yes | |
16033 ;; | |
16034 no:yes:* ) | |
16035 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5 | |
16036 $as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;} | |
16037 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5 | |
16038 $as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;} | |
16039 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5 | |
16040 $as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;} | |
16041 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5 | |
16042 $as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
16043 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 | |
16044 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} | |
16045 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 | |
16046 $as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} | |
16047 | |
16048 ;; | |
16049 esac | |
16050 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | |
16051 $as_echo_n "checking for malloc/malloc.h... " >&6; } | |
16052 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | |
16053 $as_echo_n "(cached) " >&6 | |
16054 else | |
16055 ac_cv_header_malloc_malloc_h=$ac_header_preproc | |
16056 fi | |
16057 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | |
16058 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | |
16059 | |
16060 fi | |
16061 if test $ac_cv_header_malloc_malloc_h = yes; then | |
16062 | |
16063 cat >>confdefs.h <<\_ACEOF | |
16064 #define HAVE_MALLOC_MALLOC_H 1 | |
16065 _ACEOF | |
16066 | 10259 |
16067 fi | 10260 fi |
16068 | 10261 |
16069 | 10262 |
16070 | 10263 |
16071 ### Use NeXTstep API to implement GUI. | 10264 ### Use NeXTstep API to implement GUI. |
16072 if test "${HAVE_NS}" = "yes"; then | 10265 if test "${HAVE_NS}" = "yes"; then |
16073 | 10266 |
16074 cat >>confdefs.h <<\_ACEOF | 10267 $as_echo "#define HAVE_NS 1" >>confdefs.h |
16075 #define HAVE_NS 1 | |
16076 _ACEOF | |
16077 | 10268 |
16078 if test "${NS_IMPL_COCOA}" = "yes"; then | 10269 if test "${NS_IMPL_COCOA}" = "yes"; then |
16079 | 10270 |
16080 cat >>confdefs.h <<\_ACEOF | 10271 $as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h |
16081 #define NS_IMPL_COCOA 1 | |
16082 _ACEOF | |
16083 | 10272 |
16084 GNU_OBJC_CFLAGS= | 10273 GNU_OBJC_CFLAGS= |
16085 fi | 10274 fi |
16086 if test "${NS_IMPL_GNUSTEP}" = "yes"; then | 10275 if test "${NS_IMPL_GNUSTEP}" = "yes"; then |
16087 | 10276 |
16088 cat >>confdefs.h <<\_ACEOF | 10277 $as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h |
16089 #define NS_IMPL_GNUSTEP 1 | |
16090 _ACEOF | |
16091 | 10278 |
16092 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" | 10279 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" |
16093 fi | 10280 fi |
16094 if test "${NS_HAVE_NSINTEGER}" = "yes"; then | 10281 if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
16095 | 10282 |
16096 cat >>confdefs.h <<\_ACEOF | 10283 $as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h |
16097 #define NS_HAVE_NSINTEGER 1 | |
16098 _ACEOF | |
16099 | 10284 |
16100 fi | 10285 fi |
16101 # We also have mouse menus. | 10286 # We also have mouse menus. |
16102 HAVE_MENUS=yes | 10287 HAVE_MENUS=yes |
16103 OTHER_FILES=ns-app | 10288 OTHER_FILES=ns-app |
16106 | 10291 |
16107 ### Use session management (-lSM -lICE) if available | 10292 ### Use session management (-lSM -lICE) if available |
16108 HAVE_X_SM=no | 10293 HAVE_X_SM=no |
16109 LIBXSM= | 10294 LIBXSM= |
16110 if test "${HAVE_X11}" = "yes"; then | 10295 if test "${HAVE_X11}" = "yes"; then |
16111 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 10296 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" |
16112 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | 10297 if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : |
16113 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } | 10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 |
16114 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | |
16115 $as_echo_n "(cached) " >&6 | |
16116 fi | |
16117 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | |
16118 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | |
16119 else | |
16120 # Is the header compilable? | |
16121 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | |
16122 $as_echo_n "checking X11/SM/SMlib.h usability... " >&6; } | |
16123 cat >conftest.$ac_ext <<_ACEOF | |
16124 /* confdefs.h. */ | |
16125 _ACEOF | |
16126 cat confdefs.h >>conftest.$ac_ext | |
16127 cat >>conftest.$ac_ext <<_ACEOF | |
16128 /* end confdefs.h. */ | |
16129 $ac_includes_default | |
16130 #include <X11/SM/SMlib.h> | |
16131 _ACEOF | |
16132 rm -f conftest.$ac_objext | |
16133 if { (ac_try="$ac_compile" | |
16134 case "(($ac_try" in | |
16135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16136 *) ac_try_echo=$ac_try;; | |
16137 esac | |
16138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16139 $as_echo "$ac_try_echo") >&5 | |
16140 (eval "$ac_compile") 2>conftest.er1 | |
16141 ac_status=$? | |
16142 grep -v '^ *+' conftest.er1 >conftest.err | |
16143 rm -f conftest.er1 | |
16144 cat conftest.err >&5 | |
16145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16146 (exit $ac_status); } && { | |
16147 test -z "$ac_c_werror_flag" || | |
16148 test ! -s conftest.err | |
16149 } && test -s conftest.$ac_objext; then | |
16150 ac_header_compiler=yes | |
16151 else | |
16152 $as_echo "$as_me: failed program was:" >&5 | |
16153 sed 's/^/| /' conftest.$ac_ext >&5 | |
16154 | |
16155 ac_header_compiler=no | |
16156 fi | |
16157 | |
16158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
16159 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
16160 $as_echo "$ac_header_compiler" >&6; } | |
16161 | |
16162 # Is the header present? | |
16163 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | |
16164 $as_echo_n "checking X11/SM/SMlib.h presence... " >&6; } | |
16165 cat >conftest.$ac_ext <<_ACEOF | |
16166 /* confdefs.h. */ | |
16167 _ACEOF | |
16168 cat confdefs.h >>conftest.$ac_ext | |
16169 cat >>conftest.$ac_ext <<_ACEOF | |
16170 /* end confdefs.h. */ | |
16171 #include <X11/SM/SMlib.h> | |
16172 _ACEOF | |
16173 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
16174 case "(($ac_try" in | |
16175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16176 *) ac_try_echo=$ac_try;; | |
16177 esac | |
16178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16179 $as_echo "$ac_try_echo") >&5 | |
16180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16181 ac_status=$? | |
16182 grep -v '^ *+' conftest.er1 >conftest.err | |
16183 rm -f conftest.er1 | |
16184 cat conftest.err >&5 | |
16185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16186 (exit $ac_status); } >/dev/null && { | |
16187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
16188 test ! -s conftest.err | |
16189 }; then | |
16190 ac_header_preproc=yes | |
16191 else | |
16192 $as_echo "$as_me: failed program was:" >&5 | |
16193 sed 's/^/| /' conftest.$ac_ext >&5 | |
16194 | |
16195 ac_header_preproc=no | |
16196 fi | |
16197 | |
16198 rm -f conftest.err conftest.$ac_ext | |
16199 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
16200 $as_echo "$ac_header_preproc" >&6; } | |
16201 | |
16202 # So? What about this header? | |
16203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
16204 yes:no: ) | |
16205 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
16206 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
16207 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5 | |
16208 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;} | |
16209 ac_header_preproc=yes | |
16210 ;; | |
16211 no:yes:* ) | |
16212 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 | |
16213 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} | |
16214 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 | |
16215 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} | |
16216 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5 | |
16217 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;} | |
16218 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5 | |
16219 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
16220 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | |
16221 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} | |
16222 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 | |
16223 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} | |
16224 | |
16225 ;; | |
16226 esac | |
16227 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | |
16228 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } | |
16229 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | |
16230 $as_echo_n "(cached) " >&6 | |
16231 else | |
16232 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | |
16233 fi | |
16234 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | |
16235 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | |
16236 | |
16237 fi | |
16238 if test $ac_cv_header_X11_SM_SMlib_h = yes; then | |
16239 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | |
16240 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } | 10299 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } |
16241 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then | 10300 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : |
16242 $as_echo_n "(cached) " >&6 | 10301 $as_echo_n "(cached) " >&6 |
16243 else | 10302 else |
16244 ac_check_lib_save_LIBS=$LIBS | 10303 ac_check_lib_save_LIBS=$LIBS |
16245 LIBS="-lSM -lICE $LIBS" | 10304 LIBS="-lSM -lICE $LIBS" |
16246 cat >conftest.$ac_ext <<_ACEOF | 10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16247 /* confdefs.h. */ | |
16248 _ACEOF | |
16249 cat confdefs.h >>conftest.$ac_ext | |
16250 cat >>conftest.$ac_ext <<_ACEOF | |
16251 /* end confdefs.h. */ | 10306 /* end confdefs.h. */ |
16252 | 10307 |
16253 /* Override any GCC internal prototype to avoid an error. | 10308 /* Override any GCC internal prototype to avoid an error. |
16254 Use char because int might match the return type of a GCC | 10309 Use char because int might match the return type of a GCC |
16255 builtin and then its argument prototype would still apply. */ | 10310 builtin and then its argument prototype would still apply. */ |
16263 return SmcOpenConnection (); | 10318 return SmcOpenConnection (); |
16264 ; | 10319 ; |
16265 return 0; | 10320 return 0; |
16266 } | 10321 } |
16267 _ACEOF | 10322 _ACEOF |
16268 rm -f conftest.$ac_objext conftest$ac_exeext | 10323 if ac_fn_c_try_link "$LINENO"; then : |
16269 if { (ac_try="$ac_link" | |
16270 case "(($ac_try" in | |
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16272 *) ac_try_echo=$ac_try;; | |
16273 esac | |
16274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16275 $as_echo "$ac_try_echo") >&5 | |
16276 (eval "$ac_link") 2>conftest.er1 | |
16277 ac_status=$? | |
16278 grep -v '^ *+' conftest.er1 >conftest.err | |
16279 rm -f conftest.er1 | |
16280 cat conftest.err >&5 | |
16281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16282 (exit $ac_status); } && { | |
16283 test -z "$ac_c_werror_flag" || | |
16284 test ! -s conftest.err | |
16285 } && test -s conftest$ac_exeext && { | |
16286 test "$cross_compiling" = yes || | |
16287 $as_test_x conftest$ac_exeext | |
16288 }; then | |
16289 ac_cv_lib_SM_SmcOpenConnection=yes | 10324 ac_cv_lib_SM_SmcOpenConnection=yes |
16290 else | 10325 else |
16291 $as_echo "$as_me: failed program was:" >&5 | 10326 ac_cv_lib_SM_SmcOpenConnection=no |
16292 sed 's/^/| /' conftest.$ac_ext >&5 | 10327 fi |
16293 | 10328 rm -f core conftest.err conftest.$ac_objext \ |
16294 ac_cv_lib_SM_SmcOpenConnection=no | 10329 conftest$ac_exeext conftest.$ac_ext |
16295 fi | |
16296 | |
16297 rm -rf conftest.dSYM | |
16298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16299 conftest$ac_exeext conftest.$ac_ext | |
16300 LIBS=$ac_check_lib_save_LIBS | 10330 LIBS=$ac_check_lib_save_LIBS |
16301 fi | 10331 fi |
16302 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
16303 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } | 10333 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
16304 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then | 10334 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : |
16305 HAVE_X_SM=yes | 10335 HAVE_X_SM=yes |
16306 fi | 10336 fi |
16307 | 10337 |
16308 fi | 10338 fi |
16309 | 10339 |
16310 | 10340 |
16311 | 10341 |
16312 if test "${HAVE_X_SM}" = "yes"; then | 10342 if test "${HAVE_X_SM}" = "yes"; then |
16313 | 10343 |
16314 cat >>confdefs.h <<\_ACEOF | 10344 $as_echo "#define HAVE_X_SM 1" >>confdefs.h |
16315 #define HAVE_X_SM 1 | |
16316 _ACEOF | |
16317 | 10345 |
16318 LIBXSM="-lSM -lICE" | 10346 LIBXSM="-lSM -lICE" |
16319 case "$LIBS" in | 10347 case "$LIBS" in |
16320 *-lSM*) ;; | 10348 *-lSM*) ;; |
16321 *) LIBS="$LIBXSM $LIBS" ;; | 10349 *) LIBS="$LIBXSM $LIBS" ;; |
16323 fi | 10351 fi |
16324 fi | 10352 fi |
16325 | 10353 |
16326 | 10354 |
16327 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 10355 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
16328 { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 | 10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 |
16329 $as_echo_n "checking whether netdb declares h_errno... " >&6; } | 10357 $as_echo_n "checking whether netdb declares h_errno... " >&6; } |
16330 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then | 10358 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : |
16331 $as_echo_n "(cached) " >&6 | 10359 $as_echo_n "(cached) " >&6 |
16332 else | 10360 else |
16333 cat >conftest.$ac_ext <<_ACEOF | 10361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16334 /* confdefs.h. */ | |
16335 _ACEOF | |
16336 cat confdefs.h >>conftest.$ac_ext | |
16337 cat >>conftest.$ac_ext <<_ACEOF | |
16338 /* end confdefs.h. */ | 10362 /* end confdefs.h. */ |
16339 #include <netdb.h> | 10363 #include <netdb.h> |
16340 int | 10364 int |
16341 main () | 10365 main () |
16342 { | 10366 { |
16343 return h_errno; | 10367 return h_errno; |
16344 ; | 10368 ; |
16345 return 0; | 10369 return 0; |
16346 } | 10370 } |
16347 _ACEOF | 10371 _ACEOF |
16348 rm -f conftest.$ac_objext conftest$ac_exeext | 10372 if ac_fn_c_try_link "$LINENO"; then : |
16349 if { (ac_try="$ac_link" | |
16350 case "(($ac_try" in | |
16351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16352 *) ac_try_echo=$ac_try;; | |
16353 esac | |
16354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16355 $as_echo "$ac_try_echo") >&5 | |
16356 (eval "$ac_link") 2>conftest.er1 | |
16357 ac_status=$? | |
16358 grep -v '^ *+' conftest.er1 >conftest.err | |
16359 rm -f conftest.er1 | |
16360 cat conftest.err >&5 | |
16361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16362 (exit $ac_status); } && { | |
16363 test -z "$ac_c_werror_flag" || | |
16364 test ! -s conftest.err | |
16365 } && test -s conftest$ac_exeext && { | |
16366 test "$cross_compiling" = yes || | |
16367 $as_test_x conftest$ac_exeext | |
16368 }; then | |
16369 emacs_cv_netdb_declares_h_errno=yes | 10373 emacs_cv_netdb_declares_h_errno=yes |
16370 else | 10374 else |
16371 $as_echo "$as_me: failed program was:" >&5 | 10375 emacs_cv_netdb_declares_h_errno=no |
16372 sed 's/^/| /' conftest.$ac_ext >&5 | 10376 fi |
16373 | 10377 rm -f core conftest.err conftest.$ac_objext \ |
16374 emacs_cv_netdb_declares_h_errno=no | 10378 conftest$ac_exeext conftest.$ac_ext |
16375 fi | 10379 fi |
16376 | 10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5 |
16377 rm -rf conftest.dSYM | |
16378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16379 conftest$ac_exeext conftest.$ac_ext | |
16380 fi | |
16381 { $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 | |
16382 $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } | 10381 $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } |
16383 if test $emacs_cv_netdb_declares_h_errno = yes; then | 10382 if test $emacs_cv_netdb_declares_h_errno = yes; then |
16384 | 10383 |
16385 cat >>confdefs.h <<\_ACEOF | 10384 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h |
16386 #define HAVE_H_ERRNO 1 | |
16387 _ACEOF | |
16388 | 10385 |
16389 fi | 10386 fi |
16390 | 10387 |
16391 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 10388 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
16392 # for constant arguments. Useless! | 10389 # for constant arguments. Useless! |
16393 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
16394 $as_echo_n "checking for working alloca.h... " >&6; } | 10391 $as_echo_n "checking for working alloca.h... " >&6; } |
16395 if test "${ac_cv_working_alloca_h+set}" = set; then | 10392 if test "${ac_cv_working_alloca_h+set}" = set; then : |
16396 $as_echo_n "(cached) " >&6 | 10393 $as_echo_n "(cached) " >&6 |
16397 else | 10394 else |
16398 cat >conftest.$ac_ext <<_ACEOF | 10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16399 /* confdefs.h. */ | |
16400 _ACEOF | |
16401 cat confdefs.h >>conftest.$ac_ext | |
16402 cat >>conftest.$ac_ext <<_ACEOF | |
16403 /* end confdefs.h. */ | 10396 /* end confdefs.h. */ |
16404 #include <alloca.h> | 10397 #include <alloca.h> |
16405 int | 10398 int |
16406 main () | 10399 main () |
16407 { | 10400 { |
16409 if (p) return 0; | 10402 if (p) return 0; |
16410 ; | 10403 ; |
16411 return 0; | 10404 return 0; |
16412 } | 10405 } |
16413 _ACEOF | 10406 _ACEOF |
16414 rm -f conftest.$ac_objext conftest$ac_exeext | 10407 if ac_fn_c_try_link "$LINENO"; then : |
16415 if { (ac_try="$ac_link" | |
16416 case "(($ac_try" in | |
16417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16418 *) ac_try_echo=$ac_try;; | |
16419 esac | |
16420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16421 $as_echo "$ac_try_echo") >&5 | |
16422 (eval "$ac_link") 2>conftest.er1 | |
16423 ac_status=$? | |
16424 grep -v '^ *+' conftest.er1 >conftest.err | |
16425 rm -f conftest.er1 | |
16426 cat conftest.err >&5 | |
16427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16428 (exit $ac_status); } && { | |
16429 test -z "$ac_c_werror_flag" || | |
16430 test ! -s conftest.err | |
16431 } && test -s conftest$ac_exeext && { | |
16432 test "$cross_compiling" = yes || | |
16433 $as_test_x conftest$ac_exeext | |
16434 }; then | |
16435 ac_cv_working_alloca_h=yes | 10408 ac_cv_working_alloca_h=yes |
16436 else | 10409 else |
16437 $as_echo "$as_me: failed program was:" >&5 | 10410 ac_cv_working_alloca_h=no |
16438 sed 's/^/| /' conftest.$ac_ext >&5 | 10411 fi |
16439 | 10412 rm -f core conftest.err conftest.$ac_objext \ |
16440 ac_cv_working_alloca_h=no | 10413 conftest$ac_exeext conftest.$ac_ext |
16441 fi | 10414 fi |
16442 | 10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 |
16443 rm -rf conftest.dSYM | |
16444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16445 conftest$ac_exeext conftest.$ac_ext | |
16446 fi | |
16447 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | |
16448 $as_echo "$ac_cv_working_alloca_h" >&6; } | 10416 $as_echo "$ac_cv_working_alloca_h" >&6; } |
16449 if test $ac_cv_working_alloca_h = yes; then | 10417 if test $ac_cv_working_alloca_h = yes; then |
16450 | 10418 |
16451 cat >>confdefs.h <<\_ACEOF | 10419 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h |
16452 #define HAVE_ALLOCA_H 1 | 10420 |
16453 _ACEOF | 10421 fi |
16454 | 10422 |
16455 fi | 10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
16456 | |
16457 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 | |
16458 $as_echo_n "checking for alloca... " >&6; } | 10424 $as_echo_n "checking for alloca... " >&6; } |
16459 if test "${ac_cv_func_alloca_works+set}" = set; then | 10425 if test "${ac_cv_func_alloca_works+set}" = set; then : |
16460 $as_echo_n "(cached) " >&6 | 10426 $as_echo_n "(cached) " >&6 |
16461 else | 10427 else |
16462 cat >conftest.$ac_ext <<_ACEOF | 10428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16463 /* confdefs.h. */ | |
16464 _ACEOF | |
16465 cat confdefs.h >>conftest.$ac_ext | |
16466 cat >>conftest.$ac_ext <<_ACEOF | |
16467 /* end confdefs.h. */ | 10429 /* end confdefs.h. */ |
16468 #ifdef __GNUC__ | 10430 #ifdef __GNUC__ |
16469 # define alloca __builtin_alloca | 10431 # define alloca __builtin_alloca |
16470 #else | 10432 #else |
16471 # ifdef _MSC_VER | 10433 # ifdef _MSC_VER |
16493 if (p) return 0; | 10455 if (p) return 0; |
16494 ; | 10456 ; |
16495 return 0; | 10457 return 0; |
16496 } | 10458 } |
16497 _ACEOF | 10459 _ACEOF |
16498 rm -f conftest.$ac_objext conftest$ac_exeext | 10460 if ac_fn_c_try_link "$LINENO"; then : |
16499 if { (ac_try="$ac_link" | |
16500 case "(($ac_try" in | |
16501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16502 *) ac_try_echo=$ac_try;; | |
16503 esac | |
16504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16505 $as_echo "$ac_try_echo") >&5 | |
16506 (eval "$ac_link") 2>conftest.er1 | |
16507 ac_status=$? | |
16508 grep -v '^ *+' conftest.er1 >conftest.err | |
16509 rm -f conftest.er1 | |
16510 cat conftest.err >&5 | |
16511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16512 (exit $ac_status); } && { | |
16513 test -z "$ac_c_werror_flag" || | |
16514 test ! -s conftest.err | |
16515 } && test -s conftest$ac_exeext && { | |
16516 test "$cross_compiling" = yes || | |
16517 $as_test_x conftest$ac_exeext | |
16518 }; then | |
16519 ac_cv_func_alloca_works=yes | 10461 ac_cv_func_alloca_works=yes |
16520 else | 10462 else |
16521 $as_echo "$as_me: failed program was:" >&5 | 10463 ac_cv_func_alloca_works=no |
16522 sed 's/^/| /' conftest.$ac_ext >&5 | 10464 fi |
16523 | 10465 rm -f core conftest.err conftest.$ac_objext \ |
16524 ac_cv_func_alloca_works=no | 10466 conftest$ac_exeext conftest.$ac_ext |
16525 fi | 10467 fi |
16526 | 10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 |
16527 rm -rf conftest.dSYM | |
16528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16529 conftest$ac_exeext conftest.$ac_ext | |
16530 fi | |
16531 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | |
16532 $as_echo "$ac_cv_func_alloca_works" >&6; } | 10469 $as_echo "$ac_cv_func_alloca_works" >&6; } |
16533 | 10470 |
16534 if test $ac_cv_func_alloca_works = yes; then | 10471 if test $ac_cv_func_alloca_works = yes; then |
16535 | 10472 |
16536 cat >>confdefs.h <<\_ACEOF | 10473 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h |
16537 #define HAVE_ALLOCA 1 | |
16538 _ACEOF | |
16539 | 10474 |
16540 else | 10475 else |
16541 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 10476 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
16542 # that cause trouble. Some versions do not even contain alloca or | 10477 # that cause trouble. Some versions do not even contain alloca or |
16543 # contain a buggy version. If you still want to use their alloca, | 10478 # contain a buggy version. If you still want to use their alloca, |
16544 # use ar to extract alloca.o from them instead of compiling alloca.c. | 10479 # use ar to extract alloca.o from them instead of compiling alloca.c. |
16545 | 10480 |
16546 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 10481 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
16547 | 10482 |
16548 cat >>confdefs.h <<\_ACEOF | 10483 $as_echo "#define C_ALLOCA 1" >>confdefs.h |
16549 #define C_ALLOCA 1 | 10484 |
16550 _ACEOF | 10485 |
16551 | 10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
16552 | |
16553 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | |
16554 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 10487 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
16555 if test "${ac_cv_os_cray+set}" = set; then | 10488 if test "${ac_cv_os_cray+set}" = set; then : |
16556 $as_echo_n "(cached) " >&6 | 10489 $as_echo_n "(cached) " >&6 |
16557 else | 10490 else |
16558 cat >conftest.$ac_ext <<_ACEOF | 10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16559 /* confdefs.h. */ | |
16560 _ACEOF | |
16561 cat confdefs.h >>conftest.$ac_ext | |
16562 cat >>conftest.$ac_ext <<_ACEOF | |
16563 /* end confdefs.h. */ | 10492 /* end confdefs.h. */ |
16564 #if defined CRAY && ! defined CRAY2 | 10493 #if defined CRAY && ! defined CRAY2 |
16565 webecray | 10494 webecray |
16566 #else | 10495 #else |
16567 wenotbecray | 10496 wenotbecray |
16568 #endif | 10497 #endif |
16569 | 10498 |
16570 _ACEOF | 10499 _ACEOF |
16571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
16572 $EGREP "webecray" >/dev/null 2>&1; then | 10501 $EGREP "webecray" >/dev/null 2>&1; then : |
16573 ac_cv_os_cray=yes | 10502 ac_cv_os_cray=yes |
16574 else | 10503 else |
16575 ac_cv_os_cray=no | 10504 ac_cv_os_cray=no |
16576 fi | 10505 fi |
16577 rm -f conftest* | 10506 rm -f conftest* |
16578 | 10507 |
16579 fi | 10508 fi |
16580 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 |
16581 $as_echo "$ac_cv_os_cray" >&6; } | 10510 $as_echo "$ac_cv_os_cray" >&6; } |
16582 if test $ac_cv_os_cray = yes; then | 10511 if test $ac_cv_os_cray = yes; then |
16583 for ac_func in _getb67 GETB67 getb67; do | 10512 for ac_func in _getb67 GETB67 getb67; do |
16584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
16585 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
16586 $as_echo_n "checking for $ac_func... " >&6; } | 10515 eval as_val=\$$as_ac_var |
16587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10516 if test "x$as_val" = x""yes; then : |
16588 $as_echo_n "(cached) " >&6 | |
16589 else | |
16590 cat >conftest.$ac_ext <<_ACEOF | |
16591 /* confdefs.h. */ | |
16592 _ACEOF | |
16593 cat confdefs.h >>conftest.$ac_ext | |
16594 cat >>conftest.$ac_ext <<_ACEOF | |
16595 /* end confdefs.h. */ | |
16596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
16597 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
16598 #define $ac_func innocuous_$ac_func | |
16599 | |
16600 /* System header to define __stub macros and hopefully few prototypes, | |
16601 which can conflict with char $ac_func (); below. | |
16602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
16603 <limits.h> exists even on freestanding compilers. */ | |
16604 | |
16605 #ifdef __STDC__ | |
16606 # include <limits.h> | |
16607 #else | |
16608 # include <assert.h> | |
16609 #endif | |
16610 | |
16611 #undef $ac_func | |
16612 | |
16613 /* Override any GCC internal prototype to avoid an error. | |
16614 Use char because int might match the return type of a GCC | |
16615 builtin and then its argument prototype would still apply. */ | |
16616 #ifdef __cplusplus | |
16617 extern "C" | |
16618 #endif | |
16619 char $ac_func (); | |
16620 /* The GNU C library defines this for functions which it implements | |
16621 to always fail with ENOSYS. Some functions are actually named | |
16622 something starting with __ and the normal name is an alias. */ | |
16623 #if defined __stub_$ac_func || defined __stub___$ac_func | |
16624 choke me | |
16625 #endif | |
16626 | |
16627 int | |
16628 main () | |
16629 { | |
16630 return $ac_func (); | |
16631 ; | |
16632 return 0; | |
16633 } | |
16634 _ACEOF | |
16635 rm -f conftest.$ac_objext conftest$ac_exeext | |
16636 if { (ac_try="$ac_link" | |
16637 case "(($ac_try" in | |
16638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16639 *) ac_try_echo=$ac_try;; | |
16640 esac | |
16641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16642 $as_echo "$ac_try_echo") >&5 | |
16643 (eval "$ac_link") 2>conftest.er1 | |
16644 ac_status=$? | |
16645 grep -v '^ *+' conftest.er1 >conftest.err | |
16646 rm -f conftest.er1 | |
16647 cat conftest.err >&5 | |
16648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16649 (exit $ac_status); } && { | |
16650 test -z "$ac_c_werror_flag" || | |
16651 test ! -s conftest.err | |
16652 } && test -s conftest$ac_exeext && { | |
16653 test "$cross_compiling" = yes || | |
16654 $as_test_x conftest$ac_exeext | |
16655 }; then | |
16656 eval "$as_ac_var=yes" | |
16657 else | |
16658 $as_echo "$as_me: failed program was:" >&5 | |
16659 sed 's/^/| /' conftest.$ac_ext >&5 | |
16660 | |
16661 eval "$as_ac_var=no" | |
16662 fi | |
16663 | |
16664 rm -rf conftest.dSYM | |
16665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16666 conftest$ac_exeext conftest.$ac_ext | |
16667 fi | |
16668 ac_res=`eval 'as_val=${'$as_ac_var'} | |
16669 $as_echo "$as_val"'` | |
16670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
16671 $as_echo "$ac_res" >&6; } | |
16672 if test `eval 'as_val=${'$as_ac_var'} | |
16673 $as_echo "$as_val"'` = yes; then | |
16674 | 10517 |
16675 cat >>confdefs.h <<_ACEOF | 10518 cat >>confdefs.h <<_ACEOF |
16676 #define CRAY_STACKSEG_END $ac_func | 10519 #define CRAY_STACKSEG_END $ac_func |
16677 _ACEOF | 10520 _ACEOF |
16678 | 10521 |
16680 fi | 10523 fi |
16681 | 10524 |
16682 done | 10525 done |
16683 fi | 10526 fi |
16684 | 10527 |
16685 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
16686 $as_echo_n "checking stack direction for C alloca... " >&6; } | 10529 $as_echo_n "checking stack direction for C alloca... " >&6; } |
16687 if test "${ac_cv_c_stack_direction+set}" = set; then | 10530 if test "${ac_cv_c_stack_direction+set}" = set; then : |
16688 $as_echo_n "(cached) " >&6 | 10531 $as_echo_n "(cached) " >&6 |
16689 else | 10532 else |
16690 if test "$cross_compiling" = yes; then | 10533 if test "$cross_compiling" = yes; then : |
16691 ac_cv_c_stack_direction=0 | 10534 ac_cv_c_stack_direction=0 |
16692 else | 10535 else |
16693 cat >conftest.$ac_ext <<_ACEOF | 10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16694 /* confdefs.h. */ | |
16695 _ACEOF | |
16696 cat confdefs.h >>conftest.$ac_ext | |
16697 cat >>conftest.$ac_ext <<_ACEOF | |
16698 /* end confdefs.h. */ | 10537 /* end confdefs.h. */ |
16699 $ac_includes_default | 10538 $ac_includes_default |
16700 int | 10539 int |
16701 find_stack_direction () | 10540 find_stack_direction () |
16702 { | 10541 { |
16715 main () | 10554 main () |
16716 { | 10555 { |
16717 return find_stack_direction () < 0; | 10556 return find_stack_direction () < 0; |
16718 } | 10557 } |
16719 _ACEOF | 10558 _ACEOF |
16720 rm -f conftest$ac_exeext | 10559 if ac_fn_c_try_run "$LINENO"; then : |
16721 if { (ac_try="$ac_link" | |
16722 case "(($ac_try" in | |
16723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16724 *) ac_try_echo=$ac_try;; | |
16725 esac | |
16726 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16727 $as_echo "$ac_try_echo") >&5 | |
16728 (eval "$ac_link") 2>&5 | |
16729 ac_status=$? | |
16730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16731 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
16732 { (case "(($ac_try" in | |
16733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16734 *) ac_try_echo=$ac_try;; | |
16735 esac | |
16736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16737 $as_echo "$ac_try_echo") >&5 | |
16738 (eval "$ac_try") 2>&5 | |
16739 ac_status=$? | |
16740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16741 (exit $ac_status); }; }; then | |
16742 ac_cv_c_stack_direction=1 | 10560 ac_cv_c_stack_direction=1 |
16743 else | 10561 else |
16744 $as_echo "$as_me: program exited with status $ac_status" >&5 | 10562 ac_cv_c_stack_direction=-1 |
16745 $as_echo "$as_me: failed program was:" >&5 | 10563 fi |
16746 sed 's/^/| /' conftest.$ac_ext >&5 | 10564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
16747 | 10565 conftest.$ac_objext conftest.beam conftest.$ac_ext |
16748 ( exit $ac_status ) | 10566 fi |
16749 ac_cv_c_stack_direction=-1 | 10567 |
16750 fi | 10568 fi |
16751 rm -rf conftest.dSYM | 10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 |
16752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
16753 fi | |
16754 | |
16755 | |
16756 fi | |
16757 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | |
16758 $as_echo "$ac_cv_c_stack_direction" >&6; } | 10570 $as_echo "$ac_cv_c_stack_direction" >&6; } |
16759 | |
16760 cat >>confdefs.h <<_ACEOF | 10571 cat >>confdefs.h <<_ACEOF |
16761 #define STACK_DIRECTION $ac_cv_c_stack_direction | 10572 #define STACK_DIRECTION $ac_cv_c_stack_direction |
16762 _ACEOF | 10573 _ACEOF |
16763 | 10574 |
16764 | 10575 |
16765 fi | 10576 fi |
16766 | 10577 |
16767 | 10578 |
16768 if test x"$ac_cv_func_alloca_works" != xyes; then | 10579 if test x"$ac_cv_func_alloca_works" != xyes; then |
16769 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 | 10580 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 |
16770 $as_echo "$as_me: error: a system implementation of alloca is required " >&2;} | |
16771 { (exit 1); exit 1; }; } | |
16772 fi | 10581 fi |
16773 | 10582 |
16774 # fmod, logb, and frexp are found in -lm on most systems. | 10583 # fmod, logb, and frexp are found in -lm on most systems. |
16775 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 10584 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
16776 | 10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
16777 { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | |
16778 $as_echo_n "checking for sqrt in -lm... " >&6; } | 10586 $as_echo_n "checking for sqrt in -lm... " >&6; } |
16779 if test "${ac_cv_lib_m_sqrt+set}" = set; then | 10587 if test "${ac_cv_lib_m_sqrt+set}" = set; then : |
16780 $as_echo_n "(cached) " >&6 | 10588 $as_echo_n "(cached) " >&6 |
16781 else | 10589 else |
16782 ac_check_lib_save_LIBS=$LIBS | 10590 ac_check_lib_save_LIBS=$LIBS |
16783 LIBS="-lm $LIBS" | 10591 LIBS="-lm $LIBS" |
16784 cat >conftest.$ac_ext <<_ACEOF | 10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16785 /* confdefs.h. */ | |
16786 _ACEOF | |
16787 cat confdefs.h >>conftest.$ac_ext | |
16788 cat >>conftest.$ac_ext <<_ACEOF | |
16789 /* end confdefs.h. */ | 10593 /* end confdefs.h. */ |
16790 | 10594 |
16791 /* Override any GCC internal prototype to avoid an error. | 10595 /* Override any GCC internal prototype to avoid an error. |
16792 Use char because int might match the return type of a GCC | 10596 Use char because int might match the return type of a GCC |
16793 builtin and then its argument prototype would still apply. */ | 10597 builtin and then its argument prototype would still apply. */ |
16801 return sqrt (); | 10605 return sqrt (); |
16802 ; | 10606 ; |
16803 return 0; | 10607 return 0; |
16804 } | 10608 } |
16805 _ACEOF | 10609 _ACEOF |
16806 rm -f conftest.$ac_objext conftest$ac_exeext | 10610 if ac_fn_c_try_link "$LINENO"; then : |
16807 if { (ac_try="$ac_link" | |
16808 case "(($ac_try" in | |
16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16810 *) ac_try_echo=$ac_try;; | |
16811 esac | |
16812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16813 $as_echo "$ac_try_echo") >&5 | |
16814 (eval "$ac_link") 2>conftest.er1 | |
16815 ac_status=$? | |
16816 grep -v '^ *+' conftest.er1 >conftest.err | |
16817 rm -f conftest.er1 | |
16818 cat conftest.err >&5 | |
16819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16820 (exit $ac_status); } && { | |
16821 test -z "$ac_c_werror_flag" || | |
16822 test ! -s conftest.err | |
16823 } && test -s conftest$ac_exeext && { | |
16824 test "$cross_compiling" = yes || | |
16825 $as_test_x conftest$ac_exeext | |
16826 }; then | |
16827 ac_cv_lib_m_sqrt=yes | 10611 ac_cv_lib_m_sqrt=yes |
16828 else | 10612 else |
16829 $as_echo "$as_me: failed program was:" >&5 | 10613 ac_cv_lib_m_sqrt=no |
16830 sed 's/^/| /' conftest.$ac_ext >&5 | 10614 fi |
16831 | 10615 rm -f core conftest.err conftest.$ac_objext \ |
16832 ac_cv_lib_m_sqrt=no | 10616 conftest$ac_exeext conftest.$ac_ext |
16833 fi | |
16834 | |
16835 rm -rf conftest.dSYM | |
16836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16837 conftest$ac_exeext conftest.$ac_ext | |
16838 LIBS=$ac_check_lib_save_LIBS | 10617 LIBS=$ac_check_lib_save_LIBS |
16839 fi | 10618 fi |
16840 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 | 10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 |
16841 $as_echo "$ac_cv_lib_m_sqrt" >&6; } | 10620 $as_echo "$ac_cv_lib_m_sqrt" >&6; } |
16842 if test $ac_cv_lib_m_sqrt = yes; then | 10621 if test "x$ac_cv_lib_m_sqrt" = x""yes; then : |
16843 cat >>confdefs.h <<_ACEOF | 10622 cat >>confdefs.h <<_ACEOF |
16844 #define HAVE_LIBM 1 | 10623 #define HAVE_LIBM 1 |
16845 _ACEOF | 10624 _ACEOF |
16846 | 10625 |
16847 LIBS="-lm $LIBS" | 10626 LIBS="-lm $LIBS" |
16849 fi | 10628 fi |
16850 | 10629 |
16851 | 10630 |
16852 # Check for mail-locking functions in a "mail" library. Probably this should | 10631 # Check for mail-locking functions in a "mail" library. Probably this should |
16853 # have the same check as for liblockfile below. | 10632 # have the same check as for liblockfile below. |
16854 { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 | 10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 |
16855 $as_echo_n "checking for maillock in -lmail... " >&6; } | 10634 $as_echo_n "checking for maillock in -lmail... " >&6; } |
16856 if test "${ac_cv_lib_mail_maillock+set}" = set; then | 10635 if test "${ac_cv_lib_mail_maillock+set}" = set; then : |
16857 $as_echo_n "(cached) " >&6 | 10636 $as_echo_n "(cached) " >&6 |
16858 else | 10637 else |
16859 ac_check_lib_save_LIBS=$LIBS | 10638 ac_check_lib_save_LIBS=$LIBS |
16860 LIBS="-lmail $LIBS" | 10639 LIBS="-lmail $LIBS" |
16861 cat >conftest.$ac_ext <<_ACEOF | 10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16862 /* confdefs.h. */ | |
16863 _ACEOF | |
16864 cat confdefs.h >>conftest.$ac_ext | |
16865 cat >>conftest.$ac_ext <<_ACEOF | |
16866 /* end confdefs.h. */ | 10641 /* end confdefs.h. */ |
16867 | 10642 |
16868 /* Override any GCC internal prototype to avoid an error. | 10643 /* Override any GCC internal prototype to avoid an error. |
16869 Use char because int might match the return type of a GCC | 10644 Use char because int might match the return type of a GCC |
16870 builtin and then its argument prototype would still apply. */ | 10645 builtin and then its argument prototype would still apply. */ |
16878 return maillock (); | 10653 return maillock (); |
16879 ; | 10654 ; |
16880 return 0; | 10655 return 0; |
16881 } | 10656 } |
16882 _ACEOF | 10657 _ACEOF |
16883 rm -f conftest.$ac_objext conftest$ac_exeext | 10658 if ac_fn_c_try_link "$LINENO"; then : |
16884 if { (ac_try="$ac_link" | |
16885 case "(($ac_try" in | |
16886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16887 *) ac_try_echo=$ac_try;; | |
16888 esac | |
16889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16890 $as_echo "$ac_try_echo") >&5 | |
16891 (eval "$ac_link") 2>conftest.er1 | |
16892 ac_status=$? | |
16893 grep -v '^ *+' conftest.er1 >conftest.err | |
16894 rm -f conftest.er1 | |
16895 cat conftest.err >&5 | |
16896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16897 (exit $ac_status); } && { | |
16898 test -z "$ac_c_werror_flag" || | |
16899 test ! -s conftest.err | |
16900 } && test -s conftest$ac_exeext && { | |
16901 test "$cross_compiling" = yes || | |
16902 $as_test_x conftest$ac_exeext | |
16903 }; then | |
16904 ac_cv_lib_mail_maillock=yes | 10659 ac_cv_lib_mail_maillock=yes |
16905 else | 10660 else |
16906 $as_echo "$as_me: failed program was:" >&5 | 10661 ac_cv_lib_mail_maillock=no |
16907 sed 's/^/| /' conftest.$ac_ext >&5 | 10662 fi |
16908 | 10663 rm -f core conftest.err conftest.$ac_objext \ |
16909 ac_cv_lib_mail_maillock=no | 10664 conftest$ac_exeext conftest.$ac_ext |
16910 fi | |
16911 | |
16912 rm -rf conftest.dSYM | |
16913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16914 conftest$ac_exeext conftest.$ac_ext | |
16915 LIBS=$ac_check_lib_save_LIBS | 10665 LIBS=$ac_check_lib_save_LIBS |
16916 fi | 10666 fi |
16917 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 | 10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 |
16918 $as_echo "$ac_cv_lib_mail_maillock" >&6; } | 10668 $as_echo "$ac_cv_lib_mail_maillock" >&6; } |
16919 if test $ac_cv_lib_mail_maillock = yes; then | 10669 if test "x$ac_cv_lib_mail_maillock" = x""yes; then : |
16920 have_mail=yes | 10670 have_mail=yes |
16921 else | 10671 else |
16922 have_mail=no | 10672 have_mail=no |
16923 fi | 10673 fi |
16924 | 10674 |
16925 if test $have_mail = yes; then | 10675 if test $have_mail = yes; then |
16926 LIBS_MAIL=-lmail | 10676 LIBS_MAIL=-lmail |
16927 LIBS="$LIBS_MAIL $LIBS" | 10677 LIBS="$LIBS_MAIL $LIBS" |
16928 | 10678 |
16929 cat >>confdefs.h <<\_ACEOF | 10679 $as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h |
16930 #define HAVE_LIBMAIL 1 | |
16931 _ACEOF | |
16932 | 10680 |
16933 else | 10681 else |
16934 LIBS_MAIL= | 10682 LIBS_MAIL= |
16935 fi | 10683 fi |
16936 { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 | 10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 |
16937 $as_echo_n "checking for maillock in -llockfile... " >&6; } | 10685 $as_echo_n "checking for maillock in -llockfile... " >&6; } |
16938 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then | 10686 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : |
16939 $as_echo_n "(cached) " >&6 | 10687 $as_echo_n "(cached) " >&6 |
16940 else | 10688 else |
16941 ac_check_lib_save_LIBS=$LIBS | 10689 ac_check_lib_save_LIBS=$LIBS |
16942 LIBS="-llockfile $LIBS" | 10690 LIBS="-llockfile $LIBS" |
16943 cat >conftest.$ac_ext <<_ACEOF | 10691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16944 /* confdefs.h. */ | |
16945 _ACEOF | |
16946 cat confdefs.h >>conftest.$ac_ext | |
16947 cat >>conftest.$ac_ext <<_ACEOF | |
16948 /* end confdefs.h. */ | 10692 /* end confdefs.h. */ |
16949 | 10693 |
16950 /* Override any GCC internal prototype to avoid an error. | 10694 /* Override any GCC internal prototype to avoid an error. |
16951 Use char because int might match the return type of a GCC | 10695 Use char because int might match the return type of a GCC |
16952 builtin and then its argument prototype would still apply. */ | 10696 builtin and then its argument prototype would still apply. */ |
16960 return maillock (); | 10704 return maillock (); |
16961 ; | 10705 ; |
16962 return 0; | 10706 return 0; |
16963 } | 10707 } |
16964 _ACEOF | 10708 _ACEOF |
16965 rm -f conftest.$ac_objext conftest$ac_exeext | 10709 if ac_fn_c_try_link "$LINENO"; then : |
16966 if { (ac_try="$ac_link" | |
16967 case "(($ac_try" in | |
16968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16969 *) ac_try_echo=$ac_try;; | |
16970 esac | |
16971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16972 $as_echo "$ac_try_echo") >&5 | |
16973 (eval "$ac_link") 2>conftest.er1 | |
16974 ac_status=$? | |
16975 grep -v '^ *+' conftest.er1 >conftest.err | |
16976 rm -f conftest.er1 | |
16977 cat conftest.err >&5 | |
16978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16979 (exit $ac_status); } && { | |
16980 test -z "$ac_c_werror_flag" || | |
16981 test ! -s conftest.err | |
16982 } && test -s conftest$ac_exeext && { | |
16983 test "$cross_compiling" = yes || | |
16984 $as_test_x conftest$ac_exeext | |
16985 }; then | |
16986 ac_cv_lib_lockfile_maillock=yes | 10710 ac_cv_lib_lockfile_maillock=yes |
16987 else | 10711 else |
16988 $as_echo "$as_me: failed program was:" >&5 | 10712 ac_cv_lib_lockfile_maillock=no |
16989 sed 's/^/| /' conftest.$ac_ext >&5 | 10713 fi |
16990 | 10714 rm -f core conftest.err conftest.$ac_objext \ |
16991 ac_cv_lib_lockfile_maillock=no | 10715 conftest$ac_exeext conftest.$ac_ext |
16992 fi | |
16993 | |
16994 rm -rf conftest.dSYM | |
16995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16996 conftest$ac_exeext conftest.$ac_ext | |
16997 LIBS=$ac_check_lib_save_LIBS | 10716 LIBS=$ac_check_lib_save_LIBS |
16998 fi | 10717 fi |
16999 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 | 10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 |
17000 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } | 10719 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } |
17001 if test $ac_cv_lib_lockfile_maillock = yes; then | 10720 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : |
17002 have_lockfile=yes | 10721 have_lockfile=yes |
17003 else | 10722 else |
17004 have_lockfile=no | 10723 have_lockfile=no |
17005 fi | 10724 fi |
17006 | 10725 |
17007 if test $have_lockfile = yes; then | 10726 if test $have_lockfile = yes; then |
17008 LIBS_MAIL=-llockfile | 10727 LIBS_MAIL=-llockfile |
17009 LIBS="$LIBS_MAIL $LIBS" | 10728 LIBS="$LIBS_MAIL $LIBS" |
17010 | 10729 |
17011 cat >>confdefs.h <<\_ACEOF | 10730 $as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h |
17012 #define HAVE_LIBLOCKFILE 1 | |
17013 _ACEOF | |
17014 | 10731 |
17015 else | 10732 else |
17016 # If we have the shared liblockfile, assume we must use it for mail | 10733 # If we have the shared liblockfile, assume we must use it for mail |
17017 # locking (e.g. Debian). If we couldn't link against liblockfile | 10734 # locking (e.g. Debian). If we couldn't link against liblockfile |
17018 # (no liblockfile.a installed), ensure that we don't need to. | 10735 # (no liblockfile.a installed), ensure that we don't need to. |
17019 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 10736 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
17020 set dummy liblockfile.so; ac_word=$2 | 10737 set dummy liblockfile.so; ac_word=$2 |
17021 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 | 10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
17022 $as_echo_n "checking for $ac_word... " >&6; } | 10739 $as_echo_n "checking for $ac_word... " >&6; } |
17023 if test "${ac_cv_prog_liblockfile+set}" = set; then | 10740 if test "${ac_cv_prog_liblockfile+set}" = set; then : |
17024 $as_echo_n "(cached) " >&6 | 10741 $as_echo_n "(cached) " >&6 |
17025 else | 10742 else |
17026 if test -n "$liblockfile"; then | 10743 if test -n "$liblockfile"; then |
17027 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 10744 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
17028 else | 10745 else |
17030 as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" | 10747 as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" |
17031 for as_dir in $as_dummy | 10748 for as_dir in $as_dummy |
17032 do | 10749 do |
17033 IFS=$as_save_IFS | 10750 IFS=$as_save_IFS |
17034 test -z "$as_dir" && as_dir=. | 10751 test -z "$as_dir" && as_dir=. |
17035 for ac_exec_ext in '' $ac_executable_extensions; do | 10752 for ac_exec_ext in '' $ac_executable_extensions; do |
17036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 10753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
17037 ac_cv_prog_liblockfile="yes" | 10754 ac_cv_prog_liblockfile="yes" |
17038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 10755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
17039 break 2 | 10756 break 2 |
17040 fi | 10757 fi |
17041 done | 10758 done |
17042 done | 10759 done |
17043 IFS=$as_save_IFS | 10760 IFS=$as_save_IFS |
17044 | 10761 |
17045 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 10762 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
17046 fi | 10763 fi |
17047 fi | 10764 fi |
17048 liblockfile=$ac_cv_prog_liblockfile | 10765 liblockfile=$ac_cv_prog_liblockfile |
17049 if test -n "$liblockfile"; then | 10766 if test -n "$liblockfile"; then |
17050 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 | 10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5 |
17051 $as_echo "$liblockfile" >&6; } | 10768 $as_echo "$liblockfile" >&6; } |
17052 else | 10769 else |
17053 { $as_echo "$as_me:$LINENO: result: no" >&5 | 10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
17054 $as_echo "no" >&6; } | 10771 $as_echo "no" >&6; } |
17055 fi | 10772 fi |
17056 | 10773 |
17057 | 10774 |
17058 if test $ac_cv_prog_liblockfile = yes; then | 10775 if test $ac_cv_prog_liblockfile = yes; then |
17059 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. | 10776 as_fn_error "Shared liblockfile found but can't link against it. |
17060 This probably means that movemail could lose mail. | 10777 This probably means that movemail could lose mail. |
17061 There may be a \`development' package to install containing liblockfile." >&5 | 10778 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 |
17062 $as_echo "$as_me: error: Shared liblockfile found but can't link against it. | |
17063 This probably means that movemail could lose mail. | |
17064 There may be a \`development' package to install containing liblockfile." >&2;} | |
17065 { (exit 1); exit 1; }; } | |
17066 fi | 10779 fi |
17067 fi | 10780 fi |
17068 | |
17069 for ac_func in touchlock | 10781 for ac_func in touchlock |
17070 do | 10782 do : |
17071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10783 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" |
17072 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10784 if test "x$ac_cv_func_touchlock" = x""yes; then : |
17073 $as_echo_n "checking for $ac_func... " >&6; } | |
17074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
17075 $as_echo_n "(cached) " >&6 | |
17076 else | |
17077 cat >conftest.$ac_ext <<_ACEOF | |
17078 /* confdefs.h. */ | |
17079 _ACEOF | |
17080 cat confdefs.h >>conftest.$ac_ext | |
17081 cat >>conftest.$ac_ext <<_ACEOF | |
17082 /* end confdefs.h. */ | |
17083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
17084 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
17085 #define $ac_func innocuous_$ac_func | |
17086 | |
17087 /* System header to define __stub macros and hopefully few prototypes, | |
17088 which can conflict with char $ac_func (); below. | |
17089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
17090 <limits.h> exists even on freestanding compilers. */ | |
17091 | |
17092 #ifdef __STDC__ | |
17093 # include <limits.h> | |
17094 #else | |
17095 # include <assert.h> | |
17096 #endif | |
17097 | |
17098 #undef $ac_func | |
17099 | |
17100 /* Override any GCC internal prototype to avoid an error. | |
17101 Use char because int might match the return type of a GCC | |
17102 builtin and then its argument prototype would still apply. */ | |
17103 #ifdef __cplusplus | |
17104 extern "C" | |
17105 #endif | |
17106 char $ac_func (); | |
17107 /* The GNU C library defines this for functions which it implements | |
17108 to always fail with ENOSYS. Some functions are actually named | |
17109 something starting with __ and the normal name is an alias. */ | |
17110 #if defined __stub_$ac_func || defined __stub___$ac_func | |
17111 choke me | |
17112 #endif | |
17113 | |
17114 int | |
17115 main () | |
17116 { | |
17117 return $ac_func (); | |
17118 ; | |
17119 return 0; | |
17120 } | |
17121 _ACEOF | |
17122 rm -f conftest.$ac_objext conftest$ac_exeext | |
17123 if { (ac_try="$ac_link" | |
17124 case "(($ac_try" in | |
17125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17126 *) ac_try_echo=$ac_try;; | |
17127 esac | |
17128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17129 $as_echo "$ac_try_echo") >&5 | |
17130 (eval "$ac_link") 2>conftest.er1 | |
17131 ac_status=$? | |
17132 grep -v '^ *+' conftest.er1 >conftest.err | |
17133 rm -f conftest.er1 | |
17134 cat conftest.err >&5 | |
17135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17136 (exit $ac_status); } && { | |
17137 test -z "$ac_c_werror_flag" || | |
17138 test ! -s conftest.err | |
17139 } && test -s conftest$ac_exeext && { | |
17140 test "$cross_compiling" = yes || | |
17141 $as_test_x conftest$ac_exeext | |
17142 }; then | |
17143 eval "$as_ac_var=yes" | |
17144 else | |
17145 $as_echo "$as_me: failed program was:" >&5 | |
17146 sed 's/^/| /' conftest.$ac_ext >&5 | |
17147 | |
17148 eval "$as_ac_var=no" | |
17149 fi | |
17150 | |
17151 rm -rf conftest.dSYM | |
17152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
17153 conftest$ac_exeext conftest.$ac_ext | |
17154 fi | |
17155 ac_res=`eval 'as_val=${'$as_ac_var'} | |
17156 $as_echo "$as_val"'` | |
17157 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17158 $as_echo "$ac_res" >&6; } | |
17159 if test `eval 'as_val=${'$as_ac_var'} | |
17160 $as_echo "$as_val"'` = yes; then | |
17161 cat >>confdefs.h <<_ACEOF | 10785 cat >>confdefs.h <<_ACEOF |
17162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10786 #define HAVE_TOUCHLOCK 1 |
17163 _ACEOF | 10787 _ACEOF |
17164 | 10788 |
17165 fi | 10789 fi |
17166 done | 10790 done |
17167 | 10791 |
17168 | |
17169 for ac_header in maillock.h | 10792 for ac_header in maillock.h |
17170 do | 10793 do : |
17171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10794 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" |
17172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10795 if test "x$ac_cv_header_maillock_h" = x""yes; then : |
17173 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17174 $as_echo_n "checking for $ac_header... " >&6; } | |
17175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
17176 $as_echo_n "(cached) " >&6 | |
17177 fi | |
17178 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17179 $as_echo "$as_val"'` | |
17180 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17181 $as_echo "$ac_res" >&6; } | |
17182 else | |
17183 # Is the header compilable? | |
17184 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
17185 $as_echo_n "checking $ac_header usability... " >&6; } | |
17186 cat >conftest.$ac_ext <<_ACEOF | |
17187 /* confdefs.h. */ | |
17188 _ACEOF | |
17189 cat confdefs.h >>conftest.$ac_ext | |
17190 cat >>conftest.$ac_ext <<_ACEOF | |
17191 /* end confdefs.h. */ | |
17192 $ac_includes_default | |
17193 #include <$ac_header> | |
17194 _ACEOF | |
17195 rm -f conftest.$ac_objext | |
17196 if { (ac_try="$ac_compile" | |
17197 case "(($ac_try" in | |
17198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17199 *) ac_try_echo=$ac_try;; | |
17200 esac | |
17201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17202 $as_echo "$ac_try_echo") >&5 | |
17203 (eval "$ac_compile") 2>conftest.er1 | |
17204 ac_status=$? | |
17205 grep -v '^ *+' conftest.er1 >conftest.err | |
17206 rm -f conftest.er1 | |
17207 cat conftest.err >&5 | |
17208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17209 (exit $ac_status); } && { | |
17210 test -z "$ac_c_werror_flag" || | |
17211 test ! -s conftest.err | |
17212 } && test -s conftest.$ac_objext; then | |
17213 ac_header_compiler=yes | |
17214 else | |
17215 $as_echo "$as_me: failed program was:" >&5 | |
17216 sed 's/^/| /' conftest.$ac_ext >&5 | |
17217 | |
17218 ac_header_compiler=no | |
17219 fi | |
17220 | |
17221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
17222 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
17223 $as_echo "$ac_header_compiler" >&6; } | |
17224 | |
17225 # Is the header present? | |
17226 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
17227 $as_echo_n "checking $ac_header presence... " >&6; } | |
17228 cat >conftest.$ac_ext <<_ACEOF | |
17229 /* confdefs.h. */ | |
17230 _ACEOF | |
17231 cat confdefs.h >>conftest.$ac_ext | |
17232 cat >>conftest.$ac_ext <<_ACEOF | |
17233 /* end confdefs.h. */ | |
17234 #include <$ac_header> | |
17235 _ACEOF | |
17236 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
17237 case "(($ac_try" in | |
17238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17239 *) ac_try_echo=$ac_try;; | |
17240 esac | |
17241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17242 $as_echo "$ac_try_echo") >&5 | |
17243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
17244 ac_status=$? | |
17245 grep -v '^ *+' conftest.er1 >conftest.err | |
17246 rm -f conftest.er1 | |
17247 cat conftest.err >&5 | |
17248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17249 (exit $ac_status); } >/dev/null && { | |
17250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
17251 test ! -s conftest.err | |
17252 }; then | |
17253 ac_header_preproc=yes | |
17254 else | |
17255 $as_echo "$as_me: failed program was:" >&5 | |
17256 sed 's/^/| /' conftest.$ac_ext >&5 | |
17257 | |
17258 ac_header_preproc=no | |
17259 fi | |
17260 | |
17261 rm -f conftest.err conftest.$ac_ext | |
17262 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
17263 $as_echo "$ac_header_preproc" >&6; } | |
17264 | |
17265 # So? What about this header? | |
17266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
17267 yes:no: ) | |
17268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
17269 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
17270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
17271 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
17272 ac_header_preproc=yes | |
17273 ;; | |
17274 no:yes:* ) | |
17275 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
17276 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
17277 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
17278 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
17279 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
17280 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
17281 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
17282 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
17283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
17284 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
17285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
17286 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
17287 | |
17288 ;; | |
17289 esac | |
17290 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17291 $as_echo_n "checking for $ac_header... " >&6; } | |
17292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
17293 $as_echo_n "(cached) " >&6 | |
17294 else | |
17295 eval "$as_ac_Header=\$ac_header_preproc" | |
17296 fi | |
17297 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17298 $as_echo "$as_val"'` | |
17299 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17300 $as_echo "$ac_res" >&6; } | |
17301 | |
17302 fi | |
17303 if test `eval 'as_val=${'$as_ac_Header'} | |
17304 $as_echo "$as_val"'` = yes; then | |
17305 cat >>confdefs.h <<_ACEOF | 10796 cat >>confdefs.h <<_ACEOF |
17306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10797 #define HAVE_MAILLOCK_H 1 |
17307 _ACEOF | 10798 _ACEOF |
17308 | 10799 |
17309 fi | 10800 fi |
17310 | 10801 |
17311 done | 10802 done |
17312 | |
17313 | |
17314 | |
17315 | |
17316 | |
17317 | |
17318 | |
17319 | |
17320 | |
17321 | |
17322 | |
17323 | |
17324 | |
17325 | |
17326 | |
17327 | |
17328 | |
17329 | |
17330 | |
17331 | |
17332 | |
17333 | |
17334 | |
17335 | |
17336 | |
17337 | |
17338 | |
17339 | |
17340 | |
17341 | |
17342 | |
17343 | |
17344 | |
17345 | |
17346 | |
17347 | |
17348 | |
17349 | |
17350 | |
17351 | |
17352 | |
17353 | |
17354 | |
17355 | |
17356 | |
17357 | |
17358 | |
17359 | |
17360 | |
17361 | |
17362 | |
17363 | |
17364 | |
17365 | |
17366 | |
17367 | |
17368 | |
17369 | |
17370 | |
17371 | |
17372 | |
17373 | |
17374 | |
17375 | |
17376 | |
17377 | |
17378 | |
17379 | |
17380 | |
17381 | |
17382 | |
17383 | 10803 |
17384 | 10804 |
17385 | 10805 |
17386 for ac_func in gethostname getdomainname dup2 \ | 10806 for ac_func in gethostname getdomainname dup2 \ |
17387 rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ | 10807 rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ |
17391 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ | 10811 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ |
17392 sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 10812 sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
17393 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ | 10813 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ |
17394 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 10814 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
17395 cfmakeraw cfsetspeed | 10815 cfmakeraw cfsetspeed |
17396 do | 10816 do : |
17397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
17398 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
17399 $as_echo_n "checking for $ac_func... " >&6; } | 10819 eval as_val=\$$as_ac_var |
17400 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10820 if test "x$as_val" = x""yes; then : |
17401 $as_echo_n "(cached) " >&6 | |
17402 else | |
17403 cat >conftest.$ac_ext <<_ACEOF | |
17404 /* confdefs.h. */ | |
17405 _ACEOF | |
17406 cat confdefs.h >>conftest.$ac_ext | |
17407 cat >>conftest.$ac_ext <<_ACEOF | |
17408 /* end confdefs.h. */ | |
17409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
17410 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
17411 #define $ac_func innocuous_$ac_func | |
17412 | |
17413 /* System header to define __stub macros and hopefully few prototypes, | |
17414 which can conflict with char $ac_func (); below. | |
17415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
17416 <limits.h> exists even on freestanding compilers. */ | |
17417 | |
17418 #ifdef __STDC__ | |
17419 # include <limits.h> | |
17420 #else | |
17421 # include <assert.h> | |
17422 #endif | |
17423 | |
17424 #undef $ac_func | |
17425 | |
17426 /* Override any GCC internal prototype to avoid an error. | |
17427 Use char because int might match the return type of a GCC | |
17428 builtin and then its argument prototype would still apply. */ | |
17429 #ifdef __cplusplus | |
17430 extern "C" | |
17431 #endif | |
17432 char $ac_func (); | |
17433 /* The GNU C library defines this for functions which it implements | |
17434 to always fail with ENOSYS. Some functions are actually named | |
17435 something starting with __ and the normal name is an alias. */ | |
17436 #if defined __stub_$ac_func || defined __stub___$ac_func | |
17437 choke me | |
17438 #endif | |
17439 | |
17440 int | |
17441 main () | |
17442 { | |
17443 return $ac_func (); | |
17444 ; | |
17445 return 0; | |
17446 } | |
17447 _ACEOF | |
17448 rm -f conftest.$ac_objext conftest$ac_exeext | |
17449 if { (ac_try="$ac_link" | |
17450 case "(($ac_try" in | |
17451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17452 *) ac_try_echo=$ac_try;; | |
17453 esac | |
17454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17455 $as_echo "$ac_try_echo") >&5 | |
17456 (eval "$ac_link") 2>conftest.er1 | |
17457 ac_status=$? | |
17458 grep -v '^ *+' conftest.er1 >conftest.err | |
17459 rm -f conftest.er1 | |
17460 cat conftest.err >&5 | |
17461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17462 (exit $ac_status); } && { | |
17463 test -z "$ac_c_werror_flag" || | |
17464 test ! -s conftest.err | |
17465 } && test -s conftest$ac_exeext && { | |
17466 test "$cross_compiling" = yes || | |
17467 $as_test_x conftest$ac_exeext | |
17468 }; then | |
17469 eval "$as_ac_var=yes" | |
17470 else | |
17471 $as_echo "$as_me: failed program was:" >&5 | |
17472 sed 's/^/| /' conftest.$ac_ext >&5 | |
17473 | |
17474 eval "$as_ac_var=no" | |
17475 fi | |
17476 | |
17477 rm -rf conftest.dSYM | |
17478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
17479 conftest$ac_exeext conftest.$ac_ext | |
17480 fi | |
17481 ac_res=`eval 'as_val=${'$as_ac_var'} | |
17482 $as_echo "$as_val"'` | |
17483 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17484 $as_echo "$ac_res" >&6; } | |
17485 if test `eval 'as_val=${'$as_ac_var'} | |
17486 $as_echo "$as_val"'` = yes; then | |
17487 cat >>confdefs.h <<_ACEOF | 10821 cat >>confdefs.h <<_ACEOF |
17488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17489 _ACEOF | 10823 _ACEOF |
17490 | 10824 |
17491 fi | 10825 fi |
17492 done | 10826 done |
17493 | 10827 |
17494 | 10828 |
17495 | |
17496 for ac_header in sys/un.h | 10829 for ac_header in sys/un.h |
17497 do | 10830 do : |
17498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10831 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" |
17499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10832 if test "x$ac_cv_header_sys_un_h" = x""yes; then : |
17500 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17501 $as_echo_n "checking for $ac_header... " >&6; } | |
17502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
17503 $as_echo_n "(cached) " >&6 | |
17504 fi | |
17505 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17506 $as_echo "$as_val"'` | |
17507 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17508 $as_echo "$ac_res" >&6; } | |
17509 else | |
17510 # Is the header compilable? | |
17511 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
17512 $as_echo_n "checking $ac_header usability... " >&6; } | |
17513 cat >conftest.$ac_ext <<_ACEOF | |
17514 /* confdefs.h. */ | |
17515 _ACEOF | |
17516 cat confdefs.h >>conftest.$ac_ext | |
17517 cat >>conftest.$ac_ext <<_ACEOF | |
17518 /* end confdefs.h. */ | |
17519 $ac_includes_default | |
17520 #include <$ac_header> | |
17521 _ACEOF | |
17522 rm -f conftest.$ac_objext | |
17523 if { (ac_try="$ac_compile" | |
17524 case "(($ac_try" in | |
17525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17526 *) ac_try_echo=$ac_try;; | |
17527 esac | |
17528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17529 $as_echo "$ac_try_echo") >&5 | |
17530 (eval "$ac_compile") 2>conftest.er1 | |
17531 ac_status=$? | |
17532 grep -v '^ *+' conftest.er1 >conftest.err | |
17533 rm -f conftest.er1 | |
17534 cat conftest.err >&5 | |
17535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17536 (exit $ac_status); } && { | |
17537 test -z "$ac_c_werror_flag" || | |
17538 test ! -s conftest.err | |
17539 } && test -s conftest.$ac_objext; then | |
17540 ac_header_compiler=yes | |
17541 else | |
17542 $as_echo "$as_me: failed program was:" >&5 | |
17543 sed 's/^/| /' conftest.$ac_ext >&5 | |
17544 | |
17545 ac_header_compiler=no | |
17546 fi | |
17547 | |
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
17549 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
17550 $as_echo "$ac_header_compiler" >&6; } | |
17551 | |
17552 # Is the header present? | |
17553 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
17554 $as_echo_n "checking $ac_header presence... " >&6; } | |
17555 cat >conftest.$ac_ext <<_ACEOF | |
17556 /* confdefs.h. */ | |
17557 _ACEOF | |
17558 cat confdefs.h >>conftest.$ac_ext | |
17559 cat >>conftest.$ac_ext <<_ACEOF | |
17560 /* end confdefs.h. */ | |
17561 #include <$ac_header> | |
17562 _ACEOF | |
17563 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
17564 case "(($ac_try" in | |
17565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17566 *) ac_try_echo=$ac_try;; | |
17567 esac | |
17568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17569 $as_echo "$ac_try_echo") >&5 | |
17570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
17571 ac_status=$? | |
17572 grep -v '^ *+' conftest.er1 >conftest.err | |
17573 rm -f conftest.er1 | |
17574 cat conftest.err >&5 | |
17575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17576 (exit $ac_status); } >/dev/null && { | |
17577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
17578 test ! -s conftest.err | |
17579 }; then | |
17580 ac_header_preproc=yes | |
17581 else | |
17582 $as_echo "$as_me: failed program was:" >&5 | |
17583 sed 's/^/| /' conftest.$ac_ext >&5 | |
17584 | |
17585 ac_header_preproc=no | |
17586 fi | |
17587 | |
17588 rm -f conftest.err conftest.$ac_ext | |
17589 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
17590 $as_echo "$ac_header_preproc" >&6; } | |
17591 | |
17592 # So? What about this header? | |
17593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
17594 yes:no: ) | |
17595 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
17596 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
17597 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
17598 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
17599 ac_header_preproc=yes | |
17600 ;; | |
17601 no:yes:* ) | |
17602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
17603 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
17604 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
17605 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
17606 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
17607 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
17608 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
17609 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
17610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
17611 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
17612 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
17613 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
17614 | |
17615 ;; | |
17616 esac | |
17617 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17618 $as_echo_n "checking for $ac_header... " >&6; } | |
17619 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
17620 $as_echo_n "(cached) " >&6 | |
17621 else | |
17622 eval "$as_ac_Header=\$ac_header_preproc" | |
17623 fi | |
17624 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17625 $as_echo "$as_val"'` | |
17626 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17627 $as_echo "$ac_res" >&6; } | |
17628 | |
17629 fi | |
17630 if test `eval 'as_val=${'$as_ac_Header'} | |
17631 $as_echo "$as_val"'` = yes; then | |
17632 cat >>confdefs.h <<_ACEOF | 10833 cat >>confdefs.h <<_ACEOF |
17633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10834 #define HAVE_SYS_UN_H 1 |
17634 _ACEOF | 10835 _ACEOF |
17635 | 10836 |
17636 fi | 10837 fi |
17637 | 10838 |
17638 done | 10839 done |
17640 | 10841 |
17641 | 10842 |
17642 | 10843 |
17643 | 10844 |
17644 | 10845 |
17645 for ac_header in $ac_header_list | 10846 |
17646 do | 10847 for ac_func in $ac_func_list |
17647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10848 do : |
17648 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
17649 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 10850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
17650 $as_echo_n "checking for $ac_header... " >&6; } | 10851 eval as_val=\$$as_ac_var |
17651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10852 if test "x$as_val" = x""yes; then : |
17652 $as_echo_n "(cached) " >&6 | |
17653 fi | |
17654 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17655 $as_echo "$as_val"'` | |
17656 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17657 $as_echo "$ac_res" >&6; } | |
17658 else | |
17659 # Is the header compilable? | |
17660 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
17661 $as_echo_n "checking $ac_header usability... " >&6; } | |
17662 cat >conftest.$ac_ext <<_ACEOF | |
17663 /* confdefs.h. */ | |
17664 _ACEOF | |
17665 cat confdefs.h >>conftest.$ac_ext | |
17666 cat >>conftest.$ac_ext <<_ACEOF | |
17667 /* end confdefs.h. */ | |
17668 $ac_includes_default | |
17669 #include <$ac_header> | |
17670 _ACEOF | |
17671 rm -f conftest.$ac_objext | |
17672 if { (ac_try="$ac_compile" | |
17673 case "(($ac_try" in | |
17674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17675 *) ac_try_echo=$ac_try;; | |
17676 esac | |
17677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17678 $as_echo "$ac_try_echo") >&5 | |
17679 (eval "$ac_compile") 2>conftest.er1 | |
17680 ac_status=$? | |
17681 grep -v '^ *+' conftest.er1 >conftest.err | |
17682 rm -f conftest.er1 | |
17683 cat conftest.err >&5 | |
17684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17685 (exit $ac_status); } && { | |
17686 test -z "$ac_c_werror_flag" || | |
17687 test ! -s conftest.err | |
17688 } && test -s conftest.$ac_objext; then | |
17689 ac_header_compiler=yes | |
17690 else | |
17691 $as_echo "$as_me: failed program was:" >&5 | |
17692 sed 's/^/| /' conftest.$ac_ext >&5 | |
17693 | |
17694 ac_header_compiler=no | |
17695 fi | |
17696 | |
17697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
17698 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
17699 $as_echo "$ac_header_compiler" >&6; } | |
17700 | |
17701 # Is the header present? | |
17702 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
17703 $as_echo_n "checking $ac_header presence... " >&6; } | |
17704 cat >conftest.$ac_ext <<_ACEOF | |
17705 /* confdefs.h. */ | |
17706 _ACEOF | |
17707 cat confdefs.h >>conftest.$ac_ext | |
17708 cat >>conftest.$ac_ext <<_ACEOF | |
17709 /* end confdefs.h. */ | |
17710 #include <$ac_header> | |
17711 _ACEOF | |
17712 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
17713 case "(($ac_try" in | |
17714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17715 *) ac_try_echo=$ac_try;; | |
17716 esac | |
17717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17718 $as_echo "$ac_try_echo") >&5 | |
17719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
17720 ac_status=$? | |
17721 grep -v '^ *+' conftest.er1 >conftest.err | |
17722 rm -f conftest.er1 | |
17723 cat conftest.err >&5 | |
17724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17725 (exit $ac_status); } >/dev/null && { | |
17726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
17727 test ! -s conftest.err | |
17728 }; then | |
17729 ac_header_preproc=yes | |
17730 else | |
17731 $as_echo "$as_me: failed program was:" >&5 | |
17732 sed 's/^/| /' conftest.$ac_ext >&5 | |
17733 | |
17734 ac_header_preproc=no | |
17735 fi | |
17736 | |
17737 rm -f conftest.err conftest.$ac_ext | |
17738 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
17739 $as_echo "$ac_header_preproc" >&6; } | |
17740 | |
17741 # So? What about this header? | |
17742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
17743 yes:no: ) | |
17744 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
17745 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
17746 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
17747 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
17748 ac_header_preproc=yes | |
17749 ;; | |
17750 no:yes:* ) | |
17751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
17752 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
17753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
17754 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
17755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
17756 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
17757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
17758 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
17759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
17760 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
17761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
17762 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
17763 | |
17764 ;; | |
17765 esac | |
17766 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17767 $as_echo_n "checking for $ac_header... " >&6; } | |
17768 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
17769 $as_echo_n "(cached) " >&6 | |
17770 else | |
17771 eval "$as_ac_Header=\$ac_header_preproc" | |
17772 fi | |
17773 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17774 $as_echo "$as_val"'` | |
17775 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17776 $as_echo "$ac_res" >&6; } | |
17777 | |
17778 fi | |
17779 if test `eval 'as_val=${'$as_ac_Header'} | |
17780 $as_echo "$as_val"'` = yes; then | |
17781 cat >>confdefs.h <<_ACEOF | |
17782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
17783 _ACEOF | |
17784 | |
17785 fi | |
17786 | |
17787 done | |
17788 | |
17789 | |
17790 | |
17791 | |
17792 | |
17793 | |
17794 | |
17795 | |
17796 | |
17797 for ac_func in $ac_func_list | |
17798 do | |
17799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
17800 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
17801 $as_echo_n "checking for $ac_func... " >&6; } | |
17802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
17803 $as_echo_n "(cached) " >&6 | |
17804 else | |
17805 cat >conftest.$ac_ext <<_ACEOF | |
17806 /* confdefs.h. */ | |
17807 _ACEOF | |
17808 cat confdefs.h >>conftest.$ac_ext | |
17809 cat >>conftest.$ac_ext <<_ACEOF | |
17810 /* end confdefs.h. */ | |
17811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
17812 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
17813 #define $ac_func innocuous_$ac_func | |
17814 | |
17815 /* System header to define __stub macros and hopefully few prototypes, | |
17816 which can conflict with char $ac_func (); below. | |
17817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
17818 <limits.h> exists even on freestanding compilers. */ | |
17819 | |
17820 #ifdef __STDC__ | |
17821 # include <limits.h> | |
17822 #else | |
17823 # include <assert.h> | |
17824 #endif | |
17825 | |
17826 #undef $ac_func | |
17827 | |
17828 /* Override any GCC internal prototype to avoid an error. | |
17829 Use char because int might match the return type of a GCC | |
17830 builtin and then its argument prototype would still apply. */ | |
17831 #ifdef __cplusplus | |
17832 extern "C" | |
17833 #endif | |
17834 char $ac_func (); | |
17835 /* The GNU C library defines this for functions which it implements | |
17836 to always fail with ENOSYS. Some functions are actually named | |
17837 something starting with __ and the normal name is an alias. */ | |
17838 #if defined __stub_$ac_func || defined __stub___$ac_func | |
17839 choke me | |
17840 #endif | |
17841 | |
17842 int | |
17843 main () | |
17844 { | |
17845 return $ac_func (); | |
17846 ; | |
17847 return 0; | |
17848 } | |
17849 _ACEOF | |
17850 rm -f conftest.$ac_objext conftest$ac_exeext | |
17851 if { (ac_try="$ac_link" | |
17852 case "(($ac_try" in | |
17853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17854 *) ac_try_echo=$ac_try;; | |
17855 esac | |
17856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17857 $as_echo "$ac_try_echo") >&5 | |
17858 (eval "$ac_link") 2>conftest.er1 | |
17859 ac_status=$? | |
17860 grep -v '^ *+' conftest.er1 >conftest.err | |
17861 rm -f conftest.er1 | |
17862 cat conftest.err >&5 | |
17863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17864 (exit $ac_status); } && { | |
17865 test -z "$ac_c_werror_flag" || | |
17866 test ! -s conftest.err | |
17867 } && test -s conftest$ac_exeext && { | |
17868 test "$cross_compiling" = yes || | |
17869 $as_test_x conftest$ac_exeext | |
17870 }; then | |
17871 eval "$as_ac_var=yes" | |
17872 else | |
17873 $as_echo "$as_me: failed program was:" >&5 | |
17874 sed 's/^/| /' conftest.$ac_ext >&5 | |
17875 | |
17876 eval "$as_ac_var=no" | |
17877 fi | |
17878 | |
17879 rm -rf conftest.dSYM | |
17880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
17881 conftest$ac_exeext conftest.$ac_ext | |
17882 fi | |
17883 ac_res=`eval 'as_val=${'$as_ac_var'} | |
17884 $as_echo "$as_val"'` | |
17885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17886 $as_echo "$ac_res" >&6; } | |
17887 if test `eval 'as_val=${'$as_ac_var'} | |
17888 $as_echo "$as_val"'` = yes; then | |
17889 cat >>confdefs.h <<_ACEOF | 10853 cat >>confdefs.h <<_ACEOF |
17890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17891 _ACEOF | 10855 _ACEOF |
17892 | 10856 |
17893 fi | 10857 fi |
17895 | 10859 |
17896 | 10860 |
17897 | 10861 |
17898 | 10862 |
17899 | 10863 |
17900 | 10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 |
17901 | |
17902 | |
17903 | |
17904 | |
17905 | |
17906 | |
17907 | |
17908 | |
17909 | |
17910 | |
17911 | |
17912 { $as_echo "$as_me:$LINENO: checking for working mktime" >&5 | |
17913 $as_echo_n "checking for working mktime... " >&6; } | 10865 $as_echo_n "checking for working mktime... " >&6; } |
17914 if test "${ac_cv_func_working_mktime+set}" = set; then | 10866 if test "${ac_cv_func_working_mktime+set}" = set; then : |
17915 $as_echo_n "(cached) " >&6 | 10867 $as_echo_n "(cached) " >&6 |
17916 else | 10868 else |
17917 if test "$cross_compiling" = yes; then | 10869 if test "$cross_compiling" = yes; then : |
17918 ac_cv_func_working_mktime=no | 10870 ac_cv_func_working_mktime=no |
17919 else | 10871 else |
17920 cat >conftest.$ac_ext <<_ACEOF | 10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17921 /* confdefs.h. */ | |
17922 _ACEOF | |
17923 cat confdefs.h >>conftest.$ac_ext | |
17924 cat >>conftest.$ac_ext <<_ACEOF | |
17925 /* end confdefs.h. */ | 10873 /* end confdefs.h. */ |
17926 /* Test program from Paul Eggert and Tony Leneis. */ | 10874 /* Test program from Paul Eggert and Tony Leneis. */ |
17927 #ifdef TIME_WITH_SYS_TIME | 10875 #ifdef TIME_WITH_SYS_TIME |
17928 # include <sys/time.h> | 10876 # include <sys/time.h> |
17929 # include <time.h> | 10877 # include <time.h> |
18116 return 1; | 11064 return 1; |
18117 } | 11065 } |
18118 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 11066 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |
18119 } | 11067 } |
18120 _ACEOF | 11068 _ACEOF |
18121 rm -f conftest$ac_exeext | 11069 if ac_fn_c_try_run "$LINENO"; then : |
18122 if { (ac_try="$ac_link" | |
18123 case "(($ac_try" in | |
18124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18125 *) ac_try_echo=$ac_try;; | |
18126 esac | |
18127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18128 $as_echo "$ac_try_echo") >&5 | |
18129 (eval "$ac_link") 2>&5 | |
18130 ac_status=$? | |
18131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
18133 { (case "(($ac_try" in | |
18134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18135 *) ac_try_echo=$ac_try;; | |
18136 esac | |
18137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18138 $as_echo "$ac_try_echo") >&5 | |
18139 (eval "$ac_try") 2>&5 | |
18140 ac_status=$? | |
18141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18142 (exit $ac_status); }; }; then | |
18143 ac_cv_func_working_mktime=yes | 11070 ac_cv_func_working_mktime=yes |
18144 else | 11071 else |
18145 $as_echo "$as_me: program exited with status $ac_status" >&5 | 11072 ac_cv_func_working_mktime=no |
18146 $as_echo "$as_me: failed program was:" >&5 | 11073 fi |
18147 sed 's/^/| /' conftest.$ac_ext >&5 | 11074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
18148 | 11075 conftest.$ac_objext conftest.beam conftest.$ac_ext |
18149 ( exit $ac_status ) | 11076 fi |
18150 ac_cv_func_working_mktime=no | 11077 |
18151 fi | 11078 fi |
18152 rm -rf conftest.dSYM | 11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 |
18153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
18154 fi | |
18155 | |
18156 | |
18157 fi | |
18158 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 | |
18159 $as_echo "$ac_cv_func_working_mktime" >&6; } | 11080 $as_echo "$ac_cv_func_working_mktime" >&6; } |
18160 if test $ac_cv_func_working_mktime = no; then | 11081 if test $ac_cv_func_working_mktime = no; then |
18161 case " $LIBOBJS " in | 11082 case " $LIBOBJS " in |
18162 *" mktime.$ac_objext "* ) ;; | 11083 *" mktime.$ac_objext "* ) ;; |
18163 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" | 11084 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" |
18166 | 11087 |
18167 fi | 11088 fi |
18168 | 11089 |
18169 if test "$ac_cv_func_working_mktime" = no; then | 11090 if test "$ac_cv_func_working_mktime" = no; then |
18170 | 11091 |
18171 cat >>confdefs.h <<\_ACEOF | 11092 $as_echo "#define BROKEN_MKTIME 1" >>confdefs.h |
18172 #define BROKEN_MKTIME 1 | |
18173 _ACEOF | |
18174 | 11093 |
18175 fi | 11094 fi |
18176 | 11095 |
18177 ac_have_func=no # yes means we've found a way to get the load average. | 11096 ac_have_func=no # yes means we've found a way to get the load average. |
18178 | 11097 |
18179 # Make sure getloadavg.c is where it belongs, at configure-time. | 11098 # Make sure getloadavg.c is where it belongs, at configure-time. |
18180 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 11099 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
18181 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 | 11100 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 |
18182 $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} | |
18183 { (exit 1); exit 1; }; } | |
18184 | 11101 |
18185 ac_save_LIBS=$LIBS | 11102 ac_save_LIBS=$LIBS |
18186 | 11103 |
18187 # Check for getloadavg, but be sure not to touch the cache variable. | 11104 # Check for getloadavg, but be sure not to touch the cache variable. |
18188 ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 | 11105 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
18189 $as_echo_n "checking for getloadavg... " >&6; } | 11106 if test "x$ac_cv_func_getloadavg" = x""yes; then : |
18190 if test "${ac_cv_func_getloadavg+set}" = set; then | |
18191 $as_echo_n "(cached) " >&6 | |
18192 else | |
18193 cat >conftest.$ac_ext <<_ACEOF | |
18194 /* confdefs.h. */ | |
18195 _ACEOF | |
18196 cat confdefs.h >>conftest.$ac_ext | |
18197 cat >>conftest.$ac_ext <<_ACEOF | |
18198 /* end confdefs.h. */ | |
18199 /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg. | |
18200 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
18201 #define getloadavg innocuous_getloadavg | |
18202 | |
18203 /* System header to define __stub macros and hopefully few prototypes, | |
18204 which can conflict with char getloadavg (); below. | |
18205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18206 <limits.h> exists even on freestanding compilers. */ | |
18207 | |
18208 #ifdef __STDC__ | |
18209 # include <limits.h> | |
18210 #else | |
18211 # include <assert.h> | |
18212 #endif | |
18213 | |
18214 #undef getloadavg | |
18215 | |
18216 /* Override any GCC internal prototype to avoid an error. | |
18217 Use char because int might match the return type of a GCC | |
18218 builtin and then its argument prototype would still apply. */ | |
18219 #ifdef __cplusplus | |
18220 extern "C" | |
18221 #endif | |
18222 char getloadavg (); | |
18223 /* The GNU C library defines this for functions which it implements | |
18224 to always fail with ENOSYS. Some functions are actually named | |
18225 something starting with __ and the normal name is an alias. */ | |
18226 #if defined __stub_getloadavg || defined __stub___getloadavg | |
18227 choke me | |
18228 #endif | |
18229 | |
18230 int | |
18231 main () | |
18232 { | |
18233 return getloadavg (); | |
18234 ; | |
18235 return 0; | |
18236 } | |
18237 _ACEOF | |
18238 rm -f conftest.$ac_objext conftest$ac_exeext | |
18239 if { (ac_try="$ac_link" | |
18240 case "(($ac_try" in | |
18241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18242 *) ac_try_echo=$ac_try;; | |
18243 esac | |
18244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18245 $as_echo "$ac_try_echo") >&5 | |
18246 (eval "$ac_link") 2>conftest.er1 | |
18247 ac_status=$? | |
18248 grep -v '^ *+' conftest.er1 >conftest.err | |
18249 rm -f conftest.er1 | |
18250 cat conftest.err >&5 | |
18251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18252 (exit $ac_status); } && { | |
18253 test -z "$ac_c_werror_flag" || | |
18254 test ! -s conftest.err | |
18255 } && test -s conftest$ac_exeext && { | |
18256 test "$cross_compiling" = yes || | |
18257 $as_test_x conftest$ac_exeext | |
18258 }; then | |
18259 ac_cv_func_getloadavg=yes | |
18260 else | |
18261 $as_echo "$as_me: failed program was:" >&5 | |
18262 sed 's/^/| /' conftest.$ac_ext >&5 | |
18263 | |
18264 ac_cv_func_getloadavg=no | |
18265 fi | |
18266 | |
18267 rm -rf conftest.dSYM | |
18268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18269 conftest$ac_exeext conftest.$ac_ext | |
18270 fi | |
18271 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | |
18272 $as_echo "$ac_cv_func_getloadavg" >&6; } | |
18273 if test $ac_cv_func_getloadavg = yes; then | |
18274 exit 0 | 11107 exit 0 |
18275 else | 11108 else |
18276 exit 1 | 11109 exit 1 |
18277 fi | 11110 fi |
18278 ) && ac_have_func=yes | 11111 ) && ac_have_func=yes |
18279 | 11112 |
18280 # On HPUX9, an unprivileged user can get load averages through this function. | 11113 # On HPUX9, an unprivileged user can get load averages through this function. |
18281 | |
18282 for ac_func in pstat_getdynamic | 11114 for ac_func in pstat_getdynamic |
18283 do | 11115 do : |
18284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11116 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" |
18285 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11117 if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : |
18286 $as_echo_n "checking for $ac_func... " >&6; } | |
18287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
18288 $as_echo_n "(cached) " >&6 | |
18289 else | |
18290 cat >conftest.$ac_ext <<_ACEOF | |
18291 /* confdefs.h. */ | |
18292 _ACEOF | |
18293 cat confdefs.h >>conftest.$ac_ext | |
18294 cat >>conftest.$ac_ext <<_ACEOF | |
18295 /* end confdefs.h. */ | |
18296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
18297 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
18298 #define $ac_func innocuous_$ac_func | |
18299 | |
18300 /* System header to define __stub macros and hopefully few prototypes, | |
18301 which can conflict with char $ac_func (); below. | |
18302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18303 <limits.h> exists even on freestanding compilers. */ | |
18304 | |
18305 #ifdef __STDC__ | |
18306 # include <limits.h> | |
18307 #else | |
18308 # include <assert.h> | |
18309 #endif | |
18310 | |
18311 #undef $ac_func | |
18312 | |
18313 /* Override any GCC internal prototype to avoid an error. | |
18314 Use char because int might match the return type of a GCC | |
18315 builtin and then its argument prototype would still apply. */ | |
18316 #ifdef __cplusplus | |
18317 extern "C" | |
18318 #endif | |
18319 char $ac_func (); | |
18320 /* The GNU C library defines this for functions which it implements | |
18321 to always fail with ENOSYS. Some functions are actually named | |
18322 something starting with __ and the normal name is an alias. */ | |
18323 #if defined __stub_$ac_func || defined __stub___$ac_func | |
18324 choke me | |
18325 #endif | |
18326 | |
18327 int | |
18328 main () | |
18329 { | |
18330 return $ac_func (); | |
18331 ; | |
18332 return 0; | |
18333 } | |
18334 _ACEOF | |
18335 rm -f conftest.$ac_objext conftest$ac_exeext | |
18336 if { (ac_try="$ac_link" | |
18337 case "(($ac_try" in | |
18338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18339 *) ac_try_echo=$ac_try;; | |
18340 esac | |
18341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18342 $as_echo "$ac_try_echo") >&5 | |
18343 (eval "$ac_link") 2>conftest.er1 | |
18344 ac_status=$? | |
18345 grep -v '^ *+' conftest.er1 >conftest.err | |
18346 rm -f conftest.er1 | |
18347 cat conftest.err >&5 | |
18348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18349 (exit $ac_status); } && { | |
18350 test -z "$ac_c_werror_flag" || | |
18351 test ! -s conftest.err | |
18352 } && test -s conftest$ac_exeext && { | |
18353 test "$cross_compiling" = yes || | |
18354 $as_test_x conftest$ac_exeext | |
18355 }; then | |
18356 eval "$as_ac_var=yes" | |
18357 else | |
18358 $as_echo "$as_me: failed program was:" >&5 | |
18359 sed 's/^/| /' conftest.$ac_ext >&5 | |
18360 | |
18361 eval "$as_ac_var=no" | |
18362 fi | |
18363 | |
18364 rm -rf conftest.dSYM | |
18365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18366 conftest$ac_exeext conftest.$ac_ext | |
18367 fi | |
18368 ac_res=`eval 'as_val=${'$as_ac_var'} | |
18369 $as_echo "$as_val"'` | |
18370 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
18371 $as_echo "$ac_res" >&6; } | |
18372 if test `eval 'as_val=${'$as_ac_var'} | |
18373 $as_echo "$as_val"'` = yes; then | |
18374 cat >>confdefs.h <<_ACEOF | 11118 cat >>confdefs.h <<_ACEOF |
18375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11119 #define HAVE_PSTAT_GETDYNAMIC 1 |
18376 _ACEOF | 11120 _ACEOF |
18377 | 11121 |
18378 fi | 11122 fi |
18379 done | 11123 done |
18380 | 11124 |
18381 | 11125 |
18382 # Solaris has libkstat which does not require root. | 11126 # Solaris has libkstat which does not require root. |
18383 | 11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 |
18384 { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | |
18385 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } | 11128 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } |
18386 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then | 11129 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : |
18387 $as_echo_n "(cached) " >&6 | 11130 $as_echo_n "(cached) " >&6 |
18388 else | 11131 else |
18389 ac_check_lib_save_LIBS=$LIBS | 11132 ac_check_lib_save_LIBS=$LIBS |
18390 LIBS="-lkstat $LIBS" | 11133 LIBS="-lkstat $LIBS" |
18391 cat >conftest.$ac_ext <<_ACEOF | 11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
18392 /* confdefs.h. */ | |
18393 _ACEOF | |
18394 cat confdefs.h >>conftest.$ac_ext | |
18395 cat >>conftest.$ac_ext <<_ACEOF | |
18396 /* end confdefs.h. */ | 11135 /* end confdefs.h. */ |
18397 | 11136 |
18398 /* Override any GCC internal prototype to avoid an error. | 11137 /* Override any GCC internal prototype to avoid an error. |
18399 Use char because int might match the return type of a GCC | 11138 Use char because int might match the return type of a GCC |
18400 builtin and then its argument prototype would still apply. */ | 11139 builtin and then its argument prototype would still apply. */ |
18408 return kstat_open (); | 11147 return kstat_open (); |
18409 ; | 11148 ; |
18410 return 0; | 11149 return 0; |
18411 } | 11150 } |
18412 _ACEOF | 11151 _ACEOF |
18413 rm -f conftest.$ac_objext conftest$ac_exeext | 11152 if ac_fn_c_try_link "$LINENO"; then : |
18414 if { (ac_try="$ac_link" | |
18415 case "(($ac_try" in | |
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18417 *) ac_try_echo=$ac_try;; | |
18418 esac | |
18419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18420 $as_echo "$ac_try_echo") >&5 | |
18421 (eval "$ac_link") 2>conftest.er1 | |
18422 ac_status=$? | |
18423 grep -v '^ *+' conftest.er1 >conftest.err | |
18424 rm -f conftest.er1 | |
18425 cat conftest.err >&5 | |
18426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18427 (exit $ac_status); } && { | |
18428 test -z "$ac_c_werror_flag" || | |
18429 test ! -s conftest.err | |
18430 } && test -s conftest$ac_exeext && { | |
18431 test "$cross_compiling" = yes || | |
18432 $as_test_x conftest$ac_exeext | |
18433 }; then | |
18434 ac_cv_lib_kstat_kstat_open=yes | 11153 ac_cv_lib_kstat_kstat_open=yes |
18435 else | 11154 else |
18436 $as_echo "$as_me: failed program was:" >&5 | 11155 ac_cv_lib_kstat_kstat_open=no |
18437 sed 's/^/| /' conftest.$ac_ext >&5 | 11156 fi |
18438 | 11157 rm -f core conftest.err conftest.$ac_objext \ |
18439 ac_cv_lib_kstat_kstat_open=no | 11158 conftest$ac_exeext conftest.$ac_ext |
18440 fi | |
18441 | |
18442 rm -rf conftest.dSYM | |
18443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18444 conftest$ac_exeext conftest.$ac_ext | |
18445 LIBS=$ac_check_lib_save_LIBS | 11159 LIBS=$ac_check_lib_save_LIBS |
18446 fi | 11160 fi |
18447 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 | 11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 |
18448 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } | 11162 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } |
18449 if test $ac_cv_lib_kstat_kstat_open = yes; then | 11163 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : |
18450 cat >>confdefs.h <<_ACEOF | 11164 cat >>confdefs.h <<_ACEOF |
18451 #define HAVE_LIBKSTAT 1 | 11165 #define HAVE_LIBKSTAT 1 |
18452 _ACEOF | 11166 _ACEOF |
18453 | 11167 |
18454 LIBS="-lkstat $LIBS" | 11168 LIBS="-lkstat $LIBS" |
18460 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 11174 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
18461 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 11175 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
18462 # to get the right answer into the cache. | 11176 # to get the right answer into the cache. |
18463 # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 11177 # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
18464 if test $ac_have_func = no; then | 11178 if test $ac_have_func = no; then |
18465 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 |
18466 $as_echo_n "checking for elf_begin in -lelf... " >&6; } | 11180 $as_echo_n "checking for elf_begin in -lelf... " >&6; } |
18467 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 11181 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : |
18468 $as_echo_n "(cached) " >&6 | 11182 $as_echo_n "(cached) " >&6 |
18469 else | 11183 else |
18470 ac_check_lib_save_LIBS=$LIBS | 11184 ac_check_lib_save_LIBS=$LIBS |
18471 LIBS="-lelf $LIBS" | 11185 LIBS="-lelf $LIBS" |
18472 cat >conftest.$ac_ext <<_ACEOF | 11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
18473 /* confdefs.h. */ | |
18474 _ACEOF | |
18475 cat confdefs.h >>conftest.$ac_ext | |
18476 cat >>conftest.$ac_ext <<_ACEOF | |
18477 /* end confdefs.h. */ | 11187 /* end confdefs.h. */ |
18478 | 11188 |
18479 /* Override any GCC internal prototype to avoid an error. | 11189 /* Override any GCC internal prototype to avoid an error. |
18480 Use char because int might match the return type of a GCC | 11190 Use char because int might match the return type of a GCC |
18481 builtin and then its argument prototype would still apply. */ | 11191 builtin and then its argument prototype would still apply. */ |
18489 return elf_begin (); | 11199 return elf_begin (); |
18490 ; | 11200 ; |
18491 return 0; | 11201 return 0; |
18492 } | 11202 } |
18493 _ACEOF | 11203 _ACEOF |
18494 rm -f conftest.$ac_objext conftest$ac_exeext | 11204 if ac_fn_c_try_link "$LINENO"; then : |
18495 if { (ac_try="$ac_link" | |
18496 case "(($ac_try" in | |
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18498 *) ac_try_echo=$ac_try;; | |
18499 esac | |
18500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18501 $as_echo "$ac_try_echo") >&5 | |
18502 (eval "$ac_link") 2>conftest.er1 | |
18503 ac_status=$? | |
18504 grep -v '^ *+' conftest.er1 >conftest.err | |
18505 rm -f conftest.er1 | |
18506 cat conftest.err >&5 | |
18507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18508 (exit $ac_status); } && { | |
18509 test -z "$ac_c_werror_flag" || | |
18510 test ! -s conftest.err | |
18511 } && test -s conftest$ac_exeext && { | |
18512 test "$cross_compiling" = yes || | |
18513 $as_test_x conftest$ac_exeext | |
18514 }; then | |
18515 ac_cv_lib_elf_elf_begin=yes | 11205 ac_cv_lib_elf_elf_begin=yes |
18516 else | 11206 else |
18517 $as_echo "$as_me: failed program was:" >&5 | 11207 ac_cv_lib_elf_elf_begin=no |
18518 sed 's/^/| /' conftest.$ac_ext >&5 | 11208 fi |
18519 | 11209 rm -f core conftest.err conftest.$ac_objext \ |
18520 ac_cv_lib_elf_elf_begin=no | 11210 conftest$ac_exeext conftest.$ac_ext |
18521 fi | |
18522 | |
18523 rm -rf conftest.dSYM | |
18524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18525 conftest$ac_exeext conftest.$ac_ext | |
18526 LIBS=$ac_check_lib_save_LIBS | 11211 LIBS=$ac_check_lib_save_LIBS |
18527 fi | 11212 fi |
18528 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 |
18529 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } | 11214 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
18530 if test $ac_cv_lib_elf_elf_begin = yes; then | 11215 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : |
18531 LIBS="-lelf $LIBS" | 11216 LIBS="-lelf $LIBS" |
18532 fi | 11217 fi |
18533 | 11218 |
18534 fi | 11219 fi |
18535 if test $ac_have_func = no; then | 11220 if test $ac_have_func = no; then |
18536 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 | 11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 |
18537 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } | 11222 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } |
18538 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then | 11223 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : |
18539 $as_echo_n "(cached) " >&6 | 11224 $as_echo_n "(cached) " >&6 |
18540 else | 11225 else |
18541 ac_check_lib_save_LIBS=$LIBS | 11226 ac_check_lib_save_LIBS=$LIBS |
18542 LIBS="-lkvm $LIBS" | 11227 LIBS="-lkvm $LIBS" |
18543 cat >conftest.$ac_ext <<_ACEOF | 11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
18544 /* confdefs.h. */ | |
18545 _ACEOF | |
18546 cat confdefs.h >>conftest.$ac_ext | |
18547 cat >>conftest.$ac_ext <<_ACEOF | |
18548 /* end confdefs.h. */ | 11229 /* end confdefs.h. */ |
18549 | 11230 |
18550 /* Override any GCC internal prototype to avoid an error. | 11231 /* Override any GCC internal prototype to avoid an error. |
18551 Use char because int might match the return type of a GCC | 11232 Use char because int might match the return type of a GCC |
18552 builtin and then its argument prototype would still apply. */ | 11233 builtin and then its argument prototype would still apply. */ |
18560 return kvm_open (); | 11241 return kvm_open (); |
18561 ; | 11242 ; |
18562 return 0; | 11243 return 0; |
18563 } | 11244 } |
18564 _ACEOF | 11245 _ACEOF |
18565 rm -f conftest.$ac_objext conftest$ac_exeext | 11246 if ac_fn_c_try_link "$LINENO"; then : |
18566 if { (ac_try="$ac_link" | |
18567 case "(($ac_try" in | |
18568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18569 *) ac_try_echo=$ac_try;; | |
18570 esac | |
18571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18572 $as_echo "$ac_try_echo") >&5 | |
18573 (eval "$ac_link") 2>conftest.er1 | |
18574 ac_status=$? | |
18575 grep -v '^ *+' conftest.er1 >conftest.err | |
18576 rm -f conftest.er1 | |
18577 cat conftest.err >&5 | |
18578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18579 (exit $ac_status); } && { | |
18580 test -z "$ac_c_werror_flag" || | |
18581 test ! -s conftest.err | |
18582 } && test -s conftest$ac_exeext && { | |
18583 test "$cross_compiling" = yes || | |
18584 $as_test_x conftest$ac_exeext | |
18585 }; then | |
18586 ac_cv_lib_kvm_kvm_open=yes | 11247 ac_cv_lib_kvm_kvm_open=yes |
18587 else | 11248 else |
18588 $as_echo "$as_me: failed program was:" >&5 | 11249 ac_cv_lib_kvm_kvm_open=no |
18589 sed 's/^/| /' conftest.$ac_ext >&5 | 11250 fi |
18590 | 11251 rm -f core conftest.err conftest.$ac_objext \ |
18591 ac_cv_lib_kvm_kvm_open=no | 11252 conftest$ac_exeext conftest.$ac_ext |
18592 fi | |
18593 | |
18594 rm -rf conftest.dSYM | |
18595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18596 conftest$ac_exeext conftest.$ac_ext | |
18597 LIBS=$ac_check_lib_save_LIBS | 11253 LIBS=$ac_check_lib_save_LIBS |
18598 fi | 11254 fi |
18599 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 | 11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 |
18600 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } | 11256 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } |
18601 if test $ac_cv_lib_kvm_kvm_open = yes; then | 11257 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : |
18602 LIBS="-lkvm $LIBS" | 11258 LIBS="-lkvm $LIBS" |
18603 fi | 11259 fi |
18604 | 11260 |
18605 # Check for the 4.4BSD definition of getloadavg. | 11261 # Check for the 4.4BSD definition of getloadavg. |
18606 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 | 11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 |
18607 $as_echo_n "checking for getloadavg in -lutil... " >&6; } | 11263 $as_echo_n "checking for getloadavg in -lutil... " >&6; } |
18608 if test "${ac_cv_lib_util_getloadavg+set}" = set; then | 11264 if test "${ac_cv_lib_util_getloadavg+set}" = set; then : |
18609 $as_echo_n "(cached) " >&6 | 11265 $as_echo_n "(cached) " >&6 |
18610 else | 11266 else |
18611 ac_check_lib_save_LIBS=$LIBS | 11267 ac_check_lib_save_LIBS=$LIBS |
18612 LIBS="-lutil $LIBS" | 11268 LIBS="-lutil $LIBS" |
18613 cat >conftest.$ac_ext <<_ACEOF | 11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
18614 /* confdefs.h. */ | |
18615 _ACEOF | |
18616 cat confdefs.h >>conftest.$ac_ext | |
18617 cat >>conftest.$ac_ext <<_ACEOF | |
18618 /* end confdefs.h. */ | 11270 /* end confdefs.h. */ |
18619 | 11271 |
18620 /* Override any GCC internal prototype to avoid an error. | 11272 /* Override any GCC internal prototype to avoid an error. |
18621 Use char because int might match the return type of a GCC | 11273 Use char because int might match the return type of a GCC |
18622 builtin and then its argument prototype would still apply. */ | 11274 builtin and then its argument prototype would still apply. */ |
18630 return getloadavg (); | 11282 return getloadavg (); |
18631 ; | 11283 ; |
18632 return 0; | 11284 return 0; |
18633 } | 11285 } |
18634 _ACEOF | 11286 _ACEOF |
18635 rm -f conftest.$ac_objext conftest$ac_exeext | 11287 if ac_fn_c_try_link "$LINENO"; then : |
18636 if { (ac_try="$ac_link" | |
18637 case "(($ac_try" in | |
18638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18639 *) ac_try_echo=$ac_try;; | |
18640 esac | |
18641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18642 $as_echo "$ac_try_echo") >&5 | |
18643 (eval "$ac_link") 2>conftest.er1 | |
18644 ac_status=$? | |
18645 grep -v '^ *+' conftest.er1 >conftest.err | |
18646 rm -f conftest.er1 | |
18647 cat conftest.err >&5 | |
18648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18649 (exit $ac_status); } && { | |
18650 test -z "$ac_c_werror_flag" || | |
18651 test ! -s conftest.err | |
18652 } && test -s conftest$ac_exeext && { | |
18653 test "$cross_compiling" = yes || | |
18654 $as_test_x conftest$ac_exeext | |
18655 }; then | |
18656 ac_cv_lib_util_getloadavg=yes | 11288 ac_cv_lib_util_getloadavg=yes |
18657 else | 11289 else |
18658 $as_echo "$as_me: failed program was:" >&5 | 11290 ac_cv_lib_util_getloadavg=no |
18659 sed 's/^/| /' conftest.$ac_ext >&5 | 11291 fi |
18660 | 11292 rm -f core conftest.err conftest.$ac_objext \ |
18661 ac_cv_lib_util_getloadavg=no | 11293 conftest$ac_exeext conftest.$ac_ext |
18662 fi | |
18663 | |
18664 rm -rf conftest.dSYM | |
18665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18666 conftest$ac_exeext conftest.$ac_ext | |
18667 LIBS=$ac_check_lib_save_LIBS | 11294 LIBS=$ac_check_lib_save_LIBS |
18668 fi | 11295 fi |
18669 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 | 11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 |
18670 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } | 11297 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } |
18671 if test $ac_cv_lib_util_getloadavg = yes; then | 11298 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : |
18672 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 11299 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
18673 fi | 11300 fi |
18674 | 11301 |
18675 fi | 11302 fi |
18676 | 11303 |
18677 if test $ac_have_func = no; then | 11304 if test $ac_have_func = no; then |
18678 # There is a commonly available library for RS/6000 AIX. | 11305 # There is a commonly available library for RS/6000 AIX. |
18679 # Since it is not a standard part of AIX, it might be installed locally. | 11306 # Since it is not a standard part of AIX, it might be installed locally. |
18680 ac_getloadavg_LIBS=$LIBS | 11307 ac_getloadavg_LIBS=$LIBS |
18681 LIBS="-L/usr/local/lib $LIBS" | 11308 LIBS="-L/usr/local/lib $LIBS" |
18682 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 | 11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 |
18683 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } | 11310 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } |
18684 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then | 11311 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : |
18685 $as_echo_n "(cached) " >&6 | 11312 $as_echo_n "(cached) " >&6 |
18686 else | 11313 else |
18687 ac_check_lib_save_LIBS=$LIBS | 11314 ac_check_lib_save_LIBS=$LIBS |
18688 LIBS="-lgetloadavg $LIBS" | 11315 LIBS="-lgetloadavg $LIBS" |
18689 cat >conftest.$ac_ext <<_ACEOF | 11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
18690 /* confdefs.h. */ | |
18691 _ACEOF | |
18692 cat confdefs.h >>conftest.$ac_ext | |
18693 cat >>conftest.$ac_ext <<_ACEOF | |
18694 /* end confdefs.h. */ | 11317 /* end confdefs.h. */ |
18695 | 11318 |
18696 /* Override any GCC internal prototype to avoid an error. | 11319 /* Override any GCC internal prototype to avoid an error. |
18697 Use char because int might match the return type of a GCC | 11320 Use char because int might match the return type of a GCC |
18698 builtin and then its argument prototype would still apply. */ | 11321 builtin and then its argument prototype would still apply. */ |
18706 return getloadavg (); | 11329 return getloadavg (); |
18707 ; | 11330 ; |
18708 return 0; | 11331 return 0; |
18709 } | 11332 } |
18710 _ACEOF | 11333 _ACEOF |
18711 rm -f conftest.$ac_objext conftest$ac_exeext | 11334 if ac_fn_c_try_link "$LINENO"; then : |
18712 if { (ac_try="$ac_link" | |
18713 case "(($ac_try" in | |
18714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18715 *) ac_try_echo=$ac_try;; | |
18716 esac | |
18717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18718 $as_echo "$ac_try_echo") >&5 | |
18719 (eval "$ac_link") 2>conftest.er1 | |
18720 ac_status=$? | |
18721 grep -v '^ *+' conftest.er1 >conftest.err | |
18722 rm -f conftest.er1 | |
18723 cat conftest.err >&5 | |
18724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18725 (exit $ac_status); } && { | |
18726 test -z "$ac_c_werror_flag" || | |
18727 test ! -s conftest.err | |
18728 } && test -s conftest$ac_exeext && { | |
18729 test "$cross_compiling" = yes || | |
18730 $as_test_x conftest$ac_exeext | |
18731 }; then | |
18732 ac_cv_lib_getloadavg_getloadavg=yes | 11335 ac_cv_lib_getloadavg_getloadavg=yes |
18733 else | 11336 else |
18734 $as_echo "$as_me: failed program was:" >&5 | 11337 ac_cv_lib_getloadavg_getloadavg=no |
18735 sed 's/^/| /' conftest.$ac_ext >&5 | 11338 fi |
18736 | 11339 rm -f core conftest.err conftest.$ac_objext \ |
18737 ac_cv_lib_getloadavg_getloadavg=no | 11340 conftest$ac_exeext conftest.$ac_ext |
18738 fi | |
18739 | |
18740 rm -rf conftest.dSYM | |
18741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18742 conftest$ac_exeext conftest.$ac_ext | |
18743 LIBS=$ac_check_lib_save_LIBS | 11341 LIBS=$ac_check_lib_save_LIBS |
18744 fi | 11342 fi |
18745 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
18746 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } | 11344 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } |
18747 if test $ac_cv_lib_getloadavg_getloadavg = yes; then | 11345 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : |
18748 LIBS="-lgetloadavg $LIBS" | 11346 LIBS="-lgetloadavg $LIBS" |
18749 else | 11347 else |
18750 LIBS=$ac_getloadavg_LIBS | 11348 LIBS=$ac_getloadavg_LIBS |
18751 fi | 11349 fi |
18752 | 11350 |
18753 fi | 11351 fi |
18754 | 11352 |
18755 # Make sure it is really in the library, if we think we found it, | 11353 # Make sure it is really in the library, if we think we found it, |
18756 # otherwise set up the replacement function. | 11354 # otherwise set up the replacement function. |
18757 | |
18758 for ac_func in getloadavg | 11355 for ac_func in getloadavg |
18759 do | 11356 do : |
18760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11357 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
18761 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11358 if test "x$ac_cv_func_getloadavg" = x""yes; then : |
18762 $as_echo_n "checking for $ac_func... " >&6; } | |
18763 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
18764 $as_echo_n "(cached) " >&6 | |
18765 else | |
18766 cat >conftest.$ac_ext <<_ACEOF | |
18767 /* confdefs.h. */ | |
18768 _ACEOF | |
18769 cat confdefs.h >>conftest.$ac_ext | |
18770 cat >>conftest.$ac_ext <<_ACEOF | |
18771 /* end confdefs.h. */ | |
18772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
18773 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
18774 #define $ac_func innocuous_$ac_func | |
18775 | |
18776 /* System header to define __stub macros and hopefully few prototypes, | |
18777 which can conflict with char $ac_func (); below. | |
18778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18779 <limits.h> exists even on freestanding compilers. */ | |
18780 | |
18781 #ifdef __STDC__ | |
18782 # include <limits.h> | |
18783 #else | |
18784 # include <assert.h> | |
18785 #endif | |
18786 | |
18787 #undef $ac_func | |
18788 | |
18789 /* Override any GCC internal prototype to avoid an error. | |
18790 Use char because int might match the return type of a GCC | |
18791 builtin and then its argument prototype would still apply. */ | |
18792 #ifdef __cplusplus | |
18793 extern "C" | |
18794 #endif | |
18795 char $ac_func (); | |
18796 /* The GNU C library defines this for functions which it implements | |
18797 to always fail with ENOSYS. Some functions are actually named | |
18798 something starting with __ and the normal name is an alias. */ | |
18799 #if defined __stub_$ac_func || defined __stub___$ac_func | |
18800 choke me | |
18801 #endif | |
18802 | |
18803 int | |
18804 main () | |
18805 { | |
18806 return $ac_func (); | |
18807 ; | |
18808 return 0; | |
18809 } | |
18810 _ACEOF | |
18811 rm -f conftest.$ac_objext conftest$ac_exeext | |
18812 if { (ac_try="$ac_link" | |
18813 case "(($ac_try" in | |
18814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18815 *) ac_try_echo=$ac_try;; | |
18816 esac | |
18817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18818 $as_echo "$ac_try_echo") >&5 | |
18819 (eval "$ac_link") 2>conftest.er1 | |
18820 ac_status=$? | |
18821 grep -v '^ *+' conftest.er1 >conftest.err | |
18822 rm -f conftest.er1 | |
18823 cat conftest.err >&5 | |
18824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18825 (exit $ac_status); } && { | |
18826 test -z "$ac_c_werror_flag" || | |
18827 test ! -s conftest.err | |
18828 } && test -s conftest$ac_exeext && { | |
18829 test "$cross_compiling" = yes || | |
18830 $as_test_x conftest$ac_exeext | |
18831 }; then | |
18832 eval "$as_ac_var=yes" | |
18833 else | |
18834 $as_echo "$as_me: failed program was:" >&5 | |
18835 sed 's/^/| /' conftest.$ac_ext >&5 | |
18836 | |
18837 eval "$as_ac_var=no" | |
18838 fi | |
18839 | |
18840 rm -rf conftest.dSYM | |
18841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18842 conftest$ac_exeext conftest.$ac_ext | |
18843 fi | |
18844 ac_res=`eval 'as_val=${'$as_ac_var'} | |
18845 $as_echo "$as_val"'` | |
18846 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
18847 $as_echo "$ac_res" >&6; } | |
18848 if test `eval 'as_val=${'$as_ac_var'} | |
18849 $as_echo "$as_val"'` = yes; then | |
18850 cat >>confdefs.h <<_ACEOF | 11359 cat >>confdefs.h <<_ACEOF |
18851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11360 #define HAVE_GETLOADAVG 1 |
18852 _ACEOF | 11361 _ACEOF |
18853 | 11362 |
18854 else | 11363 else |
18855 case " $LIBOBJS " in | 11364 case " $LIBOBJS " in |
18856 *" getloadavg.$ac_objext "* ) ;; | 11365 *" getloadavg.$ac_objext "* ) ;; |
18857 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" | 11366 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" |
18858 ;; | 11367 ;; |
18859 esac | 11368 esac |
18860 | 11369 |
18861 | 11370 |
18862 cat >>confdefs.h <<\_ACEOF | 11371 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h |
18863 #define C_GETLOADAVG 1 | |
18864 _ACEOF | |
18865 | 11372 |
18866 # Figure out what our getloadavg.c needs. | 11373 # Figure out what our getloadavg.c needs. |
18867 ac_have_func=no | 11374 ac_have_func=no |
18868 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 11375 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" |
18869 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | 11376 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : |
18870 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | |
18871 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | |
18872 $as_echo_n "(cached) " >&6 | |
18873 fi | |
18874 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | |
18875 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | |
18876 else | |
18877 # Is the header compilable? | |
18878 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | |
18879 $as_echo_n "checking sys/dg_sys_info.h usability... " >&6; } | |
18880 cat >conftest.$ac_ext <<_ACEOF | |
18881 /* confdefs.h. */ | |
18882 _ACEOF | |
18883 cat confdefs.h >>conftest.$ac_ext | |
18884 cat >>conftest.$ac_ext <<_ACEOF | |
18885 /* end confdefs.h. */ | |
18886 $ac_includes_default | |
18887 #include <sys/dg_sys_info.h> | |
18888 _ACEOF | |
18889 rm -f conftest.$ac_objext | |
18890 if { (ac_try="$ac_compile" | |
18891 case "(($ac_try" in | |
18892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18893 *) ac_try_echo=$ac_try;; | |
18894 esac | |
18895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18896 $as_echo "$ac_try_echo") >&5 | |
18897 (eval "$ac_compile") 2>conftest.er1 | |
18898 ac_status=$? | |
18899 grep -v '^ *+' conftest.er1 >conftest.err | |
18900 rm -f conftest.er1 | |
18901 cat conftest.err >&5 | |
18902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18903 (exit $ac_status); } && { | |
18904 test -z "$ac_c_werror_flag" || | |
18905 test ! -s conftest.err | |
18906 } && test -s conftest.$ac_objext; then | |
18907 ac_header_compiler=yes | |
18908 else | |
18909 $as_echo "$as_me: failed program was:" >&5 | |
18910 sed 's/^/| /' conftest.$ac_ext >&5 | |
18911 | |
18912 ac_header_compiler=no | |
18913 fi | |
18914 | |
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
18916 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
18917 $as_echo "$ac_header_compiler" >&6; } | |
18918 | |
18919 # Is the header present? | |
18920 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | |
18921 $as_echo_n "checking sys/dg_sys_info.h presence... " >&6; } | |
18922 cat >conftest.$ac_ext <<_ACEOF | |
18923 /* confdefs.h. */ | |
18924 _ACEOF | |
18925 cat confdefs.h >>conftest.$ac_ext | |
18926 cat >>conftest.$ac_ext <<_ACEOF | |
18927 /* end confdefs.h. */ | |
18928 #include <sys/dg_sys_info.h> | |
18929 _ACEOF | |
18930 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
18931 case "(($ac_try" in | |
18932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18933 *) ac_try_echo=$ac_try;; | |
18934 esac | |
18935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18936 $as_echo "$ac_try_echo") >&5 | |
18937 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
18938 ac_status=$? | |
18939 grep -v '^ *+' conftest.er1 >conftest.err | |
18940 rm -f conftest.er1 | |
18941 cat conftest.err >&5 | |
18942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18943 (exit $ac_status); } >/dev/null && { | |
18944 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
18945 test ! -s conftest.err | |
18946 }; then | |
18947 ac_header_preproc=yes | |
18948 else | |
18949 $as_echo "$as_me: failed program was:" >&5 | |
18950 sed 's/^/| /' conftest.$ac_ext >&5 | |
18951 | |
18952 ac_header_preproc=no | |
18953 fi | |
18954 | |
18955 rm -f conftest.err conftest.$ac_ext | |
18956 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
18957 $as_echo "$ac_header_preproc" >&6; } | |
18958 | |
18959 # So? What about this header? | |
18960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
18961 yes:no: ) | |
18962 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
18963 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
18964 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5 | |
18965 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;} | |
18966 ac_header_preproc=yes | |
18967 ;; | |
18968 no:yes:* ) | |
18969 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 | |
18970 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} | |
18971 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 | |
18972 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} | |
18973 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5 | |
18974 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;} | |
18975 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5 | |
18976 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
18977 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | |
18978 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} | |
18979 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 | |
18980 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} | |
18981 | |
18982 ;; | |
18983 esac | |
18984 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | |
18985 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | |
18986 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | |
18987 $as_echo_n "(cached) " >&6 | |
18988 else | |
18989 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | |
18990 fi | |
18991 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | |
18992 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | |
18993 | |
18994 fi | |
18995 if test $ac_cv_header_sys_dg_sys_info_h = yes; then | |
18996 ac_have_func=yes | 11377 ac_have_func=yes |
18997 | 11378 |
18998 cat >>confdefs.h <<\_ACEOF | 11379 $as_echo "#define DGUX 1" >>confdefs.h |
18999 #define DGUX 1 | 11380 |
19000 _ACEOF | 11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 |
19001 | |
19002 | |
19003 { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 | |
19004 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } | 11382 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } |
19005 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then | 11383 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : |
19006 $as_echo_n "(cached) " >&6 | 11384 $as_echo_n "(cached) " >&6 |
19007 else | 11385 else |
19008 ac_check_lib_save_LIBS=$LIBS | 11386 ac_check_lib_save_LIBS=$LIBS |
19009 LIBS="-ldgc $LIBS" | 11387 LIBS="-ldgc $LIBS" |
19010 cat >conftest.$ac_ext <<_ACEOF | 11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19011 /* confdefs.h. */ | |
19012 _ACEOF | |
19013 cat confdefs.h >>conftest.$ac_ext | |
19014 cat >>conftest.$ac_ext <<_ACEOF | |
19015 /* end confdefs.h. */ | 11389 /* end confdefs.h. */ |
19016 | 11390 |
19017 /* Override any GCC internal prototype to avoid an error. | 11391 /* Override any GCC internal prototype to avoid an error. |
19018 Use char because int might match the return type of a GCC | 11392 Use char because int might match the return type of a GCC |
19019 builtin and then its argument prototype would still apply. */ | 11393 builtin and then its argument prototype would still apply. */ |
19027 return dg_sys_info (); | 11401 return dg_sys_info (); |
19028 ; | 11402 ; |
19029 return 0; | 11403 return 0; |
19030 } | 11404 } |
19031 _ACEOF | 11405 _ACEOF |
19032 rm -f conftest.$ac_objext conftest$ac_exeext | 11406 if ac_fn_c_try_link "$LINENO"; then : |
19033 if { (ac_try="$ac_link" | |
19034 case "(($ac_try" in | |
19035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19036 *) ac_try_echo=$ac_try;; | |
19037 esac | |
19038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19039 $as_echo "$ac_try_echo") >&5 | |
19040 (eval "$ac_link") 2>conftest.er1 | |
19041 ac_status=$? | |
19042 grep -v '^ *+' conftest.er1 >conftest.err | |
19043 rm -f conftest.er1 | |
19044 cat conftest.err >&5 | |
19045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19046 (exit $ac_status); } && { | |
19047 test -z "$ac_c_werror_flag" || | |
19048 test ! -s conftest.err | |
19049 } && test -s conftest$ac_exeext && { | |
19050 test "$cross_compiling" = yes || | |
19051 $as_test_x conftest$ac_exeext | |
19052 }; then | |
19053 ac_cv_lib_dgc_dg_sys_info=yes | 11407 ac_cv_lib_dgc_dg_sys_info=yes |
19054 else | 11408 else |
19055 $as_echo "$as_me: failed program was:" >&5 | 11409 ac_cv_lib_dgc_dg_sys_info=no |
19056 sed 's/^/| /' conftest.$ac_ext >&5 | 11410 fi |
19057 | 11411 rm -f core conftest.err conftest.$ac_objext \ |
19058 ac_cv_lib_dgc_dg_sys_info=no | 11412 conftest$ac_exeext conftest.$ac_ext |
19059 fi | |
19060 | |
19061 rm -rf conftest.dSYM | |
19062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
19063 conftest$ac_exeext conftest.$ac_ext | |
19064 LIBS=$ac_check_lib_save_LIBS | 11413 LIBS=$ac_check_lib_save_LIBS |
19065 fi | 11414 fi |
19066 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
19067 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } | 11416 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } |
19068 if test $ac_cv_lib_dgc_dg_sys_info = yes; then | 11417 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : |
19069 cat >>confdefs.h <<_ACEOF | 11418 cat >>confdefs.h <<_ACEOF |
19070 #define HAVE_LIBDGC 1 | 11419 #define HAVE_LIBDGC 1 |
19071 _ACEOF | 11420 _ACEOF |
19072 | 11421 |
19073 LIBS="-ldgc $LIBS" | 11422 LIBS="-ldgc $LIBS" |
19076 | 11425 |
19077 fi | 11426 fi |
19078 | 11427 |
19079 | 11428 |
19080 | 11429 |
19081 if test "${ac_cv_header_locale_h+set}" = set; then | 11430 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
19082 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 | 11431 if test "x$ac_cv_header_locale_h" = x""yes; then : |
19083 $as_echo_n "checking for locale.h... " >&6; } | 11432 |
19084 if test "${ac_cv_header_locale_h+set}" = set; then | 11433 fi |
19085 $as_echo_n "(cached) " >&6 | |
19086 fi | |
19087 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | |
19088 $as_echo "$ac_cv_header_locale_h" >&6; } | |
19089 else | |
19090 # Is the header compilable? | |
19091 { $as_echo "$as_me:$LINENO: checking locale.h usability" >&5 | |
19092 $as_echo_n "checking locale.h usability... " >&6; } | |
19093 cat >conftest.$ac_ext <<_ACEOF | |
19094 /* confdefs.h. */ | |
19095 _ACEOF | |
19096 cat confdefs.h >>conftest.$ac_ext | |
19097 cat >>conftest.$ac_ext <<_ACEOF | |
19098 /* end confdefs.h. */ | |
19099 $ac_includes_default | |
19100 #include <locale.h> | |
19101 _ACEOF | |
19102 rm -f conftest.$ac_objext | |
19103 if { (ac_try="$ac_compile" | |
19104 case "(($ac_try" in | |
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19106 *) ac_try_echo=$ac_try;; | |
19107 esac | |
19108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19109 $as_echo "$ac_try_echo") >&5 | |
19110 (eval "$ac_compile") 2>conftest.er1 | |
19111 ac_status=$? | |
19112 grep -v '^ *+' conftest.er1 >conftest.err | |
19113 rm -f conftest.er1 | |
19114 cat conftest.err >&5 | |
19115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19116 (exit $ac_status); } && { | |
19117 test -z "$ac_c_werror_flag" || | |
19118 test ! -s conftest.err | |
19119 } && test -s conftest.$ac_objext; then | |
19120 ac_header_compiler=yes | |
19121 else | |
19122 $as_echo "$as_me: failed program was:" >&5 | |
19123 sed 's/^/| /' conftest.$ac_ext >&5 | |
19124 | |
19125 ac_header_compiler=no | |
19126 fi | |
19127 | |
19128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19129 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19130 $as_echo "$ac_header_compiler" >&6; } | |
19131 | |
19132 # Is the header present? | |
19133 { $as_echo "$as_me:$LINENO: checking locale.h presence" >&5 | |
19134 $as_echo_n "checking locale.h presence... " >&6; } | |
19135 cat >conftest.$ac_ext <<_ACEOF | |
19136 /* confdefs.h. */ | |
19137 _ACEOF | |
19138 cat confdefs.h >>conftest.$ac_ext | |
19139 cat >>conftest.$ac_ext <<_ACEOF | |
19140 /* end confdefs.h. */ | |
19141 #include <locale.h> | |
19142 _ACEOF | |
19143 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
19144 case "(($ac_try" in | |
19145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19146 *) ac_try_echo=$ac_try;; | |
19147 esac | |
19148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19149 $as_echo "$ac_try_echo") >&5 | |
19150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19151 ac_status=$? | |
19152 grep -v '^ *+' conftest.er1 >conftest.err | |
19153 rm -f conftest.er1 | |
19154 cat conftest.err >&5 | |
19155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19156 (exit $ac_status); } >/dev/null && { | |
19157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
19158 test ! -s conftest.err | |
19159 }; then | |
19160 ac_header_preproc=yes | |
19161 else | |
19162 $as_echo "$as_me: failed program was:" >&5 | |
19163 sed 's/^/| /' conftest.$ac_ext >&5 | |
19164 | |
19165 ac_header_preproc=no | |
19166 fi | |
19167 | |
19168 rm -f conftest.err conftest.$ac_ext | |
19169 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19170 $as_echo "$ac_header_preproc" >&6; } | |
19171 | |
19172 # So? What about this header? | |
19173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
19174 yes:no: ) | |
19175 { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19176 $as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19177 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5 | |
19178 $as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;} | |
19179 ac_header_preproc=yes | |
19180 ;; | |
19181 no:yes:* ) | |
19182 { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 | |
19183 $as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} | |
19184 { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 | |
19185 $as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} | |
19186 { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5 | |
19187 $as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;} | |
19188 { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5 | |
19189 $as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
19190 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | |
19191 $as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} | |
19192 { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 | |
19193 $as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} | |
19194 | |
19195 ;; | |
19196 esac | |
19197 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 | |
19198 $as_echo_n "checking for locale.h... " >&6; } | |
19199 if test "${ac_cv_header_locale_h+set}" = set; then | |
19200 $as_echo_n "(cached) " >&6 | |
19201 else | |
19202 ac_cv_header_locale_h=$ac_header_preproc | |
19203 fi | |
19204 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | |
19205 $as_echo "$ac_cv_header_locale_h" >&6; } | |
19206 | |
19207 fi | |
19208 | |
19209 | 11434 |
19210 | 11435 |
19211 for ac_func in setlocale | 11436 for ac_func in setlocale |
19212 do | 11437 do : |
19213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11438 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" |
19214 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11439 if test "x$ac_cv_func_setlocale" = x""yes; then : |
19215 $as_echo_n "checking for $ac_func... " >&6; } | |
19216 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
19217 $as_echo_n "(cached) " >&6 | |
19218 else | |
19219 cat >conftest.$ac_ext <<_ACEOF | |
19220 /* confdefs.h. */ | |
19221 _ACEOF | |
19222 cat confdefs.h >>conftest.$ac_ext | |
19223 cat >>conftest.$ac_ext <<_ACEOF | |
19224 /* end confdefs.h. */ | |
19225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
19226 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
19227 #define $ac_func innocuous_$ac_func | |
19228 | |
19229 /* System header to define __stub macros and hopefully few prototypes, | |
19230 which can conflict with char $ac_func (); below. | |
19231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
19232 <limits.h> exists even on freestanding compilers. */ | |
19233 | |
19234 #ifdef __STDC__ | |
19235 # include <limits.h> | |
19236 #else | |
19237 # include <assert.h> | |
19238 #endif | |
19239 | |
19240 #undef $ac_func | |
19241 | |
19242 /* Override any GCC internal prototype to avoid an error. | |
19243 Use char because int might match the return type of a GCC | |
19244 builtin and then its argument prototype would still apply. */ | |
19245 #ifdef __cplusplus | |
19246 extern "C" | |
19247 #endif | |
19248 char $ac_func (); | |
19249 /* The GNU C library defines this for functions which it implements | |
19250 to always fail with ENOSYS. Some functions are actually named | |
19251 something starting with __ and the normal name is an alias. */ | |
19252 #if defined __stub_$ac_func || defined __stub___$ac_func | |
19253 choke me | |
19254 #endif | |
19255 | |
19256 int | |
19257 main () | |
19258 { | |
19259 return $ac_func (); | |
19260 ; | |
19261 return 0; | |
19262 } | |
19263 _ACEOF | |
19264 rm -f conftest.$ac_objext conftest$ac_exeext | |
19265 if { (ac_try="$ac_link" | |
19266 case "(($ac_try" in | |
19267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19268 *) ac_try_echo=$ac_try;; | |
19269 esac | |
19270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19271 $as_echo "$ac_try_echo") >&5 | |
19272 (eval "$ac_link") 2>conftest.er1 | |
19273 ac_status=$? | |
19274 grep -v '^ *+' conftest.er1 >conftest.err | |
19275 rm -f conftest.er1 | |
19276 cat conftest.err >&5 | |
19277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19278 (exit $ac_status); } && { | |
19279 test -z "$ac_c_werror_flag" || | |
19280 test ! -s conftest.err | |
19281 } && test -s conftest$ac_exeext && { | |
19282 test "$cross_compiling" = yes || | |
19283 $as_test_x conftest$ac_exeext | |
19284 }; then | |
19285 eval "$as_ac_var=yes" | |
19286 else | |
19287 $as_echo "$as_me: failed program was:" >&5 | |
19288 sed 's/^/| /' conftest.$ac_ext >&5 | |
19289 | |
19290 eval "$as_ac_var=no" | |
19291 fi | |
19292 | |
19293 rm -rf conftest.dSYM | |
19294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
19295 conftest$ac_exeext conftest.$ac_ext | |
19296 fi | |
19297 ac_res=`eval 'as_val=${'$as_ac_var'} | |
19298 $as_echo "$as_val"'` | |
19299 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
19300 $as_echo "$ac_res" >&6; } | |
19301 if test `eval 'as_val=${'$as_ac_var'} | |
19302 $as_echo "$as_val"'` = yes; then | |
19303 cat >>confdefs.h <<_ACEOF | 11440 cat >>confdefs.h <<_ACEOF |
19304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11441 #define HAVE_SETLOCALE 1 |
19305 _ACEOF | 11442 _ACEOF |
19306 | 11443 |
19307 fi | 11444 fi |
19308 done | 11445 done |
19309 | 11446 |
19312 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because | 11449 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because |
19313 # Irix 4.0.5F has the header but not the library. | 11450 # Irix 4.0.5F has the header but not the library. |
19314 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | 11451 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then |
19315 ac_have_func=yes | 11452 ac_have_func=yes |
19316 | 11453 |
19317 cat >>confdefs.h <<\_ACEOF | 11454 $as_echo "#define SVR4 1" >>confdefs.h |
19318 #define SVR4 1 | |
19319 _ACEOF | |
19320 | 11455 |
19321 fi | 11456 fi |
19322 | 11457 |
19323 if test $ac_have_func = no; then | 11458 if test $ac_have_func = no; then |
19324 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 11459 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" |
19325 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | 11460 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : |
19326 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | |
19327 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | |
19328 $as_echo_n "(cached) " >&6 | |
19329 fi | |
19330 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | |
19331 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | |
19332 else | |
19333 # Is the header compilable? | |
19334 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | |
19335 $as_echo_n "checking inq_stats/cpustats.h usability... " >&6; } | |
19336 cat >conftest.$ac_ext <<_ACEOF | |
19337 /* confdefs.h. */ | |
19338 _ACEOF | |
19339 cat confdefs.h >>conftest.$ac_ext | |
19340 cat >>conftest.$ac_ext <<_ACEOF | |
19341 /* end confdefs.h. */ | |
19342 $ac_includes_default | |
19343 #include <inq_stats/cpustats.h> | |
19344 _ACEOF | |
19345 rm -f conftest.$ac_objext | |
19346 if { (ac_try="$ac_compile" | |
19347 case "(($ac_try" in | |
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19349 *) ac_try_echo=$ac_try;; | |
19350 esac | |
19351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19352 $as_echo "$ac_try_echo") >&5 | |
19353 (eval "$ac_compile") 2>conftest.er1 | |
19354 ac_status=$? | |
19355 grep -v '^ *+' conftest.er1 >conftest.err | |
19356 rm -f conftest.er1 | |
19357 cat conftest.err >&5 | |
19358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19359 (exit $ac_status); } && { | |
19360 test -z "$ac_c_werror_flag" || | |
19361 test ! -s conftest.err | |
19362 } && test -s conftest.$ac_objext; then | |
19363 ac_header_compiler=yes | |
19364 else | |
19365 $as_echo "$as_me: failed program was:" >&5 | |
19366 sed 's/^/| /' conftest.$ac_ext >&5 | |
19367 | |
19368 ac_header_compiler=no | |
19369 fi | |
19370 | |
19371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19372 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19373 $as_echo "$ac_header_compiler" >&6; } | |
19374 | |
19375 # Is the header present? | |
19376 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | |
19377 $as_echo_n "checking inq_stats/cpustats.h presence... " >&6; } | |
19378 cat >conftest.$ac_ext <<_ACEOF | |
19379 /* confdefs.h. */ | |
19380 _ACEOF | |
19381 cat confdefs.h >>conftest.$ac_ext | |
19382 cat >>conftest.$ac_ext <<_ACEOF | |
19383 /* end confdefs.h. */ | |
19384 #include <inq_stats/cpustats.h> | |
19385 _ACEOF | |
19386 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
19387 case "(($ac_try" in | |
19388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19389 *) ac_try_echo=$ac_try;; | |
19390 esac | |
19391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19392 $as_echo "$ac_try_echo") >&5 | |
19393 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19394 ac_status=$? | |
19395 grep -v '^ *+' conftest.er1 >conftest.err | |
19396 rm -f conftest.er1 | |
19397 cat conftest.err >&5 | |
19398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19399 (exit $ac_status); } >/dev/null && { | |
19400 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
19401 test ! -s conftest.err | |
19402 }; then | |
19403 ac_header_preproc=yes | |
19404 else | |
19405 $as_echo "$as_me: failed program was:" >&5 | |
19406 sed 's/^/| /' conftest.$ac_ext >&5 | |
19407 | |
19408 ac_header_preproc=no | |
19409 fi | |
19410 | |
19411 rm -f conftest.err conftest.$ac_ext | |
19412 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19413 $as_echo "$ac_header_preproc" >&6; } | |
19414 | |
19415 # So? What about this header? | |
19416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
19417 yes:no: ) | |
19418 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19419 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19420 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5 | |
19421 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;} | |
19422 ac_header_preproc=yes | |
19423 ;; | |
19424 no:yes:* ) | |
19425 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 | |
19426 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} | |
19427 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 | |
19428 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} | |
19429 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5 | |
19430 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;} | |
19431 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | |
19432 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
19433 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | |
19434 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} | |
19435 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 | |
19436 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} | |
19437 | |
19438 ;; | |
19439 esac | |
19440 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | |
19441 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | |
19442 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | |
19443 $as_echo_n "(cached) " >&6 | |
19444 else | |
19445 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | |
19446 fi | |
19447 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | |
19448 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | |
19449 | |
19450 fi | |
19451 if test $ac_cv_header_inq_stats_cpustats_h = yes; then | |
19452 ac_have_func=yes | 11461 ac_have_func=yes |
19453 | 11462 |
19454 cat >>confdefs.h <<\_ACEOF | 11463 $as_echo "#define UMAX 1" >>confdefs.h |
19455 #define UMAX 1 | 11464 |
19456 _ACEOF | 11465 |
19457 | 11466 $as_echo "#define UMAX4_3 1" >>confdefs.h |
19458 | |
19459 cat >>confdefs.h <<\_ACEOF | |
19460 #define UMAX4_3 1 | |
19461 _ACEOF | |
19462 | 11467 |
19463 fi | 11468 fi |
19464 | 11469 |
19465 | 11470 |
19466 fi | 11471 fi |
19467 | 11472 |
19468 if test $ac_have_func = no; then | 11473 if test $ac_have_func = no; then |
19469 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 11474 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" |
19470 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | 11475 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : |
19471 $as_echo_n "checking for sys/cpustats.h... " >&6; } | 11476 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h |
19472 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | |
19473 $as_echo_n "(cached) " >&6 | |
19474 fi | |
19475 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | |
19476 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | |
19477 else | |
19478 # Is the header compilable? | |
19479 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | |
19480 $as_echo_n "checking sys/cpustats.h usability... " >&6; } | |
19481 cat >conftest.$ac_ext <<_ACEOF | |
19482 /* confdefs.h. */ | |
19483 _ACEOF | |
19484 cat confdefs.h >>conftest.$ac_ext | |
19485 cat >>conftest.$ac_ext <<_ACEOF | |
19486 /* end confdefs.h. */ | |
19487 $ac_includes_default | |
19488 #include <sys/cpustats.h> | |
19489 _ACEOF | |
19490 rm -f conftest.$ac_objext | |
19491 if { (ac_try="$ac_compile" | |
19492 case "(($ac_try" in | |
19493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19494 *) ac_try_echo=$ac_try;; | |
19495 esac | |
19496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19497 $as_echo "$ac_try_echo") >&5 | |
19498 (eval "$ac_compile") 2>conftest.er1 | |
19499 ac_status=$? | |
19500 grep -v '^ *+' conftest.er1 >conftest.err | |
19501 rm -f conftest.er1 | |
19502 cat conftest.err >&5 | |
19503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19504 (exit $ac_status); } && { | |
19505 test -z "$ac_c_werror_flag" || | |
19506 test ! -s conftest.err | |
19507 } && test -s conftest.$ac_objext; then | |
19508 ac_header_compiler=yes | |
19509 else | |
19510 $as_echo "$as_me: failed program was:" >&5 | |
19511 sed 's/^/| /' conftest.$ac_ext >&5 | |
19512 | |
19513 ac_header_compiler=no | |
19514 fi | |
19515 | |
19516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19517 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19518 $as_echo "$ac_header_compiler" >&6; } | |
19519 | |
19520 # Is the header present? | |
19521 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | |
19522 $as_echo_n "checking sys/cpustats.h presence... " >&6; } | |
19523 cat >conftest.$ac_ext <<_ACEOF | |
19524 /* confdefs.h. */ | |
19525 _ACEOF | |
19526 cat confdefs.h >>conftest.$ac_ext | |
19527 cat >>conftest.$ac_ext <<_ACEOF | |
19528 /* end confdefs.h. */ | |
19529 #include <sys/cpustats.h> | |
19530 _ACEOF | |
19531 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
19532 case "(($ac_try" in | |
19533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19534 *) ac_try_echo=$ac_try;; | |
19535 esac | |
19536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19537 $as_echo "$ac_try_echo") >&5 | |
19538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19539 ac_status=$? | |
19540 grep -v '^ *+' conftest.er1 >conftest.err | |
19541 rm -f conftest.er1 | |
19542 cat conftest.err >&5 | |
19543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19544 (exit $ac_status); } >/dev/null && { | |
19545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
19546 test ! -s conftest.err | |
19547 }; then | |
19548 ac_header_preproc=yes | |
19549 else | |
19550 $as_echo "$as_me: failed program was:" >&5 | |
19551 sed 's/^/| /' conftest.$ac_ext >&5 | |
19552 | |
19553 ac_header_preproc=no | |
19554 fi | |
19555 | |
19556 rm -f conftest.err conftest.$ac_ext | |
19557 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19558 $as_echo "$ac_header_preproc" >&6; } | |
19559 | |
19560 # So? What about this header? | |
19561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
19562 yes:no: ) | |
19563 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19564 $as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19565 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5 | |
19566 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;} | |
19567 ac_header_preproc=yes | |
19568 ;; | |
19569 no:yes:* ) | |
19570 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 | |
19571 $as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} | |
19572 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 | |
19573 $as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} | |
19574 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5 | |
19575 $as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;} | |
19576 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | |
19577 $as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
19578 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | |
19579 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} | |
19580 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 | |
19581 $as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} | |
19582 | |
19583 ;; | |
19584 esac | |
19585 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | |
19586 $as_echo_n "checking for sys/cpustats.h... " >&6; } | |
19587 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | |
19588 $as_echo_n "(cached) " >&6 | |
19589 else | |
19590 ac_cv_header_sys_cpustats_h=$ac_header_preproc | |
19591 fi | |
19592 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | |
19593 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | |
19594 | |
19595 fi | |
19596 if test $ac_cv_header_sys_cpustats_h = yes; then | |
19597 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | |
19598 #define UMAX 1 | |
19599 _ACEOF | |
19600 | 11477 |
19601 fi | 11478 fi |
19602 | 11479 |
19603 | 11480 |
19604 fi | 11481 fi |
19605 | 11482 |
19606 if test $ac_have_func = no; then | 11483 if test $ac_have_func = no; then |
19607 | 11484 for ac_header in mach/mach.h |
19608 for ac_header in mach/mach.h | 11485 do : |
19609 do | 11486 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" |
19610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11487 if test "x$ac_cv_header_mach_mach_h" = x""yes; then : |
19611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
19612 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
19613 $as_echo_n "checking for $ac_header... " >&6; } | |
19614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
19615 $as_echo_n "(cached) " >&6 | |
19616 fi | |
19617 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
19618 $as_echo "$as_val"'` | |
19619 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
19620 $as_echo "$ac_res" >&6; } | |
19621 else | |
19622 # Is the header compilable? | |
19623 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
19624 $as_echo_n "checking $ac_header usability... " >&6; } | |
19625 cat >conftest.$ac_ext <<_ACEOF | |
19626 /* confdefs.h. */ | |
19627 _ACEOF | |
19628 cat confdefs.h >>conftest.$ac_ext | |
19629 cat >>conftest.$ac_ext <<_ACEOF | |
19630 /* end confdefs.h. */ | |
19631 $ac_includes_default | |
19632 #include <$ac_header> | |
19633 _ACEOF | |
19634 rm -f conftest.$ac_objext | |
19635 if { (ac_try="$ac_compile" | |
19636 case "(($ac_try" in | |
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19638 *) ac_try_echo=$ac_try;; | |
19639 esac | |
19640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19641 $as_echo "$ac_try_echo") >&5 | |
19642 (eval "$ac_compile") 2>conftest.er1 | |
19643 ac_status=$? | |
19644 grep -v '^ *+' conftest.er1 >conftest.err | |
19645 rm -f conftest.er1 | |
19646 cat conftest.err >&5 | |
19647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19648 (exit $ac_status); } && { | |
19649 test -z "$ac_c_werror_flag" || | |
19650 test ! -s conftest.err | |
19651 } && test -s conftest.$ac_objext; then | |
19652 ac_header_compiler=yes | |
19653 else | |
19654 $as_echo "$as_me: failed program was:" >&5 | |
19655 sed 's/^/| /' conftest.$ac_ext >&5 | |
19656 | |
19657 ac_header_compiler=no | |
19658 fi | |
19659 | |
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19661 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19662 $as_echo "$ac_header_compiler" >&6; } | |
19663 | |
19664 # Is the header present? | |
19665 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
19666 $as_echo_n "checking $ac_header presence... " >&6; } | |
19667 cat >conftest.$ac_ext <<_ACEOF | |
19668 /* confdefs.h. */ | |
19669 _ACEOF | |
19670 cat confdefs.h >>conftest.$ac_ext | |
19671 cat >>conftest.$ac_ext <<_ACEOF | |
19672 /* end confdefs.h. */ | |
19673 #include <$ac_header> | |
19674 _ACEOF | |
19675 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
19676 case "(($ac_try" in | |
19677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19678 *) ac_try_echo=$ac_try;; | |
19679 esac | |
19680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19681 $as_echo "$ac_try_echo") >&5 | |
19682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19683 ac_status=$? | |
19684 grep -v '^ *+' conftest.er1 >conftest.err | |
19685 rm -f conftest.er1 | |
19686 cat conftest.err >&5 | |
19687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19688 (exit $ac_status); } >/dev/null && { | |
19689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
19690 test ! -s conftest.err | |
19691 }; then | |
19692 ac_header_preproc=yes | |
19693 else | |
19694 $as_echo "$as_me: failed program was:" >&5 | |
19695 sed 's/^/| /' conftest.$ac_ext >&5 | |
19696 | |
19697 ac_header_preproc=no | |
19698 fi | |
19699 | |
19700 rm -f conftest.err conftest.$ac_ext | |
19701 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19702 $as_echo "$ac_header_preproc" >&6; } | |
19703 | |
19704 # So? What about this header? | |
19705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
19706 yes:no: ) | |
19707 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19708 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
19710 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
19711 ac_header_preproc=yes | |
19712 ;; | |
19713 no:yes:* ) | |
19714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
19715 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
19716 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
19717 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
19718 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
19719 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
19720 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
19721 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
19722 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
19723 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
19724 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
19725 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
19726 | |
19727 ;; | |
19728 esac | |
19729 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
19730 $as_echo_n "checking for $ac_header... " >&6; } | |
19731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
19732 $as_echo_n "(cached) " >&6 | |
19733 else | |
19734 eval "$as_ac_Header=\$ac_header_preproc" | |
19735 fi | |
19736 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
19737 $as_echo "$as_val"'` | |
19738 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
19739 $as_echo "$ac_res" >&6; } | |
19740 | |
19741 fi | |
19742 if test `eval 'as_val=${'$as_ac_Header'} | |
19743 $as_echo "$as_val"'` = yes; then | |
19744 cat >>confdefs.h <<_ACEOF | 11488 cat >>confdefs.h <<_ACEOF |
19745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11489 #define HAVE_MACH_MACH_H 1 |
19746 _ACEOF | 11490 _ACEOF |
19747 | 11491 |
19748 fi | 11492 fi |
19749 | 11493 |
19750 done | 11494 done |
19751 | 11495 |
19752 fi | 11496 fi |
19753 | 11497 |
19754 | |
19755 for ac_header in nlist.h | 11498 for ac_header in nlist.h |
19756 do | 11499 do : |
19757 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11500 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" |
19758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 11501 if test "x$ac_cv_header_nlist_h" = x""yes; then : |
19759 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
19760 $as_echo_n "checking for $ac_header... " >&6; } | |
19761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
19762 $as_echo_n "(cached) " >&6 | |
19763 fi | |
19764 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
19765 $as_echo "$as_val"'` | |
19766 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
19767 $as_echo "$ac_res" >&6; } | |
19768 else | |
19769 # Is the header compilable? | |
19770 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
19771 $as_echo_n "checking $ac_header usability... " >&6; } | |
19772 cat >conftest.$ac_ext <<_ACEOF | |
19773 /* confdefs.h. */ | |
19774 _ACEOF | |
19775 cat confdefs.h >>conftest.$ac_ext | |
19776 cat >>conftest.$ac_ext <<_ACEOF | |
19777 /* end confdefs.h. */ | |
19778 $ac_includes_default | |
19779 #include <$ac_header> | |
19780 _ACEOF | |
19781 rm -f conftest.$ac_objext | |
19782 if { (ac_try="$ac_compile" | |
19783 case "(($ac_try" in | |
19784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19785 *) ac_try_echo=$ac_try;; | |
19786 esac | |
19787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19788 $as_echo "$ac_try_echo") >&5 | |
19789 (eval "$ac_compile") 2>conftest.er1 | |
19790 ac_status=$? | |
19791 grep -v '^ *+' conftest.er1 >conftest.err | |
19792 rm -f conftest.er1 | |
19793 cat conftest.err >&5 | |
19794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19795 (exit $ac_status); } && { | |
19796 test -z "$ac_c_werror_flag" || | |
19797 test ! -s conftest.err | |
19798 } && test -s conftest.$ac_objext; then | |
19799 ac_header_compiler=yes | |
19800 else | |
19801 $as_echo "$as_me: failed program was:" >&5 | |
19802 sed 's/^/| /' conftest.$ac_ext >&5 | |
19803 | |
19804 ac_header_compiler=no | |
19805 fi | |
19806 | |
19807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19808 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19809 $as_echo "$ac_header_compiler" >&6; } | |
19810 | |
19811 # Is the header present? | |
19812 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
19813 $as_echo_n "checking $ac_header presence... " >&6; } | |
19814 cat >conftest.$ac_ext <<_ACEOF | |
19815 /* confdefs.h. */ | |
19816 _ACEOF | |
19817 cat confdefs.h >>conftest.$ac_ext | |
19818 cat >>conftest.$ac_ext <<_ACEOF | |
19819 /* end confdefs.h. */ | |
19820 #include <$ac_header> | |
19821 _ACEOF | |
19822 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
19823 case "(($ac_try" in | |
19824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19825 *) ac_try_echo=$ac_try;; | |
19826 esac | |
19827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19828 $as_echo "$ac_try_echo") >&5 | |
19829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19830 ac_status=$? | |
19831 grep -v '^ *+' conftest.er1 >conftest.err | |
19832 rm -f conftest.er1 | |
19833 cat conftest.err >&5 | |
19834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19835 (exit $ac_status); } >/dev/null && { | |
19836 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
19837 test ! -s conftest.err | |
19838 }; then | |
19839 ac_header_preproc=yes | |
19840 else | |
19841 $as_echo "$as_me: failed program was:" >&5 | |
19842 sed 's/^/| /' conftest.$ac_ext >&5 | |
19843 | |
19844 ac_header_preproc=no | |
19845 fi | |
19846 | |
19847 rm -f conftest.err conftest.$ac_ext | |
19848 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19849 $as_echo "$ac_header_preproc" >&6; } | |
19850 | |
19851 # So? What about this header? | |
19852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
19853 yes:no: ) | |
19854 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19855 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19856 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
19857 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
19858 ac_header_preproc=yes | |
19859 ;; | |
19860 no:yes:* ) | |
19861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
19862 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
19863 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
19864 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
19865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
19866 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
19867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
19868 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
19869 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
19870 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
19871 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
19872 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
19873 | |
19874 ;; | |
19875 esac | |
19876 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
19877 $as_echo_n "checking for $ac_header... " >&6; } | |
19878 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
19879 $as_echo_n "(cached) " >&6 | |
19880 else | |
19881 eval "$as_ac_Header=\$ac_header_preproc" | |
19882 fi | |
19883 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
19884 $as_echo "$as_val"'` | |
19885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
19886 $as_echo "$ac_res" >&6; } | |
19887 | |
19888 fi | |
19889 if test `eval 'as_val=${'$as_ac_Header'} | |
19890 $as_echo "$as_val"'` = yes; then | |
19891 cat >>confdefs.h <<_ACEOF | 11502 cat >>confdefs.h <<_ACEOF |
19892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11503 #define HAVE_NLIST_H 1 |
19893 _ACEOF | 11504 _ACEOF |
19894 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 | 11505 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> |
19895 $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } | 11506 " |
19896 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then | 11507 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : |
19897 $as_echo_n "(cached) " >&6 | |
19898 else | |
19899 cat >conftest.$ac_ext <<_ACEOF | |
19900 /* confdefs.h. */ | |
19901 _ACEOF | |
19902 cat confdefs.h >>conftest.$ac_ext | |
19903 cat >>conftest.$ac_ext <<_ACEOF | |
19904 /* end confdefs.h. */ | |
19905 #include <nlist.h> | |
19906 | |
19907 int | |
19908 main () | |
19909 { | |
19910 static struct nlist ac_aggr; | |
19911 if (ac_aggr.n_un.n_name) | |
19912 return 0; | |
19913 ; | |
19914 return 0; | |
19915 } | |
19916 _ACEOF | |
19917 rm -f conftest.$ac_objext | |
19918 if { (ac_try="$ac_compile" | |
19919 case "(($ac_try" in | |
19920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19921 *) ac_try_echo=$ac_try;; | |
19922 esac | |
19923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19924 $as_echo "$ac_try_echo") >&5 | |
19925 (eval "$ac_compile") 2>conftest.er1 | |
19926 ac_status=$? | |
19927 grep -v '^ *+' conftest.er1 >conftest.err | |
19928 rm -f conftest.er1 | |
19929 cat conftest.err >&5 | |
19930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19931 (exit $ac_status); } && { | |
19932 test -z "$ac_c_werror_flag" || | |
19933 test ! -s conftest.err | |
19934 } && test -s conftest.$ac_objext; then | |
19935 ac_cv_member_struct_nlist_n_un_n_name=yes | |
19936 else | |
19937 $as_echo "$as_me: failed program was:" >&5 | |
19938 sed 's/^/| /' conftest.$ac_ext >&5 | |
19939 | |
19940 cat >conftest.$ac_ext <<_ACEOF | |
19941 /* confdefs.h. */ | |
19942 _ACEOF | |
19943 cat confdefs.h >>conftest.$ac_ext | |
19944 cat >>conftest.$ac_ext <<_ACEOF | |
19945 /* end confdefs.h. */ | |
19946 #include <nlist.h> | |
19947 | |
19948 int | |
19949 main () | |
19950 { | |
19951 static struct nlist ac_aggr; | |
19952 if (sizeof ac_aggr.n_un.n_name) | |
19953 return 0; | |
19954 ; | |
19955 return 0; | |
19956 } | |
19957 _ACEOF | |
19958 rm -f conftest.$ac_objext | |
19959 if { (ac_try="$ac_compile" | |
19960 case "(($ac_try" in | |
19961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19962 *) ac_try_echo=$ac_try;; | |
19963 esac | |
19964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19965 $as_echo "$ac_try_echo") >&5 | |
19966 (eval "$ac_compile") 2>conftest.er1 | |
19967 ac_status=$? | |
19968 grep -v '^ *+' conftest.er1 >conftest.err | |
19969 rm -f conftest.er1 | |
19970 cat conftest.err >&5 | |
19971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19972 (exit $ac_status); } && { | |
19973 test -z "$ac_c_werror_flag" || | |
19974 test ! -s conftest.err | |
19975 } && test -s conftest.$ac_objext; then | |
19976 ac_cv_member_struct_nlist_n_un_n_name=yes | |
19977 else | |
19978 $as_echo "$as_me: failed program was:" >&5 | |
19979 sed 's/^/| /' conftest.$ac_ext >&5 | |
19980 | |
19981 ac_cv_member_struct_nlist_n_un_n_name=no | |
19982 fi | |
19983 | |
19984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19985 fi | |
19986 | |
19987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19988 fi | |
19989 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | |
19990 $as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; } | |
19991 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | |
19992 | 11508 |
19993 cat >>confdefs.h <<_ACEOF | 11509 cat >>confdefs.h <<_ACEOF |
19994 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 11510 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
19995 _ACEOF | 11511 _ACEOF |
19996 | 11512 |
19997 | 11513 |
19998 cat >>confdefs.h <<\_ACEOF | 11514 $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h |
19999 #define NLIST_NAME_UNION 1 | |
20000 _ACEOF | |
20001 | 11515 |
20002 fi | 11516 fi |
20003 | 11517 |
20004 | 11518 |
20005 fi | 11519 fi |
20009 fi | 11523 fi |
20010 done | 11524 done |
20011 | 11525 |
20012 | 11526 |
20013 # Some definitions of getloadavg require that the program be installed setgid. | 11527 # Some definitions of getloadavg require that the program be installed setgid. |
20014 { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 | 11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 |
20015 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } | 11529 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } |
20016 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then | 11530 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : |
20017 $as_echo_n "(cached) " >&6 | 11531 $as_echo_n "(cached) " >&6 |
20018 else | 11532 else |
20019 cat >conftest.$ac_ext <<_ACEOF | 11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20020 /* confdefs.h. */ | |
20021 _ACEOF | |
20022 cat confdefs.h >>conftest.$ac_ext | |
20023 cat >>conftest.$ac_ext <<_ACEOF | |
20024 /* end confdefs.h. */ | 11534 /* end confdefs.h. */ |
20025 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" | 11535 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" |
20026 #ifdef LDAV_PRIVILEGED | 11536 #ifdef LDAV_PRIVILEGED |
20027 Yowza Am I SETGID yet | 11537 Yowza Am I SETGID yet |
20028 #endif | 11538 #endif |
20029 _ACEOF | 11539 _ACEOF |
20030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 11540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
20031 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then | 11541 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then : |
20032 ac_cv_func_getloadavg_setgid=yes | 11542 ac_cv_func_getloadavg_setgid=yes |
20033 else | 11543 else |
20034 ac_cv_func_getloadavg_setgid=no | 11544 ac_cv_func_getloadavg_setgid=no |
20035 fi | 11545 fi |
20036 rm -f conftest* | 11546 rm -f conftest* |
20037 | 11547 |
20038 fi | 11548 fi |
20039 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 | 11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5 |
20040 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } | 11550 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } |
20041 if test $ac_cv_func_getloadavg_setgid = yes; then | 11551 if test $ac_cv_func_getloadavg_setgid = yes; then |
20042 NEED_SETGID=true | 11552 NEED_SETGID=true |
20043 | 11553 |
20044 cat >>confdefs.h <<\_ACEOF | 11554 $as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h |
20045 #define GETLOADAVG_PRIVILEGED 1 | |
20046 _ACEOF | |
20047 | 11555 |
20048 else | 11556 else |
20049 NEED_SETGID=false | 11557 NEED_SETGID=false |
20050 fi | 11558 fi |
20051 | 11559 |
20052 if test $ac_cv_func_getloadavg_setgid = yes; then | 11560 if test $ac_cv_func_getloadavg_setgid = yes; then |
20053 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 | 11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 |
20054 $as_echo_n "checking group of /dev/kmem... " >&6; } | 11562 $as_echo_n "checking group of /dev/kmem... " >&6; } |
20055 if test "${ac_cv_group_kmem+set}" = set; then | 11563 if test "${ac_cv_group_kmem+set}" = set; then : |
20056 $as_echo_n "(cached) " >&6 | 11564 $as_echo_n "(cached) " >&6 |
20057 else | 11565 else |
20058 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 11566 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
20059 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 11567 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
20060 # If we got an error (system does not support symlinks), try without -L. | 11568 # If we got an error (system does not support symlinks), try without -L. |
20063 | sed -ne 's/[ ][ ]*/ /g; | 11571 | sed -ne 's/[ ][ ]*/ /g; |
20064 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; | 11572 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; |
20065 / /s/.* //;p;'` | 11573 / /s/.* //;p;'` |
20066 | 11574 |
20067 fi | 11575 fi |
20068 { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 | 11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5 |
20069 $as_echo "$ac_cv_group_kmem" >&6; } | 11577 $as_echo "$ac_cv_group_kmem" >&6; } |
20070 KMEM_GROUP=$ac_cv_group_kmem | 11578 KMEM_GROUP=$ac_cv_group_kmem |
20071 fi | 11579 fi |
20072 if test "x$ac_save_LIBS" = x; then | 11580 if test "x$ac_save_LIBS" = x; then |
20073 GETLOADAVG_LIBS=$LIBS | 11581 GETLOADAVG_LIBS=$LIBS |
20076 fi | 11584 fi |
20077 LIBS=$ac_save_LIBS | 11585 LIBS=$ac_save_LIBS |
20078 | 11586 |
20079 | 11587 |
20080 | 11588 |
20081 { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
20082 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } | 11590 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } |
20083 if test "${ac_cv_sys_largefile_source+set}" = set; then | 11591 if test "${ac_cv_sys_largefile_source+set}" = set; then : |
20084 $as_echo_n "(cached) " >&6 | 11592 $as_echo_n "(cached) " >&6 |
20085 else | 11593 else |
20086 while :; do | 11594 while :; do |
20087 cat >conftest.$ac_ext <<_ACEOF | 11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20088 /* confdefs.h. */ | |
20089 _ACEOF | |
20090 cat confdefs.h >>conftest.$ac_ext | |
20091 cat >>conftest.$ac_ext <<_ACEOF | |
20092 /* end confdefs.h. */ | 11596 /* end confdefs.h. */ |
20093 #include <sys/types.h> /* for off_t */ | 11597 #include <sys/types.h> /* for off_t */ |
20094 #include <stdio.h> | 11598 #include <stdio.h> |
20095 int | 11599 int |
20096 main () | 11600 main () |
20099 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | 11603 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); |
20100 ; | 11604 ; |
20101 return 0; | 11605 return 0; |
20102 } | 11606 } |
20103 _ACEOF | 11607 _ACEOF |
20104 rm -f conftest.$ac_objext conftest$ac_exeext | 11608 if ac_fn_c_try_link "$LINENO"; then : |
20105 if { (ac_try="$ac_link" | |
20106 case "(($ac_try" in | |
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20108 *) ac_try_echo=$ac_try;; | |
20109 esac | |
20110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20111 $as_echo "$ac_try_echo") >&5 | |
20112 (eval "$ac_link") 2>conftest.er1 | |
20113 ac_status=$? | |
20114 grep -v '^ *+' conftest.er1 >conftest.err | |
20115 rm -f conftest.er1 | |
20116 cat conftest.err >&5 | |
20117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20118 (exit $ac_status); } && { | |
20119 test -z "$ac_c_werror_flag" || | |
20120 test ! -s conftest.err | |
20121 } && test -s conftest$ac_exeext && { | |
20122 test "$cross_compiling" = yes || | |
20123 $as_test_x conftest$ac_exeext | |
20124 }; then | |
20125 ac_cv_sys_largefile_source=no; break | 11609 ac_cv_sys_largefile_source=no; break |
20126 else | 11610 fi |
20127 $as_echo "$as_me: failed program was:" >&5 | 11611 rm -f core conftest.err conftest.$ac_objext \ |
20128 sed 's/^/| /' conftest.$ac_ext >&5 | 11612 conftest$ac_exeext conftest.$ac_ext |
20129 | 11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20130 | |
20131 fi | |
20132 | |
20133 rm -rf conftest.dSYM | |
20134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20135 conftest$ac_exeext conftest.$ac_ext | |
20136 cat >conftest.$ac_ext <<_ACEOF | |
20137 /* confdefs.h. */ | |
20138 _ACEOF | |
20139 cat confdefs.h >>conftest.$ac_ext | |
20140 cat >>conftest.$ac_ext <<_ACEOF | |
20141 /* end confdefs.h. */ | 11614 /* end confdefs.h. */ |
20142 #define _LARGEFILE_SOURCE 1 | 11615 #define _LARGEFILE_SOURCE 1 |
20143 #include <sys/types.h> /* for off_t */ | 11616 #include <sys/types.h> /* for off_t */ |
20144 #include <stdio.h> | 11617 #include <stdio.h> |
20145 int | 11618 int |
20149 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | 11622 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); |
20150 ; | 11623 ; |
20151 return 0; | 11624 return 0; |
20152 } | 11625 } |
20153 _ACEOF | 11626 _ACEOF |
20154 rm -f conftest.$ac_objext conftest$ac_exeext | 11627 if ac_fn_c_try_link "$LINENO"; then : |
20155 if { (ac_try="$ac_link" | |
20156 case "(($ac_try" in | |
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20158 *) ac_try_echo=$ac_try;; | |
20159 esac | |
20160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20161 $as_echo "$ac_try_echo") >&5 | |
20162 (eval "$ac_link") 2>conftest.er1 | |
20163 ac_status=$? | |
20164 grep -v '^ *+' conftest.er1 >conftest.err | |
20165 rm -f conftest.er1 | |
20166 cat conftest.err >&5 | |
20167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20168 (exit $ac_status); } && { | |
20169 test -z "$ac_c_werror_flag" || | |
20170 test ! -s conftest.err | |
20171 } && test -s conftest$ac_exeext && { | |
20172 test "$cross_compiling" = yes || | |
20173 $as_test_x conftest$ac_exeext | |
20174 }; then | |
20175 ac_cv_sys_largefile_source=1; break | 11628 ac_cv_sys_largefile_source=1; break |
20176 else | 11629 fi |
20177 $as_echo "$as_me: failed program was:" >&5 | 11630 rm -f core conftest.err conftest.$ac_objext \ |
20178 sed 's/^/| /' conftest.$ac_ext >&5 | 11631 conftest$ac_exeext conftest.$ac_ext |
20179 | |
20180 | |
20181 fi | |
20182 | |
20183 rm -rf conftest.dSYM | |
20184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20185 conftest$ac_exeext conftest.$ac_ext | |
20186 ac_cv_sys_largefile_source=unknown | 11632 ac_cv_sys_largefile_source=unknown |
20187 break | 11633 break |
20188 done | 11634 done |
20189 fi | 11635 fi |
20190 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 | 11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 |
20191 $as_echo "$ac_cv_sys_largefile_source" >&6; } | 11637 $as_echo "$ac_cv_sys_largefile_source" >&6; } |
20192 case $ac_cv_sys_largefile_source in #( | 11638 case $ac_cv_sys_largefile_source in #( |
20193 no | unknown) ;; | 11639 no | unknown) ;; |
20194 *) | 11640 *) |
20195 cat >>confdefs.h <<_ACEOF | 11641 cat >>confdefs.h <<_ACEOF |
20202 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | 11648 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug |
20203 # in glibc 2.1.3, but that breaks too many other things. | 11649 # in glibc 2.1.3, but that breaks too many other things. |
20204 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 11650 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
20205 if test $ac_cv_sys_largefile_source != unknown; then | 11651 if test $ac_cv_sys_largefile_source != unknown; then |
20206 | 11652 |
20207 cat >>confdefs.h <<\_ACEOF | 11653 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h |
20208 #define HAVE_FSEEKO 1 | |
20209 _ACEOF | |
20210 | 11654 |
20211 fi | 11655 fi |
20212 | 11656 |
20213 | 11657 |
20214 # Configure getopt. | 11658 # Configure getopt. |
20232 | 11676 |
20233 | 11677 |
20234 | 11678 |
20235 | 11679 |
20236 GETOPT_H= | 11680 GETOPT_H= |
20237 | 11681 for ac_header in getopt.h |
20238 for ac_header in getopt.h | 11682 do : |
20239 do | 11683 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" |
20240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11684 if test "x$ac_cv_header_getopt_h" = x""yes; then : |
20241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 11685 cat >>confdefs.h <<_ACEOF |
20242 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | 11686 #define HAVE_GETOPT_H 1 |
20243 $as_echo_n "checking for $ac_header... " >&6; } | 11687 _ACEOF |
20244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 11688 |
11689 else | |
11690 GETOPT_H=getopt.h | |
11691 fi | |
11692 | |
11693 done | |
11694 | |
11695 if test -z "$GETOPT_H"; then | |
11696 for ac_func in getopt_long_only | |
11697 do : | |
11698 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" | |
11699 if test "x$ac_cv_func_getopt_long_only" = x""yes; then : | |
11700 cat >>confdefs.h <<_ACEOF | |
11701 #define HAVE_GETOPT_LONG_ONLY 1 | |
11702 _ACEOF | |
11703 | |
11704 else | |
11705 GETOPT_H=getopt.h | |
11706 fi | |
11707 done | |
11708 | |
11709 fi | |
11710 | |
11711 if test -z "$GETOPT_H"; then | |
11712 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> | |
11713 " | |
11714 if test "x$ac_cv_have_decl_optreset" = x""yes; then : | |
11715 GETOPT_H=getopt.h | |
11716 fi | |
11717 | |
11718 fi | |
11719 | |
11720 if test -z "$GETOPT_H"; then | |
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 | |
11722 $as_echo_n "checking for working GNU getopt function... " >&6; } | |
11723 if test "${gl_cv_func_gnu_getopt+set}" = set; then : | |
20245 $as_echo_n "(cached) " >&6 | 11724 $as_echo_n "(cached) " >&6 |
20246 fi | 11725 else |
20247 ac_res=`eval 'as_val=${'$as_ac_Header'} | 11726 if test "$cross_compiling" = yes; then : |
20248 $as_echo "$as_val"'` | 11727 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> |
20249 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | 11728 " |
20250 $as_echo "$ac_res" >&6; } | 11729 if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : |
20251 else | |
20252 # Is the header compilable? | |
20253 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
20254 $as_echo_n "checking $ac_header usability... " >&6; } | |
20255 cat >conftest.$ac_ext <<_ACEOF | |
20256 /* confdefs.h. */ | |
20257 _ACEOF | |
20258 cat confdefs.h >>conftest.$ac_ext | |
20259 cat >>conftest.$ac_ext <<_ACEOF | |
20260 /* end confdefs.h. */ | |
20261 $ac_includes_default | |
20262 #include <$ac_header> | |
20263 _ACEOF | |
20264 rm -f conftest.$ac_objext | |
20265 if { (ac_try="$ac_compile" | |
20266 case "(($ac_try" in | |
20267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20268 *) ac_try_echo=$ac_try;; | |
20269 esac | |
20270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20271 $as_echo "$ac_try_echo") >&5 | |
20272 (eval "$ac_compile") 2>conftest.er1 | |
20273 ac_status=$? | |
20274 grep -v '^ *+' conftest.er1 >conftest.err | |
20275 rm -f conftest.er1 | |
20276 cat conftest.err >&5 | |
20277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20278 (exit $ac_status); } && { | |
20279 test -z "$ac_c_werror_flag" || | |
20280 test ! -s conftest.err | |
20281 } && test -s conftest.$ac_objext; then | |
20282 ac_header_compiler=yes | |
20283 else | |
20284 $as_echo "$as_me: failed program was:" >&5 | |
20285 sed 's/^/| /' conftest.$ac_ext >&5 | |
20286 | |
20287 ac_header_compiler=no | |
20288 fi | |
20289 | |
20290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
20291 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
20292 $as_echo "$ac_header_compiler" >&6; } | |
20293 | |
20294 # Is the header present? | |
20295 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
20296 $as_echo_n "checking $ac_header presence... " >&6; } | |
20297 cat >conftest.$ac_ext <<_ACEOF | |
20298 /* confdefs.h. */ | |
20299 _ACEOF | |
20300 cat confdefs.h >>conftest.$ac_ext | |
20301 cat >>conftest.$ac_ext <<_ACEOF | |
20302 /* end confdefs.h. */ | |
20303 #include <$ac_header> | |
20304 _ACEOF | |
20305 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
20306 case "(($ac_try" in | |
20307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20308 *) ac_try_echo=$ac_try;; | |
20309 esac | |
20310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20311 $as_echo "$ac_try_echo") >&5 | |
20312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
20313 ac_status=$? | |
20314 grep -v '^ *+' conftest.er1 >conftest.err | |
20315 rm -f conftest.er1 | |
20316 cat conftest.err >&5 | |
20317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20318 (exit $ac_status); } >/dev/null && { | |
20319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
20320 test ! -s conftest.err | |
20321 }; then | |
20322 ac_header_preproc=yes | |
20323 else | |
20324 $as_echo "$as_me: failed program was:" >&5 | |
20325 sed 's/^/| /' conftest.$ac_ext >&5 | |
20326 | |
20327 ac_header_preproc=no | |
20328 fi | |
20329 | |
20330 rm -f conftest.err conftest.$ac_ext | |
20331 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
20332 $as_echo "$ac_header_preproc" >&6; } | |
20333 | |
20334 # So? What about this header? | |
20335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
20336 yes:no: ) | |
20337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
20338 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
20339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
20340 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
20341 ac_header_preproc=yes | |
20342 ;; | |
20343 no:yes:* ) | |
20344 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
20345 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
20346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
20347 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
20348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
20349 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
20350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
20351 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
20352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
20353 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
20354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
20355 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
20356 | |
20357 ;; | |
20358 esac | |
20359 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
20360 $as_echo_n "checking for $ac_header... " >&6; } | |
20361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
20362 $as_echo_n "(cached) " >&6 | |
20363 else | |
20364 eval "$as_ac_Header=\$ac_header_preproc" | |
20365 fi | |
20366 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
20367 $as_echo "$as_val"'` | |
20368 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20369 $as_echo "$ac_res" >&6; } | |
20370 | |
20371 fi | |
20372 if test `eval 'as_val=${'$as_ac_Header'} | |
20373 $as_echo "$as_val"'` = yes; then | |
20374 cat >>confdefs.h <<_ACEOF | |
20375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
20376 _ACEOF | |
20377 | |
20378 else | |
20379 GETOPT_H=getopt.h | |
20380 fi | |
20381 | |
20382 done | |
20383 | |
20384 if test -z "$GETOPT_H"; then | |
20385 | |
20386 for ac_func in getopt_long_only | |
20387 do | |
20388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
20389 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
20390 $as_echo_n "checking for $ac_func... " >&6; } | |
20391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
20392 $as_echo_n "(cached) " >&6 | |
20393 else | |
20394 cat >conftest.$ac_ext <<_ACEOF | |
20395 /* confdefs.h. */ | |
20396 _ACEOF | |
20397 cat confdefs.h >>conftest.$ac_ext | |
20398 cat >>conftest.$ac_ext <<_ACEOF | |
20399 /* end confdefs.h. */ | |
20400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
20401 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
20402 #define $ac_func innocuous_$ac_func | |
20403 | |
20404 /* System header to define __stub macros and hopefully few prototypes, | |
20405 which can conflict with char $ac_func (); below. | |
20406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
20407 <limits.h> exists even on freestanding compilers. */ | |
20408 | |
20409 #ifdef __STDC__ | |
20410 # include <limits.h> | |
20411 #else | |
20412 # include <assert.h> | |
20413 #endif | |
20414 | |
20415 #undef $ac_func | |
20416 | |
20417 /* Override any GCC internal prototype to avoid an error. | |
20418 Use char because int might match the return type of a GCC | |
20419 builtin and then its argument prototype would still apply. */ | |
20420 #ifdef __cplusplus | |
20421 extern "C" | |
20422 #endif | |
20423 char $ac_func (); | |
20424 /* The GNU C library defines this for functions which it implements | |
20425 to always fail with ENOSYS. Some functions are actually named | |
20426 something starting with __ and the normal name is an alias. */ | |
20427 #if defined __stub_$ac_func || defined __stub___$ac_func | |
20428 choke me | |
20429 #endif | |
20430 | |
20431 int | |
20432 main () | |
20433 { | |
20434 return $ac_func (); | |
20435 ; | |
20436 return 0; | |
20437 } | |
20438 _ACEOF | |
20439 rm -f conftest.$ac_objext conftest$ac_exeext | |
20440 if { (ac_try="$ac_link" | |
20441 case "(($ac_try" in | |
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20443 *) ac_try_echo=$ac_try;; | |
20444 esac | |
20445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20446 $as_echo "$ac_try_echo") >&5 | |
20447 (eval "$ac_link") 2>conftest.er1 | |
20448 ac_status=$? | |
20449 grep -v '^ *+' conftest.er1 >conftest.err | |
20450 rm -f conftest.er1 | |
20451 cat conftest.err >&5 | |
20452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20453 (exit $ac_status); } && { | |
20454 test -z "$ac_c_werror_flag" || | |
20455 test ! -s conftest.err | |
20456 } && test -s conftest$ac_exeext && { | |
20457 test "$cross_compiling" = yes || | |
20458 $as_test_x conftest$ac_exeext | |
20459 }; then | |
20460 eval "$as_ac_var=yes" | |
20461 else | |
20462 $as_echo "$as_me: failed program was:" >&5 | |
20463 sed 's/^/| /' conftest.$ac_ext >&5 | |
20464 | |
20465 eval "$as_ac_var=no" | |
20466 fi | |
20467 | |
20468 rm -rf conftest.dSYM | |
20469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20470 conftest$ac_exeext conftest.$ac_ext | |
20471 fi | |
20472 ac_res=`eval 'as_val=${'$as_ac_var'} | |
20473 $as_echo "$as_val"'` | |
20474 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20475 $as_echo "$ac_res" >&6; } | |
20476 if test `eval 'as_val=${'$as_ac_var'} | |
20477 $as_echo "$as_val"'` = yes; then | |
20478 cat >>confdefs.h <<_ACEOF | |
20479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
20480 _ACEOF | |
20481 | |
20482 else | |
20483 GETOPT_H=getopt.h | |
20484 fi | |
20485 done | |
20486 | |
20487 fi | |
20488 | |
20489 if test -z "$GETOPT_H"; then | |
20490 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 | |
20491 $as_echo_n "checking whether optreset is declared... " >&6; } | |
20492 if test "${ac_cv_have_decl_optreset+set}" = set; then | |
20493 $as_echo_n "(cached) " >&6 | |
20494 else | |
20495 cat >conftest.$ac_ext <<_ACEOF | |
20496 /* confdefs.h. */ | |
20497 _ACEOF | |
20498 cat confdefs.h >>conftest.$ac_ext | |
20499 cat >>conftest.$ac_ext <<_ACEOF | |
20500 /* end confdefs.h. */ | |
20501 #include <getopt.h> | |
20502 | |
20503 int | |
20504 main () | |
20505 { | |
20506 #ifndef optreset | |
20507 (void) optreset; | |
20508 #endif | |
20509 | |
20510 ; | |
20511 return 0; | |
20512 } | |
20513 _ACEOF | |
20514 rm -f conftest.$ac_objext | |
20515 if { (ac_try="$ac_compile" | |
20516 case "(($ac_try" in | |
20517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20518 *) ac_try_echo=$ac_try;; | |
20519 esac | |
20520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20521 $as_echo "$ac_try_echo") >&5 | |
20522 (eval "$ac_compile") 2>conftest.er1 | |
20523 ac_status=$? | |
20524 grep -v '^ *+' conftest.er1 >conftest.err | |
20525 rm -f conftest.er1 | |
20526 cat conftest.err >&5 | |
20527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20528 (exit $ac_status); } && { | |
20529 test -z "$ac_c_werror_flag" || | |
20530 test ! -s conftest.err | |
20531 } && test -s conftest.$ac_objext; then | |
20532 ac_cv_have_decl_optreset=yes | |
20533 else | |
20534 $as_echo "$as_me: failed program was:" >&5 | |
20535 sed 's/^/| /' conftest.$ac_ext >&5 | |
20536 | |
20537 ac_cv_have_decl_optreset=no | |
20538 fi | |
20539 | |
20540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
20541 fi | |
20542 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 | |
20543 $as_echo "$ac_cv_have_decl_optreset" >&6; } | |
20544 if test $ac_cv_have_decl_optreset = yes; then | |
20545 GETOPT_H=getopt.h | |
20546 fi | |
20547 | |
20548 fi | |
20549 | |
20550 if test -z "$GETOPT_H"; then | |
20551 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 | |
20552 $as_echo_n "checking for working GNU getopt function... " >&6; } | |
20553 if test "${gl_cv_func_gnu_getopt+set}" = set; then | |
20554 $as_echo_n "(cached) " >&6 | |
20555 else | |
20556 if test "$cross_compiling" = yes; then | |
20557 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 | |
20558 $as_echo_n "checking whether getopt_clip is declared... " >&6; } | |
20559 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then | |
20560 $as_echo_n "(cached) " >&6 | |
20561 else | |
20562 cat >conftest.$ac_ext <<_ACEOF | |
20563 /* confdefs.h. */ | |
20564 _ACEOF | |
20565 cat confdefs.h >>conftest.$ac_ext | |
20566 cat >>conftest.$ac_ext <<_ACEOF | |
20567 /* end confdefs.h. */ | |
20568 #include <getopt.h> | |
20569 | |
20570 int | |
20571 main () | |
20572 { | |
20573 #ifndef getopt_clip | |
20574 (void) getopt_clip; | |
20575 #endif | |
20576 | |
20577 ; | |
20578 return 0; | |
20579 } | |
20580 _ACEOF | |
20581 rm -f conftest.$ac_objext | |
20582 if { (ac_try="$ac_compile" | |
20583 case "(($ac_try" in | |
20584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20585 *) ac_try_echo=$ac_try;; | |
20586 esac | |
20587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20588 $as_echo "$ac_try_echo") >&5 | |
20589 (eval "$ac_compile") 2>conftest.er1 | |
20590 ac_status=$? | |
20591 grep -v '^ *+' conftest.er1 >conftest.err | |
20592 rm -f conftest.er1 | |
20593 cat conftest.err >&5 | |
20594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20595 (exit $ac_status); } && { | |
20596 test -z "$ac_c_werror_flag" || | |
20597 test ! -s conftest.err | |
20598 } && test -s conftest.$ac_objext; then | |
20599 ac_cv_have_decl_getopt_clip=yes | |
20600 else | |
20601 $as_echo "$as_me: failed program was:" >&5 | |
20602 sed 's/^/| /' conftest.$ac_ext >&5 | |
20603 | |
20604 ac_cv_have_decl_getopt_clip=no | |
20605 fi | |
20606 | |
20607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
20608 fi | |
20609 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 | |
20610 $as_echo "$ac_cv_have_decl_getopt_clip" >&6; } | |
20611 if test $ac_cv_have_decl_getopt_clip = yes; then | |
20612 gl_cv_func_gnu_getopt=no | 11730 gl_cv_func_gnu_getopt=no |
20613 else | 11731 else |
20614 gl_cv_func_gnu_getopt=yes | 11732 gl_cv_func_gnu_getopt=yes |
20615 fi | 11733 fi |
20616 | 11734 |
20617 else | 11735 else |
20618 cat >conftest.$ac_ext <<_ACEOF | 11736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20619 /* confdefs.h. */ | |
20620 _ACEOF | |
20621 cat confdefs.h >>conftest.$ac_ext | |
20622 cat >>conftest.$ac_ext <<_ACEOF | |
20623 /* end confdefs.h. */ | 11737 /* end confdefs.h. */ |
20624 #include <getopt.h> | 11738 #include <getopt.h> |
20625 int | 11739 int |
20626 main () | 11740 main () |
20627 { | 11741 { |
20634 | 11748 |
20635 ; | 11749 ; |
20636 return 0; | 11750 return 0; |
20637 } | 11751 } |
20638 _ACEOF | 11752 _ACEOF |
20639 rm -f conftest$ac_exeext | 11753 if ac_fn_c_try_run "$LINENO"; then : |
20640 if { (ac_try="$ac_link" | |
20641 case "(($ac_try" in | |
20642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20643 *) ac_try_echo=$ac_try;; | |
20644 esac | |
20645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20646 $as_echo "$ac_try_echo") >&5 | |
20647 (eval "$ac_link") 2>&5 | |
20648 ac_status=$? | |
20649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20650 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
20651 { (case "(($ac_try" in | |
20652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20653 *) ac_try_echo=$ac_try;; | |
20654 esac | |
20655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20656 $as_echo "$ac_try_echo") >&5 | |
20657 (eval "$ac_try") 2>&5 | |
20658 ac_status=$? | |
20659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20660 (exit $ac_status); }; }; then | |
20661 gl_cv_func_gnu_getopt=yes | 11754 gl_cv_func_gnu_getopt=yes |
20662 else | 11755 else |
20663 $as_echo "$as_me: program exited with status $ac_status" >&5 | 11756 gl_cv_func_gnu_getopt=no |
20664 $as_echo "$as_me: failed program was:" >&5 | 11757 fi |
20665 sed 's/^/| /' conftest.$ac_ext >&5 | 11758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
20666 | 11759 conftest.$ac_objext conftest.beam conftest.$ac_ext |
20667 ( exit $ac_status ) | 11760 fi |
20668 gl_cv_func_gnu_getopt=no | 11761 |
20669 fi | 11762 fi |
20670 rm -rf conftest.dSYM | 11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5 |
20671 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
20672 fi | |
20673 | |
20674 | |
20675 fi | |
20676 { $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 | |
20677 $as_echo "$gl_cv_func_gnu_getopt" >&6; } | 11764 $as_echo "$gl_cv_func_gnu_getopt" >&6; } |
20678 if test "$gl_cv_func_gnu_getopt" = "no"; then | 11765 if test "$gl_cv_func_gnu_getopt" = "no"; then |
20679 GETOPT_H=getopt.h | 11766 GETOPT_H=getopt.h |
20680 fi | 11767 fi |
20681 fi | 11768 fi |
20682 | 11769 |
20683 | 11770 |
20684 | 11771 |
20685 if test -n "$GETOPT_H"; then | 11772 if test -n "$GETOPT_H"; then : |
20686 | 11773 |
20687 | 11774 |
20688 GETOPT_H=getopt.h | 11775 GETOPT_H=getopt.h |
20689 | 11776 |
20690 cat >>confdefs.h <<\_ACEOF | 11777 $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h |
20691 #define __GETOPT_PREFIX rpl_ | |
20692 _ACEOF | |
20693 | 11778 |
20694 | 11779 |
20695 | 11780 |
20696 : | 11781 : |
20697 GETOPTOBJS='getopt.o getopt1.o' | 11782 GETOPTOBJS='getopt.o getopt1.o' |
20698 | 11783 |
20699 fi | 11784 fi |
20700 | 11785 |
20701 | 11786 |
20702 | 11787 |
20703 | 11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 |
20704 { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | |
20705 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | 11789 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
20706 if test "${ac_cv_func_getpgrp_void+set}" = set; then | 11790 if test "${ac_cv_func_getpgrp_void+set}" = set; then : |
20707 $as_echo_n "(cached) " >&6 | 11791 $as_echo_n "(cached) " >&6 |
20708 else | 11792 else |
20709 # Use it with a single arg. | 11793 # Use it with a single arg. |
20710 cat >conftest.$ac_ext <<_ACEOF | 11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20711 /* confdefs.h. */ | |
20712 _ACEOF | |
20713 cat confdefs.h >>conftest.$ac_ext | |
20714 cat >>conftest.$ac_ext <<_ACEOF | |
20715 /* end confdefs.h. */ | 11795 /* end confdefs.h. */ |
20716 $ac_includes_default | 11796 $ac_includes_default |
20717 int | 11797 int |
20718 main () | 11798 main () |
20719 { | 11799 { |
20720 getpgrp (0); | 11800 getpgrp (0); |
20721 ; | 11801 ; |
20722 return 0; | 11802 return 0; |
20723 } | 11803 } |
20724 _ACEOF | 11804 _ACEOF |
20725 rm -f conftest.$ac_objext | 11805 if ac_fn_c_try_compile "$LINENO"; then : |
20726 if { (ac_try="$ac_compile" | |
20727 case "(($ac_try" in | |
20728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20729 *) ac_try_echo=$ac_try;; | |
20730 esac | |
20731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20732 $as_echo "$ac_try_echo") >&5 | |
20733 (eval "$ac_compile") 2>conftest.er1 | |
20734 ac_status=$? | |
20735 grep -v '^ *+' conftest.er1 >conftest.err | |
20736 rm -f conftest.er1 | |
20737 cat conftest.err >&5 | |
20738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20739 (exit $ac_status); } && { | |
20740 test -z "$ac_c_werror_flag" || | |
20741 test ! -s conftest.err | |
20742 } && test -s conftest.$ac_objext; then | |
20743 ac_cv_func_getpgrp_void=no | 11806 ac_cv_func_getpgrp_void=no |
20744 else | 11807 else |
20745 $as_echo "$as_me: failed program was:" >&5 | 11808 ac_cv_func_getpgrp_void=yes |
20746 sed 's/^/| /' conftest.$ac_ext >&5 | 11809 fi |
20747 | |
20748 ac_cv_func_getpgrp_void=yes | |
20749 fi | |
20750 | |
20751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 11810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20752 | 11811 |
20753 fi | 11812 fi |
20754 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | 11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 |
20755 $as_echo "$ac_cv_func_getpgrp_void" >&6; } | 11814 $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
20756 if test $ac_cv_func_getpgrp_void = yes; then | 11815 if test $ac_cv_func_getpgrp_void = yes; then |
20757 | 11816 |
20758 cat >>confdefs.h <<\_ACEOF | 11817 $as_echo "#define GETPGRP_VOID 1" >>confdefs.h |
20759 #define GETPGRP_VOID 1 | 11818 |
20760 _ACEOF | 11819 fi |
20761 | |
20762 fi | |
20763 | |
20764 | 11820 |
20765 | 11821 |
20766 for ac_func in strftime | 11822 for ac_func in strftime |
20767 do | 11823 do : |
20768 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11824 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |
20769 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11825 if test "x$ac_cv_func_strftime" = x""yes; then : |
20770 $as_echo_n "checking for $ac_func... " >&6; } | |
20771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
20772 $as_echo_n "(cached) " >&6 | |
20773 else | |
20774 cat >conftest.$ac_ext <<_ACEOF | |
20775 /* confdefs.h. */ | |
20776 _ACEOF | |
20777 cat confdefs.h >>conftest.$ac_ext | |
20778 cat >>conftest.$ac_ext <<_ACEOF | |
20779 /* end confdefs.h. */ | |
20780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
20781 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
20782 #define $ac_func innocuous_$ac_func | |
20783 | |
20784 /* System header to define __stub macros and hopefully few prototypes, | |
20785 which can conflict with char $ac_func (); below. | |
20786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
20787 <limits.h> exists even on freestanding compilers. */ | |
20788 | |
20789 #ifdef __STDC__ | |
20790 # include <limits.h> | |
20791 #else | |
20792 # include <assert.h> | |
20793 #endif | |
20794 | |
20795 #undef $ac_func | |
20796 | |
20797 /* Override any GCC internal prototype to avoid an error. | |
20798 Use char because int might match the return type of a GCC | |
20799 builtin and then its argument prototype would still apply. */ | |
20800 #ifdef __cplusplus | |
20801 extern "C" | |
20802 #endif | |
20803 char $ac_func (); | |
20804 /* The GNU C library defines this for functions which it implements | |
20805 to always fail with ENOSYS. Some functions are actually named | |
20806 something starting with __ and the normal name is an alias. */ | |
20807 #if defined __stub_$ac_func || defined __stub___$ac_func | |
20808 choke me | |
20809 #endif | |
20810 | |
20811 int | |
20812 main () | |
20813 { | |
20814 return $ac_func (); | |
20815 ; | |
20816 return 0; | |
20817 } | |
20818 _ACEOF | |
20819 rm -f conftest.$ac_objext conftest$ac_exeext | |
20820 if { (ac_try="$ac_link" | |
20821 case "(($ac_try" in | |
20822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20823 *) ac_try_echo=$ac_try;; | |
20824 esac | |
20825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20826 $as_echo "$ac_try_echo") >&5 | |
20827 (eval "$ac_link") 2>conftest.er1 | |
20828 ac_status=$? | |
20829 grep -v '^ *+' conftest.er1 >conftest.err | |
20830 rm -f conftest.er1 | |
20831 cat conftest.err >&5 | |
20832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20833 (exit $ac_status); } && { | |
20834 test -z "$ac_c_werror_flag" || | |
20835 test ! -s conftest.err | |
20836 } && test -s conftest$ac_exeext && { | |
20837 test "$cross_compiling" = yes || | |
20838 $as_test_x conftest$ac_exeext | |
20839 }; then | |
20840 eval "$as_ac_var=yes" | |
20841 else | |
20842 $as_echo "$as_me: failed program was:" >&5 | |
20843 sed 's/^/| /' conftest.$ac_ext >&5 | |
20844 | |
20845 eval "$as_ac_var=no" | |
20846 fi | |
20847 | |
20848 rm -rf conftest.dSYM | |
20849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20850 conftest$ac_exeext conftest.$ac_ext | |
20851 fi | |
20852 ac_res=`eval 'as_val=${'$as_ac_var'} | |
20853 $as_echo "$as_val"'` | |
20854 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20855 $as_echo "$ac_res" >&6; } | |
20856 if test `eval 'as_val=${'$as_ac_var'} | |
20857 $as_echo "$as_val"'` = yes; then | |
20858 cat >>confdefs.h <<_ACEOF | 11826 cat >>confdefs.h <<_ACEOF |
20859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11827 #define HAVE_STRFTIME 1 |
20860 _ACEOF | 11828 _ACEOF |
20861 | 11829 |
20862 else | 11830 else |
20863 # strftime is in -lintl on SCO UNIX. | 11831 # strftime is in -lintl on SCO UNIX. |
20864 { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 |
20865 $as_echo_n "checking for strftime in -lintl... " >&6; } | 11833 $as_echo_n "checking for strftime in -lintl... " >&6; } |
20866 if test "${ac_cv_lib_intl_strftime+set}" = set; then | 11834 if test "${ac_cv_lib_intl_strftime+set}" = set; then : |
20867 $as_echo_n "(cached) " >&6 | 11835 $as_echo_n "(cached) " >&6 |
20868 else | 11836 else |
20869 ac_check_lib_save_LIBS=$LIBS | 11837 ac_check_lib_save_LIBS=$LIBS |
20870 LIBS="-lintl $LIBS" | 11838 LIBS="-lintl $LIBS" |
20871 cat >conftest.$ac_ext <<_ACEOF | 11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20872 /* confdefs.h. */ | |
20873 _ACEOF | |
20874 cat confdefs.h >>conftest.$ac_ext | |
20875 cat >>conftest.$ac_ext <<_ACEOF | |
20876 /* end confdefs.h. */ | 11840 /* end confdefs.h. */ |
20877 | 11841 |
20878 /* Override any GCC internal prototype to avoid an error. | 11842 /* Override any GCC internal prototype to avoid an error. |
20879 Use char because int might match the return type of a GCC | 11843 Use char because int might match the return type of a GCC |
20880 builtin and then its argument prototype would still apply. */ | 11844 builtin and then its argument prototype would still apply. */ |
20888 return strftime (); | 11852 return strftime (); |
20889 ; | 11853 ; |
20890 return 0; | 11854 return 0; |
20891 } | 11855 } |
20892 _ACEOF | 11856 _ACEOF |
20893 rm -f conftest.$ac_objext conftest$ac_exeext | 11857 if ac_fn_c_try_link "$LINENO"; then : |
20894 if { (ac_try="$ac_link" | |
20895 case "(($ac_try" in | |
20896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20897 *) ac_try_echo=$ac_try;; | |
20898 esac | |
20899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20900 $as_echo "$ac_try_echo") >&5 | |
20901 (eval "$ac_link") 2>conftest.er1 | |
20902 ac_status=$? | |
20903 grep -v '^ *+' conftest.er1 >conftest.err | |
20904 rm -f conftest.er1 | |
20905 cat conftest.err >&5 | |
20906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20907 (exit $ac_status); } && { | |
20908 test -z "$ac_c_werror_flag" || | |
20909 test ! -s conftest.err | |
20910 } && test -s conftest$ac_exeext && { | |
20911 test "$cross_compiling" = yes || | |
20912 $as_test_x conftest$ac_exeext | |
20913 }; then | |
20914 ac_cv_lib_intl_strftime=yes | 11858 ac_cv_lib_intl_strftime=yes |
20915 else | 11859 else |
20916 $as_echo "$as_me: failed program was:" >&5 | 11860 ac_cv_lib_intl_strftime=no |
20917 sed 's/^/| /' conftest.$ac_ext >&5 | 11861 fi |
20918 | 11862 rm -f core conftest.err conftest.$ac_objext \ |
20919 ac_cv_lib_intl_strftime=no | 11863 conftest$ac_exeext conftest.$ac_ext |
20920 fi | |
20921 | |
20922 rm -rf conftest.dSYM | |
20923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20924 conftest$ac_exeext conftest.$ac_ext | |
20925 LIBS=$ac_check_lib_save_LIBS | 11864 LIBS=$ac_check_lib_save_LIBS |
20926 fi | 11865 fi |
20927 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 |
20928 $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 11867 $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
20929 if test $ac_cv_lib_intl_strftime = yes; then | 11868 if test "x$ac_cv_lib_intl_strftime" = x""yes; then : |
20930 cat >>confdefs.h <<\_ACEOF | 11869 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h |
20931 #define HAVE_STRFTIME 1 | |
20932 _ACEOF | |
20933 | 11870 |
20934 LIBS="-lintl $LIBS" | 11871 LIBS="-lintl $LIBS" |
20935 fi | 11872 fi |
20936 | 11873 |
20937 fi | 11874 fi |
20938 done | 11875 done |
20939 | 11876 |
20940 | 11877 |
20941 # UNIX98 PTYs. | 11878 # UNIX98 PTYs. |
20942 | |
20943 for ac_func in grantpt | 11879 for ac_func in grantpt |
20944 do | 11880 do : |
20945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11881 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" |
20946 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11882 if test "x$ac_cv_func_grantpt" = x""yes; then : |
20947 $as_echo_n "checking for $ac_func... " >&6; } | |
20948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
20949 $as_echo_n "(cached) " >&6 | |
20950 else | |
20951 cat >conftest.$ac_ext <<_ACEOF | |
20952 /* confdefs.h. */ | |
20953 _ACEOF | |
20954 cat confdefs.h >>conftest.$ac_ext | |
20955 cat >>conftest.$ac_ext <<_ACEOF | |
20956 /* end confdefs.h. */ | |
20957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
20958 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
20959 #define $ac_func innocuous_$ac_func | |
20960 | |
20961 /* System header to define __stub macros and hopefully few prototypes, | |
20962 which can conflict with char $ac_func (); below. | |
20963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
20964 <limits.h> exists even on freestanding compilers. */ | |
20965 | |
20966 #ifdef __STDC__ | |
20967 # include <limits.h> | |
20968 #else | |
20969 # include <assert.h> | |
20970 #endif | |
20971 | |
20972 #undef $ac_func | |
20973 | |
20974 /* Override any GCC internal prototype to avoid an error. | |
20975 Use char because int might match the return type of a GCC | |
20976 builtin and then its argument prototype would still apply. */ | |
20977 #ifdef __cplusplus | |
20978 extern "C" | |
20979 #endif | |
20980 char $ac_func (); | |
20981 /* The GNU C library defines this for functions which it implements | |
20982 to always fail with ENOSYS. Some functions are actually named | |
20983 something starting with __ and the normal name is an alias. */ | |
20984 #if defined __stub_$ac_func || defined __stub___$ac_func | |
20985 choke me | |
20986 #endif | |
20987 | |
20988 int | |
20989 main () | |
20990 { | |
20991 return $ac_func (); | |
20992 ; | |
20993 return 0; | |
20994 } | |
20995 _ACEOF | |
20996 rm -f conftest.$ac_objext conftest$ac_exeext | |
20997 if { (ac_try="$ac_link" | |
20998 case "(($ac_try" in | |
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21000 *) ac_try_echo=$ac_try;; | |
21001 esac | |
21002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21003 $as_echo "$ac_try_echo") >&5 | |
21004 (eval "$ac_link") 2>conftest.er1 | |
21005 ac_status=$? | |
21006 grep -v '^ *+' conftest.er1 >conftest.err | |
21007 rm -f conftest.er1 | |
21008 cat conftest.err >&5 | |
21009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21010 (exit $ac_status); } && { | |
21011 test -z "$ac_c_werror_flag" || | |
21012 test ! -s conftest.err | |
21013 } && test -s conftest$ac_exeext && { | |
21014 test "$cross_compiling" = yes || | |
21015 $as_test_x conftest$ac_exeext | |
21016 }; then | |
21017 eval "$as_ac_var=yes" | |
21018 else | |
21019 $as_echo "$as_me: failed program was:" >&5 | |
21020 sed 's/^/| /' conftest.$ac_ext >&5 | |
21021 | |
21022 eval "$as_ac_var=no" | |
21023 fi | |
21024 | |
21025 rm -rf conftest.dSYM | |
21026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21027 conftest$ac_exeext conftest.$ac_ext | |
21028 fi | |
21029 ac_res=`eval 'as_val=${'$as_ac_var'} | |
21030 $as_echo "$as_val"'` | |
21031 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
21032 $as_echo "$ac_res" >&6; } | |
21033 if test `eval 'as_val=${'$as_ac_var'} | |
21034 $as_echo "$as_val"'` = yes; then | |
21035 cat >>confdefs.h <<_ACEOF | 11883 cat >>confdefs.h <<_ACEOF |
21036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11884 #define HAVE_GRANTPT 1 |
21037 _ACEOF | 11885 _ACEOF |
21038 | 11886 |
21039 fi | 11887 fi |
21040 done | 11888 done |
21041 | 11889 |
21042 | 11890 |
21043 # PTY-related GNU extensions. | 11891 # PTY-related GNU extensions. |
21044 | |
21045 for ac_func in getpt | 11892 for ac_func in getpt |
21046 do | 11893 do : |
21047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11894 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" |
21048 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11895 if test "x$ac_cv_func_getpt" = x""yes; then : |
21049 $as_echo_n "checking for $ac_func... " >&6; } | |
21050 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
21051 $as_echo_n "(cached) " >&6 | |
21052 else | |
21053 cat >conftest.$ac_ext <<_ACEOF | |
21054 /* confdefs.h. */ | |
21055 _ACEOF | |
21056 cat confdefs.h >>conftest.$ac_ext | |
21057 cat >>conftest.$ac_ext <<_ACEOF | |
21058 /* end confdefs.h. */ | |
21059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
21060 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21061 #define $ac_func innocuous_$ac_func | |
21062 | |
21063 /* System header to define __stub macros and hopefully few prototypes, | |
21064 which can conflict with char $ac_func (); below. | |
21065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21066 <limits.h> exists even on freestanding compilers. */ | |
21067 | |
21068 #ifdef __STDC__ | |
21069 # include <limits.h> | |
21070 #else | |
21071 # include <assert.h> | |
21072 #endif | |
21073 | |
21074 #undef $ac_func | |
21075 | |
21076 /* Override any GCC internal prototype to avoid an error. | |
21077 Use char because int might match the return type of a GCC | |
21078 builtin and then its argument prototype would still apply. */ | |
21079 #ifdef __cplusplus | |
21080 extern "C" | |
21081 #endif | |
21082 char $ac_func (); | |
21083 /* The GNU C library defines this for functions which it implements | |
21084 to always fail with ENOSYS. Some functions are actually named | |
21085 something starting with __ and the normal name is an alias. */ | |
21086 #if defined __stub_$ac_func || defined __stub___$ac_func | |
21087 choke me | |
21088 #endif | |
21089 | |
21090 int | |
21091 main () | |
21092 { | |
21093 return $ac_func (); | |
21094 ; | |
21095 return 0; | |
21096 } | |
21097 _ACEOF | |
21098 rm -f conftest.$ac_objext conftest$ac_exeext | |
21099 if { (ac_try="$ac_link" | |
21100 case "(($ac_try" in | |
21101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21102 *) ac_try_echo=$ac_try;; | |
21103 esac | |
21104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21105 $as_echo "$ac_try_echo") >&5 | |
21106 (eval "$ac_link") 2>conftest.er1 | |
21107 ac_status=$? | |
21108 grep -v '^ *+' conftest.er1 >conftest.err | |
21109 rm -f conftest.er1 | |
21110 cat conftest.err >&5 | |
21111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21112 (exit $ac_status); } && { | |
21113 test -z "$ac_c_werror_flag" || | |
21114 test ! -s conftest.err | |
21115 } && test -s conftest$ac_exeext && { | |
21116 test "$cross_compiling" = yes || | |
21117 $as_test_x conftest$ac_exeext | |
21118 }; then | |
21119 eval "$as_ac_var=yes" | |
21120 else | |
21121 $as_echo "$as_me: failed program was:" >&5 | |
21122 sed 's/^/| /' conftest.$ac_ext >&5 | |
21123 | |
21124 eval "$as_ac_var=no" | |
21125 fi | |
21126 | |
21127 rm -rf conftest.dSYM | |
21128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21129 conftest$ac_exeext conftest.$ac_ext | |
21130 fi | |
21131 ac_res=`eval 'as_val=${'$as_ac_var'} | |
21132 $as_echo "$as_val"'` | |
21133 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
21134 $as_echo "$ac_res" >&6; } | |
21135 if test `eval 'as_val=${'$as_ac_var'} | |
21136 $as_echo "$as_val"'` = yes; then | |
21137 cat >>confdefs.h <<_ACEOF | 11896 cat >>confdefs.h <<_ACEOF |
21138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11897 #define HAVE_GETPT 1 |
21139 _ACEOF | 11898 _ACEOF |
21140 | 11899 |
21141 fi | 11900 fi |
21142 done | 11901 done |
21143 | 11902 |
21146 # That is because we have not set up to link ncurses in lib-src. | 11905 # That is because we have not set up to link ncurses in lib-src. |
21147 # It's better to believe a function is not available | 11906 # It's better to believe a function is not available |
21148 # than to expect to find it in ncurses. | 11907 # than to expect to find it in ncurses. |
21149 # Also we need tputs and frieds to be able to build at all. | 11908 # Also we need tputs and frieds to be able to build at all. |
21150 have_tputs_et_al=true | 11909 have_tputs_et_al=true |
21151 { $as_echo "$as_me:$LINENO: checking for library containing tputs" >&5 | 11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 |
21152 $as_echo_n "checking for library containing tputs... " >&6; } | 11911 $as_echo_n "checking for library containing tputs... " >&6; } |
21153 if test "${ac_cv_search_tputs+set}" = set; then | 11912 if test "${ac_cv_search_tputs+set}" = set; then : |
21154 $as_echo_n "(cached) " >&6 | 11913 $as_echo_n "(cached) " >&6 |
21155 else | 11914 else |
21156 ac_func_search_save_LIBS=$LIBS | 11915 ac_func_search_save_LIBS=$LIBS |
21157 cat >conftest.$ac_ext <<_ACEOF | 11916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21158 /* confdefs.h. */ | |
21159 _ACEOF | |
21160 cat confdefs.h >>conftest.$ac_ext | |
21161 cat >>conftest.$ac_ext <<_ACEOF | |
21162 /* end confdefs.h. */ | 11917 /* end confdefs.h. */ |
21163 | 11918 |
21164 /* Override any GCC internal prototype to avoid an error. | 11919 /* Override any GCC internal prototype to avoid an error. |
21165 Use char because int might match the return type of a GCC | 11920 Use char because int might match the return type of a GCC |
21166 builtin and then its argument prototype would still apply. */ | 11921 builtin and then its argument prototype would still apply. */ |
21181 ac_res="none required" | 11936 ac_res="none required" |
21182 else | 11937 else |
21183 ac_res=-l$ac_lib | 11938 ac_res=-l$ac_lib |
21184 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 11939 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
21185 fi | 11940 fi |
21186 rm -f conftest.$ac_objext conftest$ac_exeext | 11941 if ac_fn_c_try_link "$LINENO"; then : |
21187 if { (ac_try="$ac_link" | |
21188 case "(($ac_try" in | |
21189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21190 *) ac_try_echo=$ac_try;; | |
21191 esac | |
21192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21193 $as_echo "$ac_try_echo") >&5 | |
21194 (eval "$ac_link") 2>conftest.er1 | |
21195 ac_status=$? | |
21196 grep -v '^ *+' conftest.er1 >conftest.err | |
21197 rm -f conftest.er1 | |
21198 cat conftest.err >&5 | |
21199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21200 (exit $ac_status); } && { | |
21201 test -z "$ac_c_werror_flag" || | |
21202 test ! -s conftest.err | |
21203 } && test -s conftest$ac_exeext && { | |
21204 test "$cross_compiling" = yes || | |
21205 $as_test_x conftest$ac_exeext | |
21206 }; then | |
21207 ac_cv_search_tputs=$ac_res | 11942 ac_cv_search_tputs=$ac_res |
21208 else | 11943 fi |
21209 $as_echo "$as_me: failed program was:" >&5 | 11944 rm -f core conftest.err conftest.$ac_objext \ |
21210 sed 's/^/| /' conftest.$ac_ext >&5 | 11945 conftest$ac_exeext |
21211 | 11946 if test "${ac_cv_search_tputs+set}" = set; then : |
21212 | |
21213 fi | |
21214 | |
21215 rm -rf conftest.dSYM | |
21216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21217 conftest$ac_exeext | |
21218 if test "${ac_cv_search_tputs+set}" = set; then | |
21219 break | 11947 break |
21220 fi | 11948 fi |
21221 done | 11949 done |
21222 if test "${ac_cv_search_tputs+set}" = set; then | 11950 if test "${ac_cv_search_tputs+set}" = set; then : |
21223 : | 11951 |
21224 else | 11952 else |
21225 ac_cv_search_tputs=no | 11953 ac_cv_search_tputs=no |
21226 fi | 11954 fi |
21227 rm conftest.$ac_ext | 11955 rm conftest.$ac_ext |
21228 LIBS=$ac_func_search_save_LIBS | 11956 LIBS=$ac_func_search_save_LIBS |
21229 fi | 11957 fi |
21230 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tputs" >&5 | 11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5 |
21231 $as_echo "$ac_cv_search_tputs" >&6; } | 11959 $as_echo "$ac_cv_search_tputs" >&6; } |
21232 ac_res=$ac_cv_search_tputs | 11960 ac_res=$ac_cv_search_tputs |
21233 if test "$ac_res" != no; then | 11961 if test "$ac_res" != no; then : |
21234 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 11962 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
21235 | 11963 |
21236 else | 11964 else |
21237 have_tputs_et_al=false | 11965 have_tputs_et_al=false |
21238 fi | 11966 fi |
21239 | 11967 |
21240 if test "$have_tputs_et_al" != true; then | 11968 if test "$have_tputs_et_al" != true; then |
21241 { { $as_echo "$as_me:$LINENO: error: I couldn't find termcap functions (tputs and friends). | 11969 as_fn_error "I couldn't find termcap functions (tputs and friends). |
21242 Maybe some development libraries/packages are missing? Try installing | 11970 Maybe some development libraries/packages are missing? Try installing |
21243 libncurses-dev(el), libterminfo-dev(el) or similar." >&5 | 11971 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 |
21244 $as_echo "$as_me: error: I couldn't find termcap functions (tputs and friends). | |
21245 Maybe some development libraries/packages are missing? Try installing | |
21246 libncurses-dev(el), libterminfo-dev(el) or similar." >&2;} | |
21247 { (exit 1); exit 1; }; } | |
21248 fi | 11972 fi |
21249 # Must define this when any termcap library is found. | 11973 # Must define this when any termcap library is found. |
21250 | 11974 |
21251 cat >>confdefs.h <<\_ACEOF | 11975 $as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h |
21252 #define HAVE_LIBNCURSES 1 | |
21253 _ACEOF | |
21254 | 11976 |
21255 | 11977 |
21256 # Do we have res_init, for detecting changes in /etc/resolv.conf? | 11978 # Do we have res_init, for detecting changes in /etc/resolv.conf? |
21257 | 11979 |
21258 resolv=no | 11980 resolv=no |
21259 cat >conftest.$ac_ext <<_ACEOF | 11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21260 /* confdefs.h. */ | |
21261 _ACEOF | |
21262 cat confdefs.h >>conftest.$ac_ext | |
21263 cat >>conftest.$ac_ext <<_ACEOF | |
21264 /* end confdefs.h. */ | 11982 /* end confdefs.h. */ |
21265 #include <netinet/in.h> | 11983 #include <netinet/in.h> |
21266 #include <arpa/nameser.h> | 11984 #include <arpa/nameser.h> |
21267 #include <resolv.h> | 11985 #include <resolv.h> |
21268 int | 11986 int |
21271 return res_init(); | 11989 return res_init(); |
21272 ; | 11990 ; |
21273 return 0; | 11991 return 0; |
21274 } | 11992 } |
21275 _ACEOF | 11993 _ACEOF |
21276 rm -f conftest.$ac_objext conftest$ac_exeext | 11994 if ac_fn_c_try_link "$LINENO"; then : |
21277 if { (ac_try="$ac_link" | |
21278 case "(($ac_try" in | |
21279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21280 *) ac_try_echo=$ac_try;; | |
21281 esac | |
21282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21283 $as_echo "$ac_try_echo") >&5 | |
21284 (eval "$ac_link") 2>conftest.er1 | |
21285 ac_status=$? | |
21286 grep -v '^ *+' conftest.er1 >conftest.err | |
21287 rm -f conftest.er1 | |
21288 cat conftest.err >&5 | |
21289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21290 (exit $ac_status); } && { | |
21291 test -z "$ac_c_werror_flag" || | |
21292 test ! -s conftest.err | |
21293 } && test -s conftest$ac_exeext && { | |
21294 test "$cross_compiling" = yes || | |
21295 $as_test_x conftest$ac_exeext | |
21296 }; then | |
21297 have_res_init=yes | 11995 have_res_init=yes |
21298 else | 11996 else |
21299 $as_echo "$as_me: failed program was:" >&5 | 11997 have_res_init=no |
21300 sed 's/^/| /' conftest.$ac_ext >&5 | 11998 fi |
21301 | 11999 rm -f core conftest.err conftest.$ac_objext \ |
21302 have_res_init=no | 12000 conftest$ac_exeext conftest.$ac_ext |
21303 fi | |
21304 | |
21305 rm -rf conftest.dSYM | |
21306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21307 conftest$ac_exeext conftest.$ac_ext | |
21308 if test "$have_res_init" = no; then | 12001 if test "$have_res_init" = no; then |
21309 OLIBS="$LIBS" | 12002 OLIBS="$LIBS" |
21310 LIBS="$LIBS -lresolv" | 12003 LIBS="$LIBS -lresolv" |
21311 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 | 12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5 |
21312 $as_echo_n "checking for res_init with -lresolv... " >&6; } | 12005 $as_echo_n "checking for res_init with -lresolv... " >&6; } |
21313 cat >conftest.$ac_ext <<_ACEOF | 12006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21314 /* confdefs.h. */ | |
21315 _ACEOF | |
21316 cat confdefs.h >>conftest.$ac_ext | |
21317 cat >>conftest.$ac_ext <<_ACEOF | |
21318 /* end confdefs.h. */ | 12007 /* end confdefs.h. */ |
21319 #include <netinet/in.h> | 12008 #include <netinet/in.h> |
21320 #include <arpa/nameser.h> | 12009 #include <arpa/nameser.h> |
21321 #include <resolv.h> | 12010 #include <resolv.h> |
21322 int | 12011 int |
21325 return res_init(); | 12014 return res_init(); |
21326 ; | 12015 ; |
21327 return 0; | 12016 return 0; |
21328 } | 12017 } |
21329 _ACEOF | 12018 _ACEOF |
21330 rm -f conftest.$ac_objext conftest$ac_exeext | 12019 if ac_fn_c_try_link "$LINENO"; then : |
21331 if { (ac_try="$ac_link" | |
21332 case "(($ac_try" in | |
21333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21334 *) ac_try_echo=$ac_try;; | |
21335 esac | |
21336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21337 $as_echo "$ac_try_echo") >&5 | |
21338 (eval "$ac_link") 2>conftest.er1 | |
21339 ac_status=$? | |
21340 grep -v '^ *+' conftest.er1 >conftest.err | |
21341 rm -f conftest.er1 | |
21342 cat conftest.err >&5 | |
21343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21344 (exit $ac_status); } && { | |
21345 test -z "$ac_c_werror_flag" || | |
21346 test ! -s conftest.err | |
21347 } && test -s conftest$ac_exeext && { | |
21348 test "$cross_compiling" = yes || | |
21349 $as_test_x conftest$ac_exeext | |
21350 }; then | |
21351 have_res_init=yes | 12020 have_res_init=yes |
21352 else | 12021 else |
21353 $as_echo "$as_me: failed program was:" >&5 | 12022 have_res_init=no |
21354 sed 's/^/| /' conftest.$ac_ext >&5 | 12023 fi |
21355 | 12024 rm -f core conftest.err conftest.$ac_objext \ |
21356 have_res_init=no | 12025 conftest$ac_exeext conftest.$ac_ext |
21357 fi | 12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5 |
21358 | |
21359 rm -rf conftest.dSYM | |
21360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21361 conftest$ac_exeext conftest.$ac_ext | |
21362 { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5 | |
21363 $as_echo "$have_res_init" >&6; } | 12027 $as_echo "$have_res_init" >&6; } |
21364 if test "$have_res_init" = yes ; then | 12028 if test "$have_res_init" = yes ; then |
21365 resolv=yes | 12029 resolv=yes |
21366 fi | 12030 fi |
21367 LIBS="$OLIBS" | 12031 LIBS="$OLIBS" |
21368 fi | 12032 fi |
21369 | 12033 |
21370 if test "$have_res_init" = yes; then | 12034 if test "$have_res_init" = yes; then |
21371 | 12035 |
21372 cat >>confdefs.h <<\_ACEOF | 12036 $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h |
21373 #define HAVE_RES_INIT 1 | |
21374 _ACEOF | |
21375 | 12037 |
21376 fi | 12038 fi |
21377 | 12039 |
21378 # Do we need the Hesiod library to provide the support routines? | 12040 # Do we need the Hesiod library to provide the support routines? |
21379 LIBHESIOD= | 12041 LIBHESIOD= |
21380 if test "$with_hesiod" != no ; then | 12042 if test "$with_hesiod" != no ; then |
21381 # Don't set $LIBS here -- see comments above. FIXME which comments? | 12043 # Don't set $LIBS here -- see comments above. FIXME which comments? |
21382 { $as_echo "$as_me:$LINENO: checking for res_send" >&5 | 12044 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" |
21383 $as_echo_n "checking for res_send... " >&6; } | 12045 if test "x$ac_cv_func_res_send" = x""yes; then : |
21384 if test "${ac_cv_func_res_send+set}" = set; then | 12046 |
21385 $as_echo_n "(cached) " >&6 | 12047 else |
21386 else | 12048 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" |
21387 cat >conftest.$ac_ext <<_ACEOF | 12049 if test "x$ac_cv_func___res_send" = x""yes; then : |
21388 /* confdefs.h. */ | 12050 |
21389 _ACEOF | 12051 else |
21390 cat confdefs.h >>conftest.$ac_ext | 12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 |
21391 cat >>conftest.$ac_ext <<_ACEOF | |
21392 /* end confdefs.h. */ | |
21393 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send. | |
21394 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21395 #define res_send innocuous_res_send | |
21396 | |
21397 /* System header to define __stub macros and hopefully few prototypes, | |
21398 which can conflict with char res_send (); below. | |
21399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21400 <limits.h> exists even on freestanding compilers. */ | |
21401 | |
21402 #ifdef __STDC__ | |
21403 # include <limits.h> | |
21404 #else | |
21405 # include <assert.h> | |
21406 #endif | |
21407 | |
21408 #undef res_send | |
21409 | |
21410 /* Override any GCC internal prototype to avoid an error. | |
21411 Use char because int might match the return type of a GCC | |
21412 builtin and then its argument prototype would still apply. */ | |
21413 #ifdef __cplusplus | |
21414 extern "C" | |
21415 #endif | |
21416 char res_send (); | |
21417 /* The GNU C library defines this for functions which it implements | |
21418 to always fail with ENOSYS. Some functions are actually named | |
21419 something starting with __ and the normal name is an alias. */ | |
21420 #if defined __stub_res_send || defined __stub___res_send | |
21421 choke me | |
21422 #endif | |
21423 | |
21424 int | |
21425 main () | |
21426 { | |
21427 return res_send (); | |
21428 ; | |
21429 return 0; | |
21430 } | |
21431 _ACEOF | |
21432 rm -f conftest.$ac_objext conftest$ac_exeext | |
21433 if { (ac_try="$ac_link" | |
21434 case "(($ac_try" in | |
21435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21436 *) ac_try_echo=$ac_try;; | |
21437 esac | |
21438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21439 $as_echo "$ac_try_echo") >&5 | |
21440 (eval "$ac_link") 2>conftest.er1 | |
21441 ac_status=$? | |
21442 grep -v '^ *+' conftest.er1 >conftest.err | |
21443 rm -f conftest.er1 | |
21444 cat conftest.err >&5 | |
21445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21446 (exit $ac_status); } && { | |
21447 test -z "$ac_c_werror_flag" || | |
21448 test ! -s conftest.err | |
21449 } && test -s conftest$ac_exeext && { | |
21450 test "$cross_compiling" = yes || | |
21451 $as_test_x conftest$ac_exeext | |
21452 }; then | |
21453 ac_cv_func_res_send=yes | |
21454 else | |
21455 $as_echo "$as_me: failed program was:" >&5 | |
21456 sed 's/^/| /' conftest.$ac_ext >&5 | |
21457 | |
21458 ac_cv_func_res_send=no | |
21459 fi | |
21460 | |
21461 rm -rf conftest.dSYM | |
21462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21463 conftest$ac_exeext conftest.$ac_ext | |
21464 fi | |
21465 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | |
21466 $as_echo "$ac_cv_func_res_send" >&6; } | |
21467 if test $ac_cv_func_res_send = yes; then | |
21468 : | |
21469 else | |
21470 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5 | |
21471 $as_echo_n "checking for __res_send... " >&6; } | |
21472 if test "${ac_cv_func___res_send+set}" = set; then | |
21473 $as_echo_n "(cached) " >&6 | |
21474 else | |
21475 cat >conftest.$ac_ext <<_ACEOF | |
21476 /* confdefs.h. */ | |
21477 _ACEOF | |
21478 cat confdefs.h >>conftest.$ac_ext | |
21479 cat >>conftest.$ac_ext <<_ACEOF | |
21480 /* end confdefs.h. */ | |
21481 /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send. | |
21482 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21483 #define __res_send innocuous___res_send | |
21484 | |
21485 /* System header to define __stub macros and hopefully few prototypes, | |
21486 which can conflict with char __res_send (); below. | |
21487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21488 <limits.h> exists even on freestanding compilers. */ | |
21489 | |
21490 #ifdef __STDC__ | |
21491 # include <limits.h> | |
21492 #else | |
21493 # include <assert.h> | |
21494 #endif | |
21495 | |
21496 #undef __res_send | |
21497 | |
21498 /* Override any GCC internal prototype to avoid an error. | |
21499 Use char because int might match the return type of a GCC | |
21500 builtin and then its argument prototype would still apply. */ | |
21501 #ifdef __cplusplus | |
21502 extern "C" | |
21503 #endif | |
21504 char __res_send (); | |
21505 /* The GNU C library defines this for functions which it implements | |
21506 to always fail with ENOSYS. Some functions are actually named | |
21507 something starting with __ and the normal name is an alias. */ | |
21508 #if defined __stub___res_send || defined __stub_____res_send | |
21509 choke me | |
21510 #endif | |
21511 | |
21512 int | |
21513 main () | |
21514 { | |
21515 return __res_send (); | |
21516 ; | |
21517 return 0; | |
21518 } | |
21519 _ACEOF | |
21520 rm -f conftest.$ac_objext conftest$ac_exeext | |
21521 if { (ac_try="$ac_link" | |
21522 case "(($ac_try" in | |
21523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21524 *) ac_try_echo=$ac_try;; | |
21525 esac | |
21526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21527 $as_echo "$ac_try_echo") >&5 | |
21528 (eval "$ac_link") 2>conftest.er1 | |
21529 ac_status=$? | |
21530 grep -v '^ *+' conftest.er1 >conftest.err | |
21531 rm -f conftest.er1 | |
21532 cat conftest.err >&5 | |
21533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21534 (exit $ac_status); } && { | |
21535 test -z "$ac_c_werror_flag" || | |
21536 test ! -s conftest.err | |
21537 } && test -s conftest$ac_exeext && { | |
21538 test "$cross_compiling" = yes || | |
21539 $as_test_x conftest$ac_exeext | |
21540 }; then | |
21541 ac_cv_func___res_send=yes | |
21542 else | |
21543 $as_echo "$as_me: failed program was:" >&5 | |
21544 sed 's/^/| /' conftest.$ac_ext >&5 | |
21545 | |
21546 ac_cv_func___res_send=no | |
21547 fi | |
21548 | |
21549 rm -rf conftest.dSYM | |
21550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21551 conftest$ac_exeext conftest.$ac_ext | |
21552 fi | |
21553 { $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | |
21554 $as_echo "$ac_cv_func___res_send" >&6; } | |
21555 if test $ac_cv_func___res_send = yes; then | |
21556 : | |
21557 else | |
21558 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 | |
21559 $as_echo_n "checking for res_send in -lresolv... " >&6; } | 12053 $as_echo_n "checking for res_send in -lresolv... " >&6; } |
21560 if test "${ac_cv_lib_resolv_res_send+set}" = set; then | 12054 if test "${ac_cv_lib_resolv_res_send+set}" = set; then : |
21561 $as_echo_n "(cached) " >&6 | 12055 $as_echo_n "(cached) " >&6 |
21562 else | 12056 else |
21563 ac_check_lib_save_LIBS=$LIBS | 12057 ac_check_lib_save_LIBS=$LIBS |
21564 LIBS="-lresolv $LIBS" | 12058 LIBS="-lresolv $LIBS" |
21565 cat >conftest.$ac_ext <<_ACEOF | 12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21566 /* confdefs.h. */ | |
21567 _ACEOF | |
21568 cat confdefs.h >>conftest.$ac_ext | |
21569 cat >>conftest.$ac_ext <<_ACEOF | |
21570 /* end confdefs.h. */ | 12060 /* end confdefs.h. */ |
21571 | 12061 |
21572 /* Override any GCC internal prototype to avoid an error. | 12062 /* Override any GCC internal prototype to avoid an error. |
21573 Use char because int might match the return type of a GCC | 12063 Use char because int might match the return type of a GCC |
21574 builtin and then its argument prototype would still apply. */ | 12064 builtin and then its argument prototype would still apply. */ |
21582 return res_send (); | 12072 return res_send (); |
21583 ; | 12073 ; |
21584 return 0; | 12074 return 0; |
21585 } | 12075 } |
21586 _ACEOF | 12076 _ACEOF |
21587 rm -f conftest.$ac_objext conftest$ac_exeext | 12077 if ac_fn_c_try_link "$LINENO"; then : |
21588 if { (ac_try="$ac_link" | |
21589 case "(($ac_try" in | |
21590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21591 *) ac_try_echo=$ac_try;; | |
21592 esac | |
21593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21594 $as_echo "$ac_try_echo") >&5 | |
21595 (eval "$ac_link") 2>conftest.er1 | |
21596 ac_status=$? | |
21597 grep -v '^ *+' conftest.er1 >conftest.err | |
21598 rm -f conftest.er1 | |
21599 cat conftest.err >&5 | |
21600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21601 (exit $ac_status); } && { | |
21602 test -z "$ac_c_werror_flag" || | |
21603 test ! -s conftest.err | |
21604 } && test -s conftest$ac_exeext && { | |
21605 test "$cross_compiling" = yes || | |
21606 $as_test_x conftest$ac_exeext | |
21607 }; then | |
21608 ac_cv_lib_resolv_res_send=yes | 12078 ac_cv_lib_resolv_res_send=yes |
21609 else | 12079 else |
21610 $as_echo "$as_me: failed program was:" >&5 | 12080 ac_cv_lib_resolv_res_send=no |
21611 sed 's/^/| /' conftest.$ac_ext >&5 | 12081 fi |
21612 | 12082 rm -f core conftest.err conftest.$ac_objext \ |
21613 ac_cv_lib_resolv_res_send=no | 12083 conftest$ac_exeext conftest.$ac_ext |
21614 fi | |
21615 | |
21616 rm -rf conftest.dSYM | |
21617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21618 conftest$ac_exeext conftest.$ac_ext | |
21619 LIBS=$ac_check_lib_save_LIBS | 12084 LIBS=$ac_check_lib_save_LIBS |
21620 fi | 12085 fi |
21621 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 | 12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 |
21622 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } | 12087 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } |
21623 if test $ac_cv_lib_resolv_res_send = yes; then | 12088 if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : |
21624 resolv=yes | 12089 resolv=yes |
21625 else | 12090 else |
21626 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 | 12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 |
21627 $as_echo_n "checking for __res_send in -lresolv... " >&6; } | 12092 $as_echo_n "checking for __res_send in -lresolv... " >&6; } |
21628 if test "${ac_cv_lib_resolv___res_send+set}" = set; then | 12093 if test "${ac_cv_lib_resolv___res_send+set}" = set; then : |
21629 $as_echo_n "(cached) " >&6 | 12094 $as_echo_n "(cached) " >&6 |
21630 else | 12095 else |
21631 ac_check_lib_save_LIBS=$LIBS | 12096 ac_check_lib_save_LIBS=$LIBS |
21632 LIBS="-lresolv $LIBS" | 12097 LIBS="-lresolv $LIBS" |
21633 cat >conftest.$ac_ext <<_ACEOF | 12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21634 /* confdefs.h. */ | |
21635 _ACEOF | |
21636 cat confdefs.h >>conftest.$ac_ext | |
21637 cat >>conftest.$ac_ext <<_ACEOF | |
21638 /* end confdefs.h. */ | 12099 /* end confdefs.h. */ |
21639 | 12100 |
21640 /* Override any GCC internal prototype to avoid an error. | 12101 /* Override any GCC internal prototype to avoid an error. |
21641 Use char because int might match the return type of a GCC | 12102 Use char because int might match the return type of a GCC |
21642 builtin and then its argument prototype would still apply. */ | 12103 builtin and then its argument prototype would still apply. */ |
21650 return __res_send (); | 12111 return __res_send (); |
21651 ; | 12112 ; |
21652 return 0; | 12113 return 0; |
21653 } | 12114 } |
21654 _ACEOF | 12115 _ACEOF |
21655 rm -f conftest.$ac_objext conftest$ac_exeext | 12116 if ac_fn_c_try_link "$LINENO"; then : |
21656 if { (ac_try="$ac_link" | |
21657 case "(($ac_try" in | |
21658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21659 *) ac_try_echo=$ac_try;; | |
21660 esac | |
21661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21662 $as_echo "$ac_try_echo") >&5 | |
21663 (eval "$ac_link") 2>conftest.er1 | |
21664 ac_status=$? | |
21665 grep -v '^ *+' conftest.er1 >conftest.err | |
21666 rm -f conftest.er1 | |
21667 cat conftest.err >&5 | |
21668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21669 (exit $ac_status); } && { | |
21670 test -z "$ac_c_werror_flag" || | |
21671 test ! -s conftest.err | |
21672 } && test -s conftest$ac_exeext && { | |
21673 test "$cross_compiling" = yes || | |
21674 $as_test_x conftest$ac_exeext | |
21675 }; then | |
21676 ac_cv_lib_resolv___res_send=yes | 12117 ac_cv_lib_resolv___res_send=yes |
21677 else | 12118 else |
21678 $as_echo "$as_me: failed program was:" >&5 | 12119 ac_cv_lib_resolv___res_send=no |
21679 sed 's/^/| /' conftest.$ac_ext >&5 | 12120 fi |
21680 | 12121 rm -f core conftest.err conftest.$ac_objext \ |
21681 ac_cv_lib_resolv___res_send=no | 12122 conftest$ac_exeext conftest.$ac_ext |
21682 fi | |
21683 | |
21684 rm -rf conftest.dSYM | |
21685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21686 conftest$ac_exeext conftest.$ac_ext | |
21687 LIBS=$ac_check_lib_save_LIBS | 12123 LIBS=$ac_check_lib_save_LIBS |
21688 fi | 12124 fi |
21689 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 | 12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 |
21690 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } | 12126 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } |
21691 if test $ac_cv_lib_resolv___res_send = yes; then | 12127 if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : |
21692 resolv=yes | 12128 resolv=yes |
21693 fi | 12129 fi |
21694 | 12130 |
21695 fi | 12131 fi |
21696 | 12132 |
21701 if test "$resolv" = yes ; then | 12137 if test "$resolv" = yes ; then |
21702 RESOLVLIB=-lresolv | 12138 RESOLVLIB=-lresolv |
21703 else | 12139 else |
21704 RESOLVLIB= | 12140 RESOLVLIB= |
21705 fi | 12141 fi |
21706 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 | 12142 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" |
21707 $as_echo_n "checking for hes_getmailhost... " >&6; } | 12143 if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : |
21708 if test "${ac_cv_func_hes_getmailhost+set}" = set; then | 12144 |
21709 $as_echo_n "(cached) " >&6 | 12145 else |
21710 else | 12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 |
21711 cat >conftest.$ac_ext <<_ACEOF | |
21712 /* confdefs.h. */ | |
21713 _ACEOF | |
21714 cat confdefs.h >>conftest.$ac_ext | |
21715 cat >>conftest.$ac_ext <<_ACEOF | |
21716 /* end confdefs.h. */ | |
21717 /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost. | |
21718 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21719 #define hes_getmailhost innocuous_hes_getmailhost | |
21720 | |
21721 /* System header to define __stub macros and hopefully few prototypes, | |
21722 which can conflict with char hes_getmailhost (); below. | |
21723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21724 <limits.h> exists even on freestanding compilers. */ | |
21725 | |
21726 #ifdef __STDC__ | |
21727 # include <limits.h> | |
21728 #else | |
21729 # include <assert.h> | |
21730 #endif | |
21731 | |
21732 #undef hes_getmailhost | |
21733 | |
21734 /* Override any GCC internal prototype to avoid an error. | |
21735 Use char because int might match the return type of a GCC | |
21736 builtin and then its argument prototype would still apply. */ | |
21737 #ifdef __cplusplus | |
21738 extern "C" | |
21739 #endif | |
21740 char hes_getmailhost (); | |
21741 /* The GNU C library defines this for functions which it implements | |
21742 to always fail with ENOSYS. Some functions are actually named | |
21743 something starting with __ and the normal name is an alias. */ | |
21744 #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost | |
21745 choke me | |
21746 #endif | |
21747 | |
21748 int | |
21749 main () | |
21750 { | |
21751 return hes_getmailhost (); | |
21752 ; | |
21753 return 0; | |
21754 } | |
21755 _ACEOF | |
21756 rm -f conftest.$ac_objext conftest$ac_exeext | |
21757 if { (ac_try="$ac_link" | |
21758 case "(($ac_try" in | |
21759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21760 *) ac_try_echo=$ac_try;; | |
21761 esac | |
21762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21763 $as_echo "$ac_try_echo") >&5 | |
21764 (eval "$ac_link") 2>conftest.er1 | |
21765 ac_status=$? | |
21766 grep -v '^ *+' conftest.er1 >conftest.err | |
21767 rm -f conftest.er1 | |
21768 cat conftest.err >&5 | |
21769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21770 (exit $ac_status); } && { | |
21771 test -z "$ac_c_werror_flag" || | |
21772 test ! -s conftest.err | |
21773 } && test -s conftest$ac_exeext && { | |
21774 test "$cross_compiling" = yes || | |
21775 $as_test_x conftest$ac_exeext | |
21776 }; then | |
21777 ac_cv_func_hes_getmailhost=yes | |
21778 else | |
21779 $as_echo "$as_me: failed program was:" >&5 | |
21780 sed 's/^/| /' conftest.$ac_ext >&5 | |
21781 | |
21782 ac_cv_func_hes_getmailhost=no | |
21783 fi | |
21784 | |
21785 rm -rf conftest.dSYM | |
21786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21787 conftest$ac_exeext conftest.$ac_ext | |
21788 fi | |
21789 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | |
21790 $as_echo "$ac_cv_func_hes_getmailhost" >&6; } | |
21791 if test $ac_cv_func_hes_getmailhost = yes; then | |
21792 : | |
21793 else | |
21794 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 | |
21795 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } | 12147 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } |
21796 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then | 12148 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : |
21797 $as_echo_n "(cached) " >&6 | 12149 $as_echo_n "(cached) " >&6 |
21798 else | 12150 else |
21799 ac_check_lib_save_LIBS=$LIBS | 12151 ac_check_lib_save_LIBS=$LIBS |
21800 LIBS="-lhesiod $RESOLVLIB $LIBS" | 12152 LIBS="-lhesiod $RESOLVLIB $LIBS" |
21801 cat >conftest.$ac_ext <<_ACEOF | 12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21802 /* confdefs.h. */ | |
21803 _ACEOF | |
21804 cat confdefs.h >>conftest.$ac_ext | |
21805 cat >>conftest.$ac_ext <<_ACEOF | |
21806 /* end confdefs.h. */ | 12154 /* end confdefs.h. */ |
21807 | 12155 |
21808 /* Override any GCC internal prototype to avoid an error. | 12156 /* Override any GCC internal prototype to avoid an error. |
21809 Use char because int might match the return type of a GCC | 12157 Use char because int might match the return type of a GCC |
21810 builtin and then its argument prototype would still apply. */ | 12158 builtin and then its argument prototype would still apply. */ |
21818 return hes_getmailhost (); | 12166 return hes_getmailhost (); |
21819 ; | 12167 ; |
21820 return 0; | 12168 return 0; |
21821 } | 12169 } |
21822 _ACEOF | 12170 _ACEOF |
21823 rm -f conftest.$ac_objext conftest$ac_exeext | 12171 if ac_fn_c_try_link "$LINENO"; then : |
21824 if { (ac_try="$ac_link" | |
21825 case "(($ac_try" in | |
21826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21827 *) ac_try_echo=$ac_try;; | |
21828 esac | |
21829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21830 $as_echo "$ac_try_echo") >&5 | |
21831 (eval "$ac_link") 2>conftest.er1 | |
21832 ac_status=$? | |
21833 grep -v '^ *+' conftest.er1 >conftest.err | |
21834 rm -f conftest.er1 | |
21835 cat conftest.err >&5 | |
21836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21837 (exit $ac_status); } && { | |
21838 test -z "$ac_c_werror_flag" || | |
21839 test ! -s conftest.err | |
21840 } && test -s conftest$ac_exeext && { | |
21841 test "$cross_compiling" = yes || | |
21842 $as_test_x conftest$ac_exeext | |
21843 }; then | |
21844 ac_cv_lib_hesiod_hes_getmailhost=yes | 12172 ac_cv_lib_hesiod_hes_getmailhost=yes |
21845 else | 12173 else |
21846 $as_echo "$as_me: failed program was:" >&5 | 12174 ac_cv_lib_hesiod_hes_getmailhost=no |
21847 sed 's/^/| /' conftest.$ac_ext >&5 | 12175 fi |
21848 | 12176 rm -f core conftest.err conftest.$ac_objext \ |
21849 ac_cv_lib_hesiod_hes_getmailhost=no | 12177 conftest$ac_exeext conftest.$ac_ext |
21850 fi | |
21851 | |
21852 rm -rf conftest.dSYM | |
21853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21854 conftest$ac_exeext conftest.$ac_ext | |
21855 LIBS=$ac_check_lib_save_LIBS | 12178 LIBS=$ac_check_lib_save_LIBS |
21856 fi | 12179 fi |
21857 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
21858 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } | 12181 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
21859 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then | 12182 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : |
21860 hesiod=yes | 12183 hesiod=yes |
21861 else | 12184 else |
21862 : | 12185 : |
21863 fi | 12186 fi |
21864 | 12187 |
21865 fi | 12188 fi |
21866 | 12189 |
21867 | 12190 |
21868 if test x"$hesiod" = xyes; then | 12191 if test x"$hesiod" = xyes; then |
21869 | 12192 |
21870 cat >>confdefs.h <<\_ACEOF | 12193 $as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h |
21871 #define HAVE_LIBHESIOD 1 | |
21872 _ACEOF | |
21873 | 12194 |
21874 LIBHESIOD=-lhesiod | 12195 LIBHESIOD=-lhesiod |
21875 fi | 12196 fi |
21876 fi | 12197 fi |
21877 | 12198 |
21878 | 12199 |
21879 # Do we need libresolv (due to res_init or Hesiod)? | 12200 # Do we need libresolv (due to res_init or Hesiod)? |
21880 if test "$resolv" = yes ; then | 12201 if test "$resolv" = yes ; then |
21881 | 12202 |
21882 cat >>confdefs.h <<\_ACEOF | 12203 $as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h |
21883 #define HAVE_LIBRESOLV 1 | |
21884 _ACEOF | |
21885 | 12204 |
21886 LIBRESOLV=-lresolv | 12205 LIBRESOLV=-lresolv |
21887 else | 12206 else |
21888 LIBRESOLV= | 12207 LIBRESOLV= |
21889 fi | 12208 fi |
21895 KRB5LIB= | 12214 KRB5LIB= |
21896 DESLIB= | 12215 DESLIB= |
21897 KRB4LIB= | 12216 KRB4LIB= |
21898 | 12217 |
21899 if test "${with_kerberos}" != no; then | 12218 if test "${with_kerberos}" != no; then |
21900 { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 | 12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 |
21901 $as_echo_n "checking for com_err in -lcom_err... " >&6; } | 12220 $as_echo_n "checking for com_err in -lcom_err... " >&6; } |
21902 if test "${ac_cv_lib_com_err_com_err+set}" = set; then | 12221 if test "${ac_cv_lib_com_err_com_err+set}" = set; then : |
21903 $as_echo_n "(cached) " >&6 | 12222 $as_echo_n "(cached) " >&6 |
21904 else | 12223 else |
21905 ac_check_lib_save_LIBS=$LIBS | 12224 ac_check_lib_save_LIBS=$LIBS |
21906 LIBS="-lcom_err $LIBS" | 12225 LIBS="-lcom_err $LIBS" |
21907 cat >conftest.$ac_ext <<_ACEOF | 12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21908 /* confdefs.h. */ | |
21909 _ACEOF | |
21910 cat confdefs.h >>conftest.$ac_ext | |
21911 cat >>conftest.$ac_ext <<_ACEOF | |
21912 /* end confdefs.h. */ | 12227 /* end confdefs.h. */ |
21913 | 12228 |
21914 /* Override any GCC internal prototype to avoid an error. | 12229 /* Override any GCC internal prototype to avoid an error. |
21915 Use char because int might match the return type of a GCC | 12230 Use char because int might match the return type of a GCC |
21916 builtin and then its argument prototype would still apply. */ | 12231 builtin and then its argument prototype would still apply. */ |
21924 return com_err (); | 12239 return com_err (); |
21925 ; | 12240 ; |
21926 return 0; | 12241 return 0; |
21927 } | 12242 } |
21928 _ACEOF | 12243 _ACEOF |
21929 rm -f conftest.$ac_objext conftest$ac_exeext | 12244 if ac_fn_c_try_link "$LINENO"; then : |
21930 if { (ac_try="$ac_link" | |
21931 case "(($ac_try" in | |
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21933 *) ac_try_echo=$ac_try;; | |
21934 esac | |
21935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21936 $as_echo "$ac_try_echo") >&5 | |
21937 (eval "$ac_link") 2>conftest.er1 | |
21938 ac_status=$? | |
21939 grep -v '^ *+' conftest.er1 >conftest.err | |
21940 rm -f conftest.er1 | |
21941 cat conftest.err >&5 | |
21942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21943 (exit $ac_status); } && { | |
21944 test -z "$ac_c_werror_flag" || | |
21945 test ! -s conftest.err | |
21946 } && test -s conftest$ac_exeext && { | |
21947 test "$cross_compiling" = yes || | |
21948 $as_test_x conftest$ac_exeext | |
21949 }; then | |
21950 ac_cv_lib_com_err_com_err=yes | 12245 ac_cv_lib_com_err_com_err=yes |
21951 else | 12246 else |
21952 $as_echo "$as_me: failed program was:" >&5 | 12247 ac_cv_lib_com_err_com_err=no |
21953 sed 's/^/| /' conftest.$ac_ext >&5 | 12248 fi |
21954 | 12249 rm -f core conftest.err conftest.$ac_objext \ |
21955 ac_cv_lib_com_err_com_err=no | 12250 conftest$ac_exeext conftest.$ac_ext |
21956 fi | |
21957 | |
21958 rm -rf conftest.dSYM | |
21959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21960 conftest$ac_exeext conftest.$ac_ext | |
21961 LIBS=$ac_check_lib_save_LIBS | 12251 LIBS=$ac_check_lib_save_LIBS |
21962 fi | 12252 fi |
21963 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 | 12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 |
21964 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } | 12254 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } |
21965 if test $ac_cv_lib_com_err_com_err = yes; then | 12255 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : |
21966 have_com_err=yes | 12256 have_com_err=yes |
21967 else | 12257 else |
21968 have_com_err=no | 12258 have_com_err=no |
21969 fi | 12259 fi |
21970 | 12260 |
21971 if test $have_com_err = yes; then | 12261 if test $have_com_err = yes; then |
21972 COM_ERRLIB=-lcom_err | 12262 COM_ERRLIB=-lcom_err |
21973 LIBS="$COM_ERRLIB $LIBS" | 12263 LIBS="$COM_ERRLIB $LIBS" |
21974 | 12264 |
21975 cat >>confdefs.h <<\_ACEOF | 12265 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h |
21976 #define HAVE_LIBCOM_ERR 1 | |
21977 _ACEOF | |
21978 | 12266 |
21979 fi | 12267 fi |
21980 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
21981 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } | 12269 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } |
21982 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then | 12270 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : |
21983 $as_echo_n "(cached) " >&6 | 12271 $as_echo_n "(cached) " >&6 |
21984 else | 12272 else |
21985 ac_check_lib_save_LIBS=$LIBS | 12273 ac_check_lib_save_LIBS=$LIBS |
21986 LIBS="-lcrypto $LIBS" | 12274 LIBS="-lcrypto $LIBS" |
21987 cat >conftest.$ac_ext <<_ACEOF | 12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21988 /* confdefs.h. */ | |
21989 _ACEOF | |
21990 cat confdefs.h >>conftest.$ac_ext | |
21991 cat >>conftest.$ac_ext <<_ACEOF | |
21992 /* end confdefs.h. */ | 12276 /* end confdefs.h. */ |
21993 | 12277 |
21994 /* Override any GCC internal prototype to avoid an error. | 12278 /* Override any GCC internal prototype to avoid an error. |
21995 Use char because int might match the return type of a GCC | 12279 Use char because int might match the return type of a GCC |
21996 builtin and then its argument prototype would still apply. */ | 12280 builtin and then its argument prototype would still apply. */ |
22004 return mit_des_cbc_encrypt (); | 12288 return mit_des_cbc_encrypt (); |
22005 ; | 12289 ; |
22006 return 0; | 12290 return 0; |
22007 } | 12291 } |
22008 _ACEOF | 12292 _ACEOF |
22009 rm -f conftest.$ac_objext conftest$ac_exeext | 12293 if ac_fn_c_try_link "$LINENO"; then : |
22010 if { (ac_try="$ac_link" | |
22011 case "(($ac_try" in | |
22012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22013 *) ac_try_echo=$ac_try;; | |
22014 esac | |
22015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22016 $as_echo "$ac_try_echo") >&5 | |
22017 (eval "$ac_link") 2>conftest.er1 | |
22018 ac_status=$? | |
22019 grep -v '^ *+' conftest.er1 >conftest.err | |
22020 rm -f conftest.er1 | |
22021 cat conftest.err >&5 | |
22022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22023 (exit $ac_status); } && { | |
22024 test -z "$ac_c_werror_flag" || | |
22025 test ! -s conftest.err | |
22026 } && test -s conftest$ac_exeext && { | |
22027 test "$cross_compiling" = yes || | |
22028 $as_test_x conftest$ac_exeext | |
22029 }; then | |
22030 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 12294 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
22031 else | 12295 else |
22032 $as_echo "$as_me: failed program was:" >&5 | 12296 ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
22033 sed 's/^/| /' conftest.$ac_ext >&5 | 12297 fi |
22034 | 12298 rm -f core conftest.err conftest.$ac_objext \ |
22035 ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 12299 conftest$ac_exeext conftest.$ac_ext |
22036 fi | |
22037 | |
22038 rm -rf conftest.dSYM | |
22039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22040 conftest$ac_exeext conftest.$ac_ext | |
22041 LIBS=$ac_check_lib_save_LIBS | 12300 LIBS=$ac_check_lib_save_LIBS |
22042 fi | 12301 fi |
22043 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
22044 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } | 12303 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
22045 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then | 12304 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : |
22046 have_crypto=yes | 12305 have_crypto=yes |
22047 else | 12306 else |
22048 have_crypto=no | 12307 have_crypto=no |
22049 fi | 12308 fi |
22050 | 12309 |
22051 if test $have_crypto = yes; then | 12310 if test $have_crypto = yes; then |
22052 CRYPTOLIB=-lcrypto | 12311 CRYPTOLIB=-lcrypto |
22053 LIBS="$CRYPTOLIB $LIBS" | 12312 LIBS="$CRYPTOLIB $LIBS" |
22054 | 12313 |
22055 cat >>confdefs.h <<\_ACEOF | 12314 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
22056 #define HAVE_LIBCRYPTO 1 | |
22057 _ACEOF | |
22058 | 12315 |
22059 fi | 12316 fi |
22060 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
22061 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } | 12318 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } |
22062 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then | 12319 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : |
22063 $as_echo_n "(cached) " >&6 | 12320 $as_echo_n "(cached) " >&6 |
22064 else | 12321 else |
22065 ac_check_lib_save_LIBS=$LIBS | 12322 ac_check_lib_save_LIBS=$LIBS |
22066 LIBS="-lk5crypto $LIBS" | 12323 LIBS="-lk5crypto $LIBS" |
22067 cat >conftest.$ac_ext <<_ACEOF | 12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22068 /* confdefs.h. */ | |
22069 _ACEOF | |
22070 cat confdefs.h >>conftest.$ac_ext | |
22071 cat >>conftest.$ac_ext <<_ACEOF | |
22072 /* end confdefs.h. */ | 12325 /* end confdefs.h. */ |
22073 | 12326 |
22074 /* Override any GCC internal prototype to avoid an error. | 12327 /* Override any GCC internal prototype to avoid an error. |
22075 Use char because int might match the return type of a GCC | 12328 Use char because int might match the return type of a GCC |
22076 builtin and then its argument prototype would still apply. */ | 12329 builtin and then its argument prototype would still apply. */ |
22084 return mit_des_cbc_encrypt (); | 12337 return mit_des_cbc_encrypt (); |
22085 ; | 12338 ; |
22086 return 0; | 12339 return 0; |
22087 } | 12340 } |
22088 _ACEOF | 12341 _ACEOF |
22089 rm -f conftest.$ac_objext conftest$ac_exeext | 12342 if ac_fn_c_try_link "$LINENO"; then : |
22090 if { (ac_try="$ac_link" | |
22091 case "(($ac_try" in | |
22092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22093 *) ac_try_echo=$ac_try;; | |
22094 esac | |
22095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22096 $as_echo "$ac_try_echo") >&5 | |
22097 (eval "$ac_link") 2>conftest.er1 | |
22098 ac_status=$? | |
22099 grep -v '^ *+' conftest.er1 >conftest.err | |
22100 rm -f conftest.er1 | |
22101 cat conftest.err >&5 | |
22102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22103 (exit $ac_status); } && { | |
22104 test -z "$ac_c_werror_flag" || | |
22105 test ! -s conftest.err | |
22106 } && test -s conftest$ac_exeext && { | |
22107 test "$cross_compiling" = yes || | |
22108 $as_test_x conftest$ac_exeext | |
22109 }; then | |
22110 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 12343 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
22111 else | 12344 else |
22112 $as_echo "$as_me: failed program was:" >&5 | 12345 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
22113 sed 's/^/| /' conftest.$ac_ext >&5 | 12346 fi |
22114 | 12347 rm -f core conftest.err conftest.$ac_objext \ |
22115 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 12348 conftest$ac_exeext conftest.$ac_ext |
22116 fi | |
22117 | |
22118 rm -rf conftest.dSYM | |
22119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22120 conftest$ac_exeext conftest.$ac_ext | |
22121 LIBS=$ac_check_lib_save_LIBS | 12349 LIBS=$ac_check_lib_save_LIBS |
22122 fi | 12350 fi |
22123 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
22124 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } | 12352 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
22125 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then | 12353 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : |
22126 have_k5crypto=yes | 12354 have_k5crypto=yes |
22127 else | 12355 else |
22128 have_k5crypto=no | 12356 have_k5crypto=no |
22129 fi | 12357 fi |
22130 | 12358 |
22131 if test $have_k5crypto = yes; then | 12359 if test $have_k5crypto = yes; then |
22132 CRYPTOLIB=-lk5crypto | 12360 CRYPTOLIB=-lk5crypto |
22133 LIBS="$CRYPTOLIB $LIBS" | 12361 LIBS="$CRYPTOLIB $LIBS" |
22134 | 12362 |
22135 cat >>confdefs.h <<\_ACEOF | 12363 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h |
22136 #define HAVE_LIBK5CRYPTO 1 | |
22137 _ACEOF | |
22138 | 12364 |
22139 fi | 12365 fi |
22140 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 | 12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 |
22141 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } | 12367 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } |
22142 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then | 12368 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : |
22143 $as_echo_n "(cached) " >&6 | 12369 $as_echo_n "(cached) " >&6 |
22144 else | 12370 else |
22145 ac_check_lib_save_LIBS=$LIBS | 12371 ac_check_lib_save_LIBS=$LIBS |
22146 LIBS="-lkrb5 $LIBS" | 12372 LIBS="-lkrb5 $LIBS" |
22147 cat >conftest.$ac_ext <<_ACEOF | 12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22148 /* confdefs.h. */ | |
22149 _ACEOF | |
22150 cat confdefs.h >>conftest.$ac_ext | |
22151 cat >>conftest.$ac_ext <<_ACEOF | |
22152 /* end confdefs.h. */ | 12374 /* end confdefs.h. */ |
22153 | 12375 |
22154 /* Override any GCC internal prototype to avoid an error. | 12376 /* Override any GCC internal prototype to avoid an error. |
22155 Use char because int might match the return type of a GCC | 12377 Use char because int might match the return type of a GCC |
22156 builtin and then its argument prototype would still apply. */ | 12378 builtin and then its argument prototype would still apply. */ |
22164 return krb5_init_context (); | 12386 return krb5_init_context (); |
22165 ; | 12387 ; |
22166 return 0; | 12388 return 0; |
22167 } | 12389 } |
22168 _ACEOF | 12390 _ACEOF |
22169 rm -f conftest.$ac_objext conftest$ac_exeext | 12391 if ac_fn_c_try_link "$LINENO"; then : |
22170 if { (ac_try="$ac_link" | |
22171 case "(($ac_try" in | |
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22173 *) ac_try_echo=$ac_try;; | |
22174 esac | |
22175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22176 $as_echo "$ac_try_echo") >&5 | |
22177 (eval "$ac_link") 2>conftest.er1 | |
22178 ac_status=$? | |
22179 grep -v '^ *+' conftest.er1 >conftest.err | |
22180 rm -f conftest.er1 | |
22181 cat conftest.err >&5 | |
22182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22183 (exit $ac_status); } && { | |
22184 test -z "$ac_c_werror_flag" || | |
22185 test ! -s conftest.err | |
22186 } && test -s conftest$ac_exeext && { | |
22187 test "$cross_compiling" = yes || | |
22188 $as_test_x conftest$ac_exeext | |
22189 }; then | |
22190 ac_cv_lib_krb5_krb5_init_context=yes | 12392 ac_cv_lib_krb5_krb5_init_context=yes |
22191 else | 12393 else |
22192 $as_echo "$as_me: failed program was:" >&5 | 12394 ac_cv_lib_krb5_krb5_init_context=no |
22193 sed 's/^/| /' conftest.$ac_ext >&5 | 12395 fi |
22194 | 12396 rm -f core conftest.err conftest.$ac_objext \ |
22195 ac_cv_lib_krb5_krb5_init_context=no | 12397 conftest$ac_exeext conftest.$ac_ext |
22196 fi | |
22197 | |
22198 rm -rf conftest.dSYM | |
22199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22200 conftest$ac_exeext conftest.$ac_ext | |
22201 LIBS=$ac_check_lib_save_LIBS | 12398 LIBS=$ac_check_lib_save_LIBS |
22202 fi | 12399 fi |
22203 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
22204 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } | 12401 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } |
22205 if test $ac_cv_lib_krb5_krb5_init_context = yes; then | 12402 if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : |
22206 have_krb5=yes | 12403 have_krb5=yes |
22207 else | 12404 else |
22208 have_krb5=no | 12405 have_krb5=no |
22209 fi | 12406 fi |
22210 | 12407 |
22211 if test $have_krb5=yes; then | 12408 if test $have_krb5=yes; then |
22212 KRB5LIB=-lkrb5 | 12409 KRB5LIB=-lkrb5 |
22213 LIBS="$KRB5LIB $LIBS" | 12410 LIBS="$KRB5LIB $LIBS" |
22214 | 12411 |
22215 cat >>confdefs.h <<\_ACEOF | 12412 $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h |
22216 #define HAVE_LIBKRB5 1 | |
22217 _ACEOF | |
22218 | 12413 |
22219 fi | 12414 fi |
22220 if test "${with_kerberos5}" = no; then | 12415 if test "${with_kerberos5}" = no; then |
22221 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 | 12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 |
22222 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } | 12417 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } |
22223 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | 12418 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : |
22224 $as_echo_n "(cached) " >&6 | 12419 $as_echo_n "(cached) " >&6 |
22225 else | 12420 else |
22226 ac_check_lib_save_LIBS=$LIBS | 12421 ac_check_lib_save_LIBS=$LIBS |
22227 LIBS="-ldes425 $LIBS" | 12422 LIBS="-ldes425 $LIBS" |
22228 cat >conftest.$ac_ext <<_ACEOF | 12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22229 /* confdefs.h. */ | |
22230 _ACEOF | |
22231 cat confdefs.h >>conftest.$ac_ext | |
22232 cat >>conftest.$ac_ext <<_ACEOF | |
22233 /* end confdefs.h. */ | 12424 /* end confdefs.h. */ |
22234 | 12425 |
22235 /* Override any GCC internal prototype to avoid an error. | 12426 /* Override any GCC internal prototype to avoid an error. |
22236 Use char because int might match the return type of a GCC | 12427 Use char because int might match the return type of a GCC |
22237 builtin and then its argument prototype would still apply. */ | 12428 builtin and then its argument prototype would still apply. */ |
22245 return des_cbc_encrypt (); | 12436 return des_cbc_encrypt (); |
22246 ; | 12437 ; |
22247 return 0; | 12438 return 0; |
22248 } | 12439 } |
22249 _ACEOF | 12440 _ACEOF |
22250 rm -f conftest.$ac_objext conftest$ac_exeext | 12441 if ac_fn_c_try_link "$LINENO"; then : |
22251 if { (ac_try="$ac_link" | |
22252 case "(($ac_try" in | |
22253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22254 *) ac_try_echo=$ac_try;; | |
22255 esac | |
22256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22257 $as_echo "$ac_try_echo") >&5 | |
22258 (eval "$ac_link") 2>conftest.er1 | |
22259 ac_status=$? | |
22260 grep -v '^ *+' conftest.er1 >conftest.err | |
22261 rm -f conftest.er1 | |
22262 cat conftest.err >&5 | |
22263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22264 (exit $ac_status); } && { | |
22265 test -z "$ac_c_werror_flag" || | |
22266 test ! -s conftest.err | |
22267 } && test -s conftest$ac_exeext && { | |
22268 test "$cross_compiling" = yes || | |
22269 $as_test_x conftest$ac_exeext | |
22270 }; then | |
22271 ac_cv_lib_des425_des_cbc_encrypt=yes | 12442 ac_cv_lib_des425_des_cbc_encrypt=yes |
22272 else | 12443 else |
22273 $as_echo "$as_me: failed program was:" >&5 | 12444 ac_cv_lib_des425_des_cbc_encrypt=no |
22274 sed 's/^/| /' conftest.$ac_ext >&5 | 12445 fi |
22275 | 12446 rm -f core conftest.err conftest.$ac_objext \ |
22276 ac_cv_lib_des425_des_cbc_encrypt=no | 12447 conftest$ac_exeext conftest.$ac_ext |
22277 fi | |
22278 | |
22279 rm -rf conftest.dSYM | |
22280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22281 conftest$ac_exeext conftest.$ac_ext | |
22282 LIBS=$ac_check_lib_save_LIBS | 12448 LIBS=$ac_check_lib_save_LIBS |
22283 fi | 12449 fi |
22284 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
22285 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } | 12451 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
22286 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | 12452 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : |
22287 have_des425=yes | 12453 have_des425=yes |
22288 else | 12454 else |
22289 have_des425=no | 12455 have_des425=no |
22290 fi | 12456 fi |
22291 | 12457 |
22292 if test $have_des425 = yes; then | 12458 if test $have_des425 = yes; then |
22293 DESLIB=-ldes425 | 12459 DESLIB=-ldes425 |
22294 LIBS="$DESLIB $LIBS" | 12460 LIBS="$DESLIB $LIBS" |
22295 | 12461 |
22296 cat >>confdefs.h <<\_ACEOF | 12462 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h |
22297 #define HAVE_LIBDES425 1 | |
22298 _ACEOF | |
22299 | 12463 |
22300 else | 12464 else |
22301 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | 12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 |
22302 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } | 12466 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } |
22303 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 12467 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : |
22304 $as_echo_n "(cached) " >&6 | 12468 $as_echo_n "(cached) " >&6 |
22305 else | 12469 else |
22306 ac_check_lib_save_LIBS=$LIBS | 12470 ac_check_lib_save_LIBS=$LIBS |
22307 LIBS="-ldes $LIBS" | 12471 LIBS="-ldes $LIBS" |
22308 cat >conftest.$ac_ext <<_ACEOF | 12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22309 /* confdefs.h. */ | |
22310 _ACEOF | |
22311 cat confdefs.h >>conftest.$ac_ext | |
22312 cat >>conftest.$ac_ext <<_ACEOF | |
22313 /* end confdefs.h. */ | 12473 /* end confdefs.h. */ |
22314 | 12474 |
22315 /* Override any GCC internal prototype to avoid an error. | 12475 /* Override any GCC internal prototype to avoid an error. |
22316 Use char because int might match the return type of a GCC | 12476 Use char because int might match the return type of a GCC |
22317 builtin and then its argument prototype would still apply. */ | 12477 builtin and then its argument prototype would still apply. */ |
22325 return des_cbc_encrypt (); | 12485 return des_cbc_encrypt (); |
22326 ; | 12486 ; |
22327 return 0; | 12487 return 0; |
22328 } | 12488 } |
22329 _ACEOF | 12489 _ACEOF |
22330 rm -f conftest.$ac_objext conftest$ac_exeext | 12490 if ac_fn_c_try_link "$LINENO"; then : |
22331 if { (ac_try="$ac_link" | |
22332 case "(($ac_try" in | |
22333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22334 *) ac_try_echo=$ac_try;; | |
22335 esac | |
22336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22337 $as_echo "$ac_try_echo") >&5 | |
22338 (eval "$ac_link") 2>conftest.er1 | |
22339 ac_status=$? | |
22340 grep -v '^ *+' conftest.er1 >conftest.err | |
22341 rm -f conftest.er1 | |
22342 cat conftest.err >&5 | |
22343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22344 (exit $ac_status); } && { | |
22345 test -z "$ac_c_werror_flag" || | |
22346 test ! -s conftest.err | |
22347 } && test -s conftest$ac_exeext && { | |
22348 test "$cross_compiling" = yes || | |
22349 $as_test_x conftest$ac_exeext | |
22350 }; then | |
22351 ac_cv_lib_des_des_cbc_encrypt=yes | 12491 ac_cv_lib_des_des_cbc_encrypt=yes |
22352 else | 12492 else |
22353 $as_echo "$as_me: failed program was:" >&5 | 12493 ac_cv_lib_des_des_cbc_encrypt=no |
22354 sed 's/^/| /' conftest.$ac_ext >&5 | 12494 fi |
22355 | 12495 rm -f core conftest.err conftest.$ac_objext \ |
22356 ac_cv_lib_des_des_cbc_encrypt=no | 12496 conftest$ac_exeext conftest.$ac_ext |
22357 fi | |
22358 | |
22359 rm -rf conftest.dSYM | |
22360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22361 conftest$ac_exeext conftest.$ac_ext | |
22362 LIBS=$ac_check_lib_save_LIBS | 12497 LIBS=$ac_check_lib_save_LIBS |
22363 fi | 12498 fi |
22364 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
22365 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 12500 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
22366 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | 12501 if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : |
22367 have_des=yes | 12502 have_des=yes |
22368 else | 12503 else |
22369 have_des=no | 12504 have_des=no |
22370 fi | 12505 fi |
22371 | 12506 |
22372 if test $have_des = yes; then | 12507 if test $have_des = yes; then |
22373 DESLIB=-ldes | 12508 DESLIB=-ldes |
22374 LIBS="$DESLIB $LIBS" | 12509 LIBS="$DESLIB $LIBS" |
22375 | 12510 |
22376 cat >>confdefs.h <<\_ACEOF | 12511 $as_echo "#define HAVE_LIBDES 1" >>confdefs.h |
22377 #define HAVE_LIBDES 1 | |
22378 _ACEOF | |
22379 | 12512 |
22380 fi | 12513 fi |
22381 fi | 12514 fi |
22382 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 | 12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 |
22383 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } | 12516 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } |
22384 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then | 12517 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : |
22385 $as_echo_n "(cached) " >&6 | 12518 $as_echo_n "(cached) " >&6 |
22386 else | 12519 else |
22387 ac_check_lib_save_LIBS=$LIBS | 12520 ac_check_lib_save_LIBS=$LIBS |
22388 LIBS="-lkrb4 $LIBS" | 12521 LIBS="-lkrb4 $LIBS" |
22389 cat >conftest.$ac_ext <<_ACEOF | 12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22390 /* confdefs.h. */ | |
22391 _ACEOF | |
22392 cat confdefs.h >>conftest.$ac_ext | |
22393 cat >>conftest.$ac_ext <<_ACEOF | |
22394 /* end confdefs.h. */ | 12523 /* end confdefs.h. */ |
22395 | 12524 |
22396 /* Override any GCC internal prototype to avoid an error. | 12525 /* Override any GCC internal prototype to avoid an error. |
22397 Use char because int might match the return type of a GCC | 12526 Use char because int might match the return type of a GCC |
22398 builtin and then its argument prototype would still apply. */ | 12527 builtin and then its argument prototype would still apply. */ |
22406 return krb_get_cred (); | 12535 return krb_get_cred (); |
22407 ; | 12536 ; |
22408 return 0; | 12537 return 0; |
22409 } | 12538 } |
22410 _ACEOF | 12539 _ACEOF |
22411 rm -f conftest.$ac_objext conftest$ac_exeext | 12540 if ac_fn_c_try_link "$LINENO"; then : |
22412 if { (ac_try="$ac_link" | |
22413 case "(($ac_try" in | |
22414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22415 *) ac_try_echo=$ac_try;; | |
22416 esac | |
22417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22418 $as_echo "$ac_try_echo") >&5 | |
22419 (eval "$ac_link") 2>conftest.er1 | |
22420 ac_status=$? | |
22421 grep -v '^ *+' conftest.er1 >conftest.err | |
22422 rm -f conftest.er1 | |
22423 cat conftest.err >&5 | |
22424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22425 (exit $ac_status); } && { | |
22426 test -z "$ac_c_werror_flag" || | |
22427 test ! -s conftest.err | |
22428 } && test -s conftest$ac_exeext && { | |
22429 test "$cross_compiling" = yes || | |
22430 $as_test_x conftest$ac_exeext | |
22431 }; then | |
22432 ac_cv_lib_krb4_krb_get_cred=yes | 12541 ac_cv_lib_krb4_krb_get_cred=yes |
22433 else | 12542 else |
22434 $as_echo "$as_me: failed program was:" >&5 | 12543 ac_cv_lib_krb4_krb_get_cred=no |
22435 sed 's/^/| /' conftest.$ac_ext >&5 | 12544 fi |
22436 | 12545 rm -f core conftest.err conftest.$ac_objext \ |
22437 ac_cv_lib_krb4_krb_get_cred=no | 12546 conftest$ac_exeext conftest.$ac_ext |
22438 fi | |
22439 | |
22440 rm -rf conftest.dSYM | |
22441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22442 conftest$ac_exeext conftest.$ac_ext | |
22443 LIBS=$ac_check_lib_save_LIBS | 12547 LIBS=$ac_check_lib_save_LIBS |
22444 fi | 12548 fi |
22445 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
22446 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } | 12550 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } |
22447 if test $ac_cv_lib_krb4_krb_get_cred = yes; then | 12551 if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : |
22448 have_krb4=yes | 12552 have_krb4=yes |
22449 else | 12553 else |
22450 have_krb4=no | 12554 have_krb4=no |
22451 fi | 12555 fi |
22452 | 12556 |
22453 if test $have_krb4 = yes; then | 12557 if test $have_krb4 = yes; then |
22454 KRB4LIB=-lkrb4 | 12558 KRB4LIB=-lkrb4 |
22455 LIBS="$KRB4LIB $LIBS" | 12559 LIBS="$KRB4LIB $LIBS" |
22456 | 12560 |
22457 cat >>confdefs.h <<\_ACEOF | 12561 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h |
22458 #define HAVE_LIBKRB4 1 | |
22459 _ACEOF | |
22460 | 12562 |
22461 else | 12563 else |
22462 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 | 12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 |
22463 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } | 12565 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } |
22464 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then | 12566 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : |
22465 $as_echo_n "(cached) " >&6 | 12567 $as_echo_n "(cached) " >&6 |
22466 else | 12568 else |
22467 ac_check_lib_save_LIBS=$LIBS | 12569 ac_check_lib_save_LIBS=$LIBS |
22468 LIBS="-lkrb $LIBS" | 12570 LIBS="-lkrb $LIBS" |
22469 cat >conftest.$ac_ext <<_ACEOF | 12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22470 /* confdefs.h. */ | |
22471 _ACEOF | |
22472 cat confdefs.h >>conftest.$ac_ext | |
22473 cat >>conftest.$ac_ext <<_ACEOF | |
22474 /* end confdefs.h. */ | 12572 /* end confdefs.h. */ |
22475 | 12573 |
22476 /* Override any GCC internal prototype to avoid an error. | 12574 /* Override any GCC internal prototype to avoid an error. |
22477 Use char because int might match the return type of a GCC | 12575 Use char because int might match the return type of a GCC |
22478 builtin and then its argument prototype would still apply. */ | 12576 builtin and then its argument prototype would still apply. */ |
22486 return krb_get_cred (); | 12584 return krb_get_cred (); |
22487 ; | 12585 ; |
22488 return 0; | 12586 return 0; |
22489 } | 12587 } |
22490 _ACEOF | 12588 _ACEOF |
22491 rm -f conftest.$ac_objext conftest$ac_exeext | 12589 if ac_fn_c_try_link "$LINENO"; then : |
22492 if { (ac_try="$ac_link" | |
22493 case "(($ac_try" in | |
22494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22495 *) ac_try_echo=$ac_try;; | |
22496 esac | |
22497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22498 $as_echo "$ac_try_echo") >&5 | |
22499 (eval "$ac_link") 2>conftest.er1 | |
22500 ac_status=$? | |
22501 grep -v '^ *+' conftest.er1 >conftest.err | |
22502 rm -f conftest.er1 | |
22503 cat conftest.err >&5 | |
22504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22505 (exit $ac_status); } && { | |
22506 test -z "$ac_c_werror_flag" || | |
22507 test ! -s conftest.err | |
22508 } && test -s conftest$ac_exeext && { | |
22509 test "$cross_compiling" = yes || | |
22510 $as_test_x conftest$ac_exeext | |
22511 }; then | |
22512 ac_cv_lib_krb_krb_get_cred=yes | 12590 ac_cv_lib_krb_krb_get_cred=yes |
22513 else | 12591 else |
22514 $as_echo "$as_me: failed program was:" >&5 | 12592 ac_cv_lib_krb_krb_get_cred=no |
22515 sed 's/^/| /' conftest.$ac_ext >&5 | 12593 fi |
22516 | 12594 rm -f core conftest.err conftest.$ac_objext \ |
22517 ac_cv_lib_krb_krb_get_cred=no | 12595 conftest$ac_exeext conftest.$ac_ext |
22518 fi | |
22519 | |
22520 rm -rf conftest.dSYM | |
22521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22522 conftest$ac_exeext conftest.$ac_ext | |
22523 LIBS=$ac_check_lib_save_LIBS | 12596 LIBS=$ac_check_lib_save_LIBS |
22524 fi | 12597 fi |
22525 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
22526 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } | 12599 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } |
22527 if test $ac_cv_lib_krb_krb_get_cred = yes; then | 12600 if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : |
22528 have_krb=yes | 12601 have_krb=yes |
22529 else | 12602 else |
22530 have_krb=no | 12603 have_krb=no |
22531 fi | 12604 fi |
22532 | 12605 |
22533 if test $have_krb = yes; then | 12606 if test $have_krb = yes; then |
22534 KRB4LIB=-lkrb | 12607 KRB4LIB=-lkrb |
22535 LIBS="$KRB4LIB $LIBS" | 12608 LIBS="$KRB4LIB $LIBS" |
22536 | 12609 |
22537 cat >>confdefs.h <<\_ACEOF | 12610 $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h |
22538 #define HAVE_LIBKRB 1 | |
22539 _ACEOF | |
22540 | 12611 |
22541 fi | 12612 fi |
22542 fi | 12613 fi |
22543 fi | 12614 fi |
22544 | 12615 |
22545 if test "${with_kerberos5}" != no; then | 12616 if test "${with_kerberos5}" != no; then |
22546 | 12617 for ac_header in krb5.h |
22547 for ac_header in krb5.h | 12618 do : |
22548 do | 12619 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" |
22549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12620 if test "x$ac_cv_header_krb5_h" = x""yes; then : |
22550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
22551 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
22552 $as_echo_n "checking for $ac_header... " >&6; } | |
22553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
22554 $as_echo_n "(cached) " >&6 | |
22555 fi | |
22556 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
22557 $as_echo "$as_val"'` | |
22558 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
22559 $as_echo "$ac_res" >&6; } | |
22560 else | |
22561 # Is the header compilable? | |
22562 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
22563 $as_echo_n "checking $ac_header usability... " >&6; } | |
22564 cat >conftest.$ac_ext <<_ACEOF | |
22565 /* confdefs.h. */ | |
22566 _ACEOF | |
22567 cat confdefs.h >>conftest.$ac_ext | |
22568 cat >>conftest.$ac_ext <<_ACEOF | |
22569 /* end confdefs.h. */ | |
22570 $ac_includes_default | |
22571 #include <$ac_header> | |
22572 _ACEOF | |
22573 rm -f conftest.$ac_objext | |
22574 if { (ac_try="$ac_compile" | |
22575 case "(($ac_try" in | |
22576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22577 *) ac_try_echo=$ac_try;; | |
22578 esac | |
22579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22580 $as_echo "$ac_try_echo") >&5 | |
22581 (eval "$ac_compile") 2>conftest.er1 | |
22582 ac_status=$? | |
22583 grep -v '^ *+' conftest.er1 >conftest.err | |
22584 rm -f conftest.er1 | |
22585 cat conftest.err >&5 | |
22586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22587 (exit $ac_status); } && { | |
22588 test -z "$ac_c_werror_flag" || | |
22589 test ! -s conftest.err | |
22590 } && test -s conftest.$ac_objext; then | |
22591 ac_header_compiler=yes | |
22592 else | |
22593 $as_echo "$as_me: failed program was:" >&5 | |
22594 sed 's/^/| /' conftest.$ac_ext >&5 | |
22595 | |
22596 ac_header_compiler=no | |
22597 fi | |
22598 | |
22599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22600 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
22601 $as_echo "$ac_header_compiler" >&6; } | |
22602 | |
22603 # Is the header present? | |
22604 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
22605 $as_echo_n "checking $ac_header presence... " >&6; } | |
22606 cat >conftest.$ac_ext <<_ACEOF | |
22607 /* confdefs.h. */ | |
22608 _ACEOF | |
22609 cat confdefs.h >>conftest.$ac_ext | |
22610 cat >>conftest.$ac_ext <<_ACEOF | |
22611 /* end confdefs.h. */ | |
22612 #include <$ac_header> | |
22613 _ACEOF | |
22614 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
22615 case "(($ac_try" in | |
22616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22617 *) ac_try_echo=$ac_try;; | |
22618 esac | |
22619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22620 $as_echo "$ac_try_echo") >&5 | |
22621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
22622 ac_status=$? | |
22623 grep -v '^ *+' conftest.er1 >conftest.err | |
22624 rm -f conftest.er1 | |
22625 cat conftest.err >&5 | |
22626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22627 (exit $ac_status); } >/dev/null && { | |
22628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
22629 test ! -s conftest.err | |
22630 }; then | |
22631 ac_header_preproc=yes | |
22632 else | |
22633 $as_echo "$as_me: failed program was:" >&5 | |
22634 sed 's/^/| /' conftest.$ac_ext >&5 | |
22635 | |
22636 ac_header_preproc=no | |
22637 fi | |
22638 | |
22639 rm -f conftest.err conftest.$ac_ext | |
22640 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
22641 $as_echo "$ac_header_preproc" >&6; } | |
22642 | |
22643 # So? What about this header? | |
22644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
22645 yes:no: ) | |
22646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
22647 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
22648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
22649 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
22650 ac_header_preproc=yes | |
22651 ;; | |
22652 no:yes:* ) | |
22653 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
22654 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
22655 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
22656 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
22657 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
22658 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
22659 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
22660 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
22661 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
22662 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
22663 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
22664 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
22665 | |
22666 ;; | |
22667 esac | |
22668 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
22669 $as_echo_n "checking for $ac_header... " >&6; } | |
22670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
22671 $as_echo_n "(cached) " >&6 | |
22672 else | |
22673 eval "$as_ac_Header=\$ac_header_preproc" | |
22674 fi | |
22675 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
22676 $as_echo "$as_val"'` | |
22677 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
22678 $as_echo "$ac_res" >&6; } | |
22679 | |
22680 fi | |
22681 if test `eval 'as_val=${'$as_ac_Header'} | |
22682 $as_echo "$as_val"'` = yes; then | |
22683 cat >>confdefs.h <<_ACEOF | 12621 cat >>confdefs.h <<_ACEOF |
22684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12622 #define HAVE_KRB5_H 1 |
22685 _ACEOF | 12623 _ACEOF |
22686 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 | 12624 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> |
22687 $as_echo_n "checking for krb5_error.text... " >&6; } | 12625 " |
22688 if test "${ac_cv_member_krb5_error_text+set}" = set; then | 12626 if test "x$ac_cv_member_krb5_error_text" = x""yes; then : |
22689 $as_echo_n "(cached) " >&6 | |
22690 else | |
22691 cat >conftest.$ac_ext <<_ACEOF | |
22692 /* confdefs.h. */ | |
22693 _ACEOF | |
22694 cat confdefs.h >>conftest.$ac_ext | |
22695 cat >>conftest.$ac_ext <<_ACEOF | |
22696 /* end confdefs.h. */ | |
22697 #include <krb5.h> | |
22698 | |
22699 int | |
22700 main () | |
22701 { | |
22702 static krb5_error ac_aggr; | |
22703 if (ac_aggr.text) | |
22704 return 0; | |
22705 ; | |
22706 return 0; | |
22707 } | |
22708 _ACEOF | |
22709 rm -f conftest.$ac_objext | |
22710 if { (ac_try="$ac_compile" | |
22711 case "(($ac_try" in | |
22712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22713 *) ac_try_echo=$ac_try;; | |
22714 esac | |
22715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22716 $as_echo "$ac_try_echo") >&5 | |
22717 (eval "$ac_compile") 2>conftest.er1 | |
22718 ac_status=$? | |
22719 grep -v '^ *+' conftest.er1 >conftest.err | |
22720 rm -f conftest.er1 | |
22721 cat conftest.err >&5 | |
22722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22723 (exit $ac_status); } && { | |
22724 test -z "$ac_c_werror_flag" || | |
22725 test ! -s conftest.err | |
22726 } && test -s conftest.$ac_objext; then | |
22727 ac_cv_member_krb5_error_text=yes | |
22728 else | |
22729 $as_echo "$as_me: failed program was:" >&5 | |
22730 sed 's/^/| /' conftest.$ac_ext >&5 | |
22731 | |
22732 cat >conftest.$ac_ext <<_ACEOF | |
22733 /* confdefs.h. */ | |
22734 _ACEOF | |
22735 cat confdefs.h >>conftest.$ac_ext | |
22736 cat >>conftest.$ac_ext <<_ACEOF | |
22737 /* end confdefs.h. */ | |
22738 #include <krb5.h> | |
22739 | |
22740 int | |
22741 main () | |
22742 { | |
22743 static krb5_error ac_aggr; | |
22744 if (sizeof ac_aggr.text) | |
22745 return 0; | |
22746 ; | |
22747 return 0; | |
22748 } | |
22749 _ACEOF | |
22750 rm -f conftest.$ac_objext | |
22751 if { (ac_try="$ac_compile" | |
22752 case "(($ac_try" in | |
22753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22754 *) ac_try_echo=$ac_try;; | |
22755 esac | |
22756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22757 $as_echo "$ac_try_echo") >&5 | |
22758 (eval "$ac_compile") 2>conftest.er1 | |
22759 ac_status=$? | |
22760 grep -v '^ *+' conftest.er1 >conftest.err | |
22761 rm -f conftest.er1 | |
22762 cat conftest.err >&5 | |
22763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22764 (exit $ac_status); } && { | |
22765 test -z "$ac_c_werror_flag" || | |
22766 test ! -s conftest.err | |
22767 } && test -s conftest.$ac_objext; then | |
22768 ac_cv_member_krb5_error_text=yes | |
22769 else | |
22770 $as_echo "$as_me: failed program was:" >&5 | |
22771 sed 's/^/| /' conftest.$ac_ext >&5 | |
22772 | |
22773 ac_cv_member_krb5_error_text=no | |
22774 fi | |
22775 | |
22776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22777 fi | |
22778 | |
22779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22780 fi | |
22781 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 | |
22782 $as_echo "$ac_cv_member_krb5_error_text" >&6; } | |
22783 if test $ac_cv_member_krb5_error_text = yes; then | |
22784 | 12627 |
22785 cat >>confdefs.h <<_ACEOF | 12628 cat >>confdefs.h <<_ACEOF |
22786 #define HAVE_KRB5_ERROR_TEXT 1 | 12629 #define HAVE_KRB5_ERROR_TEXT 1 |
22787 _ACEOF | 12630 _ACEOF |
22788 | 12631 |
22789 | 12632 |
22790 fi | 12633 fi |
22791 { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 | 12634 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> |
22792 $as_echo_n "checking for krb5_error.e_text... " >&6; } | 12635 " |
22793 if test "${ac_cv_member_krb5_error_e_text+set}" = set; then | 12636 if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : |
22794 $as_echo_n "(cached) " >&6 | |
22795 else | |
22796 cat >conftest.$ac_ext <<_ACEOF | |
22797 /* confdefs.h. */ | |
22798 _ACEOF | |
22799 cat confdefs.h >>conftest.$ac_ext | |
22800 cat >>conftest.$ac_ext <<_ACEOF | |
22801 /* end confdefs.h. */ | |
22802 #include <krb5.h> | |
22803 | |
22804 int | |
22805 main () | |
22806 { | |
22807 static krb5_error ac_aggr; | |
22808 if (ac_aggr.e_text) | |
22809 return 0; | |
22810 ; | |
22811 return 0; | |
22812 } | |
22813 _ACEOF | |
22814 rm -f conftest.$ac_objext | |
22815 if { (ac_try="$ac_compile" | |
22816 case "(($ac_try" in | |
22817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22818 *) ac_try_echo=$ac_try;; | |
22819 esac | |
22820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22821 $as_echo "$ac_try_echo") >&5 | |
22822 (eval "$ac_compile") 2>conftest.er1 | |
22823 ac_status=$? | |
22824 grep -v '^ *+' conftest.er1 >conftest.err | |
22825 rm -f conftest.er1 | |
22826 cat conftest.err >&5 | |
22827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22828 (exit $ac_status); } && { | |
22829 test -z "$ac_c_werror_flag" || | |
22830 test ! -s conftest.err | |
22831 } && test -s conftest.$ac_objext; then | |
22832 ac_cv_member_krb5_error_e_text=yes | |
22833 else | |
22834 $as_echo "$as_me: failed program was:" >&5 | |
22835 sed 's/^/| /' conftest.$ac_ext >&5 | |
22836 | |
22837 cat >conftest.$ac_ext <<_ACEOF | |
22838 /* confdefs.h. */ | |
22839 _ACEOF | |
22840 cat confdefs.h >>conftest.$ac_ext | |
22841 cat >>conftest.$ac_ext <<_ACEOF | |
22842 /* end confdefs.h. */ | |
22843 #include <krb5.h> | |
22844 | |
22845 int | |
22846 main () | |
22847 { | |
22848 static krb5_error ac_aggr; | |
22849 if (sizeof ac_aggr.e_text) | |
22850 return 0; | |
22851 ; | |
22852 return 0; | |
22853 } | |
22854 _ACEOF | |
22855 rm -f conftest.$ac_objext | |
22856 if { (ac_try="$ac_compile" | |
22857 case "(($ac_try" in | |
22858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22859 *) ac_try_echo=$ac_try;; | |
22860 esac | |
22861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22862 $as_echo "$ac_try_echo") >&5 | |
22863 (eval "$ac_compile") 2>conftest.er1 | |
22864 ac_status=$? | |
22865 grep -v '^ *+' conftest.er1 >conftest.err | |
22866 rm -f conftest.er1 | |
22867 cat conftest.err >&5 | |
22868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22869 (exit $ac_status); } && { | |
22870 test -z "$ac_c_werror_flag" || | |
22871 test ! -s conftest.err | |
22872 } && test -s conftest.$ac_objext; then | |
22873 ac_cv_member_krb5_error_e_text=yes | |
22874 else | |
22875 $as_echo "$as_me: failed program was:" >&5 | |
22876 sed 's/^/| /' conftest.$ac_ext >&5 | |
22877 | |
22878 ac_cv_member_krb5_error_e_text=no | |
22879 fi | |
22880 | |
22881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22882 fi | |
22883 | |
22884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22885 fi | |
22886 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 | |
22887 $as_echo "$ac_cv_member_krb5_error_e_text" >&6; } | |
22888 if test $ac_cv_member_krb5_error_e_text = yes; then | |
22889 | 12637 |
22890 cat >>confdefs.h <<_ACEOF | 12638 cat >>confdefs.h <<_ACEOF |
22891 #define HAVE_KRB5_ERROR_E_TEXT 1 | 12639 #define HAVE_KRB5_ERROR_E_TEXT 1 |
22892 _ACEOF | 12640 _ACEOF |
22893 | 12641 |
22897 fi | 12645 fi |
22898 | 12646 |
22899 done | 12647 done |
22900 | 12648 |
22901 else | 12649 else |
22902 | 12650 for ac_header in des.h |
22903 for ac_header in des.h | 12651 do : |
22904 do | 12652 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" |
22905 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12653 if test "x$ac_cv_header_des_h" = x""yes; then : |
22906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
22907 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
22908 $as_echo_n "checking for $ac_header... " >&6; } | |
22909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
22910 $as_echo_n "(cached) " >&6 | |
22911 fi | |
22912 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
22913 $as_echo "$as_val"'` | |
22914 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
22915 $as_echo "$ac_res" >&6; } | |
22916 else | |
22917 # Is the header compilable? | |
22918 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
22919 $as_echo_n "checking $ac_header usability... " >&6; } | |
22920 cat >conftest.$ac_ext <<_ACEOF | |
22921 /* confdefs.h. */ | |
22922 _ACEOF | |
22923 cat confdefs.h >>conftest.$ac_ext | |
22924 cat >>conftest.$ac_ext <<_ACEOF | |
22925 /* end confdefs.h. */ | |
22926 $ac_includes_default | |
22927 #include <$ac_header> | |
22928 _ACEOF | |
22929 rm -f conftest.$ac_objext | |
22930 if { (ac_try="$ac_compile" | |
22931 case "(($ac_try" in | |
22932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22933 *) ac_try_echo=$ac_try;; | |
22934 esac | |
22935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22936 $as_echo "$ac_try_echo") >&5 | |
22937 (eval "$ac_compile") 2>conftest.er1 | |
22938 ac_status=$? | |
22939 grep -v '^ *+' conftest.er1 >conftest.err | |
22940 rm -f conftest.er1 | |
22941 cat conftest.err >&5 | |
22942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22943 (exit $ac_status); } && { | |
22944 test -z "$ac_c_werror_flag" || | |
22945 test ! -s conftest.err | |
22946 } && test -s conftest.$ac_objext; then | |
22947 ac_header_compiler=yes | |
22948 else | |
22949 $as_echo "$as_me: failed program was:" >&5 | |
22950 sed 's/^/| /' conftest.$ac_ext >&5 | |
22951 | |
22952 ac_header_compiler=no | |
22953 fi | |
22954 | |
22955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22956 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
22957 $as_echo "$ac_header_compiler" >&6; } | |
22958 | |
22959 # Is the header present? | |
22960 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
22961 $as_echo_n "checking $ac_header presence... " >&6; } | |
22962 cat >conftest.$ac_ext <<_ACEOF | |
22963 /* confdefs.h. */ | |
22964 _ACEOF | |
22965 cat confdefs.h >>conftest.$ac_ext | |
22966 cat >>conftest.$ac_ext <<_ACEOF | |
22967 /* end confdefs.h. */ | |
22968 #include <$ac_header> | |
22969 _ACEOF | |
22970 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
22971 case "(($ac_try" in | |
22972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22973 *) ac_try_echo=$ac_try;; | |
22974 esac | |
22975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22976 $as_echo "$ac_try_echo") >&5 | |
22977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
22978 ac_status=$? | |
22979 grep -v '^ *+' conftest.er1 >conftest.err | |
22980 rm -f conftest.er1 | |
22981 cat conftest.err >&5 | |
22982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22983 (exit $ac_status); } >/dev/null && { | |
22984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
22985 test ! -s conftest.err | |
22986 }; then | |
22987 ac_header_preproc=yes | |
22988 else | |
22989 $as_echo "$as_me: failed program was:" >&5 | |
22990 sed 's/^/| /' conftest.$ac_ext >&5 | |
22991 | |
22992 ac_header_preproc=no | |
22993 fi | |
22994 | |
22995 rm -f conftest.err conftest.$ac_ext | |
22996 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
22997 $as_echo "$ac_header_preproc" >&6; } | |
22998 | |
22999 # So? What about this header? | |
23000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23001 yes:no: ) | |
23002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23003 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23005 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23006 ac_header_preproc=yes | |
23007 ;; | |
23008 no:yes:* ) | |
23009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23010 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23012 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23014 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23016 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23018 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23020 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23021 | |
23022 ;; | |
23023 esac | |
23024 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23025 $as_echo_n "checking for $ac_header... " >&6; } | |
23026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23027 $as_echo_n "(cached) " >&6 | |
23028 else | |
23029 eval "$as_ac_Header=\$ac_header_preproc" | |
23030 fi | |
23031 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23032 $as_echo "$as_val"'` | |
23033 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23034 $as_echo "$ac_res" >&6; } | |
23035 | |
23036 fi | |
23037 if test `eval 'as_val=${'$as_ac_Header'} | |
23038 $as_echo "$as_val"'` = yes; then | |
23039 cat >>confdefs.h <<_ACEOF | 12654 cat >>confdefs.h <<_ACEOF |
23040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12655 #define HAVE_DES_H 1 |
23041 _ACEOF | 12656 _ACEOF |
23042 | 12657 |
23043 else | 12658 else |
23044 | 12659 for ac_header in kerberosIV/des.h |
23045 for ac_header in kerberosIV/des.h | 12660 do : |
23046 do | 12661 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" |
23047 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12662 if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : |
23048 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23049 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23050 $as_echo_n "checking for $ac_header... " >&6; } | |
23051 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23052 $as_echo_n "(cached) " >&6 | |
23053 fi | |
23054 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23055 $as_echo "$as_val"'` | |
23056 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23057 $as_echo "$ac_res" >&6; } | |
23058 else | |
23059 # Is the header compilable? | |
23060 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23061 $as_echo_n "checking $ac_header usability... " >&6; } | |
23062 cat >conftest.$ac_ext <<_ACEOF | |
23063 /* confdefs.h. */ | |
23064 _ACEOF | |
23065 cat confdefs.h >>conftest.$ac_ext | |
23066 cat >>conftest.$ac_ext <<_ACEOF | |
23067 /* end confdefs.h. */ | |
23068 $ac_includes_default | |
23069 #include <$ac_header> | |
23070 _ACEOF | |
23071 rm -f conftest.$ac_objext | |
23072 if { (ac_try="$ac_compile" | |
23073 case "(($ac_try" in | |
23074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23075 *) ac_try_echo=$ac_try;; | |
23076 esac | |
23077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23078 $as_echo "$ac_try_echo") >&5 | |
23079 (eval "$ac_compile") 2>conftest.er1 | |
23080 ac_status=$? | |
23081 grep -v '^ *+' conftest.er1 >conftest.err | |
23082 rm -f conftest.er1 | |
23083 cat conftest.err >&5 | |
23084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23085 (exit $ac_status); } && { | |
23086 test -z "$ac_c_werror_flag" || | |
23087 test ! -s conftest.err | |
23088 } && test -s conftest.$ac_objext; then | |
23089 ac_header_compiler=yes | |
23090 else | |
23091 $as_echo "$as_me: failed program was:" >&5 | |
23092 sed 's/^/| /' conftest.$ac_ext >&5 | |
23093 | |
23094 ac_header_compiler=no | |
23095 fi | |
23096 | |
23097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23098 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23099 $as_echo "$ac_header_compiler" >&6; } | |
23100 | |
23101 # Is the header present? | |
23102 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23103 $as_echo_n "checking $ac_header presence... " >&6; } | |
23104 cat >conftest.$ac_ext <<_ACEOF | |
23105 /* confdefs.h. */ | |
23106 _ACEOF | |
23107 cat confdefs.h >>conftest.$ac_ext | |
23108 cat >>conftest.$ac_ext <<_ACEOF | |
23109 /* end confdefs.h. */ | |
23110 #include <$ac_header> | |
23111 _ACEOF | |
23112 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23113 case "(($ac_try" in | |
23114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23115 *) ac_try_echo=$ac_try;; | |
23116 esac | |
23117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23118 $as_echo "$ac_try_echo") >&5 | |
23119 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23120 ac_status=$? | |
23121 grep -v '^ *+' conftest.er1 >conftest.err | |
23122 rm -f conftest.er1 | |
23123 cat conftest.err >&5 | |
23124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23125 (exit $ac_status); } >/dev/null && { | |
23126 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23127 test ! -s conftest.err | |
23128 }; then | |
23129 ac_header_preproc=yes | |
23130 else | |
23131 $as_echo "$as_me: failed program was:" >&5 | |
23132 sed 's/^/| /' conftest.$ac_ext >&5 | |
23133 | |
23134 ac_header_preproc=no | |
23135 fi | |
23136 | |
23137 rm -f conftest.err conftest.$ac_ext | |
23138 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23139 $as_echo "$ac_header_preproc" >&6; } | |
23140 | |
23141 # So? What about this header? | |
23142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23143 yes:no: ) | |
23144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23145 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23147 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23148 ac_header_preproc=yes | |
23149 ;; | |
23150 no:yes:* ) | |
23151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23152 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23154 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23156 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23158 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23160 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23162 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23163 | |
23164 ;; | |
23165 esac | |
23166 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23167 $as_echo_n "checking for $ac_header... " >&6; } | |
23168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23169 $as_echo_n "(cached) " >&6 | |
23170 else | |
23171 eval "$as_ac_Header=\$ac_header_preproc" | |
23172 fi | |
23173 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23174 $as_echo "$as_val"'` | |
23175 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23176 $as_echo "$ac_res" >&6; } | |
23177 | |
23178 fi | |
23179 if test `eval 'as_val=${'$as_ac_Header'} | |
23180 $as_echo "$as_val"'` = yes; then | |
23181 cat >>confdefs.h <<_ACEOF | 12663 cat >>confdefs.h <<_ACEOF |
23182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12664 #define HAVE_KERBEROSIV_DES_H 1 |
23183 _ACEOF | 12665 _ACEOF |
23184 | 12666 |
23185 else | 12667 else |
23186 | 12668 for ac_header in kerberos/des.h |
23187 for ac_header in kerberos/des.h | 12669 do : |
23188 do | 12670 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" |
23189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12671 if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : |
23190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23191 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23192 $as_echo_n "checking for $ac_header... " >&6; } | |
23193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23194 $as_echo_n "(cached) " >&6 | |
23195 fi | |
23196 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23197 $as_echo "$as_val"'` | |
23198 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23199 $as_echo "$ac_res" >&6; } | |
23200 else | |
23201 # Is the header compilable? | |
23202 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23203 $as_echo_n "checking $ac_header usability... " >&6; } | |
23204 cat >conftest.$ac_ext <<_ACEOF | |
23205 /* confdefs.h. */ | |
23206 _ACEOF | |
23207 cat confdefs.h >>conftest.$ac_ext | |
23208 cat >>conftest.$ac_ext <<_ACEOF | |
23209 /* end confdefs.h. */ | |
23210 $ac_includes_default | |
23211 #include <$ac_header> | |
23212 _ACEOF | |
23213 rm -f conftest.$ac_objext | |
23214 if { (ac_try="$ac_compile" | |
23215 case "(($ac_try" in | |
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23217 *) ac_try_echo=$ac_try;; | |
23218 esac | |
23219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23220 $as_echo "$ac_try_echo") >&5 | |
23221 (eval "$ac_compile") 2>conftest.er1 | |
23222 ac_status=$? | |
23223 grep -v '^ *+' conftest.er1 >conftest.err | |
23224 rm -f conftest.er1 | |
23225 cat conftest.err >&5 | |
23226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23227 (exit $ac_status); } && { | |
23228 test -z "$ac_c_werror_flag" || | |
23229 test ! -s conftest.err | |
23230 } && test -s conftest.$ac_objext; then | |
23231 ac_header_compiler=yes | |
23232 else | |
23233 $as_echo "$as_me: failed program was:" >&5 | |
23234 sed 's/^/| /' conftest.$ac_ext >&5 | |
23235 | |
23236 ac_header_compiler=no | |
23237 fi | |
23238 | |
23239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23240 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23241 $as_echo "$ac_header_compiler" >&6; } | |
23242 | |
23243 # Is the header present? | |
23244 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23245 $as_echo_n "checking $ac_header presence... " >&6; } | |
23246 cat >conftest.$ac_ext <<_ACEOF | |
23247 /* confdefs.h. */ | |
23248 _ACEOF | |
23249 cat confdefs.h >>conftest.$ac_ext | |
23250 cat >>conftest.$ac_ext <<_ACEOF | |
23251 /* end confdefs.h. */ | |
23252 #include <$ac_header> | |
23253 _ACEOF | |
23254 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23255 case "(($ac_try" in | |
23256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23257 *) ac_try_echo=$ac_try;; | |
23258 esac | |
23259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23260 $as_echo "$ac_try_echo") >&5 | |
23261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23262 ac_status=$? | |
23263 grep -v '^ *+' conftest.er1 >conftest.err | |
23264 rm -f conftest.er1 | |
23265 cat conftest.err >&5 | |
23266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23267 (exit $ac_status); } >/dev/null && { | |
23268 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23269 test ! -s conftest.err | |
23270 }; then | |
23271 ac_header_preproc=yes | |
23272 else | |
23273 $as_echo "$as_me: failed program was:" >&5 | |
23274 sed 's/^/| /' conftest.$ac_ext >&5 | |
23275 | |
23276 ac_header_preproc=no | |
23277 fi | |
23278 | |
23279 rm -f conftest.err conftest.$ac_ext | |
23280 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23281 $as_echo "$ac_header_preproc" >&6; } | |
23282 | |
23283 # So? What about this header? | |
23284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23285 yes:no: ) | |
23286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23287 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23289 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23290 ac_header_preproc=yes | |
23291 ;; | |
23292 no:yes:* ) | |
23293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23294 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23296 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23298 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23300 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23302 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23304 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23305 | |
23306 ;; | |
23307 esac | |
23308 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23309 $as_echo_n "checking for $ac_header... " >&6; } | |
23310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23311 $as_echo_n "(cached) " >&6 | |
23312 else | |
23313 eval "$as_ac_Header=\$ac_header_preproc" | |
23314 fi | |
23315 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23316 $as_echo "$as_val"'` | |
23317 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23318 $as_echo "$ac_res" >&6; } | |
23319 | |
23320 fi | |
23321 if test `eval 'as_val=${'$as_ac_Header'} | |
23322 $as_echo "$as_val"'` = yes; then | |
23323 cat >>confdefs.h <<_ACEOF | 12672 cat >>confdefs.h <<_ACEOF |
23324 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12673 #define HAVE_KERBEROS_DES_H 1 |
23325 _ACEOF | 12674 _ACEOF |
23326 | 12675 |
23327 fi | 12676 fi |
23328 | 12677 |
23329 done | 12678 done |
23334 | 12683 |
23335 fi | 12684 fi |
23336 | 12685 |
23337 done | 12686 done |
23338 | 12687 |
23339 | 12688 for ac_header in krb.h |
23340 for ac_header in krb.h | 12689 do : |
23341 do | 12690 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" |
23342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12691 if test "x$ac_cv_header_krb_h" = x""yes; then : |
23343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23344 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23345 $as_echo_n "checking for $ac_header... " >&6; } | |
23346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23347 $as_echo_n "(cached) " >&6 | |
23348 fi | |
23349 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23350 $as_echo "$as_val"'` | |
23351 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23352 $as_echo "$ac_res" >&6; } | |
23353 else | |
23354 # Is the header compilable? | |
23355 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23356 $as_echo_n "checking $ac_header usability... " >&6; } | |
23357 cat >conftest.$ac_ext <<_ACEOF | |
23358 /* confdefs.h. */ | |
23359 _ACEOF | |
23360 cat confdefs.h >>conftest.$ac_ext | |
23361 cat >>conftest.$ac_ext <<_ACEOF | |
23362 /* end confdefs.h. */ | |
23363 $ac_includes_default | |
23364 #include <$ac_header> | |
23365 _ACEOF | |
23366 rm -f conftest.$ac_objext | |
23367 if { (ac_try="$ac_compile" | |
23368 case "(($ac_try" in | |
23369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23370 *) ac_try_echo=$ac_try;; | |
23371 esac | |
23372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23373 $as_echo "$ac_try_echo") >&5 | |
23374 (eval "$ac_compile") 2>conftest.er1 | |
23375 ac_status=$? | |
23376 grep -v '^ *+' conftest.er1 >conftest.err | |
23377 rm -f conftest.er1 | |
23378 cat conftest.err >&5 | |
23379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23380 (exit $ac_status); } && { | |
23381 test -z "$ac_c_werror_flag" || | |
23382 test ! -s conftest.err | |
23383 } && test -s conftest.$ac_objext; then | |
23384 ac_header_compiler=yes | |
23385 else | |
23386 $as_echo "$as_me: failed program was:" >&5 | |
23387 sed 's/^/| /' conftest.$ac_ext >&5 | |
23388 | |
23389 ac_header_compiler=no | |
23390 fi | |
23391 | |
23392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23393 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23394 $as_echo "$ac_header_compiler" >&6; } | |
23395 | |
23396 # Is the header present? | |
23397 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23398 $as_echo_n "checking $ac_header presence... " >&6; } | |
23399 cat >conftest.$ac_ext <<_ACEOF | |
23400 /* confdefs.h. */ | |
23401 _ACEOF | |
23402 cat confdefs.h >>conftest.$ac_ext | |
23403 cat >>conftest.$ac_ext <<_ACEOF | |
23404 /* end confdefs.h. */ | |
23405 #include <$ac_header> | |
23406 _ACEOF | |
23407 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23408 case "(($ac_try" in | |
23409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23410 *) ac_try_echo=$ac_try;; | |
23411 esac | |
23412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23413 $as_echo "$ac_try_echo") >&5 | |
23414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23415 ac_status=$? | |
23416 grep -v '^ *+' conftest.er1 >conftest.err | |
23417 rm -f conftest.er1 | |
23418 cat conftest.err >&5 | |
23419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23420 (exit $ac_status); } >/dev/null && { | |
23421 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23422 test ! -s conftest.err | |
23423 }; then | |
23424 ac_header_preproc=yes | |
23425 else | |
23426 $as_echo "$as_me: failed program was:" >&5 | |
23427 sed 's/^/| /' conftest.$ac_ext >&5 | |
23428 | |
23429 ac_header_preproc=no | |
23430 fi | |
23431 | |
23432 rm -f conftest.err conftest.$ac_ext | |
23433 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23434 $as_echo "$ac_header_preproc" >&6; } | |
23435 | |
23436 # So? What about this header? | |
23437 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23438 yes:no: ) | |
23439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23440 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23442 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23443 ac_header_preproc=yes | |
23444 ;; | |
23445 no:yes:* ) | |
23446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23447 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23449 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23451 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23453 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23455 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23457 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23458 | |
23459 ;; | |
23460 esac | |
23461 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23462 $as_echo_n "checking for $ac_header... " >&6; } | |
23463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23464 $as_echo_n "(cached) " >&6 | |
23465 else | |
23466 eval "$as_ac_Header=\$ac_header_preproc" | |
23467 fi | |
23468 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23469 $as_echo "$as_val"'` | |
23470 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23471 $as_echo "$ac_res" >&6; } | |
23472 | |
23473 fi | |
23474 if test `eval 'as_val=${'$as_ac_Header'} | |
23475 $as_echo "$as_val"'` = yes; then | |
23476 cat >>confdefs.h <<_ACEOF | 12692 cat >>confdefs.h <<_ACEOF |
23477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12693 #define HAVE_KRB_H 1 |
23478 _ACEOF | 12694 _ACEOF |
23479 | 12695 |
23480 else | 12696 else |
23481 | 12697 for ac_header in kerberosIV/krb.h |
23482 for ac_header in kerberosIV/krb.h | 12698 do : |
23483 do | 12699 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" |
23484 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12700 if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : |
23485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23486 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23487 $as_echo_n "checking for $ac_header... " >&6; } | |
23488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23489 $as_echo_n "(cached) " >&6 | |
23490 fi | |
23491 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23492 $as_echo "$as_val"'` | |
23493 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23494 $as_echo "$ac_res" >&6; } | |
23495 else | |
23496 # Is the header compilable? | |
23497 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23498 $as_echo_n "checking $ac_header usability... " >&6; } | |
23499 cat >conftest.$ac_ext <<_ACEOF | |
23500 /* confdefs.h. */ | |
23501 _ACEOF | |
23502 cat confdefs.h >>conftest.$ac_ext | |
23503 cat >>conftest.$ac_ext <<_ACEOF | |
23504 /* end confdefs.h. */ | |
23505 $ac_includes_default | |
23506 #include <$ac_header> | |
23507 _ACEOF | |
23508 rm -f conftest.$ac_objext | |
23509 if { (ac_try="$ac_compile" | |
23510 case "(($ac_try" in | |
23511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23512 *) ac_try_echo=$ac_try;; | |
23513 esac | |
23514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23515 $as_echo "$ac_try_echo") >&5 | |
23516 (eval "$ac_compile") 2>conftest.er1 | |
23517 ac_status=$? | |
23518 grep -v '^ *+' conftest.er1 >conftest.err | |
23519 rm -f conftest.er1 | |
23520 cat conftest.err >&5 | |
23521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23522 (exit $ac_status); } && { | |
23523 test -z "$ac_c_werror_flag" || | |
23524 test ! -s conftest.err | |
23525 } && test -s conftest.$ac_objext; then | |
23526 ac_header_compiler=yes | |
23527 else | |
23528 $as_echo "$as_me: failed program was:" >&5 | |
23529 sed 's/^/| /' conftest.$ac_ext >&5 | |
23530 | |
23531 ac_header_compiler=no | |
23532 fi | |
23533 | |
23534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23535 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23536 $as_echo "$ac_header_compiler" >&6; } | |
23537 | |
23538 # Is the header present? | |
23539 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23540 $as_echo_n "checking $ac_header presence... " >&6; } | |
23541 cat >conftest.$ac_ext <<_ACEOF | |
23542 /* confdefs.h. */ | |
23543 _ACEOF | |
23544 cat confdefs.h >>conftest.$ac_ext | |
23545 cat >>conftest.$ac_ext <<_ACEOF | |
23546 /* end confdefs.h. */ | |
23547 #include <$ac_header> | |
23548 _ACEOF | |
23549 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23550 case "(($ac_try" in | |
23551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23552 *) ac_try_echo=$ac_try;; | |
23553 esac | |
23554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23555 $as_echo "$ac_try_echo") >&5 | |
23556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23557 ac_status=$? | |
23558 grep -v '^ *+' conftest.er1 >conftest.err | |
23559 rm -f conftest.er1 | |
23560 cat conftest.err >&5 | |
23561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23562 (exit $ac_status); } >/dev/null && { | |
23563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23564 test ! -s conftest.err | |
23565 }; then | |
23566 ac_header_preproc=yes | |
23567 else | |
23568 $as_echo "$as_me: failed program was:" >&5 | |
23569 sed 's/^/| /' conftest.$ac_ext >&5 | |
23570 | |
23571 ac_header_preproc=no | |
23572 fi | |
23573 | |
23574 rm -f conftest.err conftest.$ac_ext | |
23575 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23576 $as_echo "$ac_header_preproc" >&6; } | |
23577 | |
23578 # So? What about this header? | |
23579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23580 yes:no: ) | |
23581 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23582 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23583 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23584 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23585 ac_header_preproc=yes | |
23586 ;; | |
23587 no:yes:* ) | |
23588 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23589 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23590 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23591 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23592 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23593 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23594 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23595 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23597 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23598 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23599 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23600 | |
23601 ;; | |
23602 esac | |
23603 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23604 $as_echo_n "checking for $ac_header... " >&6; } | |
23605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23606 $as_echo_n "(cached) " >&6 | |
23607 else | |
23608 eval "$as_ac_Header=\$ac_header_preproc" | |
23609 fi | |
23610 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23611 $as_echo "$as_val"'` | |
23612 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23613 $as_echo "$ac_res" >&6; } | |
23614 | |
23615 fi | |
23616 if test `eval 'as_val=${'$as_ac_Header'} | |
23617 $as_echo "$as_val"'` = yes; then | |
23618 cat >>confdefs.h <<_ACEOF | 12701 cat >>confdefs.h <<_ACEOF |
23619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12702 #define HAVE_KERBEROSIV_KRB_H 1 |
23620 _ACEOF | 12703 _ACEOF |
23621 | 12704 |
23622 else | 12705 else |
23623 | 12706 for ac_header in kerberos/krb.h |
23624 for ac_header in kerberos/krb.h | 12707 do : |
23625 do | 12708 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" |
23626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12709 if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : |
23627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23628 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23629 $as_echo_n "checking for $ac_header... " >&6; } | |
23630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23631 $as_echo_n "(cached) " >&6 | |
23632 fi | |
23633 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23634 $as_echo "$as_val"'` | |
23635 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23636 $as_echo "$ac_res" >&6; } | |
23637 else | |
23638 # Is the header compilable? | |
23639 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23640 $as_echo_n "checking $ac_header usability... " >&6; } | |
23641 cat >conftest.$ac_ext <<_ACEOF | |
23642 /* confdefs.h. */ | |
23643 _ACEOF | |
23644 cat confdefs.h >>conftest.$ac_ext | |
23645 cat >>conftest.$ac_ext <<_ACEOF | |
23646 /* end confdefs.h. */ | |
23647 $ac_includes_default | |
23648 #include <$ac_header> | |
23649 _ACEOF | |
23650 rm -f conftest.$ac_objext | |
23651 if { (ac_try="$ac_compile" | |
23652 case "(($ac_try" in | |
23653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23654 *) ac_try_echo=$ac_try;; | |
23655 esac | |
23656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23657 $as_echo "$ac_try_echo") >&5 | |
23658 (eval "$ac_compile") 2>conftest.er1 | |
23659 ac_status=$? | |
23660 grep -v '^ *+' conftest.er1 >conftest.err | |
23661 rm -f conftest.er1 | |
23662 cat conftest.err >&5 | |
23663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23664 (exit $ac_status); } && { | |
23665 test -z "$ac_c_werror_flag" || | |
23666 test ! -s conftest.err | |
23667 } && test -s conftest.$ac_objext; then | |
23668 ac_header_compiler=yes | |
23669 else | |
23670 $as_echo "$as_me: failed program was:" >&5 | |
23671 sed 's/^/| /' conftest.$ac_ext >&5 | |
23672 | |
23673 ac_header_compiler=no | |
23674 fi | |
23675 | |
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23677 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23678 $as_echo "$ac_header_compiler" >&6; } | |
23679 | |
23680 # Is the header present? | |
23681 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23682 $as_echo_n "checking $ac_header presence... " >&6; } | |
23683 cat >conftest.$ac_ext <<_ACEOF | |
23684 /* confdefs.h. */ | |
23685 _ACEOF | |
23686 cat confdefs.h >>conftest.$ac_ext | |
23687 cat >>conftest.$ac_ext <<_ACEOF | |
23688 /* end confdefs.h. */ | |
23689 #include <$ac_header> | |
23690 _ACEOF | |
23691 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23692 case "(($ac_try" in | |
23693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23694 *) ac_try_echo=$ac_try;; | |
23695 esac | |
23696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23697 $as_echo "$ac_try_echo") >&5 | |
23698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23699 ac_status=$? | |
23700 grep -v '^ *+' conftest.er1 >conftest.err | |
23701 rm -f conftest.er1 | |
23702 cat conftest.err >&5 | |
23703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23704 (exit $ac_status); } >/dev/null && { | |
23705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23706 test ! -s conftest.err | |
23707 }; then | |
23708 ac_header_preproc=yes | |
23709 else | |
23710 $as_echo "$as_me: failed program was:" >&5 | |
23711 sed 's/^/| /' conftest.$ac_ext >&5 | |
23712 | |
23713 ac_header_preproc=no | |
23714 fi | |
23715 | |
23716 rm -f conftest.err conftest.$ac_ext | |
23717 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23718 $as_echo "$ac_header_preproc" >&6; } | |
23719 | |
23720 # So? What about this header? | |
23721 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23722 yes:no: ) | |
23723 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23724 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23725 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23726 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23727 ac_header_preproc=yes | |
23728 ;; | |
23729 no:yes:* ) | |
23730 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23731 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23732 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23733 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23734 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23735 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23736 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23737 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23738 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23739 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23740 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23741 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23742 | |
23743 ;; | |
23744 esac | |
23745 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23746 $as_echo_n "checking for $ac_header... " >&6; } | |
23747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23748 $as_echo_n "(cached) " >&6 | |
23749 else | |
23750 eval "$as_ac_Header=\$ac_header_preproc" | |
23751 fi | |
23752 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23753 $as_echo "$as_val"'` | |
23754 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23755 $as_echo "$ac_res" >&6; } | |
23756 | |
23757 fi | |
23758 if test `eval 'as_val=${'$as_ac_Header'} | |
23759 $as_echo "$as_val"'` = yes; then | |
23760 cat >>confdefs.h <<_ACEOF | 12710 cat >>confdefs.h <<_ACEOF |
23761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12711 #define HAVE_KERBEROS_KRB_H 1 |
23762 _ACEOF | 12712 _ACEOF |
23763 | 12713 |
23764 fi | 12714 fi |
23765 | 12715 |
23766 done | 12716 done |
23772 fi | 12722 fi |
23773 | 12723 |
23774 done | 12724 done |
23775 | 12725 |
23776 fi | 12726 fi |
23777 | 12727 for ac_header in com_err.h |
23778 for ac_header in com_err.h | 12728 do : |
23779 do | 12729 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" |
23780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12730 if test "x$ac_cv_header_com_err_h" = x""yes; then : |
23781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23782 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23783 $as_echo_n "checking for $ac_header... " >&6; } | |
23784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23785 $as_echo_n "(cached) " >&6 | |
23786 fi | |
23787 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23788 $as_echo "$as_val"'` | |
23789 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23790 $as_echo "$ac_res" >&6; } | |
23791 else | |
23792 # Is the header compilable? | |
23793 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23794 $as_echo_n "checking $ac_header usability... " >&6; } | |
23795 cat >conftest.$ac_ext <<_ACEOF | |
23796 /* confdefs.h. */ | |
23797 _ACEOF | |
23798 cat confdefs.h >>conftest.$ac_ext | |
23799 cat >>conftest.$ac_ext <<_ACEOF | |
23800 /* end confdefs.h. */ | |
23801 $ac_includes_default | |
23802 #include <$ac_header> | |
23803 _ACEOF | |
23804 rm -f conftest.$ac_objext | |
23805 if { (ac_try="$ac_compile" | |
23806 case "(($ac_try" in | |
23807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23808 *) ac_try_echo=$ac_try;; | |
23809 esac | |
23810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23811 $as_echo "$ac_try_echo") >&5 | |
23812 (eval "$ac_compile") 2>conftest.er1 | |
23813 ac_status=$? | |
23814 grep -v '^ *+' conftest.er1 >conftest.err | |
23815 rm -f conftest.er1 | |
23816 cat conftest.err >&5 | |
23817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23818 (exit $ac_status); } && { | |
23819 test -z "$ac_c_werror_flag" || | |
23820 test ! -s conftest.err | |
23821 } && test -s conftest.$ac_objext; then | |
23822 ac_header_compiler=yes | |
23823 else | |
23824 $as_echo "$as_me: failed program was:" >&5 | |
23825 sed 's/^/| /' conftest.$ac_ext >&5 | |
23826 | |
23827 ac_header_compiler=no | |
23828 fi | |
23829 | |
23830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23831 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23832 $as_echo "$ac_header_compiler" >&6; } | |
23833 | |
23834 # Is the header present? | |
23835 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23836 $as_echo_n "checking $ac_header presence... " >&6; } | |
23837 cat >conftest.$ac_ext <<_ACEOF | |
23838 /* confdefs.h. */ | |
23839 _ACEOF | |
23840 cat confdefs.h >>conftest.$ac_ext | |
23841 cat >>conftest.$ac_ext <<_ACEOF | |
23842 /* end confdefs.h. */ | |
23843 #include <$ac_header> | |
23844 _ACEOF | |
23845 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23846 case "(($ac_try" in | |
23847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23848 *) ac_try_echo=$ac_try;; | |
23849 esac | |
23850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23851 $as_echo "$ac_try_echo") >&5 | |
23852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23853 ac_status=$? | |
23854 grep -v '^ *+' conftest.er1 >conftest.err | |
23855 rm -f conftest.er1 | |
23856 cat conftest.err >&5 | |
23857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23858 (exit $ac_status); } >/dev/null && { | |
23859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23860 test ! -s conftest.err | |
23861 }; then | |
23862 ac_header_preproc=yes | |
23863 else | |
23864 $as_echo "$as_me: failed program was:" >&5 | |
23865 sed 's/^/| /' conftest.$ac_ext >&5 | |
23866 | |
23867 ac_header_preproc=no | |
23868 fi | |
23869 | |
23870 rm -f conftest.err conftest.$ac_ext | |
23871 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23872 $as_echo "$ac_header_preproc" >&6; } | |
23873 | |
23874 # So? What about this header? | |
23875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23876 yes:no: ) | |
23877 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23878 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23879 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23880 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23881 ac_header_preproc=yes | |
23882 ;; | |
23883 no:yes:* ) | |
23884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23885 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23887 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23888 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23889 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23891 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23893 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23895 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23896 | |
23897 ;; | |
23898 esac | |
23899 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23900 $as_echo_n "checking for $ac_header... " >&6; } | |
23901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23902 $as_echo_n "(cached) " >&6 | |
23903 else | |
23904 eval "$as_ac_Header=\$ac_header_preproc" | |
23905 fi | |
23906 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23907 $as_echo "$as_val"'` | |
23908 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23909 $as_echo "$ac_res" >&6; } | |
23910 | |
23911 fi | |
23912 if test `eval 'as_val=${'$as_ac_Header'} | |
23913 $as_echo "$as_val"'` = yes; then | |
23914 cat >>confdefs.h <<_ACEOF | 12731 cat >>confdefs.h <<_ACEOF |
23915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12732 #define HAVE_COM_ERR_H 1 |
23916 _ACEOF | 12733 _ACEOF |
23917 | 12734 |
23918 fi | 12735 fi |
23919 | 12736 |
23920 done | 12737 done |
23927 | 12744 |
23928 | 12745 |
23929 | 12746 |
23930 # Solaris requires -lintl if you want strerror (which calls dgettext) | 12747 # Solaris requires -lintl if you want strerror (which calls dgettext) |
23931 # to return localized messages. | 12748 # to return localized messages. |
23932 | 12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 |
23933 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | |
23934 $as_echo_n "checking for dgettext in -lintl... " >&6; } | 12750 $as_echo_n "checking for dgettext in -lintl... " >&6; } |
23935 if test "${ac_cv_lib_intl_dgettext+set}" = set; then | 12751 if test "${ac_cv_lib_intl_dgettext+set}" = set; then : |
23936 $as_echo_n "(cached) " >&6 | 12752 $as_echo_n "(cached) " >&6 |
23937 else | 12753 else |
23938 ac_check_lib_save_LIBS=$LIBS | 12754 ac_check_lib_save_LIBS=$LIBS |
23939 LIBS="-lintl $LIBS" | 12755 LIBS="-lintl $LIBS" |
23940 cat >conftest.$ac_ext <<_ACEOF | 12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
23941 /* confdefs.h. */ | |
23942 _ACEOF | |
23943 cat confdefs.h >>conftest.$ac_ext | |
23944 cat >>conftest.$ac_ext <<_ACEOF | |
23945 /* end confdefs.h. */ | 12757 /* end confdefs.h. */ |
23946 | 12758 |
23947 /* Override any GCC internal prototype to avoid an error. | 12759 /* Override any GCC internal prototype to avoid an error. |
23948 Use char because int might match the return type of a GCC | 12760 Use char because int might match the return type of a GCC |
23949 builtin and then its argument prototype would still apply. */ | 12761 builtin and then its argument prototype would still apply. */ |
23957 return dgettext (); | 12769 return dgettext (); |
23958 ; | 12770 ; |
23959 return 0; | 12771 return 0; |
23960 } | 12772 } |
23961 _ACEOF | 12773 _ACEOF |
23962 rm -f conftest.$ac_objext conftest$ac_exeext | 12774 if ac_fn_c_try_link "$LINENO"; then : |
23963 if { (ac_try="$ac_link" | |
23964 case "(($ac_try" in | |
23965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23966 *) ac_try_echo=$ac_try;; | |
23967 esac | |
23968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23969 $as_echo "$ac_try_echo") >&5 | |
23970 (eval "$ac_link") 2>conftest.er1 | |
23971 ac_status=$? | |
23972 grep -v '^ *+' conftest.er1 >conftest.err | |
23973 rm -f conftest.er1 | |
23974 cat conftest.err >&5 | |
23975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23976 (exit $ac_status); } && { | |
23977 test -z "$ac_c_werror_flag" || | |
23978 test ! -s conftest.err | |
23979 } && test -s conftest$ac_exeext && { | |
23980 test "$cross_compiling" = yes || | |
23981 $as_test_x conftest$ac_exeext | |
23982 }; then | |
23983 ac_cv_lib_intl_dgettext=yes | 12775 ac_cv_lib_intl_dgettext=yes |
23984 else | 12776 else |
23985 $as_echo "$as_me: failed program was:" >&5 | 12777 ac_cv_lib_intl_dgettext=no |
23986 sed 's/^/| /' conftest.$ac_ext >&5 | 12778 fi |
23987 | 12779 rm -f core conftest.err conftest.$ac_objext \ |
23988 ac_cv_lib_intl_dgettext=no | 12780 conftest$ac_exeext conftest.$ac_ext |
23989 fi | |
23990 | |
23991 rm -rf conftest.dSYM | |
23992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
23993 conftest$ac_exeext conftest.$ac_ext | |
23994 LIBS=$ac_check_lib_save_LIBS | 12781 LIBS=$ac_check_lib_save_LIBS |
23995 fi | 12782 fi |
23996 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 | 12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 |
23997 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } | 12784 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
23998 if test $ac_cv_lib_intl_dgettext = yes; then | 12785 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : |
23999 cat >>confdefs.h <<_ACEOF | 12786 cat >>confdefs.h <<_ACEOF |
24000 #define HAVE_LIBINTL 1 | 12787 #define HAVE_LIBINTL 1 |
24001 _ACEOF | 12788 _ACEOF |
24002 | 12789 |
24003 LIBS="-lintl $LIBS" | 12790 LIBS="-lintl $LIBS" |
24004 | 12791 |
24005 fi | 12792 fi |
24006 | 12793 |
24007 | 12794 |
24008 { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 | 12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 |
24009 $as_echo_n "checking whether localtime caches TZ... " >&6; } | 12796 $as_echo_n "checking whether localtime caches TZ... " >&6; } |
24010 if test "${emacs_cv_localtime_cache+set}" = set; then | 12797 if test "${emacs_cv_localtime_cache+set}" = set; then : |
24011 $as_echo_n "(cached) " >&6 | 12798 $as_echo_n "(cached) " >&6 |
24012 else | 12799 else |
24013 if test x$ac_cv_func_tzset = xyes; then | 12800 if test x$ac_cv_func_tzset = xyes; then |
24014 if test "$cross_compiling" = yes; then | 12801 if test "$cross_compiling" = yes; then : |
24015 # If we have tzset, assume the worst when cross-compiling. | 12802 # If we have tzset, assume the worst when cross-compiling. |
24016 emacs_cv_localtime_cache=yes | 12803 emacs_cv_localtime_cache=yes |
24017 else | 12804 else |
24018 cat >conftest.$ac_ext <<_ACEOF | 12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24019 /* confdefs.h. */ | |
24020 _ACEOF | |
24021 cat confdefs.h >>conftest.$ac_ext | |
24022 cat >>conftest.$ac_ext <<_ACEOF | |
24023 /* end confdefs.h. */ | 12806 /* end confdefs.h. */ |
24024 #include <time.h> | 12807 #include <time.h> |
24025 extern char **environ; | 12808 extern char **environ; |
24026 unset_TZ () | 12809 unset_TZ () |
24027 { | 12810 { |
24049 if (localtime (&now)->tm_hour != hour_unset) | 12832 if (localtime (&now)->tm_hour != hour_unset) |
24050 exit (1); | 12833 exit (1); |
24051 exit (0); | 12834 exit (0); |
24052 } | 12835 } |
24053 _ACEOF | 12836 _ACEOF |
24054 rm -f conftest$ac_exeext | 12837 if ac_fn_c_try_run "$LINENO"; then : |
24055 if { (ac_try="$ac_link" | |
24056 case "(($ac_try" in | |
24057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24058 *) ac_try_echo=$ac_try;; | |
24059 esac | |
24060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24061 $as_echo "$ac_try_echo") >&5 | |
24062 (eval "$ac_link") 2>&5 | |
24063 ac_status=$? | |
24064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
24066 { (case "(($ac_try" in | |
24067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24068 *) ac_try_echo=$ac_try;; | |
24069 esac | |
24070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24071 $as_echo "$ac_try_echo") >&5 | |
24072 (eval "$ac_try") 2>&5 | |
24073 ac_status=$? | |
24074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24075 (exit $ac_status); }; }; then | |
24076 emacs_cv_localtime_cache=no | 12838 emacs_cv_localtime_cache=no |
24077 else | 12839 else |
24078 $as_echo "$as_me: program exited with status $ac_status" >&5 | 12840 emacs_cv_localtime_cache=yes |
24079 $as_echo "$as_me: failed program was:" >&5 | 12841 fi |
24080 sed 's/^/| /' conftest.$ac_ext >&5 | 12842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
24081 | 12843 conftest.$ac_objext conftest.beam conftest.$ac_ext |
24082 ( exit $ac_status ) | 12844 fi |
24083 emacs_cv_localtime_cache=yes | |
24084 fi | |
24085 rm -rf conftest.dSYM | |
24086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
24087 fi | |
24088 | |
24089 | 12845 |
24090 else | 12846 else |
24091 # If we lack tzset, report that localtime does not cache TZ, | 12847 # If we lack tzset, report that localtime does not cache TZ, |
24092 # since we can't invalidate the cache if we don't have tzset. | 12848 # since we can't invalidate the cache if we don't have tzset. |
24093 emacs_cv_localtime_cache=no | 12849 emacs_cv_localtime_cache=no |
24094 fi | 12850 fi |
24095 fi | 12851 fi |
24096 { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 | 12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5 |
24097 $as_echo "$emacs_cv_localtime_cache" >&6; } | 12853 $as_echo "$emacs_cv_localtime_cache" >&6; } |
24098 if test $emacs_cv_localtime_cache = yes; then | 12854 if test $emacs_cv_localtime_cache = yes; then |
24099 | 12855 |
24100 cat >>confdefs.h <<\_ACEOF | 12856 $as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h |
24101 #define LOCALTIME_CACHE 1 | |
24102 _ACEOF | |
24103 | 12857 |
24104 fi | 12858 fi |
24105 | 12859 |
24106 if test "x$HAVE_TIMEVAL" = xyes; then | 12860 if test "x$HAVE_TIMEVAL" = xyes; then |
24107 | 12861 for ac_func in gettimeofday |
24108 for ac_func in gettimeofday | 12862 do : |
24109 do | 12863 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" |
24110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12864 if test "x$ac_cv_func_gettimeofday" = x""yes; then : |
24111 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12865 cat >>confdefs.h <<_ACEOF |
24112 $as_echo_n "checking for $ac_func... " >&6; } | 12866 #define HAVE_GETTIMEOFDAY 1 |
24113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 12867 _ACEOF |
12868 | |
12869 fi | |
12870 done | |
12871 | |
12872 if test $ac_cv_func_gettimeofday = yes; then | |
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 | |
12874 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } | |
12875 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : | |
24114 $as_echo_n "(cached) " >&6 | 12876 $as_echo_n "(cached) " >&6 |
24115 else | 12877 else |
24116 cat >conftest.$ac_ext <<_ACEOF | 12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24117 /* confdefs.h. */ | |
24118 _ACEOF | |
24119 cat confdefs.h >>conftest.$ac_ext | |
24120 cat >>conftest.$ac_ext <<_ACEOF | |
24121 /* end confdefs.h. */ | |
24122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
24123 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
24124 #define $ac_func innocuous_$ac_func | |
24125 | |
24126 /* System header to define __stub macros and hopefully few prototypes, | |
24127 which can conflict with char $ac_func (); below. | |
24128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
24129 <limits.h> exists even on freestanding compilers. */ | |
24130 | |
24131 #ifdef __STDC__ | |
24132 # include <limits.h> | |
24133 #else | |
24134 # include <assert.h> | |
24135 #endif | |
24136 | |
24137 #undef $ac_func | |
24138 | |
24139 /* Override any GCC internal prototype to avoid an error. | |
24140 Use char because int might match the return type of a GCC | |
24141 builtin and then its argument prototype would still apply. */ | |
24142 #ifdef __cplusplus | |
24143 extern "C" | |
24144 #endif | |
24145 char $ac_func (); | |
24146 /* The GNU C library defines this for functions which it implements | |
24147 to always fail with ENOSYS. Some functions are actually named | |
24148 something starting with __ and the normal name is an alias. */ | |
24149 #if defined __stub_$ac_func || defined __stub___$ac_func | |
24150 choke me | |
24151 #endif | |
24152 | |
24153 int | |
24154 main () | |
24155 { | |
24156 return $ac_func (); | |
24157 ; | |
24158 return 0; | |
24159 } | |
24160 _ACEOF | |
24161 rm -f conftest.$ac_objext conftest$ac_exeext | |
24162 if { (ac_try="$ac_link" | |
24163 case "(($ac_try" in | |
24164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24165 *) ac_try_echo=$ac_try;; | |
24166 esac | |
24167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24168 $as_echo "$ac_try_echo") >&5 | |
24169 (eval "$ac_link") 2>conftest.er1 | |
24170 ac_status=$? | |
24171 grep -v '^ *+' conftest.er1 >conftest.err | |
24172 rm -f conftest.er1 | |
24173 cat conftest.err >&5 | |
24174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24175 (exit $ac_status); } && { | |
24176 test -z "$ac_c_werror_flag" || | |
24177 test ! -s conftest.err | |
24178 } && test -s conftest$ac_exeext && { | |
24179 test "$cross_compiling" = yes || | |
24180 $as_test_x conftest$ac_exeext | |
24181 }; then | |
24182 eval "$as_ac_var=yes" | |
24183 else | |
24184 $as_echo "$as_me: failed program was:" >&5 | |
24185 sed 's/^/| /' conftest.$ac_ext >&5 | |
24186 | |
24187 eval "$as_ac_var=no" | |
24188 fi | |
24189 | |
24190 rm -rf conftest.dSYM | |
24191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
24192 conftest$ac_exeext conftest.$ac_ext | |
24193 fi | |
24194 ac_res=`eval 'as_val=${'$as_ac_var'} | |
24195 $as_echo "$as_val"'` | |
24196 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24197 $as_echo "$ac_res" >&6; } | |
24198 if test `eval 'as_val=${'$as_ac_var'} | |
24199 $as_echo "$as_val"'` = yes; then | |
24200 cat >>confdefs.h <<_ACEOF | |
24201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
24202 _ACEOF | |
24203 | |
24204 fi | |
24205 done | |
24206 | |
24207 if test $ac_cv_func_gettimeofday = yes; then | |
24208 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 | |
24209 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } | |
24210 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then | |
24211 $as_echo_n "(cached) " >&6 | |
24212 else | |
24213 cat >conftest.$ac_ext <<_ACEOF | |
24214 /* confdefs.h. */ | |
24215 _ACEOF | |
24216 cat confdefs.h >>conftest.$ac_ext | |
24217 cat >>conftest.$ac_ext <<_ACEOF | |
24218 /* end confdefs.h. */ | 12879 /* end confdefs.h. */ |
24219 | 12880 |
24220 #ifdef TIME_WITH_SYS_TIME | 12881 #ifdef TIME_WITH_SYS_TIME |
24221 #include <sys/time.h> | 12882 #include <sys/time.h> |
24222 #include <time.h> | 12883 #include <time.h> |
24234 gettimeofday (&time, 0); | 12895 gettimeofday (&time, 0); |
24235 ; | 12896 ; |
24236 return 0; | 12897 return 0; |
24237 } | 12898 } |
24238 _ACEOF | 12899 _ACEOF |
24239 rm -f conftest.$ac_objext | 12900 if ac_fn_c_try_compile "$LINENO"; then : |
24240 if { (ac_try="$ac_compile" | |
24241 case "(($ac_try" in | |
24242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24243 *) ac_try_echo=$ac_try;; | |
24244 esac | |
24245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24246 $as_echo "$ac_try_echo") >&5 | |
24247 (eval "$ac_compile") 2>conftest.er1 | |
24248 ac_status=$? | |
24249 grep -v '^ *+' conftest.er1 >conftest.err | |
24250 rm -f conftest.er1 | |
24251 cat conftest.err >&5 | |
24252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24253 (exit $ac_status); } && { | |
24254 test -z "$ac_c_werror_flag" || | |
24255 test ! -s conftest.err | |
24256 } && test -s conftest.$ac_objext; then | |
24257 emacs_cv_gettimeofday_two_arguments=yes | 12901 emacs_cv_gettimeofday_two_arguments=yes |
24258 else | 12902 else |
24259 $as_echo "$as_me: failed program was:" >&5 | 12903 emacs_cv_gettimeofday_two_arguments=no |
24260 sed 's/^/| /' conftest.$ac_ext >&5 | 12904 fi |
24261 | |
24262 emacs_cv_gettimeofday_two_arguments=no | |
24263 fi | |
24264 | |
24265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24266 fi | 12906 fi |
24267 { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
24268 $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } | 12908 $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } |
24269 if test $emacs_cv_gettimeofday_two_arguments = no; then | 12909 if test $emacs_cv_gettimeofday_two_arguments = no; then |
24270 | 12910 |
24271 cat >>confdefs.h <<\_ACEOF | 12911 $as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h |
24272 #define GETTIMEOFDAY_ONE_ARGUMENT 1 | |
24273 _ACEOF | |
24274 | 12912 |
24275 fi | 12913 fi |
24276 fi | 12914 fi |
24277 fi | 12915 fi |
24278 | 12916 |
24279 ok_so_far=yes | 12917 ok_so_far=yes |
24280 { $as_echo "$as_me:$LINENO: checking for socket" >&5 | 12918 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
24281 $as_echo_n "checking for socket... " >&6; } | 12919 if test "x$ac_cv_func_socket" = x""yes; then : |
24282 if test "${ac_cv_func_socket+set}" = set; then | 12920 |
24283 $as_echo_n "(cached) " >&6 | |
24284 else | |
24285 cat >conftest.$ac_ext <<_ACEOF | |
24286 /* confdefs.h. */ | |
24287 _ACEOF | |
24288 cat confdefs.h >>conftest.$ac_ext | |
24289 cat >>conftest.$ac_ext <<_ACEOF | |
24290 /* end confdefs.h. */ | |
24291 /* Define socket to an innocuous variant, in case <limits.h> declares socket. | |
24292 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
24293 #define socket innocuous_socket | |
24294 | |
24295 /* System header to define __stub macros and hopefully few prototypes, | |
24296 which can conflict with char socket (); below. | |
24297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
24298 <limits.h> exists even on freestanding compilers. */ | |
24299 | |
24300 #ifdef __STDC__ | |
24301 # include <limits.h> | |
24302 #else | |
24303 # include <assert.h> | |
24304 #endif | |
24305 | |
24306 #undef socket | |
24307 | |
24308 /* Override any GCC internal prototype to avoid an error. | |
24309 Use char because int might match the return type of a GCC | |
24310 builtin and then its argument prototype would still apply. */ | |
24311 #ifdef __cplusplus | |
24312 extern "C" | |
24313 #endif | |
24314 char socket (); | |
24315 /* The GNU C library defines this for functions which it implements | |
24316 to always fail with ENOSYS. Some functions are actually named | |
24317 something starting with __ and the normal name is an alias. */ | |
24318 #if defined __stub_socket || defined __stub___socket | |
24319 choke me | |
24320 #endif | |
24321 | |
24322 int | |
24323 main () | |
24324 { | |
24325 return socket (); | |
24326 ; | |
24327 return 0; | |
24328 } | |
24329 _ACEOF | |
24330 rm -f conftest.$ac_objext conftest$ac_exeext | |
24331 if { (ac_try="$ac_link" | |
24332 case "(($ac_try" in | |
24333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24334 *) ac_try_echo=$ac_try;; | |
24335 esac | |
24336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24337 $as_echo "$ac_try_echo") >&5 | |
24338 (eval "$ac_link") 2>conftest.er1 | |
24339 ac_status=$? | |
24340 grep -v '^ *+' conftest.er1 >conftest.err | |
24341 rm -f conftest.er1 | |
24342 cat conftest.err >&5 | |
24343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24344 (exit $ac_status); } && { | |
24345 test -z "$ac_c_werror_flag" || | |
24346 test ! -s conftest.err | |
24347 } && test -s conftest$ac_exeext && { | |
24348 test "$cross_compiling" = yes || | |
24349 $as_test_x conftest$ac_exeext | |
24350 }; then | |
24351 ac_cv_func_socket=yes | |
24352 else | |
24353 $as_echo "$as_me: failed program was:" >&5 | |
24354 sed 's/^/| /' conftest.$ac_ext >&5 | |
24355 | |
24356 ac_cv_func_socket=no | |
24357 fi | |
24358 | |
24359 rm -rf conftest.dSYM | |
24360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
24361 conftest$ac_exeext conftest.$ac_ext | |
24362 fi | |
24363 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | |
24364 $as_echo "$ac_cv_func_socket" >&6; } | |
24365 if test $ac_cv_func_socket = yes; then | |
24366 : | |
24367 else | 12921 else |
24368 ok_so_far=no | 12922 ok_so_far=no |
24369 fi | 12923 fi |
24370 | 12924 |
24371 if test $ok_so_far = yes; then | 12925 if test $ok_so_far = yes; then |
24372 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 12926 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" |
24373 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | 12927 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : |
24374 $as_echo_n "checking for netinet/in.h... " >&6; } | 12928 |
24375 if test "${ac_cv_header_netinet_in_h+set}" = set; then | |
24376 $as_echo_n "(cached) " >&6 | |
24377 fi | |
24378 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | |
24379 $as_echo "$ac_cv_header_netinet_in_h" >&6; } | |
24380 else | |
24381 # Is the header compilable? | |
24382 { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | |
24383 $as_echo_n "checking netinet/in.h usability... " >&6; } | |
24384 cat >conftest.$ac_ext <<_ACEOF | |
24385 /* confdefs.h. */ | |
24386 _ACEOF | |
24387 cat confdefs.h >>conftest.$ac_ext | |
24388 cat >>conftest.$ac_ext <<_ACEOF | |
24389 /* end confdefs.h. */ | |
24390 $ac_includes_default | |
24391 #include <netinet/in.h> | |
24392 _ACEOF | |
24393 rm -f conftest.$ac_objext | |
24394 if { (ac_try="$ac_compile" | |
24395 case "(($ac_try" in | |
24396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24397 *) ac_try_echo=$ac_try;; | |
24398 esac | |
24399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24400 $as_echo "$ac_try_echo") >&5 | |
24401 (eval "$ac_compile") 2>conftest.er1 | |
24402 ac_status=$? | |
24403 grep -v '^ *+' conftest.er1 >conftest.err | |
24404 rm -f conftest.er1 | |
24405 cat conftest.err >&5 | |
24406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24407 (exit $ac_status); } && { | |
24408 test -z "$ac_c_werror_flag" || | |
24409 test ! -s conftest.err | |
24410 } && test -s conftest.$ac_objext; then | |
24411 ac_header_compiler=yes | |
24412 else | |
24413 $as_echo "$as_me: failed program was:" >&5 | |
24414 sed 's/^/| /' conftest.$ac_ext >&5 | |
24415 | |
24416 ac_header_compiler=no | |
24417 fi | |
24418 | |
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
24420 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24421 $as_echo "$ac_header_compiler" >&6; } | |
24422 | |
24423 # Is the header present? | |
24424 { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | |
24425 $as_echo_n "checking netinet/in.h presence... " >&6; } | |
24426 cat >conftest.$ac_ext <<_ACEOF | |
24427 /* confdefs.h. */ | |
24428 _ACEOF | |
24429 cat confdefs.h >>conftest.$ac_ext | |
24430 cat >>conftest.$ac_ext <<_ACEOF | |
24431 /* end confdefs.h. */ | |
24432 #include <netinet/in.h> | |
24433 _ACEOF | |
24434 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
24435 case "(($ac_try" in | |
24436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24437 *) ac_try_echo=$ac_try;; | |
24438 esac | |
24439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24440 $as_echo "$ac_try_echo") >&5 | |
24441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24442 ac_status=$? | |
24443 grep -v '^ *+' conftest.er1 >conftest.err | |
24444 rm -f conftest.er1 | |
24445 cat conftest.err >&5 | |
24446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24447 (exit $ac_status); } >/dev/null && { | |
24448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
24449 test ! -s conftest.err | |
24450 }; then | |
24451 ac_header_preproc=yes | |
24452 else | |
24453 $as_echo "$as_me: failed program was:" >&5 | |
24454 sed 's/^/| /' conftest.$ac_ext >&5 | |
24455 | |
24456 ac_header_preproc=no | |
24457 fi | |
24458 | |
24459 rm -f conftest.err conftest.$ac_ext | |
24460 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
24461 $as_echo "$ac_header_preproc" >&6; } | |
24462 | |
24463 # So? What about this header? | |
24464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
24465 yes:no: ) | |
24466 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
24467 $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
24468 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 | |
24469 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} | |
24470 ac_header_preproc=yes | |
24471 ;; | |
24472 no:yes:* ) | |
24473 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 | |
24474 $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} | |
24475 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 | |
24476 $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} | |
24477 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 | |
24478 $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} | |
24479 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 | |
24480 $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
24481 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | |
24482 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} | |
24483 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 | |
24484 $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} | |
24485 | |
24486 ;; | |
24487 esac | |
24488 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | |
24489 $as_echo_n "checking for netinet/in.h... " >&6; } | |
24490 if test "${ac_cv_header_netinet_in_h+set}" = set; then | |
24491 $as_echo_n "(cached) " >&6 | |
24492 else | |
24493 ac_cv_header_netinet_in_h=$ac_header_preproc | |
24494 fi | |
24495 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | |
24496 $as_echo "$ac_cv_header_netinet_in_h" >&6; } | |
24497 | |
24498 fi | |
24499 if test $ac_cv_header_netinet_in_h = yes; then | |
24500 : | |
24501 else | 12929 else |
24502 ok_so_far=no | 12930 ok_so_far=no |
24503 fi | 12931 fi |
24504 | 12932 |
24505 | 12933 |
24506 fi | 12934 fi |
24507 if test $ok_so_far = yes; then | 12935 if test $ok_so_far = yes; then |
24508 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 12936 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" |
24509 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | 12937 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : |
24510 $as_echo_n "checking for arpa/inet.h... " >&6; } | 12938 |
24511 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | |
24512 $as_echo_n "(cached) " >&6 | |
24513 fi | |
24514 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | |
24515 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | |
24516 else | |
24517 # Is the header compilable? | |
24518 { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | |
24519 $as_echo_n "checking arpa/inet.h usability... " >&6; } | |
24520 cat >conftest.$ac_ext <<_ACEOF | |
24521 /* confdefs.h. */ | |
24522 _ACEOF | |
24523 cat confdefs.h >>conftest.$ac_ext | |
24524 cat >>conftest.$ac_ext <<_ACEOF | |
24525 /* end confdefs.h. */ | |
24526 $ac_includes_default | |
24527 #include <arpa/inet.h> | |
24528 _ACEOF | |
24529 rm -f conftest.$ac_objext | |
24530 if { (ac_try="$ac_compile" | |
24531 case "(($ac_try" in | |
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24533 *) ac_try_echo=$ac_try;; | |
24534 esac | |
24535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24536 $as_echo "$ac_try_echo") >&5 | |
24537 (eval "$ac_compile") 2>conftest.er1 | |
24538 ac_status=$? | |
24539 grep -v '^ *+' conftest.er1 >conftest.err | |
24540 rm -f conftest.er1 | |
24541 cat conftest.err >&5 | |
24542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24543 (exit $ac_status); } && { | |
24544 test -z "$ac_c_werror_flag" || | |
24545 test ! -s conftest.err | |
24546 } && test -s conftest.$ac_objext; then | |
24547 ac_header_compiler=yes | |
24548 else | |
24549 $as_echo "$as_me: failed program was:" >&5 | |
24550 sed 's/^/| /' conftest.$ac_ext >&5 | |
24551 | |
24552 ac_header_compiler=no | |
24553 fi | |
24554 | |
24555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
24556 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24557 $as_echo "$ac_header_compiler" >&6; } | |
24558 | |
24559 # Is the header present? | |
24560 { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | |
24561 $as_echo_n "checking arpa/inet.h presence... " >&6; } | |
24562 cat >conftest.$ac_ext <<_ACEOF | |
24563 /* confdefs.h. */ | |
24564 _ACEOF | |
24565 cat confdefs.h >>conftest.$ac_ext | |
24566 cat >>conftest.$ac_ext <<_ACEOF | |
24567 /* end confdefs.h. */ | |
24568 #include <arpa/inet.h> | |
24569 _ACEOF | |
24570 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
24571 case "(($ac_try" in | |
24572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24573 *) ac_try_echo=$ac_try;; | |
24574 esac | |
24575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24576 $as_echo "$ac_try_echo") >&5 | |
24577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24578 ac_status=$? | |
24579 grep -v '^ *+' conftest.er1 >conftest.err | |
24580 rm -f conftest.er1 | |
24581 cat conftest.err >&5 | |
24582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24583 (exit $ac_status); } >/dev/null && { | |
24584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
24585 test ! -s conftest.err | |
24586 }; then | |
24587 ac_header_preproc=yes | |
24588 else | |
24589 $as_echo "$as_me: failed program was:" >&5 | |
24590 sed 's/^/| /' conftest.$ac_ext >&5 | |
24591 | |
24592 ac_header_preproc=no | |
24593 fi | |
24594 | |
24595 rm -f conftest.err conftest.$ac_ext | |
24596 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
24597 $as_echo "$ac_header_preproc" >&6; } | |
24598 | |
24599 # So? What about this header? | |
24600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
24601 yes:no: ) | |
24602 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
24603 $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
24604 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 | |
24605 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} | |
24606 ac_header_preproc=yes | |
24607 ;; | |
24608 no:yes:* ) | |
24609 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 | |
24610 $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} | |
24611 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 | |
24612 $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} | |
24613 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 | |
24614 $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} | |
24615 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 | |
24616 $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
24617 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | |
24618 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} | |
24619 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 | |
24620 $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} | |
24621 | |
24622 ;; | |
24623 esac | |
24624 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | |
24625 $as_echo_n "checking for arpa/inet.h... " >&6; } | |
24626 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | |
24627 $as_echo_n "(cached) " >&6 | |
24628 else | |
24629 ac_cv_header_arpa_inet_h=$ac_header_preproc | |
24630 fi | |
24631 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | |
24632 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | |
24633 | |
24634 fi | |
24635 if test $ac_cv_header_arpa_inet_h = yes; then | |
24636 : | |
24637 else | 12939 else |
24638 ok_so_far=no | 12940 ok_so_far=no |
24639 fi | 12941 fi |
24640 | 12942 |
24641 | 12943 |
24642 fi | 12944 fi |
24643 if test $ok_so_far = yes; then | 12945 if test $ok_so_far = yes; then |
24644 | 12946 |
24645 cat >>confdefs.h <<\_ACEOF | 12947 $as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h |
24646 #define HAVE_INET_SOCKETS 1 | 12948 |
24647 _ACEOF | 12949 fi |
24648 | |
24649 fi | |
24650 | |
24651 | 12950 |
24652 for ac_header in sys/ioctl.h | 12951 for ac_header in sys/ioctl.h |
24653 do | 12952 do : |
24654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12953 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" |
24655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 12954 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : |
24656 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
24657 $as_echo_n "checking for $ac_header... " >&6; } | |
24658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24659 $as_echo_n "(cached) " >&6 | |
24660 fi | |
24661 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
24662 $as_echo "$as_val"'` | |
24663 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24664 $as_echo "$ac_res" >&6; } | |
24665 else | |
24666 # Is the header compilable? | |
24667 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
24668 $as_echo_n "checking $ac_header usability... " >&6; } | |
24669 cat >conftest.$ac_ext <<_ACEOF | |
24670 /* confdefs.h. */ | |
24671 _ACEOF | |
24672 cat confdefs.h >>conftest.$ac_ext | |
24673 cat >>conftest.$ac_ext <<_ACEOF | |
24674 /* end confdefs.h. */ | |
24675 $ac_includes_default | |
24676 #include <$ac_header> | |
24677 _ACEOF | |
24678 rm -f conftest.$ac_objext | |
24679 if { (ac_try="$ac_compile" | |
24680 case "(($ac_try" in | |
24681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24682 *) ac_try_echo=$ac_try;; | |
24683 esac | |
24684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24685 $as_echo "$ac_try_echo") >&5 | |
24686 (eval "$ac_compile") 2>conftest.er1 | |
24687 ac_status=$? | |
24688 grep -v '^ *+' conftest.er1 >conftest.err | |
24689 rm -f conftest.er1 | |
24690 cat conftest.err >&5 | |
24691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24692 (exit $ac_status); } && { | |
24693 test -z "$ac_c_werror_flag" || | |
24694 test ! -s conftest.err | |
24695 } && test -s conftest.$ac_objext; then | |
24696 ac_header_compiler=yes | |
24697 else | |
24698 $as_echo "$as_me: failed program was:" >&5 | |
24699 sed 's/^/| /' conftest.$ac_ext >&5 | |
24700 | |
24701 ac_header_compiler=no | |
24702 fi | |
24703 | |
24704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
24705 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24706 $as_echo "$ac_header_compiler" >&6; } | |
24707 | |
24708 # Is the header present? | |
24709 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
24710 $as_echo_n "checking $ac_header presence... " >&6; } | |
24711 cat >conftest.$ac_ext <<_ACEOF | |
24712 /* confdefs.h. */ | |
24713 _ACEOF | |
24714 cat confdefs.h >>conftest.$ac_ext | |
24715 cat >>conftest.$ac_ext <<_ACEOF | |
24716 /* end confdefs.h. */ | |
24717 #include <$ac_header> | |
24718 _ACEOF | |
24719 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
24720 case "(($ac_try" in | |
24721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24722 *) ac_try_echo=$ac_try;; | |
24723 esac | |
24724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24725 $as_echo "$ac_try_echo") >&5 | |
24726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24727 ac_status=$? | |
24728 grep -v '^ *+' conftest.er1 >conftest.err | |
24729 rm -f conftest.er1 | |
24730 cat conftest.err >&5 | |
24731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24732 (exit $ac_status); } >/dev/null && { | |
24733 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
24734 test ! -s conftest.err | |
24735 }; then | |
24736 ac_header_preproc=yes | |
24737 else | |
24738 $as_echo "$as_me: failed program was:" >&5 | |
24739 sed 's/^/| /' conftest.$ac_ext >&5 | |
24740 | |
24741 ac_header_preproc=no | |
24742 fi | |
24743 | |
24744 rm -f conftest.err conftest.$ac_ext | |
24745 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
24746 $as_echo "$ac_header_preproc" >&6; } | |
24747 | |
24748 # So? What about this header? | |
24749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
24750 yes:no: ) | |
24751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
24752 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
24753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
24754 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
24755 ac_header_preproc=yes | |
24756 ;; | |
24757 no:yes:* ) | |
24758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
24759 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
24760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
24761 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
24762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
24763 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
24764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
24765 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
24766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
24767 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
24768 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
24769 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
24770 | |
24771 ;; | |
24772 esac | |
24773 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
24774 $as_echo_n "checking for $ac_header... " >&6; } | |
24775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24776 $as_echo_n "(cached) " >&6 | |
24777 else | |
24778 eval "$as_ac_Header=\$ac_header_preproc" | |
24779 fi | |
24780 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
24781 $as_echo "$as_val"'` | |
24782 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24783 $as_echo "$ac_res" >&6; } | |
24784 | |
24785 fi | |
24786 if test `eval 'as_val=${'$as_ac_Header'} | |
24787 $as_echo "$as_val"'` = yes; then | |
24788 cat >>confdefs.h <<_ACEOF | 12955 cat >>confdefs.h <<_ACEOF |
24789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12956 #define HAVE_SYS_IOCTL_H 1 |
24790 _ACEOF | 12957 _ACEOF |
24791 | 12958 |
24792 fi | 12959 fi |
24793 | 12960 |
24794 done | 12961 done |
24795 | 12962 |
24796 | 12963 |
24797 if test -f /usr/lpp/X11/bin/smt.exp; then | 12964 if test -f /usr/lpp/X11/bin/smt.exp; then |
24798 | 12965 |
24799 cat >>confdefs.h <<\_ACEOF | 12966 $as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h |
24800 #define HAVE_AIX_SMT_EXP 1 | 12967 |
24801 _ACEOF | 12968 fi |
24802 | 12969 |
24803 fi | 12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5 |
24804 | |
24805 { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 | |
24806 $as_echo_n "checking whether system supports dynamic ptys... " >&6; } | 12971 $as_echo_n "checking whether system supports dynamic ptys... " >&6; } |
24807 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 12972 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
24808 { $as_echo "$as_me:$LINENO: result: yes" >&5 | 12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
24809 $as_echo "yes" >&6; } | 12974 $as_echo "yes" >&6; } |
24810 | 12975 |
24811 cat >>confdefs.h <<\_ACEOF | 12976 $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h |
24812 #define HAVE_DEV_PTMX 1 | 12977 |
24813 _ACEOF | 12978 else |
24814 | 12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
24815 else | |
24816 { $as_echo "$as_me:$LINENO: result: no" >&5 | |
24817 $as_echo "no" >&6; } | 12980 $as_echo "no" >&6; } |
24818 fi | 12981 fi |
24819 | 12982 |
24820 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 | 12983 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
24821 $as_echo_n "checking for pid_t... " >&6; } | 12984 if test "x$ac_cv_type_pid_t" = x""yes; then : |
24822 if test "${ac_cv_type_pid_t+set}" = set; then | 12985 |
12986 else | |
12987 | |
12988 cat >>confdefs.h <<_ACEOF | |
12989 #define pid_t int | |
12990 _ACEOF | |
12991 | |
12992 fi | |
12993 | |
12994 for ac_header in vfork.h | |
12995 do : | |
12996 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" | |
12997 if test "x$ac_cv_header_vfork_h" = x""yes; then : | |
12998 cat >>confdefs.h <<_ACEOF | |
12999 #define HAVE_VFORK_H 1 | |
13000 _ACEOF | |
13001 | |
13002 fi | |
13003 | |
13004 done | |
13005 | |
13006 for ac_func in fork vfork | |
13007 do : | |
13008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
13009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
13010 eval as_val=\$$as_ac_var | |
13011 if test "x$as_val" = x""yes; then : | |
13012 cat >>confdefs.h <<_ACEOF | |
13013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
13014 _ACEOF | |
13015 | |
13016 fi | |
13017 done | |
13018 | |
13019 if test "x$ac_cv_func_fork" = xyes; then | |
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 | |
13021 $as_echo_n "checking for working fork... " >&6; } | |
13022 if test "${ac_cv_func_fork_works+set}" = set; then : | |
24823 $as_echo_n "(cached) " >&6 | 13023 $as_echo_n "(cached) " >&6 |
24824 else | 13024 else |
24825 ac_cv_type_pid_t=no | 13025 if test "$cross_compiling" = yes; then : |
24826 cat >conftest.$ac_ext <<_ACEOF | 13026 ac_cv_func_fork_works=cross |
24827 /* confdefs.h. */ | 13027 else |
24828 _ACEOF | 13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24829 cat confdefs.h >>conftest.$ac_ext | |
24830 cat >>conftest.$ac_ext <<_ACEOF | |
24831 /* end confdefs.h. */ | 13029 /* end confdefs.h. */ |
24832 $ac_includes_default | 13030 $ac_includes_default |
24833 int | 13031 int |
24834 main () | 13032 main () |
24835 { | 13033 { |
24836 if (sizeof (pid_t)) | 13034 |
24837 return 0; | 13035 /* By Ruediger Kuhlmann. */ |
13036 return fork () < 0; | |
13037 | |
24838 ; | 13038 ; |
24839 return 0; | 13039 return 0; |
24840 } | 13040 } |
24841 _ACEOF | 13041 _ACEOF |
24842 rm -f conftest.$ac_objext | 13042 if ac_fn_c_try_run "$LINENO"; then : |
24843 if { (ac_try="$ac_compile" | |
24844 case "(($ac_try" in | |
24845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24846 *) ac_try_echo=$ac_try;; | |
24847 esac | |
24848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24849 $as_echo "$ac_try_echo") >&5 | |
24850 (eval "$ac_compile") 2>conftest.er1 | |
24851 ac_status=$? | |
24852 grep -v '^ *+' conftest.er1 >conftest.err | |
24853 rm -f conftest.er1 | |
24854 cat conftest.err >&5 | |
24855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24856 (exit $ac_status); } && { | |
24857 test -z "$ac_c_werror_flag" || | |
24858 test ! -s conftest.err | |
24859 } && test -s conftest.$ac_objext; then | |
24860 cat >conftest.$ac_ext <<_ACEOF | |
24861 /* confdefs.h. */ | |
24862 _ACEOF | |
24863 cat confdefs.h >>conftest.$ac_ext | |
24864 cat >>conftest.$ac_ext <<_ACEOF | |
24865 /* end confdefs.h. */ | |
24866 $ac_includes_default | |
24867 int | |
24868 main () | |
24869 { | |
24870 if (sizeof ((pid_t))) | |
24871 return 0; | |
24872 ; | |
24873 return 0; | |
24874 } | |
24875 _ACEOF | |
24876 rm -f conftest.$ac_objext | |
24877 if { (ac_try="$ac_compile" | |
24878 case "(($ac_try" in | |
24879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24880 *) ac_try_echo=$ac_try;; | |
24881 esac | |
24882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24883 $as_echo "$ac_try_echo") >&5 | |
24884 (eval "$ac_compile") 2>conftest.er1 | |
24885 ac_status=$? | |
24886 grep -v '^ *+' conftest.er1 >conftest.err | |
24887 rm -f conftest.er1 | |
24888 cat conftest.err >&5 | |
24889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24890 (exit $ac_status); } && { | |
24891 test -z "$ac_c_werror_flag" || | |
24892 test ! -s conftest.err | |
24893 } && test -s conftest.$ac_objext; then | |
24894 : | |
24895 else | |
24896 $as_echo "$as_me: failed program was:" >&5 | |
24897 sed 's/^/| /' conftest.$ac_ext >&5 | |
24898 | |
24899 ac_cv_type_pid_t=yes | |
24900 fi | |
24901 | |
24902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
24903 else | |
24904 $as_echo "$as_me: failed program was:" >&5 | |
24905 sed 's/^/| /' conftest.$ac_ext >&5 | |
24906 | |
24907 | |
24908 fi | |
24909 | |
24910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
24911 fi | |
24912 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | |
24913 $as_echo "$ac_cv_type_pid_t" >&6; } | |
24914 if test $ac_cv_type_pid_t = yes; then | |
24915 : | |
24916 else | |
24917 | |
24918 cat >>confdefs.h <<_ACEOF | |
24919 #define pid_t int | |
24920 _ACEOF | |
24921 | |
24922 fi | |
24923 | |
24924 | |
24925 for ac_header in vfork.h | |
24926 do | |
24927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
24928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24929 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
24930 $as_echo_n "checking for $ac_header... " >&6; } | |
24931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24932 $as_echo_n "(cached) " >&6 | |
24933 fi | |
24934 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
24935 $as_echo "$as_val"'` | |
24936 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24937 $as_echo "$ac_res" >&6; } | |
24938 else | |
24939 # Is the header compilable? | |
24940 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
24941 $as_echo_n "checking $ac_header usability... " >&6; } | |
24942 cat >conftest.$ac_ext <<_ACEOF | |
24943 /* confdefs.h. */ | |
24944 _ACEOF | |
24945 cat confdefs.h >>conftest.$ac_ext | |
24946 cat >>conftest.$ac_ext <<_ACEOF | |
24947 /* end confdefs.h. */ | |
24948 $ac_includes_default | |
24949 #include <$ac_header> | |
24950 _ACEOF | |
24951 rm -f conftest.$ac_objext | |
24952 if { (ac_try="$ac_compile" | |
24953 case "(($ac_try" in | |
24954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24955 *) ac_try_echo=$ac_try;; | |
24956 esac | |
24957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24958 $as_echo "$ac_try_echo") >&5 | |
24959 (eval "$ac_compile") 2>conftest.er1 | |
24960 ac_status=$? | |
24961 grep -v '^ *+' conftest.er1 >conftest.err | |
24962 rm -f conftest.er1 | |
24963 cat conftest.err >&5 | |
24964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24965 (exit $ac_status); } && { | |
24966 test -z "$ac_c_werror_flag" || | |
24967 test ! -s conftest.err | |
24968 } && test -s conftest.$ac_objext; then | |
24969 ac_header_compiler=yes | |
24970 else | |
24971 $as_echo "$as_me: failed program was:" >&5 | |
24972 sed 's/^/| /' conftest.$ac_ext >&5 | |
24973 | |
24974 ac_header_compiler=no | |
24975 fi | |
24976 | |
24977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
24978 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24979 $as_echo "$ac_header_compiler" >&6; } | |
24980 | |
24981 # Is the header present? | |
24982 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
24983 $as_echo_n "checking $ac_header presence... " >&6; } | |
24984 cat >conftest.$ac_ext <<_ACEOF | |
24985 /* confdefs.h. */ | |
24986 _ACEOF | |
24987 cat confdefs.h >>conftest.$ac_ext | |
24988 cat >>conftest.$ac_ext <<_ACEOF | |
24989 /* end confdefs.h. */ | |
24990 #include <$ac_header> | |
24991 _ACEOF | |
24992 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
24993 case "(($ac_try" in | |
24994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24995 *) ac_try_echo=$ac_try;; | |
24996 esac | |
24997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24998 $as_echo "$ac_try_echo") >&5 | |
24999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
25000 ac_status=$? | |
25001 grep -v '^ *+' conftest.er1 >conftest.err | |
25002 rm -f conftest.er1 | |
25003 cat conftest.err >&5 | |
25004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25005 (exit $ac_status); } >/dev/null && { | |
25006 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
25007 test ! -s conftest.err | |
25008 }; then | |
25009 ac_header_preproc=yes | |
25010 else | |
25011 $as_echo "$as_me: failed program was:" >&5 | |
25012 sed 's/^/| /' conftest.$ac_ext >&5 | |
25013 | |
25014 ac_header_preproc=no | |
25015 fi | |
25016 | |
25017 rm -f conftest.err conftest.$ac_ext | |
25018 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
25019 $as_echo "$ac_header_preproc" >&6; } | |
25020 | |
25021 # So? What about this header? | |
25022 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
25023 yes:no: ) | |
25024 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
25025 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
25026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
25027 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
25028 ac_header_preproc=yes | |
25029 ;; | |
25030 no:yes:* ) | |
25031 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
25032 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
25033 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
25034 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
25035 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
25036 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
25037 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
25038 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
25039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
25040 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
25041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
25042 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
25043 | |
25044 ;; | |
25045 esac | |
25046 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
25047 $as_echo_n "checking for $ac_header... " >&6; } | |
25048 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
25049 $as_echo_n "(cached) " >&6 | |
25050 else | |
25051 eval "$as_ac_Header=\$ac_header_preproc" | |
25052 fi | |
25053 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
25054 $as_echo "$as_val"'` | |
25055 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
25056 $as_echo "$ac_res" >&6; } | |
25057 | |
25058 fi | |
25059 if test `eval 'as_val=${'$as_ac_Header'} | |
25060 $as_echo "$as_val"'` = yes; then | |
25061 cat >>confdefs.h <<_ACEOF | |
25062 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
25063 _ACEOF | |
25064 | |
25065 fi | |
25066 | |
25067 done | |
25068 | |
25069 | |
25070 | |
25071 for ac_func in fork vfork | |
25072 do | |
25073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
25074 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
25075 $as_echo_n "checking for $ac_func... " >&6; } | |
25076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
25077 $as_echo_n "(cached) " >&6 | |
25078 else | |
25079 cat >conftest.$ac_ext <<_ACEOF | |
25080 /* confdefs.h. */ | |
25081 _ACEOF | |
25082 cat confdefs.h >>conftest.$ac_ext | |
25083 cat >>conftest.$ac_ext <<_ACEOF | |
25084 /* end confdefs.h. */ | |
25085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
25086 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
25087 #define $ac_func innocuous_$ac_func | |
25088 | |
25089 /* System header to define __stub macros and hopefully few prototypes, | |
25090 which can conflict with char $ac_func (); below. | |
25091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
25092 <limits.h> exists even on freestanding compilers. */ | |
25093 | |
25094 #ifdef __STDC__ | |
25095 # include <limits.h> | |
25096 #else | |
25097 # include <assert.h> | |
25098 #endif | |
25099 | |
25100 #undef $ac_func | |
25101 | |
25102 /* Override any GCC internal prototype to avoid an error. | |
25103 Use char because int might match the return type of a GCC | |
25104 builtin and then its argument prototype would still apply. */ | |
25105 #ifdef __cplusplus | |
25106 extern "C" | |
25107 #endif | |
25108 char $ac_func (); | |
25109 /* The GNU C library defines this for functions which it implements | |
25110 to always fail with ENOSYS. Some functions are actually named | |
25111 something starting with __ and the normal name is an alias. */ | |
25112 #if defined __stub_$ac_func || defined __stub___$ac_func | |
25113 choke me | |
25114 #endif | |
25115 | |
25116 int | |
25117 main () | |
25118 { | |
25119 return $ac_func (); | |
25120 ; | |
25121 return 0; | |
25122 } | |
25123 _ACEOF | |
25124 rm -f conftest.$ac_objext conftest$ac_exeext | |
25125 if { (ac_try="$ac_link" | |
25126 case "(($ac_try" in | |
25127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25128 *) ac_try_echo=$ac_try;; | |
25129 esac | |
25130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25131 $as_echo "$ac_try_echo") >&5 | |
25132 (eval "$ac_link") 2>conftest.er1 | |
25133 ac_status=$? | |
25134 grep -v '^ *+' conftest.er1 >conftest.err | |
25135 rm -f conftest.er1 | |
25136 cat conftest.err >&5 | |
25137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25138 (exit $ac_status); } && { | |
25139 test -z "$ac_c_werror_flag" || | |
25140 test ! -s conftest.err | |
25141 } && test -s conftest$ac_exeext && { | |
25142 test "$cross_compiling" = yes || | |
25143 $as_test_x conftest$ac_exeext | |
25144 }; then | |
25145 eval "$as_ac_var=yes" | |
25146 else | |
25147 $as_echo "$as_me: failed program was:" >&5 | |
25148 sed 's/^/| /' conftest.$ac_ext >&5 | |
25149 | |
25150 eval "$as_ac_var=no" | |
25151 fi | |
25152 | |
25153 rm -rf conftest.dSYM | |
25154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
25155 conftest$ac_exeext conftest.$ac_ext | |
25156 fi | |
25157 ac_res=`eval 'as_val=${'$as_ac_var'} | |
25158 $as_echo "$as_val"'` | |
25159 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
25160 $as_echo "$ac_res" >&6; } | |
25161 if test `eval 'as_val=${'$as_ac_var'} | |
25162 $as_echo "$as_val"'` = yes; then | |
25163 cat >>confdefs.h <<_ACEOF | |
25164 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
25165 _ACEOF | |
25166 | |
25167 fi | |
25168 done | |
25169 | |
25170 if test "x$ac_cv_func_fork" = xyes; then | |
25171 { $as_echo "$as_me:$LINENO: checking for working fork" >&5 | |
25172 $as_echo_n "checking for working fork... " >&6; } | |
25173 if test "${ac_cv_func_fork_works+set}" = set; then | |
25174 $as_echo_n "(cached) " >&6 | |
25175 else | |
25176 if test "$cross_compiling" = yes; then | |
25177 ac_cv_func_fork_works=cross | |
25178 else | |
25179 cat >conftest.$ac_ext <<_ACEOF | |
25180 /* confdefs.h. */ | |
25181 _ACEOF | |
25182 cat confdefs.h >>conftest.$ac_ext | |
25183 cat >>conftest.$ac_ext <<_ACEOF | |
25184 /* end confdefs.h. */ | |
25185 $ac_includes_default | |
25186 int | |
25187 main () | |
25188 { | |
25189 | |
25190 /* By Ruediger Kuhlmann. */ | |
25191 return fork () < 0; | |
25192 | |
25193 ; | |
25194 return 0; | |
25195 } | |
25196 _ACEOF | |
25197 rm -f conftest$ac_exeext | |
25198 if { (ac_try="$ac_link" | |
25199 case "(($ac_try" in | |
25200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25201 *) ac_try_echo=$ac_try;; | |
25202 esac | |
25203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25204 $as_echo "$ac_try_echo") >&5 | |
25205 (eval "$ac_link") 2>&5 | |
25206 ac_status=$? | |
25207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
25209 { (case "(($ac_try" in | |
25210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25211 *) ac_try_echo=$ac_try;; | |
25212 esac | |
25213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25214 $as_echo "$ac_try_echo") >&5 | |
25215 (eval "$ac_try") 2>&5 | |
25216 ac_status=$? | |
25217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25218 (exit $ac_status); }; }; then | |
25219 ac_cv_func_fork_works=yes | 13043 ac_cv_func_fork_works=yes |
25220 else | 13044 else |
25221 $as_echo "$as_me: program exited with status $ac_status" >&5 | 13045 ac_cv_func_fork_works=no |
25222 $as_echo "$as_me: failed program was:" >&5 | 13046 fi |
25223 sed 's/^/| /' conftest.$ac_ext >&5 | 13047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
25224 | 13048 conftest.$ac_objext conftest.beam conftest.$ac_ext |
25225 ( exit $ac_status ) | 13049 fi |
25226 ac_cv_func_fork_works=no | 13050 |
25227 fi | 13051 fi |
25228 rm -rf conftest.dSYM | 13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 |
25229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
25230 fi | |
25231 | |
25232 | |
25233 fi | |
25234 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 | |
25235 $as_echo "$ac_cv_func_fork_works" >&6; } | 13053 $as_echo "$ac_cv_func_fork_works" >&6; } |
25236 | 13054 |
25237 else | 13055 else |
25238 ac_cv_func_fork_works=$ac_cv_func_fork | 13056 ac_cv_func_fork_works=$ac_cv_func_fork |
25239 fi | 13057 fi |
25245 ;; | 13063 ;; |
25246 *) | 13064 *) |
25247 ac_cv_func_fork_works=yes | 13065 ac_cv_func_fork_works=yes |
25248 ;; | 13066 ;; |
25249 esac | 13067 esac |
25250 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 13068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
25251 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 13069 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
25252 fi | 13070 fi |
25253 ac_cv_func_vfork_works=$ac_cv_func_vfork | 13071 ac_cv_func_vfork_works=$ac_cv_func_vfork |
25254 if test "x$ac_cv_func_vfork" = xyes; then | 13072 if test "x$ac_cv_func_vfork" = xyes; then |
25255 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 | 13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 |
25256 $as_echo_n "checking for working vfork... " >&6; } | 13074 $as_echo_n "checking for working vfork... " >&6; } |
25257 if test "${ac_cv_func_vfork_works+set}" = set; then | 13075 if test "${ac_cv_func_vfork_works+set}" = set; then : |
25258 $as_echo_n "(cached) " >&6 | 13076 $as_echo_n "(cached) " >&6 |
25259 else | 13077 else |
25260 if test "$cross_compiling" = yes; then | 13078 if test "$cross_compiling" = yes; then : |
25261 ac_cv_func_vfork_works=cross | 13079 ac_cv_func_vfork_works=cross |
25262 else | 13080 else |
25263 cat >conftest.$ac_ext <<_ACEOF | 13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
25264 /* confdefs.h. */ | |
25265 _ACEOF | |
25266 cat confdefs.h >>conftest.$ac_ext | |
25267 cat >>conftest.$ac_ext <<_ACEOF | |
25268 /* end confdefs.h. */ | 13082 /* end confdefs.h. */ |
25269 /* Thanks to Paul Eggert for this test. */ | 13083 /* Thanks to Paul Eggert for this test. */ |
25270 $ac_includes_default | 13084 $ac_includes_default |
25271 #include <sys/wait.h> | 13085 #include <sys/wait.h> |
25272 #ifdef HAVE_VFORK_H | 13086 #ifdef HAVE_VFORK_H |
25354 || fstat(fileno(stdout), &st) != 0 | 13168 || fstat(fileno(stdout), &st) != 0 |
25355 ); | 13169 ); |
25356 } | 13170 } |
25357 } | 13171 } |
25358 _ACEOF | 13172 _ACEOF |
25359 rm -f conftest$ac_exeext | 13173 if ac_fn_c_try_run "$LINENO"; then : |
25360 if { (ac_try="$ac_link" | |
25361 case "(($ac_try" in | |
25362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25363 *) ac_try_echo=$ac_try;; | |
25364 esac | |
25365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25366 $as_echo "$ac_try_echo") >&5 | |
25367 (eval "$ac_link") 2>&5 | |
25368 ac_status=$? | |
25369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
25371 { (case "(($ac_try" in | |
25372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25373 *) ac_try_echo=$ac_try;; | |
25374 esac | |
25375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25376 $as_echo "$ac_try_echo") >&5 | |
25377 (eval "$ac_try") 2>&5 | |
25378 ac_status=$? | |
25379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25380 (exit $ac_status); }; }; then | |
25381 ac_cv_func_vfork_works=yes | 13174 ac_cv_func_vfork_works=yes |
25382 else | 13175 else |
25383 $as_echo "$as_me: program exited with status $ac_status" >&5 | 13176 ac_cv_func_vfork_works=no |
25384 $as_echo "$as_me: failed program was:" >&5 | 13177 fi |
25385 sed 's/^/| /' conftest.$ac_ext >&5 | 13178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
25386 | 13179 conftest.$ac_objext conftest.beam conftest.$ac_ext |
25387 ( exit $ac_status ) | 13180 fi |
25388 ac_cv_func_vfork_works=no | 13181 |
25389 fi | 13182 fi |
25390 rm -rf conftest.dSYM | 13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 |
25391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
25392 fi | |
25393 | |
25394 | |
25395 fi | |
25396 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 | |
25397 $as_echo "$ac_cv_func_vfork_works" >&6; } | 13184 $as_echo "$ac_cv_func_vfork_works" >&6; } |
25398 | 13185 |
25399 fi; | 13186 fi; |
25400 if test "x$ac_cv_func_fork_works" = xcross; then | 13187 if test "x$ac_cv_func_fork_works" = xcross; then |
25401 ac_cv_func_vfork_works=$ac_cv_func_vfork | 13188 ac_cv_func_vfork_works=$ac_cv_func_vfork |
25402 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 13189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
25403 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} | 13190 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
25404 fi | 13191 fi |
25405 | 13192 |
25406 if test "x$ac_cv_func_vfork_works" = xyes; then | 13193 if test "x$ac_cv_func_vfork_works" = xyes; then |
25407 | 13194 |
25408 cat >>confdefs.h <<\_ACEOF | 13195 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h |
25409 #define HAVE_WORKING_VFORK 1 | 13196 |
25410 _ACEOF | 13197 else |
25411 | 13198 |
25412 else | 13199 $as_echo "#define vfork fork" >>confdefs.h |
25413 | |
25414 cat >>confdefs.h <<\_ACEOF | |
25415 #define vfork fork | |
25416 _ACEOF | |
25417 | 13200 |
25418 fi | 13201 fi |
25419 if test "x$ac_cv_func_fork_works" = xyes; then | 13202 if test "x$ac_cv_func_fork_works" = xyes; then |
25420 | 13203 |
25421 cat >>confdefs.h <<\_ACEOF | 13204 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h |
25422 #define HAVE_WORKING_FORK 1 | 13205 |
25423 _ACEOF | 13206 fi |
25424 | 13207 |
25425 fi | 13208 |
25426 | 13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 |
25427 | |
25428 { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 | |
25429 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } | 13210 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } |
25430 if test "${emacs_cv_langinfo_codeset+set}" = set; then | 13211 if test "${emacs_cv_langinfo_codeset+set}" = set; then : |
25431 $as_echo_n "(cached) " >&6 | 13212 $as_echo_n "(cached) " >&6 |
25432 else | 13213 else |
25433 cat >conftest.$ac_ext <<_ACEOF | 13214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
25434 /* confdefs.h. */ | |
25435 _ACEOF | |
25436 cat confdefs.h >>conftest.$ac_ext | |
25437 cat >>conftest.$ac_ext <<_ACEOF | |
25438 /* end confdefs.h. */ | 13215 /* end confdefs.h. */ |
25439 #include <langinfo.h> | 13216 #include <langinfo.h> |
25440 int | 13217 int |
25441 main () | 13218 main () |
25442 { | 13219 { |
25443 char* cs = nl_langinfo(CODESET); | 13220 char* cs = nl_langinfo(CODESET); |
25444 ; | 13221 ; |
25445 return 0; | 13222 return 0; |
25446 } | 13223 } |
25447 _ACEOF | 13224 _ACEOF |
25448 rm -f conftest.$ac_objext conftest$ac_exeext | 13225 if ac_fn_c_try_link "$LINENO"; then : |
25449 if { (ac_try="$ac_link" | |
25450 case "(($ac_try" in | |
25451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25452 *) ac_try_echo=$ac_try;; | |
25453 esac | |
25454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25455 $as_echo "$ac_try_echo") >&5 | |
25456 (eval "$ac_link") 2>conftest.er1 | |
25457 ac_status=$? | |
25458 grep -v '^ *+' conftest.er1 >conftest.err | |
25459 rm -f conftest.er1 | |
25460 cat conftest.err >&5 | |
25461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25462 (exit $ac_status); } && { | |
25463 test -z "$ac_c_werror_flag" || | |
25464 test ! -s conftest.err | |
25465 } && test -s conftest$ac_exeext && { | |
25466 test "$cross_compiling" = yes || | |
25467 $as_test_x conftest$ac_exeext | |
25468 }; then | |
25469 emacs_cv_langinfo_codeset=yes | 13226 emacs_cv_langinfo_codeset=yes |
25470 else | 13227 else |
25471 $as_echo "$as_me: failed program was:" >&5 | 13228 emacs_cv_langinfo_codeset=no |
25472 sed 's/^/| /' conftest.$ac_ext >&5 | 13229 fi |
25473 | 13230 rm -f core conftest.err conftest.$ac_objext \ |
25474 emacs_cv_langinfo_codeset=no | 13231 conftest$ac_exeext conftest.$ac_ext |
25475 fi | 13232 |
25476 | 13233 fi |
25477 rm -rf conftest.dSYM | 13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5 |
25478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
25479 conftest$ac_exeext conftest.$ac_ext | |
25480 | |
25481 fi | |
25482 { $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 | |
25483 $as_echo "$emacs_cv_langinfo_codeset" >&6; } | 13235 $as_echo "$emacs_cv_langinfo_codeset" >&6; } |
25484 if test $emacs_cv_langinfo_codeset = yes; then | 13236 if test $emacs_cv_langinfo_codeset = yes; then |
25485 | 13237 |
25486 cat >>confdefs.h <<\_ACEOF | 13238 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h |
25487 #define HAVE_LANGINFO_CODESET 1 | 13239 |
25488 _ACEOF | 13240 fi |
25489 | 13241 |
25490 fi | 13242 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
25491 | 13243 if test "x$ac_cv_type_size_t" = x""yes; then : |
25492 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 | |
25493 $as_echo_n "checking for size_t... " >&6; } | |
25494 if test "${ac_cv_type_size_t+set}" = set; then | |
25495 $as_echo_n "(cached) " >&6 | |
25496 else | |
25497 ac_cv_type_size_t=no | |
25498 cat >conftest.$ac_ext <<_ACEOF | |
25499 /* confdefs.h. */ | |
25500 _ACEOF | |
25501 cat confdefs.h >>conftest.$ac_ext | |
25502 cat >>conftest.$ac_ext <<_ACEOF | |
25503 /* end confdefs.h. */ | |
25504 $ac_includes_default | |
25505 int | |
25506 main () | |
25507 { | |
25508 if (sizeof (size_t)) | |
25509 return 0; | |
25510 ; | |
25511 return 0; | |
25512 } | |
25513 _ACEOF | |
25514 rm -f conftest.$ac_objext | |
25515 if { (ac_try="$ac_compile" | |
25516 case "(($ac_try" in | |
25517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25518 *) ac_try_echo=$ac_try;; | |
25519 esac | |
25520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25521 $as_echo "$ac_try_echo") >&5 | |
25522 (eval "$ac_compile") 2>conftest.er1 | |
25523 ac_status=$? | |
25524 grep -v '^ *+' conftest.er1 >conftest.err | |
25525 rm -f conftest.er1 | |
25526 cat conftest.err >&5 | |
25527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25528 (exit $ac_status); } && { | |
25529 test -z "$ac_c_werror_flag" || | |
25530 test ! -s conftest.err | |
25531 } && test -s conftest.$ac_objext; then | |
25532 cat >conftest.$ac_ext <<_ACEOF | |
25533 /* confdefs.h. */ | |
25534 _ACEOF | |
25535 cat confdefs.h >>conftest.$ac_ext | |
25536 cat >>conftest.$ac_ext <<_ACEOF | |
25537 /* end confdefs.h. */ | |
25538 $ac_includes_default | |
25539 int | |
25540 main () | |
25541 { | |
25542 if (sizeof ((size_t))) | |
25543 return 0; | |
25544 ; | |
25545 return 0; | |
25546 } | |
25547 _ACEOF | |
25548 rm -f conftest.$ac_objext | |
25549 if { (ac_try="$ac_compile" | |
25550 case "(($ac_try" in | |
25551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25552 *) ac_try_echo=$ac_try;; | |
25553 esac | |
25554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25555 $as_echo "$ac_try_echo") >&5 | |
25556 (eval "$ac_compile") 2>conftest.er1 | |
25557 ac_status=$? | |
25558 grep -v '^ *+' conftest.er1 >conftest.err | |
25559 rm -f conftest.er1 | |
25560 cat conftest.err >&5 | |
25561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25562 (exit $ac_status); } && { | |
25563 test -z "$ac_c_werror_flag" || | |
25564 test ! -s conftest.err | |
25565 } && test -s conftest.$ac_objext; then | |
25566 : | |
25567 else | |
25568 $as_echo "$as_me: failed program was:" >&5 | |
25569 sed 's/^/| /' conftest.$ac_ext >&5 | |
25570 | |
25571 ac_cv_type_size_t=yes | |
25572 fi | |
25573 | |
25574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
25575 else | |
25576 $as_echo "$as_me: failed program was:" >&5 | |
25577 sed 's/^/| /' conftest.$ac_ext >&5 | |
25578 | |
25579 | |
25580 fi | |
25581 | |
25582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
25583 fi | |
25584 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | |
25585 $as_echo "$ac_cv_type_size_t" >&6; } | |
25586 if test $ac_cv_type_size_t = yes; then | |
25587 | 13244 |
25588 cat >>confdefs.h <<_ACEOF | 13245 cat >>confdefs.h <<_ACEOF |
25589 #define HAVE_SIZE_T 1 | 13246 #define HAVE_SIZE_T 1 |
25590 _ACEOF | 13247 _ACEOF |
25591 | 13248 |
25592 | 13249 |
25593 fi | 13250 fi |
25594 | 13251 |
25595 | 13252 |
25596 { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 | 13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 |
25597 $as_echo_n "checking for mbstate_t... " >&6; } | 13254 $as_echo_n "checking for mbstate_t... " >&6; } |
25598 if test "${ac_cv_type_mbstate_t+set}" = set; then | 13255 if test "${ac_cv_type_mbstate_t+set}" = set; then : |
25599 $as_echo_n "(cached) " >&6 | 13256 $as_echo_n "(cached) " >&6 |
25600 else | 13257 else |
25601 cat >conftest.$ac_ext <<_ACEOF | 13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
25602 /* confdefs.h. */ | |
25603 _ACEOF | |
25604 cat confdefs.h >>conftest.$ac_ext | |
25605 cat >>conftest.$ac_ext <<_ACEOF | |
25606 /* end confdefs.h. */ | 13259 /* end confdefs.h. */ |
25607 $ac_includes_default | 13260 $ac_includes_default |
25608 # include <wchar.h> | 13261 # include <wchar.h> |
25609 int | 13262 int |
25610 main () | 13263 main () |
25612 mbstate_t x; return sizeof x; | 13265 mbstate_t x; return sizeof x; |
25613 ; | 13266 ; |
25614 return 0; | 13267 return 0; |
25615 } | 13268 } |
25616 _ACEOF | 13269 _ACEOF |
25617 rm -f conftest.$ac_objext | 13270 if ac_fn_c_try_compile "$LINENO"; then : |
25618 if { (ac_try="$ac_compile" | |
25619 case "(($ac_try" in | |
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25621 *) ac_try_echo=$ac_try;; | |
25622 esac | |
25623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25624 $as_echo "$ac_try_echo") >&5 | |
25625 (eval "$ac_compile") 2>conftest.er1 | |
25626 ac_status=$? | |
25627 grep -v '^ *+' conftest.er1 >conftest.err | |
25628 rm -f conftest.er1 | |
25629 cat conftest.err >&5 | |
25630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25631 (exit $ac_status); } && { | |
25632 test -z "$ac_c_werror_flag" || | |
25633 test ! -s conftest.err | |
25634 } && test -s conftest.$ac_objext; then | |
25635 ac_cv_type_mbstate_t=yes | 13271 ac_cv_type_mbstate_t=yes |
25636 else | 13272 else |
25637 $as_echo "$as_me: failed program was:" >&5 | 13273 ac_cv_type_mbstate_t=no |
25638 sed 's/^/| /' conftest.$ac_ext >&5 | 13274 fi |
25639 | |
25640 ac_cv_type_mbstate_t=no | |
25641 fi | |
25642 | |
25643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25644 fi | 13276 fi |
25645 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 | 13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 |
25646 $as_echo "$ac_cv_type_mbstate_t" >&6; } | 13278 $as_echo "$ac_cv_type_mbstate_t" >&6; } |
25647 if test $ac_cv_type_mbstate_t = yes; then | 13279 if test $ac_cv_type_mbstate_t = yes; then |
25648 | 13280 |
25649 cat >>confdefs.h <<\_ACEOF | 13281 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h |
25650 #define HAVE_MBSTATE_T 1 | |
25651 _ACEOF | |
25652 | 13282 |
25653 else | 13283 else |
25654 | 13284 |
25655 cat >>confdefs.h <<\_ACEOF | 13285 $as_echo "#define mbstate_t int" >>confdefs.h |
25656 #define mbstate_t int | |
25657 _ACEOF | |
25658 | 13286 |
25659 fi | 13287 fi |
25660 | 13288 |
25661 { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 | 13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 |
25662 $as_echo_n "checking for C restrict keyword... " >&6; } | 13290 $as_echo_n "checking for C restrict keyword... " >&6; } |
25663 if test "${emacs_cv_c_restrict+set}" = set; then | 13291 if test "${emacs_cv_c_restrict+set}" = set; then : |
25664 $as_echo_n "(cached) " >&6 | 13292 $as_echo_n "(cached) " >&6 |
25665 else | 13293 else |
25666 cat >conftest.$ac_ext <<_ACEOF | 13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
25667 /* confdefs.h. */ | |
25668 _ACEOF | |
25669 cat confdefs.h >>conftest.$ac_ext | |
25670 cat >>conftest.$ac_ext <<_ACEOF | |
25671 /* end confdefs.h. */ | 13295 /* end confdefs.h. */ |
25672 void fred (int *restrict x); | 13296 void fred (int *restrict x); |
25673 int | 13297 int |
25674 main () | 13298 main () |
25675 { | 13299 { |
25676 | 13300 |
25677 ; | 13301 ; |
25678 return 0; | 13302 return 0; |
25679 } | 13303 } |
25680 _ACEOF | 13304 _ACEOF |
25681 rm -f conftest.$ac_objext | 13305 if ac_fn_c_try_compile "$LINENO"; then : |
25682 if { (ac_try="$ac_compile" | |
25683 case "(($ac_try" in | |
25684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25685 *) ac_try_echo=$ac_try;; | |
25686 esac | |
25687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25688 $as_echo "$ac_try_echo") >&5 | |
25689 (eval "$ac_compile") 2>conftest.er1 | |
25690 ac_status=$? | |
25691 grep -v '^ *+' conftest.er1 >conftest.err | |
25692 rm -f conftest.er1 | |
25693 cat conftest.err >&5 | |
25694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25695 (exit $ac_status); } && { | |
25696 test -z "$ac_c_werror_flag" || | |
25697 test ! -s conftest.err | |
25698 } && test -s conftest.$ac_objext; then | |
25699 emacs_cv_c_restrict=yes | 13306 emacs_cv_c_restrict=yes |
25700 else | 13307 else |
25701 $as_echo "$as_me: failed program was:" >&5 | 13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
25702 sed 's/^/| /' conftest.$ac_ext >&5 | |
25703 | |
25704 cat >conftest.$ac_ext <<_ACEOF | |
25705 /* confdefs.h. */ | |
25706 _ACEOF | |
25707 cat confdefs.h >>conftest.$ac_ext | |
25708 cat >>conftest.$ac_ext <<_ACEOF | |
25709 /* end confdefs.h. */ | 13309 /* end confdefs.h. */ |
25710 void fred (int *__restrict x); | 13310 void fred (int *__restrict x); |
25711 int | 13311 int |
25712 main () | 13312 main () |
25713 { | 13313 { |
25714 | 13314 |
25715 ; | 13315 ; |
25716 return 0; | 13316 return 0; |
25717 } | 13317 } |
25718 _ACEOF | 13318 _ACEOF |
25719 rm -f conftest.$ac_objext | 13319 if ac_fn_c_try_compile "$LINENO"; then : |
25720 if { (ac_try="$ac_compile" | |
25721 case "(($ac_try" in | |
25722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25723 *) ac_try_echo=$ac_try;; | |
25724 esac | |
25725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25726 $as_echo "$ac_try_echo") >&5 | |
25727 (eval "$ac_compile") 2>conftest.er1 | |
25728 ac_status=$? | |
25729 grep -v '^ *+' conftest.er1 >conftest.err | |
25730 rm -f conftest.er1 | |
25731 cat conftest.err >&5 | |
25732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25733 (exit $ac_status); } && { | |
25734 test -z "$ac_c_werror_flag" || | |
25735 test ! -s conftest.err | |
25736 } && test -s conftest.$ac_objext; then | |
25737 emacs_cv_c_restrict=__restrict | 13320 emacs_cv_c_restrict=__restrict |
25738 else | 13321 else |
25739 $as_echo "$as_me: failed program was:" >&5 | 13322 emacs_cv_c_restrict=no |
25740 sed 's/^/| /' conftest.$ac_ext >&5 | 13323 fi |
25741 | |
25742 emacs_cv_c_restrict=no | |
25743 fi | |
25744 | |
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25746 fi | 13325 fi |
25747 | |
25748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25749 fi | 13327 fi |
25750 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 | 13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5 |
25751 $as_echo "$emacs_cv_c_restrict" >&6; } | 13329 $as_echo "$emacs_cv_c_restrict" >&6; } |
25752 case "$emacs_cv_c_restrict" in | 13330 case "$emacs_cv_c_restrict" in |
25753 yes) emacs_restrict=restrict;; | 13331 yes) emacs_restrict=restrict;; |
25754 no) emacs_restrict="";; | 13332 no) emacs_restrict="";; |
25755 *) emacs_restrict="$emacs_cv_c_restrict";; | 13333 *) emacs_restrict="$emacs_cv_c_restrict";; |
25760 #define __restrict $emacs_restrict | 13338 #define __restrict $emacs_restrict |
25761 _ACEOF | 13339 _ACEOF |
25762 | 13340 |
25763 fi | 13341 fi |
25764 | 13342 |
25765 { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 | 13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 |
25766 $as_echo_n "checking for C restricted array declarations... " >&6; } | 13344 $as_echo_n "checking for C restricted array declarations... " >&6; } |
25767 if test "${emacs_cv_c_restrict_arr+set}" = set; then | 13345 if test "${emacs_cv_c_restrict_arr+set}" = set; then : |
25768 $as_echo_n "(cached) " >&6 | 13346 $as_echo_n "(cached) " >&6 |
25769 else | 13347 else |
25770 cat >conftest.$ac_ext <<_ACEOF | 13348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
25771 /* confdefs.h. */ | |
25772 _ACEOF | |
25773 cat confdefs.h >>conftest.$ac_ext | |
25774 cat >>conftest.$ac_ext <<_ACEOF | |
25775 /* end confdefs.h. */ | 13349 /* end confdefs.h. */ |
25776 void fred (int x[__restrict]); | 13350 void fred (int x[__restrict]); |
25777 int | 13351 int |
25778 main () | 13352 main () |
25779 { | 13353 { |
25780 | 13354 |
25781 ; | 13355 ; |
25782 return 0; | 13356 return 0; |
25783 } | 13357 } |
25784 _ACEOF | 13358 _ACEOF |
25785 rm -f conftest.$ac_objext | 13359 if ac_fn_c_try_compile "$LINENO"; then : |
25786 if { (ac_try="$ac_compile" | |
25787 case "(($ac_try" in | |
25788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25789 *) ac_try_echo=$ac_try;; | |
25790 esac | |
25791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25792 $as_echo "$ac_try_echo") >&5 | |
25793 (eval "$ac_compile") 2>conftest.er1 | |
25794 ac_status=$? | |
25795 grep -v '^ *+' conftest.er1 >conftest.err | |
25796 rm -f conftest.er1 | |
25797 cat conftest.err >&5 | |
25798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25799 (exit $ac_status); } && { | |
25800 test -z "$ac_c_werror_flag" || | |
25801 test ! -s conftest.err | |
25802 } && test -s conftest.$ac_objext; then | |
25803 emacs_cv_c_restrict_arr=yes | 13360 emacs_cv_c_restrict_arr=yes |
25804 else | 13361 else |
25805 $as_echo "$as_me: failed program was:" >&5 | 13362 emacs_cv_c_restrict_arr=no |
25806 sed 's/^/| /' conftest.$ac_ext >&5 | 13363 fi |
25807 | |
25808 emacs_cv_c_restrict_arr=no | |
25809 fi | |
25810 | |
25811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25812 fi | 13365 fi |
25813 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 | 13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5 |
25814 $as_echo "$emacs_cv_c_restrict_arr" >&6; } | 13367 $as_echo "$emacs_cv_c_restrict_arr" >&6; } |
25815 if test "$emacs_cv_c_restrict_arr" = yes; then | 13368 if test "$emacs_cv_c_restrict_arr" = yes; then |
25816 | 13369 |
25817 cat >>confdefs.h <<\_ACEOF | 13370 $as_echo "#define __restrict_arr __restrict" >>confdefs.h |
25818 #define __restrict_arr __restrict | |
25819 _ACEOF | |
25820 | 13371 |
25821 fi | 13372 fi |
25822 | 13373 |
25823 | 13374 |
25824 | 13375 |
25828 | 13379 |
25829 #### Find out which version of Emacs this is. | 13380 #### Find out which version of Emacs this is. |
25830 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 13381 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
25831 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 13382 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
25832 if test x"${version}" = x; then | 13383 if test x"${version}" = x; then |
25833 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 | 13384 as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5 |
25834 $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} | |
25835 { (exit 1); exit 1; }; } | |
25836 fi | 13385 fi |
25837 if test x"${version}" != x"$PACKAGE_VERSION"; then | 13386 if test x"${version}" != x"$PACKAGE_VERSION"; then |
25838 { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 | 13387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 |
25839 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} | 13388 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} |
25840 fi | 13389 fi |
25841 | 13390 |
25842 ### Specify what sort of things we'll be editing into Makefile and config.h. | 13391 ### Specify what sort of things we'll be editing into Makefile and config.h. |
25843 ### Use configuration here uncanonicalized to avoid exceeding size limits. | 13392 ### Use configuration here uncanonicalized to avoid exceeding size limits. |
25927 | 13476 |
25928 XMENU_OBJ= | 13477 XMENU_OBJ= |
25929 XOBJ= | 13478 XOBJ= |
25930 if test "${HAVE_X_WINDOWS}" = "yes" ; then | 13479 if test "${HAVE_X_WINDOWS}" = "yes" ; then |
25931 | 13480 |
25932 cat >>confdefs.h <<\_ACEOF | 13481 $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h |
25933 #define HAVE_X_WINDOWS 1 | |
25934 _ACEOF | |
25935 | 13482 |
25936 XMENU_OBJ=xmenu.o | 13483 XMENU_OBJ=xmenu.o |
25937 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" | 13484 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" |
25938 fi | 13485 fi |
25939 | 13486 |
25940 | 13487 |
25941 | 13488 |
25942 if test "${USE_X_TOOLKIT}" != "none" ; then | 13489 if test "${USE_X_TOOLKIT}" != "none" ; then |
25943 | 13490 |
25944 cat >>confdefs.h <<\_ACEOF | 13491 $as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h |
25945 #define USE_X_TOOLKIT 1 | |
25946 _ACEOF | |
25947 | 13492 |
25948 if test "${USE_X_TOOLKIT}" = "LUCID"; then | 13493 if test "${USE_X_TOOLKIT}" = "LUCID"; then |
25949 | 13494 |
25950 cat >>confdefs.h <<\_ACEOF | 13495 $as_echo "#define USE_LUCID 1" >>confdefs.h |
25951 #define USE_LUCID 1 | |
25952 _ACEOF | |
25953 | 13496 |
25954 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13497 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then |
25955 | 13498 |
25956 cat >>confdefs.h <<\_ACEOF | 13499 $as_echo "#define USE_MOTIF 1" >>confdefs.h |
25957 #define USE_MOTIF 1 | |
25958 _ACEOF | |
25959 | 13500 |
25960 fi | 13501 fi |
25961 fi | 13502 fi |
25962 if test "${HAVE_X11}" = "yes" ; then | 13503 if test "${HAVE_X11}" = "yes" ; then |
25963 | 13504 |
25964 cat >>confdefs.h <<\_ACEOF | 13505 $as_echo "#define HAVE_X11 1" >>confdefs.h |
25965 #define HAVE_X11 1 | |
25966 _ACEOF | |
25967 | 13506 |
25968 fi | 13507 fi |
25969 if test "${HAVE_MENUS}" = "yes" ; then | 13508 if test "${HAVE_MENUS}" = "yes" ; then |
25970 | 13509 |
25971 cat >>confdefs.h <<\_ACEOF | 13510 $as_echo "#define HAVE_MENUS 1" >>confdefs.h |
25972 #define HAVE_MENUS 1 | |
25973 _ACEOF | |
25974 | 13511 |
25975 fi | 13512 fi |
25976 if test "${GNU_MALLOC}" = "yes" ; then | 13513 if test "${GNU_MALLOC}" = "yes" ; then |
25977 | 13514 |
25978 cat >>confdefs.h <<\_ACEOF | 13515 $as_echo "#define GNU_MALLOC 1" >>confdefs.h |
25979 #define GNU_MALLOC 1 | |
25980 _ACEOF | |
25981 | 13516 |
25982 fi | 13517 fi |
25983 if test "${REL_ALLOC}" = "yes" ; then | 13518 if test "${REL_ALLOC}" = "yes" ; then |
25984 | 13519 |
25985 cat >>confdefs.h <<\_ACEOF | 13520 $as_echo "#define REL_ALLOC 1" >>confdefs.h |
25986 #define REL_ALLOC 1 | 13521 |
25987 _ACEOF | 13522 fi |
25988 | |
25989 fi | |
25990 | |
25991 | |
25992 | 13523 |
25993 | 13524 |
25994 | 13525 |
25995 | 13526 |
25996 #### Report on what we decided to do. | 13527 #### Report on what we decided to do. |
26092 ## Check if the C preprocessor will convert `..' to `. .'. If so, set | 13623 ## Check if the C preprocessor will convert `..' to `. .'. If so, set |
26093 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile | 13624 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile |
26094 ## from Makefile.c can correctly provide the arg `-traditional' to the | 13625 ## from Makefile.c can correctly provide the arg `-traditional' to the |
26095 ## C preprocessor. | 13626 ## C preprocessor. |
26096 | 13627 |
26097 cat >conftest.$ac_ext <<_ACEOF | 13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
26098 /* confdefs.h. */ | |
26099 _ACEOF | |
26100 cat confdefs.h >>conftest.$ac_ext | |
26101 cat >>conftest.$ac_ext <<_ACEOF | |
26102 /* end confdefs.h. */ | 13629 /* end confdefs.h. */ |
26103 yes..yes | 13630 yes..yes |
26104 _ACEOF | 13631 _ACEOF |
26105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
26106 $EGREP "yes..yes" >/dev/null 2>&1; then | 13633 $EGREP "yes..yes" >/dev/null 2>&1; then : |
26107 CPP_NEED_TRADITIONAL=no | 13634 CPP_NEED_TRADITIONAL=no |
26108 else | 13635 else |
26109 CPP_NEED_TRADITIONAL=yes | 13636 CPP_NEED_TRADITIONAL=yes |
26110 fi | 13637 fi |
26111 rm -f conftest* | 13638 rm -f conftest* |
26140 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 13667 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
26141 eval ac_val=\$$ac_var | 13668 eval ac_val=\$$ac_var |
26142 case $ac_val in #( | 13669 case $ac_val in #( |
26143 *${as_nl}*) | 13670 *${as_nl}*) |
26144 case $ac_var in #( | 13671 case $ac_var in #( |
26145 *_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 |
26146 $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;} ;; |
26147 esac | 13674 esac |
26148 case $ac_var in #( | 13675 case $ac_var in #( |
26149 _ | IFS | as_nl) ;; #( | 13676 _ | IFS | as_nl) ;; #( |
26150 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 13677 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
26151 *) $as_unset $ac_var ;; | 13678 *) { eval $ac_var=; unset $ac_var;} ;; |
26152 esac ;; | 13679 esac ;; |
26153 esac | 13680 esac |
26154 done | 13681 done |
26155 | 13682 |
26156 (set) 2>&1 | | 13683 (set) 2>&1 | |
26157 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 13684 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
26158 *${as_nl}ac_space=\ *) | 13685 *${as_nl}ac_space=\ *) |
26159 # `set' does not quote correctly, so add quotes (double-quote | 13686 # `set' does not quote correctly, so add quotes: double-quote |
26160 # substitution turns \\\\ into \\, and sed turns \\ into \). | 13687 # substitution turns \\\\ into \\, and sed turns \\ into \. |
26161 sed -n \ | 13688 sed -n \ |
26162 "s/'/'\\\\''/g; | 13689 "s/'/'\\\\''/g; |
26163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 13690 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
26164 ;; #( | 13691 ;; #( |
26165 *) | 13692 *) |
26178 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 13705 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
26179 :end' >>confcache | 13706 :end' >>confcache |
26180 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 13707 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
26181 if test -w "$cache_file"; then | 13708 if test -w "$cache_file"; then |
26182 test "x$cache_file" != "x/dev/null" && | 13709 test "x$cache_file" != "x/dev/null" && |
26183 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 | 13710 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
26184 $as_echo "$as_me: updating cache $cache_file" >&6;} | 13711 $as_echo "$as_me: updating cache $cache_file" >&6;} |
26185 cat confcache >$cache_file | 13712 cat confcache >$cache_file |
26186 else | 13713 else |
26187 { $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 |
26188 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 13715 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
26189 fi | 13716 fi |
26190 fi | 13717 fi |
26191 rm -f confcache | 13718 rm -f confcache |
26192 | 13719 |
26202 # 1. Remove the extension, and $U if already installed. | 13729 # 1. Remove the extension, and $U if already installed. |
26203 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 13730 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
26204 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 13731 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
26205 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 13732 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
26206 # will be set to the directory where LIBOBJS objects are built. | 13733 # will be set to the directory where LIBOBJS objects are built. |
26207 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 13734 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
26208 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | 13735 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
26209 done | 13736 done |
26210 LIBOBJS=$ac_libobjs | 13737 LIBOBJS=$ac_libobjs |
26211 | 13738 |
26212 LTLIBOBJS=$ac_ltlibobjs | 13739 LTLIBOBJS=$ac_ltlibobjs |
26213 | 13740 |
26215 | 13742 |
26216 : ${CONFIG_STATUS=./config.status} | 13743 : ${CONFIG_STATUS=./config.status} |
26217 ac_write_fail=0 | 13744 ac_write_fail=0 |
26218 ac_clean_files_save=$ac_clean_files | 13745 ac_clean_files_save=$ac_clean_files |
26219 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 13746 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
26220 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 13747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
26221 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 13748 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
26222 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 13749 as_write_fail=0 |
13750 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
26223 #! $SHELL | 13751 #! $SHELL |
26224 # Generated by $as_me. | 13752 # Generated by $as_me. |
26225 # Run this file to recreate the current configuration. | 13753 # Run this file to recreate the current configuration. |
26226 # Compiler output produced by configure, useful for debugging | 13754 # Compiler output produced by configure, useful for debugging |
26227 # configure, is in config.log if it exists. | 13755 # configure, is in config.log if it exists. |
26228 | 13756 |
26229 debug=false | 13757 debug=false |
26230 ac_cs_recheck=false | 13758 ac_cs_recheck=false |
26231 ac_cs_silent=false | 13759 ac_cs_silent=false |
13760 | |
26232 SHELL=\${CONFIG_SHELL-$SHELL} | 13761 SHELL=\${CONFIG_SHELL-$SHELL} |
26233 _ACEOF | 13762 export SHELL |
26234 | 13763 _ASEOF |
26235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 13764 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
26236 ## --------------------- ## | 13765 ## -------------------- ## |
26237 ## M4sh Initialization. ## | 13766 ## M4sh Initialization. ## |
26238 ## --------------------- ## | 13767 ## -------------------- ## |
26239 | 13768 |
26240 # Be more Bourne compatible | 13769 # Be more Bourne compatible |
26241 DUALCASE=1; export DUALCASE # for MKS sh | 13770 DUALCASE=1; export DUALCASE # for MKS sh |
26242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 13771 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
26243 emulate sh | 13772 emulate sh |
26244 NULLCMD=: | 13773 NULLCMD=: |
26245 # 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 |
26246 # is contrary to our usage. Disable this feature. | 13775 # is contrary to our usage. Disable this feature. |
26247 alias -g '${1+"$@"}'='"$@"' | 13776 alias -g '${1+"$@"}'='"$@"' |
26248 setopt NO_GLOB_SUBST | 13777 setopt NO_GLOB_SUBST |
26249 else | 13778 else |
26250 case `(set -o) 2>/dev/null` in | 13779 case `(set -o) 2>/dev/null` in #( |
26251 *posix*) set -o posix ;; | 13780 *posix*) : |
13781 set -o posix ;; #( | |
13782 *) : | |
13783 ;; | |
26252 esac | 13784 esac |
26253 | 13785 fi |
26254 fi | 13786 |
26255 | |
26256 | |
26257 | |
26258 | |
26259 # PATH needs CR | |
26260 # Avoid depending upon Character Ranges. | |
26261 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
26262 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
26263 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
26264 as_cr_digits='0123456789' | |
26265 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
26266 | 13787 |
26267 as_nl=' | 13788 as_nl=' |
26268 ' | 13789 ' |
26269 export as_nl | 13790 export as_nl |
26270 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 13791 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
26271 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 13792 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
26272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 13793 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
26273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 13794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
26274 if (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. | |
13797 if 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 --' | |
13801 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
26275 as_echo='printf %s\n' | 13802 as_echo='printf %s\n' |
26276 as_echo_n='printf %s' | 13803 as_echo_n='printf %s' |
26277 else | 13804 else |
26278 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 13805 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
26279 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 13806 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
26280 as_echo_n='/usr/ucb/echo -n' | 13807 as_echo_n='/usr/ucb/echo -n' |
26281 else | 13808 else |
26282 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 13809 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
26283 as_echo_n_body='eval | 13810 as_echo_n_body='eval |
26284 arg=$1; | 13811 arg=$1; |
26285 case $arg in | 13812 case $arg in #( |
26286 *"$as_nl"*) | 13813 *"$as_nl"*) |
26287 expr "X$arg" : "X\\(.*\\)$as_nl"; | 13814 expr "X$arg" : "X\\(.*\\)$as_nl"; |
26288 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 13815 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
26289 esac; | 13816 esac; |
26290 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 13817 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
26303 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 13830 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
26304 PATH_SEPARATOR=';' | 13831 PATH_SEPARATOR=';' |
26305 } | 13832 } |
26306 fi | 13833 fi |
26307 | 13834 |
26308 # Support unset when possible. | |
26309 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
26310 as_unset=unset | |
26311 else | |
26312 as_unset=false | |
26313 fi | |
26314 | |
26315 | 13835 |
26316 # IFS | 13836 # IFS |
26317 # 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 |
26318 # there to prevent editors from complaining about space-tab. | 13838 # there to prevent editors from complaining about space-tab. |
26319 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 13839 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
26320 # splitting by setting IFS to empty value.) | 13840 # splitting by setting IFS to empty value.) |
26321 IFS=" "" $as_nl" | 13841 IFS=" "" $as_nl" |
26322 | 13842 |
26323 # 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. |
26324 case $0 in | 13844 case $0 in #(( |
26325 *[\\/]* ) as_myself=$0 ;; | 13845 *[\\/]* ) as_myself=$0 ;; |
26326 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 13846 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
26327 for as_dir in $PATH | 13847 for as_dir in $PATH |
26328 do | 13848 do |
26329 IFS=$as_save_IFS | 13849 IFS=$as_save_IFS |
26330 test -z "$as_dir" && as_dir=. | 13850 test -z "$as_dir" && as_dir=. |
26331 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 13851 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
26332 done | 13852 done |
26333 IFS=$as_save_IFS | 13853 IFS=$as_save_IFS |
26334 | 13854 |
26335 ;; | 13855 ;; |
26336 esac | 13856 esac |
26337 # We did not find ourselves, most probably we were run as `sh COMMAND' | 13857 # We did not find ourselves, most probably we were run as `sh COMMAND' |
26339 if test "x$as_myself" = x; then | 13859 if test "x$as_myself" = x; then |
26340 as_myself=$0 | 13860 as_myself=$0 |
26341 fi | 13861 fi |
26342 if test ! -f "$as_myself"; then | 13862 if test ! -f "$as_myself"; then |
26343 $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 |
26344 { (exit 1); exit 1; } | 13864 exit 1 |
26345 fi | 13865 fi |
26346 | 13866 |
26347 # Work around bugs in pre-3.0 UWIN ksh. | 13867 # Unset variables that we do not need and which cause bugs (e.g. in |
26348 for as_var in ENV MAIL MAILPATH | 13868 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
26349 do ($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. | |
13871 for as_var in BASH_ENV ENV MAIL MAILPATH | |
13872 do eval test x\${$as_var+set} = xset \ | |
13873 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
26350 done | 13874 done |
26351 PS1='$ ' | 13875 PS1='$ ' |
26352 PS2='> ' | 13876 PS2='> ' |
26353 PS4='+ ' | 13877 PS4='+ ' |
26354 | 13878 |
26356 LC_ALL=C | 13880 LC_ALL=C |
26357 export LC_ALL | 13881 export LC_ALL |
26358 LANGUAGE=C | 13882 LANGUAGE=C |
26359 export LANGUAGE | 13883 export LANGUAGE |
26360 | 13884 |
26361 # 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. | |
13894 as_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. | |
13909 as_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. | |
13917 as_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. | |
13927 as_fn_unset () | |
13928 { | |
13929 { eval $1=; unset $1;} | |
13930 } | |
13931 as_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. | |
13938 if (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 }' | |
13943 else | |
13944 as_fn_append () | |
13945 { | |
13946 eval $1=\$$1\$2 | |
13947 } | |
13948 fi # 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. | |
13955 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
13956 eval 'as_fn_arith () | |
13957 { | |
13958 as_val=$(( $* )) | |
13959 }' | |
13960 else | |
13961 as_fn_arith () | |
13962 { | |
13963 as_val=`expr "$@" || test $? -eq 1` | |
13964 } | |
13965 fi # as_fn_arith | |
13966 | |
13967 | |
26362 if expr a : '\(a\)' >/dev/null 2>&1 && | 13968 if expr a : '\(a\)' >/dev/null 2>&1 && |
26363 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 13969 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
26364 as_expr=expr | 13970 as_expr=expr |
26365 else | 13971 else |
26366 as_expr=false | 13972 as_expr=false |
26370 as_basename=basename | 13976 as_basename=basename |
26371 else | 13977 else |
26372 as_basename=false | 13978 as_basename=false |
26373 fi | 13979 fi |
26374 | 13980 |
26375 | 13981 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
26376 # Name of the executable. | 13982 as_dirname=dirname |
13983 else | |
13984 as_dirname=false | |
13985 fi | |
13986 | |
26377 as_me=`$as_basename -- "$0" || | 13987 as_me=`$as_basename -- "$0" || |
26378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 13988 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
26379 X"$0" : 'X\(//\)$' \| \ | 13989 X"$0" : 'X\(//\)$' \| \ |
26380 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 13990 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
26381 $as_echo X/"$0" | | 13991 $as_echo X/"$0" | |
26391 s//\1/ | 14001 s//\1/ |
26392 q | 14002 q |
26393 } | 14003 } |
26394 s/.*/./; q'` | 14004 s/.*/./; q'` |
26395 | 14005 |
26396 # CDPATH. | 14006 # Avoid depending upon Character Ranges. |
26397 $as_unset CDPATH | 14007 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
26398 | 14008 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
26399 | 14009 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
26400 | 14010 as_cr_digits='0123456789' |
26401 as_lineno_1=$LINENO | 14011 as_cr_alnum=$as_cr_Letters$as_cr_digits |
26402 as_lineno_2=$LINENO | |
26403 test "x$as_lineno_1" != "x$as_lineno_2" && | |
26404 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
26405 | |
26406 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
26407 # uniformly replaced by the line number. The first 'sed' inserts a | |
26408 # line-number line after each line using $LINENO; the second 'sed' | |
26409 # does the real work. The second script uses 'N' to pair each | |
26410 # line-number line with the line containing $LINENO, and appends | |
26411 # trailing '-' during substitution so that $LINENO is not a special | |
26412 # case at line end. | |
26413 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
26414 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
26415 # E. McMahon (1931-1989) for sed's syntax. :-) | |
26416 sed -n ' | |
26417 p | |
26418 /[$]LINENO/= | |
26419 ' <$as_myself | | |
26420 sed ' | |
26421 s/[$]LINENO.*/&-/ | |
26422 t lineno | |
26423 b | |
26424 :lineno | |
26425 N | |
26426 :loop | |
26427 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
26428 t loop | |
26429 s/-\n.*// | |
26430 ' >$as_me.lineno && | |
26431 chmod +x "$as_me.lineno" || | |
26432 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
26433 { (exit 1); exit 1; }; } | |
26434 | |
26435 # Don't try to exec as it changes $[0], causing all sort of problems | |
26436 # (the dirname of $[0] is not the place where we might find the | |
26437 # original and so on. Autoconf is especially sensitive to this). | |
26438 . "./$as_me.lineno" | |
26439 # Exit status is that of the last command. | |
26440 exit | |
26441 } | |
26442 | |
26443 | |
26444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
26445 as_dirname=dirname | |
26446 else | |
26447 as_dirname=false | |
26448 fi | |
26449 | 14012 |
26450 ECHO_C= ECHO_N= ECHO_T= | 14013 ECHO_C= ECHO_N= ECHO_T= |
26451 case `echo -n x` in | 14014 case `echo -n x` in #((((( |
26452 -n*) | 14015 -n*) |
26453 case `echo 'x\c'` in | 14016 case `echo 'xy\c'` in |
26454 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 14017 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
26455 *) ECHO_C='\c';; | 14018 xy) ECHO_C='\c';; |
14019 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
14020 ECHO_T=' ';; | |
26456 esac;; | 14021 esac;; |
26457 *) | 14022 *) |
26458 ECHO_N='-n';; | 14023 ECHO_N='-n';; |
26459 esac | 14024 esac |
26460 if expr a : '\(a\)' >/dev/null 2>&1 && | |
26461 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
26462 as_expr=expr | |
26463 else | |
26464 as_expr=false | |
26465 fi | |
26466 | 14025 |
26467 rm -f conf$$ conf$$.exe conf$$.file | 14026 rm -f conf$$ conf$$.exe conf$$.file |
26468 if test -d conf$$.dir; then | 14027 if test -d conf$$.dir; then |
26469 rm -f conf$$.dir/conf$$.file | 14028 rm -f conf$$.dir/conf$$.file |
26470 else | 14029 else |
26489 as_ln_s='cp -p' | 14048 as_ln_s='cp -p' |
26490 fi | 14049 fi |
26491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 14050 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
26492 rmdir conf$$.dir 2>/dev/null | 14051 rmdir conf$$.dir 2>/dev/null |
26493 | 14052 |
14053 | |
14054 # as_fn_mkdir_p | |
14055 # ------------- | |
14056 # Create "$as_dir" as a directory, including parents if necessary. | |
14057 as_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 | |
26494 if mkdir -p . 2>/dev/null; then | 14101 if mkdir -p . 2>/dev/null; then |
26495 as_mkdir_p=: | 14102 as_mkdir_p='mkdir -p "$as_dir"' |
26496 else | 14103 else |
26497 test -d ./-p && rmdir ./-p | 14104 test -d ./-p && rmdir ./-p |
26498 as_mkdir_p=false | 14105 as_mkdir_p=false |
26499 fi | 14106 fi |
26500 | 14107 |
26509 as_test_x=' | 14116 as_test_x=' |
26510 eval sh -c '\'' | 14117 eval sh -c '\'' |
26511 if test -d "$1"; then | 14118 if test -d "$1"; then |
26512 test -d "$1/."; | 14119 test -d "$1/."; |
26513 else | 14120 else |
26514 case $1 in | 14121 case $1 in #( |
26515 -*)set "./$1";; | 14122 -*)set "./$1";; |
26516 esac; | 14123 esac; |
26517 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 #(( |
26518 ???[sx]*):;;*)false;;esac;fi | 14125 ???[sx]*):;;*)false;;esac;fi |
26519 '\'' sh | 14126 '\'' sh |
26520 ' | 14127 ' |
26521 fi | 14128 fi |
26522 as_executable_p=$as_test_x | 14129 as_executable_p=$as_test_x |
26527 # Sed expression to map a string onto a valid variable name. | 14134 # Sed expression to map a string onto a valid variable name. |
26528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 14135 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
26529 | 14136 |
26530 | 14137 |
26531 exec 6>&1 | 14138 exec 6>&1 |
26532 | 14139 ## ----------------------------------- ## |
26533 # Save the log message, to keep $[0] and so on meaningful, and to | 14140 ## Main body of $CONFIG_STATUS script. ## |
14141 ## ----------------------------------- ## | |
14142 _ASEOF | |
14143 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
14144 | |
14145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
14146 # Save the log message, to keep $0 and so on meaningful, and to | |
26534 # report actual input values of CONFIG_FILES etc. instead of their | 14147 # report actual input values of CONFIG_FILES etc. instead of their |
26535 # values after options handling. | 14148 # values after options handling. |
26536 ac_log=" | 14149 ac_log=" |
26537 This file was extended by emacs $as_me 24.0.50, which was | 14150 This file was extended by emacs $as_me 24.0.50, which was |
26538 generated by GNU Autoconf 2.62. Invocation command line was | 14151 generated by GNU Autoconf 2.65. Invocation command line was |
26539 | 14152 |
26540 CONFIG_FILES = $CONFIG_FILES | 14153 CONFIG_FILES = $CONFIG_FILES |
26541 CONFIG_HEADERS = $CONFIG_HEADERS | 14154 CONFIG_HEADERS = $CONFIG_HEADERS |
26542 CONFIG_LINKS = $CONFIG_LINKS | 14155 CONFIG_LINKS = $CONFIG_LINKS |
26543 CONFIG_COMMANDS = $CONFIG_COMMANDS | 14156 CONFIG_COMMANDS = $CONFIG_COMMANDS |
26546 on `(hostname || uname -n) 2>/dev/null | sed 1q` | 14159 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
26547 " | 14160 " |
26548 | 14161 |
26549 _ACEOF | 14162 _ACEOF |
26550 | 14163 |
14164 case $ac_config_files in *" | |
14165 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
14166 esac | |
14167 | |
14168 case $ac_config_headers in *" | |
14169 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
14170 esac | |
14171 | |
14172 | |
26551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
26552 # Files that config.status was made for. | 14174 # Files that config.status was made for. |
26553 config_files="$ac_config_files" | 14175 config_files="$ac_config_files" |
26554 config_headers="$ac_config_headers" | 14176 config_headers="$ac_config_headers" |
26555 config_commands="$ac_config_commands" | 14177 config_commands="$ac_config_commands" |
26556 | 14178 |
26557 _ACEOF | 14179 _ACEOF |
26558 | 14180 |
26559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
26560 ac_cs_usage="\ | 14182 ac_cs_usage="\ |
26561 \`$as_me' instantiates files from templates according to the | 14183 \`$as_me' instantiates files and other configuration actions |
26562 current configuration. | 14184 from templates according to the current configuration. Unless the files |
26563 | 14185 and actions are specified as TAGs, all are instantiated by default. |
26564 Usage: $0 [OPTIONS] [FILE]... | 14186 |
14187 Usage: $0 [OPTION]... [TAG]... | |
26565 | 14188 |
26566 -h, --help print this help, then exit | 14189 -h, --help print this help, then exit |
26567 -V, --version print version number and configuration settings, then exit | 14190 -V, --version print version number and configuration settings, then exit |
26568 -q, --quiet do not print progress messages | 14191 --config print configuration, then exit |
14192 -q, --quiet, --silent | |
14193 do not print progress messages | |
26569 -d, --debug don't remove temporary files | 14194 -d, --debug don't remove temporary files |
26570 --recheck update $as_me by reconfiguring in the same conditions | 14195 --recheck update $as_me by reconfiguring in the same conditions |
26571 --file=FILE[:TEMPLATE] | 14196 --file=FILE[:TEMPLATE] |
26572 instantiate the configuration file FILE | 14197 instantiate the configuration file FILE |
26573 --header=FILE[:TEMPLATE] | 14198 --header=FILE[:TEMPLATE] |
26574 instantiate the configuration header FILE | 14199 instantiate the configuration header FILE |
26575 | 14200 |
26576 Configuration files: | 14201 Configuration files: |
26577 $config_files | 14202 $config_files |
26578 | 14203 |
26580 $config_headers | 14205 $config_headers |
26581 | 14206 |
26582 Configuration commands: | 14207 Configuration commands: |
26583 $config_commands | 14208 $config_commands |
26584 | 14209 |
26585 Report bugs to <bug-autoconf@gnu.org>." | 14210 Report bugs to the package provider." |
26586 | 14211 |
26587 _ACEOF | 14212 _ACEOF |
26588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14214 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
26589 ac_cs_version="\\ | 14215 ac_cs_version="\\ |
26590 emacs config.status 24.0.50 | 14216 emacs config.status 24.0.50 |
26591 configured by $0, generated by GNU Autoconf 2.62, | 14217 configured by $0, generated by GNU Autoconf 2.65, |
26592 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | 14218 with options \\"\$ac_cs_config\\" |
26593 | 14219 |
26594 Copyright (C) 2008 Free Software Foundation, Inc. | 14220 Copyright (C) 2009 Free Software Foundation, Inc. |
26595 This config.status script is free software; the Free Software Foundation | 14221 This config.status script is free software; the Free Software Foundation |
26596 gives unlimited permission to copy, distribute and modify it." | 14222 gives unlimited permission to copy, distribute and modify it." |
26597 | 14223 |
26598 ac_pwd='$ac_pwd' | 14224 ac_pwd='$ac_pwd' |
26599 srcdir='$srcdir' | 14225 srcdir='$srcdir' |
26623 # Handling of the options. | 14249 # Handling of the options. |
26624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 14250 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
26625 ac_cs_recheck=: ;; | 14251 ac_cs_recheck=: ;; |
26626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 14252 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
26627 $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 ;; | |
26628 --debug | --debu | --deb | --de | --d | -d ) | 14256 --debug | --debu | --deb | --de | --d | -d ) |
26629 debug=: ;; | 14257 debug=: ;; |
26630 --file | --fil | --fi | --f ) | 14258 --file | --fil | --fi | --f ) |
26631 $ac_shift | 14259 $ac_shift |
26632 case $ac_optarg in | 14260 case $ac_optarg in |
26633 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 14261 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
26634 esac | 14262 esac |
26635 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" | 14263 as_fn_append CONFIG_FILES " '$ac_optarg'" |
26636 ac_need_defaults=false;; | 14264 ac_need_defaults=false;; |
26637 --header | --heade | --head | --hea ) | 14265 --header | --heade | --head | --hea ) |
26638 $ac_shift | 14266 $ac_shift |
26639 case $ac_optarg in | 14267 case $ac_optarg in |
26640 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 14268 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
26641 esac | 14269 esac |
26642 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" | 14270 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
26643 ac_need_defaults=false;; | 14271 ac_need_defaults=false;; |
26644 --he | --h) | 14272 --he | --h) |
26645 # Conflict between --help and --header | 14273 # Conflict between --help and --header |
26646 { $as_echo "$as_me: error: ambiguous option: $1 | 14274 as_fn_error "ambiguous option: \`$1' |
26647 Try \`$0 --help' for more information." >&2 | 14275 Try \`$0 --help' for more information.";; |
26648 { (exit 1); exit 1; }; };; | |
26649 --help | --hel | -h ) | 14276 --help | --hel | -h ) |
26650 $as_echo "$ac_cs_usage"; exit ;; | 14277 $as_echo "$ac_cs_usage"; exit ;; |
26651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 14278 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
26652 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 14279 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
26653 ac_cs_silent=: ;; | 14280 ac_cs_silent=: ;; |
26654 | 14281 |
26655 # This is an error. | 14282 # This is an error. |
26656 -*) { $as_echo "$as_me: error: unrecognized option: $1 | 14283 -*) as_fn_error "unrecognized option: \`$1' |
26657 Try \`$0 --help' for more information." >&2 | 14284 Try \`$0 --help' for more information." ;; |
26658 { (exit 1); exit 1; }; } ;; | 14285 |
26659 | 14286 *) as_fn_append ac_config_targets " $1" |
26660 *) ac_config_targets="$ac_config_targets $1" | |
26661 ac_need_defaults=false ;; | 14287 ac_need_defaults=false ;; |
26662 | 14288 |
26663 esac | 14289 esac |
26664 shift | 14290 shift |
26665 done | 14291 done |
26720 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 14346 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
26721 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 14347 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
26722 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 14348 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
26723 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 14349 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
26724 | 14350 |
26725 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 14351 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
26726 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
26727 { (exit 1); exit 1; }; };; | |
26728 esac | 14352 esac |
26729 done | 14353 done |
26730 | 14354 |
26731 | 14355 |
26732 # If the user did not use the arguments to specify the items to instantiate, | 14356 # If the user did not use the arguments to specify the items to instantiate, |
26749 { | 14373 { |
26750 tmp= | 14374 tmp= |
26751 trap 'exit_status=$? | 14375 trap 'exit_status=$? |
26752 { 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 |
26753 ' 0 | 14377 ' 0 |
26754 trap '{ (exit 1); exit 1; }' 1 2 13 15 | 14378 trap 'as_fn_exit 1' 1 2 13 15 |
26755 } | 14379 } |
26756 # Create a (secure) tmp directory for tmp files. | 14380 # Create a (secure) tmp directory for tmp files. |
26757 | 14381 |
26758 { | 14382 { |
26759 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 14383 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
26760 test -n "$tmp" && test -d "$tmp" | 14384 test -n "$tmp" && test -d "$tmp" |
26761 } || | 14385 } || |
26762 { | 14386 { |
26763 tmp=./conf$$-$RANDOM | 14387 tmp=./conf$$-$RANDOM |
26764 (umask 077 && mkdir "$tmp") | 14388 (umask 077 && mkdir "$tmp") |
26765 } || | 14389 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
26766 { | |
26767 $as_echo "$as_me: cannot create a temporary directory in ." >&2 | |
26768 { (exit 1); exit 1; } | |
26769 } | |
26770 | 14390 |
26771 # Set up the scripts for CONFIG_FILES section. | 14391 # Set up the scripts for CONFIG_FILES section. |
26772 # No need to generate them if there are no CONFIG_FILES. | 14392 # No need to generate them if there are no CONFIG_FILES. |
26773 # This happens for instance with `./config.status config.h'. | 14393 # This happens for instance with `./config.status config.h'. |
26774 if test -n "$CONFIG_FILES"; then | 14394 if test -n "$CONFIG_FILES"; then |
26775 | 14395 |
26776 | 14396 |
26777 ac_cr=' | 14397 ac_cr=`echo X | tr X '\015'` |
26778 ' | 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. | |
14401 if test "x$ac_cr" = x; then | |
14402 eval ac_cr=\$\'\\r\' | |
14403 fi | |
26779 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 14404 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
26780 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 14405 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
26781 ac_cs_awk_cr='\\r' | 14406 ac_cs_awk_cr='\r' |
26782 else | 14407 else |
26783 ac_cs_awk_cr=$ac_cr | 14408 ac_cs_awk_cr=$ac_cr |
26784 fi | 14409 fi |
26785 | 14410 |
26786 echo 'BEGIN {' >"$tmp/subs1.awk" && | 14411 echo 'BEGIN {' >"$tmp/subs1.awk" && |
26790 { | 14415 { |
26791 echo "cat >conf$$subs.awk <<_ACEOF" && | 14416 echo "cat >conf$$subs.awk <<_ACEOF" && |
26792 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 14417 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
26793 echo "_ACEOF" | 14418 echo "_ACEOF" |
26794 } >conf$$subs.sh || | 14419 } >conf$$subs.sh || |
26795 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 14420 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
26796 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
26797 { (exit 1); exit 1; }; } | |
26798 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 14421 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
26799 ac_delim='%!_!# ' | 14422 ac_delim='%!_!# ' |
26800 for ac_last_try in false false false false false :; do | 14423 for ac_last_try in false false false false false :; do |
26801 . ./conf$$subs.sh || | 14424 . ./conf$$subs.sh || |
26802 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 14425 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
26803 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | 14426 |
26804 { (exit 1); exit 1; }; } | 14427 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
26805 | 14428 if test $ac_delim_n = $ac_delim_num; then |
26806 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then | |
26807 break | 14429 break |
26808 elif $ac_last_try; then | 14430 elif $ac_last_try; then |
26809 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 14431 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
26810 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
26811 { (exit 1); exit 1; }; } | |
26812 else | 14432 else |
26813 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 14433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
26814 fi | 14434 fi |
26815 done | 14435 done |
26816 rm -f conf$$subs.sh | 14436 rm -f conf$$subs.sh |
26828 t repl | 14448 t repl |
26829 s/'"$ac_delim"'$// | 14449 s/'"$ac_delim"'$// |
26830 t delim | 14450 t delim |
26831 :nl | 14451 :nl |
26832 h | 14452 h |
26833 s/\(.\{148\}\).*/\1/ | 14453 s/\(.\{148\}\)..*/\1/ |
26834 t more1 | 14454 t more1 |
26835 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 14455 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
26836 p | 14456 p |
26837 n | 14457 n |
26838 b repl | 14458 b repl |
26842 g | 14462 g |
26843 s/.\{148\}// | 14463 s/.\{148\}// |
26844 t nl | 14464 t nl |
26845 :delim | 14465 :delim |
26846 h | 14466 h |
26847 s/\(.\{148\}\).*/\1/ | 14467 s/\(.\{148\}\)..*/\1/ |
26848 t more2 | 14468 t more2 |
26849 s/["\\]/\\&/g; s/^/"/; s/$/"/ | 14469 s/["\\]/\\&/g; s/^/"/; s/$/"/ |
26850 p | 14470 p |
26851 b | 14471 b |
26852 :more2 | 14472 :more2 |
26895 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 14515 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
26896 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 14516 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
26897 else | 14517 else |
26898 cat | 14518 cat |
26899 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 14519 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
26900 || { { $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 |
26901 $as_echo "$as_me: error: could not setup config files machinery" >&2;} | |
26902 { (exit 1); exit 1; }; } | |
26903 _ACEOF | 14521 _ACEOF |
26904 | 14522 |
26905 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 14523 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
26906 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 14524 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
26907 # trailing colons and then remove the whole line if VPATH becomes empty | 14525 # trailing colons and then remove the whole line if VPATH becomes empty |
26938 for ac_last_try in false false :; do | 14556 for ac_last_try in false false :; do |
26939 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 14557 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
26940 if test -z "$ac_t"; then | 14558 if test -z "$ac_t"; then |
26941 break | 14559 break |
26942 elif $ac_last_try; then | 14560 elif $ac_last_try; then |
26943 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 | 14561 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
26944 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | |
26945 { (exit 1); exit 1; }; } | |
26946 else | 14562 else |
26947 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 14563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
26948 fi | 14564 fi |
26949 done | 14565 done |
26950 | 14566 |
27006 defundef = substr(arg[1], 2) | 14622 defundef = substr(arg[1], 2) |
27007 mac1 = arg[2] | 14623 mac1 = arg[2] |
27008 } | 14624 } |
27009 split(mac1, mac2, "(") #) | 14625 split(mac1, mac2, "(") #) |
27010 macro = mac2[1] | 14626 macro = mac2[1] |
14627 prefix = substr(line, 1, index(line, defundef) - 1) | |
27011 if (D_is_set[macro]) { | 14628 if (D_is_set[macro]) { |
27012 # Preserve the white space surrounding the "#". | 14629 # Preserve the white space surrounding the "#". |
27013 prefix = substr(line, 1, index(line, defundef) - 1) | |
27014 print prefix "define", macro P[macro] D[macro] | 14630 print prefix "define", macro P[macro] D[macro] |
27015 next | 14631 next |
27016 } else { | 14632 } else { |
27017 # Replace #undef with comments. This is necessary, for example, | 14633 # Replace #undef with comments. This is necessary, for example, |
27018 # in the case of _POSIX_SOURCE, which is predefined and required | 14634 # in the case of _POSIX_SOURCE, which is predefined and required |
27019 # on some systems where configure will not decide to define it. | 14635 # on some systems where configure will not decide to define it. |
27020 if (defundef == "undef") { | 14636 if (defundef == "undef") { |
27021 print "/*", line, "*/" | 14637 print "/*", prefix defundef, macro, "*/" |
27022 next | 14638 next |
27023 } | 14639 } |
27024 } | 14640 } |
27025 } | 14641 } |
27026 { print } | 14642 { print } |
27027 _ACAWK | 14643 _ACAWK |
27028 _ACEOF | 14644 _ACEOF |
27029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
27030 { { $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 |
27031 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | |
27032 { (exit 1); exit 1; }; } | |
27033 fi # test -n "$CONFIG_HEADERS" | 14647 fi # test -n "$CONFIG_HEADERS" |
27034 | 14648 |
27035 | 14649 |
27036 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 14650 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
27037 shift | 14651 shift |
27040 case $ac_tag in | 14654 case $ac_tag in |
27041 :[FHLC]) ac_mode=$ac_tag; continue;; | 14655 :[FHLC]) ac_mode=$ac_tag; continue;; |
27042 esac | 14656 esac |
27043 case $ac_mode$ac_tag in | 14657 case $ac_mode$ac_tag in |
27044 :[FHL]*:*);; | 14658 :[FHL]*:*);; |
27045 :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;; |
27046 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
27047 { (exit 1); exit 1; }; };; | |
27048 :[FH]-) ac_tag=-:-;; | 14660 :[FH]-) ac_tag=-:-;; |
27049 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 14661 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
27050 esac | 14662 esac |
27051 ac_save_IFS=$IFS | 14663 ac_save_IFS=$IFS |
27052 IFS=: | 14664 IFS=: |
27070 test -f "$ac_f" || | 14682 test -f "$ac_f" || |
27071 case $ac_f in | 14683 case $ac_f in |
27072 [\\/$]*) false;; | 14684 [\\/$]*) false;; |
27073 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 14685 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
27074 esac || | 14686 esac || |
27075 { { $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;; |
27076 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
27077 { (exit 1); exit 1; }; };; | |
27078 esac | 14688 esac |
27079 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 |
27080 ac_file_inputs="$ac_file_inputs '$ac_f'" | 14690 as_fn_append ac_file_inputs " '$ac_f'" |
27081 done | 14691 done |
27082 | 14692 |
27083 # 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 |
27084 # use $as_me), people would be surprised to read: | 14694 # use $as_me), people would be surprised to read: |
27085 # /* config.h. Generated by config.status. */ | 14695 # /* config.h. Generated by config.status. */ |
27086 configure_input='Generated from '` | 14696 configure_input='Generated from '` |
27087 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | 14697 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
27088 `' by configure.' | 14698 `' by configure.' |
27089 if test x"$ac_file" != x-; then | 14699 if test x"$ac_file" != x-; then |
27090 configure_input="$ac_file. $configure_input" | 14700 configure_input="$ac_file. $configure_input" |
27091 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 | 14701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
27092 $as_echo "$as_me: creating $ac_file" >&6;} | 14702 $as_echo "$as_me: creating $ac_file" >&6;} |
27093 fi | 14703 fi |
27094 # Neutralize special characters interpreted by sed in replacement strings. | 14704 # Neutralize special characters interpreted by sed in replacement strings. |
27095 case $configure_input in #( | 14705 case $configure_input in #( |
27096 *\&* | *\|* | *\\* ) | 14706 *\&* | *\|* | *\\* ) |
27099 *) ac_sed_conf_input=$configure_input;; | 14709 *) ac_sed_conf_input=$configure_input;; |
27100 esac | 14710 esac |
27101 | 14711 |
27102 case $ac_tag in | 14712 case $ac_tag in |
27103 *:-:* | *:-) cat >"$tmp/stdin" \ | 14713 *:-:* | *:-) cat >"$tmp/stdin" \ |
27104 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14714 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
27105 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27106 { (exit 1); exit 1; }; } ;; | |
27107 esac | 14715 esac |
27108 ;; | 14716 ;; |
27109 esac | 14717 esac |
27110 | 14718 |
27111 ac_dir=`$as_dirname -- "$ac_file" || | 14719 ac_dir=`$as_dirname -- "$ac_file" || |
27129 /^X\(\/\).*/{ | 14737 /^X\(\/\).*/{ |
27130 s//\1/ | 14738 s//\1/ |
27131 q | 14739 q |
27132 } | 14740 } |
27133 s/.*/./; q'` | 14741 s/.*/./; q'` |
27134 { as_dir="$ac_dir" | 14742 as_dir="$ac_dir"; as_fn_mkdir_p |
27135 case $as_dir in #( | |
27136 -*) as_dir=./$as_dir;; | |
27137 esac | |
27138 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
27139 as_dirs= | |
27140 while :; do | |
27141 case $as_dir in #( | |
27142 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
27143 *) as_qdir=$as_dir;; | |
27144 esac | |
27145 as_dirs="'$as_qdir' $as_dirs" | |
27146 as_dir=`$as_dirname -- "$as_dir" || | |
27147 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
27148 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
27149 X"$as_dir" : 'X\(//\)$' \| \ | |
27150 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
27151 $as_echo X"$as_dir" | | |
27152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
27153 s//\1/ | |
27154 q | |
27155 } | |
27156 /^X\(\/\/\)[^/].*/{ | |
27157 s//\1/ | |
27158 q | |
27159 } | |
27160 /^X\(\/\/\)$/{ | |
27161 s//\1/ | |
27162 q | |
27163 } | |
27164 /^X\(\/\).*/{ | |
27165 s//\1/ | |
27166 q | |
27167 } | |
27168 s/.*/./; q'` | |
27169 test -d "$as_dir" && break | |
27170 done | |
27171 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
27172 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
27173 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
27174 { (exit 1); exit 1; }; }; } | |
27175 ac_builddir=. | 14743 ac_builddir=. |
27176 | 14744 |
27177 case "$ac_dir" in | 14745 case "$ac_dir" in |
27178 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 14746 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
27179 *) | 14747 *) |
27221 | 14789 |
27222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
27223 # If the template does not know about datarootdir, expand it. | 14791 # If the template does not know about datarootdir, expand it. |
27224 # 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. |
27225 ac_datarootdir_hack=; ac_datarootdir_seen= | 14793 ac_datarootdir_hack=; ac_datarootdir_seen= |
27226 | |
27227 ac_sed_dataroot=' | 14794 ac_sed_dataroot=' |
27228 /datarootdir/ { | 14795 /datarootdir/ { |
27229 p | 14796 p |
27230 q | 14797 q |
27231 } | 14798 } |
27232 /@datadir@/p | 14799 /@datadir@/p |
27233 /@docdir@/p | 14800 /@docdir@/p |
27234 /@infodir@/p | 14801 /@infodir@/p |
27235 /@localedir@/p | 14802 /@localedir@/p |
27236 /@mandir@/p | 14803 /@mandir@/p' |
27237 ' | |
27238 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 14804 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
27239 *datarootdir*) ac_datarootdir_seen=yes;; | 14805 *datarootdir*) ac_datarootdir_seen=yes;; |
27240 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 14806 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
27241 { $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 |
27242 $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;} |
27243 _ACEOF | 14809 _ACEOF |
27244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
27245 ac_datarootdir_hack=' | 14811 ac_datarootdir_hack=' |
27246 s&@datadir@&$datadir&g | 14812 s&@datadir@&$datadir&g |
27247 s&@docdir@&$docdir&g | 14813 s&@docdir@&$docdir&g |
27248 s&@infodir@&$infodir&g | 14814 s&@infodir@&$infodir&g |
27249 s&@localedir@&$localedir&g | 14815 s&@localedir@&$localedir&g |
27250 s&@mandir@&$mandir&g | 14816 s&@mandir@&$mandir&g |
27251 s&\\\${datarootdir}&$datarootdir&g' ;; | 14817 s&\\\${datarootdir}&$datarootdir&g' ;; |
27252 esac | 14818 esac |
27253 _ACEOF | 14819 _ACEOF |
27254 | 14820 |
27255 # Neutralize VPATH when `$srcdir' = `.'. | 14821 # Neutralize VPATH when `$srcdir' = `.'. |
27256 # Shell code in configure.ac might set extrasub. | 14822 # Shell code in configure.ac might set extrasub. |
27274 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 14840 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
27275 s&@INSTALL@&$ac_INSTALL&;t t | 14841 s&@INSTALL@&$ac_INSTALL&;t t |
27276 $ac_datarootdir_hack | 14842 $ac_datarootdir_hack |
27277 " | 14843 " |
27278 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 14844 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
27279 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14845 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
27280 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27281 { (exit 1); exit 1; }; } | |
27282 | 14846 |
27283 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 14847 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
27284 { 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"; } && |
27285 { 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"; } && |
27286 { $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' |
27287 which seems to be undefined. Please make sure it is defined." >&5 | 14851 which seems to be undefined. Please make sure it is defined." >&5 |
27288 $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' |
27289 which seems to be undefined. Please make sure it is defined." >&2;} | 14853 which seems to be undefined. Please make sure it is defined." >&2;} |
27290 | 14854 |
27291 rm -f "$tmp/stdin" | 14855 rm -f "$tmp/stdin" |
27292 case $ac_file in | 14856 case $ac_file in |
27293 -) cat "$tmp/out" && rm -f "$tmp/out";; | 14857 -) cat "$tmp/out" && rm -f "$tmp/out";; |
27294 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 14858 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
27295 esac \ | 14859 esac \ |
27296 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14860 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
27297 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27298 { (exit 1); exit 1; }; } | |
27299 ;; | 14861 ;; |
27300 :H) | 14862 :H) |
27301 # | 14863 # |
27302 # CONFIG_HEADER | 14864 # CONFIG_HEADER |
27303 # | 14865 # |
27304 if test x"$ac_file" != x-; then | 14866 if test x"$ac_file" != x-; then |
27305 { | 14867 { |
27306 $as_echo "/* $configure_input */" \ | 14868 $as_echo "/* $configure_input */" \ |
27307 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 14869 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
27308 } >"$tmp/config.h" \ | 14870 } >"$tmp/config.h" \ |
27309 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14871 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
27310 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27311 { (exit 1); exit 1; }; } | |
27312 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 |
27313 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 14873 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
27314 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 14874 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
27315 else | 14875 else |
27316 rm -f "$ac_file" | 14876 rm -f "$ac_file" |
27317 mv "$tmp/config.h" "$ac_file" \ | 14877 mv "$tmp/config.h" "$ac_file" \ |
27318 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | 14878 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
27319 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27320 { (exit 1); exit 1; }; } | |
27321 fi | 14879 fi |
27322 else | 14880 else |
27323 $as_echo "/* $configure_input */" \ | 14881 $as_echo "/* $configure_input */" \ |
27324 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 14882 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
27325 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 | 14883 || as_fn_error "could not create -" "$LINENO" 5 |
27326 $as_echo "$as_me: error: could not create -" >&2;} | |
27327 { (exit 1); exit 1; }; } | |
27328 fi | 14884 fi |
27329 ;; | 14885 ;; |
27330 | 14886 |
27331 :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 |
27332 $as_echo "$as_me: executing $ac_file commands" >&6;} | 14888 $as_echo "$as_me: executing $ac_file commands" >&6;} |
27333 ;; | 14889 ;; |
27334 esac | 14890 esac |
27335 | 14891 |
27336 | 14892 |
27397 | 14953 |
27398 esac | 14954 esac |
27399 done # for ac_tag | 14955 done # for ac_tag |
27400 | 14956 |
27401 | 14957 |
27402 { (exit 0); exit 0; } | 14958 as_fn_exit 0 |
27403 _ACEOF | 14959 _ACEOF |
27404 chmod +x $CONFIG_STATUS | |
27405 ac_clean_files=$ac_clean_files_save | 14960 ac_clean_files=$ac_clean_files_save |
27406 | 14961 |
27407 test $ac_write_fail = 0 || | 14962 test $ac_write_fail = 0 || |
27408 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 | 14963 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
27409 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | |
27410 { (exit 1); exit 1; }; } | |
27411 | 14964 |
27412 | 14965 |
27413 # configure is writing to config.log, and then calls config.status. | 14966 # configure is writing to config.log, and then calls config.status. |
27414 # config.status does its own redirection, appending to config.log. | 14967 # config.status does its own redirection, appending to config.log. |
27415 # Unfortunately, on DOS this fails, as config.log is still kept open | 14968 # Unfortunately, on DOS this fails, as config.log is still kept open |
27426 exec 5>/dev/null | 14979 exec 5>/dev/null |
27427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 14980 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
27428 exec 5>>config.log | 14981 exec 5>>config.log |
27429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 14982 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
27430 # would make configure fail if this is the last instruction. | 14983 # would make configure fail if this is the last instruction. |
27431 $ac_cs_success || { (exit 1); exit 1; } | 14984 $ac_cs_success || as_fn_exit $? |
27432 fi | 14985 fi |
27433 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 14986 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
27434 { $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 |
27435 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} | 14988 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
27436 fi | 14989 fi |
27437 | 14990 |
27438 | 14991 |