Mercurial > emacs
comparison configure @ 108455:2d8a4d786871
Merge from mainline.
author | Katsumi Yamaoka <katsumi@flagship2> |
---|---|
date | Sun, 25 Apr 2010 13:11:29 +0000 |
parents | 76692c9b0d43 |
children | beeec356b30f |
comparison
equal
deleted
inserted
replaced
108454:fada58304621 | 108455:2d8a4d786871 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.65 for emacs 24.0.50. | 3 # Generated by GNU Autoconf 2.62 for emacs 24.0.50. |
4 # | |
5 # | 4 # |
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
8 # Inc. | |
9 # | |
10 # | |
11 # This configure script is free software; the Free Software Foundation | 7 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 8 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## | 9 ## --------------------- ## |
14 ## M4sh Initialization. ## | 10 ## M4sh Initialization. ## |
15 ## -------------------- ## | 11 ## --------------------- ## |
16 | 12 |
17 # Be more Bourne compatible | 13 # Be more Bourne compatible |
18 DUALCASE=1; export DUALCASE # for MKS sh | 14 DUALCASE=1; export DUALCASE # for MKS sh |
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
20 emulate sh | 16 emulate sh |
21 NULLCMD=: | 17 NULLCMD=: |
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
23 # is contrary to our usage. Disable this feature. | 19 # is contrary to our usage. Disable this feature. |
24 alias -g '${1+"$@"}'='"$@"' | 20 alias -g '${1+"$@"}'='"$@"' |
25 setopt NO_GLOB_SUBST | 21 setopt NO_GLOB_SUBST |
26 else | 22 else |
27 case `(set -o) 2>/dev/null` in #( | 23 case `(set -o) 2>/dev/null` in |
28 *posix*) : | 24 *posix*) set -o posix ;; |
29 set -o posix ;; #( | 25 esac |
30 *) : | 26 |
31 ;; | 27 fi |
32 esac | 28 |
33 fi | 29 |
34 | 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 | |
35 | 39 |
36 as_nl=' | 40 as_nl=' |
37 ' | 41 ' |
38 export as_nl | 42 export as_nl |
39 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 43 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 45 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 | 46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
43 # Prefer a ksh shell builtin over an external printf program on Solaris, | 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
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 | |
50 as_echo='printf %s\n' | 48 as_echo='printf %s\n' |
51 as_echo_n='printf %s' | 49 as_echo_n='printf %s' |
52 else | 50 else |
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
55 as_echo_n='/usr/ucb/echo -n' | 53 as_echo_n='/usr/ucb/echo -n' |
56 else | 54 else |
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
58 as_echo_n_body='eval | 56 as_echo_n_body='eval |
59 arg=$1; | 57 arg=$1; |
60 case $arg in #( | 58 case $arg in |
61 *"$as_nl"*) | 59 *"$as_nl"*) |
62 expr "X$arg" : "X\\(.*\\)$as_nl"; | 60 expr "X$arg" : "X\\(.*\\)$as_nl"; |
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
64 esac; | 62 esac; |
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
79 PATH_SEPARATOR=';' | 77 PATH_SEPARATOR=';' |
80 } | 78 } |
81 fi | 79 fi |
82 | 80 |
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 | |
83 | 88 |
84 # IFS | 89 # IFS |
85 # We need space, tab and new line, in precisely that order. Quoting is | 90 # We need space, tab and new line, in precisely that order. Quoting is |
86 # there to prevent editors from complaining about space-tab. | 91 # there to prevent editors from complaining about space-tab. |
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 # splitting by setting IFS to empty value.) | 93 # splitting by setting IFS to empty value.) |
89 IFS=" "" $as_nl" | 94 IFS=" "" $as_nl" |
90 | 95 |
91 # Find who we are. Look in the path if we contain no directory separator. | 96 # Find who we are. Look in the path if we contain no directory separator. |
92 case $0 in #(( | 97 case $0 in |
93 *[\\/]* ) as_myself=$0 ;; | 98 *[\\/]* ) as_myself=$0 ;; |
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
95 for as_dir in $PATH | 100 for as_dir in $PATH |
96 do | 101 do |
97 IFS=$as_save_IFS | 102 IFS=$as_save_IFS |
98 test -z "$as_dir" && as_dir=. | 103 test -z "$as_dir" && as_dir=. |
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
100 done | 105 done |
101 IFS=$as_save_IFS | 106 IFS=$as_save_IFS |
102 | 107 |
103 ;; | 108 ;; |
104 esac | 109 esac |
105 # We did not find ourselves, most probably we were run as `sh COMMAND' | 110 # We did not find ourselves, most probably we were run as `sh COMMAND' |
107 if test "x$as_myself" = x; then | 112 if test "x$as_myself" = x; then |
108 as_myself=$0 | 113 as_myself=$0 |
109 fi | 114 fi |
110 if test ! -f "$as_myself"; then | 115 if test ! -f "$as_myself"; then |
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
112 exit 1 | 117 { (exit 1); exit 1; } |
113 fi | 118 fi |
114 | 119 |
115 # Unset variables that we do not need and which cause bugs (e.g. in | 120 # Work around bugs in pre-3.0 UWIN ksh. |
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 121 for as_var in ENV MAIL MAILPATH |
117 # suppresses any "Segmentation fault" message there. '((' could | 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
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 || : | |
122 done | 123 done |
123 PS1='$ ' | 124 PS1='$ ' |
124 PS2='> ' | 125 PS2='> ' |
125 PS4='+ ' | 126 PS4='+ ' |
126 | 127 |
128 LC_ALL=C | 129 LC_ALL=C |
129 export LC_ALL | 130 export LC_ALL |
130 LANGUAGE=C | 131 LANGUAGE=C |
131 export LANGUAGE | 132 export LANGUAGE |
132 | 133 |
133 # CDPATH. | 134 # Required to use basename. |
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 | |
375 if expr a : '\(a\)' >/dev/null 2>&1 && | 135 if expr a : '\(a\)' >/dev/null 2>&1 && |
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
377 as_expr=expr | 137 as_expr=expr |
378 else | 138 else |
379 as_expr=false | 139 as_expr=false |
383 as_basename=basename | 143 as_basename=basename |
384 else | 144 else |
385 as_basename=false | 145 as_basename=false |
386 fi | 146 fi |
387 | 147 |
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 148 |
389 as_dirname=dirname | 149 # Name of the executable. |
390 else | |
391 as_dirname=false | |
392 fi | |
393 | |
394 as_me=`$as_basename -- "$0" || | 150 as_me=`$as_basename -- "$0" || |
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
396 X"$0" : 'X\(//\)$' \| \ | 152 X"$0" : 'X\(//\)$' \| \ |
397 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
398 $as_echo X/"$0" | | 154 $as_echo X/"$0" | |
408 s//\1/ | 164 s//\1/ |
409 q | 165 q |
410 } | 166 } |
411 s/.*/./; q'` | 167 s/.*/./; q'` |
412 | 168 |
413 # Avoid depending upon Character Ranges. | 169 # CDPATH. |
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 170 $as_unset CDPATH |
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 171 |
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 172 |
417 as_cr_digits='0123456789' | 173 if test "x$CONFIG_SHELL" = x; then |
418 as_cr_alnum=$as_cr_Letters$as_cr_digits | 174 if (eval ":") 2>/dev/null; then |
419 | 175 as_have_required=yes |
420 | 176 else |
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO | 177 as_have_required=no |
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO | 178 fi |
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 179 |
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 180 if test $as_have_required = yes && (eval ": |
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | 181 (as_func_return () { |
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. :-) | |
426 sed -n ' | 458 sed -n ' |
427 p | 459 p |
428 /[$]LINENO/= | 460 /[$]LINENO/= |
429 ' <$as_myself | | 461 ' <$as_myself | |
430 sed ' | 462 sed ' |
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
438 t loop | 470 t loop |
439 s/-\n.*// | 471 s/-\n.*// |
440 ' >$as_me.lineno && | 472 ' >$as_me.lineno && |
441 chmod +x "$as_me.lineno" || | 473 chmod +x "$as_me.lineno" || |
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
475 { (exit 1); exit 1; }; } | |
443 | 476 |
444 # Don't try to exec as it changes $[0], causing all sort of problems | 477 # Don't try to exec as it changes $[0], causing all sort of problems |
445 # (the dirname of $[0] is not the place where we might find the | 478 # (the dirname of $[0] is not the place where we might find the |
446 # original and so on. Autoconf is especially sensitive to this). | 479 # original and so on. Autoconf is especially sensitive to this). |
447 . "./$as_me.lineno" | 480 . "./$as_me.lineno" |
448 # Exit status is that of the last command. | 481 # Exit status is that of the last command. |
449 exit | 482 exit |
450 } | 483 } |
451 | 484 |
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 | |
452 ECHO_C= ECHO_N= ECHO_T= | 492 ECHO_C= ECHO_N= ECHO_T= |
453 case `echo -n x` in #((((( | 493 case `echo -n x` in |
454 -n*) | 494 -n*) |
455 case `echo 'xy\c'` in | 495 case `echo 'x\c'` in |
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
457 xy) ECHO_C='\c';; | 497 *) ECHO_C='\c';; |
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
459 ECHO_T=' ';; | |
460 esac;; | 498 esac;; |
461 *) | 499 *) |
462 ECHO_N='-n';; | 500 ECHO_N='-n';; |
463 esac | 501 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 | |
464 | 508 |
465 rm -f conf$$ conf$$.exe conf$$.file | 509 rm -f conf$$ conf$$.exe conf$$.file |
466 if test -d conf$$.dir; then | 510 if test -d conf$$.dir; then |
467 rm -f conf$$.dir/conf$$.file | 511 rm -f conf$$.dir/conf$$.file |
468 else | 512 else |
488 fi | 532 fi |
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
490 rmdir conf$$.dir 2>/dev/null | 534 rmdir conf$$.dir 2>/dev/null |
491 | 535 |
492 if mkdir -p . 2>/dev/null; then | 536 if mkdir -p . 2>/dev/null; then |
493 as_mkdir_p='mkdir -p "$as_dir"' | 537 as_mkdir_p=: |
494 else | 538 else |
495 test -d ./-p && rmdir ./-p | 539 test -d ./-p && rmdir ./-p |
496 as_mkdir_p=false | 540 as_mkdir_p=false |
497 fi | 541 fi |
498 | 542 |
507 as_test_x=' | 551 as_test_x=' |
508 eval sh -c '\'' | 552 eval sh -c '\'' |
509 if test -d "$1"; then | 553 if test -d "$1"; then |
510 test -d "$1/."; | 554 test -d "$1/."; |
511 else | 555 else |
512 case $1 in #( | 556 case $1 in |
513 -*)set "./$1";; | 557 -*)set "./$1";; |
514 esac; | 558 esac; |
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
516 ???[sx]*):;;*)false;;esac;fi | 560 ???[sx]*):;;*)false;;esac;fi |
517 '\'' sh | 561 '\'' sh |
518 ' | 562 ' |
519 fi | 563 fi |
520 as_executable_p=$as_test_x | 564 as_executable_p=$as_test_x |
524 | 568 |
525 # Sed expression to map a string onto a valid variable name. | 569 # Sed expression to map a string onto a valid variable name. |
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
527 | 571 |
528 | 572 |
529 test -n "$DJDIR" || exec 7<&0 </dev/null | 573 |
530 exec 6>&1 | 574 exec 7<&0 </dev/null 6>&1 |
531 | 575 |
532 # Name of the host. | 576 # Name of the host. |
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
534 # so uname gets run too. | 578 # so uname gets run too. |
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
543 LIBOBJS= | 587 LIBOBJS= |
544 cross_compiling=no | 588 cross_compiling=no |
545 subdirs= | 589 subdirs= |
546 MFLAGS= | 590 MFLAGS= |
547 MAKEFLAGS= | 591 MAKEFLAGS= |
592 SHELL=${CONFIG_SHELL-/bin/sh} | |
548 | 593 |
549 # Identity of this package. | 594 # Identity of this package. |
550 PACKAGE_NAME='emacs' | 595 PACKAGE_NAME='emacs' |
551 PACKAGE_TARNAME='emacs' | 596 PACKAGE_TARNAME='emacs' |
552 PACKAGE_VERSION='24.0.50' | 597 PACKAGE_VERSION='24.0.50' |
553 PACKAGE_STRING='emacs 24.0.50' | 598 PACKAGE_STRING='emacs 24.0.50' |
554 PACKAGE_BUGREPORT='' | 599 PACKAGE_BUGREPORT='' |
555 PACKAGE_URL='' | |
556 | 600 |
557 ac_unique_file="src/lisp.h" | 601 ac_unique_file="src/lisp.h" |
558 # Factoring default headers for most tests. | 602 # Factoring default headers for most tests. |
559 ac_includes_default="\ | 603 ac_includes_default="\ |
560 #include <stdio.h> | 604 #include <stdio.h> |
592 #endif" | 636 #endif" |
593 | 637 |
594 ac_config_libobj_dir=src | 638 ac_config_libobj_dir=src |
595 ac_header_list= | 639 ac_header_list= |
596 ac_func_list= | 640 ac_func_list= |
597 ac_subst_vars='LTLIBOBJS | 641 ac_subst_vars='SHELL |
642 PATH_SEPARATOR | |
643 PACKAGE_NAME | |
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 | |
598 XOBJ | 790 XOBJ |
599 XMENU_OBJ | 791 LTLIBOBJS' |
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 MAKEINFO | |
684 GZIP_PROG | |
685 INSTALL_INFO | |
686 RANLIB | |
687 INSTALL_DATA | |
688 INSTALL_SCRIPT | |
689 INSTALL_PROGRAM | |
690 LN_S | |
691 EGREP | |
692 GREP | |
693 CPP | |
694 OBJEXT | |
695 EXEEXT | |
696 ac_ct_CC | |
697 CPPFLAGS | |
698 LDFLAGS | |
699 CFLAGS | |
700 CC | |
701 host_os | |
702 host_vendor | |
703 host_cpu | |
704 host | |
705 build_os | |
706 build_vendor | |
707 build_cpu | |
708 build | |
709 MAINT | |
710 target_alias | |
711 host_alias | |
712 build_alias | |
713 LIBS | |
714 ECHO_T | |
715 ECHO_N | |
716 ECHO_C | |
717 DEFS | |
718 mandir | |
719 localedir | |
720 libdir | |
721 psdir | |
722 pdfdir | |
723 dvidir | |
724 htmldir | |
725 infodir | |
726 docdir | |
727 oldincludedir | |
728 includedir | |
729 localstatedir | |
730 sharedstatedir | |
731 sysconfdir | |
732 datadir | |
733 datarootdir | |
734 libexecdir | |
735 sbindir | |
736 bindir | |
737 program_transform_name | |
738 prefix | |
739 exec_prefix | |
740 PACKAGE_URL | |
741 PACKAGE_BUGREPORT | |
742 PACKAGE_STRING | |
743 PACKAGE_VERSION | |
744 PACKAGE_TARNAME | |
745 PACKAGE_NAME | |
746 PATH_SEPARATOR | |
747 SHELL' | |
748 ac_subst_files='' | 792 ac_subst_files='' |
749 ac_user_opts=' | 793 ac_user_opts=' |
750 enable_option_checking | 794 enable_option_checking |
751 with_pop | 795 with_pop |
752 with_kerberos | 796 with_kerberos |
777 with_selinux | 821 with_selinux |
778 with_makeinfo | 822 with_makeinfo |
779 with_gtk | 823 with_gtk |
780 with_gcc | 824 with_gcc |
781 with_pkg_config_prog | 825 with_pkg_config_prog |
826 with_crt_dir | |
782 with_gnustep_conf | 827 with_gnustep_conf |
783 enable_ns_self_contained | 828 enable_ns_self_contained |
784 enable_asserts | 829 enable_asserts |
785 enable_maintainer_mode | 830 enable_maintainer_mode |
786 enable_locallisppath | 831 enable_locallisppath |
906 | 951 |
907 -disable-* | --disable-*) | 952 -disable-* | --disable-*) |
908 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 953 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
909 # Reject names that are not valid shell variable names. | 954 # Reject names that are not valid shell variable names. |
910 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
911 as_fn_error "invalid feature name: $ac_useropt" | 956 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
957 { (exit 1); exit 1; }; } | |
912 ac_useropt_orig=$ac_useropt | 958 ac_useropt_orig=$ac_useropt |
913 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
914 case $ac_user_opts in | 960 case $ac_user_opts in |
915 *" | 961 *" |
916 "enable_$ac_useropt" | 962 "enable_$ac_useropt" |
932 | 978 |
933 -enable-* | --enable-*) | 979 -enable-* | --enable-*) |
934 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 980 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
935 # Reject names that are not valid shell variable names. | 981 # Reject names that are not valid shell variable names. |
936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
937 as_fn_error "invalid feature name: $ac_useropt" | 983 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
984 { (exit 1); exit 1; }; } | |
938 ac_useropt_orig=$ac_useropt | 985 ac_useropt_orig=$ac_useropt |
939 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
940 case $ac_user_opts in | 987 case $ac_user_opts in |
941 *" | 988 *" |
942 "enable_$ac_useropt" | 989 "enable_$ac_useropt" |
1136 | 1183 |
1137 -with-* | --with-*) | 1184 -with-* | --with-*) |
1138 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1185 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1139 # Reject names that are not valid shell variable names. | 1186 # Reject names that are not valid shell variable names. |
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1141 as_fn_error "invalid package name: $ac_useropt" | 1188 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1189 { (exit 1); exit 1; }; } | |
1142 ac_useropt_orig=$ac_useropt | 1190 ac_useropt_orig=$ac_useropt |
1143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1144 case $ac_user_opts in | 1192 case $ac_user_opts in |
1145 *" | 1193 *" |
1146 "with_$ac_useropt" | 1194 "with_$ac_useropt" |
1152 | 1200 |
1153 -without-* | --without-*) | 1201 -without-* | --without-*) |
1154 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1202 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1155 # Reject names that are not valid shell variable names. | 1203 # Reject names that are not valid shell variable names. |
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1157 as_fn_error "invalid package name: $ac_useropt" | 1205 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1206 { (exit 1); exit 1; }; } | |
1158 ac_useropt_orig=$ac_useropt | 1207 ac_useropt_orig=$ac_useropt |
1159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1160 case $ac_user_opts in | 1209 case $ac_user_opts in |
1161 *" | 1210 *" |
1162 "with_$ac_useropt" | 1211 "with_$ac_useropt" |
1182 ac_prev=x_libraries ;; | 1231 ac_prev=x_libraries ;; |
1183 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1184 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1185 x_libraries=$ac_optarg ;; | 1234 x_libraries=$ac_optarg ;; |
1186 | 1235 |
1187 -*) as_fn_error "unrecognized option: \`$ac_option' | 1236 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
1188 Try \`$0 --help' for more information." | 1237 Try \`$0 --help' for more information." >&2 |
1238 { (exit 1); exit 1; }; } | |
1189 ;; | 1239 ;; |
1190 | 1240 |
1191 *=*) | 1241 *=*) |
1192 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1242 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1193 # Reject names that are not valid shell variable names. | 1243 # Reject names that are not valid shell variable names. |
1194 case $ac_envvar in #( | 1244 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1195 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1245 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1196 as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1246 { (exit 1); exit 1; }; } |
1197 esac | |
1198 eval $ac_envvar=\$ac_optarg | 1247 eval $ac_envvar=\$ac_optarg |
1199 export $ac_envvar ;; | 1248 export $ac_envvar ;; |
1200 | 1249 |
1201 *) | 1250 *) |
1202 # FIXME: should be removed in autoconf 3.0. | 1251 # FIXME: should be removed in autoconf 3.0. |
1209 esac | 1258 esac |
1210 done | 1259 done |
1211 | 1260 |
1212 if test -n "$ac_prev"; then | 1261 if test -n "$ac_prev"; then |
1213 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1262 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1214 as_fn_error "missing argument to $ac_option" | 1263 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
1264 { (exit 1); exit 1; }; } | |
1215 fi | 1265 fi |
1216 | 1266 |
1217 if test -n "$ac_unrecognized_opts"; then | 1267 if test -n "$ac_unrecognized_opts"; then |
1218 case $enable_option_checking in | 1268 case $enable_option_checking in |
1219 no) ;; | 1269 no) ;; |
1220 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1270 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 |
1221 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1271 { (exit 1); exit 1; }; } ;; |
1272 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1222 esac | 1273 esac |
1223 fi | 1274 fi |
1224 | 1275 |
1225 # Check all directory arguments for consistency. | 1276 # Check all directory arguments for consistency. |
1226 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1277 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1238 # Be sure to have absolute directory names. | 1289 # Be sure to have absolute directory names. |
1239 case $ac_val in | 1290 case $ac_val in |
1240 [\\/$]* | ?:[\\/]* ) continue;; | 1291 [\\/$]* | ?:[\\/]* ) continue;; |
1241 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1242 esac | 1293 esac |
1243 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1294 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1295 { (exit 1); exit 1; }; } | |
1244 done | 1296 done |
1245 | 1297 |
1246 # There might be people who depend on the old broken behavior: `$host' | 1298 # There might be people who depend on the old broken behavior: `$host' |
1247 # used to hold the argument of --host etc. | 1299 # used to hold the argument of --host etc. |
1248 # FIXME: To remove some day. | 1300 # FIXME: To remove some day. |
1268 | 1320 |
1269 | 1321 |
1270 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1322 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1271 ac_ls_di=`ls -di .` && | 1323 ac_ls_di=`ls -di .` && |
1272 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1324 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1273 as_fn_error "working directory cannot be determined" | 1325 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 |
1326 { (exit 1); exit 1; }; } | |
1274 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1275 as_fn_error "pwd does not report name of working directory" | 1328 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
1329 { (exit 1); exit 1; }; } | |
1276 | 1330 |
1277 | 1331 |
1278 # Find the source files, if location was not specified. | 1332 # Find the source files, if location was not specified. |
1279 if test -z "$srcdir"; then | 1333 if test -z "$srcdir"; then |
1280 ac_srcdir_defaulted=yes | 1334 ac_srcdir_defaulted=yes |
1309 else | 1363 else |
1310 ac_srcdir_defaulted=no | 1364 ac_srcdir_defaulted=no |
1311 fi | 1365 fi |
1312 if test ! -r "$srcdir/$ac_unique_file"; then | 1366 if test ! -r "$srcdir/$ac_unique_file"; then |
1313 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1367 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1314 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1368 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1369 { (exit 1); exit 1; }; } | |
1315 fi | 1370 fi |
1316 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1371 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1317 ac_abs_confdir=`( | 1372 ac_abs_confdir=`( |
1318 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1373 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
1374 { (exit 1); exit 1; }; } | |
1319 pwd)` | 1375 pwd)` |
1320 # When building in place, set srcdir=. | 1376 # When building in place, set srcdir=. |
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1377 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1322 srcdir=. | 1378 srcdir=. |
1323 fi | 1379 fi |
1480 --without-selinux don't compile with SELinux support | 1536 --without-selinux don't compile with SELinux support |
1481 --without-makeinfo don't require makeinfo for building manuals | 1537 --without-makeinfo don't require makeinfo for building manuals |
1482 | 1538 |
1483 --with-pkg-config-prog=PATH | 1539 --with-pkg-config-prog=PATH |
1484 path to pkg-config for finding GTK and librsvg | 1540 path to pkg-config for finding GTK and librsvg |
1541 --with-crt-dir=DIR directory containing crtn.o etc. This option is only | |
1542 used on x86-64 and s390x GNU/Linux architectures. | |
1485 --with-gnustep-conf=PATH | 1543 --with-gnustep-conf=PATH |
1486 path to GNUstep.conf; default $GNUSTEP_CONFIG_FILE, | 1544 path to GNUstep.conf; default $GNUSTEP_CONFIG_FILE, |
1487 or /etc/GNUstep/GNUstep.conf | 1545 or /etc/GNUstep/GNUstep.conf |
1488 --with-x use the X Window System | 1546 --with-x use the X Window System |
1489 | 1547 |
1491 CC C compiler command | 1549 CC C compiler command |
1492 CFLAGS C compiler flags | 1550 CFLAGS C compiler flags |
1493 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1551 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1494 nonstandard directory <lib dir> | 1552 nonstandard directory <lib dir> |
1495 LIBS libraries to pass to the linker, e.g. -l<library> | 1553 LIBS libraries to pass to the linker, e.g. -l<library> |
1496 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1554 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1497 you have headers in a nonstandard directory <include dir> | 1555 you have headers in a nonstandard directory <include dir> |
1498 CPP C preprocessor | 1556 CPP C preprocessor |
1499 XMKMF Path to xmkmf, Makefile generator for X Window System | 1557 XMKMF Path to xmkmf, Makefile generator for X Window System |
1500 | 1558 |
1501 Use these variables to override the choices made by `configure' or to help | 1559 Use these variables to override the choices made by `configure' or to help |
1502 it to find libraries and programs with nonstandard names/locations. | 1560 it to find libraries and programs with nonstandard names/locations. |
1503 | 1561 |
1504 Report bugs to the package provider. | |
1505 _ACEOF | 1562 _ACEOF |
1506 ac_status=$? | 1563 ac_status=$? |
1507 fi | 1564 fi |
1508 | 1565 |
1509 if test "$ac_init_help" = "recursive"; then | 1566 if test "$ac_init_help" = "recursive"; then |
1563 | 1620 |
1564 test -n "$ac_init_help" && exit $ac_status | 1621 test -n "$ac_init_help" && exit $ac_status |
1565 if $ac_init_version; then | 1622 if $ac_init_version; then |
1566 cat <<\_ACEOF | 1623 cat <<\_ACEOF |
1567 emacs configure 24.0.50 | 1624 emacs configure 24.0.50 |
1568 generated by GNU Autoconf 2.65 | 1625 generated by GNU Autoconf 2.62 |
1569 | 1626 |
1570 Copyright (C) 2009 Free Software Foundation, Inc. | 1627 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1628 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
1571 This configure script is free software; the Free Software Foundation | 1629 This configure script is free software; the Free Software Foundation |
1572 gives unlimited permission to copy, distribute and modify it. | 1630 gives unlimited permission to copy, distribute and modify it. |
1573 _ACEOF | 1631 _ACEOF |
1574 exit | 1632 exit |
1575 fi | 1633 fi |
1576 | |
1577 ## ------------------------ ## | |
1578 ## Autoconf initialization. ## | |
1579 ## ------------------------ ## | |
1580 | |
1581 # ac_fn_c_try_compile LINENO | |
1582 # -------------------------- | |
1583 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1584 ac_fn_c_try_compile () | |
1585 { | |
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1587 rm -f conftest.$ac_objext | |
1588 if { { ac_try="$ac_compile" | |
1589 case "(($ac_try" in | |
1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1591 *) ac_try_echo=$ac_try;; | |
1592 esac | |
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1594 $as_echo "$ac_try_echo"; } >&5 | |
1595 (eval "$ac_compile") 2>conftest.err | |
1596 ac_status=$? | |
1597 if test -s conftest.err; then | |
1598 grep -v '^ *+' conftest.err >conftest.er1 | |
1599 cat conftest.er1 >&5 | |
1600 mv -f conftest.er1 conftest.err | |
1601 fi | |
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1603 test $ac_status = 0; } && { | |
1604 test -z "$ac_c_werror_flag" || | |
1605 test ! -s conftest.err | |
1606 } && test -s conftest.$ac_objext; then : | |
1607 ac_retval=0 | |
1608 else | |
1609 $as_echo "$as_me: failed program was:" >&5 | |
1610 sed 's/^/| /' conftest.$ac_ext >&5 | |
1611 | |
1612 ac_retval=1 | |
1613 fi | |
1614 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1615 as_fn_set_status $ac_retval | |
1616 | |
1617 } # ac_fn_c_try_compile | |
1618 | |
1619 # ac_fn_c_try_link LINENO | |
1620 # ----------------------- | |
1621 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1622 ac_fn_c_try_link () | |
1623 { | |
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1625 rm -f conftest.$ac_objext conftest$ac_exeext | |
1626 if { { ac_try="$ac_link" | |
1627 case "(($ac_try" in | |
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1629 *) ac_try_echo=$ac_try;; | |
1630 esac | |
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1632 $as_echo "$ac_try_echo"; } >&5 | |
1633 (eval "$ac_link") 2>conftest.err | |
1634 ac_status=$? | |
1635 if test -s conftest.err; then | |
1636 grep -v '^ *+' conftest.err >conftest.er1 | |
1637 cat conftest.er1 >&5 | |
1638 mv -f conftest.er1 conftest.err | |
1639 fi | |
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1641 test $ac_status = 0; } && { | |
1642 test -z "$ac_c_werror_flag" || | |
1643 test ! -s conftest.err | |
1644 } && test -s conftest$ac_exeext && { | |
1645 test "$cross_compiling" = yes || | |
1646 $as_test_x conftest$ac_exeext | |
1647 }; then : | |
1648 ac_retval=0 | |
1649 else | |
1650 $as_echo "$as_me: failed program was:" >&5 | |
1651 sed 's/^/| /' conftest.$ac_ext >&5 | |
1652 | |
1653 ac_retval=1 | |
1654 fi | |
1655 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1656 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1657 # interfere with the next link command; also delete a directory that is | |
1658 # left behind by Apple's compiler. We do this before executing the actions. | |
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1661 as_fn_set_status $ac_retval | |
1662 | |
1663 } # ac_fn_c_try_link | |
1664 | |
1665 # ac_fn_c_try_cpp LINENO | |
1666 # ---------------------- | |
1667 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1668 ac_fn_c_try_cpp () | |
1669 { | |
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1671 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1672 case "(($ac_try" in | |
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1674 *) ac_try_echo=$ac_try;; | |
1675 esac | |
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1677 $as_echo "$ac_try_echo"; } >&5 | |
1678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1679 ac_status=$? | |
1680 if test -s conftest.err; then | |
1681 grep -v '^ *+' conftest.err >conftest.er1 | |
1682 cat conftest.er1 >&5 | |
1683 mv -f conftest.er1 conftest.err | |
1684 fi | |
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1686 test $ac_status = 0; } >/dev/null && { | |
1687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1688 test ! -s conftest.err | |
1689 }; then : | |
1690 ac_retval=0 | |
1691 else | |
1692 $as_echo "$as_me: failed program was:" >&5 | |
1693 sed 's/^/| /' conftest.$ac_ext >&5 | |
1694 | |
1695 ac_retval=1 | |
1696 fi | |
1697 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1698 as_fn_set_status $ac_retval | |
1699 | |
1700 } # ac_fn_c_try_cpp | |
1701 | |
1702 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1703 # ------------------------------------------------------- | |
1704 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1705 # the include files in INCLUDES and setting the cache variable VAR | |
1706 # accordingly. | |
1707 ac_fn_c_check_header_mongrel () | |
1708 { | |
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1710 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1712 $as_echo_n "checking for $2... " >&6; } | |
1713 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1714 $as_echo_n "(cached) " >&6 | |
1715 fi | |
1716 eval ac_res=\$$3 | |
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1718 $as_echo "$ac_res" >&6; } | |
1719 else | |
1720 # Is the header compilable? | |
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1722 $as_echo_n "checking $2 usability... " >&6; } | |
1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1724 /* end confdefs.h. */ | |
1725 $4 | |
1726 #include <$2> | |
1727 _ACEOF | |
1728 if ac_fn_c_try_compile "$LINENO"; then : | |
1729 ac_header_compiler=yes | |
1730 else | |
1731 ac_header_compiler=no | |
1732 fi | |
1733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1735 $as_echo "$ac_header_compiler" >&6; } | |
1736 | |
1737 # Is the header present? | |
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1739 $as_echo_n "checking $2 presence... " >&6; } | |
1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1741 /* end confdefs.h. */ | |
1742 #include <$2> | |
1743 _ACEOF | |
1744 if ac_fn_c_try_cpp "$LINENO"; then : | |
1745 ac_header_preproc=yes | |
1746 else | |
1747 ac_header_preproc=no | |
1748 fi | |
1749 rm -f conftest.err conftest.$ac_ext | |
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1751 $as_echo "$ac_header_preproc" >&6; } | |
1752 | |
1753 # So? What about this header? | |
1754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1755 yes:no: ) | |
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1757 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1759 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1760 ;; | |
1761 no:yes:* ) | |
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1763 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1765 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1767 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1769 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1771 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1772 ;; | |
1773 esac | |
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1775 $as_echo_n "checking for $2... " >&6; } | |
1776 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1777 $as_echo_n "(cached) " >&6 | |
1778 else | |
1779 eval "$3=\$ac_header_compiler" | |
1780 fi | |
1781 eval ac_res=\$$3 | |
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1783 $as_echo "$ac_res" >&6; } | |
1784 fi | |
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1786 | |
1787 } # ac_fn_c_check_header_mongrel | |
1788 | |
1789 # ac_fn_c_try_run LINENO | |
1790 # ---------------------- | |
1791 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1792 # that executables *can* be run. | |
1793 ac_fn_c_try_run () | |
1794 { | |
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1796 if { { ac_try="$ac_link" | |
1797 case "(($ac_try" in | |
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1799 *) ac_try_echo=$ac_try;; | |
1800 esac | |
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1802 $as_echo "$ac_try_echo"; } >&5 | |
1803 (eval "$ac_link") 2>&5 | |
1804 ac_status=$? | |
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1806 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1807 { { case "(($ac_try" in | |
1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1809 *) ac_try_echo=$ac_try;; | |
1810 esac | |
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1812 $as_echo "$ac_try_echo"; } >&5 | |
1813 (eval "$ac_try") 2>&5 | |
1814 ac_status=$? | |
1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1816 test $ac_status = 0; }; }; then : | |
1817 ac_retval=0 | |
1818 else | |
1819 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1820 $as_echo "$as_me: failed program was:" >&5 | |
1821 sed 's/^/| /' conftest.$ac_ext >&5 | |
1822 | |
1823 ac_retval=$ac_status | |
1824 fi | |
1825 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1826 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1827 as_fn_set_status $ac_retval | |
1828 | |
1829 } # ac_fn_c_try_run | |
1830 | |
1831 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1832 # ------------------------------------------------------- | |
1833 # Tests whether HEADER exists and can be compiled using the include files in | |
1834 # INCLUDES, setting the cache variable VAR accordingly. | |
1835 ac_fn_c_check_header_compile () | |
1836 { | |
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1839 $as_echo_n "checking for $2... " >&6; } | |
1840 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1841 $as_echo_n "(cached) " >&6 | |
1842 else | |
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1844 /* end confdefs.h. */ | |
1845 $4 | |
1846 #include <$2> | |
1847 _ACEOF | |
1848 if ac_fn_c_try_compile "$LINENO"; then : | |
1849 eval "$3=yes" | |
1850 else | |
1851 eval "$3=no" | |
1852 fi | |
1853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1854 fi | |
1855 eval ac_res=\$$3 | |
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1857 $as_echo "$ac_res" >&6; } | |
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1859 | |
1860 } # ac_fn_c_check_header_compile | |
1861 | |
1862 # ac_fn_c_check_header_preproc LINENO HEADER VAR | |
1863 # ---------------------------------------------- | |
1864 # Tests whether HEADER is present, setting the cache variable VAR accordingly. | |
1865 ac_fn_c_check_header_preproc () | |
1866 { | |
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1869 $as_echo_n "checking for $2... " >&6; } | |
1870 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1871 $as_echo_n "(cached) " >&6 | |
1872 else | |
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1874 /* end confdefs.h. */ | |
1875 #include <$2> | |
1876 _ACEOF | |
1877 if ac_fn_c_try_cpp "$LINENO"; then : | |
1878 eval "$3=yes" | |
1879 else | |
1880 eval "$3=no" | |
1881 fi | |
1882 rm -f conftest.err conftest.$ac_ext | |
1883 fi | |
1884 eval ac_res=\$$3 | |
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1886 $as_echo "$ac_res" >&6; } | |
1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1888 | |
1889 } # ac_fn_c_check_header_preproc | |
1890 | |
1891 # ac_fn_c_check_decl LINENO SYMBOL VAR | |
1892 # ------------------------------------ | |
1893 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | |
1894 ac_fn_c_check_decl () | |
1895 { | |
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | |
1898 $as_echo_n "checking whether $2 is declared... " >&6; } | |
1899 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1900 $as_echo_n "(cached) " >&6 | |
1901 else | |
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1903 /* end confdefs.h. */ | |
1904 $4 | |
1905 int | |
1906 main () | |
1907 { | |
1908 #ifndef $2 | |
1909 (void) $2; | |
1910 #endif | |
1911 | |
1912 ; | |
1913 return 0; | |
1914 } | |
1915 _ACEOF | |
1916 if ac_fn_c_try_compile "$LINENO"; then : | |
1917 eval "$3=yes" | |
1918 else | |
1919 eval "$3=no" | |
1920 fi | |
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1922 fi | |
1923 eval ac_res=\$$3 | |
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1925 $as_echo "$ac_res" >&6; } | |
1926 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1927 | |
1928 } # ac_fn_c_check_decl | |
1929 | |
1930 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | |
1931 # ---------------------------------------------------- | |
1932 # Tries to find if the field MEMBER exists in type AGGR, after including | |
1933 # INCLUDES, setting cache variable VAR accordingly. | |
1934 ac_fn_c_check_member () | |
1935 { | |
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | |
1938 $as_echo_n "checking for $2.$3... " >&6; } | |
1939 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1940 $as_echo_n "(cached) " >&6 | |
1941 else | |
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1943 /* end confdefs.h. */ | |
1944 $5 | |
1945 int | |
1946 main () | |
1947 { | |
1948 static $2 ac_aggr; | |
1949 if (ac_aggr.$3) | |
1950 return 0; | |
1951 ; | |
1952 return 0; | |
1953 } | |
1954 _ACEOF | |
1955 if ac_fn_c_try_compile "$LINENO"; then : | |
1956 eval "$4=yes" | |
1957 else | |
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1959 /* end confdefs.h. */ | |
1960 $5 | |
1961 int | |
1962 main () | |
1963 { | |
1964 static $2 ac_aggr; | |
1965 if (sizeof ac_aggr.$3) | |
1966 return 0; | |
1967 ; | |
1968 return 0; | |
1969 } | |
1970 _ACEOF | |
1971 if ac_fn_c_try_compile "$LINENO"; then : | |
1972 eval "$4=yes" | |
1973 else | |
1974 eval "$4=no" | |
1975 fi | |
1976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1977 fi | |
1978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1979 fi | |
1980 eval ac_res=\$$4 | |
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1982 $as_echo "$ac_res" >&6; } | |
1983 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1984 | |
1985 } # ac_fn_c_check_member | |
1986 | |
1987 # ac_fn_c_check_func LINENO FUNC VAR | |
1988 # ---------------------------------- | |
1989 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
1990 ac_fn_c_check_func () | |
1991 { | |
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1994 $as_echo_n "checking for $2... " >&6; } | |
1995 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1996 $as_echo_n "(cached) " >&6 | |
1997 else | |
1998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1999 /* end confdefs.h. */ | |
2000 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
2001 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
2002 #define $2 innocuous_$2 | |
2003 | |
2004 /* System header to define __stub macros and hopefully few prototypes, | |
2005 which can conflict with char $2 (); below. | |
2006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
2007 <limits.h> exists even on freestanding compilers. */ | |
2008 | |
2009 #ifdef __STDC__ | |
2010 # include <limits.h> | |
2011 #else | |
2012 # include <assert.h> | |
2013 #endif | |
2014 | |
2015 #undef $2 | |
2016 | |
2017 /* Override any GCC internal prototype to avoid an error. | |
2018 Use char because int might match the return type of a GCC | |
2019 builtin and then its argument prototype would still apply. */ | |
2020 #ifdef __cplusplus | |
2021 extern "C" | |
2022 #endif | |
2023 char $2 (); | |
2024 /* The GNU C library defines this for functions which it implements | |
2025 to always fail with ENOSYS. Some functions are actually named | |
2026 something starting with __ and the normal name is an alias. */ | |
2027 #if defined __stub_$2 || defined __stub___$2 | |
2028 choke me | |
2029 #endif | |
2030 | |
2031 int | |
2032 main () | |
2033 { | |
2034 return $2 (); | |
2035 ; | |
2036 return 0; | |
2037 } | |
2038 _ACEOF | |
2039 if ac_fn_c_try_link "$LINENO"; then : | |
2040 eval "$3=yes" | |
2041 else | |
2042 eval "$3=no" | |
2043 fi | |
2044 rm -f core conftest.err conftest.$ac_objext \ | |
2045 conftest$ac_exeext conftest.$ac_ext | |
2046 fi | |
2047 eval ac_res=\$$3 | |
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2049 $as_echo "$ac_res" >&6; } | |
2050 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
2051 | |
2052 } # ac_fn_c_check_func | |
2053 | |
2054 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | |
2055 # ------------------------------------------- | |
2056 # Tests whether TYPE exists after having included INCLUDES, setting cache | |
2057 # variable VAR accordingly. | |
2058 ac_fn_c_check_type () | |
2059 { | |
2060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2062 $as_echo_n "checking for $2... " >&6; } | |
2063 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2064 $as_echo_n "(cached) " >&6 | |
2065 else | |
2066 eval "$3=no" | |
2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2068 /* end confdefs.h. */ | |
2069 $4 | |
2070 int | |
2071 main () | |
2072 { | |
2073 if (sizeof ($2)) | |
2074 return 0; | |
2075 ; | |
2076 return 0; | |
2077 } | |
2078 _ACEOF | |
2079 if ac_fn_c_try_compile "$LINENO"; then : | |
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2081 /* end confdefs.h. */ | |
2082 $4 | |
2083 int | |
2084 main () | |
2085 { | |
2086 if (sizeof (($2))) | |
2087 return 0; | |
2088 ; | |
2089 return 0; | |
2090 } | |
2091 _ACEOF | |
2092 if ac_fn_c_try_compile "$LINENO"; then : | |
2093 | |
2094 else | |
2095 eval "$3=yes" | |
2096 fi | |
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2098 fi | |
2099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2100 fi | |
2101 eval ac_res=\$$3 | |
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2103 $as_echo "$ac_res" >&6; } | |
2104 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
2105 | |
2106 } # ac_fn_c_check_type | |
2107 cat >config.log <<_ACEOF | 1634 cat >config.log <<_ACEOF |
2108 This file contains any messages produced by compilers while | 1635 This file contains any messages produced by compilers while |
2109 running configure, to aid debugging if configure makes a mistake. | 1636 running configure, to aid debugging if configure makes a mistake. |
2110 | 1637 |
2111 It was created by emacs $as_me 24.0.50, which was | 1638 It was created by emacs $as_me 24.0.50, which was |
2112 generated by GNU Autoconf 2.65. Invocation command line was | 1639 generated by GNU Autoconf 2.62. Invocation command line was |
2113 | 1640 |
2114 $ $0 $@ | 1641 $ $0 $@ |
2115 | 1642 |
2116 _ACEOF | 1643 _ACEOF |
2117 exec 5>>config.log | 1644 exec 5>>config.log |
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2144 for as_dir in $PATH | 1671 for as_dir in $PATH |
2145 do | 1672 do |
2146 IFS=$as_save_IFS | 1673 IFS=$as_save_IFS |
2147 test -z "$as_dir" && as_dir=. | 1674 test -z "$as_dir" && as_dir=. |
2148 $as_echo "PATH: $as_dir" | 1675 $as_echo "PATH: $as_dir" |
2149 done | 1676 done |
2150 IFS=$as_save_IFS | 1677 IFS=$as_save_IFS |
2151 | 1678 |
2152 } >&5 | 1679 } >&5 |
2153 | 1680 |
2154 cat >&5 <<_ACEOF | 1681 cat >&5 <<_ACEOF |
2181 continue ;; | 1708 continue ;; |
2182 *\'*) | 1709 *\'*) |
2183 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1710 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2184 esac | 1711 esac |
2185 case $ac_pass in | 1712 case $ac_pass in |
2186 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1713 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
2187 2) | 1714 2) |
2188 as_fn_append ac_configure_args1 " '$ac_arg'" | 1715 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
2189 if test $ac_must_keep_next = true; then | 1716 if test $ac_must_keep_next = true; then |
2190 ac_must_keep_next=false # Got value, back to normal. | 1717 ac_must_keep_next=false # Got value, back to normal. |
2191 else | 1718 else |
2192 case $ac_arg in | 1719 case $ac_arg in |
2193 *=* | --config-cache | -C | -disable-* | --disable-* \ | 1720 *=* | --config-cache | -C | -disable-* | --disable-* \ |
2199 esac | 1726 esac |
2200 ;; | 1727 ;; |
2201 -* ) ac_must_keep_next=true ;; | 1728 -* ) ac_must_keep_next=true ;; |
2202 esac | 1729 esac |
2203 fi | 1730 fi |
2204 as_fn_append ac_configure_args " '$ac_arg'" | 1731 ac_configure_args="$ac_configure_args '$ac_arg'" |
2205 ;; | 1732 ;; |
2206 esac | 1733 esac |
2207 done | 1734 done |
2208 done | 1735 done |
2209 { ac_configure_args0=; unset ac_configure_args0;} | 1736 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
2210 { ac_configure_args1=; unset ac_configure_args1;} | 1737 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
2211 | 1738 |
2212 # When interrupted or exit'd, cleanup temporary files, and complete | 1739 # When interrupted or exit'd, cleanup temporary files, and complete |
2213 # config.log. We remove comments because anyway the quotes in there | 1740 # config.log. We remove comments because anyway the quotes in there |
2214 # would cause problems or look ugly. | 1741 # would cause problems or look ugly. |
2215 # WARNING: Use '\'' to represent an apostrophe within the trap. | 1742 # WARNING: Use '\'' to represent an apostrophe within the trap. |
2230 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1757 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2231 eval ac_val=\$$ac_var | 1758 eval ac_val=\$$ac_var |
2232 case $ac_val in #( | 1759 case $ac_val in #( |
2233 *${as_nl}*) | 1760 *${as_nl}*) |
2234 case $ac_var in #( | 1761 case $ac_var in #( |
2235 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1762 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
2236 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 1763 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
2237 esac | 1764 esac |
2238 case $ac_var in #( | 1765 case $ac_var in #( |
2239 _ | IFS | as_nl) ;; #( | 1766 _ | IFS | as_nl) ;; #( |
2240 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2241 *) { eval $ac_var=; unset $ac_var;} ;; | 1768 *) $as_unset $ac_var ;; |
2242 esac ;; | 1769 esac ;; |
2243 esac | 1770 esac |
2244 done | 1771 done |
2245 (set) 2>&1 | | 1772 (set) 2>&1 | |
2246 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 1773 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2308 rm -f core *.core core.conftest.* && | 1835 rm -f core *.core core.conftest.* && |
2309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 1836 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2310 exit $exit_status | 1837 exit $exit_status |
2311 ' 0 | 1838 ' 0 |
2312 for ac_signal in 1 2 13 15; do | 1839 for ac_signal in 1 2 13 15; do |
2313 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 1840 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2314 done | 1841 done |
2315 ac_signal=0 | 1842 ac_signal=0 |
2316 | 1843 |
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1844 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2318 rm -f -r conftest* confdefs.h | 1845 rm -f -r conftest* confdefs.h |
2319 | 1846 |
2320 $as_echo "/* confdefs.h */" > confdefs.h | |
2321 | |
2322 # Predefined preprocessor variables. | 1847 # Predefined preprocessor variables. |
2323 | 1848 |
2324 cat >>confdefs.h <<_ACEOF | 1849 cat >>confdefs.h <<_ACEOF |
2325 #define PACKAGE_NAME "$PACKAGE_NAME" | 1850 #define PACKAGE_NAME "$PACKAGE_NAME" |
2326 _ACEOF | 1851 _ACEOF |
2327 | 1852 |
1853 | |
2328 cat >>confdefs.h <<_ACEOF | 1854 cat >>confdefs.h <<_ACEOF |
2329 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1855 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2330 _ACEOF | 1856 _ACEOF |
2331 | 1857 |
1858 | |
2332 cat >>confdefs.h <<_ACEOF | 1859 cat >>confdefs.h <<_ACEOF |
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1860 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2334 _ACEOF | 1861 _ACEOF |
2335 | 1862 |
1863 | |
2336 cat >>confdefs.h <<_ACEOF | 1864 cat >>confdefs.h <<_ACEOF |
2337 #define PACKAGE_STRING "$PACKAGE_STRING" | 1865 #define PACKAGE_STRING "$PACKAGE_STRING" |
2338 _ACEOF | 1866 _ACEOF |
2339 | 1867 |
1868 | |
2340 cat >>confdefs.h <<_ACEOF | 1869 cat >>confdefs.h <<_ACEOF |
2341 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 1870 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2342 _ACEOF | |
2343 | |
2344 cat >>confdefs.h <<_ACEOF | |
2345 #define PACKAGE_URL "$PACKAGE_URL" | |
2346 _ACEOF | 1871 _ACEOF |
2347 | 1872 |
2348 | 1873 |
2349 # Let the site file select an alternate cache file if it wants to. | 1874 # Let the site file select an alternate cache file if it wants to. |
2350 # Prefer an explicitly selected file to automatically selected ones. | 1875 # Prefer an explicitly selected file to automatically selected ones. |
2360 ac_site_file2=$ac_default_prefix/etc/config.site | 1885 ac_site_file2=$ac_default_prefix/etc/config.site |
2361 fi | 1886 fi |
2362 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 1887 for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2363 do | 1888 do |
2364 test "x$ac_site_file" = xNONE && continue | 1889 test "x$ac_site_file" = xNONE && continue |
2365 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 1890 if test -r "$ac_site_file"; then |
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 1891 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2367 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 1892 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2368 sed 's/^/| /' "$ac_site_file" >&5 | 1893 sed 's/^/| /' "$ac_site_file" >&5 |
2369 . "$ac_site_file" | 1894 . "$ac_site_file" |
2370 fi | 1895 fi |
2371 done | 1896 done |
2372 | 1897 |
2373 if test -r "$cache_file"; then | 1898 if test -r "$cache_file"; then |
2374 # Some versions of bash will fail to source /dev/null (special files | 1899 # Some versions of bash will fail to source /dev/null (special |
2375 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 1900 # files actually), so we avoid doing that. |
2376 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 1901 if test -f "$cache_file"; then |
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 1902 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2378 $as_echo "$as_me: loading cache $cache_file" >&6;} | 1903 $as_echo "$as_me: loading cache $cache_file" >&6;} |
2379 case $cache_file in | 1904 case $cache_file in |
2380 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1905 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2381 *) . "./$cache_file";; | 1906 *) . "./$cache_file";; |
2382 esac | 1907 esac |
2383 fi | 1908 fi |
2384 else | 1909 else |
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 1910 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2386 $as_echo "$as_me: creating cache $cache_file" >&6;} | 1911 $as_echo "$as_me: creating cache $cache_file" >&6;} |
2387 >$cache_file | 1912 >$cache_file |
2388 fi | 1913 fi |
2389 | 1914 |
2390 as_fn_append ac_header_list " stdlib.h" | 1915 ac_header_list="$ac_header_list sys/time.h" |
2391 as_fn_append ac_header_list " unistd.h" | 1916 ac_header_list="$ac_header_list unistd.h" |
2392 as_fn_append ac_header_list " sys/param.h" | 1917 ac_func_list="$ac_func_list alarm" |
2393 as_fn_append ac_header_list " sys/time.h" | |
2394 as_fn_append ac_func_list " alarm" | |
2395 # Check that the precious variables saved in the cache have kept the same | 1918 # Check that the precious variables saved in the cache have kept the same |
2396 # value. | 1919 # value. |
2397 ac_cache_corrupted=false | 1920 ac_cache_corrupted=false |
2398 for ac_var in $ac_precious_vars; do | 1921 for ac_var in $ac_precious_vars; do |
2399 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 1922 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2400 eval ac_new_set=\$ac_env_${ac_var}_set | 1923 eval ac_new_set=\$ac_env_${ac_var}_set |
2401 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 1924 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2402 eval ac_new_val=\$ac_env_${ac_var}_value | 1925 eval ac_new_val=\$ac_env_${ac_var}_value |
2403 case $ac_old_set,$ac_new_set in | 1926 case $ac_old_set,$ac_new_set in |
2404 set,) | 1927 set,) |
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1928 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2406 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1929 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2407 ac_cache_corrupted=: ;; | 1930 ac_cache_corrupted=: ;; |
2408 ,set) | 1931 ,set) |
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 1932 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2410 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1933 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2411 ac_cache_corrupted=: ;; | 1934 ac_cache_corrupted=: ;; |
2412 ,);; | 1935 ,);; |
2413 *) | 1936 *) |
2414 if test "x$ac_old_val" != "x$ac_new_val"; then | 1937 if test "x$ac_old_val" != "x$ac_new_val"; then |
2415 # differences in whitespace do not lead to failure. | 1938 # differences in whitespace do not lead to failure. |
2416 ac_old_val_w=`echo x $ac_old_val` | 1939 ac_old_val_w=`echo x $ac_old_val` |
2417 ac_new_val_w=`echo x $ac_new_val` | 1940 ac_new_val_w=`echo x $ac_new_val` |
2418 if test "$ac_old_val_w" != "$ac_new_val_w"; then | 1941 if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 1942 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
2420 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1943 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2421 ac_cache_corrupted=: | 1944 ac_cache_corrupted=: |
2422 else | 1945 else |
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 1946 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2424 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 1947 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2425 eval $ac_var=\$ac_old_val | 1948 eval $ac_var=\$ac_old_val |
2426 fi | 1949 fi |
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | 1950 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
2428 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | 1951 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | 1952 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
2430 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | 1953 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2431 fi;; | 1954 fi;; |
2432 esac | 1955 esac |
2433 # Pass precious variables to config.status. | 1956 # Pass precious variables to config.status. |
2434 if test "$ac_new_set" = set; then | 1957 if test "$ac_new_set" = set; then |
2436 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 1959 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2437 *) ac_arg=$ac_var=$ac_new_val ;; | 1960 *) ac_arg=$ac_var=$ac_new_val ;; |
2438 esac | 1961 esac |
2439 case " $ac_configure_args " in | 1962 case " $ac_configure_args " in |
2440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1963 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2441 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 1964 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2442 esac | 1965 esac |
2443 fi | 1966 fi |
2444 done | 1967 done |
2445 if $ac_cache_corrupted; then | 1968 if $ac_cache_corrupted; then |
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 1969 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
2449 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 1970 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2450 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 1971 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
2451 fi | 1972 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
2452 ## -------------------- ## | 1973 { (exit 1); exit 1; }; } |
2453 ## Main body of script. ## | 1974 fi |
2454 ## -------------------- ## | 1975 |
1976 | |
1977 | |
1978 | |
1979 | |
1980 | |
1981 | |
1982 | |
1983 | |
1984 | |
1985 | |
1986 | |
1987 | |
1988 | |
1989 | |
1990 | |
1991 | |
1992 | |
1993 | |
1994 | |
1995 | |
1996 | |
1997 | |
1998 | |
2455 | 1999 |
2456 ac_ext=c | 2000 ac_ext=c |
2457 ac_cpp='$CPP $CPPFLAGS' | 2001 ac_cpp='$CPP $CPPFLAGS' |
2458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2488 | 2032 |
2489 | 2033 |
2490 | 2034 |
2491 | 2035 |
2492 # Check whether --with-pop was given. | 2036 # Check whether --with-pop was given. |
2493 if test "${with_pop+set}" = set; then : | 2037 if test "${with_pop+set}" = set; then |
2494 withval=$with_pop; | 2038 withval=$with_pop; |
2495 else | 2039 else |
2496 with_pop=yes | 2040 with_pop=yes |
2497 fi | 2041 fi |
2498 | 2042 |
2499 if test "$with_pop" = yes; then | 2043 if test "$with_pop" = yes; then |
2500 $as_echo "#define MAIL_USE_POP 1" >>confdefs.h | 2044 cat >>confdefs.h <<\_ACEOF |
2501 | 2045 #define MAIL_USE_POP 1 |
2502 fi | 2046 _ACEOF |
2047 | |
2048 fi | |
2049 | |
2503 | 2050 |
2504 | 2051 |
2505 # Check whether --with-kerberos was given. | 2052 # Check whether --with-kerberos was given. |
2506 if test "${with_kerberos+set}" = set; then : | 2053 if test "${with_kerberos+set}" = set; then |
2507 withval=$with_kerberos; | 2054 withval=$with_kerberos; |
2508 else | 2055 else |
2509 with_kerberos=no | 2056 with_kerberos=no |
2510 fi | 2057 fi |
2511 | 2058 |
2512 if test "$with_kerberos" != no; then | 2059 if test "$with_kerberos" != no; then |
2513 $as_echo "#define KERBEROS 1" >>confdefs.h | 2060 cat >>confdefs.h <<\_ACEOF |
2514 | 2061 #define KERBEROS 1 |
2515 fi | 2062 _ACEOF |
2063 | |
2064 fi | |
2065 | |
2516 | 2066 |
2517 | 2067 |
2518 # Check whether --with-kerberos5 was given. | 2068 # Check whether --with-kerberos5 was given. |
2519 if test "${with_kerberos5+set}" = set; then : | 2069 if test "${with_kerberos5+set}" = set; then |
2520 withval=$with_kerberos5; | 2070 withval=$with_kerberos5; |
2521 else | 2071 else |
2522 with_kerberos5=no | 2072 with_kerberos5=no |
2523 fi | 2073 fi |
2524 | 2074 |
2525 if test "${with_kerberos5}" != no; then | 2075 if test "${with_kerberos5}" != no; then |
2526 if test "${with_kerberos}" = no; then | 2076 if test "${with_kerberos}" = no; then |
2527 with_kerberos=yes | 2077 with_kerberos=yes |
2528 $as_echo "#define KERBEROS 1" >>confdefs.h | 2078 cat >>confdefs.h <<\_ACEOF |
2079 #define KERBEROS 1 | |
2080 _ACEOF | |
2529 | 2081 |
2530 fi | 2082 fi |
2531 | 2083 |
2532 $as_echo "#define KERBEROS5 1" >>confdefs.h | 2084 cat >>confdefs.h <<\_ACEOF |
2085 #define KERBEROS5 1 | |
2086 _ACEOF | |
2533 | 2087 |
2534 fi | 2088 fi |
2535 | 2089 |
2536 | 2090 |
2537 # Check whether --with-hesiod was given. | 2091 # Check whether --with-hesiod was given. |
2538 if test "${with_hesiod+set}" = set; then : | 2092 if test "${with_hesiod+set}" = set; then |
2539 withval=$with_hesiod; | 2093 withval=$with_hesiod; |
2540 else | 2094 else |
2541 with_hesiod=no | 2095 with_hesiod=no |
2542 fi | 2096 fi |
2543 | 2097 |
2544 if test "$with_hesiod" != no; then | 2098 if test "$with_hesiod" != no; then |
2545 | 2099 |
2546 $as_echo "#define HESIOD 1" >>confdefs.h | 2100 cat >>confdefs.h <<\_ACEOF |
2101 #define HESIOD 1 | |
2102 _ACEOF | |
2547 | 2103 |
2548 fi | 2104 fi |
2549 | 2105 |
2550 | 2106 |
2551 # Check whether --with-mmdf was given. | 2107 # Check whether --with-mmdf was given. |
2552 if test "${with_mmdf+set}" = set; then : | 2108 if test "${with_mmdf+set}" = set; then |
2553 withval=$with_mmdf; | 2109 withval=$with_mmdf; |
2554 else | 2110 else |
2555 with_mmdf=no | 2111 with_mmdf=no |
2556 fi | 2112 fi |
2557 | 2113 |
2558 if test "$with_mmdf" != no; then | 2114 if test "$with_mmdf" != no; then |
2559 | 2115 |
2560 $as_echo "#define MAIL_USE_MMDF 1" >>confdefs.h | 2116 cat >>confdefs.h <<\_ACEOF |
2117 #define MAIL_USE_MMDF 1 | |
2118 _ACEOF | |
2561 | 2119 |
2562 fi | 2120 fi |
2563 | 2121 |
2564 | 2122 |
2565 # Check whether --with-mail-unlink was given. | 2123 # Check whether --with-mail-unlink was given. |
2566 if test "${with_mail_unlink+set}" = set; then : | 2124 if test "${with_mail_unlink+set}" = set; then |
2567 withval=$with_mail_unlink; | 2125 withval=$with_mail_unlink; |
2568 else | 2126 else |
2569 with_mail_unlink=no | 2127 with_mail_unlink=no |
2570 fi | 2128 fi |
2571 | 2129 |
2572 if test "$with_mail_unlink" != no; then | 2130 if test "$with_mail_unlink" != no; then |
2573 | 2131 |
2574 $as_echo "#define MAIL_UNLINK_SPOOL 1" >>confdefs.h | 2132 cat >>confdefs.h <<\_ACEOF |
2133 #define MAIL_UNLINK_SPOOL 1 | |
2134 _ACEOF | |
2575 | 2135 |
2576 fi | 2136 fi |
2577 | 2137 |
2578 | 2138 |
2579 # Check whether --with-mailhost was given. | 2139 # Check whether --with-mailhost was given. |
2580 if test "${with_mailhost+set}" = set; then : | 2140 if test "${with_mailhost+set}" = set; then |
2581 withval=$with_mailhost; | 2141 withval=$with_mailhost; |
2582 cat >>confdefs.h <<_ACEOF | 2142 cat >>confdefs.h <<_ACEOF |
2583 #define MAILHOST "$withval" | 2143 #define MAILHOST "$withval" |
2584 _ACEOF | 2144 _ACEOF |
2585 | 2145 |
2586 fi | 2146 fi |
2587 | 2147 |
2588 | 2148 |
2589 | 2149 |
2590 # Check whether --with-sound was given. | 2150 # Check whether --with-sound was given. |
2591 if test "${with_sound+set}" = set; then : | 2151 if test "${with_sound+set}" = set; then |
2592 withval=$with_sound; | 2152 withval=$with_sound; |
2593 else | 2153 else |
2594 with_sound=yes | 2154 with_sound=yes |
2595 fi | 2155 fi |
2596 | 2156 |
2597 | 2157 |
2598 | 2158 |
2599 # Check whether --with-sync-input was given. | 2159 # Check whether --with-sync-input was given. |
2600 if test "${with_sync_input+set}" = set; then : | 2160 if test "${with_sync_input+set}" = set; then |
2601 withval=$with_sync_input; | 2161 withval=$with_sync_input; |
2602 else | 2162 else |
2603 with_sync_input=yes | 2163 with_sync_input=yes |
2604 fi | 2164 fi |
2605 | 2165 |
2606 if test "$with_sync_input" = yes; then | 2166 if test "$with_sync_input" = yes; then |
2607 | 2167 |
2608 $as_echo "#define SYNC_INPUT 1" >>confdefs.h | 2168 cat >>confdefs.h <<\_ACEOF |
2169 #define SYNC_INPUT 1 | |
2170 _ACEOF | |
2609 | 2171 |
2610 fi | 2172 fi |
2611 | 2173 |
2612 | 2174 |
2613 # Check whether --with-x-toolkit was given. | 2175 # Check whether --with-x-toolkit was given. |
2614 if test "${with_x_toolkit+set}" = set; then : | 2176 if test "${with_x_toolkit+set}" = set; then |
2615 withval=$with_x_toolkit; case "${withval}" in | 2177 withval=$with_x_toolkit; case "${withval}" in |
2616 y | ye | yes ) val=gtk ;; | 2178 y | ye | yes ) val=gtk ;; |
2617 n | no ) val=no ;; | 2179 n | no ) val=no ;; |
2618 l | lu | luc | luci | lucid ) val=lucid ;; | 2180 l | lu | luc | luci | lucid ) val=lucid ;; |
2619 a | at | ath | athe | athen | athena ) val=athena ;; | 2181 a | at | ath | athe | athen | athena ) val=athena ;; |
2620 m | mo | mot | moti | motif ) val=motif ;; | 2182 m | mo | mot | moti | motif ) val=motif ;; |
2621 g | gt | gtk ) val=gtk ;; | 2183 g | gt | gtk ) val=gtk ;; |
2622 * ) | 2184 * ) |
2623 as_fn_error "\`--with-x-toolkit=$withval' is invalid; | 2185 { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; |
2624 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | 2186 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. |
2625 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2187 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&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; }; } | |
2626 ;; | 2192 ;; |
2627 esac | 2193 esac |
2628 with_x_toolkit=$val | 2194 with_x_toolkit=$val |
2629 | 2195 |
2630 fi | 2196 fi |
2631 | 2197 |
2632 | 2198 |
2633 | 2199 |
2634 # Check whether --with-xpm was given. | 2200 # Check whether --with-xpm was given. |
2635 if test "${with_xpm+set}" = set; then : | 2201 if test "${with_xpm+set}" = set; then |
2636 withval=$with_xpm; | 2202 withval=$with_xpm; |
2637 else | 2203 else |
2638 with_xpm=yes | 2204 with_xpm=yes |
2639 fi | 2205 fi |
2640 | 2206 |
2641 | 2207 |
2642 # Check whether --with-jpeg was given. | 2208 # Check whether --with-jpeg was given. |
2643 if test "${with_jpeg+set}" = set; then : | 2209 if test "${with_jpeg+set}" = set; then |
2644 withval=$with_jpeg; | 2210 withval=$with_jpeg; |
2645 else | 2211 else |
2646 with_jpeg=yes | 2212 with_jpeg=yes |
2647 fi | 2213 fi |
2648 | 2214 |
2649 | 2215 |
2650 # Check whether --with-tiff was given. | 2216 # Check whether --with-tiff was given. |
2651 if test "${with_tiff+set}" = set; then : | 2217 if test "${with_tiff+set}" = set; then |
2652 withval=$with_tiff; | 2218 withval=$with_tiff; |
2653 else | 2219 else |
2654 with_tiff=yes | 2220 with_tiff=yes |
2655 fi | 2221 fi |
2656 | 2222 |
2657 | 2223 |
2658 # Check whether --with-gif was given. | 2224 # Check whether --with-gif was given. |
2659 if test "${with_gif+set}" = set; then : | 2225 if test "${with_gif+set}" = set; then |
2660 withval=$with_gif; | 2226 withval=$with_gif; |
2661 else | 2227 else |
2662 with_gif=yes | 2228 with_gif=yes |
2663 fi | 2229 fi |
2664 | 2230 |
2665 | 2231 |
2666 # Check whether --with-png was given. | 2232 # Check whether --with-png was given. |
2667 if test "${with_png+set}" = set; then : | 2233 if test "${with_png+set}" = set; then |
2668 withval=$with_png; | 2234 withval=$with_png; |
2669 else | 2235 else |
2670 with_png=yes | 2236 with_png=yes |
2671 fi | 2237 fi |
2672 | 2238 |
2673 | 2239 |
2674 # Check whether --with-rsvg was given. | 2240 # Check whether --with-rsvg was given. |
2675 if test "${with_rsvg+set}" = set; then : | 2241 if test "${with_rsvg+set}" = set; then |
2676 withval=$with_rsvg; | 2242 withval=$with_rsvg; |
2677 else | 2243 else |
2678 with_rsvg=yes | 2244 with_rsvg=yes |
2679 fi | 2245 fi |
2680 | 2246 |
2681 | 2247 |
2682 | 2248 |
2683 # Check whether --with-xft was given. | 2249 # Check whether --with-xft was given. |
2684 if test "${with_xft+set}" = set; then : | 2250 if test "${with_xft+set}" = set; then |
2685 withval=$with_xft; | 2251 withval=$with_xft; |
2686 else | 2252 else |
2687 with_xft=yes | 2253 with_xft=yes |
2688 fi | 2254 fi |
2689 | 2255 |
2690 | 2256 |
2691 # Check whether --with-libotf was given. | 2257 # Check whether --with-libotf was given. |
2692 if test "${with_libotf+set}" = set; then : | 2258 if test "${with_libotf+set}" = set; then |
2693 withval=$with_libotf; | 2259 withval=$with_libotf; |
2694 else | 2260 else |
2695 with_libotf=yes | 2261 with_libotf=yes |
2696 fi | 2262 fi |
2697 | 2263 |
2698 | 2264 |
2699 # Check whether --with-m17n-flt was given. | 2265 # Check whether --with-m17n-flt was given. |
2700 if test "${with_m17n_flt+set}" = set; then : | 2266 if test "${with_m17n_flt+set}" = set; then |
2701 withval=$with_m17n_flt; | 2267 withval=$with_m17n_flt; |
2702 else | 2268 else |
2703 with_m17n_flt=yes | 2269 with_m17n_flt=yes |
2704 fi | 2270 fi |
2705 | 2271 |
2706 | 2272 |
2707 | 2273 |
2708 # Check whether --with-toolkit-scroll-bars was given. | 2274 # Check whether --with-toolkit-scroll-bars was given. |
2709 if test "${with_toolkit_scroll_bars+set}" = set; then : | 2275 if test "${with_toolkit_scroll_bars+set}" = set; then |
2710 withval=$with_toolkit_scroll_bars; | 2276 withval=$with_toolkit_scroll_bars; |
2711 else | 2277 else |
2712 with_toolkit_scroll_bars=yes | 2278 with_toolkit_scroll_bars=yes |
2713 fi | 2279 fi |
2714 | 2280 |
2715 | 2281 |
2716 # Check whether --with-xaw3d was given. | 2282 # Check whether --with-xaw3d was given. |
2717 if test "${with_xaw3d+set}" = set; then : | 2283 if test "${with_xaw3d+set}" = set; then |
2718 withval=$with_xaw3d; | 2284 withval=$with_xaw3d; |
2719 else | 2285 else |
2720 with_xaw3d=yes | 2286 with_xaw3d=yes |
2721 fi | 2287 fi |
2722 | 2288 |
2723 | 2289 |
2724 # Check whether --with-xim was given. | 2290 # Check whether --with-xim was given. |
2725 if test "${with_xim+set}" = set; then : | 2291 if test "${with_xim+set}" = set; then |
2726 withval=$with_xim; | 2292 withval=$with_xim; |
2727 else | 2293 else |
2728 with_xim=yes | 2294 with_xim=yes |
2729 fi | 2295 fi |
2730 | 2296 |
2731 | 2297 |
2732 # Check whether --with-ns was given. | 2298 # Check whether --with-ns was given. |
2733 if test "${with_ns+set}" = set; then : | 2299 if test "${with_ns+set}" = set; then |
2734 withval=$with_ns; | 2300 withval=$with_ns; |
2735 else | 2301 else |
2736 with_ns=no | 2302 with_ns=no |
2737 fi | 2303 fi |
2738 | 2304 |
2739 | 2305 |
2740 | 2306 |
2741 # Check whether --with-gpm was given. | 2307 # Check whether --with-gpm was given. |
2742 if test "${with_gpm+set}" = set; then : | 2308 if test "${with_gpm+set}" = set; then |
2743 withval=$with_gpm; | 2309 withval=$with_gpm; |
2744 else | 2310 else |
2745 with_gpm=yes | 2311 with_gpm=yes |
2746 fi | 2312 fi |
2747 | 2313 |
2748 | 2314 |
2749 # Check whether --with-dbus was given. | 2315 # Check whether --with-dbus was given. |
2750 if test "${with_dbus+set}" = set; then : | 2316 if test "${with_dbus+set}" = set; then |
2751 withval=$with_dbus; | 2317 withval=$with_dbus; |
2752 else | 2318 else |
2753 with_dbus=yes | 2319 with_dbus=yes |
2754 fi | 2320 fi |
2755 | 2321 |
2756 | 2322 |
2757 # Check whether --with-gconf was given. | 2323 # Check whether --with-gconf was given. |
2758 if test "${with_gconf+set}" = set; then : | 2324 if test "${with_gconf+set}" = set; then |
2759 withval=$with_gconf; | 2325 withval=$with_gconf; |
2760 else | 2326 else |
2761 with_gconf=yes | 2327 with_gconf=yes |
2762 fi | 2328 fi |
2763 | 2329 |
2764 | 2330 |
2765 # Check whether --with-selinux was given. | 2331 # Check whether --with-selinux was given. |
2766 if test "${with_selinux+set}" = set; then : | 2332 if test "${with_selinux+set}" = set; then |
2767 withval=$with_selinux; | 2333 withval=$with_selinux; |
2768 else | 2334 else |
2769 with_selinux=yes | 2335 with_selinux=yes |
2770 fi | 2336 fi |
2771 | 2337 |
2772 | 2338 |
2773 ## For the times when you want to build Emacs but don't have | 2339 ## For the times when you want to build Emacs but don't have |
2774 ## a suitable makeinfo, and can live without the manuals. | 2340 ## a suitable makeinfo, and can live without the manuals. |
2775 | 2341 |
2776 # Check whether --with-makeinfo was given. | 2342 # Check whether --with-makeinfo was given. |
2777 if test "${with_makeinfo+set}" = set; then : | 2343 if test "${with_makeinfo+set}" = set; then |
2778 withval=$with_makeinfo; | 2344 withval=$with_makeinfo; |
2779 else | 2345 else |
2780 with_makeinfo=yes | 2346 with_makeinfo=yes |
2781 fi | 2347 fi |
2782 | 2348 |
2783 | 2349 |
2784 | 2350 |
2785 # Check whether --with-gtk was given. | 2351 # Check whether --with-gtk was given. |
2786 if test "${with_gtk+set}" = set; then : | 2352 if test "${with_gtk+set}" = set; then |
2787 withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to | 2353 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to |
2788 specify a toolkit." "$LINENO" 5 | 2354 specify a toolkit." >&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; }; } | |
2789 fi | 2358 fi |
2790 | 2359 |
2791 | 2360 |
2792 | 2361 |
2793 # Check whether --with-gcc was given. | 2362 # Check whether --with-gcc was given. |
2794 if test "${with_gcc+set}" = set; then : | 2363 if test "${with_gcc+set}" = set; then |
2795 withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment | 2364 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment |
2796 variable to specify a compiler." "$LINENO" 5 | 2365 variable to specify a compiler." >&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; }; } | |
2797 fi | 2369 fi |
2798 | 2370 |
2799 | 2371 |
2800 | 2372 |
2801 # Check whether --with-pkg-config-prog was given. | 2373 # Check whether --with-pkg-config-prog was given. |
2802 if test "${with_pkg_config_prog+set}" = set; then : | 2374 if test "${with_pkg_config_prog+set}" = set; then |
2803 withval=$with_pkg_config_prog; | 2375 withval=$with_pkg_config_prog; |
2804 fi | 2376 fi |
2805 | 2377 |
2806 if test "X${with_pkg_config_prog}" != X; then | 2378 if test "X${with_pkg_config_prog}" != X; then |
2807 if test "${with_pkg_config_prog}" != yes; then | 2379 if test "${with_pkg_config_prog}" != yes; then |
2808 PKG_CONFIG="${with_pkg_config_prog}" | 2380 PKG_CONFIG="${with_pkg_config_prog}" |
2809 fi | 2381 fi |
2810 fi | 2382 fi |
2811 | 2383 |
2384 CRT_DIR= | |
2385 | |
2386 # Check whether --with-crt-dir was given. | |
2387 if test "${with_crt_dir+set}" = set; then | |
2388 withval=$with_crt_dir; | |
2389 fi | |
2390 | |
2391 CRT_DIR="${with_crt_dir}" | |
2392 | |
2812 | 2393 |
2813 # Check whether --with-gnustep-conf was given. | 2394 # Check whether --with-gnustep-conf was given. |
2814 if test "${with_gnustep_conf+set}" = set; then : | 2395 if test "${with_gnustep_conf+set}" = set; then |
2815 withval=$with_gnustep_conf; | 2396 withval=$with_gnustep_conf; |
2816 fi | 2397 fi |
2817 | 2398 |
2818 test "X${with_gnustep_conf}" != X && test "${with_gnustep_conf}" != yes && \ | 2399 test "X${with_gnustep_conf}" != X && test "${with_gnustep_conf}" != yes && \ |
2819 GNUSTEP_CONFIG_FILE="${with_gnustep_conf}" | 2400 GNUSTEP_CONFIG_FILE="${with_gnustep_conf}" |
2820 test "X$GNUSTEP_CONFIG_FILE" = "X" && \ | 2401 test "X$GNUSTEP_CONFIG_FILE" = "X" && \ |
2821 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf | 2402 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf |
2822 | 2403 |
2823 # Check whether --enable-ns-self-contained was given. | 2404 # Check whether --enable-ns-self-contained was given. |
2824 if test "${enable_ns_self_contained+set}" = set; then : | 2405 if test "${enable_ns_self_contained+set}" = set; then |
2825 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval | 2406 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval |
2826 else | 2407 else |
2827 EN_NS_SELF_CONTAINED=yes | 2408 EN_NS_SELF_CONTAINED=yes |
2828 fi | 2409 fi |
2829 | 2410 |
2830 | 2411 |
2831 # Check whether --enable-asserts was given. | 2412 # Check whether --enable-asserts was given. |
2832 if test "${enable_asserts+set}" = set; then : | 2413 if test "${enable_asserts+set}" = set; then |
2833 enableval=$enable_asserts; USE_XASSERTS=$enableval | 2414 enableval=$enable_asserts; USE_XASSERTS=$enableval |
2834 else | 2415 else |
2835 USE_XASSERTS=no | 2416 USE_XASSERTS=no |
2836 fi | 2417 fi |
2837 | 2418 |
2838 | 2419 |
2839 # Check whether --enable-maintainer-mode was given. | 2420 # Check whether --enable-maintainer-mode was given. |
2840 if test "${enable_maintainer_mode+set}" = set; then : | 2421 if test "${enable_maintainer_mode+set}" = set; then |
2841 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 2422 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
2842 else | 2423 else |
2843 USE_MAINTAINER_MODE=no | 2424 USE_MAINTAINER_MODE=no |
2844 fi | 2425 fi |
2845 | 2426 |
2849 MAINT=# | 2430 MAINT=# |
2850 fi | 2431 fi |
2851 | 2432 |
2852 | 2433 |
2853 # Check whether --enable-locallisppath was given. | 2434 # Check whether --enable-locallisppath was given. |
2854 if test "${enable_locallisppath+set}" = set; then : | 2435 if test "${enable_locallisppath+set}" = set; then |
2855 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then | 2436 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
2856 locallisppath= | 2437 locallisppath= |
2857 elif test "${enableval}" != "yes"; then | 2438 elif test "${enableval}" != "yes"; then |
2858 locallisppath=${enableval} | 2439 locallisppath=${enableval} |
2859 fi | 2440 fi |
2860 fi | 2441 fi |
2861 | 2442 |
2862 | 2443 |
2863 # Check whether --enable-checking was given. | 2444 # Check whether --enable-checking was given. |
2864 if test "${enable_checking+set}" = set; then : | 2445 if test "${enable_checking+set}" = set; then |
2865 enableval=$enable_checking; ac_checking_flags="${enableval}" | 2446 enableval=$enable_checking; ac_checking_flags="${enableval}" |
2866 fi | 2447 fi |
2867 | 2448 |
2868 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," | 2449 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," |
2869 for check in $ac_checking_flags | 2450 for check in $ac_checking_flags |
2887 stringbytes) ac_gc_check_stringbytes=1 ;; | 2468 stringbytes) ac_gc_check_stringbytes=1 ;; |
2888 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2469 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2889 stringfreelist) ac_gc_check_string_free_list=1 ;; | 2470 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2890 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2471 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2891 conslist) ac_gc_check_cons_list=1 ;; | 2472 conslist) ac_gc_check_cons_list=1 ;; |
2892 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 2473 *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5 |
2474 $as_echo "$as_me: error: unknown check category $check" >&2;} | |
2475 { (exit 1); exit 1; }; } ;; | |
2893 esac | 2476 esac |
2894 done | 2477 done |
2895 IFS="$ac_save_IFS" | 2478 IFS="$ac_save_IFS" |
2896 | 2479 |
2897 if test x$ac_enable_checking != x ; then | 2480 if test x$ac_enable_checking != x ; then |
2898 | 2481 |
2899 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h | 2482 cat >>confdefs.h <<\_ACEOF |
2483 #define ENABLE_CHECKING 1 | |
2484 _ACEOF | |
2900 | 2485 |
2901 fi | 2486 fi |
2902 if test x$ac_gc_check_stringbytes != x ; then | 2487 if test x$ac_gc_check_stringbytes != x ; then |
2903 | 2488 |
2904 $as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h | 2489 cat >>confdefs.h <<\_ACEOF |
2490 #define GC_CHECK_STRING_BYTES 1 | |
2491 _ACEOF | |
2905 | 2492 |
2906 fi | 2493 fi |
2907 if test x$ac_gc_check_stringoverrun != x ; then | 2494 if test x$ac_gc_check_stringoverrun != x ; then |
2908 | 2495 |
2909 $as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h | 2496 cat >>confdefs.h <<\_ACEOF |
2497 #define GC_CHECK_STRING_OVERRUN 1 | |
2498 _ACEOF | |
2910 | 2499 |
2911 fi | 2500 fi |
2912 if test x$ac_gc_check_string_free_list != x ; then | 2501 if test x$ac_gc_check_string_free_list != x ; then |
2913 | 2502 |
2914 $as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h | 2503 cat >>confdefs.h <<\_ACEOF |
2504 #define GC_CHECK_STRING_FREE_LIST 1 | |
2505 _ACEOF | |
2915 | 2506 |
2916 fi | 2507 fi |
2917 if test x$ac_xmalloc_overrun != x ; then | 2508 if test x$ac_xmalloc_overrun != x ; then |
2918 | 2509 |
2919 $as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h | 2510 cat >>confdefs.h <<\_ACEOF |
2511 #define XMALLOC_OVERRUN_CHECK 1 | |
2512 _ACEOF | |
2920 | 2513 |
2921 fi | 2514 fi |
2922 if test x$ac_gc_check_cons_list != x ; then | 2515 if test x$ac_gc_check_cons_list != x ; then |
2923 | 2516 |
2924 $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h | 2517 cat >>confdefs.h <<\_ACEOF |
2518 #define GC_CHECK_CONS_LIST 1 | |
2519 _ACEOF | |
2925 | 2520 |
2926 fi | 2521 fi |
2927 | 2522 |
2928 # Check whether --enable-profiling was given. | 2523 # Check whether --enable-profiling was given. |
2929 if test "${enable_profiling+set}" = set; then : | 2524 if test "${enable_profiling+set}" = set; then |
2930 enableval=$enable_profiling; ac_enable_profiling="${enableval}" | 2525 enableval=$enable_profiling; ac_enable_profiling="${enableval}" |
2931 fi | 2526 fi |
2932 | 2527 |
2933 if test x$ac_enable_profiling != x ; then | 2528 if test x$ac_enable_profiling != x ; then |
2934 PROFILING_CFLAGS="-DPROFILING=1 -pg" | 2529 PROFILING_CFLAGS="-DPROFILING=1 -pg" |
2937 PROFILING_CFLAGS= | 2532 PROFILING_CFLAGS= |
2938 PROFILING_LDFLAGS= | 2533 PROFILING_LDFLAGS= |
2939 fi | 2534 fi |
2940 | 2535 |
2941 # Check whether --enable-autodepend was given. | 2536 # Check whether --enable-autodepend was given. |
2942 if test "${enable_autodepend+set}" = set; then : | 2537 if test "${enable_autodepend+set}" = set; then |
2943 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" | 2538 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" |
2944 else | 2539 else |
2945 ac_enable_autodepend=yes | 2540 ac_enable_autodepend=yes |
2946 fi | 2541 fi |
2947 | 2542 |
2971 esac | 2566 esac |
2972 | 2567 |
2973 #### Check if the source directory already has a configured system in it. | 2568 #### Check if the source directory already has a configured system in it. |
2974 if test `pwd` != `(cd ${srcdir} && pwd)` \ | 2569 if test `pwd` != `(cd ${srcdir} && pwd)` \ |
2975 && test -f "${srcdir}/src/config.h" ; then | 2570 && test -f "${srcdir}/src/config.h" ; then |
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used | 2571 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used |
2977 as a build directory right now; it has been configured in its own | 2572 as a build directory right now; it has been configured in its own |
2978 right. To configure in another directory as well, you MUST | 2573 right. To configure in another directory as well, you MUST |
2979 use GNU make. If you do not have GNU make, then you must | 2574 use GNU make. If you do not have GNU make, then you must |
2980 now do \`make distclean' in ${srcdir}, | 2575 now do \`make distclean' in ${srcdir}, |
2981 and then run $0 again." >&5 | 2576 and then run $0 again." >&5 |
2992 | 2587 |
2993 ### Canonicalize the configuration name. | 2588 ### Canonicalize the configuration name. |
2994 | 2589 |
2995 ac_aux_dir= | 2590 ac_aux_dir= |
2996 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 2591 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2997 for ac_t in install-sh install.sh shtool; do | 2592 if test -f "$ac_dir/install-sh"; then |
2998 if test -f "$ac_dir/$ac_t"; then | 2593 ac_aux_dir=$ac_dir |
2999 ac_aux_dir=$ac_dir | 2594 ac_install_sh="$ac_aux_dir/install-sh -c" |
3000 ac_install_sh="$ac_aux_dir/$ac_t -c" | 2595 break |
3001 break 2 | 2596 elif test -f "$ac_dir/install.sh"; then |
3002 fi | 2597 ac_aux_dir=$ac_dir |
3003 done | 2598 ac_install_sh="$ac_aux_dir/install.sh -c" |
2599 break | |
2600 elif test -f "$ac_dir/shtool"; then | |
2601 ac_aux_dir=$ac_dir | |
2602 ac_install_sh="$ac_aux_dir/shtool install -c" | |
2603 break | |
2604 fi | |
3004 done | 2605 done |
3005 if test -z "$ac_aux_dir"; then | 2606 if test -z "$ac_aux_dir"; then |
3006 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 2607 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
2608 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | |
2609 { (exit 1); exit 1; }; } | |
3007 fi | 2610 fi |
3008 | 2611 |
3009 # These three variables are undocumented and unsupported, | 2612 # These three variables are undocumented and unsupported, |
3010 # and are intended to be withdrawn in a future Autoconf release. | 2613 # and are intended to be withdrawn in a future Autoconf release. |
3011 # They can cause serious problems if a builder's source tree is in a directory | 2614 # They can cause serious problems if a builder's source tree is in a directory |
3015 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 2618 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3016 | 2619 |
3017 | 2620 |
3018 # Make sure we can run config.sub. | 2621 # Make sure we can run config.sub. |
3019 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 2622 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3020 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 2623 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
3021 | 2624 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 2625 { (exit 1); exit 1; }; } |
2626 | |
2627 { $as_echo "$as_me:$LINENO: checking build system type" >&5 | |
3023 $as_echo_n "checking build system type... " >&6; } | 2628 $as_echo_n "checking build system type... " >&6; } |
3024 if test "${ac_cv_build+set}" = set; then : | 2629 if test "${ac_cv_build+set}" = set; then |
3025 $as_echo_n "(cached) " >&6 | 2630 $as_echo_n "(cached) " >&6 |
3026 else | 2631 else |
3027 ac_build_alias=$build_alias | 2632 ac_build_alias=$build_alias |
3028 test "x$ac_build_alias" = x && | 2633 test "x$ac_build_alias" = x && |
3029 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 2634 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3030 test "x$ac_build_alias" = x && | 2635 test "x$ac_build_alias" = x && |
3031 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 2636 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
2637 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
2638 { (exit 1); exit 1; }; } | |
3032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2639 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3033 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 2640 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
3034 | 2641 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
3035 fi | 2642 { (exit 1); exit 1; }; } |
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 2643 |
2644 fi | |
2645 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
3037 $as_echo "$ac_cv_build" >&6; } | 2646 $as_echo "$ac_cv_build" >&6; } |
3038 case $ac_cv_build in | 2647 case $ac_cv_build in |
3039 *-*-*) ;; | 2648 *-*-*) ;; |
3040 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 2649 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
2650 $as_echo "$as_me: error: invalid value of canonical build" >&2;} | |
2651 { (exit 1); exit 1; }; };; | |
3041 esac | 2652 esac |
3042 build=$ac_cv_build | 2653 build=$ac_cv_build |
3043 ac_save_IFS=$IFS; IFS='-' | 2654 ac_save_IFS=$IFS; IFS='-' |
3044 set x $ac_cv_build | 2655 set x $ac_cv_build |
3045 shift | 2656 shift |
3051 build_os=$* | 2662 build_os=$* |
3052 IFS=$ac_save_IFS | 2663 IFS=$ac_save_IFS |
3053 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2664 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3054 | 2665 |
3055 | 2666 |
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 2667 { $as_echo "$as_me:$LINENO: checking host system type" >&5 |
3057 $as_echo_n "checking host system type... " >&6; } | 2668 $as_echo_n "checking host system type... " >&6; } |
3058 if test "${ac_cv_host+set}" = set; then : | 2669 if test "${ac_cv_host+set}" = set; then |
3059 $as_echo_n "(cached) " >&6 | 2670 $as_echo_n "(cached) " >&6 |
3060 else | 2671 else |
3061 if test "x$host_alias" = x; then | 2672 if test "x$host_alias" = x; then |
3062 ac_cv_host=$ac_cv_build | 2673 ac_cv_host=$ac_cv_build |
3063 else | 2674 else |
3064 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 2675 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3065 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 2676 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
3066 fi | 2677 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
3067 | 2678 { (exit 1); exit 1; }; } |
3068 fi | 2679 fi |
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 2680 |
2681 fi | |
2682 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
3070 $as_echo "$ac_cv_host" >&6; } | 2683 $as_echo "$ac_cv_host" >&6; } |
3071 case $ac_cv_host in | 2684 case $ac_cv_host in |
3072 *-*-*) ;; | 2685 *-*-*) ;; |
3073 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 2686 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
2687 $as_echo "$as_me: error: invalid value of canonical host" >&2;} | |
2688 { (exit 1); exit 1; }; };; | |
3074 esac | 2689 esac |
3075 host=$ac_cv_host | 2690 host=$ac_cv_host |
3076 ac_save_IFS=$IFS; IFS='-' | 2691 ac_save_IFS=$IFS; IFS='-' |
3077 set x $ac_cv_host | 2692 set x $ac_cv_host |
3078 shift | 2693 shift |
3148 ## NetBSD ports | 2763 ## NetBSD ports |
3149 *-*-netbsd* ) | 2764 *-*-netbsd* ) |
3150 opsys=netbsd | 2765 opsys=netbsd |
3151 if test -f /usr/lib/crti.o; then | 2766 if test -f /usr/lib/crti.o; then |
3152 | 2767 |
3153 $as_echo "#define HAVE_CRTIN /**/" >>confdefs.h | 2768 cat >>confdefs.h <<\_ACEOF |
2769 #define HAVE_CRTIN /**/ | |
2770 _ACEOF | |
3154 | 2771 |
3155 fi | 2772 fi |
3156 | 2773 |
3157 case "${canonical}" in | 2774 case "${canonical}" in |
3158 alpha*-*-netbsd*) machine=alpha ;; | 2775 alpha*-*-netbsd*) machine=alpha ;; |
3373 fi | 2990 fi |
3374 | 2991 |
3375 | 2992 |
3376 | 2993 |
3377 if test $unported = yes; then | 2994 if test $unported = yes; then |
3378 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. | 2995 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. |
3379 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 2996 Check \`etc/MACHINES' for recognized configuration names." >&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; }; } | |
3380 fi | 3000 fi |
3381 | 3001 |
3382 machfile="m/${machine}.h" | 3002 machfile="m/${machine}.h" |
3383 opsysfile="s/${opsys}.h" | 3003 opsysfile="s/${opsys}.h" |
3384 | 3004 |
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3016 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3397 if test -n "$ac_tool_prefix"; then | 3017 if test -n "$ac_tool_prefix"; then |
3398 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3018 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3399 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3019 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3401 $as_echo_n "checking for $ac_word... " >&6; } | 3021 $as_echo_n "checking for $ac_word... " >&6; } |
3402 if test "${ac_cv_prog_CC+set}" = set; then : | 3022 if test "${ac_cv_prog_CC+set}" = set; then |
3403 $as_echo_n "(cached) " >&6 | 3023 $as_echo_n "(cached) " >&6 |
3404 else | 3024 else |
3405 if test -n "$CC"; then | 3025 if test -n "$CC"; then |
3406 ac_cv_prog_CC="$CC" # Let the user override the test. | 3026 ac_cv_prog_CC="$CC" # Let the user override the test. |
3407 else | 3027 else |
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3409 for as_dir in $PATH | 3029 for as_dir in $PATH |
3410 do | 3030 do |
3411 IFS=$as_save_IFS | 3031 IFS=$as_save_IFS |
3412 test -z "$as_dir" && as_dir=. | 3032 test -z "$as_dir" && as_dir=. |
3413 for ac_exec_ext in '' $ac_executable_extensions; do | 3033 for ac_exec_ext in '' $ac_executable_extensions; do |
3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3415 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3035 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3417 break 2 | 3037 break 2 |
3418 fi | 3038 fi |
3419 done | 3039 done |
3420 done | 3040 done |
3421 IFS=$as_save_IFS | 3041 IFS=$as_save_IFS |
3422 | 3042 |
3423 fi | 3043 fi |
3424 fi | 3044 fi |
3425 CC=$ac_cv_prog_CC | 3045 CC=$ac_cv_prog_CC |
3426 if test -n "$CC"; then | 3046 if test -n "$CC"; then |
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3047 { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3428 $as_echo "$CC" >&6; } | 3048 $as_echo "$CC" >&6; } |
3429 else | 3049 else |
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3050 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3431 $as_echo "no" >&6; } | 3051 $as_echo "no" >&6; } |
3432 fi | 3052 fi |
3433 | 3053 |
3434 | 3054 |
3435 fi | 3055 fi |
3436 if test -z "$ac_cv_prog_CC"; then | 3056 if test -z "$ac_cv_prog_CC"; then |
3437 ac_ct_CC=$CC | 3057 ac_ct_CC=$CC |
3438 # Extract the first word of "gcc", so it can be a program name with args. | 3058 # Extract the first word of "gcc", so it can be a program name with args. |
3439 set dummy gcc; ac_word=$2 | 3059 set dummy gcc; ac_word=$2 |
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3441 $as_echo_n "checking for $ac_word... " >&6; } | 3061 $as_echo_n "checking for $ac_word... " >&6; } |
3442 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3062 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3443 $as_echo_n "(cached) " >&6 | 3063 $as_echo_n "(cached) " >&6 |
3444 else | 3064 else |
3445 if test -n "$ac_ct_CC"; then | 3065 if test -n "$ac_ct_CC"; then |
3446 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3066 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3447 else | 3067 else |
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3449 for as_dir in $PATH | 3069 for as_dir in $PATH |
3450 do | 3070 do |
3451 IFS=$as_save_IFS | 3071 IFS=$as_save_IFS |
3452 test -z "$as_dir" && as_dir=. | 3072 test -z "$as_dir" && as_dir=. |
3453 for ac_exec_ext in '' $ac_executable_extensions; do | 3073 for ac_exec_ext in '' $ac_executable_extensions; do |
3454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3455 ac_cv_prog_ac_ct_CC="gcc" | 3075 ac_cv_prog_ac_ct_CC="gcc" |
3456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3076 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3457 break 2 | 3077 break 2 |
3458 fi | 3078 fi |
3459 done | 3079 done |
3460 done | 3080 done |
3461 IFS=$as_save_IFS | 3081 IFS=$as_save_IFS |
3462 | 3082 |
3463 fi | 3083 fi |
3464 fi | 3084 fi |
3465 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3085 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3466 if test -n "$ac_ct_CC"; then | 3086 if test -n "$ac_ct_CC"; then |
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3087 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3468 $as_echo "$ac_ct_CC" >&6; } | 3088 $as_echo "$ac_ct_CC" >&6; } |
3469 else | 3089 else |
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3090 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3471 $as_echo "no" >&6; } | 3091 $as_echo "no" >&6; } |
3472 fi | 3092 fi |
3473 | 3093 |
3474 if test "x$ac_ct_CC" = x; then | 3094 if test "x$ac_ct_CC" = x; then |
3475 CC="" | 3095 CC="" |
3476 else | 3096 else |
3477 case $cross_compiling:$ac_tool_warned in | 3097 case $cross_compiling:$ac_tool_warned in |
3478 yes:) | 3098 yes:) |
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3099 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3100 whose name does not start with the host triplet. If you think this |
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;} | |
3481 ac_tool_warned=yes ;; | 3105 ac_tool_warned=yes ;; |
3482 esac | 3106 esac |
3483 CC=$ac_ct_CC | 3107 CC=$ac_ct_CC |
3484 fi | 3108 fi |
3485 else | 3109 else |
3488 | 3112 |
3489 if test -z "$CC"; then | 3113 if test -z "$CC"; then |
3490 if test -n "$ac_tool_prefix"; then | 3114 if test -n "$ac_tool_prefix"; then |
3491 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3492 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3116 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3494 $as_echo_n "checking for $ac_word... " >&6; } | 3118 $as_echo_n "checking for $ac_word... " >&6; } |
3495 if test "${ac_cv_prog_CC+set}" = set; then : | 3119 if test "${ac_cv_prog_CC+set}" = set; then |
3496 $as_echo_n "(cached) " >&6 | 3120 $as_echo_n "(cached) " >&6 |
3497 else | 3121 else |
3498 if test -n "$CC"; then | 3122 if test -n "$CC"; then |
3499 ac_cv_prog_CC="$CC" # Let the user override the test. | 3123 ac_cv_prog_CC="$CC" # Let the user override the test. |
3500 else | 3124 else |
3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3502 for as_dir in $PATH | 3126 for as_dir in $PATH |
3503 do | 3127 do |
3504 IFS=$as_save_IFS | 3128 IFS=$as_save_IFS |
3505 test -z "$as_dir" && as_dir=. | 3129 test -z "$as_dir" && as_dir=. |
3506 for ac_exec_ext in '' $ac_executable_extensions; do | 3130 for ac_exec_ext in '' $ac_executable_extensions; do |
3507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3508 ac_cv_prog_CC="${ac_tool_prefix}cc" | 3132 ac_cv_prog_CC="${ac_tool_prefix}cc" |
3509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3133 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3510 break 2 | 3134 break 2 |
3511 fi | 3135 fi |
3512 done | 3136 done |
3513 done | 3137 done |
3514 IFS=$as_save_IFS | 3138 IFS=$as_save_IFS |
3515 | 3139 |
3516 fi | 3140 fi |
3517 fi | 3141 fi |
3518 CC=$ac_cv_prog_CC | 3142 CC=$ac_cv_prog_CC |
3519 if test -n "$CC"; then | 3143 if test -n "$CC"; then |
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3144 { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3521 $as_echo "$CC" >&6; } | 3145 $as_echo "$CC" >&6; } |
3522 else | 3146 else |
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3147 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3524 $as_echo "no" >&6; } | 3148 $as_echo "no" >&6; } |
3525 fi | 3149 fi |
3526 | 3150 |
3527 | 3151 |
3528 fi | 3152 fi |
3529 fi | 3153 fi |
3530 if test -z "$CC"; then | 3154 if test -z "$CC"; then |
3531 # Extract the first word of "cc", so it can be a program name with args. | 3155 # Extract the first word of "cc", so it can be a program name with args. |
3532 set dummy cc; ac_word=$2 | 3156 set dummy cc; ac_word=$2 |
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3534 $as_echo_n "checking for $ac_word... " >&6; } | 3158 $as_echo_n "checking for $ac_word... " >&6; } |
3535 if test "${ac_cv_prog_CC+set}" = set; then : | 3159 if test "${ac_cv_prog_CC+set}" = set; then |
3536 $as_echo_n "(cached) " >&6 | 3160 $as_echo_n "(cached) " >&6 |
3537 else | 3161 else |
3538 if test -n "$CC"; then | 3162 if test -n "$CC"; then |
3539 ac_cv_prog_CC="$CC" # Let the user override the test. | 3163 ac_cv_prog_CC="$CC" # Let the user override the test. |
3540 else | 3164 else |
3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3543 for as_dir in $PATH | 3167 for as_dir in $PATH |
3544 do | 3168 do |
3545 IFS=$as_save_IFS | 3169 IFS=$as_save_IFS |
3546 test -z "$as_dir" && as_dir=. | 3170 test -z "$as_dir" && as_dir=. |
3547 for ac_exec_ext in '' $ac_executable_extensions; do | 3171 for ac_exec_ext in '' $ac_executable_extensions; do |
3548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3549 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3173 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3550 ac_prog_rejected=yes | 3174 ac_prog_rejected=yes |
3551 continue | 3175 continue |
3552 fi | 3176 fi |
3553 ac_cv_prog_CC="cc" | 3177 ac_cv_prog_CC="cc" |
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3555 break 2 | 3179 break 2 |
3556 fi | 3180 fi |
3557 done | 3181 done |
3558 done | 3182 done |
3559 IFS=$as_save_IFS | 3183 IFS=$as_save_IFS |
3560 | 3184 |
3561 if test $ac_prog_rejected = yes; then | 3185 if test $ac_prog_rejected = yes; then |
3562 # We found a bogon in the path, so make sure we never use it. | 3186 # We found a bogon in the path, so make sure we never use it. |
3563 set dummy $ac_cv_prog_CC | 3187 set dummy $ac_cv_prog_CC |
3572 fi | 3196 fi |
3573 fi | 3197 fi |
3574 fi | 3198 fi |
3575 CC=$ac_cv_prog_CC | 3199 CC=$ac_cv_prog_CC |
3576 if test -n "$CC"; then | 3200 if test -n "$CC"; then |
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3201 { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3578 $as_echo "$CC" >&6; } | 3202 $as_echo "$CC" >&6; } |
3579 else | 3203 else |
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3204 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3581 $as_echo "no" >&6; } | 3205 $as_echo "no" >&6; } |
3582 fi | 3206 fi |
3583 | 3207 |
3584 | 3208 |
3585 fi | 3209 fi |
3587 if test -n "$ac_tool_prefix"; then | 3211 if test -n "$ac_tool_prefix"; then |
3588 for ac_prog in cl.exe | 3212 for ac_prog in cl.exe |
3589 do | 3213 do |
3590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3216 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3593 $as_echo_n "checking for $ac_word... " >&6; } | 3217 $as_echo_n "checking for $ac_word... " >&6; } |
3594 if test "${ac_cv_prog_CC+set}" = set; then : | 3218 if test "${ac_cv_prog_CC+set}" = set; then |
3595 $as_echo_n "(cached) " >&6 | 3219 $as_echo_n "(cached) " >&6 |
3596 else | 3220 else |
3597 if test -n "$CC"; then | 3221 if test -n "$CC"; then |
3598 ac_cv_prog_CC="$CC" # Let the user override the test. | 3222 ac_cv_prog_CC="$CC" # Let the user override the test. |
3599 else | 3223 else |
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3601 for as_dir in $PATH | 3225 for as_dir in $PATH |
3602 do | 3226 do |
3603 IFS=$as_save_IFS | 3227 IFS=$as_save_IFS |
3604 test -z "$as_dir" && as_dir=. | 3228 test -z "$as_dir" && as_dir=. |
3605 for ac_exec_ext in '' $ac_executable_extensions; do | 3229 for ac_exec_ext in '' $ac_executable_extensions; do |
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3607 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3231 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3232 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3609 break 2 | 3233 break 2 |
3610 fi | 3234 fi |
3611 done | 3235 done |
3612 done | 3236 done |
3613 IFS=$as_save_IFS | 3237 IFS=$as_save_IFS |
3614 | 3238 |
3615 fi | 3239 fi |
3616 fi | 3240 fi |
3617 CC=$ac_cv_prog_CC | 3241 CC=$ac_cv_prog_CC |
3618 if test -n "$CC"; then | 3242 if test -n "$CC"; then |
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3243 { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3620 $as_echo "$CC" >&6; } | 3244 $as_echo "$CC" >&6; } |
3621 else | 3245 else |
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3246 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3623 $as_echo "no" >&6; } | 3247 $as_echo "no" >&6; } |
3624 fi | 3248 fi |
3625 | 3249 |
3626 | 3250 |
3627 test -n "$CC" && break | 3251 test -n "$CC" && break |
3631 ac_ct_CC=$CC | 3255 ac_ct_CC=$CC |
3632 for ac_prog in cl.exe | 3256 for ac_prog in cl.exe |
3633 do | 3257 do |
3634 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3258 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3635 set dummy $ac_prog; ac_word=$2 | 3259 set dummy $ac_prog; ac_word=$2 |
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3637 $as_echo_n "checking for $ac_word... " >&6; } | 3261 $as_echo_n "checking for $ac_word... " >&6; } |
3638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3639 $as_echo_n "(cached) " >&6 | 3263 $as_echo_n "(cached) " >&6 |
3640 else | 3264 else |
3641 if test -n "$ac_ct_CC"; then | 3265 if test -n "$ac_ct_CC"; then |
3642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3643 else | 3267 else |
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3645 for as_dir in $PATH | 3269 for as_dir in $PATH |
3646 do | 3270 do |
3647 IFS=$as_save_IFS | 3271 IFS=$as_save_IFS |
3648 test -z "$as_dir" && as_dir=. | 3272 test -z "$as_dir" && as_dir=. |
3649 for ac_exec_ext in '' $ac_executable_extensions; do | 3273 for ac_exec_ext in '' $ac_executable_extensions; do |
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3651 ac_cv_prog_ac_ct_CC="$ac_prog" | 3275 ac_cv_prog_ac_ct_CC="$ac_prog" |
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3276 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3653 break 2 | 3277 break 2 |
3654 fi | 3278 fi |
3655 done | 3279 done |
3656 done | 3280 done |
3657 IFS=$as_save_IFS | 3281 IFS=$as_save_IFS |
3658 | 3282 |
3659 fi | 3283 fi |
3660 fi | 3284 fi |
3661 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3285 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3662 if test -n "$ac_ct_CC"; then | 3286 if test -n "$ac_ct_CC"; then |
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3287 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3664 $as_echo "$ac_ct_CC" >&6; } | 3288 $as_echo "$ac_ct_CC" >&6; } |
3665 else | 3289 else |
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3290 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3667 $as_echo "no" >&6; } | 3291 $as_echo "no" >&6; } |
3668 fi | 3292 fi |
3669 | 3293 |
3670 | 3294 |
3671 test -n "$ac_ct_CC" && break | 3295 test -n "$ac_ct_CC" && break |
3674 if test "x$ac_ct_CC" = x; then | 3298 if test "x$ac_ct_CC" = x; then |
3675 CC="" | 3299 CC="" |
3676 else | 3300 else |
3677 case $cross_compiling:$ac_tool_warned in | 3301 case $cross_compiling:$ac_tool_warned in |
3678 yes:) | 3302 yes:) |
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3303 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3304 whose name does not start with the host triplet. If you think this |
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;} | |
3681 ac_tool_warned=yes ;; | 3309 ac_tool_warned=yes ;; |
3682 esac | 3310 esac |
3683 CC=$ac_ct_CC | 3311 CC=$ac_ct_CC |
3684 fi | 3312 fi |
3685 fi | 3313 fi |
3686 | 3314 |
3687 fi | 3315 fi |
3688 | 3316 |
3689 | 3317 |
3690 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3318 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
3691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3319 See \`config.log' for more details." >&5 |
3692 as_fn_error "no acceptable C compiler found in \$PATH | 3320 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
3693 See \`config.log' for more details." "$LINENO" 5; } | 3321 See \`config.log' for more details." >&2;} |
3322 { (exit 1); exit 1; }; } | |
3694 | 3323 |
3695 # Provide some information about the compiler. | 3324 # Provide some information about the compiler. |
3696 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3325 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
3697 set X $ac_compile | 3326 set X $ac_compile |
3698 ac_compiler=$2 | 3327 ac_compiler=$2 |
3699 for ac_option in --version -v -V -qversion; do | 3328 { (ac_try="$ac_compiler --version >&5" |
3700 { { ac_try="$ac_compiler $ac_option >&5" | |
3701 case "(($ac_try" in | 3329 case "(($ac_try" in |
3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3703 *) ac_try_echo=$ac_try;; | 3331 *) ac_try_echo=$ac_try;; |
3704 esac | 3332 esac |
3705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3706 $as_echo "$ac_try_echo"; } >&5 | 3334 $as_echo "$ac_try_echo") >&5 |
3707 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 3335 (eval "$ac_compiler --version >&5") 2>&5 |
3708 ac_status=$? | 3336 ac_status=$? |
3709 if test -s conftest.err; then | 3337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3710 sed '10a\ | 3338 (exit $ac_status); } |
3711 ... rest of stderr output deleted ... | 3339 { (ac_try="$ac_compiler -v >&5" |
3712 10q' conftest.err >conftest.er1 | 3340 case "(($ac_try" in |
3713 cat conftest.er1 >&5 | 3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3714 fi | 3342 *) ac_try_echo=$ac_try;; |
3715 rm -f conftest.er1 conftest.err | 3343 esac |
3716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3717 test $ac_status = 0; } | 3345 $as_echo "$ac_try_echo") >&5 |
3718 done | 3346 (eval "$ac_compiler -v >&5") 2>&5 |
3719 | 3347 ac_status=$? |
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 | |
3721 /* end confdefs.h. */ | 3367 /* end confdefs.h. */ |
3722 | 3368 |
3723 int | 3369 int |
3724 main () | 3370 main () |
3725 { | 3371 { |
3731 ac_clean_files_save=$ac_clean_files | 3377 ac_clean_files_save=$ac_clean_files |
3732 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 3378 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3733 # Try to create an executable without -o first, disregard a.out. | 3379 # Try to create an executable without -o first, disregard a.out. |
3734 # It will help us diagnose broken compilers, and finding out an intuition | 3380 # It will help us diagnose broken compilers, and finding out an intuition |
3735 # of exeext. | 3381 # of exeext. |
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 3382 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
3737 $as_echo_n "checking whether the C compiler works... " >&6; } | 3383 $as_echo_n "checking for C compiler default output file name... " >&6; } |
3738 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3384 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3739 | 3385 |
3740 # The possible output files: | 3386 # The possible output files: |
3741 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 3387 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3742 | 3388 |
3748 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 3394 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3749 esac | 3395 esac |
3750 done | 3396 done |
3751 rm -f $ac_rmfiles | 3397 rm -f $ac_rmfiles |
3752 | 3398 |
3753 if { { ac_try="$ac_link_default" | 3399 if { (ac_try="$ac_link_default" |
3754 case "(($ac_try" in | 3400 case "(($ac_try" in |
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3756 *) ac_try_echo=$ac_try;; | 3402 *) ac_try_echo=$ac_try;; |
3757 esac | 3403 esac |
3758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3759 $as_echo "$ac_try_echo"; } >&5 | 3405 $as_echo "$ac_try_echo") >&5 |
3760 (eval "$ac_link_default") 2>&5 | 3406 (eval "$ac_link_default") 2>&5 |
3761 ac_status=$? | 3407 ac_status=$? |
3762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3763 test $ac_status = 0; }; then : | 3409 (exit $ac_status); }; then |
3764 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3410 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3765 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3411 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3766 # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3412 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
3767 # so that the user can short-circuit this test for compilers unknown to | 3413 # so that the user can short-circuit this test for compilers unknown to |
3768 # Autoconf. | 3414 # Autoconf. |
3775 [ab].out ) | 3421 [ab].out ) |
3776 # We found the default executable, but exeext='' is most | 3422 # We found the default executable, but exeext='' is most |
3777 # certainly right. | 3423 # certainly right. |
3778 break;; | 3424 break;; |
3779 *.* ) | 3425 *.* ) |
3780 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3426 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3781 then :; else | 3427 then :; else |
3782 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3428 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3783 fi | 3429 fi |
3784 # We set ac_cv_exeext here because the later test for it is not | 3430 # We set ac_cv_exeext here because the later test for it is not |
3785 # safe: cross compilers may not add the suffix if given an `-o' | 3431 # safe: cross compilers may not add the suffix if given an `-o' |
3794 test "$ac_cv_exeext" = no && ac_cv_exeext= | 3440 test "$ac_cv_exeext" = no && ac_cv_exeext= |
3795 | 3441 |
3796 else | 3442 else |
3797 ac_file='' | 3443 ac_file='' |
3798 fi | 3444 fi |
3799 if test -z "$ac_file"; then : | 3445 |
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3446 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
3801 $as_echo "no" >&6; } | 3447 $as_echo "$ac_file" >&6; } |
3802 $as_echo "$as_me: failed program was:" >&5 | 3448 if test -z "$ac_file"; then |
3449 $as_echo "$as_me: failed program was:" >&5 | |
3803 sed 's/^/| /' conftest.$ac_ext >&5 | 3450 sed 's/^/| /' conftest.$ac_ext >&5 |
3804 | 3451 |
3805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3452 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3453 See \`config.log' for more details." >&5 |
3807 { as_fn_set_status 77 | 3454 $as_echo "$as_me: error: C compiler cannot create executables |
3808 as_fn_error "C compiler cannot create executables | 3455 See \`config.log' for more details." >&2;} |
3809 See \`config.log' for more details." "$LINENO" 5; }; } | 3456 { (exit 77); exit 77; }; } |
3810 else | 3457 fi |
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3458 |
3459 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 | |
3812 $as_echo "yes" >&6; } | 3495 $as_echo "yes" >&6; } |
3813 fi | |
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3815 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3817 $as_echo "$ac_file" >&6; } | |
3818 ac_exeext=$ac_cv_exeext | |
3819 | 3496 |
3820 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 3497 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3821 ac_clean_files=$ac_clean_files_save | 3498 ac_clean_files=$ac_clean_files_save |
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 3499 # Check that the compiler produces executables we can run. If not, either |
3500 # the compiler is broken, or we cross compile. | |
3501 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
3502 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3503 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
3504 $as_echo "$cross_compiling" >&6; } | |
3505 | |
3506 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
3823 $as_echo_n "checking for suffix of executables... " >&6; } | 3507 $as_echo_n "checking for suffix of executables... " >&6; } |
3824 if { { ac_try="$ac_link" | 3508 if { (ac_try="$ac_link" |
3825 case "(($ac_try" in | 3509 case "(($ac_try" in |
3826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3827 *) ac_try_echo=$ac_try;; | 3511 *) ac_try_echo=$ac_try;; |
3828 esac | 3512 esac |
3829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3830 $as_echo "$ac_try_echo"; } >&5 | 3514 $as_echo "$ac_try_echo") >&5 |
3831 (eval "$ac_link") 2>&5 | 3515 (eval "$ac_link") 2>&5 |
3832 ac_status=$? | 3516 ac_status=$? |
3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3834 test $ac_status = 0; }; then : | 3518 (exit $ac_status); }; then |
3835 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3519 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3836 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3520 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3837 # work properly (i.e., refer to `conftest.exe'), while it won't with | 3521 # work properly (i.e., refer to `conftest.exe'), while it won't with |
3838 # `rm'. | 3522 # `rm'. |
3839 for ac_file in conftest.exe conftest conftest.*; do | 3523 for ac_file in conftest.exe conftest conftest.*; do |
3844 break;; | 3528 break;; |
3845 * ) break;; | 3529 * ) break;; |
3846 esac | 3530 esac |
3847 done | 3531 done |
3848 else | 3532 else |
3849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3533 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3534 See \`config.log' for more details." >&5 |
3851 as_fn_error "cannot compute suffix of executables: cannot compile and link | 3535 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
3852 See \`config.log' for more details." "$LINENO" 5; } | 3536 See \`config.log' for more details." >&2;} |
3853 fi | 3537 { (exit 1); exit 1; }; } |
3854 rm -f conftest conftest$ac_cv_exeext | 3538 fi |
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3539 |
3540 rm -f conftest$ac_cv_exeext | |
3541 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
3856 $as_echo "$ac_cv_exeext" >&6; } | 3542 $as_echo "$ac_cv_exeext" >&6; } |
3857 | 3543 |
3858 rm -f conftest.$ac_ext | 3544 rm -f conftest.$ac_ext |
3859 EXEEXT=$ac_cv_exeext | 3545 EXEEXT=$ac_cv_exeext |
3860 ac_exeext=$EXEEXT | 3546 ac_exeext=$EXEEXT |
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3547 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
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 | |
3862 /* end confdefs.h. */ | 3557 /* end confdefs.h. */ |
3863 #include <stdio.h> | 3558 |
3864 int | 3559 int |
3865 main () | 3560 main () |
3866 { | 3561 { |
3867 FILE *f = fopen ("conftest.out", "w"); | |
3868 return ferror (f) || fclose (f) != 0; | |
3869 | 3562 |
3870 ; | 3563 ; |
3871 return 0; | 3564 return 0; |
3872 } | 3565 } |
3873 _ACEOF | 3566 _ACEOF |
3874 ac_clean_files="$ac_clean_files conftest.out" | 3567 rm -f conftest.o conftest.obj |
3875 # Check that the compiler produces executables we can run. If not, either | 3568 if { (ac_try="$ac_compile" |
3876 # the compiler is broken, or we cross compile. | |
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3878 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3879 if test "$cross_compiling" != yes; then | |
3880 { { ac_try="$ac_link" | |
3881 case "(($ac_try" in | 3569 case "(($ac_try" in |
3882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3883 *) ac_try_echo=$ac_try;; | 3571 *) ac_try_echo=$ac_try;; |
3884 esac | 3572 esac |
3885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3886 $as_echo "$ac_try_echo"; } >&5 | 3574 $as_echo "$ac_try_echo") >&5 |
3887 (eval "$ac_link") 2>&5 | |
3888 ac_status=$? | |
3889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3890 test $ac_status = 0; } | |
3891 if { ac_try='./conftest$ac_cv_exeext' | |
3892 { { case "(($ac_try" in | |
3893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3894 *) ac_try_echo=$ac_try;; | |
3895 esac | |
3896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3897 $as_echo "$ac_try_echo"; } >&5 | |
3898 (eval "$ac_try") 2>&5 | |
3899 ac_status=$? | |
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3901 test $ac_status = 0; }; }; then | |
3902 cross_compiling=no | |
3903 else | |
3904 if test "$cross_compiling" = maybe; then | |
3905 cross_compiling=yes | |
3906 else | |
3907 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3909 as_fn_error "cannot run C compiled programs. | |
3910 If you meant to cross compile, use \`--host'. | |
3911 See \`config.log' for more details." "$LINENO" 5; } | |
3912 fi | |
3913 fi | |
3914 fi | |
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3916 $as_echo "$cross_compiling" >&6; } | |
3917 | |
3918 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3919 ac_clean_files=$ac_clean_files_save | |
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3921 $as_echo_n "checking for suffix of object files... " >&6; } | |
3922 if test "${ac_cv_objext+set}" = set; then : | |
3923 $as_echo_n "(cached) " >&6 | |
3924 else | |
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3926 /* end confdefs.h. */ | |
3927 | |
3928 int | |
3929 main () | |
3930 { | |
3931 | |
3932 ; | |
3933 return 0; | |
3934 } | |
3935 _ACEOF | |
3936 rm -f conftest.o conftest.obj | |
3937 if { { ac_try="$ac_compile" | |
3938 case "(($ac_try" in | |
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3940 *) ac_try_echo=$ac_try;; | |
3941 esac | |
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3943 $as_echo "$ac_try_echo"; } >&5 | |
3944 (eval "$ac_compile") 2>&5 | 3575 (eval "$ac_compile") 2>&5 |
3945 ac_status=$? | 3576 ac_status=$? |
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3947 test $ac_status = 0; }; then : | 3578 (exit $ac_status); }; then |
3948 for ac_file in conftest.o conftest.obj conftest.*; do | 3579 for ac_file in conftest.o conftest.obj conftest.*; do |
3949 test -f "$ac_file" || continue; | 3580 test -f "$ac_file" || continue; |
3950 case $ac_file in | 3581 case $ac_file in |
3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 3582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3952 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3583 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3955 done | 3586 done |
3956 else | 3587 else |
3957 $as_echo "$as_me: failed program was:" >&5 | 3588 $as_echo "$as_me: failed program was:" >&5 |
3958 sed 's/^/| /' conftest.$ac_ext >&5 | 3589 sed 's/^/| /' conftest.$ac_ext >&5 |
3959 | 3590 |
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3591 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3592 See \`config.log' for more details." >&5 |
3962 as_fn_error "cannot compute suffix of object files: cannot compile | 3593 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
3963 See \`config.log' for more details." "$LINENO" 5; } | 3594 See \`config.log' for more details." >&2;} |
3964 fi | 3595 { (exit 1); exit 1; }; } |
3596 fi | |
3597 | |
3965 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3598 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3966 fi | 3599 fi |
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 3600 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3968 $as_echo "$ac_cv_objext" >&6; } | 3601 $as_echo "$ac_cv_objext" >&6; } |
3969 OBJEXT=$ac_cv_objext | 3602 OBJEXT=$ac_cv_objext |
3970 ac_objext=$OBJEXT | 3603 ac_objext=$OBJEXT |
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 3604 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3972 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 3605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3973 if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 3606 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3974 $as_echo_n "(cached) " >&6 | 3607 $as_echo_n "(cached) " >&6 |
3975 else | 3608 else |
3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3609 cat >conftest.$ac_ext <<_ACEOF |
3610 /* confdefs.h. */ | |
3611 _ACEOF | |
3612 cat confdefs.h >>conftest.$ac_ext | |
3613 cat >>conftest.$ac_ext <<_ACEOF | |
3977 /* end confdefs.h. */ | 3614 /* end confdefs.h. */ |
3978 | 3615 |
3979 int | 3616 int |
3980 main () | 3617 main () |
3981 { | 3618 { |
3985 | 3622 |
3986 ; | 3623 ; |
3987 return 0; | 3624 return 0; |
3988 } | 3625 } |
3989 _ACEOF | 3626 _ACEOF |
3990 if ac_fn_c_try_compile "$LINENO"; then : | 3627 rm -f conftest.$ac_objext |
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 | |
3991 ac_compiler_gnu=yes | 3645 ac_compiler_gnu=yes |
3992 else | 3646 else |
3993 ac_compiler_gnu=no | 3647 $as_echo "$as_me: failed program was:" >&5 |
3994 fi | 3648 sed 's/^/| /' conftest.$ac_ext >&5 |
3649 | |
3650 ac_compiler_gnu=no | |
3651 fi | |
3652 | |
3995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3996 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3654 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3997 | 3655 |
3998 fi | 3656 fi |
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 3657 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4000 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 3658 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4001 if test $ac_compiler_gnu = yes; then | 3659 if test $ac_compiler_gnu = yes; then |
4002 GCC=yes | 3660 GCC=yes |
4003 else | 3661 else |
4004 GCC= | 3662 GCC= |
4005 fi | 3663 fi |
4006 ac_test_CFLAGS=${CFLAGS+set} | 3664 ac_test_CFLAGS=${CFLAGS+set} |
4007 ac_save_CFLAGS=$CFLAGS | 3665 ac_save_CFLAGS=$CFLAGS |
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 3666 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
4009 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 3667 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4010 if test "${ac_cv_prog_cc_g+set}" = set; then : | 3668 if test "${ac_cv_prog_cc_g+set}" = set; then |
4011 $as_echo_n "(cached) " >&6 | 3669 $as_echo_n "(cached) " >&6 |
4012 else | 3670 else |
4013 ac_save_c_werror_flag=$ac_c_werror_flag | 3671 ac_save_c_werror_flag=$ac_c_werror_flag |
4014 ac_c_werror_flag=yes | 3672 ac_c_werror_flag=yes |
4015 ac_cv_prog_cc_g=no | 3673 ac_cv_prog_cc_g=no |
4016 CFLAGS="-g" | 3674 CFLAGS="-g" |
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3675 cat >conftest.$ac_ext <<_ACEOF |
3676 /* confdefs.h. */ | |
3677 _ACEOF | |
3678 cat confdefs.h >>conftest.$ac_ext | |
3679 cat >>conftest.$ac_ext <<_ACEOF | |
4018 /* end confdefs.h. */ | 3680 /* end confdefs.h. */ |
4019 | 3681 |
4020 int | 3682 int |
4021 main () | 3683 main () |
4022 { | 3684 { |
4023 | 3685 |
4024 ; | 3686 ; |
4025 return 0; | 3687 return 0; |
4026 } | 3688 } |
4027 _ACEOF | 3689 _ACEOF |
4028 if ac_fn_c_try_compile "$LINENO"; then : | 3690 rm -f conftest.$ac_objext |
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 | |
4029 ac_cv_prog_cc_g=yes | 3708 ac_cv_prog_cc_g=yes |
4030 else | 3709 else |
4031 CFLAGS="" | 3710 $as_echo "$as_me: failed program was:" >&5 |
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3711 sed 's/^/| /' conftest.$ac_ext >&5 |
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 | |
4033 /* end confdefs.h. */ | 3719 /* end confdefs.h. */ |
4034 | 3720 |
4035 int | 3721 int |
4036 main () | 3722 main () |
4037 { | 3723 { |
4038 | 3724 |
4039 ; | 3725 ; |
4040 return 0; | 3726 return 0; |
4041 } | 3727 } |
4042 _ACEOF | 3728 _ACEOF |
4043 if ac_fn_c_try_compile "$LINENO"; then : | 3729 rm -f conftest.$ac_objext |
4044 | 3730 if { (ac_try="$ac_compile" |
4045 else | 3731 case "(($ac_try" in |
4046 ac_c_werror_flag=$ac_save_c_werror_flag | 3732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
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 | |
4047 CFLAGS="-g" | 3753 CFLAGS="-g" |
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3754 cat >conftest.$ac_ext <<_ACEOF |
3755 /* confdefs.h. */ | |
3756 _ACEOF | |
3757 cat confdefs.h >>conftest.$ac_ext | |
3758 cat >>conftest.$ac_ext <<_ACEOF | |
4049 /* end confdefs.h. */ | 3759 /* end confdefs.h. */ |
4050 | 3760 |
4051 int | 3761 int |
4052 main () | 3762 main () |
4053 { | 3763 { |
4054 | 3764 |
4055 ; | 3765 ; |
4056 return 0; | 3766 return 0; |
4057 } | 3767 } |
4058 _ACEOF | 3768 _ACEOF |
4059 if ac_fn_c_try_compile "$LINENO"; then : | 3769 rm -f conftest.$ac_objext |
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 | |
4060 ac_cv_prog_cc_g=yes | 3787 ac_cv_prog_cc_g=yes |
4061 fi | 3788 else |
3789 $as_echo "$as_me: failed program was:" >&5 | |
3790 sed 's/^/| /' conftest.$ac_ext >&5 | |
3791 | |
3792 | |
3793 fi | |
3794 | |
4062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4063 fi | 3796 fi |
3797 | |
4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4065 fi | 3799 fi |
3800 | |
4066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4067 ac_c_werror_flag=$ac_save_c_werror_flag | 3802 ac_c_werror_flag=$ac_save_c_werror_flag |
4068 fi | 3803 fi |
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 3804 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4070 $as_echo "$ac_cv_prog_cc_g" >&6; } | 3805 $as_echo "$ac_cv_prog_cc_g" >&6; } |
4071 if test "$ac_test_CFLAGS" = set; then | 3806 if test "$ac_test_CFLAGS" = set; then |
4072 CFLAGS=$ac_save_CFLAGS | 3807 CFLAGS=$ac_save_CFLAGS |
4073 elif test $ac_cv_prog_cc_g = yes; then | 3808 elif test $ac_cv_prog_cc_g = yes; then |
4074 if test "$GCC" = yes; then | 3809 if test "$GCC" = yes; then |
4081 CFLAGS="-O2" | 3816 CFLAGS="-O2" |
4082 else | 3817 else |
4083 CFLAGS= | 3818 CFLAGS= |
4084 fi | 3819 fi |
4085 fi | 3820 fi |
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 3821 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
4087 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 3822 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4088 if test "${ac_cv_prog_cc_c89+set}" = set; then : | 3823 if test "${ac_cv_prog_cc_c89+set}" = set; then |
4089 $as_echo_n "(cached) " >&6 | 3824 $as_echo_n "(cached) " >&6 |
4090 else | 3825 else |
4091 ac_cv_prog_cc_c89=no | 3826 ac_cv_prog_cc_c89=no |
4092 ac_save_CC=$CC | 3827 ac_save_CC=$CC |
4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3828 cat >conftest.$ac_ext <<_ACEOF |
3829 /* confdefs.h. */ | |
3830 _ACEOF | |
3831 cat confdefs.h >>conftest.$ac_ext | |
3832 cat >>conftest.$ac_ext <<_ACEOF | |
4094 /* end confdefs.h. */ | 3833 /* end confdefs.h. */ |
4095 #include <stdarg.h> | 3834 #include <stdarg.h> |
4096 #include <stdio.h> | 3835 #include <stdio.h> |
4097 #include <sys/types.h> | 3836 #include <sys/types.h> |
4098 #include <sys/stat.h> | 3837 #include <sys/stat.h> |
4145 _ACEOF | 3884 _ACEOF |
4146 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 3885 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
4147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4148 do | 3887 do |
4149 CC="$ac_save_CC $ac_arg" | 3888 CC="$ac_save_CC $ac_arg" |
4150 if ac_fn_c_try_compile "$LINENO"; then : | 3889 rm -f conftest.$ac_objext |
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 | |
4151 ac_cv_prog_cc_c89=$ac_arg | 3907 ac_cv_prog_cc_c89=$ac_arg |
4152 fi | 3908 else |
3909 $as_echo "$as_me: failed program was:" >&5 | |
3910 sed 's/^/| /' conftest.$ac_ext >&5 | |
3911 | |
3912 | |
3913 fi | |
3914 | |
4153 rm -f core conftest.err conftest.$ac_objext | 3915 rm -f core conftest.err conftest.$ac_objext |
4154 test "x$ac_cv_prog_cc_c89" != "xno" && break | 3916 test "x$ac_cv_prog_cc_c89" != "xno" && break |
4155 done | 3917 done |
4156 rm -f conftest.$ac_ext | 3918 rm -f conftest.$ac_ext |
4157 CC=$ac_save_CC | 3919 CC=$ac_save_CC |
4158 | 3920 |
4159 fi | 3921 fi |
4160 # AC_CACHE_VAL | 3922 # AC_CACHE_VAL |
4161 case "x$ac_cv_prog_cc_c89" in | 3923 case "x$ac_cv_prog_cc_c89" in |
4162 x) | 3924 x) |
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 3925 { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
4164 $as_echo "none needed" >&6; } ;; | 3926 $as_echo "none needed" >&6; } ;; |
4165 xno) | 3927 xno) |
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 3928 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
4167 $as_echo "unsupported" >&6; } ;; | 3929 $as_echo "unsupported" >&6; } ;; |
4168 *) | 3930 *) |
4169 CC="$CC $ac_cv_prog_cc_c89" | 3931 CC="$CC $ac_cv_prog_cc_c89" |
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 3932 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
4171 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 3933 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4172 esac | 3934 esac |
4173 if test "x$ac_cv_prog_cc_c89" != xno; then : | 3935 |
4174 | |
4175 fi | |
4176 | 3936 |
4177 ac_ext=c | 3937 ac_ext=c |
4178 ac_cpp='$CPP $CPPFLAGS' | 3938 ac_cpp='$CPP $CPPFLAGS' |
4179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4188 | 3948 |
4189 ## If not using gcc, and on Solaris, and no CPP specified, see if | 3949 ## If not using gcc, and on Solaris, and no CPP specified, see if |
4190 ## using a Sun compiler, which needs -Xs to prevent whitespace. | 3950 ## using a Sun compiler, which needs -Xs to prevent whitespace. |
4191 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ | 3951 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ |
4192 test x"$CPP" = x; then | 3952 test x"$CPP" = x; then |
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 | 3953 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 |
4194 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } | 3954 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } |
4195 | 3955 |
4196 if test "${emacs_cv_sunpro_c+set}" = set; then : | 3956 if test "${emacs_cv_sunpro_c+set}" = set; then |
4197 $as_echo_n "(cached) " >&6 | 3957 $as_echo_n "(cached) " >&6 |
4198 else | 3958 else |
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3959 cat >conftest.$ac_ext <<_ACEOF |
3960 /* confdefs.h. */ | |
3961 _ACEOF | |
3962 cat confdefs.h >>conftest.$ac_ext | |
3963 cat >>conftest.$ac_ext <<_ACEOF | |
4200 /* end confdefs.h. */ | 3964 /* end confdefs.h. */ |
4201 | 3965 |
4202 int | 3966 int |
4203 main () | 3967 main () |
4204 { | 3968 { |
4208 | 3972 |
4209 ; | 3973 ; |
4210 return 0; | 3974 return 0; |
4211 } | 3975 } |
4212 _ACEOF | 3976 _ACEOF |
4213 if ac_fn_c_try_link "$LINENO"; then : | 3977 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
4214 emacs_cv_sunpro_c=yes | 3998 emacs_cv_sunpro_c=yes |
4215 else | 3999 else |
4216 emacs_cv_sunpro_c=no | 4000 $as_echo "$as_me: failed program was:" >&5 |
4217 fi | 4001 sed 's/^/| /' conftest.$ac_ext >&5 |
4218 rm -f core conftest.err conftest.$ac_objext \ | 4002 |
4219 conftest$ac_exeext conftest.$ac_ext | 4003 emacs_cv_sunpro_c=no |
4220 fi | 4004 fi |
4221 | 4005 |
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5 | 4006 rm -rf conftest.dSYM |
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 | |
4223 $as_echo "$emacs_cv_sunpro_c" >&6; } | 4012 $as_echo "$emacs_cv_sunpro_c" >&6; } |
4224 | 4013 |
4225 if test x"$emacs_cv_sunpro_c" = xyes; then | 4014 if test x"$emacs_cv_sunpro_c" = xyes; then |
4226 NON_GNU_CPP="$CC -E -Xs" | 4015 NON_GNU_CPP="$CC -E -Xs" |
4227 fi | 4016 fi |
4257 ac_ext=c | 4046 ac_ext=c |
4258 ac_cpp='$CPP $CPPFLAGS' | 4047 ac_cpp='$CPP $CPPFLAGS' |
4259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4261 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4050 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 4051 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4263 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 4052 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
4264 # On Suns, sometimes $CPP names a directory. | 4053 # On Suns, sometimes $CPP names a directory. |
4265 if test -n "$CPP" && test -d "$CPP"; then | 4054 if test -n "$CPP" && test -d "$CPP"; then |
4266 CPP= | 4055 CPP= |
4267 fi | 4056 fi |
4268 if test -z "$CPP"; then | 4057 if test -z "$CPP"; then |
4269 if test "${ac_cv_prog_CPP+set}" = set; then : | 4058 if test "${ac_cv_prog_CPP+set}" = set; then |
4270 $as_echo_n "(cached) " >&6 | 4059 $as_echo_n "(cached) " >&6 |
4271 else | 4060 else |
4272 # Double quotes because CPP needs to be expanded | 4061 # Double quotes because CPP needs to be expanded |
4273 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 4062 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4274 do | 4063 do |
4279 # with a fresh cross-compiler works. | 4068 # with a fresh cross-compiler works. |
4280 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4281 # <limits.h> exists even on freestanding compilers. | 4070 # <limits.h> exists even on freestanding compilers. |
4282 # On the NeXT, cc -E runs the code through the compiler's parser, | 4071 # On the NeXT, cc -E runs the code through the compiler's parser, |
4283 # not just through cpp. "Syntax error" is here to catch this case. | 4072 # not just through cpp. "Syntax error" is here to catch this case. |
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4073 cat >conftest.$ac_ext <<_ACEOF |
4074 /* confdefs.h. */ | |
4075 _ACEOF | |
4076 cat confdefs.h >>conftest.$ac_ext | |
4077 cat >>conftest.$ac_ext <<_ACEOF | |
4285 /* end confdefs.h. */ | 4078 /* end confdefs.h. */ |
4286 #ifdef __STDC__ | 4079 #ifdef __STDC__ |
4287 # include <limits.h> | 4080 # include <limits.h> |
4288 #else | 4081 #else |
4289 # include <assert.h> | 4082 # include <assert.h> |
4290 #endif | 4083 #endif |
4291 Syntax error | 4084 Syntax error |
4292 _ACEOF | 4085 _ACEOF |
4293 if ac_fn_c_try_cpp "$LINENO"; then : | 4086 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4294 | 4087 case "(($ac_try" in |
4295 else | 4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
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 | |
4296 # Broken: fails on valid input. | 4108 # Broken: fails on valid input. |
4297 continue | 4109 continue |
4298 fi | 4110 fi |
4111 | |
4299 rm -f conftest.err conftest.$ac_ext | 4112 rm -f conftest.err conftest.$ac_ext |
4300 | 4113 |
4301 # OK, works on sane cases. Now check whether nonexistent headers | 4114 # OK, works on sane cases. Now check whether nonexistent headers |
4302 # can be detected and how. | 4115 # can be detected and how. |
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4116 cat >conftest.$ac_ext <<_ACEOF |
4117 /* confdefs.h. */ | |
4118 _ACEOF | |
4119 cat confdefs.h >>conftest.$ac_ext | |
4120 cat >>conftest.$ac_ext <<_ACEOF | |
4304 /* end confdefs.h. */ | 4121 /* end confdefs.h. */ |
4305 #include <ac_nonexistent.h> | 4122 #include <ac_nonexistent.h> |
4306 _ACEOF | 4123 _ACEOF |
4307 if ac_fn_c_try_cpp "$LINENO"; then : | 4124 if { (ac_try="$ac_cpp conftest.$ac_ext" |
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 | |
4308 # Broken: success on invalid input. | 4141 # Broken: success on invalid input. |
4309 continue | 4142 continue |
4310 else | 4143 else |
4144 $as_echo "$as_me: failed program was:" >&5 | |
4145 sed 's/^/| /' conftest.$ac_ext >&5 | |
4146 | |
4311 # Passes both tests. | 4147 # Passes both tests. |
4312 ac_preproc_ok=: | 4148 ac_preproc_ok=: |
4313 break | 4149 break |
4314 fi | 4150 fi |
4151 | |
4315 rm -f conftest.err conftest.$ac_ext | 4152 rm -f conftest.err conftest.$ac_ext |
4316 | 4153 |
4317 done | 4154 done |
4318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4319 rm -f conftest.err conftest.$ac_ext | 4156 rm -f conftest.err conftest.$ac_ext |
4320 if $ac_preproc_ok; then : | 4157 if $ac_preproc_ok; then |
4321 break | 4158 break |
4322 fi | 4159 fi |
4323 | 4160 |
4324 done | 4161 done |
4325 ac_cv_prog_CPP=$CPP | 4162 ac_cv_prog_CPP=$CPP |
4327 fi | 4164 fi |
4328 CPP=$ac_cv_prog_CPP | 4165 CPP=$ac_cv_prog_CPP |
4329 else | 4166 else |
4330 ac_cv_prog_CPP=$CPP | 4167 ac_cv_prog_CPP=$CPP |
4331 fi | 4168 fi |
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 4169 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
4333 $as_echo "$CPP" >&6; } | 4170 $as_echo "$CPP" >&6; } |
4334 ac_preproc_ok=false | 4171 ac_preproc_ok=false |
4335 for ac_c_preproc_warn_flag in '' yes | 4172 for ac_c_preproc_warn_flag in '' yes |
4336 do | 4173 do |
4337 # Use a header file that comes with gcc, so configuring glibc | 4174 # Use a header file that comes with gcc, so configuring glibc |
4338 # with a fresh cross-compiler works. | 4175 # with a fresh cross-compiler works. |
4339 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4340 # <limits.h> exists even on freestanding compilers. | 4177 # <limits.h> exists even on freestanding compilers. |
4341 # On the NeXT, cc -E runs the code through the compiler's parser, | 4178 # On the NeXT, cc -E runs the code through the compiler's parser, |
4342 # not just through cpp. "Syntax error" is here to catch this case. | 4179 # not just through cpp. "Syntax error" is here to catch this case. |
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4180 cat >conftest.$ac_ext <<_ACEOF |
4181 /* confdefs.h. */ | |
4182 _ACEOF | |
4183 cat confdefs.h >>conftest.$ac_ext | |
4184 cat >>conftest.$ac_ext <<_ACEOF | |
4344 /* end confdefs.h. */ | 4185 /* end confdefs.h. */ |
4345 #ifdef __STDC__ | 4186 #ifdef __STDC__ |
4346 # include <limits.h> | 4187 # include <limits.h> |
4347 #else | 4188 #else |
4348 # include <assert.h> | 4189 # include <assert.h> |
4349 #endif | 4190 #endif |
4350 Syntax error | 4191 Syntax error |
4351 _ACEOF | 4192 _ACEOF |
4352 if ac_fn_c_try_cpp "$LINENO"; then : | 4193 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4353 | 4194 case "(($ac_try" in |
4354 else | 4195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
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 | |
4355 # Broken: fails on valid input. | 4215 # Broken: fails on valid input. |
4356 continue | 4216 continue |
4357 fi | 4217 fi |
4218 | |
4358 rm -f conftest.err conftest.$ac_ext | 4219 rm -f conftest.err conftest.$ac_ext |
4359 | 4220 |
4360 # OK, works on sane cases. Now check whether nonexistent headers | 4221 # OK, works on sane cases. Now check whether nonexistent headers |
4361 # can be detected and how. | 4222 # can be detected and how. |
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4223 cat >conftest.$ac_ext <<_ACEOF |
4224 /* confdefs.h. */ | |
4225 _ACEOF | |
4226 cat confdefs.h >>conftest.$ac_ext | |
4227 cat >>conftest.$ac_ext <<_ACEOF | |
4363 /* end confdefs.h. */ | 4228 /* end confdefs.h. */ |
4364 #include <ac_nonexistent.h> | 4229 #include <ac_nonexistent.h> |
4365 _ACEOF | 4230 _ACEOF |
4366 if ac_fn_c_try_cpp "$LINENO"; then : | 4231 if { (ac_try="$ac_cpp conftest.$ac_ext" |
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 | |
4367 # Broken: success on invalid input. | 4248 # Broken: success on invalid input. |
4368 continue | 4249 continue |
4369 else | 4250 else |
4251 $as_echo "$as_me: failed program was:" >&5 | |
4252 sed 's/^/| /' conftest.$ac_ext >&5 | |
4253 | |
4370 # Passes both tests. | 4254 # Passes both tests. |
4371 ac_preproc_ok=: | 4255 ac_preproc_ok=: |
4372 break | 4256 break |
4373 fi | 4257 fi |
4258 | |
4374 rm -f conftest.err conftest.$ac_ext | 4259 rm -f conftest.err conftest.$ac_ext |
4375 | 4260 |
4376 done | 4261 done |
4377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4378 rm -f conftest.err conftest.$ac_ext | 4263 rm -f conftest.err conftest.$ac_ext |
4379 if $ac_preproc_ok; then : | 4264 if $ac_preproc_ok; then |
4380 | 4265 : |
4381 else | 4266 else |
4382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4267 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4268 See \`config.log' for more details." >&5 |
4384 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4269 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4385 See \`config.log' for more details." "$LINENO" 5; } | 4270 See \`config.log' for more details." >&2;} |
4271 { (exit 1); exit 1; }; } | |
4386 fi | 4272 fi |
4387 | 4273 |
4388 ac_ext=c | 4274 ac_ext=c |
4389 ac_cpp='$CPP $CPPFLAGS' | 4275 ac_cpp='$CPP $CPPFLAGS' |
4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4278 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4393 | 4279 |
4394 | 4280 |
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 4281 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
4396 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 4282 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4397 if test "${ac_cv_path_GREP+set}" = set; then : | 4283 if test "${ac_cv_path_GREP+set}" = set; then |
4398 $as_echo_n "(cached) " >&6 | 4284 $as_echo_n "(cached) " >&6 |
4399 else | 4285 else |
4400 if test -z "$GREP"; then | 4286 if test -z "$GREP"; then |
4401 ac_path_GREP_found=false | 4287 ac_path_GREP_found=false |
4402 # Loop through the user's path and test for each of PROGNAME-LIST | 4288 # Loop through the user's path and test for each of PROGNAME-LIST |
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4404 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4290 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4405 do | 4291 do |
4406 IFS=$as_save_IFS | 4292 IFS=$as_save_IFS |
4407 test -z "$as_dir" && as_dir=. | 4293 test -z "$as_dir" && as_dir=. |
4408 for ac_prog in grep ggrep; do | 4294 for ac_prog in grep ggrep; do |
4409 for ac_exec_ext in '' $ac_executable_extensions; do | 4295 for ac_exec_ext in '' $ac_executable_extensions; do |
4410 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 4296 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4411 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4297 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4412 # Check for GNU ac_path_GREP and select it if it is found. | 4298 # Check for GNU ac_path_GREP and select it if it is found. |
4413 # Check for GNU $ac_path_GREP | 4299 # Check for GNU $ac_path_GREP |
4423 mv "conftest.tmp" "conftest.in" | 4309 mv "conftest.tmp" "conftest.in" |
4424 cp "conftest.in" "conftest.nl" | 4310 cp "conftest.in" "conftest.nl" |
4425 $as_echo 'GREP' >> "conftest.nl" | 4311 $as_echo 'GREP' >> "conftest.nl" |
4426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4312 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4313 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4428 as_fn_arith $ac_count + 1 && ac_count=$as_val | 4314 ac_count=`expr $ac_count + 1` |
4429 if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4315 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4430 # Best one so far, save it but keep looking for a better one | 4316 # Best one so far, save it but keep looking for a better one |
4431 ac_cv_path_GREP="$ac_path_GREP" | 4317 ac_cv_path_GREP="$ac_path_GREP" |
4432 ac_path_GREP_max=$ac_count | 4318 ac_path_GREP_max=$ac_count |
4433 fi | 4319 fi |
4438 esac | 4324 esac |
4439 | 4325 |
4440 $ac_path_GREP_found && break 3 | 4326 $ac_path_GREP_found && break 3 |
4441 done | 4327 done |
4442 done | 4328 done |
4443 done | 4329 done |
4444 IFS=$as_save_IFS | 4330 IFS=$as_save_IFS |
4445 if test -z "$ac_cv_path_GREP"; then | 4331 if test -z "$ac_cv_path_GREP"; then |
4446 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4332 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4333 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4334 { (exit 1); exit 1; }; } | |
4447 fi | 4335 fi |
4448 else | 4336 else |
4449 ac_cv_path_GREP=$GREP | 4337 ac_cv_path_GREP=$GREP |
4450 fi | 4338 fi |
4451 | 4339 |
4452 fi | 4340 fi |
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 4341 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
4454 $as_echo "$ac_cv_path_GREP" >&6; } | 4342 $as_echo "$ac_cv_path_GREP" >&6; } |
4455 GREP="$ac_cv_path_GREP" | 4343 GREP="$ac_cv_path_GREP" |
4456 | 4344 |
4457 | 4345 |
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 4346 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
4459 $as_echo_n "checking for egrep... " >&6; } | 4347 $as_echo_n "checking for egrep... " >&6; } |
4460 if test "${ac_cv_path_EGREP+set}" = set; then : | 4348 if test "${ac_cv_path_EGREP+set}" = set; then |
4461 $as_echo_n "(cached) " >&6 | 4349 $as_echo_n "(cached) " >&6 |
4462 else | 4350 else |
4463 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4351 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4464 then ac_cv_path_EGREP="$GREP -E" | 4352 then ac_cv_path_EGREP="$GREP -E" |
4465 else | 4353 else |
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4358 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4471 do | 4359 do |
4472 IFS=$as_save_IFS | 4360 IFS=$as_save_IFS |
4473 test -z "$as_dir" && as_dir=. | 4361 test -z "$as_dir" && as_dir=. |
4474 for ac_prog in egrep; do | 4362 for ac_prog in egrep; do |
4475 for ac_exec_ext in '' $ac_executable_extensions; do | 4363 for ac_exec_ext in '' $ac_executable_extensions; do |
4476 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4364 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4477 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4365 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4478 # Check for GNU ac_path_EGREP and select it if it is found. | 4366 # Check for GNU ac_path_EGREP and select it if it is found. |
4479 # Check for GNU $ac_path_EGREP | 4367 # Check for GNU $ac_path_EGREP |
4489 mv "conftest.tmp" "conftest.in" | 4377 mv "conftest.tmp" "conftest.in" |
4490 cp "conftest.in" "conftest.nl" | 4378 cp "conftest.in" "conftest.nl" |
4491 $as_echo 'EGREP' >> "conftest.nl" | 4379 $as_echo 'EGREP' >> "conftest.nl" |
4492 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4380 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4493 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4381 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4494 as_fn_arith $ac_count + 1 && ac_count=$as_val | 4382 ac_count=`expr $ac_count + 1` |
4495 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4383 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4496 # Best one so far, save it but keep looking for a better one | 4384 # Best one so far, save it but keep looking for a better one |
4497 ac_cv_path_EGREP="$ac_path_EGREP" | 4385 ac_cv_path_EGREP="$ac_path_EGREP" |
4498 ac_path_EGREP_max=$ac_count | 4386 ac_path_EGREP_max=$ac_count |
4499 fi | 4387 fi |
4504 esac | 4392 esac |
4505 | 4393 |
4506 $ac_path_EGREP_found && break 3 | 4394 $ac_path_EGREP_found && break 3 |
4507 done | 4395 done |
4508 done | 4396 done |
4509 done | 4397 done |
4510 IFS=$as_save_IFS | 4398 IFS=$as_save_IFS |
4511 if test -z "$ac_cv_path_EGREP"; then | 4399 if test -z "$ac_cv_path_EGREP"; then |
4512 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4400 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4401 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4402 { (exit 1); exit 1; }; } | |
4513 fi | 4403 fi |
4514 else | 4404 else |
4515 ac_cv_path_EGREP=$EGREP | 4405 ac_cv_path_EGREP=$EGREP |
4516 fi | 4406 fi |
4517 | 4407 |
4518 fi | 4408 fi |
4519 fi | 4409 fi |
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 4410 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
4521 $as_echo "$ac_cv_path_EGREP" >&6; } | 4411 $as_echo "$ac_cv_path_EGREP" >&6; } |
4522 EGREP="$ac_cv_path_EGREP" | 4412 EGREP="$ac_cv_path_EGREP" |
4523 | 4413 |
4524 | 4414 |
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 4415 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4526 $as_echo_n "checking for ANSI C header files... " >&6; } | 4416 $as_echo_n "checking for ANSI C header files... " >&6; } |
4527 if test "${ac_cv_header_stdc+set}" = set; then : | 4417 if test "${ac_cv_header_stdc+set}" = set; then |
4528 $as_echo_n "(cached) " >&6 | 4418 $as_echo_n "(cached) " >&6 |
4529 else | 4419 else |
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4420 cat >conftest.$ac_ext <<_ACEOF |
4421 /* confdefs.h. */ | |
4422 _ACEOF | |
4423 cat confdefs.h >>conftest.$ac_ext | |
4424 cat >>conftest.$ac_ext <<_ACEOF | |
4531 /* end confdefs.h. */ | 4425 /* end confdefs.h. */ |
4532 #include <stdlib.h> | 4426 #include <stdlib.h> |
4533 #include <stdarg.h> | 4427 #include <stdarg.h> |
4534 #include <string.h> | 4428 #include <string.h> |
4535 #include <float.h> | 4429 #include <float.h> |
4540 | 4434 |
4541 ; | 4435 ; |
4542 return 0; | 4436 return 0; |
4543 } | 4437 } |
4544 _ACEOF | 4438 _ACEOF |
4545 if ac_fn_c_try_compile "$LINENO"; then : | 4439 rm -f conftest.$ac_objext |
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 | |
4546 ac_cv_header_stdc=yes | 4457 ac_cv_header_stdc=yes |
4547 else | 4458 else |
4548 ac_cv_header_stdc=no | 4459 $as_echo "$as_me: failed program was:" >&5 |
4549 fi | 4460 sed 's/^/| /' conftest.$ac_ext >&5 |
4461 | |
4462 ac_cv_header_stdc=no | |
4463 fi | |
4464 | |
4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4551 | 4466 |
4552 if test $ac_cv_header_stdc = yes; then | 4467 if test $ac_cv_header_stdc = yes; then |
4553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4468 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4469 cat >conftest.$ac_ext <<_ACEOF |
4470 /* confdefs.h. */ | |
4471 _ACEOF | |
4472 cat confdefs.h >>conftest.$ac_ext | |
4473 cat >>conftest.$ac_ext <<_ACEOF | |
4555 /* end confdefs.h. */ | 4474 /* end confdefs.h. */ |
4556 #include <string.h> | 4475 #include <string.h> |
4557 | 4476 |
4558 _ACEOF | 4477 _ACEOF |
4559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4560 $EGREP "memchr" >/dev/null 2>&1; then : | 4479 $EGREP "memchr" >/dev/null 2>&1; then |
4561 | 4480 : |
4562 else | 4481 else |
4563 ac_cv_header_stdc=no | 4482 ac_cv_header_stdc=no |
4564 fi | 4483 fi |
4565 rm -f conftest* | 4484 rm -f conftest* |
4566 | 4485 |
4567 fi | 4486 fi |
4568 | 4487 |
4569 if test $ac_cv_header_stdc = yes; then | 4488 if test $ac_cv_header_stdc = yes; then |
4570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4489 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4490 cat >conftest.$ac_ext <<_ACEOF |
4491 /* confdefs.h. */ | |
4492 _ACEOF | |
4493 cat confdefs.h >>conftest.$ac_ext | |
4494 cat >>conftest.$ac_ext <<_ACEOF | |
4572 /* end confdefs.h. */ | 4495 /* end confdefs.h. */ |
4573 #include <stdlib.h> | 4496 #include <stdlib.h> |
4574 | 4497 |
4575 _ACEOF | 4498 _ACEOF |
4576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4577 $EGREP "free" >/dev/null 2>&1; then : | 4500 $EGREP "free" >/dev/null 2>&1; then |
4578 | 4501 : |
4579 else | 4502 else |
4580 ac_cv_header_stdc=no | 4503 ac_cv_header_stdc=no |
4581 fi | 4504 fi |
4582 rm -f conftest* | 4505 rm -f conftest* |
4583 | 4506 |
4584 fi | 4507 fi |
4585 | 4508 |
4586 if test $ac_cv_header_stdc = yes; then | 4509 if test $ac_cv_header_stdc = yes; then |
4587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4510 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4588 if test "$cross_compiling" = yes; then : | 4511 if test "$cross_compiling" = yes; then |
4589 : | 4512 : |
4590 else | 4513 else |
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4514 cat >conftest.$ac_ext <<_ACEOF |
4515 /* confdefs.h. */ | |
4516 _ACEOF | |
4517 cat confdefs.h >>conftest.$ac_ext | |
4518 cat >>conftest.$ac_ext <<_ACEOF | |
4592 /* end confdefs.h. */ | 4519 /* end confdefs.h. */ |
4593 #include <ctype.h> | 4520 #include <ctype.h> |
4594 #include <stdlib.h> | 4521 #include <stdlib.h> |
4595 #if ((' ' & 0x0FF) == 0x020) | 4522 #if ((' ' & 0x0FF) == 0x020) |
4596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4523 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4613 || toupper (i) != TOUPPER (i)) | 4540 || toupper (i) != TOUPPER (i)) |
4614 return 2; | 4541 return 2; |
4615 return 0; | 4542 return 0; |
4616 } | 4543 } |
4617 _ACEOF | 4544 _ACEOF |
4618 if ac_fn_c_try_run "$LINENO"; then : | 4545 rm -f conftest$ac_exeext |
4619 | 4546 if { (ac_try="$ac_link" |
4620 else | 4547 case "(($ac_try" in |
4621 ac_cv_header_stdc=no | 4548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4622 fi | 4549 *) ac_try_echo=$ac_try;; |
4623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 4550 esac |
4624 conftest.$ac_objext conftest.beam conftest.$ac_ext | 4551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4625 fi | 4552 $as_echo "$ac_try_echo") >&5 |
4626 | 4553 (eval "$ac_link") 2>&5 |
4627 fi | 4554 ac_status=$? |
4628 fi | 4555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 4556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4557 { (case "(($ac_try" in | |
4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4559 *) ac_try_echo=$ac_try;; | |
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 | |
4630 $as_echo "$ac_cv_header_stdc" >&6; } | 4584 $as_echo "$ac_cv_header_stdc" >&6; } |
4631 if test $ac_cv_header_stdc = yes; then | 4585 if test $ac_cv_header_stdc = yes; then |
4632 | 4586 |
4633 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 4587 cat >>confdefs.h <<\_ACEOF |
4588 #define STDC_HEADERS 1 | |
4589 _ACEOF | |
4634 | 4590 |
4635 fi | 4591 fi |
4636 | 4592 |
4637 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4593 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4594 | |
4595 | |
4596 | |
4597 | |
4598 | |
4599 | |
4600 | |
4601 | |
4602 | |
4638 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4603 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4639 inttypes.h stdint.h unistd.h | 4604 inttypes.h stdint.h unistd.h |
4640 do : | 4605 do |
4641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4642 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4607 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4643 " | 4608 $as_echo_n "checking for $ac_header... " >&6; } |
4644 eval as_val=\$$as_ac_Header | 4609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4645 if test "x$as_val" = x""yes; then : | 4610 $as_echo_n "(cached) " >&6 |
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 | |
4646 cat >>confdefs.h <<_ACEOF | 4656 cat >>confdefs.h <<_ACEOF |
4647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4648 _ACEOF | 4658 _ACEOF |
4649 | 4659 |
4650 fi | 4660 fi |
4651 | 4661 |
4652 done | 4662 done |
4653 | 4663 |
4654 | 4664 |
4655 | 4665 |
4656 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" | 4666 if test "${ac_cv_header_minix_config_h+set}" = set; then |
4657 if test "x$ac_cv_header_minix_config_h" = x""yes; then : | 4667 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 |
4668 $as_echo_n "checking for minix/config.h... " >&6; } | |
4669 if test "${ac_cv_header_minix_config_h+set}" = set; then | |
4670 $as_echo_n "(cached) " >&6 | |
4671 fi | |
4672 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | |
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 | |
4658 MINIX=yes | 4794 MINIX=yes |
4659 else | 4795 else |
4660 MINIX= | 4796 MINIX= |
4661 fi | 4797 fi |
4662 | 4798 |
4663 | 4799 |
4664 if test "$MINIX" = yes; then | 4800 if test "$MINIX" = yes; then |
4665 | 4801 |
4666 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h | 4802 cat >>confdefs.h <<\_ACEOF |
4667 | 4803 #define _POSIX_SOURCE 1 |
4668 | 4804 _ACEOF |
4669 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h | 4805 |
4670 | 4806 |
4671 | 4807 cat >>confdefs.h <<\_ACEOF |
4672 $as_echo "#define _MINIX 1" >>confdefs.h | 4808 #define _POSIX_1_SOURCE 2 |
4809 _ACEOF | |
4810 | |
4811 | |
4812 cat >>confdefs.h <<\_ACEOF | |
4813 #define _MINIX 1 | |
4814 _ACEOF | |
4673 | 4815 |
4674 fi | 4816 fi |
4675 | 4817 |
4676 | 4818 |
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 | 4819 |
4820 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 | |
4678 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | 4821 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4679 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : | 4822 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then |
4680 $as_echo_n "(cached) " >&6 | 4823 $as_echo_n "(cached) " >&6 |
4681 else | 4824 else |
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4825 cat >conftest.$ac_ext <<_ACEOF |
4826 /* confdefs.h. */ | |
4827 _ACEOF | |
4828 cat confdefs.h >>conftest.$ac_ext | |
4829 cat >>conftest.$ac_ext <<_ACEOF | |
4683 /* end confdefs.h. */ | 4830 /* end confdefs.h. */ |
4684 | 4831 |
4685 # define __EXTENSIONS__ 1 | 4832 # define __EXTENSIONS__ 1 |
4686 $ac_includes_default | 4833 $ac_includes_default |
4687 int | 4834 int |
4690 | 4837 |
4691 ; | 4838 ; |
4692 return 0; | 4839 return 0; |
4693 } | 4840 } |
4694 _ACEOF | 4841 _ACEOF |
4695 if ac_fn_c_try_compile "$LINENO"; then : | 4842 rm -f conftest.$ac_objext |
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 | |
4696 ac_cv_safe_to_define___extensions__=yes | 4860 ac_cv_safe_to_define___extensions__=yes |
4697 else | 4861 else |
4698 ac_cv_safe_to_define___extensions__=no | 4862 $as_echo "$as_me: failed program was:" >&5 |
4699 fi | 4863 sed 's/^/| /' conftest.$ac_ext >&5 |
4864 | |
4865 ac_cv_safe_to_define___extensions__=no | |
4866 fi | |
4867 | |
4700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4701 fi | 4869 fi |
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 | 4870 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 |
4703 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | 4871 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
4704 test $ac_cv_safe_to_define___extensions__ = yes && | 4872 test $ac_cv_safe_to_define___extensions__ = yes && |
4705 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h | 4873 cat >>confdefs.h <<\_ACEOF |
4706 | 4874 #define __EXTENSIONS__ 1 |
4707 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h | 4875 _ACEOF |
4708 | 4876 |
4709 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h | 4877 cat >>confdefs.h <<\_ACEOF |
4710 | 4878 #define _ALL_SOURCE 1 |
4711 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h | 4879 _ACEOF |
4712 | 4880 |
4713 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h | 4881 cat >>confdefs.h <<\_ACEOF |
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 | |
4714 | 4892 |
4715 | 4893 |
4716 | 4894 |
4717 ### Use -Wno-pointer-sign if the compiler supports it | 4895 ### Use -Wno-pointer-sign if the compiler supports it |
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5 | 4896 { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 |
4719 $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } | 4897 $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } |
4720 SAVE_CFLAGS="$CFLAGS" | 4898 SAVE_CFLAGS="$CFLAGS" |
4721 CFLAGS="$CFLAGS -Wno-pointer-sign" | 4899 CFLAGS="$CFLAGS -Wno-pointer-sign" |
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4900 cat >conftest.$ac_ext <<_ACEOF |
4901 /* confdefs.h. */ | |
4902 _ACEOF | |
4903 cat confdefs.h >>conftest.$ac_ext | |
4904 cat >>conftest.$ac_ext <<_ACEOF | |
4723 /* end confdefs.h. */ | 4905 /* end confdefs.h. */ |
4724 | 4906 |
4725 int | 4907 int |
4726 main () | 4908 main () |
4727 { | 4909 { |
4728 | 4910 |
4729 ; | 4911 ; |
4730 return 0; | 4912 return 0; |
4731 } | 4913 } |
4732 _ACEOF | 4914 _ACEOF |
4733 if ac_fn_c_try_compile "$LINENO"; then : | 4915 rm -f conftest.$ac_objext |
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 | |
4734 has_option=yes | 4933 has_option=yes |
4735 else | 4934 else |
4736 has_option=no | 4935 $as_echo "$as_me: failed program was:" >&5 |
4737 fi | 4936 sed 's/^/| /' conftest.$ac_ext >&5 |
4937 | |
4938 has_option=no | |
4939 fi | |
4940 | |
4738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4739 if test $has_option = yes; then | 4942 if test $has_option = yes; then |
4740 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4943 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
4741 fi | 4944 fi |
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 4945 { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
4743 $as_echo "$has_option" >&6; } | 4946 $as_echo "$has_option" >&6; } |
4744 CFLAGS="$SAVE_CFLAGS" | 4947 CFLAGS="$SAVE_CFLAGS" |
4745 unset has_option | 4948 unset has_option |
4746 unset SAVE_CFLAGS | 4949 unset SAVE_CFLAGS |
4747 | 4950 |
4748 ### Use -Wdeclaration-after-statement if the compiler supports it | 4951 ### Use -Wdeclaration-after-statement if the compiler supports it |
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 | 4952 { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5 |
4750 $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } | 4953 $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } |
4751 SAVE_CFLAGS="$CFLAGS" | 4954 SAVE_CFLAGS="$CFLAGS" |
4752 CFLAGS="$CFLAGS -Wdeclaration-after-statement" | 4955 CFLAGS="$CFLAGS -Wdeclaration-after-statement" |
4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4956 cat >conftest.$ac_ext <<_ACEOF |
4957 /* confdefs.h. */ | |
4958 _ACEOF | |
4959 cat confdefs.h >>conftest.$ac_ext | |
4960 cat >>conftest.$ac_ext <<_ACEOF | |
4754 /* end confdefs.h. */ | 4961 /* end confdefs.h. */ |
4755 | 4962 |
4756 int | 4963 int |
4757 main () | 4964 main () |
4758 { | 4965 { |
4759 | 4966 |
4760 ; | 4967 ; |
4761 return 0; | 4968 return 0; |
4762 } | 4969 } |
4763 _ACEOF | 4970 _ACEOF |
4764 if ac_fn_c_try_compile "$LINENO"; then : | 4971 rm -f conftest.$ac_objext |
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 | |
4765 has_option=yes | 4989 has_option=yes |
4766 else | 4990 else |
4767 has_option=no | 4991 $as_echo "$as_me: failed program was:" >&5 |
4768 fi | 4992 sed 's/^/| /' conftest.$ac_ext >&5 |
4993 | |
4994 has_option=no | |
4995 fi | |
4996 | |
4769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4770 if test $has_option = yes; then | 4998 if test $has_option = yes; then |
4771 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" | 4999 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" |
4772 fi | 5000 fi |
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 5001 { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
4774 $as_echo "$has_option" >&6; } | 5002 $as_echo "$has_option" >&6; } |
4775 CFLAGS="$SAVE_CFLAGS" | 5003 CFLAGS="$SAVE_CFLAGS" |
4776 unset has_option | 5004 unset has_option |
4777 unset SAVE_CFLAGS | 5005 unset SAVE_CFLAGS |
4778 | 5006 |
4779 #### Some other nice autoconf tests. | 5007 #### Some other nice autoconf tests. |
4780 | 5008 |
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | 5009 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
4782 $as_echo_n "checking whether ln -s works... " >&6; } | 5010 $as_echo_n "checking whether ln -s works... " >&6; } |
4783 LN_S=$as_ln_s | 5011 LN_S=$as_ln_s |
4784 if test "$LN_S" = "ln -s"; then | 5012 if test "$LN_S" = "ln -s"; then |
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5013 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
4786 $as_echo "yes" >&6; } | 5014 $as_echo "yes" >&6; } |
4787 else | 5015 else |
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | 5016 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
4789 $as_echo "no, using $LN_S" >&6; } | 5017 $as_echo "no, using $LN_S" >&6; } |
4790 fi | 5018 fi |
4791 | 5019 |
4792 ac_ext=c | 5020 ac_ext=c |
4793 ac_cpp='$CPP $CPPFLAGS' | 5021 ac_cpp='$CPP $CPPFLAGS' |
4794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4796 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 5024 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 5025 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4798 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 5026 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
4799 # On Suns, sometimes $CPP names a directory. | 5027 # On Suns, sometimes $CPP names a directory. |
4800 if test -n "$CPP" && test -d "$CPP"; then | 5028 if test -n "$CPP" && test -d "$CPP"; then |
4801 CPP= | 5029 CPP= |
4802 fi | 5030 fi |
4803 if test -z "$CPP"; then | 5031 if test -z "$CPP"; then |
4804 if test "${ac_cv_prog_CPP+set}" = set; then : | 5032 if test "${ac_cv_prog_CPP+set}" = set; then |
4805 $as_echo_n "(cached) " >&6 | 5033 $as_echo_n "(cached) " >&6 |
4806 else | 5034 else |
4807 # Double quotes because CPP needs to be expanded | 5035 # Double quotes because CPP needs to be expanded |
4808 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 5036 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4809 do | 5037 do |
4814 # with a fresh cross-compiler works. | 5042 # with a fresh cross-compiler works. |
4815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 5043 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4816 # <limits.h> exists even on freestanding compilers. | 5044 # <limits.h> exists even on freestanding compilers. |
4817 # On the NeXT, cc -E runs the code through the compiler's parser, | 5045 # On the NeXT, cc -E runs the code through the compiler's parser, |
4818 # not just through cpp. "Syntax error" is here to catch this case. | 5046 # not just through cpp. "Syntax error" is here to catch this case. |
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5047 cat >conftest.$ac_ext <<_ACEOF |
5048 /* confdefs.h. */ | |
5049 _ACEOF | |
5050 cat confdefs.h >>conftest.$ac_ext | |
5051 cat >>conftest.$ac_ext <<_ACEOF | |
4820 /* end confdefs.h. */ | 5052 /* end confdefs.h. */ |
4821 #ifdef __STDC__ | 5053 #ifdef __STDC__ |
4822 # include <limits.h> | 5054 # include <limits.h> |
4823 #else | 5055 #else |
4824 # include <assert.h> | 5056 # include <assert.h> |
4825 #endif | 5057 #endif |
4826 Syntax error | 5058 Syntax error |
4827 _ACEOF | 5059 _ACEOF |
4828 if ac_fn_c_try_cpp "$LINENO"; then : | 5060 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4829 | 5061 case "(($ac_try" in |
4830 else | 5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
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 | |
4831 # Broken: fails on valid input. | 5082 # Broken: fails on valid input. |
4832 continue | 5083 continue |
4833 fi | 5084 fi |
5085 | |
4834 rm -f conftest.err conftest.$ac_ext | 5086 rm -f conftest.err conftest.$ac_ext |
4835 | 5087 |
4836 # OK, works on sane cases. Now check whether nonexistent headers | 5088 # OK, works on sane cases. Now check whether nonexistent headers |
4837 # can be detected and how. | 5089 # can be detected and how. |
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5090 cat >conftest.$ac_ext <<_ACEOF |
5091 /* confdefs.h. */ | |
5092 _ACEOF | |
5093 cat confdefs.h >>conftest.$ac_ext | |
5094 cat >>conftest.$ac_ext <<_ACEOF | |
4839 /* end confdefs.h. */ | 5095 /* end confdefs.h. */ |
4840 #include <ac_nonexistent.h> | 5096 #include <ac_nonexistent.h> |
4841 _ACEOF | 5097 _ACEOF |
4842 if ac_fn_c_try_cpp "$LINENO"; then : | 5098 if { (ac_try="$ac_cpp conftest.$ac_ext" |
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 | |
4843 # Broken: success on invalid input. | 5115 # Broken: success on invalid input. |
4844 continue | 5116 continue |
4845 else | 5117 else |
5118 $as_echo "$as_me: failed program was:" >&5 | |
5119 sed 's/^/| /' conftest.$ac_ext >&5 | |
5120 | |
4846 # Passes both tests. | 5121 # Passes both tests. |
4847 ac_preproc_ok=: | 5122 ac_preproc_ok=: |
4848 break | 5123 break |
4849 fi | 5124 fi |
5125 | |
4850 rm -f conftest.err conftest.$ac_ext | 5126 rm -f conftest.err conftest.$ac_ext |
4851 | 5127 |
4852 done | 5128 done |
4853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5129 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4854 rm -f conftest.err conftest.$ac_ext | 5130 rm -f conftest.err conftest.$ac_ext |
4855 if $ac_preproc_ok; then : | 5131 if $ac_preproc_ok; then |
4856 break | 5132 break |
4857 fi | 5133 fi |
4858 | 5134 |
4859 done | 5135 done |
4860 ac_cv_prog_CPP=$CPP | 5136 ac_cv_prog_CPP=$CPP |
4862 fi | 5138 fi |
4863 CPP=$ac_cv_prog_CPP | 5139 CPP=$ac_cv_prog_CPP |
4864 else | 5140 else |
4865 ac_cv_prog_CPP=$CPP | 5141 ac_cv_prog_CPP=$CPP |
4866 fi | 5142 fi |
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 5143 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
4868 $as_echo "$CPP" >&6; } | 5144 $as_echo "$CPP" >&6; } |
4869 ac_preproc_ok=false | 5145 ac_preproc_ok=false |
4870 for ac_c_preproc_warn_flag in '' yes | 5146 for ac_c_preproc_warn_flag in '' yes |
4871 do | 5147 do |
4872 # Use a header file that comes with gcc, so configuring glibc | 5148 # Use a header file that comes with gcc, so configuring glibc |
4873 # with a fresh cross-compiler works. | 5149 # with a fresh cross-compiler works. |
4874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 5150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4875 # <limits.h> exists even on freestanding compilers. | 5151 # <limits.h> exists even on freestanding compilers. |
4876 # On the NeXT, cc -E runs the code through the compiler's parser, | 5152 # On the NeXT, cc -E runs the code through the compiler's parser, |
4877 # not just through cpp. "Syntax error" is here to catch this case. | 5153 # not just through cpp. "Syntax error" is here to catch this case. |
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5154 cat >conftest.$ac_ext <<_ACEOF |
5155 /* confdefs.h. */ | |
5156 _ACEOF | |
5157 cat confdefs.h >>conftest.$ac_ext | |
5158 cat >>conftest.$ac_ext <<_ACEOF | |
4879 /* end confdefs.h. */ | 5159 /* end confdefs.h. */ |
4880 #ifdef __STDC__ | 5160 #ifdef __STDC__ |
4881 # include <limits.h> | 5161 # include <limits.h> |
4882 #else | 5162 #else |
4883 # include <assert.h> | 5163 # include <assert.h> |
4884 #endif | 5164 #endif |
4885 Syntax error | 5165 Syntax error |
4886 _ACEOF | 5166 _ACEOF |
4887 if ac_fn_c_try_cpp "$LINENO"; then : | 5167 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4888 | 5168 case "(($ac_try" in |
4889 else | 5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
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 | |
4890 # Broken: fails on valid input. | 5189 # Broken: fails on valid input. |
4891 continue | 5190 continue |
4892 fi | 5191 fi |
5192 | |
4893 rm -f conftest.err conftest.$ac_ext | 5193 rm -f conftest.err conftest.$ac_ext |
4894 | 5194 |
4895 # OK, works on sane cases. Now check whether nonexistent headers | 5195 # OK, works on sane cases. Now check whether nonexistent headers |
4896 # can be detected and how. | 5196 # can be detected and how. |
4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5197 cat >conftest.$ac_ext <<_ACEOF |
5198 /* confdefs.h. */ | |
5199 _ACEOF | |
5200 cat confdefs.h >>conftest.$ac_ext | |
5201 cat >>conftest.$ac_ext <<_ACEOF | |
4898 /* end confdefs.h. */ | 5202 /* end confdefs.h. */ |
4899 #include <ac_nonexistent.h> | 5203 #include <ac_nonexistent.h> |
4900 _ACEOF | 5204 _ACEOF |
4901 if ac_fn_c_try_cpp "$LINENO"; then : | 5205 if { (ac_try="$ac_cpp conftest.$ac_ext" |
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 | |
4902 # Broken: success on invalid input. | 5222 # Broken: success on invalid input. |
4903 continue | 5223 continue |
4904 else | 5224 else |
5225 $as_echo "$as_me: failed program was:" >&5 | |
5226 sed 's/^/| /' conftest.$ac_ext >&5 | |
5227 | |
4905 # Passes both tests. | 5228 # Passes both tests. |
4906 ac_preproc_ok=: | 5229 ac_preproc_ok=: |
4907 break | 5230 break |
4908 fi | 5231 fi |
5232 | |
4909 rm -f conftest.err conftest.$ac_ext | 5233 rm -f conftest.err conftest.$ac_ext |
4910 | 5234 |
4911 done | 5235 done |
4912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4913 rm -f conftest.err conftest.$ac_ext | 5237 rm -f conftest.err conftest.$ac_ext |
4914 if $ac_preproc_ok; then : | 5238 if $ac_preproc_ok; then |
4915 | 5239 : |
4916 else | 5240 else |
4917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5241 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5242 See \`config.log' for more details." >&5 |
4919 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 5243 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4920 See \`config.log' for more details." "$LINENO" 5; } | 5244 See \`config.log' for more details." >&2;} |
5245 { (exit 1); exit 1; }; } | |
4921 fi | 5246 fi |
4922 | 5247 |
4923 ac_ext=c | 5248 ac_ext=c |
4924 ac_cpp='$CPP $CPPFLAGS' | 5249 ac_cpp='$CPP $CPPFLAGS' |
4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 5263 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
4939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 5264 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
4940 # OS/2's system install, which has a completely different semantic | 5265 # OS/2's system install, which has a completely different semantic |
4941 # ./install, which can be erroneously created by make from ./install.sh. | 5266 # ./install, which can be erroneously created by make from ./install.sh. |
4942 # Reject install programs that cannot install multiple files. | 5267 # Reject install programs that cannot install multiple files. |
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 5268 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
4944 $as_echo_n "checking for a BSD-compatible install... " >&6; } | 5269 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
4945 if test -z "$INSTALL"; then | 5270 if test -z "$INSTALL"; then |
4946 if test "${ac_cv_path_install+set}" = set; then : | 5271 if test "${ac_cv_path_install+set}" = set; then |
4947 $as_echo_n "(cached) " >&6 | 5272 $as_echo_n "(cached) " >&6 |
4948 else | 5273 else |
4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4950 for as_dir in $PATH | 5275 for as_dir in $PATH |
4951 do | 5276 do |
4952 IFS=$as_save_IFS | 5277 IFS=$as_save_IFS |
4953 test -z "$as_dir" && as_dir=. | 5278 test -z "$as_dir" && as_dir=. |
4954 # Account for people who put trailing slashes in PATH elements. | 5279 # Account for people who put trailing slashes in PATH elements. |
4955 case $as_dir/ in #(( | 5280 case $as_dir/ in |
4956 ./ | .// | /[cC]/* | \ | 5281 ./ | .// | /cC/* | \ |
4957 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 5282 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
4958 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 5283 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
4959 /usr/ucb/* ) ;; | 5284 /usr/ucb/* ) ;; |
4960 *) | 5285 *) |
4961 # OSF1 and SCO ODT 3.0 have their own names for install. | 5286 # OSF1 and SCO ODT 3.0 have their own names for install. |
4962 # Don't use installbsd from OSF since it installs stuff as root | 5287 # Don't use installbsd from OSF since it installs stuff as root |
4963 # by default. | 5288 # by default. |
4990 done | 5315 done |
4991 done | 5316 done |
4992 ;; | 5317 ;; |
4993 esac | 5318 esac |
4994 | 5319 |
4995 done | 5320 done |
4996 IFS=$as_save_IFS | 5321 IFS=$as_save_IFS |
4997 | 5322 |
4998 rm -rf conftest.one conftest.two conftest.dir | 5323 rm -rf conftest.one conftest.two conftest.dir |
4999 | 5324 |
5000 fi | 5325 fi |
5006 # break other packages using the cache if that directory is | 5331 # break other packages using the cache if that directory is |
5007 # removed, or if the value is a relative name. | 5332 # removed, or if the value is a relative name. |
5008 INSTALL=$ac_install_sh | 5333 INSTALL=$ac_install_sh |
5009 fi | 5334 fi |
5010 fi | 5335 fi |
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 5336 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
5012 $as_echo "$INSTALL" >&6; } | 5337 $as_echo "$INSTALL" >&6; } |
5013 | 5338 |
5014 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 5339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
5015 # It thinks the first close brace ends the variable substitution. | 5340 # It thinks the first close brace ends the variable substitution. |
5016 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 5341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
5021 | 5346 |
5022 if test "x$RANLIB" = x; then | 5347 if test "x$RANLIB" = x; then |
5023 if test -n "$ac_tool_prefix"; then | 5348 if test -n "$ac_tool_prefix"; then |
5024 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 5349 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5025 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 5350 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5027 $as_echo_n "checking for $ac_word... " >&6; } | 5352 $as_echo_n "checking for $ac_word... " >&6; } |
5028 if test "${ac_cv_prog_RANLIB+set}" = set; then : | 5353 if test "${ac_cv_prog_RANLIB+set}" = set; then |
5029 $as_echo_n "(cached) " >&6 | 5354 $as_echo_n "(cached) " >&6 |
5030 else | 5355 else |
5031 if test -n "$RANLIB"; then | 5356 if test -n "$RANLIB"; then |
5032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 5357 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5033 else | 5358 else |
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5035 for as_dir in $PATH | 5360 for as_dir in $PATH |
5036 do | 5361 do |
5037 IFS=$as_save_IFS | 5362 IFS=$as_save_IFS |
5038 test -z "$as_dir" && as_dir=. | 5363 test -z "$as_dir" && as_dir=. |
5039 for ac_exec_ext in '' $ac_executable_extensions; do | 5364 for ac_exec_ext in '' $ac_executable_extensions; do |
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5041 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 5366 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5043 break 2 | 5368 break 2 |
5044 fi | 5369 fi |
5045 done | 5370 done |
5046 done | 5371 done |
5047 IFS=$as_save_IFS | 5372 IFS=$as_save_IFS |
5048 | 5373 |
5049 fi | 5374 fi |
5050 fi | 5375 fi |
5051 RANLIB=$ac_cv_prog_RANLIB | 5376 RANLIB=$ac_cv_prog_RANLIB |
5052 if test -n "$RANLIB"; then | 5377 if test -n "$RANLIB"; then |
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 5378 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5054 $as_echo "$RANLIB" >&6; } | 5379 $as_echo "$RANLIB" >&6; } |
5055 else | 5380 else |
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5381 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5057 $as_echo "no" >&6; } | 5382 $as_echo "no" >&6; } |
5058 fi | 5383 fi |
5059 | 5384 |
5060 | 5385 |
5061 fi | 5386 fi |
5062 if test -z "$ac_cv_prog_RANLIB"; then | 5387 if test -z "$ac_cv_prog_RANLIB"; then |
5063 ac_ct_RANLIB=$RANLIB | 5388 ac_ct_RANLIB=$RANLIB |
5064 # Extract the first word of "ranlib", so it can be a program name with args. | 5389 # Extract the first word of "ranlib", so it can be a program name with args. |
5065 set dummy ranlib; ac_word=$2 | 5390 set dummy ranlib; ac_word=$2 |
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5391 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5067 $as_echo_n "checking for $ac_word... " >&6; } | 5392 $as_echo_n "checking for $ac_word... " >&6; } |
5068 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | 5393 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5069 $as_echo_n "(cached) " >&6 | 5394 $as_echo_n "(cached) " >&6 |
5070 else | 5395 else |
5071 if test -n "$ac_ct_RANLIB"; then | 5396 if test -n "$ac_ct_RANLIB"; then |
5072 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 5397 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5073 else | 5398 else |
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5075 for as_dir in $PATH | 5400 for as_dir in $PATH |
5076 do | 5401 do |
5077 IFS=$as_save_IFS | 5402 IFS=$as_save_IFS |
5078 test -z "$as_dir" && as_dir=. | 5403 test -z "$as_dir" && as_dir=. |
5079 for ac_exec_ext in '' $ac_executable_extensions; do | 5404 for ac_exec_ext in '' $ac_executable_extensions; do |
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5081 ac_cv_prog_ac_ct_RANLIB="ranlib" | 5406 ac_cv_prog_ac_ct_RANLIB="ranlib" |
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5407 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5083 break 2 | 5408 break 2 |
5084 fi | 5409 fi |
5085 done | 5410 done |
5086 done | 5411 done |
5087 IFS=$as_save_IFS | 5412 IFS=$as_save_IFS |
5088 | 5413 |
5089 fi | 5414 fi |
5090 fi | 5415 fi |
5091 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 5416 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5092 if test -n "$ac_ct_RANLIB"; then | 5417 if test -n "$ac_ct_RANLIB"; then |
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 5418 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5094 $as_echo "$ac_ct_RANLIB" >&6; } | 5419 $as_echo "$ac_ct_RANLIB" >&6; } |
5095 else | 5420 else |
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5421 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5097 $as_echo "no" >&6; } | 5422 $as_echo "no" >&6; } |
5098 fi | 5423 fi |
5099 | 5424 |
5100 if test "x$ac_ct_RANLIB" = x; then | 5425 if test "x$ac_ct_RANLIB" = x; then |
5101 RANLIB=":" | 5426 RANLIB=":" |
5102 else | 5427 else |
5103 case $cross_compiling:$ac_tool_warned in | 5428 case $cross_compiling:$ac_tool_warned in |
5104 yes:) | 5429 yes:) |
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 5430 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 5431 whose name does not start with the host triplet. If you think this |
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;} | |
5107 ac_tool_warned=yes ;; | 5436 ac_tool_warned=yes ;; |
5108 esac | 5437 esac |
5109 RANLIB=$ac_ct_RANLIB | 5438 RANLIB=$ac_ct_RANLIB |
5110 fi | 5439 fi |
5111 else | 5440 else |
5113 fi | 5442 fi |
5114 | 5443 |
5115 fi | 5444 fi |
5116 # Extract the first word of "install-info", so it can be a program name with args. | 5445 # Extract the first word of "install-info", so it can be a program name with args. |
5117 set dummy install-info; ac_word=$2 | 5446 set dummy install-info; ac_word=$2 |
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5447 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5119 $as_echo_n "checking for $ac_word... " >&6; } | 5448 $as_echo_n "checking for $ac_word... " >&6; } |
5120 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5449 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
5121 $as_echo_n "(cached) " >&6 | 5450 $as_echo_n "(cached) " >&6 |
5122 else | 5451 else |
5123 case $INSTALL_INFO in | 5452 case $INSTALL_INFO in |
5124 [\\/]* | ?:[\\/]*) | 5453 [\\/]* | ?:[\\/]*) |
5125 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5454 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5129 for as_dir in $PATH | 5458 for as_dir in $PATH |
5130 do | 5459 do |
5131 IFS=$as_save_IFS | 5460 IFS=$as_save_IFS |
5132 test -z "$as_dir" && as_dir=. | 5461 test -z "$as_dir" && as_dir=. |
5133 for ac_exec_ext in '' $ac_executable_extensions; do | 5462 for ac_exec_ext in '' $ac_executable_extensions; do |
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5135 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5464 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5137 break 2 | 5466 break 2 |
5138 fi | 5467 fi |
5139 done | 5468 done |
5140 done | 5469 done |
5141 IFS=$as_save_IFS | 5470 IFS=$as_save_IFS |
5142 | 5471 |
5143 ;; | 5472 ;; |
5144 esac | 5473 esac |
5145 fi | 5474 fi |
5146 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5475 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
5147 if test -n "$INSTALL_INFO"; then | 5476 if test -n "$INSTALL_INFO"; then |
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5477 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
5149 $as_echo "$INSTALL_INFO" >&6; } | 5478 $as_echo "$INSTALL_INFO" >&6; } |
5150 else | 5479 else |
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5480 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5152 $as_echo "no" >&6; } | 5481 $as_echo "no" >&6; } |
5153 fi | 5482 fi |
5154 | 5483 |
5155 | 5484 |
5156 # Extract the first word of "install-info", so it can be a program name with args. | 5485 # Extract the first word of "install-info", so it can be a program name with args. |
5157 set dummy install-info; ac_word=$2 | 5486 set dummy install-info; ac_word=$2 |
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5487 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5159 $as_echo_n "checking for $ac_word... " >&6; } | 5488 $as_echo_n "checking for $ac_word... " >&6; } |
5160 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5489 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
5161 $as_echo_n "(cached) " >&6 | 5490 $as_echo_n "(cached) " >&6 |
5162 else | 5491 else |
5163 case $INSTALL_INFO in | 5492 case $INSTALL_INFO in |
5164 [\\/]* | ?:[\\/]*) | 5493 [\\/]* | ?:[\\/]*) |
5165 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5494 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5169 for as_dir in /usr/sbin | 5498 for as_dir in /usr/sbin |
5170 do | 5499 do |
5171 IFS=$as_save_IFS | 5500 IFS=$as_save_IFS |
5172 test -z "$as_dir" && as_dir=. | 5501 test -z "$as_dir" && as_dir=. |
5173 for ac_exec_ext in '' $ac_executable_extensions; do | 5502 for ac_exec_ext in '' $ac_executable_extensions; do |
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5175 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5504 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5505 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5177 break 2 | 5506 break 2 |
5178 fi | 5507 fi |
5179 done | 5508 done |
5180 done | 5509 done |
5181 IFS=$as_save_IFS | 5510 IFS=$as_save_IFS |
5182 | 5511 |
5183 ;; | 5512 ;; |
5184 esac | 5513 esac |
5185 fi | 5514 fi |
5186 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5515 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
5187 if test -n "$INSTALL_INFO"; then | 5516 if test -n "$INSTALL_INFO"; then |
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5517 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
5189 $as_echo "$INSTALL_INFO" >&6; } | 5518 $as_echo "$INSTALL_INFO" >&6; } |
5190 else | 5519 else |
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5520 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5192 $as_echo "no" >&6; } | 5521 $as_echo "no" >&6; } |
5193 fi | 5522 fi |
5194 | 5523 |
5195 | 5524 |
5196 # Extract the first word of "install-info", so it can be a program name with args. | 5525 # Extract the first word of "install-info", so it can be a program name with args. |
5197 set dummy install-info; ac_word=$2 | 5526 set dummy install-info; ac_word=$2 |
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5527 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5199 $as_echo_n "checking for $ac_word... " >&6; } | 5528 $as_echo_n "checking for $ac_word... " >&6; } |
5200 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5529 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
5201 $as_echo_n "(cached) " >&6 | 5530 $as_echo_n "(cached) " >&6 |
5202 else | 5531 else |
5203 case $INSTALL_INFO in | 5532 case $INSTALL_INFO in |
5204 [\\/]* | ?:[\\/]*) | 5533 [\\/]* | ?:[\\/]*) |
5205 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5534 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5209 for as_dir in /sbin | 5538 for as_dir in /sbin |
5210 do | 5539 do |
5211 IFS=$as_save_IFS | 5540 IFS=$as_save_IFS |
5212 test -z "$as_dir" && as_dir=. | 5541 test -z "$as_dir" && as_dir=. |
5213 for ac_exec_ext in '' $ac_executable_extensions; do | 5542 for ac_exec_ext in '' $ac_executable_extensions; do |
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5215 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5544 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5545 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5217 break 2 | 5546 break 2 |
5218 fi | 5547 fi |
5219 done | 5548 done |
5220 done | 5549 done |
5221 IFS=$as_save_IFS | 5550 IFS=$as_save_IFS |
5222 | 5551 |
5223 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 5552 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
5224 ;; | 5553 ;; |
5225 esac | 5554 esac |
5226 fi | 5555 fi |
5227 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5556 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
5228 if test -n "$INSTALL_INFO"; then | 5557 if test -n "$INSTALL_INFO"; then |
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5558 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
5230 $as_echo "$INSTALL_INFO" >&6; } | 5559 $as_echo "$INSTALL_INFO" >&6; } |
5231 else | 5560 else |
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5561 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5233 $as_echo "no" >&6; } | 5562 $as_echo "no" >&6; } |
5234 fi | 5563 fi |
5235 | 5564 |
5236 | 5565 |
5237 # Extract the first word of "gzip", so it can be a program name with args. | 5566 # Extract the first word of "gzip", so it can be a program name with args. |
5238 set dummy gzip; ac_word=$2 | 5567 set dummy gzip; ac_word=$2 |
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5568 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5240 $as_echo_n "checking for $ac_word... " >&6; } | 5569 $as_echo_n "checking for $ac_word... " >&6; } |
5241 if test "${ac_cv_path_GZIP_PROG+set}" = set; then : | 5570 if test "${ac_cv_path_GZIP_PROG+set}" = set; then |
5242 $as_echo_n "(cached) " >&6 | 5571 $as_echo_n "(cached) " >&6 |
5243 else | 5572 else |
5244 case $GZIP_PROG in | 5573 case $GZIP_PROG in |
5245 [\\/]* | ?:[\\/]*) | 5574 [\\/]* | ?:[\\/]*) |
5246 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. | 5575 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. |
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5250 for as_dir in $PATH | 5579 for as_dir in $PATH |
5251 do | 5580 do |
5252 IFS=$as_save_IFS | 5581 IFS=$as_save_IFS |
5253 test -z "$as_dir" && as_dir=. | 5582 test -z "$as_dir" && as_dir=. |
5254 for ac_exec_ext in '' $ac_executable_extensions; do | 5583 for ac_exec_ext in '' $ac_executable_extensions; do |
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5256 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 5585 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5586 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5258 break 2 | 5587 break 2 |
5259 fi | 5588 fi |
5260 done | 5589 done |
5261 done | 5590 done |
5262 IFS=$as_save_IFS | 5591 IFS=$as_save_IFS |
5263 | 5592 |
5264 ;; | 5593 ;; |
5265 esac | 5594 esac |
5266 fi | 5595 fi |
5267 GZIP_PROG=$ac_cv_path_GZIP_PROG | 5596 GZIP_PROG=$ac_cv_path_GZIP_PROG |
5268 if test -n "$GZIP_PROG"; then | 5597 if test -n "$GZIP_PROG"; then |
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5 | 5598 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 |
5270 $as_echo "$GZIP_PROG" >&6; } | 5599 $as_echo "$GZIP_PROG" >&6; } |
5271 else | 5600 else |
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5601 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5273 $as_echo "no" >&6; } | 5602 $as_echo "no" >&6; } |
5274 fi | 5603 fi |
5275 | 5604 |
5276 | 5605 |
5277 | 5606 |
5278 | 5607 |
5279 ## Need makeinfo >= 4.6 (?) to build the manuals. | 5608 ## Need makeinfo >= 4.6 (?) to build the manuals. |
5280 # Extract the first word of "makeinfo", so it can be a program name with args. | 5609 # Extract the first word of "makeinfo", so it can be a program name with args. |
5281 set dummy makeinfo; ac_word=$2 | 5610 set dummy makeinfo; ac_word=$2 |
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5611 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5283 $as_echo_n "checking for $ac_word... " >&6; } | 5612 $as_echo_n "checking for $ac_word... " >&6; } |
5284 if test "${ac_cv_path_MAKEINFO+set}" = set; then : | 5613 if test "${ac_cv_path_MAKEINFO+set}" = set; then |
5285 $as_echo_n "(cached) " >&6 | 5614 $as_echo_n "(cached) " >&6 |
5286 else | 5615 else |
5287 case $MAKEINFO in | 5616 case $MAKEINFO in |
5288 [\\/]* | ?:[\\/]*) | 5617 [\\/]* | ?:[\\/]*) |
5289 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. | 5618 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. |
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5293 for as_dir in $PATH | 5622 for as_dir in $PATH |
5294 do | 5623 do |
5295 IFS=$as_save_IFS | 5624 IFS=$as_save_IFS |
5296 test -z "$as_dir" && as_dir=. | 5625 test -z "$as_dir" && as_dir=. |
5297 for ac_exec_ext in '' $ac_executable_extensions; do | 5626 for ac_exec_ext in '' $ac_executable_extensions; do |
5298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5299 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" | 5628 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" |
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5629 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5301 break 2 | 5630 break 2 |
5302 fi | 5631 fi |
5303 done | 5632 done |
5304 done | 5633 done |
5305 IFS=$as_save_IFS | 5634 IFS=$as_save_IFS |
5306 | 5635 |
5307 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" | 5636 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" |
5308 ;; | 5637 ;; |
5309 esac | 5638 esac |
5310 fi | 5639 fi |
5311 MAKEINFO=$ac_cv_path_MAKEINFO | 5640 MAKEINFO=$ac_cv_path_MAKEINFO |
5312 if test -n "$MAKEINFO"; then | 5641 if test -n "$MAKEINFO"; then |
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 | 5642 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 |
5314 $as_echo "$MAKEINFO" >&6; } | 5643 $as_echo "$MAKEINFO" >&6; } |
5315 else | 5644 else |
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5645 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5317 $as_echo "no" >&6; } | 5646 $as_echo "no" >&6; } |
5318 fi | 5647 fi |
5319 | 5648 |
5320 | 5649 |
5321 if test "$MAKEINFO" != "no" && \ | 5650 if test "$MAKEINFO" != "no" && \ |
5334 ## with pre-built manuals, from a Bazaar checkout. | 5663 ## with pre-built manuals, from a Bazaar checkout. |
5335 if test "$MAKEINFO" = "no"; then | 5664 if test "$MAKEINFO" = "no"; then |
5336 if test "x${with_makeinfo}" = "xno"; then | 5665 if test "x${with_makeinfo}" = "xno"; then |
5337 MAKEINFO=off | 5666 MAKEINFO=off |
5338 elif test ! -e $srcdir/info/emacs; then | 5667 elif test ! -e $srcdir/info/emacs; then |
5339 as_fn_error "You do not seem to have makeinfo >= 4.6, and your | 5668 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your |
5340 source tree does not seem to have pre-built manuals in the \`info' directory. | 5669 source tree does not seem to have pre-built manuals in the \`info' directory. |
5341 Either install a suitable version of makeinfo, or re-run configure | 5670 Either install a suitable version of makeinfo, or re-run configure |
5342 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5671 with the \`--without-makeinfo' option to build without the manuals. " >&5 |
5672 $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your | |
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; }; } | |
5343 fi | 5677 fi |
5344 fi | 5678 fi |
5345 | 5679 |
5346 | 5680 |
5347 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x | 5681 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x |
5360 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" | 5694 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" |
5361 else | 5695 else |
5362 LDFLAGS="$LDFLAGS -znocombreloc" | 5696 LDFLAGS="$LDFLAGS -znocombreloc" |
5363 fi | 5697 fi |
5364 | 5698 |
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 | 5699 { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 |
5366 $as_echo_n "checking for -znocombreloc... " >&6; } | 5700 $as_echo_n "checking for -znocombreloc... " >&6; } |
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5701 cat >conftest.$ac_ext <<_ACEOF |
5368 /* end confdefs.h. */ | |
5369 main(){return 0;} | 5702 main(){return 0;} |
5370 _ACEOF | 5703 _ACEOF |
5371 if ac_fn_c_try_link "$LINENO"; then : | 5704 rm -f conftest.$ac_objext conftest$ac_exeext |
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5705 if { (ac_try="$ac_link" |
5706 case "(($ac_try" in | |
5707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5708 *) ac_try_echo=$ac_try;; | |
5709 esac | |
5710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5711 $as_echo "$ac_try_echo") >&5 | |
5712 (eval "$ac_link") 2>conftest.er1 | |
5713 ac_status=$? | |
5714 grep -v '^ *+' conftest.er1 >conftest.err | |
5715 rm -f conftest.er1 | |
5716 cat conftest.err >&5 | |
5717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5718 (exit $ac_status); } && { | |
5719 test -z "$ac_c_werror_flag" || | |
5720 test ! -s conftest.err | |
5721 } && test -s conftest$ac_exeext && { | |
5722 test "$cross_compiling" = yes || | |
5723 $as_test_x conftest$ac_exeext | |
5724 }; then | |
5725 { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
5373 $as_echo "yes" >&6; } | 5726 $as_echo "yes" >&6; } |
5374 else | 5727 else |
5375 LDFLAGS=$late_LDFLAGS | 5728 $as_echo "$as_me: failed program was:" >&5 |
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5729 sed 's/^/| /' conftest.$ac_ext >&5 |
5730 | |
5731 LDFLAGS=$late_LDFLAGS | |
5732 { $as_echo "$as_me:$LINENO: result: no" >&5 | |
5377 $as_echo "no" >&6; } | 5733 $as_echo "no" >&6; } |
5378 fi | 5734 fi |
5379 rm -f core conftest.err conftest.$ac_objext \ | 5735 |
5380 conftest$ac_exeext conftest.$ac_ext | 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 | |
5381 | 5739 |
5382 #### Extract some information from the operating system and machine files. | 5740 #### Extract some information from the operating system and machine files. |
5383 | 5741 |
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out | 5742 { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |
5385 - which libraries the lib-src programs will want, and | 5743 - which libraries the lib-src programs will want, and |
5386 - whether the GNU malloc routines are usable..." >&5 | 5744 - whether the GNU malloc routines are usable..." >&5 |
5387 $as_echo "$as_me: checking the machine- and system-dependent files to find out | 5745 $as_echo "$as_me: checking the machine- and system-dependent files to find out |
5388 - which libraries the lib-src programs will want, and | 5746 - which libraries the lib-src programs will want, and |
5389 - whether the GNU malloc routines are usable..." >&6;} | 5747 - whether the GNU malloc routines are usable..." >&6;} |
5520 fi | 5878 fi |
5521 | 5879 |
5522 | 5880 |
5523 | 5881 |
5524 # Check whether --enable-largefile was given. | 5882 # Check whether --enable-largefile was given. |
5525 if test "${enable_largefile+set}" = set; then : | 5883 if test "${enable_largefile+set}" = set; then |
5526 enableval=$enable_largefile; | 5884 enableval=$enable_largefile; |
5527 fi | 5885 fi |
5528 | 5886 |
5529 if test "$enable_largefile" != no; then | 5887 if test "$enable_largefile" != no; then |
5530 | 5888 |
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 | 5889 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
5532 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | 5890 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
5533 if test "${ac_cv_sys_largefile_CC+set}" = set; then : | 5891 if test "${ac_cv_sys_largefile_CC+set}" = set; then |
5534 $as_echo_n "(cached) " >&6 | 5892 $as_echo_n "(cached) " >&6 |
5535 else | 5893 else |
5536 ac_cv_sys_largefile_CC=no | 5894 ac_cv_sys_largefile_CC=no |
5537 if test "$GCC" != yes; then | 5895 if test "$GCC" != yes; then |
5538 ac_save_CC=$CC | 5896 ac_save_CC=$CC |
5539 while :; do | 5897 while :; do |
5540 # IRIX 6.2 and later do not support large files by default, | 5898 # IRIX 6.2 and later do not support large files by default, |
5541 # so use the C compiler's -n32 option if that helps. | 5899 # so use the C compiler's -n32 option if that helps. |
5542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5900 cat >conftest.$ac_ext <<_ACEOF |
5901 /* confdefs.h. */ | |
5902 _ACEOF | |
5903 cat confdefs.h >>conftest.$ac_ext | |
5904 cat >>conftest.$ac_ext <<_ACEOF | |
5543 /* end confdefs.h. */ | 5905 /* end confdefs.h. */ |
5544 #include <sys/types.h> | 5906 #include <sys/types.h> |
5545 /* Check that off_t can represent 2**63 - 1 correctly. | 5907 /* Check that off_t can represent 2**63 - 1 correctly. |
5546 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 5908 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5547 since some C++ compilers masquerading as C compilers | 5909 since some C++ compilers masquerading as C compilers |
5556 | 5918 |
5557 ; | 5919 ; |
5558 return 0; | 5920 return 0; |
5559 } | 5921 } |
5560 _ACEOF | 5922 _ACEOF |
5561 if ac_fn_c_try_compile "$LINENO"; then : | 5923 rm -f conftest.$ac_objext |
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 | |
5562 break | 5941 break |
5563 fi | 5942 else |
5943 $as_echo "$as_me: failed program was:" >&5 | |
5944 sed 's/^/| /' conftest.$ac_ext >&5 | |
5945 | |
5946 | |
5947 fi | |
5948 | |
5564 rm -f core conftest.err conftest.$ac_objext | 5949 rm -f core conftest.err conftest.$ac_objext |
5565 CC="$CC -n32" | 5950 CC="$CC -n32" |
5566 if ac_fn_c_try_compile "$LINENO"; then : | 5951 rm -f conftest.$ac_objext |
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 | |
5567 ac_cv_sys_largefile_CC=' -n32'; break | 5969 ac_cv_sys_largefile_CC=' -n32'; break |
5568 fi | 5970 else |
5971 $as_echo "$as_me: failed program was:" >&5 | |
5972 sed 's/^/| /' conftest.$ac_ext >&5 | |
5973 | |
5974 | |
5975 fi | |
5976 | |
5569 rm -f core conftest.err conftest.$ac_objext | 5977 rm -f core conftest.err conftest.$ac_objext |
5570 break | 5978 break |
5571 done | 5979 done |
5572 CC=$ac_save_CC | 5980 CC=$ac_save_CC |
5573 rm -f conftest.$ac_ext | 5981 rm -f conftest.$ac_ext |
5574 fi | 5982 fi |
5575 fi | 5983 fi |
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 | 5984 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
5577 $as_echo "$ac_cv_sys_largefile_CC" >&6; } | 5985 $as_echo "$ac_cv_sys_largefile_CC" >&6; } |
5578 if test "$ac_cv_sys_largefile_CC" != no; then | 5986 if test "$ac_cv_sys_largefile_CC" != no; then |
5579 CC=$CC$ac_cv_sys_largefile_CC | 5987 CC=$CC$ac_cv_sys_largefile_CC |
5580 fi | 5988 fi |
5581 | 5989 |
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 5990 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
5583 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | 5991 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
5584 if test "${ac_cv_sys_file_offset_bits+set}" = set; then : | 5992 if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
5585 $as_echo_n "(cached) " >&6 | 5993 $as_echo_n "(cached) " >&6 |
5586 else | 5994 else |
5587 while :; do | 5995 while :; do |
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5996 cat >conftest.$ac_ext <<_ACEOF |
5997 /* confdefs.h. */ | |
5998 _ACEOF | |
5999 cat confdefs.h >>conftest.$ac_ext | |
6000 cat >>conftest.$ac_ext <<_ACEOF | |
5589 /* end confdefs.h. */ | 6001 /* end confdefs.h. */ |
5590 #include <sys/types.h> | 6002 #include <sys/types.h> |
5591 /* Check that off_t can represent 2**63 - 1 correctly. | 6003 /* Check that off_t can represent 2**63 - 1 correctly. |
5592 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 6004 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5593 since some C++ compilers masquerading as C compilers | 6005 since some C++ compilers masquerading as C compilers |
5602 | 6014 |
5603 ; | 6015 ; |
5604 return 0; | 6016 return 0; |
5605 } | 6017 } |
5606 _ACEOF | 6018 _ACEOF |
5607 if ac_fn_c_try_compile "$LINENO"; then : | 6019 rm -f conftest.$ac_objext |
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 | |
5608 ac_cv_sys_file_offset_bits=no; break | 6037 ac_cv_sys_file_offset_bits=no; break |
5609 fi | 6038 else |
6039 $as_echo "$as_me: failed program was:" >&5 | |
6040 sed 's/^/| /' conftest.$ac_ext >&5 | |
6041 | |
6042 | |
6043 fi | |
6044 | |
5610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6046 cat >conftest.$ac_ext <<_ACEOF |
6047 /* confdefs.h. */ | |
6048 _ACEOF | |
6049 cat confdefs.h >>conftest.$ac_ext | |
6050 cat >>conftest.$ac_ext <<_ACEOF | |
5612 /* end confdefs.h. */ | 6051 /* end confdefs.h. */ |
5613 #define _FILE_OFFSET_BITS 64 | 6052 #define _FILE_OFFSET_BITS 64 |
5614 #include <sys/types.h> | 6053 #include <sys/types.h> |
5615 /* Check that off_t can represent 2**63 - 1 correctly. | 6054 /* Check that off_t can represent 2**63 - 1 correctly. |
5616 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 6055 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5626 | 6065 |
5627 ; | 6066 ; |
5628 return 0; | 6067 return 0; |
5629 } | 6068 } |
5630 _ACEOF | 6069 _ACEOF |
5631 if ac_fn_c_try_compile "$LINENO"; then : | 6070 rm -f conftest.$ac_objext |
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 | |
5632 ac_cv_sys_file_offset_bits=64; break | 6088 ac_cv_sys_file_offset_bits=64; break |
5633 fi | 6089 else |
6090 $as_echo "$as_me: failed program was:" >&5 | |
6091 sed 's/^/| /' conftest.$ac_ext >&5 | |
6092 | |
6093 | |
6094 fi | |
6095 | |
5634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5635 ac_cv_sys_file_offset_bits=unknown | 6097 ac_cv_sys_file_offset_bits=unknown |
5636 break | 6098 break |
5637 done | 6099 done |
5638 fi | 6100 fi |
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 | 6101 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
5640 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } | 6102 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
5641 case $ac_cv_sys_file_offset_bits in #( | 6103 case $ac_cv_sys_file_offset_bits in #( |
5642 no | unknown) ;; | 6104 no | unknown) ;; |
5643 *) | 6105 *) |
5644 cat >>confdefs.h <<_ACEOF | 6106 cat >>confdefs.h <<_ACEOF |
5646 _ACEOF | 6108 _ACEOF |
5647 ;; | 6109 ;; |
5648 esac | 6110 esac |
5649 rm -rf conftest* | 6111 rm -rf conftest* |
5650 if test $ac_cv_sys_file_offset_bits = unknown; then | 6112 if test $ac_cv_sys_file_offset_bits = unknown; then |
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 | 6113 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
5652 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | 6114 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
5653 if test "${ac_cv_sys_large_files+set}" = set; then : | 6115 if test "${ac_cv_sys_large_files+set}" = set; then |
5654 $as_echo_n "(cached) " >&6 | 6116 $as_echo_n "(cached) " >&6 |
5655 else | 6117 else |
5656 while :; do | 6118 while :; do |
5657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6119 cat >conftest.$ac_ext <<_ACEOF |
6120 /* confdefs.h. */ | |
6121 _ACEOF | |
6122 cat confdefs.h >>conftest.$ac_ext | |
6123 cat >>conftest.$ac_ext <<_ACEOF | |
5658 /* end confdefs.h. */ | 6124 /* end confdefs.h. */ |
5659 #include <sys/types.h> | 6125 #include <sys/types.h> |
5660 /* Check that off_t can represent 2**63 - 1 correctly. | 6126 /* Check that off_t can represent 2**63 - 1 correctly. |
5661 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 6127 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5662 since some C++ compilers masquerading as C compilers | 6128 since some C++ compilers masquerading as C compilers |
5671 | 6137 |
5672 ; | 6138 ; |
5673 return 0; | 6139 return 0; |
5674 } | 6140 } |
5675 _ACEOF | 6141 _ACEOF |
5676 if ac_fn_c_try_compile "$LINENO"; then : | 6142 rm -f conftest.$ac_objext |
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 | |
5677 ac_cv_sys_large_files=no; break | 6160 ac_cv_sys_large_files=no; break |
5678 fi | 6161 else |
6162 $as_echo "$as_me: failed program was:" >&5 | |
6163 sed 's/^/| /' conftest.$ac_ext >&5 | |
6164 | |
6165 | |
6166 fi | |
6167 | |
5679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6169 cat >conftest.$ac_ext <<_ACEOF |
6170 /* confdefs.h. */ | |
6171 _ACEOF | |
6172 cat confdefs.h >>conftest.$ac_ext | |
6173 cat >>conftest.$ac_ext <<_ACEOF | |
5681 /* end confdefs.h. */ | 6174 /* end confdefs.h. */ |
5682 #define _LARGE_FILES 1 | 6175 #define _LARGE_FILES 1 |
5683 #include <sys/types.h> | 6176 #include <sys/types.h> |
5684 /* Check that off_t can represent 2**63 - 1 correctly. | 6177 /* Check that off_t can represent 2**63 - 1 correctly. |
5685 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 6178 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5695 | 6188 |
5696 ; | 6189 ; |
5697 return 0; | 6190 return 0; |
5698 } | 6191 } |
5699 _ACEOF | 6192 _ACEOF |
5700 if ac_fn_c_try_compile "$LINENO"; then : | 6193 rm -f conftest.$ac_objext |
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 | |
5701 ac_cv_sys_large_files=1; break | 6211 ac_cv_sys_large_files=1; break |
5702 fi | 6212 else |
6213 $as_echo "$as_me: failed program was:" >&5 | |
6214 sed 's/^/| /' conftest.$ac_ext >&5 | |
6215 | |
6216 | |
6217 fi | |
6218 | |
5703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5704 ac_cv_sys_large_files=unknown | 6220 ac_cv_sys_large_files=unknown |
5705 break | 6221 break |
5706 done | 6222 done |
5707 fi | 6223 fi |
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 | 6224 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
5709 $as_echo "$ac_cv_sys_large_files" >&6; } | 6225 $as_echo "$ac_cv_sys_large_files" >&6; } |
5710 case $ac_cv_sys_large_files in #( | 6226 case $ac_cv_sys_large_files in #( |
5711 no | unknown) ;; | 6227 no | unknown) ;; |
5712 *) | 6228 *) |
5713 cat >>confdefs.h <<_ACEOF | 6229 cat >>confdefs.h <<_ACEOF |
5719 fi | 6235 fi |
5720 fi | 6236 fi |
5721 | 6237 |
5722 | 6238 |
5723 | 6239 |
5724 ### The standard library on x86-64 and s390x GNU/Linux distributions can | 6240 ## Note: at present CRT_DIR is only used for amdx86-64 and ibms390x. |
5725 ### be located in either /usr/lib64 or /usr/lib. | 6241 ## Other machine types hard-code the location in src/[ms]/*.h. |
5726 ### In some rare cases, /usr/lib64 exists but does not contain the | |
5727 ### relevant files (bug#1287). Hence test for crtn.o. | |
5728 case "${canonical}" in | 6242 case "${canonical}" in |
5729 x86_64-*-linux-gnu* | s390x-*-linux-gnu* ) | 6243 x86_64-*-linux-gnu* | s390x-*-linux-gnu* ) |
5730 if test -e /usr/lib64/crtn.o; then | 6244 |
5731 | 6245 ## On x86-64 and s390x GNU/Linux distributions, the standard library |
5732 $as_echo "#define HAVE_LIB64_DIR 1" >>confdefs.h | 6246 ## can be in a variety of places. We only try /usr/lib64 and /usr/lib. |
5733 | 6247 ## For anything else (eg /usr/lib32), it is up the user to specify |
5734 fi | 6248 ## the location (bug#5655). |
5735 esac | 6249 ## Test for crtn.o, not just the directory, because sometimes the |
6250 ## directory exists but does not have the relevant files (bug#1287). | |
6251 ## If user specified a crt-dir, use that unconditionally. | |
6252 if test "X$CRT_DIR" = "X"; then | |
6253 CRT_DIR=/usr/lib | |
6254 test -e /usr/lib64/crtn.o && CRT_DIR=/usr/lib64 | |
6255 fi | |
6256 | |
6257 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | |
6258 { { $as_echo "$as_me:$LINENO: error: crt*.o not found. Use --with-crt-dir to specify the location." >&5 | |
6259 $as_echo "$as_me: error: crt*.o not found. Use --with-crt-dir to specify the location." >&2;} | |
6260 { (exit 1); exit 1; }; } | |
6261 ;; | |
6262 | |
6263 esac | |
6264 test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib | |
6265 | |
6266 | |
5736 | 6267 |
5737 | 6268 |
5738 | 6269 |
5739 | 6270 |
5740 if test "${with_sound}" != "no"; then | 6271 if test "${with_sound}" != "no"; then |
5741 # Sound support for GNU/Linux and the free BSDs. | 6272 # Sound support for GNU/Linux and the free BSDs. |
5742 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 6273 |
5743 do : | 6274 |
5744 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6275 |
5745 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6276 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5746 eval as_val=\$$as_ac_Header | 6277 do |
5747 if test "x$as_val" = x""yes; then : | 6278 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
5748 cat >>confdefs.h <<_ACEOF | 6412 cat >>confdefs.h <<_ACEOF |
5749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5750 _ACEOF | 6414 _ACEOF |
5751 | 6415 |
5752 fi | 6416 fi |
5753 | 6417 |
5754 done | 6418 done |
5755 | 6419 |
5756 # Emulation library used on NetBSD. | 6420 # Emulation library used on NetBSD. |
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 | 6421 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 |
5758 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | 6422 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } |
5759 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : | 6423 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
5760 $as_echo_n "(cached) " >&6 | 6424 $as_echo_n "(cached) " >&6 |
5761 else | 6425 else |
5762 ac_check_lib_save_LIBS=$LIBS | 6426 ac_check_lib_save_LIBS=$LIBS |
5763 LIBS="-lossaudio $LIBS" | 6427 LIBS="-lossaudio $LIBS" |
5764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6428 cat >conftest.$ac_ext <<_ACEOF |
6429 /* confdefs.h. */ | |
6430 _ACEOF | |
6431 cat confdefs.h >>conftest.$ac_ext | |
6432 cat >>conftest.$ac_ext <<_ACEOF | |
5765 /* end confdefs.h. */ | 6433 /* end confdefs.h. */ |
5766 | 6434 |
5767 /* Override any GCC internal prototype to avoid an error. | 6435 /* Override any GCC internal prototype to avoid an error. |
5768 Use char because int might match the return type of a GCC | 6436 Use char because int might match the return type of a GCC |
5769 builtin and then its argument prototype would still apply. */ | 6437 builtin and then its argument prototype would still apply. */ |
5777 return _oss_ioctl (); | 6445 return _oss_ioctl (); |
5778 ; | 6446 ; |
5779 return 0; | 6447 return 0; |
5780 } | 6448 } |
5781 _ACEOF | 6449 _ACEOF |
5782 if ac_fn_c_try_link "$LINENO"; then : | 6450 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
5783 ac_cv_lib_ossaudio__oss_ioctl=yes | 6471 ac_cv_lib_ossaudio__oss_ioctl=yes |
5784 else | 6472 else |
5785 ac_cv_lib_ossaudio__oss_ioctl=no | 6473 $as_echo "$as_me: failed program was:" >&5 |
5786 fi | 6474 sed 's/^/| /' conftest.$ac_ext >&5 |
5787 rm -f core conftest.err conftest.$ac_objext \ | 6475 |
5788 conftest$ac_exeext conftest.$ac_ext | 6476 ac_cv_lib_ossaudio__oss_ioctl=no |
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 | |
5789 LIBS=$ac_check_lib_save_LIBS | 6482 LIBS=$ac_check_lib_save_LIBS |
5790 fi | 6483 fi |
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 6484 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
5792 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 6485 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
5793 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : | 6486 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then |
5794 LIBSOUND=-lossaudio | 6487 LIBSOUND=-lossaudio |
5795 else | 6488 else |
5796 LIBSOUND= | 6489 LIBSOUND= |
5797 fi | 6490 fi |
5798 | 6491 |
5803 | 6496 |
5804 succeeded=no | 6497 succeeded=no |
5805 | 6498 |
5806 # Extract the first word of "pkg-config", so it can be a program name with args. | 6499 # Extract the first word of "pkg-config", so it can be a program name with args. |
5807 set dummy pkg-config; ac_word=$2 | 6500 set dummy pkg-config; ac_word=$2 |
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6501 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5809 $as_echo_n "checking for $ac_word... " >&6; } | 6502 $as_echo_n "checking for $ac_word... " >&6; } |
5810 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 6503 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
5811 $as_echo_n "(cached) " >&6 | 6504 $as_echo_n "(cached) " >&6 |
5812 else | 6505 else |
5813 case $PKG_CONFIG in | 6506 case $PKG_CONFIG in |
5814 [\\/]* | ?:[\\/]*) | 6507 [\\/]* | ?:[\\/]*) |
5815 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 6508 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5819 for as_dir in $PATH | 6512 for as_dir in $PATH |
5820 do | 6513 do |
5821 IFS=$as_save_IFS | 6514 IFS=$as_save_IFS |
5822 test -z "$as_dir" && as_dir=. | 6515 test -z "$as_dir" && as_dir=. |
5823 for ac_exec_ext in '' $ac_executable_extensions; do | 6516 for ac_exec_ext in '' $ac_executable_extensions; do |
5824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5825 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 6518 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5827 break 2 | 6520 break 2 |
5828 fi | 6521 fi |
5829 done | 6522 done |
5830 done | 6523 done |
5831 IFS=$as_save_IFS | 6524 IFS=$as_save_IFS |
5832 | 6525 |
5833 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 6526 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
5834 ;; | 6527 ;; |
5835 esac | 6528 esac |
5836 fi | 6529 fi |
5837 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 6530 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
5838 if test -n "$PKG_CONFIG"; then | 6531 if test -n "$PKG_CONFIG"; then |
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 6532 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
5840 $as_echo "$PKG_CONFIG" >&6; } | 6533 $as_echo "$PKG_CONFIG" >&6; } |
5841 else | 6534 else |
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6535 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5843 $as_echo "no" >&6; } | 6536 $as_echo "no" >&6; } |
5844 fi | 6537 fi |
5845 | 6538 |
5846 | 6539 |
5847 | 6540 |
5848 if test "$PKG_CONFIG" = "no" ; then | 6541 if test "$PKG_CONFIG" = "no" ; then |
5849 HAVE_ALSA=no | 6542 HAVE_ALSA=no |
5850 else | 6543 else |
5851 PKG_CONFIG_MIN_VERSION=0.9.0 | 6544 PKG_CONFIG_MIN_VERSION=0.9.0 |
5852 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 6545 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 | 6546 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 |
5854 $as_echo_n "checking for $ALSA_MODULES... " >&6; } | 6547 $as_echo_n "checking for $ALSA_MODULES... " >&6; } |
5855 | 6548 |
5856 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 6549 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6550 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
5858 $as_echo "yes" >&6; } | 6551 $as_echo "yes" >&6; } |
5859 succeeded=yes | 6552 succeeded=yes |
5860 | 6553 |
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 | 6554 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 |
5862 $as_echo_n "checking ALSA_CFLAGS... " >&6; } | 6555 $as_echo_n "checking ALSA_CFLAGS... " >&6; } |
5863 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6556 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 | 6557 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 |
5865 $as_echo "$ALSA_CFLAGS" >&6; } | 6558 $as_echo "$ALSA_CFLAGS" >&6; } |
5866 | 6559 |
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 | 6560 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 |
5868 $as_echo_n "checking ALSA_LIBS... " >&6; } | 6561 $as_echo_n "checking ALSA_LIBS... " >&6; } |
5869 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6562 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 | 6563 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 |
5871 $as_echo "$ALSA_LIBS" >&6; } | 6564 $as_echo "$ALSA_LIBS" >&6; } |
5872 else | 6565 else |
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6566 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5874 $as_echo "no" >&6; } | 6567 $as_echo "no" >&6; } |
5875 ALSA_CFLAGS="" | 6568 ALSA_CFLAGS="" |
5876 ALSA_LIBS="" | 6569 ALSA_LIBS="" |
5877 ## If we have a custom action on failure, don't print errors, but | 6570 ## If we have a custom action on failure, don't print errors, but |
5878 ## do set a variable so people can do so. | 6571 ## do set a variable so people can do so. |
5897 if test $HAVE_ALSA = yes; then | 6590 if test $HAVE_ALSA = yes; then |
5898 SAVE_CFLAGS="$CFLAGS" | 6591 SAVE_CFLAGS="$CFLAGS" |
5899 SAVE_LDFLAGS="$LDFLAGS" | 6592 SAVE_LDFLAGS="$LDFLAGS" |
5900 CFLAGS="$ALSA_CFLAGS $CFLAGS" | 6593 CFLAGS="$ALSA_CFLAGS $CFLAGS" |
5901 LDFLAGS="$ALSA_LIBS $LDFLAGS" | 6594 LDFLAGS="$ALSA_LIBS $LDFLAGS" |
5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6595 cat >conftest.$ac_ext <<_ACEOF |
6596 /* confdefs.h. */ | |
6597 _ACEOF | |
6598 cat confdefs.h >>conftest.$ac_ext | |
6599 cat >>conftest.$ac_ext <<_ACEOF | |
5903 /* end confdefs.h. */ | 6600 /* end confdefs.h. */ |
5904 #include <asoundlib.h> | 6601 #include <asoundlib.h> |
5905 int | 6602 int |
5906 main () | 6603 main () |
5907 { | 6604 { |
5908 snd_lib_error_set_handler (0); | 6605 snd_lib_error_set_handler (0); |
5909 ; | 6606 ; |
5910 return 0; | 6607 return 0; |
5911 } | 6608 } |
5912 _ACEOF | 6609 _ACEOF |
5913 if ac_fn_c_try_compile "$LINENO"; then : | 6610 rm -f conftest.$ac_objext |
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 | |
5914 emacs_alsa_normal=yes | 6628 emacs_alsa_normal=yes |
5915 else | 6629 else |
5916 emacs_alsa_normal=no | 6630 $as_echo "$as_me: failed program was:" >&5 |
5917 fi | 6631 sed 's/^/| /' conftest.$ac_ext >&5 |
6632 | |
6633 emacs_alsa_normal=no | |
6634 fi | |
6635 | |
5918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5919 if test "$emacs_alsa_normal" != yes; then | 6637 if test "$emacs_alsa_normal" != yes; then |
5920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6638 cat >conftest.$ac_ext <<_ACEOF |
6639 /* confdefs.h. */ | |
6640 _ACEOF | |
6641 cat confdefs.h >>conftest.$ac_ext | |
6642 cat >>conftest.$ac_ext <<_ACEOF | |
5921 /* end confdefs.h. */ | 6643 /* end confdefs.h. */ |
5922 #include <alsa/asoundlib.h> | 6644 #include <alsa/asoundlib.h> |
5923 int | 6645 int |
5924 main () | 6646 main () |
5925 { | 6647 { |
5926 snd_lib_error_set_handler (0); | 6648 snd_lib_error_set_handler (0); |
5927 ; | 6649 ; |
5928 return 0; | 6650 return 0; |
5929 } | 6651 } |
5930 _ACEOF | 6652 _ACEOF |
5931 if ac_fn_c_try_compile "$LINENO"; then : | 6653 rm -f conftest.$ac_objext |
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 | |
5932 emacs_alsa_subdir=yes | 6671 emacs_alsa_subdir=yes |
5933 else | 6672 else |
5934 emacs_alsa_subdir=no | 6673 $as_echo "$as_me: failed program was:" >&5 |
5935 fi | 6674 sed 's/^/| /' conftest.$ac_ext >&5 |
6675 | |
6676 emacs_alsa_subdir=no | |
6677 fi | |
6678 | |
5936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5937 if test "$emacs_alsa_subdir" != yes; then | 6680 if test "$emacs_alsa_subdir" != yes; then |
5938 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6681 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 |
6682 $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} | |
6683 { (exit 1); exit 1; }; } | |
5939 fi | 6684 fi |
5940 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6685 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
5941 fi | 6686 fi |
5942 | 6687 |
5943 CFLAGS="$SAVE_CFLAGS" | 6688 CFLAGS="$SAVE_CFLAGS" |
5944 LDFLAGS="$SAVE_LDFLAGS" | 6689 LDFLAGS="$SAVE_LDFLAGS" |
5945 LIBSOUND="$LIBSOUND $ALSA_LIBS" | 6690 LIBSOUND="$LIBSOUND $ALSA_LIBS" |
5946 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" | 6691 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
5947 | 6692 |
5948 $as_echo "#define HAVE_ALSA 1" >>confdefs.h | 6693 cat >>confdefs.h <<\_ACEOF |
6694 #define HAVE_ALSA 1 | |
6695 _ACEOF | |
5949 | 6696 |
5950 fi | 6697 fi |
5951 | 6698 |
5952 fi | 6699 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 | |
5953 | 6725 |
5954 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 6726 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
5955 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 6727 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
5956 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 6728 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
5957 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6729 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
5958 sys/utsname.h pwd.h utmp.h | 6730 sys/utsname.h pwd.h utmp.h |
5959 do : | 6731 do |
5960 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6732 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5961 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5962 eval as_val=\$$as_ac_Header | 6734 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5963 if test "x$as_val" = x""yes; then : | 6735 $as_echo_n "checking for $ac_header... " >&6; } |
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 | |
5964 cat >>confdefs.h <<_ACEOF | 6866 cat >>confdefs.h <<_ACEOF |
5965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5966 _ACEOF | 6868 _ACEOF |
5967 | 6869 |
5968 fi | 6870 fi |
5969 | 6871 |
5970 done | 6872 done |
5971 | 6873 |
5972 | 6874 |
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 | 6875 { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 |
5974 $as_echo_n "checking if personality LINUX32 can be set... " >&6; } | 6876 $as_echo_n "checking if personality LINUX32 can be set... " >&6; } |
5975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6877 cat >conftest.$ac_ext <<_ACEOF |
6878 /* confdefs.h. */ | |
6879 _ACEOF | |
6880 cat confdefs.h >>conftest.$ac_ext | |
6881 cat >>conftest.$ac_ext <<_ACEOF | |
5976 /* end confdefs.h. */ | 6882 /* end confdefs.h. */ |
5977 #include <sys/personality.h> | 6883 #include <sys/personality.h> |
5978 int | 6884 int |
5979 main () | 6885 main () |
5980 { | 6886 { |
5981 personality (PER_LINUX32) | 6887 personality (PER_LINUX32) |
5982 ; | 6888 ; |
5983 return 0; | 6889 return 0; |
5984 } | 6890 } |
5985 _ACEOF | 6891 _ACEOF |
5986 if ac_fn_c_try_compile "$LINENO"; then : | 6892 rm -f conftest.$ac_objext |
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 | |
5987 emacs_cv_personality_linux32=yes | 6910 emacs_cv_personality_linux32=yes |
5988 else | 6911 else |
5989 emacs_cv_personality_linux32=no | 6912 $as_echo "$as_me: failed program was:" >&5 |
5990 fi | 6913 sed 's/^/| /' conftest.$ac_ext >&5 |
6914 | |
6915 emacs_cv_personality_linux32=no | |
6916 fi | |
6917 | |
5991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5 | 6919 { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 |
5993 $as_echo "$emacs_cv_personality_linux32" >&6; } | 6920 $as_echo "$emacs_cv_personality_linux32" >&6; } |
5994 | 6921 |
5995 if test $emacs_cv_personality_linux32 = yes; then | 6922 if test $emacs_cv_personality_linux32 = yes; then |
5996 | 6923 |
5997 $as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h | 6924 cat >>confdefs.h <<\_ACEOF |
5998 | 6925 #define HAVE_PERSONALITY_LINUX32 1 |
5999 fi | 6926 _ACEOF |
6927 | |
6928 fi | |
6929 | |
6000 | 6930 |
6001 for ac_header in term.h | 6931 for ac_header in term.h |
6002 do : | 6932 do |
6003 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" | 6933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6004 if test "x$ac_cv_header_term_h" = x""yes; then : | 6934 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6935 $as_echo_n "checking for $ac_header... " >&6; } | |
6936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6937 $as_echo_n "(cached) " >&6 | |
6938 else | |
6939 cat >conftest.$ac_ext <<_ACEOF | |
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 | |
6005 cat >>confdefs.h <<_ACEOF | 6980 cat >>confdefs.h <<_ACEOF |
6006 #define HAVE_TERM_H 1 | 6981 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6007 _ACEOF | 6982 _ACEOF |
6008 | 6983 |
6009 fi | 6984 fi |
6010 | 6985 |
6011 done | 6986 done |
6012 | 6987 |
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 6988 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
6014 $as_echo_n "checking for ANSI C header files... " >&6; } | 6989 $as_echo_n "checking for ANSI C header files... " >&6; } |
6015 if test "${ac_cv_header_stdc+set}" = set; then : | 6990 if test "${ac_cv_header_stdc+set}" = set; then |
6016 $as_echo_n "(cached) " >&6 | 6991 $as_echo_n "(cached) " >&6 |
6017 else | 6992 else |
6018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6993 cat >conftest.$ac_ext <<_ACEOF |
6994 /* confdefs.h. */ | |
6995 _ACEOF | |
6996 cat confdefs.h >>conftest.$ac_ext | |
6997 cat >>conftest.$ac_ext <<_ACEOF | |
6019 /* end confdefs.h. */ | 6998 /* end confdefs.h. */ |
6020 #include <stdlib.h> | 6999 #include <stdlib.h> |
6021 #include <stdarg.h> | 7000 #include <stdarg.h> |
6022 #include <string.h> | 7001 #include <string.h> |
6023 #include <float.h> | 7002 #include <float.h> |
6028 | 7007 |
6029 ; | 7008 ; |
6030 return 0; | 7009 return 0; |
6031 } | 7010 } |
6032 _ACEOF | 7011 _ACEOF |
6033 if ac_fn_c_try_compile "$LINENO"; then : | 7012 rm -f conftest.$ac_objext |
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 | |
6034 ac_cv_header_stdc=yes | 7030 ac_cv_header_stdc=yes |
6035 else | 7031 else |
6036 ac_cv_header_stdc=no | 7032 $as_echo "$as_me: failed program was:" >&5 |
6037 fi | 7033 sed 's/^/| /' conftest.$ac_ext >&5 |
7034 | |
7035 ac_cv_header_stdc=no | |
7036 fi | |
7037 | |
6038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6039 | 7039 |
6040 if test $ac_cv_header_stdc = yes; then | 7040 if test $ac_cv_header_stdc = yes; then |
6041 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 7041 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7042 cat >conftest.$ac_ext <<_ACEOF |
7043 /* confdefs.h. */ | |
7044 _ACEOF | |
7045 cat confdefs.h >>conftest.$ac_ext | |
7046 cat >>conftest.$ac_ext <<_ACEOF | |
6043 /* end confdefs.h. */ | 7047 /* end confdefs.h. */ |
6044 #include <string.h> | 7048 #include <string.h> |
6045 | 7049 |
6046 _ACEOF | 7050 _ACEOF |
6047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6048 $EGREP "memchr" >/dev/null 2>&1; then : | 7052 $EGREP "memchr" >/dev/null 2>&1; then |
6049 | 7053 : |
6050 else | 7054 else |
6051 ac_cv_header_stdc=no | 7055 ac_cv_header_stdc=no |
6052 fi | 7056 fi |
6053 rm -f conftest* | 7057 rm -f conftest* |
6054 | 7058 |
6055 fi | 7059 fi |
6056 | 7060 |
6057 if test $ac_cv_header_stdc = yes; then | 7061 if test $ac_cv_header_stdc = yes; then |
6058 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 7062 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7063 cat >conftest.$ac_ext <<_ACEOF |
7064 /* confdefs.h. */ | |
7065 _ACEOF | |
7066 cat confdefs.h >>conftest.$ac_ext | |
7067 cat >>conftest.$ac_ext <<_ACEOF | |
6060 /* end confdefs.h. */ | 7068 /* end confdefs.h. */ |
6061 #include <stdlib.h> | 7069 #include <stdlib.h> |
6062 | 7070 |
6063 _ACEOF | 7071 _ACEOF |
6064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6065 $EGREP "free" >/dev/null 2>&1; then : | 7073 $EGREP "free" >/dev/null 2>&1; then |
6066 | 7074 : |
6067 else | 7075 else |
6068 ac_cv_header_stdc=no | 7076 ac_cv_header_stdc=no |
6069 fi | 7077 fi |
6070 rm -f conftest* | 7078 rm -f conftest* |
6071 | 7079 |
6072 fi | 7080 fi |
6073 | 7081 |
6074 if test $ac_cv_header_stdc = yes; then | 7082 if test $ac_cv_header_stdc = yes; then |
6075 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 7083 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6076 if test "$cross_compiling" = yes; then : | 7084 if test "$cross_compiling" = yes; then |
6077 : | 7085 : |
6078 else | 7086 else |
6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7087 cat >conftest.$ac_ext <<_ACEOF |
7088 /* confdefs.h. */ | |
7089 _ACEOF | |
7090 cat confdefs.h >>conftest.$ac_ext | |
7091 cat >>conftest.$ac_ext <<_ACEOF | |
6080 /* end confdefs.h. */ | 7092 /* end confdefs.h. */ |
6081 #include <ctype.h> | 7093 #include <ctype.h> |
6082 #include <stdlib.h> | 7094 #include <stdlib.h> |
6083 #if ((' ' & 0x0FF) == 0x020) | 7095 #if ((' ' & 0x0FF) == 0x020) |
6084 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 7096 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6101 || toupper (i) != TOUPPER (i)) | 7113 || toupper (i) != TOUPPER (i)) |
6102 return 2; | 7114 return 2; |
6103 return 0; | 7115 return 0; |
6104 } | 7116 } |
6105 _ACEOF | 7117 _ACEOF |
6106 if ac_fn_c_try_run "$LINENO"; then : | 7118 rm -f conftest$ac_exeext |
6107 | 7119 if { (ac_try="$ac_link" |
6108 else | 7120 case "(($ac_try" in |
6109 ac_cv_header_stdc=no | 7121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6110 fi | 7122 *) ac_try_echo=$ac_try;; |
6111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 7123 esac |
6112 conftest.$ac_objext conftest.beam conftest.$ac_ext | 7124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6113 fi | 7125 $as_echo "$ac_try_echo") >&5 |
6114 | 7126 (eval "$ac_link") 2>&5 |
6115 fi | 7127 ac_status=$? |
6116 fi | 7128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 7129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7130 { (case "(($ac_try" in | |
7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7132 *) ac_try_echo=$ac_try;; | |
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 | |
6118 $as_echo "$ac_cv_header_stdc" >&6; } | 7157 $as_echo "$ac_cv_header_stdc" >&6; } |
6119 if test $ac_cv_header_stdc = yes; then | 7158 if test $ac_cv_header_stdc = yes; then |
6120 | 7159 |
6121 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 7160 cat >>confdefs.h <<\_ACEOF |
6122 | 7161 #define STDC_HEADERS 1 |
6123 fi | 7162 _ACEOF |
6124 | 7163 |
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 | 7164 fi |
7165 | |
7166 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | |
6126 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | 7167 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
6127 if test "${ac_cv_header_time+set}" = set; then : | 7168 if test "${ac_cv_header_time+set}" = set; then |
6128 $as_echo_n "(cached) " >&6 | 7169 $as_echo_n "(cached) " >&6 |
6129 else | 7170 else |
6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7171 cat >conftest.$ac_ext <<_ACEOF |
7172 /* confdefs.h. */ | |
7173 _ACEOF | |
7174 cat confdefs.h >>conftest.$ac_ext | |
7175 cat >>conftest.$ac_ext <<_ACEOF | |
6131 /* end confdefs.h. */ | 7176 /* end confdefs.h. */ |
6132 #include <sys/types.h> | 7177 #include <sys/types.h> |
6133 #include <sys/time.h> | 7178 #include <sys/time.h> |
6134 #include <time.h> | 7179 #include <time.h> |
6135 | 7180 |
6140 return 0; | 7185 return 0; |
6141 ; | 7186 ; |
6142 return 0; | 7187 return 0; |
6143 } | 7188 } |
6144 _ACEOF | 7189 _ACEOF |
6145 if ac_fn_c_try_compile "$LINENO"; then : | 7190 rm -f conftest.$ac_objext |
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 | |
6146 ac_cv_header_time=yes | 7208 ac_cv_header_time=yes |
6147 else | 7209 else |
6148 ac_cv_header_time=no | 7210 $as_echo "$as_me: failed program was:" >&5 |
6149 fi | 7211 sed 's/^/| /' conftest.$ac_ext >&5 |
7212 | |
7213 ac_cv_header_time=no | |
7214 fi | |
7215 | |
6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6151 fi | 7217 fi |
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 | 7218 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
6153 $as_echo "$ac_cv_header_time" >&6; } | 7219 $as_echo "$ac_cv_header_time" >&6; } |
6154 if test $ac_cv_header_time = yes; then | 7220 if test $ac_cv_header_time = yes; then |
6155 | 7221 |
6156 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h | 7222 cat >>confdefs.h <<\_ACEOF |
6157 | 7223 #define TIME_WITH_SYS_TIME 1 |
6158 fi | 7224 _ACEOF |
6159 | 7225 |
6160 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" | 7226 fi |
6161 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : | 7227 |
6162 ac_have_decl=1 | 7228 { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 |
6163 else | 7229 $as_echo_n "checking whether sys_siglist is declared... " >&6; } |
6164 ac_have_decl=0 | 7230 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then |
6165 fi | 7231 $as_echo_n "(cached) " >&6 |
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 | |
6166 | 7282 |
6167 cat >>confdefs.h <<_ACEOF | 7283 cat >>confdefs.h <<_ACEOF |
6168 #define HAVE_DECL_SYS_SIGLIST $ac_have_decl | 7284 #define HAVE_DECL_SYS_SIGLIST 1 |
6169 _ACEOF | 7285 _ACEOF |
7286 | |
7287 | |
7288 else | |
7289 cat >>confdefs.h <<_ACEOF | |
7290 #define HAVE_DECL_SYS_SIGLIST 0 | |
7291 _ACEOF | |
7292 | |
7293 | |
7294 fi | |
7295 | |
6170 | 7296 |
6171 if test $ac_cv_have_decl_sys_siglist != yes; then | 7297 if test $ac_cv_have_decl_sys_siglist != yes; then |
6172 # For Tru64, at least: | 7298 # For Tru64, at least: |
6173 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" | 7299 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 |
6174 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : | 7300 $as_echo_n "checking whether __sys_siglist is declared... " >&6; } |
6175 ac_have_decl=1 | 7301 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then |
6176 else | 7302 $as_echo_n "(cached) " >&6 |
6177 ac_have_decl=0 | 7303 else |
6178 fi | 7304 cat >conftest.$ac_ext <<_ACEOF |
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 | |
6179 | 7353 |
6180 cat >>confdefs.h <<_ACEOF | 7354 cat >>confdefs.h <<_ACEOF |
6181 #define HAVE_DECL___SYS_SIGLIST $ac_have_decl | 7355 #define HAVE_DECL___SYS_SIGLIST 1 |
6182 _ACEOF | 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 | |
6183 | 7367 |
6184 if test $ac_cv_have_decl___sys_siglist = yes; then | 7368 if test $ac_cv_have_decl___sys_siglist = yes; then |
6185 | 7369 |
6186 $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h | 7370 cat >>confdefs.h <<\_ACEOF |
7371 #define sys_siglist __sys_siglist | |
7372 _ACEOF | |
6187 | 7373 |
6188 fi | 7374 fi |
6189 fi | 7375 fi |
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 7376 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
6191 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } | 7377 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
6192 if test "${ac_cv_header_sys_wait_h+set}" = set; then : | 7378 if test "${ac_cv_header_sys_wait_h+set}" = set; then |
6193 $as_echo_n "(cached) " >&6 | 7379 $as_echo_n "(cached) " >&6 |
6194 else | 7380 else |
6195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7381 cat >conftest.$ac_ext <<_ACEOF |
7382 /* confdefs.h. */ | |
7383 _ACEOF | |
7384 cat confdefs.h >>conftest.$ac_ext | |
7385 cat >>conftest.$ac_ext <<_ACEOF | |
6196 /* end confdefs.h. */ | 7386 /* end confdefs.h. */ |
6197 #include <sys/types.h> | 7387 #include <sys/types.h> |
6198 #include <sys/wait.h> | 7388 #include <sys/wait.h> |
6199 #ifndef WEXITSTATUS | 7389 #ifndef WEXITSTATUS |
6200 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) | 7390 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
6211 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 7401 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
6212 ; | 7402 ; |
6213 return 0; | 7403 return 0; |
6214 } | 7404 } |
6215 _ACEOF | 7405 _ACEOF |
6216 if ac_fn_c_try_compile "$LINENO"; then : | 7406 rm -f conftest.$ac_objext |
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 | |
6217 ac_cv_header_sys_wait_h=yes | 7424 ac_cv_header_sys_wait_h=yes |
6218 else | 7425 else |
6219 ac_cv_header_sys_wait_h=no | 7426 $as_echo "$as_me: failed program was:" >&5 |
6220 fi | 7427 sed 's/^/| /' conftest.$ac_ext >&5 |
7428 | |
7429 ac_cv_header_sys_wait_h=no | |
7430 fi | |
7431 | |
6221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6222 fi | 7433 fi |
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 | 7434 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
6224 $as_echo "$ac_cv_header_sys_wait_h" >&6; } | 7435 $as_echo "$ac_cv_header_sys_wait_h" >&6; } |
6225 if test $ac_cv_header_sys_wait_h = yes; then | 7436 if test $ac_cv_header_sys_wait_h = yes; then |
6226 | 7437 |
6227 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h | 7438 cat >>confdefs.h <<\_ACEOF |
6228 | 7439 #define HAVE_SYS_WAIT_H 1 |
6229 fi | 7440 _ACEOF |
6230 | 7441 |
6231 | 7442 fi |
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 | 7443 |
7444 | |
7445 { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 | |
6233 $as_echo_n "checking for struct utimbuf... " >&6; } | 7446 $as_echo_n "checking for struct utimbuf... " >&6; } |
6234 if test "${emacs_cv_struct_utimbuf+set}" = set; then : | 7447 if test "${emacs_cv_struct_utimbuf+set}" = set; then |
6235 $as_echo_n "(cached) " >&6 | 7448 $as_echo_n "(cached) " >&6 |
6236 else | 7449 else |
6237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7450 cat >conftest.$ac_ext <<_ACEOF |
7451 /* confdefs.h. */ | |
7452 _ACEOF | |
7453 cat confdefs.h >>conftest.$ac_ext | |
7454 cat >>conftest.$ac_ext <<_ACEOF | |
6238 /* end confdefs.h. */ | 7455 /* end confdefs.h. */ |
6239 #ifdef TIME_WITH_SYS_TIME | 7456 #ifdef TIME_WITH_SYS_TIME |
6240 #include <sys/time.h> | 7457 #include <sys/time.h> |
6241 #include <time.h> | 7458 #include <time.h> |
6242 #else | 7459 #else |
6255 static struct utimbuf x; x.actime = x.modtime; | 7472 static struct utimbuf x; x.actime = x.modtime; |
6256 ; | 7473 ; |
6257 return 0; | 7474 return 0; |
6258 } | 7475 } |
6259 _ACEOF | 7476 _ACEOF |
6260 if ac_fn_c_try_compile "$LINENO"; then : | 7477 rm -f conftest.$ac_objext |
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 | |
6261 emacs_cv_struct_utimbuf=yes | 7495 emacs_cv_struct_utimbuf=yes |
6262 else | 7496 else |
6263 emacs_cv_struct_utimbuf=no | 7497 $as_echo "$as_me: failed program was:" >&5 |
6264 fi | 7498 sed 's/^/| /' conftest.$ac_ext >&5 |
7499 | |
7500 emacs_cv_struct_utimbuf=no | |
7501 fi | |
7502 | |
6265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6266 fi | 7504 fi |
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5 | 7505 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 |
6268 $as_echo "$emacs_cv_struct_utimbuf" >&6; } | 7506 $as_echo "$emacs_cv_struct_utimbuf" >&6; } |
6269 if test $emacs_cv_struct_utimbuf = yes; then | 7507 if test $emacs_cv_struct_utimbuf = yes; then |
6270 | 7508 |
6271 $as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h | 7509 cat >>confdefs.h <<\_ACEOF |
6272 | 7510 #define HAVE_STRUCT_UTIMBUF 1 |
6273 fi | 7511 _ACEOF |
6274 | 7512 |
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 | 7513 fi |
7514 | |
7515 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | |
6276 $as_echo_n "checking return type of signal handlers... " >&6; } | 7516 $as_echo_n "checking return type of signal handlers... " >&6; } |
6277 if test "${ac_cv_type_signal+set}" = set; then : | 7517 if test "${ac_cv_type_signal+set}" = set; then |
6278 $as_echo_n "(cached) " >&6 | 7518 $as_echo_n "(cached) " >&6 |
6279 else | 7519 else |
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7520 cat >conftest.$ac_ext <<_ACEOF |
7521 /* confdefs.h. */ | |
7522 _ACEOF | |
7523 cat confdefs.h >>conftest.$ac_ext | |
7524 cat >>conftest.$ac_ext <<_ACEOF | |
6281 /* end confdefs.h. */ | 7525 /* end confdefs.h. */ |
6282 #include <sys/types.h> | 7526 #include <sys/types.h> |
6283 #include <signal.h> | 7527 #include <signal.h> |
6284 | 7528 |
6285 int | 7529 int |
6288 return *(signal (0, 0)) (0) == 1; | 7532 return *(signal (0, 0)) (0) == 1; |
6289 ; | 7533 ; |
6290 return 0; | 7534 return 0; |
6291 } | 7535 } |
6292 _ACEOF | 7536 _ACEOF |
6293 if ac_fn_c_try_compile "$LINENO"; then : | 7537 rm -f conftest.$ac_objext |
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 | |
6294 ac_cv_type_signal=int | 7555 ac_cv_type_signal=int |
6295 else | 7556 else |
6296 ac_cv_type_signal=void | 7557 $as_echo "$as_me: failed program was:" >&5 |
6297 fi | 7558 sed 's/^/| /' conftest.$ac_ext >&5 |
7559 | |
7560 ac_cv_type_signal=void | |
7561 fi | |
7562 | |
6298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6299 fi | 7564 fi |
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 | 7565 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
6301 $as_echo "$ac_cv_type_signal" >&6; } | 7566 $as_echo "$ac_cv_type_signal" >&6; } |
6302 | 7567 |
6303 cat >>confdefs.h <<_ACEOF | 7568 cat >>confdefs.h <<_ACEOF |
6304 #define RETSIGTYPE $ac_cv_type_signal | 7569 #define RETSIGTYPE $ac_cv_type_signal |
6305 _ACEOF | 7570 _ACEOF |
6306 | 7571 |
6307 | 7572 |
6308 | 7573 |
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 | 7574 { $as_echo "$as_me:$LINENO: checking for speed_t" >&5 |
6310 $as_echo_n "checking for speed_t... " >&6; } | 7575 $as_echo_n "checking for speed_t... " >&6; } |
6311 if test "${emacs_cv_speed_t+set}" = set; then : | 7576 if test "${emacs_cv_speed_t+set}" = set; then |
6312 $as_echo_n "(cached) " >&6 | 7577 $as_echo_n "(cached) " >&6 |
6313 else | 7578 else |
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7579 cat >conftest.$ac_ext <<_ACEOF |
7580 /* confdefs.h. */ | |
7581 _ACEOF | |
7582 cat confdefs.h >>conftest.$ac_ext | |
7583 cat >>conftest.$ac_ext <<_ACEOF | |
6315 /* end confdefs.h. */ | 7584 /* end confdefs.h. */ |
6316 #include <termios.h> | 7585 #include <termios.h> |
6317 int | 7586 int |
6318 main () | 7587 main () |
6319 { | 7588 { |
6320 speed_t x = 1; | 7589 speed_t x = 1; |
6321 ; | 7590 ; |
6322 return 0; | 7591 return 0; |
6323 } | 7592 } |
6324 _ACEOF | 7593 _ACEOF |
6325 if ac_fn_c_try_compile "$LINENO"; then : | 7594 rm -f conftest.$ac_objext |
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 | |
6326 emacs_cv_speed_t=yes | 7612 emacs_cv_speed_t=yes |
6327 else | 7613 else |
6328 emacs_cv_speed_t=no | 7614 $as_echo "$as_me: failed program was:" >&5 |
6329 fi | 7615 sed 's/^/| /' conftest.$ac_ext >&5 |
7616 | |
7617 emacs_cv_speed_t=no | |
7618 fi | |
7619 | |
6330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6331 fi | 7621 fi |
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5 | 7622 { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 |
6333 $as_echo "$emacs_cv_speed_t" >&6; } | 7623 $as_echo "$emacs_cv_speed_t" >&6; } |
6334 if test $emacs_cv_speed_t = yes; then | 7624 if test $emacs_cv_speed_t = yes; then |
6335 | 7625 |
6336 $as_echo "#define HAVE_SPEED_T 1" >>confdefs.h | 7626 cat >>confdefs.h <<\_ACEOF |
6337 | 7627 #define HAVE_SPEED_T 1 |
6338 fi | 7628 _ACEOF |
6339 | 7629 |
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 | 7630 fi |
7631 | |
7632 { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 | |
6341 $as_echo_n "checking for struct timeval... " >&6; } | 7633 $as_echo_n "checking for struct timeval... " >&6; } |
6342 if test "${emacs_cv_struct_timeval+set}" = set; then : | 7634 if test "${emacs_cv_struct_timeval+set}" = set; then |
6343 $as_echo_n "(cached) " >&6 | 7635 $as_echo_n "(cached) " >&6 |
6344 else | 7636 else |
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7637 cat >conftest.$ac_ext <<_ACEOF |
7638 /* confdefs.h. */ | |
7639 _ACEOF | |
7640 cat confdefs.h >>conftest.$ac_ext | |
7641 cat >>conftest.$ac_ext <<_ACEOF | |
6346 /* end confdefs.h. */ | 7642 /* end confdefs.h. */ |
6347 #ifdef TIME_WITH_SYS_TIME | 7643 #ifdef TIME_WITH_SYS_TIME |
6348 #include <sys/time.h> | 7644 #include <sys/time.h> |
6349 #include <time.h> | 7645 #include <time.h> |
6350 #else | 7646 #else |
6360 static struct timeval x; x.tv_sec = x.tv_usec; | 7656 static struct timeval x; x.tv_sec = x.tv_usec; |
6361 ; | 7657 ; |
6362 return 0; | 7658 return 0; |
6363 } | 7659 } |
6364 _ACEOF | 7660 _ACEOF |
6365 if ac_fn_c_try_compile "$LINENO"; then : | 7661 rm -f conftest.$ac_objext |
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 | |
6366 emacs_cv_struct_timeval=yes | 7679 emacs_cv_struct_timeval=yes |
6367 else | 7680 else |
6368 emacs_cv_struct_timeval=no | 7681 $as_echo "$as_me: failed program was:" >&5 |
6369 fi | 7682 sed 's/^/| /' conftest.$ac_ext >&5 |
7683 | |
7684 emacs_cv_struct_timeval=no | |
7685 fi | |
7686 | |
6370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6371 fi | 7688 fi |
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5 | 7689 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 |
6373 $as_echo "$emacs_cv_struct_timeval" >&6; } | 7690 $as_echo "$emacs_cv_struct_timeval" >&6; } |
6374 HAVE_TIMEVAL=$emacs_cv_struct_timeval | 7691 HAVE_TIMEVAL=$emacs_cv_struct_timeval |
6375 if test $emacs_cv_struct_timeval = yes; then | 7692 if test $emacs_cv_struct_timeval = yes; then |
6376 | 7693 |
6377 $as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h | 7694 cat >>confdefs.h <<\_ACEOF |
6378 | 7695 #define HAVE_TIMEVAL 1 |
6379 fi | 7696 _ACEOF |
6380 | 7697 |
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 | 7698 fi |
7699 | |
7700 { $as_echo "$as_me:$LINENO: checking for struct exception" >&5 | |
6382 $as_echo_n "checking for struct exception... " >&6; } | 7701 $as_echo_n "checking for struct exception... " >&6; } |
6383 if test "${emacs_cv_struct_exception+set}" = set; then : | 7702 if test "${emacs_cv_struct_exception+set}" = set; then |
6384 $as_echo_n "(cached) " >&6 | 7703 $as_echo_n "(cached) " >&6 |
6385 else | 7704 else |
6386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7705 cat >conftest.$ac_ext <<_ACEOF |
7706 /* confdefs.h. */ | |
7707 _ACEOF | |
7708 cat confdefs.h >>conftest.$ac_ext | |
7709 cat >>conftest.$ac_ext <<_ACEOF | |
6387 /* end confdefs.h. */ | 7710 /* end confdefs.h. */ |
6388 #include <math.h> | 7711 #include <math.h> |
6389 int | 7712 int |
6390 main () | 7713 main () |
6391 { | 7714 { |
6392 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | 7715 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; |
6393 ; | 7716 ; |
6394 return 0; | 7717 return 0; |
6395 } | 7718 } |
6396 _ACEOF | 7719 _ACEOF |
6397 if ac_fn_c_try_compile "$LINENO"; then : | 7720 rm -f conftest.$ac_objext |
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 | |
6398 emacs_cv_struct_exception=yes | 7738 emacs_cv_struct_exception=yes |
6399 else | 7739 else |
6400 emacs_cv_struct_exception=no | 7740 $as_echo "$as_me: failed program was:" >&5 |
6401 fi | 7741 sed 's/^/| /' conftest.$ac_ext >&5 |
7742 | |
7743 emacs_cv_struct_exception=no | |
7744 fi | |
7745 | |
6402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6403 fi | 7747 fi |
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 | 7748 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 |
6405 $as_echo "$emacs_cv_struct_exception" >&6; } | 7749 $as_echo "$emacs_cv_struct_exception" >&6; } |
6406 HAVE_EXCEPTION=$emacs_cv_struct_exception | 7750 HAVE_EXCEPTION=$emacs_cv_struct_exception |
6407 if test $emacs_cv_struct_exception != yes; then | 7751 if test $emacs_cv_struct_exception != yes; then |
6408 | 7752 |
6409 $as_echo "#define NO_MATHERR 1" >>confdefs.h | 7753 cat >>confdefs.h <<\_ACEOF |
6410 | 7754 #define NO_MATHERR 1 |
6411 fi | 7755 _ACEOF |
7756 | |
7757 fi | |
7758 | |
6412 | 7759 |
6413 for ac_header in sys/socket.h | 7760 for ac_header in sys/socket.h |
6414 do : | 7761 do |
6415 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" | 7762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6416 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : | 7763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7764 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7765 $as_echo_n "checking for $ac_header... " >&6; } | |
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 | |
6417 cat >>confdefs.h <<_ACEOF | 7896 cat >>confdefs.h <<_ACEOF |
6418 #define HAVE_SYS_SOCKET_H 1 | 7897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6419 _ACEOF | 7898 _ACEOF |
6420 | 7899 |
6421 fi | 7900 fi |
6422 | 7901 |
6423 done | 7902 done |
6424 | 7903 |
7904 | |
6425 for ac_header in net/if.h | 7905 for ac_header in net/if.h |
6426 do : | 7906 do |
6427 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default | 7907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7908 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7909 $as_echo_n "checking for $ac_header... " >&6; } | |
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 | |
6428 #if HAVE_SYS_SOCKET_H | 7920 #if HAVE_SYS_SOCKET_H |
6429 #include <sys/socket.h> | 7921 #include <sys/socket.h> |
6430 #endif | 7922 #endif |
6431 " | 7923 |
6432 if test "x$ac_cv_header_net_if_h" = x""yes; then : | 7924 #include <$ac_header> |
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 | |
6433 cat >>confdefs.h <<_ACEOF | 7960 cat >>confdefs.h <<_ACEOF |
6434 #define HAVE_NET_IF_H 1 | 7961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6435 _ACEOF | 7962 _ACEOF |
6436 | 7963 |
6437 fi | 7964 fi |
6438 | 7965 |
6439 done | 7966 done |
6440 | 7967 |
6441 | 7968 |
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 | 7969 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
6443 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | 7970 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
6444 if test "${ac_cv_struct_tm+set}" = set; then : | 7971 if test "${ac_cv_struct_tm+set}" = set; then |
6445 $as_echo_n "(cached) " >&6 | 7972 $as_echo_n "(cached) " >&6 |
6446 else | 7973 else |
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7974 cat >conftest.$ac_ext <<_ACEOF |
7975 /* confdefs.h. */ | |
7976 _ACEOF | |
7977 cat confdefs.h >>conftest.$ac_ext | |
7978 cat >>conftest.$ac_ext <<_ACEOF | |
6448 /* end confdefs.h. */ | 7979 /* end confdefs.h. */ |
6449 #include <sys/types.h> | 7980 #include <sys/types.h> |
6450 #include <time.h> | 7981 #include <time.h> |
6451 | 7982 |
6452 int | 7983 int |
6457 return !p; | 7988 return !p; |
6458 ; | 7989 ; |
6459 return 0; | 7990 return 0; |
6460 } | 7991 } |
6461 _ACEOF | 7992 _ACEOF |
6462 if ac_fn_c_try_compile "$LINENO"; then : | 7993 rm -f conftest.$ac_objext |
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 | |
6463 ac_cv_struct_tm=time.h | 8011 ac_cv_struct_tm=time.h |
6464 else | 8012 else |
6465 ac_cv_struct_tm=sys/time.h | 8013 $as_echo "$as_me: failed program was:" >&5 |
6466 fi | 8014 sed 's/^/| /' conftest.$ac_ext >&5 |
8015 | |
8016 ac_cv_struct_tm=sys/time.h | |
8017 fi | |
8018 | |
6467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6468 fi | 8020 fi |
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 | 8021 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
6470 $as_echo "$ac_cv_struct_tm" >&6; } | 8022 $as_echo "$ac_cv_struct_tm" >&6; } |
6471 if test $ac_cv_struct_tm = sys/time.h; then | 8023 if test $ac_cv_struct_tm = sys/time.h; then |
6472 | 8024 |
6473 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h | 8025 cat >>confdefs.h <<\_ACEOF |
6474 | 8026 #define TM_IN_SYS_TIME 1 |
6475 fi | 8027 _ACEOF |
6476 | 8028 |
6477 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> | 8029 fi |
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> | |
6478 #include <$ac_cv_struct_tm> | 8043 #include <$ac_cv_struct_tm> |
6479 | 8044 |
6480 " | 8045 |
6481 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : | 8046 int |
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 | |
6482 | 8133 |
6483 cat >>confdefs.h <<_ACEOF | 8134 cat >>confdefs.h <<_ACEOF |
6484 #define HAVE_STRUCT_TM_TM_ZONE 1 | 8135 #define HAVE_STRUCT_TM_TM_ZONE 1 |
6485 _ACEOF | 8136 _ACEOF |
6486 | 8137 |
6487 | 8138 |
6488 fi | 8139 fi |
6489 | 8140 |
6490 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then | 8141 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
6491 | 8142 |
6492 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h | 8143 cat >>confdefs.h <<\_ACEOF |
6493 | 8144 #define HAVE_TM_ZONE 1 |
6494 else | 8145 _ACEOF |
6495 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> | 8146 |
6496 " | 8147 else |
6497 if test "x$ac_cv_have_decl_tzname" = x""yes; then : | 8148 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 |
6498 ac_have_decl=1 | 8149 $as_echo_n "checking whether tzname is declared... " >&6; } |
6499 else | 8150 if test "${ac_cv_have_decl_tzname+set}" = set; then |
6500 ac_have_decl=0 | 8151 $as_echo_n "(cached) " >&6 |
6501 fi | 8152 else |
8153 cat >conftest.$ac_ext <<_ACEOF | |
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 | |
6502 | 8203 |
6503 cat >>confdefs.h <<_ACEOF | 8204 cat >>confdefs.h <<_ACEOF |
6504 #define HAVE_DECL_TZNAME $ac_have_decl | 8205 #define HAVE_DECL_TZNAME 1 |
6505 _ACEOF | 8206 _ACEOF |
6506 | 8207 |
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 | 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 | |
6508 $as_echo_n "checking for tzname... " >&6; } | 8219 $as_echo_n "checking for tzname... " >&6; } |
6509 if test "${ac_cv_var_tzname+set}" = set; then : | 8220 if test "${ac_cv_var_tzname+set}" = set; then |
6510 $as_echo_n "(cached) " >&6 | 8221 $as_echo_n "(cached) " >&6 |
6511 else | 8222 else |
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8223 cat >conftest.$ac_ext <<_ACEOF |
8224 /* confdefs.h. */ | |
8225 _ACEOF | |
8226 cat confdefs.h >>conftest.$ac_ext | |
8227 cat >>conftest.$ac_ext <<_ACEOF | |
6513 /* end confdefs.h. */ | 8228 /* end confdefs.h. */ |
6514 #include <time.h> | 8229 #include <time.h> |
6515 #if !HAVE_DECL_TZNAME | 8230 #if !HAVE_DECL_TZNAME |
6516 extern char *tzname[]; | 8231 extern char *tzname[]; |
6517 #endif | 8232 #endif |
6522 return tzname[0][0]; | 8237 return tzname[0][0]; |
6523 ; | 8238 ; |
6524 return 0; | 8239 return 0; |
6525 } | 8240 } |
6526 _ACEOF | 8241 _ACEOF |
6527 if ac_fn_c_try_link "$LINENO"; then : | 8242 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
6528 ac_cv_var_tzname=yes | 8263 ac_cv_var_tzname=yes |
6529 else | 8264 else |
6530 ac_cv_var_tzname=no | 8265 $as_echo "$as_me: failed program was:" >&5 |
6531 fi | 8266 sed 's/^/| /' conftest.$ac_ext >&5 |
6532 rm -f core conftest.err conftest.$ac_objext \ | 8267 |
6533 conftest$ac_exeext conftest.$ac_ext | 8268 ac_cv_var_tzname=no |
6534 fi | 8269 fi |
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 | 8270 |
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 | |
6536 $as_echo "$ac_cv_var_tzname" >&6; } | 8276 $as_echo "$ac_cv_var_tzname" >&6; } |
6537 if test $ac_cv_var_tzname = yes; then | 8277 if test $ac_cv_var_tzname = yes; then |
6538 | 8278 |
6539 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h | 8279 cat >>confdefs.h <<\_ACEOF |
8280 #define HAVE_TZNAME 1 | |
8281 _ACEOF | |
6540 | 8282 |
6541 fi | 8283 fi |
6542 fi | 8284 fi |
6543 | 8285 |
6544 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> | 8286 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 |
6545 " | 8287 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } |
6546 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : | 8288 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
6547 | 8289 $as_echo_n "(cached) " >&6 |
6548 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h | 8290 else |
6549 | 8291 cat >conftest.$ac_ext <<_ACEOF |
6550 fi | 8292 /* confdefs.h. */ |
6551 | 8293 _ACEOF |
6552 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default | 8294 cat confdefs.h >>conftest.$ac_ext |
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 | |
6553 #if HAVE_SYS_SOCKET_H | 8403 #if HAVE_SYS_SOCKET_H |
6554 #include <sys/socket.h> | 8404 #include <sys/socket.h> |
6555 #endif | 8405 #endif |
6556 #if HAVE_NET_IF_H | 8406 #if HAVE_NET_IF_H |
6557 #include <net/if.h> | 8407 #include <net/if.h> |
6558 #endif | 8408 #endif |
6559 " | 8409 |
6560 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : | 8410 int |
6561 | 8411 main () |
6562 cat >>confdefs.h <<_ACEOF | 8412 { |
6563 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 8413 static struct ifreq ac_aggr; |
6564 _ACEOF | 8414 if (ac_aggr.ifr_flags) |
6565 | 8415 return 0; |
6566 | 8416 ; |
6567 fi | 8417 return 0; |
6568 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default | 8418 } |
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 | |
6569 #if HAVE_SYS_SOCKET_H | 8450 #if HAVE_SYS_SOCKET_H |
6570 #include <sys/socket.h> | 8451 #include <sys/socket.h> |
6571 #endif | 8452 #endif |
6572 #if HAVE_NET_IF_H | 8453 #if HAVE_NET_IF_H |
6573 #include <net/if.h> | 8454 #include <net/if.h> |
6574 #endif | 8455 #endif |
6575 " | 8456 |
6576 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : | 8457 int |
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 | |
6577 | 8501 |
6578 cat >>confdefs.h <<_ACEOF | 8502 cat >>confdefs.h <<_ACEOF |
6579 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 8503 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
6580 _ACEOF | 8504 _ACEOF |
6581 | 8505 |
6582 | 8506 |
6583 fi | 8507 fi |
6584 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default | 8508 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 |
8509 $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; } | |
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 | |
6585 #if HAVE_SYS_SOCKET_H | 8520 #if HAVE_SYS_SOCKET_H |
6586 #include <sys/socket.h> | 8521 #include <sys/socket.h> |
6587 #endif | 8522 #endif |
6588 #if HAVE_NET_IF_H | 8523 #if HAVE_NET_IF_H |
6589 #include <net/if.h> | 8524 #include <net/if.h> |
6590 #endif | 8525 #endif |
6591 " | 8526 |
6592 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : | 8527 int |
6593 | 8528 main () |
6594 cat >>confdefs.h <<_ACEOF | 8529 { |
6595 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | 8530 static struct ifreq ac_aggr; |
6596 _ACEOF | 8531 if (ac_aggr.ifr_hwaddr) |
6597 | 8532 return 0; |
6598 | 8533 ; |
6599 fi | 8534 return 0; |
6600 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default | 8535 } |
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 | |
6601 #if HAVE_SYS_SOCKET_H | 8567 #if HAVE_SYS_SOCKET_H |
6602 #include <sys/socket.h> | 8568 #include <sys/socket.h> |
6603 #endif | 8569 #endif |
6604 #if HAVE_NET_IF_H | 8570 #if HAVE_NET_IF_H |
6605 #include <net/if.h> | 8571 #include <net/if.h> |
6606 #endif | 8572 #endif |
6607 " | 8573 |
6608 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : | 8574 int |
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 | |
6609 | 8618 |
6610 cat >>confdefs.h <<_ACEOF | 8619 cat >>confdefs.h <<_ACEOF |
6611 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | 8620 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
6612 _ACEOF | 8621 _ACEOF |
6613 | 8622 |
6614 | 8623 |
6615 fi | 8624 fi |
6616 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default | 8625 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 |
8626 $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; } | |
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 | |
6617 #if HAVE_SYS_SOCKET_H | 8637 #if HAVE_SYS_SOCKET_H |
6618 #include <sys/socket.h> | 8638 #include <sys/socket.h> |
6619 #endif | 8639 #endif |
6620 #if HAVE_NET_IF_H | 8640 #if HAVE_NET_IF_H |
6621 #include <net/if.h> | 8641 #include <net/if.h> |
6622 #endif | 8642 #endif |
6623 " | 8643 |
6624 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : | 8644 int |
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 | |
6625 | 8969 |
6626 cat >>confdefs.h <<_ACEOF | 8970 cat >>confdefs.h <<_ACEOF |
6627 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 8971 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
6628 _ACEOF | 8972 _ACEOF |
6629 | 8973 |
6630 | 8974 |
6631 fi | 8975 fi |
6632 | 8976 |
6633 | 8977 |
6634 | 8978 |
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 | 8979 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 |
6636 $as_echo_n "checking for function prototypes... " >&6; } | 8980 $as_echo_n "checking for function prototypes... " >&6; } |
6637 if test "$ac_cv_prog_cc_c89" != no; then | 8981 if test "$ac_cv_prog_cc_c89" != no; then |
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 8982 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
6639 $as_echo "yes" >&6; } | 8983 $as_echo "yes" >&6; } |
6640 | 8984 |
6641 $as_echo "#define PROTOTYPES 1" >>confdefs.h | 8985 cat >>confdefs.h <<\_ACEOF |
6642 | 8986 #define PROTOTYPES 1 |
6643 | 8987 _ACEOF |
6644 $as_echo "#define __PROTOTYPES 1" >>confdefs.h | 8988 |
6645 | 8989 |
6646 else | 8990 cat >>confdefs.h <<\_ACEOF |
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8991 #define __PROTOTYPES 1 |
8992 _ACEOF | |
8993 | |
8994 else | |
8995 { $as_echo "$as_me:$LINENO: result: no" >&5 | |
6648 $as_echo "no" >&6; } | 8996 $as_echo "no" >&6; } |
6649 fi | 8997 fi |
6650 | 8998 |
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 | 8999 { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 |
6652 $as_echo_n "checking for working volatile... " >&6; } | 9000 $as_echo_n "checking for working volatile... " >&6; } |
6653 if test "${ac_cv_c_volatile+set}" = set; then : | 9001 if test "${ac_cv_c_volatile+set}" = set; then |
6654 $as_echo_n "(cached) " >&6 | 9002 $as_echo_n "(cached) " >&6 |
6655 else | 9003 else |
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9004 cat >conftest.$ac_ext <<_ACEOF |
9005 /* confdefs.h. */ | |
9006 _ACEOF | |
9007 cat confdefs.h >>conftest.$ac_ext | |
9008 cat >>conftest.$ac_ext <<_ACEOF | |
6657 /* end confdefs.h. */ | 9009 /* end confdefs.h. */ |
6658 | 9010 |
6659 int | 9011 int |
6660 main () | 9012 main () |
6661 { | 9013 { |
6665 return !x && !y; | 9017 return !x && !y; |
6666 ; | 9018 ; |
6667 return 0; | 9019 return 0; |
6668 } | 9020 } |
6669 _ACEOF | 9021 _ACEOF |
6670 if ac_fn_c_try_compile "$LINENO"; then : | 9022 rm -f conftest.$ac_objext |
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 | |
6671 ac_cv_c_volatile=yes | 9040 ac_cv_c_volatile=yes |
6672 else | 9041 else |
6673 ac_cv_c_volatile=no | 9042 $as_echo "$as_me: failed program was:" >&5 |
6674 fi | 9043 sed 's/^/| /' conftest.$ac_ext >&5 |
9044 | |
9045 ac_cv_c_volatile=no | |
9046 fi | |
9047 | |
6675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6676 fi | 9049 fi |
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 | 9050 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 |
6678 $as_echo "$ac_cv_c_volatile" >&6; } | 9051 $as_echo "$ac_cv_c_volatile" >&6; } |
6679 if test $ac_cv_c_volatile = no; then | 9052 if test $ac_cv_c_volatile = no; then |
6680 | 9053 |
6681 $as_echo "#define volatile /**/" >>confdefs.h | 9054 cat >>confdefs.h <<\_ACEOF |
6682 | 9055 #define volatile /**/ |
6683 fi | 9056 _ACEOF |
6684 | 9057 |
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 | 9058 fi |
9059 | |
9060 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | |
6686 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | 9061 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
6687 if test "${ac_cv_c_const+set}" = set; then : | 9062 if test "${ac_cv_c_const+set}" = set; then |
6688 $as_echo_n "(cached) " >&6 | 9063 $as_echo_n "(cached) " >&6 |
6689 else | 9064 else |
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9065 cat >conftest.$ac_ext <<_ACEOF |
9066 /* confdefs.h. */ | |
9067 _ACEOF | |
9068 cat confdefs.h >>conftest.$ac_ext | |
9069 cat >>conftest.$ac_ext <<_ACEOF | |
6691 /* end confdefs.h. */ | 9070 /* end confdefs.h. */ |
6692 | 9071 |
6693 int | 9072 int |
6694 main () | 9073 main () |
6695 { | 9074 { |
6745 | 9124 |
6746 ; | 9125 ; |
6747 return 0; | 9126 return 0; |
6748 } | 9127 } |
6749 _ACEOF | 9128 _ACEOF |
6750 if ac_fn_c_try_compile "$LINENO"; then : | 9129 rm -f conftest.$ac_objext |
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 | |
6751 ac_cv_c_const=yes | 9147 ac_cv_c_const=yes |
6752 else | 9148 else |
6753 ac_cv_c_const=no | 9149 $as_echo "$as_me: failed program was:" >&5 |
6754 fi | 9150 sed 's/^/| /' conftest.$ac_ext >&5 |
9151 | |
9152 ac_cv_c_const=no | |
9153 fi | |
9154 | |
6755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6756 fi | 9156 fi |
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 | 9157 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
6758 $as_echo "$ac_cv_c_const" >&6; } | 9158 $as_echo "$ac_cv_c_const" >&6; } |
6759 if test $ac_cv_c_const = no; then | 9159 if test $ac_cv_c_const = no; then |
6760 | 9160 |
6761 $as_echo "#define const /**/" >>confdefs.h | 9161 cat >>confdefs.h <<\_ACEOF |
6762 | 9162 #define const /**/ |
6763 fi | 9163 _ACEOF |
6764 | 9164 |
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 | 9165 fi |
9166 | |
9167 { $as_echo "$as_me:$LINENO: checking for void * support" >&5 | |
6766 $as_echo_n "checking for void * support... " >&6; } | 9168 $as_echo_n "checking for void * support... " >&6; } |
6767 if test "${emacs_cv_void_star+set}" = set; then : | 9169 if test "${emacs_cv_void_star+set}" = set; then |
6768 $as_echo_n "(cached) " >&6 | 9170 $as_echo_n "(cached) " >&6 |
6769 else | 9171 else |
6770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9172 cat >conftest.$ac_ext <<_ACEOF |
9173 /* confdefs.h. */ | |
9174 _ACEOF | |
9175 cat confdefs.h >>conftest.$ac_ext | |
9176 cat >>conftest.$ac_ext <<_ACEOF | |
6771 /* end confdefs.h. */ | 9177 /* end confdefs.h. */ |
6772 | 9178 |
6773 int | 9179 int |
6774 main () | 9180 main () |
6775 { | 9181 { |
6776 void * foo; | 9182 void * foo; |
6777 ; | 9183 ; |
6778 return 0; | 9184 return 0; |
6779 } | 9185 } |
6780 _ACEOF | 9186 _ACEOF |
6781 if ac_fn_c_try_compile "$LINENO"; then : | 9187 rm -f conftest.$ac_objext |
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 | |
6782 emacs_cv_void_star=yes | 9205 emacs_cv_void_star=yes |
6783 else | 9206 else |
6784 emacs_cv_void_star=no | 9207 $as_echo "$as_me: failed program was:" >&5 |
6785 fi | 9208 sed 's/^/| /' conftest.$ac_ext >&5 |
9209 | |
9210 emacs_cv_void_star=no | |
9211 fi | |
9212 | |
6786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6787 fi | 9214 fi |
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5 | 9215 { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 |
6789 $as_echo "$emacs_cv_void_star" >&6; } | 9216 $as_echo "$emacs_cv_void_star" >&6; } |
6790 if test $emacs_cv_void_star = yes; then | 9217 if test $emacs_cv_void_star = yes; then |
6791 $as_echo "#define POINTER_TYPE void" >>confdefs.h | 9218 cat >>confdefs.h <<\_ACEOF |
6792 | 9219 #define POINTER_TYPE void |
6793 else | 9220 _ACEOF |
6794 $as_echo "#define POINTER_TYPE char" >>confdefs.h | 9221 |
6795 | 9222 else |
6796 fi | 9223 cat >>confdefs.h <<\_ACEOF |
6797 | 9224 #define POINTER_TYPE char |
6798 | 9225 _ACEOF |
6799 | 9226 |
6800 | 9227 fi |
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 9228 |
9229 | |
9230 | |
9231 | |
9232 | |
9233 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
6802 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 9234 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6803 set x ${MAKE-make} | 9235 set x ${MAKE-make} |
6804 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 9236 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6805 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 9237 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
6806 $as_echo_n "(cached) " >&6 | 9238 $as_echo_n "(cached) " >&6 |
6807 else | 9239 else |
6808 cat >conftest.make <<\_ACEOF | 9240 cat >conftest.make <<\_ACEOF |
6809 SHELL = /bin/sh | 9241 SHELL = /bin/sh |
6810 all: | 9242 all: |
6818 eval ac_cv_prog_make_${ac_make}_set=no;; | 9250 eval ac_cv_prog_make_${ac_make}_set=no;; |
6819 esac | 9251 esac |
6820 rm -f conftest.make | 9252 rm -f conftest.make |
6821 fi | 9253 fi |
6822 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 9254 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9255 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
6824 $as_echo "yes" >&6; } | 9256 $as_echo "yes" >&6; } |
6825 SET_MAKE= | 9257 SET_MAKE= |
6826 else | 9258 else |
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9259 { $as_echo "$as_me:$LINENO: result: no" >&5 |
6828 $as_echo "no" >&6; } | 9260 $as_echo "no" >&6; } |
6829 SET_MAKE="MAKE=${MAKE-make}" | 9261 SET_MAKE="MAKE=${MAKE-make}" |
6830 fi | 9262 fi |
6831 | 9263 |
6832 | 9264 |
6833 if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then | 9265 if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then |
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5 | 9266 { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5 |
6835 $as_echo_n "checking whether we are using GNU Make... " >&6; } | 9267 $as_echo_n "checking whether we are using GNU Make... " >&6; } |
6836 HAVE_GNU_MAKE=no | 9268 HAVE_GNU_MAKE=no |
6837 testval=`make --version 2>/dev/null | grep 'GNU Make'` | 9269 testval=`make --version 2>/dev/null | grep 'GNU Make'` |
6838 if test "x$testval" != x; then | 9270 if test "x$testval" != x; then |
6839 HAVE_GNU_MAKE=yes | 9271 HAVE_GNU_MAKE=yes |
6840 else | 9272 else |
6841 ac_enable_autodepend=no | 9273 ac_enable_autodepend=no |
6842 fi | 9274 fi |
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5 | 9275 { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5 |
6844 $as_echo "$HAVE_GNU_MAKE" >&6; } | 9276 $as_echo "$HAVE_GNU_MAKE" >&6; } |
6845 if test $HAVE_GNU_MAKE = yes; then | 9277 if test $HAVE_GNU_MAKE = yes; then |
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 | 9278 { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5 |
6847 $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } | 9279 $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } |
6848 SAVE_CFLAGS="$CFLAGS" | 9280 SAVE_CFLAGS="$CFLAGS" |
6849 CFLAGS="$CFLAGS -MMD -MF deps.d" | 9281 CFLAGS="$CFLAGS -MMD -MF deps.d" |
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9282 cat >conftest.$ac_ext <<_ACEOF |
9283 /* confdefs.h. */ | |
9284 _ACEOF | |
9285 cat confdefs.h >>conftest.$ac_ext | |
9286 cat >>conftest.$ac_ext <<_ACEOF | |
6851 /* end confdefs.h. */ | 9287 /* end confdefs.h. */ |
6852 | 9288 |
6853 int | 9289 int |
6854 main () | 9290 main () |
6855 { | 9291 { |
6856 | 9292 |
6857 ; | 9293 ; |
6858 return 0; | 9294 return 0; |
6859 } | 9295 } |
6860 _ACEOF | 9296 _ACEOF |
6861 if ac_fn_c_try_compile "$LINENO"; then : | 9297 rm -f conftest.$ac_objext |
6862 | 9298 if { (ac_try="$ac_compile" |
6863 else | 9299 case "(($ac_try" in |
6864 ac_enable_autodepend=no | 9300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6865 fi | 9301 *) ac_try_echo=$ac_try;; |
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 | |
6866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6867 CFLAGS="$SAVE_CFLAGS" | 9324 CFLAGS="$SAVE_CFLAGS" |
6868 test -f deps.d || ac_enable_autodepend=no | 9325 test -f deps.d || ac_enable_autodepend=no |
6869 rm -rf deps.d | 9326 rm -rf deps.d |
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5 | 9327 { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5 |
6871 $as_echo "$ac_enable_autodepend" >&6; } | 9328 $as_echo "$ac_enable_autodepend" >&6; } |
6872 fi | 9329 fi |
6873 if test $ac_enable_autodepend = yes; then | 9330 if test $ac_enable_autodepend = yes; then |
6874 | 9331 |
6875 $as_echo "#define AUTO_DEPEND 1" >>confdefs.h | 9332 cat >>confdefs.h <<\_ACEOF |
9333 #define AUTO_DEPEND 1 | |
9334 _ACEOF | |
6876 | 9335 |
6877 fi | 9336 fi |
6878 fi | 9337 fi |
6879 | 9338 |
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 | 9339 { $as_echo "$as_me:$LINENO: checking for long file names" >&5 |
6881 $as_echo_n "checking for long file names... " >&6; } | 9340 $as_echo_n "checking for long file names... " >&6; } |
6882 if test "${ac_cv_sys_long_file_names+set}" = set; then : | 9341 if test "${ac_cv_sys_long_file_names+set}" = set; then |
6883 $as_echo_n "(cached) " >&6 | 9342 $as_echo_n "(cached) " >&6 |
6884 else | 9343 else |
6885 ac_cv_sys_long_file_names=yes | 9344 ac_cv_sys_long_file_names=yes |
6886 # Test for long file names in all the places we know might matter: | 9345 # Test for long file names in all the places we know might matter: |
6887 # . the current directory, where building will happen | 9346 # . the current directory, where building will happen |
6907 ac_cv_sys_long_file_names=no | 9366 ac_cv_sys_long_file_names=no |
6908 rm -f -r "$ac_xdir" 2>/dev/null | 9367 rm -f -r "$ac_xdir" 2>/dev/null |
6909 test $ac_cv_sys_long_file_names = no && break | 9368 test $ac_cv_sys_long_file_names = no && break |
6910 done | 9369 done |
6911 fi | 9370 fi |
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 | 9371 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 |
6913 $as_echo "$ac_cv_sys_long_file_names" >&6; } | 9372 $as_echo "$ac_cv_sys_long_file_names" >&6; } |
6914 if test $ac_cv_sys_long_file_names = yes; then | 9373 if test $ac_cv_sys_long_file_names = yes; then |
6915 | 9374 |
6916 $as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h | 9375 cat >>confdefs.h <<\_ACEOF |
9376 #define HAVE_LONG_FILE_NAMES 1 | |
9377 _ACEOF | |
6917 | 9378 |
6918 fi | 9379 fi |
6919 | 9380 |
6920 | 9381 |
6921 #### Choose a window system. | 9382 #### Choose a window system. |
6922 | 9383 |
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 | 9384 { $as_echo "$as_me:$LINENO: checking for X" >&5 |
6924 $as_echo_n "checking for X... " >&6; } | 9385 $as_echo_n "checking for X... " >&6; } |
6925 | 9386 |
6926 | 9387 |
6927 # Check whether --with-x was given. | 9388 # Check whether --with-x was given. |
6928 if test "${with_x+set}" = set; then : | 9389 if test "${with_x+set}" = set; then |
6929 withval=$with_x; | 9390 withval=$with_x; |
6930 fi | 9391 fi |
6931 | 9392 |
6932 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. | 9393 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
6933 if test "x$with_x" = xno; then | 9394 if test "x$with_x" = xno; then |
6934 # The user explicitly disabled X. | 9395 # The user explicitly disabled X. |
6935 have_x=disabled | 9396 have_x=disabled |
6936 else | 9397 else |
6937 case $x_includes,$x_libraries in #( | 9398 case $x_includes,$x_libraries in #( |
6938 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( | 9399 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
6939 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 9400 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
9401 { (exit 1); exit 1; }; };; #( | |
9402 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then | |
6940 $as_echo_n "(cached) " >&6 | 9403 $as_echo_n "(cached) " >&6 |
6941 else | 9404 else |
6942 # One or both of the vars are not set, and there is no cached value. | 9405 # One or both of the vars are not set, and there is no cached value. |
6943 ac_x_includes=no ac_x_libraries=no | 9406 ac_x_includes=no ac_x_libraries=no |
6944 rm -f -r conftest.dir | 9407 rm -f -r conftest.dir |
6970 case $ac_im_incroot in | 9433 case $ac_im_incroot in |
6971 /usr/include) ac_x_includes= ;; | 9434 /usr/include) ac_x_includes= ;; |
6972 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 9435 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
6973 esac | 9436 esac |
6974 case $ac_im_usrlibdir in | 9437 case $ac_im_usrlibdir in |
6975 /usr/lib | /usr/lib64 | /lib | /lib64) ;; | 9438 /usr/lib | /lib) ;; |
6976 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 9439 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
6977 esac | 9440 esac |
6978 fi | 9441 fi |
6979 cd .. | 9442 cd .. |
6980 rm -f -r conftest.dir | 9443 rm -f -r conftest.dir |
6982 | 9445 |
6983 # Standard set of common directories for X headers. | 9446 # Standard set of common directories for X headers. |
6984 # Check X11 before X11Rn because it is often a symlink to the current release. | 9447 # Check X11 before X11Rn because it is often a symlink to the current release. |
6985 ac_x_header_dirs=' | 9448 ac_x_header_dirs=' |
6986 /usr/X11/include | 9449 /usr/X11/include |
6987 /usr/X11R7/include | |
6988 /usr/X11R6/include | 9450 /usr/X11R6/include |
6989 /usr/X11R5/include | 9451 /usr/X11R5/include |
6990 /usr/X11R4/include | 9452 /usr/X11R4/include |
6991 | 9453 |
6992 /usr/include/X11 | 9454 /usr/include/X11 |
6993 /usr/include/X11R7 | |
6994 /usr/include/X11R6 | 9455 /usr/include/X11R6 |
6995 /usr/include/X11R5 | 9456 /usr/include/X11R5 |
6996 /usr/include/X11R4 | 9457 /usr/include/X11R4 |
6997 | 9458 |
6998 /usr/local/X11/include | 9459 /usr/local/X11/include |
6999 /usr/local/X11R7/include | |
7000 /usr/local/X11R6/include | 9460 /usr/local/X11R6/include |
7001 /usr/local/X11R5/include | 9461 /usr/local/X11R5/include |
7002 /usr/local/X11R4/include | 9462 /usr/local/X11R4/include |
7003 | 9463 |
7004 /usr/local/include/X11 | 9464 /usr/local/include/X11 |
7005 /usr/local/include/X11R7 | |
7006 /usr/local/include/X11R6 | 9465 /usr/local/include/X11R6 |
7007 /usr/local/include/X11R5 | 9466 /usr/local/include/X11R5 |
7008 /usr/local/include/X11R4 | 9467 /usr/local/include/X11R4 |
7009 | 9468 |
7010 /usr/X386/include | 9469 /usr/X386/include |
7022 /usr/openwin/share/include' | 9481 /usr/openwin/share/include' |
7023 | 9482 |
7024 if test "$ac_x_includes" = no; then | 9483 if test "$ac_x_includes" = no; then |
7025 # Guess where to find include files, by looking for Xlib.h. | 9484 # Guess where to find include files, by looking for Xlib.h. |
7026 # First, try using that file with no special directory specified. | 9485 # First, try using that file with no special directory specified. |
7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9486 cat >conftest.$ac_ext <<_ACEOF |
9487 /* confdefs.h. */ | |
9488 _ACEOF | |
9489 cat confdefs.h >>conftest.$ac_ext | |
9490 cat >>conftest.$ac_ext <<_ACEOF | |
7028 /* end confdefs.h. */ | 9491 /* end confdefs.h. */ |
7029 #include <X11/Xlib.h> | 9492 #include <X11/Xlib.h> |
7030 _ACEOF | 9493 _ACEOF |
7031 if ac_fn_c_try_cpp "$LINENO"; then : | 9494 if { (ac_try="$ac_cpp conftest.$ac_ext" |
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 | |
7032 # We can compile using X headers with no special include directory. | 9511 # We can compile using X headers with no special include directory. |
7033 ac_x_includes= | 9512 ac_x_includes= |
7034 else | 9513 else |
9514 $as_echo "$as_me: failed program was:" >&5 | |
9515 sed 's/^/| /' conftest.$ac_ext >&5 | |
9516 | |
7035 for ac_dir in $ac_x_header_dirs; do | 9517 for ac_dir in $ac_x_header_dirs; do |
7036 if test -r "$ac_dir/X11/Xlib.h"; then | 9518 if test -r "$ac_dir/X11/Xlib.h"; then |
7037 ac_x_includes=$ac_dir | 9519 ac_x_includes=$ac_dir |
7038 break | 9520 break |
7039 fi | 9521 fi |
7040 done | 9522 done |
7041 fi | 9523 fi |
9524 | |
7042 rm -f conftest.err conftest.$ac_ext | 9525 rm -f conftest.err conftest.$ac_ext |
7043 fi # $ac_x_includes = no | 9526 fi # $ac_x_includes = no |
7044 | 9527 |
7045 if test "$ac_x_libraries" = no; then | 9528 if test "$ac_x_libraries" = no; then |
7046 # Check for the libraries. | 9529 # Check for the libraries. |
7047 # See if we find them without any special options. | 9530 # See if we find them without any special options. |
7048 # Don't add to $LIBS permanently. | 9531 # Don't add to $LIBS permanently. |
7049 ac_save_LIBS=$LIBS | 9532 ac_save_LIBS=$LIBS |
7050 LIBS="-lX11 $LIBS" | 9533 LIBS="-lX11 $LIBS" |
7051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9534 cat >conftest.$ac_ext <<_ACEOF |
9535 /* confdefs.h. */ | |
9536 _ACEOF | |
9537 cat confdefs.h >>conftest.$ac_ext | |
9538 cat >>conftest.$ac_ext <<_ACEOF | |
7052 /* end confdefs.h. */ | 9539 /* end confdefs.h. */ |
7053 #include <X11/Xlib.h> | 9540 #include <X11/Xlib.h> |
7054 int | 9541 int |
7055 main () | 9542 main () |
7056 { | 9543 { |
7057 XrmInitialize () | 9544 XrmInitialize () |
7058 ; | 9545 ; |
7059 return 0; | 9546 return 0; |
7060 } | 9547 } |
7061 _ACEOF | 9548 _ACEOF |
7062 if ac_fn_c_try_link "$LINENO"; then : | 9549 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
7063 LIBS=$ac_save_LIBS | 9570 LIBS=$ac_save_LIBS |
7064 # We can link X programs with no special library path. | 9571 # We can link X programs with no special library path. |
7065 ac_x_libraries= | 9572 ac_x_libraries= |
7066 else | 9573 else |
7067 LIBS=$ac_save_LIBS | 9574 $as_echo "$as_me: failed program was:" >&5 |
9575 sed 's/^/| /' conftest.$ac_ext >&5 | |
9576 | |
9577 LIBS=$ac_save_LIBS | |
7068 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 9578 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
7069 do | 9579 do |
7070 # Don't even attempt the hair of trying to link an X program! | 9580 # Don't even attempt the hair of trying to link an X program! |
7071 for ac_extension in a so sl dylib la dll; do | 9581 for ac_extension in a so sl dylib la dll; do |
7072 if test -r "$ac_dir/libX11.$ac_extension"; then | 9582 if test -r "$ac_dir/libX11.$ac_extension"; then |
7074 break 2 | 9584 break 2 |
7075 fi | 9585 fi |
7076 done | 9586 done |
7077 done | 9587 done |
7078 fi | 9588 fi |
7079 rm -f core conftest.err conftest.$ac_objext \ | 9589 |
7080 conftest$ac_exeext conftest.$ac_ext | 9590 rm -rf conftest.dSYM |
9591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
9592 conftest$ac_exeext conftest.$ac_ext | |
7081 fi # $ac_x_libraries = no | 9593 fi # $ac_x_libraries = no |
7082 | 9594 |
7083 case $ac_x_includes,$ac_x_libraries in #( | 9595 case $ac_x_includes,$ac_x_libraries in #( |
7084 no,* | *,no | *\'*) | 9596 no,* | *,no | *\'*) |
7085 # Didn't find X, or a directory has "'" in its name. | 9597 # Didn't find X, or a directory has "'" in its name. |
7096 esac | 9608 esac |
7097 eval "$ac_cv_have_x" | 9609 eval "$ac_cv_have_x" |
7098 fi # $with_x != no | 9610 fi # $with_x != no |
7099 | 9611 |
7100 if test "$have_x" != yes; then | 9612 if test "$have_x" != yes; then |
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 | 9613 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 |
7102 $as_echo "$have_x" >&6; } | 9614 $as_echo "$have_x" >&6; } |
7103 no_x=yes | 9615 no_x=yes |
7104 else | 9616 else |
7105 # If each of the values was on the command line, it overrides each guess. | 9617 # If each of the values was on the command line, it overrides each guess. |
7106 test "x$x_includes" = xNONE && x_includes=$ac_x_includes | 9618 test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
7107 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | 9619 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
7108 # Update the cache value to reflect the command line values. | 9620 # Update the cache value to reflect the command line values. |
7109 ac_cv_have_x="have_x=yes\ | 9621 ac_cv_have_x="have_x=yes\ |
7110 ac_x_includes='$x_includes'\ | 9622 ac_x_includes='$x_includes'\ |
7111 ac_x_libraries='$x_libraries'" | 9623 ac_x_libraries='$x_libraries'" |
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 | 9624 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
7113 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } | 9625 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
7114 fi | 9626 fi |
7115 | 9627 |
7116 if test "$no_x" = yes; then | 9628 if test "$no_x" = yes; then |
7117 window_system=none | 9629 window_system=none |
7203 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9715 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
7204 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9716 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
7205 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9717 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
7206 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 9718 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
7207 fi | 9719 fi |
7208 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 9720 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then |
7209 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 9721 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 |
9722 $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | |
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 | |
7210 HAVE_NS=yes | 9848 HAVE_NS=yes |
7211 else | 9849 else |
7212 as_fn_error "\`--with-ns' was specified, but the include | 9850 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include |
7213 files are missing or cannot be compiled." "$LINENO" 5 | 9851 files are missing or cannot be compiled." >&5 |
9852 $as_echo "$as_me: error: \`--with-ns' was specified, but the include | |
9853 files are missing or cannot be compiled." >&2;} | |
9854 { (exit 1); exit 1; }; } | |
7214 fi | 9855 fi |
7215 | 9856 |
7216 | 9857 |
7217 NS_HAVE_NSINTEGER=yes | 9858 NS_HAVE_NSINTEGER=yes |
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9859 cat >conftest.$ac_ext <<_ACEOF |
9860 /* confdefs.h. */ | |
9861 _ACEOF | |
9862 cat confdefs.h >>conftest.$ac_ext | |
9863 cat >>conftest.$ac_ext <<_ACEOF | |
7219 /* end confdefs.h. */ | 9864 /* end confdefs.h. */ |
7220 #include <Foundation/NSObjCRuntime.h> | 9865 #include <Foundation/NSObjCRuntime.h> |
7221 int | 9866 int |
7222 main () | 9867 main () |
7223 { | 9868 { |
7224 NSInteger i; | 9869 NSInteger i; |
7225 ; | 9870 ; |
7226 return 0; | 9871 return 0; |
7227 } | 9872 } |
7228 _ACEOF | 9873 _ACEOF |
7229 if ac_fn_c_try_compile "$LINENO"; then : | 9874 rm -f conftest.$ac_objext |
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 | |
7230 ns_have_nsinteger=yes | 9892 ns_have_nsinteger=yes |
7231 else | 9893 else |
7232 ns_have_nsinteger=no | 9894 $as_echo "$as_me: failed program was:" >&5 |
7233 fi | 9895 sed 's/^/| /' conftest.$ac_ext >&5 |
9896 | |
9897 ns_have_nsinteger=no | |
9898 fi | |
9899 | |
7234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7235 if test $ns_have_nsinteger = no; then | 9901 if test $ns_have_nsinteger = no; then |
7236 NS_HAVE_NSINTEGER=no | 9902 NS_HAVE_NSINTEGER=no |
7237 fi | 9903 fi |
7238 fi | 9904 fi |
7270 esac | 9936 esac |
7271 | 9937 |
7272 if test "$window_system" = none && test "X$with_x" != "Xno"; then | 9938 if test "$window_system" = none && test "X$with_x" != "Xno"; then |
7273 # Extract the first word of "X", so it can be a program name with args. | 9939 # Extract the first word of "X", so it can be a program name with args. |
7274 set dummy X; ac_word=$2 | 9940 set dummy X; ac_word=$2 |
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9941 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7276 $as_echo_n "checking for $ac_word... " >&6; } | 9942 $as_echo_n "checking for $ac_word... " >&6; } |
7277 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : | 9943 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then |
7278 $as_echo_n "(cached) " >&6 | 9944 $as_echo_n "(cached) " >&6 |
7279 else | 9945 else |
7280 if test -n "$HAVE_XSERVER"; then | 9946 if test -n "$HAVE_XSERVER"; then |
7281 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. | 9947 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. |
7282 else | 9948 else |
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7284 for as_dir in $PATH | 9950 for as_dir in $PATH |
7285 do | 9951 do |
7286 IFS=$as_save_IFS | 9952 IFS=$as_save_IFS |
7287 test -z "$as_dir" && as_dir=. | 9953 test -z "$as_dir" && as_dir=. |
7288 for ac_exec_ext in '' $ac_executable_extensions; do | 9954 for ac_exec_ext in '' $ac_executable_extensions; do |
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7290 ac_cv_prog_HAVE_XSERVER="true" | 9956 ac_cv_prog_HAVE_XSERVER="true" |
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9957 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7292 break 2 | 9958 break 2 |
7293 fi | 9959 fi |
7294 done | 9960 done |
7295 done | 9961 done |
7296 IFS=$as_save_IFS | 9962 IFS=$as_save_IFS |
7297 | 9963 |
7298 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" | 9964 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" |
7299 fi | 9965 fi |
7300 fi | 9966 fi |
7301 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER | 9967 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER |
7302 if test -n "$HAVE_XSERVER"; then | 9968 if test -n "$HAVE_XSERVER"; then |
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5 | 9969 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 |
7304 $as_echo "$HAVE_XSERVER" >&6; } | 9970 $as_echo "$HAVE_XSERVER" >&6; } |
7305 else | 9971 else |
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9972 { $as_echo "$as_me:$LINENO: result: no" >&5 |
7307 $as_echo "no" >&6; } | 9973 $as_echo "no" >&6; } |
7308 fi | 9974 fi |
7309 | 9975 |
7310 | 9976 |
7311 if test "$HAVE_XSERVER" = true || | 9977 if test "$HAVE_XSERVER" = true || |
7312 test -n "$DISPLAY" || | 9978 test -n "$DISPLAY" || |
7313 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 9979 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
7314 as_fn_error "You seem to be running X, but no X development libraries | 9980 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries |
7315 were found. You should install the relevant development files for X | 9981 were found. You should install the relevant development files for X |
7316 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 9982 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
7317 sure you have development files for image handling, i.e. | 9983 sure you have development files for image handling, i.e. |
7318 tiff, gif, jpeg, png and xpm. | 9984 tiff, gif, jpeg, png and xpm. |
7319 If you are sure you want Emacs compiled without X window support, pass | 9985 If you are sure you want Emacs compiled without X window support, pass |
7320 --without-x | 9986 --without-x |
7321 to configure." "$LINENO" 5 | 9987 to configure." >&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; }; } | |
7322 fi | 9997 fi |
7323 fi | 9998 fi |
7324 | 9999 |
7325 ### If we're using X11, we should use the X menu package. | 10000 ### If we're using X11, we should use the X menu package. |
7326 HAVE_MENUS=no | 10001 HAVE_MENUS=no |
7330 | 10005 |
7331 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 10006 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
7332 # Assume not, until told otherwise. | 10007 # Assume not, until told otherwise. |
7333 GNU_MALLOC=yes | 10008 GNU_MALLOC=yes |
7334 doug_lea_malloc=yes | 10009 doug_lea_malloc=yes |
7335 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" | 10010 { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 |
7336 if test "x$ac_cv_func_malloc_get_state" = x""yes; then : | 10011 $as_echo_n "checking for malloc_get_state... " >&6; } |
7337 | 10012 if test "${ac_cv_func_malloc_get_state+set}" = set; then |
10013 $as_echo_n "(cached) " >&6 | |
10014 else | |
10015 cat >conftest.$ac_ext <<_ACEOF | |
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 : | |
7338 else | 10097 else |
7339 doug_lea_malloc=no | 10098 doug_lea_malloc=no |
7340 fi | 10099 fi |
7341 | 10100 |
7342 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" | 10101 { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 |
7343 if test "x$ac_cv_func_malloc_set_state" = x""yes; then : | 10102 $as_echo_n "checking for malloc_set_state... " >&6; } |
7344 | 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 : | |
7345 else | 10188 else |
7346 doug_lea_malloc=no | 10189 doug_lea_malloc=no |
7347 fi | 10190 fi |
7348 | 10191 |
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 | 10192 { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 |
7350 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } | 10193 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } |
7351 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : | 10194 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
7352 $as_echo_n "(cached) " >&6 | 10195 $as_echo_n "(cached) " >&6 |
7353 else | 10196 else |
7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10197 cat >conftest.$ac_ext <<_ACEOF |
10198 /* confdefs.h. */ | |
10199 _ACEOF | |
10200 cat confdefs.h >>conftest.$ac_ext | |
10201 cat >>conftest.$ac_ext <<_ACEOF | |
7355 /* end confdefs.h. */ | 10202 /* end confdefs.h. */ |
7356 extern void (* __after_morecore_hook)(); | 10203 extern void (* __after_morecore_hook)(); |
7357 int | 10204 int |
7358 main () | 10205 main () |
7359 { | 10206 { |
7360 __after_morecore_hook = 0 | 10207 __after_morecore_hook = 0 |
7361 ; | 10208 ; |
7362 return 0; | 10209 return 0; |
7363 } | 10210 } |
7364 _ACEOF | 10211 _ACEOF |
7365 if ac_fn_c_try_link "$LINENO"; then : | 10212 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
7366 emacs_cv_var___after_morecore_hook=yes | 10233 emacs_cv_var___after_morecore_hook=yes |
7367 else | 10234 else |
7368 emacs_cv_var___after_morecore_hook=no | 10235 $as_echo "$as_me: failed program was:" >&5 |
7369 fi | 10236 sed 's/^/| /' conftest.$ac_ext >&5 |
7370 rm -f core conftest.err conftest.$ac_objext \ | 10237 |
7371 conftest$ac_exeext conftest.$ac_ext | 10238 emacs_cv_var___after_morecore_hook=no |
7372 fi | 10239 fi |
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5 | 10240 |
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 | |
7374 $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } | 10246 $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } |
7375 if test $emacs_cv_var___after_morecore_hook = no; then | 10247 if test $emacs_cv_var___after_morecore_hook = no; then |
7376 doug_lea_malloc=no | 10248 doug_lea_malloc=no |
7377 fi | 10249 fi |
7378 if test "${system_malloc}" = "yes"; then | 10250 if test "${system_malloc}" = "yes"; then |
7384 if test "$GNU_MALLOC" = yes ; then | 10256 if test "$GNU_MALLOC" = yes ; then |
7385 GNU_MALLOC_reason=" | 10257 GNU_MALLOC_reason=" |
7386 (Using Doug Lea's new malloc from the GNU C Library.)" | 10258 (Using Doug Lea's new malloc from the GNU C Library.)" |
7387 fi | 10259 fi |
7388 | 10260 |
7389 $as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h | 10261 cat >>confdefs.h <<\_ACEOF |
10262 #define DOUG_LEA_MALLOC 1 | |
10263 _ACEOF | |
7390 | 10264 |
7391 fi | 10265 fi |
7392 | 10266 |
7393 if test x"${REL_ALLOC}" = x; then | 10267 if test x"${REL_ALLOC}" = x; then |
7394 REL_ALLOC=${GNU_MALLOC} | 10268 REL_ALLOC=${GNU_MALLOC} |
7395 fi | 10269 fi |
7396 | 10270 |
7397 | 10271 |
7398 | 10272 |
7399 | 10273 |
7400 | 10274 for ac_header in stdlib.h unistd.h |
7401 for ac_header in $ac_header_list | 10275 do |
7402 do : | 10276 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7404 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 10278 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7405 " | 10279 $as_echo_n "checking for $ac_header... " >&6; } |
7406 eval as_val=\$$as_ac_Header | 10280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7407 if test "x$as_val" = x""yes; then : | 10281 $as_echo_n "(cached) " >&6 |
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 | |
7408 cat >>confdefs.h <<_ACEOF | 10410 cat >>confdefs.h <<_ACEOF |
7409 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7410 _ACEOF | 10412 _ACEOF |
7411 | 10413 |
7412 fi | 10414 fi |
7413 | 10415 |
7414 done | 10416 done |
7415 | 10417 |
7416 | 10418 |
7417 | |
7418 | |
7419 | |
7420 | |
7421 | |
7422 | |
7423 for ac_func in getpagesize | 10419 for ac_func in getpagesize |
7424 do : | 10420 do |
7425 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" | 10421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7426 if test "x$ac_cv_func_getpagesize" = x""yes; then : | 10422 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10423 $as_echo_n "checking for $ac_func... " >&6; } | |
10424 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
10425 $as_echo_n "(cached) " >&6 | |
10426 else | |
10427 cat >conftest.$ac_ext <<_ACEOF | |
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 | |
7427 cat >>confdefs.h <<_ACEOF | 10511 cat >>confdefs.h <<_ACEOF |
7428 #define HAVE_GETPAGESIZE 1 | 10512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7429 _ACEOF | 10513 _ACEOF |
7430 | 10514 |
7431 fi | 10515 fi |
7432 done | 10516 done |
7433 | 10517 |
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 | 10518 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5 |
7435 $as_echo_n "checking for working mmap... " >&6; } | 10519 $as_echo_n "checking for working mmap... " >&6; } |
7436 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : | 10520 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
7437 $as_echo_n "(cached) " >&6 | 10521 $as_echo_n "(cached) " >&6 |
7438 else | 10522 else |
7439 if test "$cross_compiling" = yes; then : | 10523 if test "$cross_compiling" = yes; then |
7440 ac_cv_func_mmap_fixed_mapped=no | 10524 ac_cv_func_mmap_fixed_mapped=no |
7441 else | 10525 else |
7442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10526 cat >conftest.$ac_ext <<_ACEOF |
10527 /* confdefs.h. */ | |
10528 _ACEOF | |
10529 cat confdefs.h >>conftest.$ac_ext | |
10530 cat >>conftest.$ac_ext <<_ACEOF | |
7443 /* end confdefs.h. */ | 10531 /* end confdefs.h. */ |
7444 $ac_includes_default | 10532 $ac_includes_default |
7445 /* malloc might have been renamed as rpl_malloc. */ | 10533 /* malloc might have been renamed as rpl_malloc. */ |
7446 #undef malloc | 10534 #undef malloc |
7447 | 10535 |
7474 char *malloc (); | 10562 char *malloc (); |
7475 #endif | 10563 #endif |
7476 | 10564 |
7477 /* This mess was copied from the GNU getpagesize.h. */ | 10565 /* This mess was copied from the GNU getpagesize.h. */ |
7478 #ifndef HAVE_GETPAGESIZE | 10566 #ifndef HAVE_GETPAGESIZE |
10567 /* Assume that all systems that can run configure have sys/param.h. */ | |
10568 # ifndef HAVE_SYS_PARAM_H | |
10569 # define HAVE_SYS_PARAM_H 1 | |
10570 # endif | |
10571 | |
7479 # ifdef _SC_PAGESIZE | 10572 # ifdef _SC_PAGESIZE |
7480 # define getpagesize() sysconf(_SC_PAGESIZE) | 10573 # define getpagesize() sysconf(_SC_PAGESIZE) |
7481 # else /* no _SC_PAGESIZE */ | 10574 # else /* no _SC_PAGESIZE */ |
7482 # ifdef HAVE_SYS_PARAM_H | 10575 # ifdef HAVE_SYS_PARAM_H |
7483 # include <sys/param.h> | 10576 # include <sys/param.h> |
7509 int | 10602 int |
7510 main () | 10603 main () |
7511 { | 10604 { |
7512 char *data, *data2, *data3; | 10605 char *data, *data2, *data3; |
7513 int i, pagesize; | 10606 int i, pagesize; |
7514 int fd, fd2; | 10607 int fd; |
7515 | 10608 |
7516 pagesize = getpagesize (); | 10609 pagesize = getpagesize (); |
7517 | 10610 |
7518 /* First, make a file with some known garbage in it. */ | 10611 /* First, make a file with some known garbage in it. */ |
7519 data = (char *) malloc (pagesize); | 10612 data = (char *) malloc (pagesize); |
7522 for (i = 0; i < pagesize; ++i) | 10615 for (i = 0; i < pagesize; ++i) |
7523 *(data + i) = rand (); | 10616 *(data + i) = rand (); |
7524 umask (0); | 10617 umask (0); |
7525 fd = creat ("conftest.mmap", 0600); | 10618 fd = creat ("conftest.mmap", 0600); |
7526 if (fd < 0) | 10619 if (fd < 0) |
7527 return 2; | 10620 return 1; |
7528 if (write (fd, data, pagesize) != pagesize) | 10621 if (write (fd, data, pagesize) != pagesize) |
7529 return 3; | 10622 return 1; |
7530 close (fd); | 10623 close (fd); |
7531 | |
7532 /* Next, check that the tail of a page is zero-filled. File must have | |
7533 non-zero length, otherwise we risk SIGBUS for entire page. */ | |
7534 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | |
7535 if (fd2 < 0) | |
7536 return 4; | |
7537 data2 = ""; | |
7538 if (write (fd2, data2, 1) != 1) | |
7539 return 5; | |
7540 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | |
7541 if (data2 == MAP_FAILED) | |
7542 return 6; | |
7543 for (i = 0; i < pagesize; ++i) | |
7544 if (*(data2 + i)) | |
7545 return 7; | |
7546 close (fd2); | |
7547 if (munmap (data2, pagesize)) | |
7548 return 8; | |
7549 | 10624 |
7550 /* Next, try to mmap the file at a fixed address which already has | 10625 /* Next, try to mmap the file at a fixed address which already has |
7551 something else allocated at it. If we can, also make sure that | 10626 something else allocated at it. If we can, also make sure that |
7552 we see the same garbage. */ | 10627 we see the same garbage. */ |
7553 fd = open ("conftest.mmap", O_RDWR); | 10628 fd = open ("conftest.mmap", O_RDWR); |
7554 if (fd < 0) | 10629 if (fd < 0) |
7555 return 9; | 10630 return 1; |
10631 data2 = (char *) malloc (2 * pagesize); | |
10632 if (!data2) | |
10633 return 1; | |
10634 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); | |
7556 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 10635 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
7557 MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 10636 MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
7558 return 10; | 10637 return 1; |
7559 for (i = 0; i < pagesize; ++i) | 10638 for (i = 0; i < pagesize; ++i) |
7560 if (*(data + i) != *(data2 + i)) | 10639 if (*(data + i) != *(data2 + i)) |
7561 return 11; | 10640 return 1; |
7562 | 10641 |
7563 /* Finally, make sure that changes to the mapped area do not | 10642 /* Finally, make sure that changes to the mapped area do not |
7564 percolate back to the file as seen by read(). (This is a bug on | 10643 percolate back to the file as seen by read(). (This is a bug on |
7565 some variants of i386 svr4.0.) */ | 10644 some variants of i386 svr4.0.) */ |
7566 for (i = 0; i < pagesize; ++i) | 10645 for (i = 0; i < pagesize; ++i) |
7567 *(data2 + i) = *(data2 + i) + 1; | 10646 *(data2 + i) = *(data2 + i) + 1; |
7568 data3 = (char *) malloc (pagesize); | 10647 data3 = (char *) malloc (pagesize); |
7569 if (!data3) | 10648 if (!data3) |
7570 return 12; | 10649 return 1; |
7571 if (read (fd, data3, pagesize) != pagesize) | 10650 if (read (fd, data3, pagesize) != pagesize) |
7572 return 13; | 10651 return 1; |
7573 for (i = 0; i < pagesize; ++i) | 10652 for (i = 0; i < pagesize; ++i) |
7574 if (*(data + i) != *(data3 + i)) | 10653 if (*(data + i) != *(data3 + i)) |
7575 return 14; | 10654 return 1; |
7576 close (fd); | 10655 close (fd); |
7577 return 0; | 10656 return 0; |
7578 } | 10657 } |
7579 _ACEOF | 10658 _ACEOF |
7580 if ac_fn_c_try_run "$LINENO"; then : | 10659 rm -f conftest$ac_exeext |
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 | |
7581 ac_cv_func_mmap_fixed_mapped=yes | 10681 ac_cv_func_mmap_fixed_mapped=yes |
7582 else | 10682 else |
7583 ac_cv_func_mmap_fixed_mapped=no | 10683 $as_echo "$as_me: program exited with status $ac_status" >&5 |
7584 fi | 10684 $as_echo "$as_me: failed program was:" >&5 |
7585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 10685 sed 's/^/| /' conftest.$ac_ext >&5 |
7586 conftest.$ac_objext conftest.beam conftest.$ac_ext | 10686 |
7587 fi | 10687 ( exit $ac_status ) |
7588 | 10688 ac_cv_func_mmap_fixed_mapped=no |
7589 fi | 10689 fi |
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 10690 rm -rf conftest.dSYM |
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 | |
7591 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } | 10697 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
7592 if test $ac_cv_func_mmap_fixed_mapped = yes; then | 10698 if test $ac_cv_func_mmap_fixed_mapped = yes; then |
7593 | 10699 |
7594 $as_echo "#define HAVE_MMAP 1" >>confdefs.h | 10700 cat >>confdefs.h <<\_ACEOF |
7595 | 10701 #define HAVE_MMAP 1 |
7596 fi | 10702 _ACEOF |
7597 rm -f conftest.mmap conftest.txt | 10703 |
10704 fi | |
10705 rm -f conftest.mmap | |
7598 | 10706 |
7599 if test $use_mmap_for_buffers = yes; then | 10707 if test $use_mmap_for_buffers = yes; then |
7600 REL_ALLOC=no | 10708 REL_ALLOC=no |
7601 fi | 10709 fi |
7602 | 10710 |
7603 LIBS="$libsrc_libs $LIBS" | 10711 LIBS="$libsrc_libs $LIBS" |
7604 | 10712 |
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 | 10713 |
10714 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | |
7606 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | 10715 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
7607 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : | 10716 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
7608 $as_echo_n "(cached) " >&6 | 10717 $as_echo_n "(cached) " >&6 |
7609 else | 10718 else |
7610 ac_check_lib_save_LIBS=$LIBS | 10719 ac_check_lib_save_LIBS=$LIBS |
7611 LIBS="-ldnet $LIBS" | 10720 LIBS="-ldnet $LIBS" |
7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10721 cat >conftest.$ac_ext <<_ACEOF |
10722 /* confdefs.h. */ | |
10723 _ACEOF | |
10724 cat confdefs.h >>conftest.$ac_ext | |
10725 cat >>conftest.$ac_ext <<_ACEOF | |
7613 /* end confdefs.h. */ | 10726 /* end confdefs.h. */ |
7614 | 10727 |
7615 /* Override any GCC internal prototype to avoid an error. | 10728 /* Override any GCC internal prototype to avoid an error. |
7616 Use char because int might match the return type of a GCC | 10729 Use char because int might match the return type of a GCC |
7617 builtin and then its argument prototype would still apply. */ | 10730 builtin and then its argument prototype would still apply. */ |
7625 return dnet_ntoa (); | 10738 return dnet_ntoa (); |
7626 ; | 10739 ; |
7627 return 0; | 10740 return 0; |
7628 } | 10741 } |
7629 _ACEOF | 10742 _ACEOF |
7630 if ac_fn_c_try_link "$LINENO"; then : | 10743 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
7631 ac_cv_lib_dnet_dnet_ntoa=yes | 10764 ac_cv_lib_dnet_dnet_ntoa=yes |
7632 else | 10765 else |
7633 ac_cv_lib_dnet_dnet_ntoa=no | 10766 $as_echo "$as_me: failed program was:" >&5 |
7634 fi | 10767 sed 's/^/| /' conftest.$ac_ext >&5 |
7635 rm -f core conftest.err conftest.$ac_objext \ | 10768 |
7636 conftest$ac_exeext conftest.$ac_ext | 10769 ac_cv_lib_dnet_dnet_ntoa=no |
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 | |
7637 LIBS=$ac_check_lib_save_LIBS | 10775 LIBS=$ac_check_lib_save_LIBS |
7638 fi | 10776 fi |
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 10777 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
7640 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } | 10778 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
7641 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : | 10779 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
7642 cat >>confdefs.h <<_ACEOF | 10780 cat >>confdefs.h <<_ACEOF |
7643 #define HAVE_LIBDNET 1 | 10781 #define HAVE_LIBDNET 1 |
7644 _ACEOF | 10782 _ACEOF |
7645 | 10783 |
7646 LIBS="-ldnet $LIBS" | 10784 LIBS="-ldnet $LIBS" |
7647 | 10785 |
7648 fi | 10786 fi |
7649 | 10787 |
7650 | 10788 |
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 | 10789 { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 |
7652 $as_echo_n "checking for main in -lXbsd... " >&6; } | 10790 $as_echo_n "checking for main in -lXbsd... " >&6; } |
7653 if test "${ac_cv_lib_Xbsd_main+set}" = set; then : | 10791 if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
7654 $as_echo_n "(cached) " >&6 | 10792 $as_echo_n "(cached) " >&6 |
7655 else | 10793 else |
7656 ac_check_lib_save_LIBS=$LIBS | 10794 ac_check_lib_save_LIBS=$LIBS |
7657 LIBS="-lXbsd $LIBS" | 10795 LIBS="-lXbsd $LIBS" |
7658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10796 cat >conftest.$ac_ext <<_ACEOF |
10797 /* confdefs.h. */ | |
10798 _ACEOF | |
10799 cat confdefs.h >>conftest.$ac_ext | |
10800 cat >>conftest.$ac_ext <<_ACEOF | |
7659 /* end confdefs.h. */ | 10801 /* end confdefs.h. */ |
7660 | 10802 |
7661 | 10803 |
7662 int | 10804 int |
7663 main () | 10805 main () |
7665 return main (); | 10807 return main (); |
7666 ; | 10808 ; |
7667 return 0; | 10809 return 0; |
7668 } | 10810 } |
7669 _ACEOF | 10811 _ACEOF |
7670 if ac_fn_c_try_link "$LINENO"; then : | 10812 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
7671 ac_cv_lib_Xbsd_main=yes | 10833 ac_cv_lib_Xbsd_main=yes |
7672 else | 10834 else |
7673 ac_cv_lib_Xbsd_main=no | 10835 $as_echo "$as_me: failed program was:" >&5 |
7674 fi | 10836 sed 's/^/| /' conftest.$ac_ext >&5 |
7675 rm -f core conftest.err conftest.$ac_objext \ | 10837 |
7676 conftest$ac_exeext conftest.$ac_ext | 10838 ac_cv_lib_Xbsd_main=no |
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 | |
7677 LIBS=$ac_check_lib_save_LIBS | 10844 LIBS=$ac_check_lib_save_LIBS |
7678 fi | 10845 fi |
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 | 10846 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 |
7680 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } | 10847 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } |
7681 if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : | 10848 if test $ac_cv_lib_Xbsd_main = yes; then |
7682 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 10849 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
7683 fi | 10850 fi |
7684 | 10851 |
7685 | 10852 |
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 | 10853 |
10854 { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | |
7687 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } | 10855 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
7688 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : | 10856 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
7689 $as_echo_n "(cached) " >&6 | 10857 $as_echo_n "(cached) " >&6 |
7690 else | 10858 else |
7691 ac_check_lib_save_LIBS=$LIBS | 10859 ac_check_lib_save_LIBS=$LIBS |
7692 LIBS="-lpthreads $LIBS" | 10860 LIBS="-lpthreads $LIBS" |
7693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10861 cat >conftest.$ac_ext <<_ACEOF |
10862 /* confdefs.h. */ | |
10863 _ACEOF | |
10864 cat confdefs.h >>conftest.$ac_ext | |
10865 cat >>conftest.$ac_ext <<_ACEOF | |
7694 /* end confdefs.h. */ | 10866 /* end confdefs.h. */ |
7695 | 10867 |
7696 /* Override any GCC internal prototype to avoid an error. | 10868 /* Override any GCC internal prototype to avoid an error. |
7697 Use char because int might match the return type of a GCC | 10869 Use char because int might match the return type of a GCC |
7698 builtin and then its argument prototype would still apply. */ | 10870 builtin and then its argument prototype would still apply. */ |
7706 return cma_open (); | 10878 return cma_open (); |
7707 ; | 10879 ; |
7708 return 0; | 10880 return 0; |
7709 } | 10881 } |
7710 _ACEOF | 10882 _ACEOF |
7711 if ac_fn_c_try_link "$LINENO"; then : | 10883 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
7712 ac_cv_lib_pthreads_cma_open=yes | 10904 ac_cv_lib_pthreads_cma_open=yes |
7713 else | 10905 else |
7714 ac_cv_lib_pthreads_cma_open=no | 10906 $as_echo "$as_me: failed program was:" >&5 |
7715 fi | 10907 sed 's/^/| /' conftest.$ac_ext >&5 |
7716 rm -f core conftest.err conftest.$ac_objext \ | 10908 |
7717 conftest$ac_exeext conftest.$ac_ext | 10909 ac_cv_lib_pthreads_cma_open=no |
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 | |
7718 LIBS=$ac_check_lib_save_LIBS | 10915 LIBS=$ac_check_lib_save_LIBS |
7719 fi | 10916 fi |
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 | 10917 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 |
7721 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } | 10918 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } |
7722 if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : | 10919 if test $ac_cv_lib_pthreads_cma_open = yes; then |
7723 cat >>confdefs.h <<_ACEOF | 10920 cat >>confdefs.h <<_ACEOF |
7724 #define HAVE_LIBPTHREADS 1 | 10921 #define HAVE_LIBPTHREADS 1 |
7725 _ACEOF | 10922 _ACEOF |
7726 | 10923 |
7727 LIBS="-lpthreads $LIBS" | 10924 LIBS="-lpthreads $LIBS" |
7730 | 10927 |
7731 | 10928 |
7732 | 10929 |
7733 case ${host_os} in | 10930 case ${host_os} in |
7734 aix*) | 10931 aix*) |
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 | 10932 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 |
7736 $as_echo_n "checking for -bbigtoc option... " >&6; } | 10933 $as_echo_n "checking for -bbigtoc option... " >&6; } |
7737 if test "${gdb_cv_bigtoc+set}" = set; then : | 10934 if test "${gdb_cv_bigtoc+set}" = set; then |
7738 $as_echo_n "(cached) " >&6 | 10935 $as_echo_n "(cached) " >&6 |
7739 else | 10936 else |
7740 | 10937 |
7741 case $GCC in | 10938 case $GCC in |
7742 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; | 10939 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; |
7743 *) gdb_cv_bigtoc=-bbigtoc ;; | 10940 *) gdb_cv_bigtoc=-bbigtoc ;; |
7744 esac | 10941 esac |
7745 | 10942 |
7746 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc | 10943 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc |
7747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10944 cat >conftest.$ac_ext <<_ACEOF |
10945 /* confdefs.h. */ | |
10946 _ACEOF | |
10947 cat confdefs.h >>conftest.$ac_ext | |
10948 cat >>conftest.$ac_ext <<_ACEOF | |
7748 /* end confdefs.h. */ | 10949 /* end confdefs.h. */ |
7749 | 10950 |
7750 int | 10951 int |
7751 main () | 10952 main () |
7752 { | 10953 { |
7753 int i; | 10954 int i; |
7754 ; | 10955 ; |
7755 return 0; | 10956 return 0; |
7756 } | 10957 } |
7757 _ACEOF | 10958 _ACEOF |
7758 if ac_fn_c_try_link "$LINENO"; then : | 10959 rm -f conftest.$ac_objext conftest$ac_exeext |
7759 | 10960 if { (ac_try="$ac_link" |
7760 else | 10961 case "(($ac_try" in |
7761 gdb_cv_bigtoc= | 10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7762 fi | 10963 *) ac_try_echo=$ac_try;; |
7763 rm -f core conftest.err conftest.$ac_objext \ | 10964 esac |
7764 conftest$ac_exeext conftest.$ac_ext | 10965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7765 | 10966 $as_echo "$ac_try_echo") >&5 |
7766 fi | 10967 (eval "$ac_link") 2>conftest.er1 |
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5 | 10968 ac_status=$? |
10969 grep -v '^ *+' conftest.er1 >conftest.err | |
10970 rm -f conftest.er1 | |
10971 cat conftest.err >&5 | |
10972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10973 (exit $ac_status); } && { | |
10974 test -z "$ac_c_werror_flag" || | |
10975 test ! -s conftest.err | |
10976 } && test -s conftest$ac_exeext && { | |
10977 test "$cross_compiling" = yes || | |
10978 $as_test_x conftest$ac_exeext | |
10979 }; then | |
10980 : | |
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 | |
7768 $as_echo "$gdb_cv_bigtoc" >&6; } | 10994 $as_echo "$gdb_cv_bigtoc" >&6; } |
7769 ;; | 10995 ;; |
7770 esac | 10996 esac |
7771 | 10997 |
7772 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets | 10998 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets |
7790 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH | 11016 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH |
7791 export LD_RUN_PATH | 11017 export LD_RUN_PATH |
7792 fi | 11018 fi |
7793 | 11019 |
7794 if test "${opsys}" = "gnu-linux"; then | 11020 if test "${opsys}" = "gnu-linux"; then |
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5 | 11021 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 |
7796 $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } | 11022 $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } |
7797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11023 cat >conftest.$ac_ext <<_ACEOF |
11024 /* confdefs.h. */ | |
11025 _ACEOF | |
11026 cat confdefs.h >>conftest.$ac_ext | |
11027 cat >>conftest.$ac_ext <<_ACEOF | |
7798 /* end confdefs.h. */ | 11028 /* end confdefs.h. */ |
7799 | 11029 |
7800 int | 11030 int |
7801 main () | 11031 main () |
7802 { | 11032 { |
7803 XOpenDisplay ("foo"); | 11033 XOpenDisplay ("foo"); |
7804 ; | 11034 ; |
7805 return 0; | 11035 return 0; |
7806 } | 11036 } |
7807 _ACEOF | 11037 _ACEOF |
7808 if ac_fn_c_try_link "$LINENO"; then : | 11038 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
7809 xlinux_first_failure=no | 11059 xlinux_first_failure=no |
7810 else | 11060 else |
7811 xlinux_first_failure=yes | 11061 $as_echo "$as_me: failed program was:" >&5 |
7812 fi | 11062 sed 's/^/| /' conftest.$ac_ext >&5 |
7813 rm -f core conftest.err conftest.$ac_objext \ | 11063 |
7814 conftest$ac_exeext conftest.$ac_ext | 11064 xlinux_first_failure=yes |
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 | |
7815 if test "${xlinux_first_failure}" = "yes"; then | 11070 if test "${xlinux_first_failure}" = "yes"; then |
7816 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 11071 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
7817 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" | 11072 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" |
7818 OLD_CPPFLAGS="$CPPFLAGS" | 11073 OLD_CPPFLAGS="$CPPFLAGS" |
7819 OLD_LIBS="$LIBS" | 11074 OLD_LIBS="$LIBS" |
7820 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 11075 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
7821 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 11076 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
7822 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 11077 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
7823 LIBS="$LIBS -b i486-linuxaout" | 11078 LIBS="$LIBS -b i486-linuxaout" |
7824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11079 cat >conftest.$ac_ext <<_ACEOF |
11080 /* confdefs.h. */ | |
11081 _ACEOF | |
11082 cat confdefs.h >>conftest.$ac_ext | |
11083 cat >>conftest.$ac_ext <<_ACEOF | |
7825 /* end confdefs.h. */ | 11084 /* end confdefs.h. */ |
7826 | 11085 |
7827 int | 11086 int |
7828 main () | 11087 main () |
7829 { | 11088 { |
7830 XOpenDisplay ("foo"); | 11089 XOpenDisplay ("foo"); |
7831 ; | 11090 ; |
7832 return 0; | 11091 return 0; |
7833 } | 11092 } |
7834 _ACEOF | 11093 _ACEOF |
7835 if ac_fn_c_try_link "$LINENO"; then : | 11094 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
7836 xlinux_second_failure=no | 11115 xlinux_second_failure=no |
7837 else | 11116 else |
7838 xlinux_second_failure=yes | 11117 $as_echo "$as_me: failed program was:" >&5 |
7839 fi | 11118 sed 's/^/| /' conftest.$ac_ext >&5 |
7840 rm -f core conftest.err conftest.$ac_objext \ | 11119 |
7841 conftest$ac_exeext conftest.$ac_ext | 11120 xlinux_second_failure=yes |
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 | |
7842 if test "${xlinux_second_failure}" = "yes"; then | 11126 if test "${xlinux_second_failure}" = "yes"; then |
7843 # If we get the same failure with -b, there is no use adding -b. | 11127 # If we get the same failure with -b, there is no use adding -b. |
7844 # So take it out. This plays safe. | 11128 # So take it out. This plays safe. |
7845 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" | 11129 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" |
7846 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 11130 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
7847 CPPFLAGS="$OLD_CPPFLAGS" | 11131 CPPFLAGS="$OLD_CPPFLAGS" |
7848 LIBS="$OLD_LIBS" | 11132 LIBS="$OLD_LIBS" |
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11133 { $as_echo "$as_me:$LINENO: result: no" >&5 |
7850 $as_echo "no" >&6; } | 11134 $as_echo "no" >&6; } |
7851 else | 11135 else |
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11136 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
7853 $as_echo "yes" >&6; } | 11137 $as_echo "yes" >&6; } |
7854 fi | 11138 fi |
7855 else | 11139 else |
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11140 { $as_echo "$as_me:$LINENO: result: no" >&5 |
7857 $as_echo "no" >&6; } | 11141 $as_echo "no" >&6; } |
7858 fi | 11142 fi |
7859 fi | 11143 fi |
7860 | 11144 |
7861 # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 11145 # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
7862 # header files included from there. | 11146 # header files included from there. |
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5 | 11147 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 |
7864 $as_echo_n "checking for Xkb... " >&6; } | 11148 $as_echo_n "checking for Xkb... " >&6; } |
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11149 cat >conftest.$ac_ext <<_ACEOF |
11150 /* confdefs.h. */ | |
11151 _ACEOF | |
11152 cat confdefs.h >>conftest.$ac_ext | |
11153 cat >>conftest.$ac_ext <<_ACEOF | |
7866 /* end confdefs.h. */ | 11154 /* end confdefs.h. */ |
7867 #include <X11/Xlib.h> | 11155 #include <X11/Xlib.h> |
7868 #include <X11/XKBlib.h> | 11156 #include <X11/XKBlib.h> |
7869 int | 11157 int |
7870 main () | 11158 main () |
7872 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); | 11160 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); |
7873 ; | 11161 ; |
7874 return 0; | 11162 return 0; |
7875 } | 11163 } |
7876 _ACEOF | 11164 _ACEOF |
7877 if ac_fn_c_try_link "$LINENO"; then : | 11165 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
7878 emacs_xkb=yes | 11186 emacs_xkb=yes |
7879 else | 11187 else |
7880 emacs_xkb=no | 11188 $as_echo "$as_me: failed program was:" >&5 |
7881 fi | 11189 sed 's/^/| /' conftest.$ac_ext >&5 |
7882 rm -f core conftest.err conftest.$ac_objext \ | 11190 |
7883 conftest$ac_exeext conftest.$ac_ext | 11191 emacs_xkb=no |
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5 | 11192 fi |
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 | |
7885 $as_echo "$emacs_xkb" >&6; } | 11198 $as_echo "$emacs_xkb" >&6; } |
7886 if test $emacs_xkb = yes; then | 11199 if test $emacs_xkb = yes; then |
7887 | 11200 |
7888 $as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h | 11201 cat >>confdefs.h <<\_ACEOF |
11202 #define HAVE_XKBGETKEYBOARD 1 | |
11203 _ACEOF | |
7889 | 11204 |
7890 fi | 11205 fi |
7891 | 11206 |
7892 for ac_func in XrmSetDatabase XScreenResourceString \ | 11207 |
11208 | |
11209 | |
11210 | |
11211 for ac_func in XrmSetDatabase XScreenResourceString \ | |
7893 XScreenNumberOfScreen XSetWMProtocols | 11212 XScreenNumberOfScreen XSetWMProtocols |
7894 do : | 11213 do |
7895 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11214 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7896 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11215 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7897 eval as_val=\$$as_ac_var | 11216 $as_echo_n "checking for $ac_func... " >&6; } |
7898 if test "x$as_val" = x""yes; then : | 11217 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; 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 | |
7899 cat >>confdefs.h <<_ACEOF | 11304 cat >>confdefs.h <<_ACEOF |
7900 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7901 _ACEOF | 11306 _ACEOF |
7902 | 11307 |
7903 fi | 11308 fi |
7904 done | 11309 done |
7905 | 11310 |
7906 fi | 11311 fi |
7907 | 11312 |
7908 if test "${window_system}" = "x11"; then | 11313 if test "${window_system}" = "x11"; then |
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 | 11314 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 |
7910 $as_echo_n "checking X11 version 6... " >&6; } | 11315 $as_echo_n "checking X11 version 6... " >&6; } |
7911 if test "${emacs_cv_x11_version_6+set}" = set; then : | 11316 if test "${emacs_cv_x11_version_6+set}" = set; then |
7912 $as_echo_n "(cached) " >&6 | 11317 $as_echo_n "(cached) " >&6 |
7913 else | 11318 else |
7914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11319 cat >conftest.$ac_ext <<_ACEOF |
11320 /* confdefs.h. */ | |
11321 _ACEOF | |
11322 cat confdefs.h >>conftest.$ac_ext | |
11323 cat >>conftest.$ac_ext <<_ACEOF | |
7915 /* end confdefs.h. */ | 11324 /* end confdefs.h. */ |
7916 #include <X11/Xlib.h> | 11325 #include <X11/Xlib.h> |
7917 int | 11326 int |
7918 main () | 11327 main () |
7919 { | 11328 { |
7923 | 11332 |
7924 ; | 11333 ; |
7925 return 0; | 11334 return 0; |
7926 } | 11335 } |
7927 _ACEOF | 11336 _ACEOF |
7928 if ac_fn_c_try_link "$LINENO"; then : | 11337 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
7929 emacs_cv_x11_version_6=yes | 11358 emacs_cv_x11_version_6=yes |
7930 else | 11359 else |
7931 emacs_cv_x11_version_6=no | 11360 $as_echo "$as_me: failed program was:" >&5 |
7932 fi | 11361 sed 's/^/| /' conftest.$ac_ext >&5 |
7933 rm -f core conftest.err conftest.$ac_objext \ | 11362 |
7934 conftest$ac_exeext conftest.$ac_ext | 11363 emacs_cv_x11_version_6=no |
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 | |
7935 fi | 11369 fi |
7936 | 11370 |
7937 if test $emacs_cv_x11_version_6 = yes; then | 11371 if test $emacs_cv_x11_version_6 = yes; then |
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 11372 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
7939 $as_echo "6 or newer" >&6; } | 11373 $as_echo "6 or newer" >&6; } |
7940 | 11374 |
7941 $as_echo "#define HAVE_X11R6 1" >>confdefs.h | 11375 cat >>confdefs.h <<\_ACEOF |
11376 #define HAVE_X11R6 1 | |
11377 _ACEOF | |
7942 | 11378 |
7943 else | 11379 else |
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 11380 { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
7945 $as_echo "before 6" >&6; } | 11381 $as_echo "before 6" >&6; } |
7946 fi | 11382 fi |
7947 fi | 11383 fi |
7948 | 11384 |
7949 | 11385 |
7957 | 11393 |
7958 succeeded=no | 11394 succeeded=no |
7959 | 11395 |
7960 # Extract the first word of "pkg-config", so it can be a program name with args. | 11396 # Extract the first word of "pkg-config", so it can be a program name with args. |
7961 set dummy pkg-config; ac_word=$2 | 11397 set dummy pkg-config; ac_word=$2 |
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11398 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7963 $as_echo_n "checking for $ac_word... " >&6; } | 11399 $as_echo_n "checking for $ac_word... " >&6; } |
7964 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11400 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
7965 $as_echo_n "(cached) " >&6 | 11401 $as_echo_n "(cached) " >&6 |
7966 else | 11402 else |
7967 case $PKG_CONFIG in | 11403 case $PKG_CONFIG in |
7968 [\\/]* | ?:[\\/]*) | 11404 [\\/]* | ?:[\\/]*) |
7969 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 11405 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 11408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7973 for as_dir in $PATH | 11409 for as_dir in $PATH |
7974 do | 11410 do |
7975 IFS=$as_save_IFS | 11411 IFS=$as_save_IFS |
7976 test -z "$as_dir" && as_dir=. | 11412 test -z "$as_dir" && as_dir=. |
7977 for ac_exec_ext in '' $ac_executable_extensions; do | 11413 for ac_exec_ext in '' $ac_executable_extensions; do |
7978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7979 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11415 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
7980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7981 break 2 | 11417 break 2 |
7982 fi | 11418 fi |
7983 done | 11419 done |
7984 done | 11420 done |
7985 IFS=$as_save_IFS | 11421 IFS=$as_save_IFS |
7986 | 11422 |
7987 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11423 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
7988 ;; | 11424 ;; |
7989 esac | 11425 esac |
7990 fi | 11426 fi |
7991 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11427 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
7992 if test -n "$PKG_CONFIG"; then | 11428 if test -n "$PKG_CONFIG"; then |
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11429 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
7994 $as_echo "$PKG_CONFIG" >&6; } | 11430 $as_echo "$PKG_CONFIG" >&6; } |
7995 else | 11431 else |
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11432 { $as_echo "$as_me:$LINENO: result: no" >&5 |
7997 $as_echo "no" >&6; } | 11433 $as_echo "no" >&6; } |
7998 fi | 11434 fi |
7999 | 11435 |
8000 | 11436 |
8001 | 11437 |
8002 if test "$PKG_CONFIG" = "no" ; then | 11438 if test "$PKG_CONFIG" = "no" ; then |
8003 : | 11439 : |
8004 else | 11440 else |
8005 PKG_CONFIG_MIN_VERSION=0.9.0 | 11441 PKG_CONFIG_MIN_VERSION=0.9.0 |
8006 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11442 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 | 11443 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 |
8008 $as_echo_n "checking for $RSVG_MODULE... " >&6; } | 11444 $as_echo_n "checking for $RSVG_MODULE... " >&6; } |
8009 | 11445 |
8010 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then | 11446 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then |
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11447 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
8012 $as_echo "yes" >&6; } | 11448 $as_echo "yes" >&6; } |
8013 succeeded=yes | 11449 succeeded=yes |
8014 | 11450 |
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5 | 11451 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 |
8016 $as_echo_n "checking RSVG_CFLAGS... " >&6; } | 11452 $as_echo_n "checking RSVG_CFLAGS... " >&6; } |
8017 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11453 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5 | 11454 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 |
8019 $as_echo "$RSVG_CFLAGS" >&6; } | 11455 $as_echo "$RSVG_CFLAGS" >&6; } |
8020 | 11456 |
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5 | 11457 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 |
8022 $as_echo_n "checking RSVG_LIBS... " >&6; } | 11458 $as_echo_n "checking RSVG_LIBS... " >&6; } |
8023 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11459 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5 | 11460 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 |
8025 $as_echo "$RSVG_LIBS" >&6; } | 11461 $as_echo "$RSVG_LIBS" >&6; } |
8026 else | 11462 else |
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11463 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8028 $as_echo "no" >&6; } | 11464 $as_echo "no" >&6; } |
8029 RSVG_CFLAGS="" | 11465 RSVG_CFLAGS="" |
8030 RSVG_LIBS="" | 11466 RSVG_LIBS="" |
8031 ## If we have a custom action on failure, don't print errors, but | 11467 ## If we have a custom action on failure, don't print errors, but |
8032 ## do set a variable so people can do so. | 11468 ## do set a variable so people can do so. |
8052 | 11488 |
8053 | 11489 |
8054 if test ".${RSVG_CFLAGS}" != "."; then | 11490 if test ".${RSVG_CFLAGS}" != "."; then |
8055 HAVE_RSVG=yes | 11491 HAVE_RSVG=yes |
8056 | 11492 |
8057 $as_echo "#define HAVE_RSVG 1" >>confdefs.h | 11493 cat >>confdefs.h <<\_ACEOF |
11494 #define HAVE_RSVG 1 | |
11495 _ACEOF | |
8058 | 11496 |
8059 CFLAGS="$CFLAGS $RSVG_CFLAGS" | 11497 CFLAGS="$CFLAGS $RSVG_CFLAGS" |
8060 LIBS="$RSVG_LIBS $LIBS" | 11498 LIBS="$RSVG_LIBS $LIBS" |
8061 fi | 11499 fi |
8062 fi | 11500 fi |
8072 | 11510 |
8073 succeeded=no | 11511 succeeded=no |
8074 | 11512 |
8075 # Extract the first word of "pkg-config", so it can be a program name with args. | 11513 # Extract the first word of "pkg-config", so it can be a program name with args. |
8076 set dummy pkg-config; ac_word=$2 | 11514 set dummy pkg-config; ac_word=$2 |
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11515 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8078 $as_echo_n "checking for $ac_word... " >&6; } | 11516 $as_echo_n "checking for $ac_word... " >&6; } |
8079 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11517 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
8080 $as_echo_n "(cached) " >&6 | 11518 $as_echo_n "(cached) " >&6 |
8081 else | 11519 else |
8082 case $PKG_CONFIG in | 11520 case $PKG_CONFIG in |
8083 [\\/]* | ?:[\\/]*) | 11521 [\\/]* | ?:[\\/]*) |
8084 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 11522 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 11525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8088 for as_dir in $PATH | 11526 for as_dir in $PATH |
8089 do | 11527 do |
8090 IFS=$as_save_IFS | 11528 IFS=$as_save_IFS |
8091 test -z "$as_dir" && as_dir=. | 11529 test -z "$as_dir" && as_dir=. |
8092 for ac_exec_ext in '' $ac_executable_extensions; do | 11530 for ac_exec_ext in '' $ac_executable_extensions; do |
8093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8094 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11532 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11533 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8096 break 2 | 11534 break 2 |
8097 fi | 11535 fi |
8098 done | 11536 done |
8099 done | 11537 done |
8100 IFS=$as_save_IFS | 11538 IFS=$as_save_IFS |
8101 | 11539 |
8102 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11540 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
8103 ;; | 11541 ;; |
8104 esac | 11542 esac |
8105 fi | 11543 fi |
8106 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11544 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
8107 if test -n "$PKG_CONFIG"; then | 11545 if test -n "$PKG_CONFIG"; then |
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11546 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
8109 $as_echo "$PKG_CONFIG" >&6; } | 11547 $as_echo "$PKG_CONFIG" >&6; } |
8110 else | 11548 else |
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11549 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8112 $as_echo "no" >&6; } | 11550 $as_echo "no" >&6; } |
8113 fi | 11551 fi |
8114 | 11552 |
8115 | 11553 |
8116 | 11554 |
8117 if test "$PKG_CONFIG" = "no" ; then | 11555 if test "$PKG_CONFIG" = "no" ; then |
8118 pkg_check_gtk=no | 11556 pkg_check_gtk=no |
8119 else | 11557 else |
8120 PKG_CONFIG_MIN_VERSION=0.9.0 | 11558 PKG_CONFIG_MIN_VERSION=0.9.0 |
8121 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11559 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 | 11560 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 |
8123 $as_echo_n "checking for $GTK_MODULES... " >&6; } | 11561 $as_echo_n "checking for $GTK_MODULES... " >&6; } |
8124 | 11562 |
8125 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 11563 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11564 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
8127 $as_echo "yes" >&6; } | 11565 $as_echo "yes" >&6; } |
8128 succeeded=yes | 11566 succeeded=yes |
8129 | 11567 |
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 | 11568 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 |
8131 $as_echo_n "checking GTK_CFLAGS... " >&6; } | 11569 $as_echo_n "checking GTK_CFLAGS... " >&6; } |
8132 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11570 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` |
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 | 11571 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 |
8134 $as_echo "$GTK_CFLAGS" >&6; } | 11572 $as_echo "$GTK_CFLAGS" >&6; } |
8135 | 11573 |
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 | 11574 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 |
8137 $as_echo_n "checking GTK_LIBS... " >&6; } | 11575 $as_echo_n "checking GTK_LIBS... " >&6; } |
8138 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11576 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` |
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 | 11577 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 |
8140 $as_echo "$GTK_LIBS" >&6; } | 11578 $as_echo "$GTK_LIBS" >&6; } |
8141 else | 11579 else |
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11580 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8143 $as_echo "no" >&6; } | 11581 $as_echo "no" >&6; } |
8144 GTK_CFLAGS="" | 11582 GTK_CFLAGS="" |
8145 GTK_LIBS="" | 11583 GTK_LIBS="" |
8146 ## If we have a custom action on failure, don't print errors, but | 11584 ## If we have a custom action on failure, don't print errors, but |
8147 ## do set a variable so people can do so. | 11585 ## do set a variable so people can do so. |
8162 else | 11600 else |
8163 pkg_check_gtk=no | 11601 pkg_check_gtk=no |
8164 fi | 11602 fi |
8165 | 11603 |
8166 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 11604 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8167 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 11605 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 |
11606 $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} | |
11607 { (exit 1); exit 1; }; } | |
8168 fi | 11608 fi |
8169 fi | 11609 fi |
8170 | 11610 |
8171 | 11611 |
8172 GTK_OBJ= | 11612 GTK_OBJ= |
8176 | 11616 |
8177 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" | 11617 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" |
8178 CFLAGS="$CFLAGS $GTK_CFLAGS" | 11618 CFLAGS="$CFLAGS $GTK_CFLAGS" |
8179 LIBS="$GTK_LIBS $LIBS" | 11619 LIBS="$GTK_LIBS $LIBS" |
8180 GTK_COMPILES=no | 11620 GTK_COMPILES=no |
8181 for ac_func in gtk_main | 11621 |
8182 do : | 11622 for ac_func in gtk_main |
8183 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" | 11623 do |
8184 if test "x$ac_cv_func_gtk_main" = x""yes; then : | 11624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11625 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
11626 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
8185 cat >>confdefs.h <<_ACEOF | 11714 cat >>confdefs.h <<_ACEOF |
8186 #define HAVE_GTK_MAIN 1 | 11715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8187 _ACEOF | 11716 _ACEOF |
8188 GTK_COMPILES=yes | 11717 GTK_COMPILES=yes |
8189 fi | 11718 fi |
8190 done | 11719 done |
8191 | 11720 |
8192 if test "${GTK_COMPILES}" != "yes"; then | 11721 if test "${GTK_COMPILES}" != "yes"; then |
8193 if test "$USE_X_TOOLKIT" != "maybe"; then | 11722 if test "$USE_X_TOOLKIT" != "maybe"; then |
8194 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 11723 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 |
11724 $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} | |
11725 { (exit 1); exit 1; }; }; | |
8195 fi | 11726 fi |
8196 else | 11727 else |
8197 HAVE_GTK=yes | 11728 HAVE_GTK=yes |
8198 | 11729 |
8199 $as_echo "#define USE_GTK 1" >>confdefs.h | 11730 cat >>confdefs.h <<\_ACEOF |
11731 #define USE_GTK 1 | |
11732 _ACEOF | |
8200 | 11733 |
8201 GTK_OBJ=gtkutil.o | 11734 GTK_OBJ=gtkutil.o |
8202 USE_X_TOOLKIT=none | 11735 USE_X_TOOLKIT=none |
8203 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then | 11736 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then |
8204 : | 11737 : |
8205 else | 11738 else |
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with | 11739 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with |
8207 closing open displays. This is no problem if you just use | 11740 closing open displays. This is no problem if you just use |
8208 one display, but if you use more than one and close one of them | 11741 one display, but if you use more than one and close one of them |
8209 Emacs may crash." >&5 | 11742 Emacs may crash." >&5 |
8210 $as_echo "$as_me: WARNING: Your version of Gtk+ will have problems with | 11743 $as_echo "$as_me: WARNING: Your version of Gtk+ will have problems with |
8211 closing open displays. This is no problem if you just use | 11744 closing open displays. This is no problem if you just use |
8224 if test "$with_toolkit_scroll_bars" != no; then | 11757 if test "$with_toolkit_scroll_bars" != no; then |
8225 with_toolkit_scroll_bars=yes | 11758 with_toolkit_scroll_bars=yes |
8226 fi | 11759 fi |
8227 | 11760 |
8228 HAVE_GTK_MULTIDISPLAY=no | 11761 HAVE_GTK_MULTIDISPLAY=no |
8229 for ac_func in gdk_display_open | 11762 |
8230 do : | 11763 for ac_func in gdk_display_open |
8231 ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open" | 11764 do |
8232 if test "x$ac_cv_func_gdk_display_open" = x""yes; then : | 11765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11766 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
11767 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
8233 cat >>confdefs.h <<_ACEOF | 11855 cat >>confdefs.h <<_ACEOF |
8234 #define HAVE_GDK_DISPLAY_OPEN 1 | 11856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8235 _ACEOF | 11857 _ACEOF |
8236 HAVE_GTK_MULTIDISPLAY=yes | 11858 HAVE_GTK_MULTIDISPLAY=yes |
8237 fi | 11859 fi |
8238 done | 11860 done |
8239 | 11861 |
8240 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | 11862 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then |
8241 | 11863 |
8242 $as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h | 11864 cat >>confdefs.h <<\_ACEOF |
11865 #define HAVE_GTK_MULTIDISPLAY 1 | |
11866 _ACEOF | |
8243 | 11867 |
8244 fi | 11868 fi |
8245 | 11869 |
8246 HAVE_GTK_FILE_SELECTION=no | 11870 HAVE_GTK_FILE_SELECTION=no |
8247 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default | 11871 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 |
11872 $as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; } | |
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 | |
8248 #include <gtk/gtk.h> | 11883 #include <gtk/gtk.h> |
8249 " | 11884 |
8250 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : | 11885 int |
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 | |
8251 HAVE_GTK_FILE_SELECTION=yes | 11927 HAVE_GTK_FILE_SELECTION=yes |
8252 else | 11928 else |
8253 HAVE_GTK_FILE_SELECTION=no | 11929 HAVE_GTK_FILE_SELECTION=no |
8254 fi | 11930 fi |
8255 | 11931 |
8256 if test "$HAVE_GTK_FILE_SELECTION" = yes; then | 11932 if test "$HAVE_GTK_FILE_SELECTION" = yes; then |
8257 for ac_func in gtk_file_selection_new | 11933 |
8258 do : | 11934 for ac_func in gtk_file_selection_new |
8259 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" | 11935 do |
8260 if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : | 11936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11937 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
11938 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
8261 cat >>confdefs.h <<_ACEOF | 12026 cat >>confdefs.h <<_ACEOF |
8262 #define HAVE_GTK_FILE_SELECTION_NEW 1 | 12027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8263 _ACEOF | 12028 _ACEOF |
8264 HAVE_GTK_FILE_SELECTION=yes | 12029 HAVE_GTK_FILE_SELECTION=yes |
8265 else | 12030 else |
8266 HAVE_GTK_FILE_SELECTION=no | 12031 HAVE_GTK_FILE_SELECTION=no |
8267 fi | 12032 fi |
8268 done | 12033 done |
8269 | 12034 |
8270 fi | 12035 fi |
8271 | 12036 |
8272 HAVE_GTK_FILE_CHOOSER=no | 12037 HAVE_GTK_FILE_CHOOSER=no |
8273 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default | 12038 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 |
12039 $as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; } | |
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 | |
8274 #include <gtk/gtk.h> | 12050 #include <gtk/gtk.h> |
8275 " | 12051 |
8276 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then : | 12052 int |
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 | |
8277 HAVE_GTK_FILE_CHOOSER=yes | 12094 HAVE_GTK_FILE_CHOOSER=yes |
8278 else | 12095 else |
8279 HAVE_GTK_FILE_CHOOSER=no | 12096 HAVE_GTK_FILE_CHOOSER=no |
8280 fi | 12097 fi |
8281 | 12098 |
8282 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12099 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
8283 for ac_func in gtk_file_chooser_dialog_new | 12100 |
8284 do : | 12101 for ac_func in gtk_file_chooser_dialog_new |
8285 ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new" | 12102 do |
8286 if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then : | 12103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12104 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
12105 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
8287 cat >>confdefs.h <<_ACEOF | 12193 cat >>confdefs.h <<_ACEOF |
8288 #define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1 | 12194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8289 _ACEOF | 12195 _ACEOF |
8290 HAVE_GTK_FILE_CHOOSER=yes | 12196 HAVE_GTK_FILE_CHOOSER=yes |
8291 else | 12197 else |
8292 HAVE_GTK_FILE_CHOOSER=no | 12198 HAVE_GTK_FILE_CHOOSER=no |
8293 fi | 12199 fi |
8296 fi | 12202 fi |
8297 | 12203 |
8298 if test "$HAVE_GTK_FILE_SELECTION" = yes \ | 12204 if test "$HAVE_GTK_FILE_SELECTION" = yes \ |
8299 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12205 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
8300 | 12206 |
8301 $as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h | 12207 cat >>confdefs.h <<\_ACEOF |
12208 #define HAVE_GTK_FILE_BOTH 1 | |
12209 _ACEOF | |
8302 | 12210 |
8303 fi | 12211 fi |
8304 | 12212 |
8305 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12213 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
8306 HAVE_GTK_AND_PTHREAD=no | 12214 HAVE_GTK_AND_PTHREAD=no |
8307 for ac_header in pthread.h | 12215 |
8308 do : | 12216 for ac_header in pthread.h |
8309 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 12217 do |
8310 if test "x$ac_cv_header_pthread_h" = x""yes; then : | 12218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
8311 cat >>confdefs.h <<_ACEOF | 12352 cat >>confdefs.h <<_ACEOF |
8312 #define HAVE_PTHREAD_H 1 | 12353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8313 _ACEOF | 12354 _ACEOF |
8314 | 12355 |
8315 fi | 12356 fi |
8316 | 12357 |
8317 done | 12358 done |
8318 | 12359 |
8319 if test "$ac_cv_header_pthread_h"; then | 12360 if test "$ac_cv_header_pthread_h"; then |
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 | 12361 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 |
8321 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | 12362 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } |
8322 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | 12363 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then |
8323 $as_echo_n "(cached) " >&6 | 12364 $as_echo_n "(cached) " >&6 |
8324 else | 12365 else |
8325 ac_check_lib_save_LIBS=$LIBS | 12366 ac_check_lib_save_LIBS=$LIBS |
8326 LIBS="-lpthread $LIBS" | 12367 LIBS="-lpthread $LIBS" |
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12368 cat >conftest.$ac_ext <<_ACEOF |
12369 /* confdefs.h. */ | |
12370 _ACEOF | |
12371 cat confdefs.h >>conftest.$ac_ext | |
12372 cat >>conftest.$ac_ext <<_ACEOF | |
8328 /* end confdefs.h. */ | 12373 /* end confdefs.h. */ |
8329 | 12374 |
8330 /* Override any GCC internal prototype to avoid an error. | 12375 /* Override any GCC internal prototype to avoid an error. |
8331 Use char because int might match the return type of a GCC | 12376 Use char because int might match the return type of a GCC |
8332 builtin and then its argument prototype would still apply. */ | 12377 builtin and then its argument prototype would still apply. */ |
8340 return pthread_self (); | 12385 return pthread_self (); |
8341 ; | 12386 ; |
8342 return 0; | 12387 return 0; |
8343 } | 12388 } |
8344 _ACEOF | 12389 _ACEOF |
8345 if ac_fn_c_try_link "$LINENO"; then : | 12390 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
8346 ac_cv_lib_pthread_pthread_self=yes | 12411 ac_cv_lib_pthread_pthread_self=yes |
8347 else | 12412 else |
8348 ac_cv_lib_pthread_pthread_self=no | 12413 $as_echo "$as_me: failed program was:" >&5 |
8349 fi | 12414 sed 's/^/| /' conftest.$ac_ext >&5 |
8350 rm -f core conftest.err conftest.$ac_objext \ | 12415 |
8351 conftest$ac_exeext conftest.$ac_ext | 12416 ac_cv_lib_pthread_pthread_self=no |
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 | |
8352 LIBS=$ac_check_lib_save_LIBS | 12422 LIBS=$ac_check_lib_save_LIBS |
8353 fi | 12423 fi |
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | 12424 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 |
8355 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | 12425 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } |
8356 if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | 12426 if test $ac_cv_lib_pthread_pthread_self = yes; then |
8357 HAVE_GTK_AND_PTHREAD=yes | 12427 HAVE_GTK_AND_PTHREAD=yes |
8358 fi | 12428 fi |
8359 | 12429 |
8360 fi | 12430 fi |
8361 if test "$HAVE_GTK_AND_PTHREAD" = yes; then | 12431 if test "$HAVE_GTK_AND_PTHREAD" = yes; then |
8362 case "${canonical}" in | 12432 case "${canonical}" in |
8363 *-hpux*) ;; | 12433 *-hpux*) ;; |
8364 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; | 12434 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; |
8365 esac | 12435 esac |
8366 | 12436 |
8367 $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h | 12437 cat >>confdefs.h <<\_ACEOF |
12438 #define HAVE_GTK_AND_PTHREAD 1 | |
12439 _ACEOF | |
8368 | 12440 |
8369 fi | 12441 fi |
8370 fi | 12442 fi |
8371 fi | 12443 fi |
8372 | 12444 |
8376 | 12448 |
8377 succeeded=no | 12449 succeeded=no |
8378 | 12450 |
8379 # Extract the first word of "pkg-config", so it can be a program name with args. | 12451 # Extract the first word of "pkg-config", so it can be a program name with args. |
8380 set dummy pkg-config; ac_word=$2 | 12452 set dummy pkg-config; ac_word=$2 |
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8382 $as_echo_n "checking for $ac_word... " >&6; } | 12454 $as_echo_n "checking for $ac_word... " >&6; } |
8383 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12455 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
8384 $as_echo_n "(cached) " >&6 | 12456 $as_echo_n "(cached) " >&6 |
8385 else | 12457 else |
8386 case $PKG_CONFIG in | 12458 case $PKG_CONFIG in |
8387 [\\/]* | ?:[\\/]*) | 12459 [\\/]* | ?:[\\/]*) |
8388 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 12460 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 12463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8392 for as_dir in $PATH | 12464 for as_dir in $PATH |
8393 do | 12465 do |
8394 IFS=$as_save_IFS | 12466 IFS=$as_save_IFS |
8395 test -z "$as_dir" && as_dir=. | 12467 test -z "$as_dir" && as_dir=. |
8396 for ac_exec_ext in '' $ac_executable_extensions; do | 12468 for ac_exec_ext in '' $ac_executable_extensions; do |
8397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8398 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12470 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
8399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12471 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8400 break 2 | 12472 break 2 |
8401 fi | 12473 fi |
8402 done | 12474 done |
8403 done | 12475 done |
8404 IFS=$as_save_IFS | 12476 IFS=$as_save_IFS |
8405 | 12477 |
8406 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12478 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
8407 ;; | 12479 ;; |
8408 esac | 12480 esac |
8409 fi | 12481 fi |
8410 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12482 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
8411 if test -n "$PKG_CONFIG"; then | 12483 if test -n "$PKG_CONFIG"; then |
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12484 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
8413 $as_echo "$PKG_CONFIG" >&6; } | 12485 $as_echo "$PKG_CONFIG" >&6; } |
8414 else | 12486 else |
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12487 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8416 $as_echo "no" >&6; } | 12488 $as_echo "no" >&6; } |
8417 fi | 12489 fi |
8418 | 12490 |
8419 | 12491 |
8420 | 12492 |
8421 if test "$PKG_CONFIG" = "no" ; then | 12493 if test "$PKG_CONFIG" = "no" ; then |
8422 HAVE_DBUS=no | 12494 HAVE_DBUS=no |
8423 else | 12495 else |
8424 PKG_CONFIG_MIN_VERSION=0.9.0 | 12496 PKG_CONFIG_MIN_VERSION=0.9.0 |
8425 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12497 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 | 12498 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 |
8427 $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } | 12499 $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } |
8428 | 12500 |
8429 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then | 12501 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then |
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12502 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
8431 $as_echo "yes" >&6; } | 12503 $as_echo "yes" >&6; } |
8432 succeeded=yes | 12504 succeeded=yes |
8433 | 12505 |
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 | 12506 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 |
8435 $as_echo_n "checking DBUS_CFLAGS... " >&6; } | 12507 $as_echo_n "checking DBUS_CFLAGS... " >&6; } |
8436 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12508 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 | 12509 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 |
8438 $as_echo "$DBUS_CFLAGS" >&6; } | 12510 $as_echo "$DBUS_CFLAGS" >&6; } |
8439 | 12511 |
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 | 12512 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 |
8441 $as_echo_n "checking DBUS_LIBS... " >&6; } | 12513 $as_echo_n "checking DBUS_LIBS... " >&6; } |
8442 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12514 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 | 12515 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 |
8444 $as_echo "$DBUS_LIBS" >&6; } | 12516 $as_echo "$DBUS_LIBS" >&6; } |
8445 else | 12517 else |
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12518 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8447 $as_echo "no" >&6; } | 12519 $as_echo "no" >&6; } |
8448 DBUS_CFLAGS="" | 12520 DBUS_CFLAGS="" |
8449 DBUS_LIBS="" | 12521 DBUS_LIBS="" |
8450 ## If we have a custom action on failure, don't print errors, but | 12522 ## If we have a custom action on failure, don't print errors, but |
8451 ## do set a variable so people can do so. | 12523 ## do set a variable so people can do so. |
8468 fi | 12540 fi |
8469 | 12541 |
8470 if test "$HAVE_DBUS" = yes; then | 12542 if test "$HAVE_DBUS" = yes; then |
8471 LIBS="$LIBS $DBUS_LIBS" | 12543 LIBS="$LIBS $DBUS_LIBS" |
8472 | 12544 |
8473 $as_echo "#define HAVE_DBUS 1" >>confdefs.h | 12545 cat >>confdefs.h <<\_ACEOF |
8474 | 12546 #define HAVE_DBUS 1 |
8475 for ac_func in dbus_watch_get_unix_fd | 12547 _ACEOF |
8476 do : | 12548 |
8477 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" | 12549 |
8478 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : | 12550 for ac_func in dbus_watch_get_unix_fd |
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 | |
8479 cat >>confdefs.h <<_ACEOF | 12642 cat >>confdefs.h <<_ACEOF |
8480 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 | 12643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8481 _ACEOF | 12644 _ACEOF |
8482 | 12645 |
8483 fi | 12646 fi |
8484 done | 12647 done |
8485 | 12648 |
8493 | 12656 |
8494 succeeded=no | 12657 succeeded=no |
8495 | 12658 |
8496 # Extract the first word of "pkg-config", so it can be a program name with args. | 12659 # Extract the first word of "pkg-config", so it can be a program name with args. |
8497 set dummy pkg-config; ac_word=$2 | 12660 set dummy pkg-config; ac_word=$2 |
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12661 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8499 $as_echo_n "checking for $ac_word... " >&6; } | 12662 $as_echo_n "checking for $ac_word... " >&6; } |
8500 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
8501 $as_echo_n "(cached) " >&6 | 12664 $as_echo_n "(cached) " >&6 |
8502 else | 12665 else |
8503 case $PKG_CONFIG in | 12666 case $PKG_CONFIG in |
8504 [\\/]* | ?:[\\/]*) | 12667 [\\/]* | ?:[\\/]*) |
8505 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 12668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 12671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8509 for as_dir in $PATH | 12672 for as_dir in $PATH |
8510 do | 12673 do |
8511 IFS=$as_save_IFS | 12674 IFS=$as_save_IFS |
8512 test -z "$as_dir" && as_dir=. | 12675 test -z "$as_dir" && as_dir=. |
8513 for ac_exec_ext in '' $ac_executable_extensions; do | 12676 for ac_exec_ext in '' $ac_executable_extensions; do |
8514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8515 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
8516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8517 break 2 | 12680 break 2 |
8518 fi | 12681 fi |
8519 done | 12682 done |
8520 done | 12683 done |
8521 IFS=$as_save_IFS | 12684 IFS=$as_save_IFS |
8522 | 12685 |
8523 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
8524 ;; | 12687 ;; |
8525 esac | 12688 esac |
8526 fi | 12689 fi |
8527 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
8528 if test -n "$PKG_CONFIG"; then | 12691 if test -n "$PKG_CONFIG"; then |
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12692 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
8530 $as_echo "$PKG_CONFIG" >&6; } | 12693 $as_echo "$PKG_CONFIG" >&6; } |
8531 else | 12694 else |
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12695 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8533 $as_echo "no" >&6; } | 12696 $as_echo "no" >&6; } |
8534 fi | 12697 fi |
8535 | 12698 |
8536 | 12699 |
8537 | 12700 |
8538 if test "$PKG_CONFIG" = "no" ; then | 12701 if test "$PKG_CONFIG" = "no" ; then |
8539 HAVE_GCONF=no | 12702 HAVE_GCONF=no |
8540 else | 12703 else |
8541 PKG_CONFIG_MIN_VERSION=0.9.0 | 12704 PKG_CONFIG_MIN_VERSION=0.9.0 |
8542 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12705 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 | 12706 { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5 |
8544 $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } | 12707 $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } |
8545 | 12708 |
8546 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then | 12709 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then |
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12710 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
8548 $as_echo "yes" >&6; } | 12711 $as_echo "yes" >&6; } |
8549 succeeded=yes | 12712 succeeded=yes |
8550 | 12713 |
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5 | 12714 { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5 |
8552 $as_echo_n "checking GCONF_CFLAGS... " >&6; } | 12715 $as_echo_n "checking GCONF_CFLAGS... " >&6; } |
8553 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12716 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5 | 12717 { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5 |
8555 $as_echo "$GCONF_CFLAGS" >&6; } | 12718 $as_echo "$GCONF_CFLAGS" >&6; } |
8556 | 12719 |
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5 | 12720 { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5 |
8558 $as_echo_n "checking GCONF_LIBS... " >&6; } | 12721 $as_echo_n "checking GCONF_LIBS... " >&6; } |
8559 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12722 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5 | 12723 { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5 |
8561 $as_echo "$GCONF_LIBS" >&6; } | 12724 $as_echo "$GCONF_LIBS" >&6; } |
8562 else | 12725 else |
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12726 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8564 $as_echo "no" >&6; } | 12727 $as_echo "no" >&6; } |
8565 GCONF_CFLAGS="" | 12728 GCONF_CFLAGS="" |
8566 GCONF_LIBS="" | 12729 GCONF_LIBS="" |
8567 ## If we have a custom action on failure, don't print errors, but | 12730 ## If we have a custom action on failure, don't print errors, but |
8568 ## do set a variable so people can do so. | 12731 ## do set a variable so people can do so. |
8584 HAVE_GCONF=no | 12747 HAVE_GCONF=no |
8585 fi | 12748 fi |
8586 | 12749 |
8587 if test "$HAVE_GCONF" = yes; then | 12750 if test "$HAVE_GCONF" = yes; then |
8588 | 12751 |
8589 $as_echo "#define HAVE_GCONF 1" >>confdefs.h | 12752 cat >>confdefs.h <<\_ACEOF |
12753 #define HAVE_GCONF 1 | |
12754 _ACEOF | |
8590 | 12755 |
8591 fi | 12756 fi |
8592 fi | 12757 fi |
8593 | 12758 |
8594 HAVE_LIBSELINUX=no | 12759 HAVE_LIBSELINUX=no |
8595 LIBSELINUX_LIBS= | 12760 LIBSELINUX_LIBS= |
8596 if test "${with_selinux}" = "yes"; then | 12761 if test "${with_selinux}" = "yes"; then |
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 | 12762 { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5 |
8598 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } | 12763 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } |
8599 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : | 12764 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then |
8600 $as_echo_n "(cached) " >&6 | 12765 $as_echo_n "(cached) " >&6 |
8601 else | 12766 else |
8602 ac_check_lib_save_LIBS=$LIBS | 12767 ac_check_lib_save_LIBS=$LIBS |
8603 LIBS="-lselinux $LIBS" | 12768 LIBS="-lselinux $LIBS" |
8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12769 cat >conftest.$ac_ext <<_ACEOF |
12770 /* confdefs.h. */ | |
12771 _ACEOF | |
12772 cat confdefs.h >>conftest.$ac_ext | |
12773 cat >>conftest.$ac_ext <<_ACEOF | |
8605 /* end confdefs.h. */ | 12774 /* end confdefs.h. */ |
8606 | 12775 |
8607 /* Override any GCC internal prototype to avoid an error. | 12776 /* Override any GCC internal prototype to avoid an error. |
8608 Use char because int might match the return type of a GCC | 12777 Use char because int might match the return type of a GCC |
8609 builtin and then its argument prototype would still apply. */ | 12778 builtin and then its argument prototype would still apply. */ |
8617 return lgetfilecon (); | 12786 return lgetfilecon (); |
8618 ; | 12787 ; |
8619 return 0; | 12788 return 0; |
8620 } | 12789 } |
8621 _ACEOF | 12790 _ACEOF |
8622 if ac_fn_c_try_link "$LINENO"; then : | 12791 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
8623 ac_cv_lib_selinux_lgetfilecon=yes | 12812 ac_cv_lib_selinux_lgetfilecon=yes |
8624 else | 12813 else |
8625 ac_cv_lib_selinux_lgetfilecon=no | 12814 $as_echo "$as_me: failed program was:" >&5 |
8626 fi | 12815 sed 's/^/| /' conftest.$ac_ext >&5 |
8627 rm -f core conftest.err conftest.$ac_objext \ | 12816 |
8628 conftest$ac_exeext conftest.$ac_ext | 12817 ac_cv_lib_selinux_lgetfilecon=no |
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 | |
8629 LIBS=$ac_check_lib_save_LIBS | 12823 LIBS=$ac_check_lib_save_LIBS |
8630 fi | 12824 fi |
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 | 12825 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5 |
8632 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } | 12826 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } |
8633 if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : | 12827 if test $ac_cv_lib_selinux_lgetfilecon = yes; then |
8634 HAVE_LIBSELINUX=yes | 12828 HAVE_LIBSELINUX=yes |
8635 else | 12829 else |
8636 HAVE_LIBSELINUX=no | 12830 HAVE_LIBSELINUX=no |
8637 fi | 12831 fi |
8638 | 12832 |
8639 if test "$HAVE_LIBSELINUX" = yes; then | 12833 if test "$HAVE_LIBSELINUX" = yes; then |
8640 | 12834 |
8641 $as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h | 12835 cat >>confdefs.h <<\_ACEOF |
12836 #define HAVE_LIBSELINUX 1 | |
12837 _ACEOF | |
8642 | 12838 |
8643 LIBSELINUX_LIBS=-lselinux | 12839 LIBSELINUX_LIBS=-lselinux |
8644 fi | 12840 fi |
8645 fi | 12841 fi |
8646 | 12842 |
8647 | 12843 |
8648 HAVE_XAW3D=no | 12844 HAVE_XAW3D=no |
8649 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 12845 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
8650 if test "$with_xaw3d" != no; then | 12846 if test "$with_xaw3d" != no; then |
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 | 12847 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 |
8652 $as_echo_n "checking for xaw3d... " >&6; } | 12848 $as_echo_n "checking for xaw3d... " >&6; } |
8653 if test "${emacs_cv_xaw3d+set}" = set; then : | 12849 if test "${emacs_cv_xaw3d+set}" = set; then |
8654 $as_echo_n "(cached) " >&6 | 12850 $as_echo_n "(cached) " >&6 |
8655 else | 12851 else |
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12852 cat >conftest.$ac_ext <<_ACEOF |
12853 /* confdefs.h. */ | |
12854 _ACEOF | |
12855 cat confdefs.h >>conftest.$ac_ext | |
12856 cat >>conftest.$ac_ext <<_ACEOF | |
8657 /* end confdefs.h. */ | 12857 /* end confdefs.h. */ |
8658 | 12858 |
8659 #include <X11/Intrinsic.h> | 12859 #include <X11/Intrinsic.h> |
8660 #include <X11/Xaw3d/Simple.h> | 12860 #include <X11/Xaw3d/Simple.h> |
8661 int | 12861 int |
8664 | 12864 |
8665 ; | 12865 ; |
8666 return 0; | 12866 return 0; |
8667 } | 12867 } |
8668 _ACEOF | 12868 _ACEOF |
8669 if ac_fn_c_try_link "$LINENO"; then : | 12869 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
8670 emacs_cv_xaw3d=yes | 12890 emacs_cv_xaw3d=yes |
8671 else | 12891 else |
8672 emacs_cv_xaw3d=no | 12892 $as_echo "$as_me: failed program was:" >&5 |
8673 fi | 12893 sed 's/^/| /' conftest.$ac_ext >&5 |
8674 rm -f core conftest.err conftest.$ac_objext \ | 12894 |
8675 conftest$ac_exeext conftest.$ac_ext | 12895 emacs_cv_xaw3d=no |
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 | |
8676 fi | 12901 fi |
8677 | 12902 |
8678 else | 12903 else |
8679 emacs_cv_xaw3d=no | 12904 emacs_cv_xaw3d=no |
8680 fi | 12905 fi |
8681 if test $emacs_cv_xaw3d = yes; then | 12906 if test $emacs_cv_xaw3d = yes; then |
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 12907 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
8683 $as_echo "yes; using Lucid toolkit" >&6; } | 12908 $as_echo "yes; using Lucid toolkit" >&6; } |
8684 USE_X_TOOLKIT=LUCID | 12909 USE_X_TOOLKIT=LUCID |
8685 HAVE_XAW3D=yes | 12910 HAVE_XAW3D=yes |
8686 | 12911 |
8687 $as_echo "#define HAVE_XAW3D 1" >>confdefs.h | 12912 cat >>confdefs.h <<\_ACEOF |
12913 #define HAVE_XAW3D 1 | |
12914 _ACEOF | |
8688 | 12915 |
8689 else | 12916 else |
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12917 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8691 $as_echo "no" >&6; } | 12918 $as_echo "no" >&6; } |
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 | 12919 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 |
8693 $as_echo_n "checking for libXaw... " >&6; } | 12920 $as_echo_n "checking for libXaw... " >&6; } |
8694 if test "${emacs_cv_xaw+set}" = set; then : | 12921 if test "${emacs_cv_xaw+set}" = set; then |
8695 $as_echo_n "(cached) " >&6 | 12922 $as_echo_n "(cached) " >&6 |
8696 else | 12923 else |
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12924 cat >conftest.$ac_ext <<_ACEOF |
12925 /* confdefs.h. */ | |
12926 _ACEOF | |
12927 cat confdefs.h >>conftest.$ac_ext | |
12928 cat >>conftest.$ac_ext <<_ACEOF | |
8698 /* end confdefs.h. */ | 12929 /* end confdefs.h. */ |
8699 | 12930 |
8700 #include <X11/Intrinsic.h> | 12931 #include <X11/Intrinsic.h> |
8701 #include <X11/Xaw/Simple.h> | 12932 #include <X11/Xaw/Simple.h> |
8702 int | 12933 int |
8705 | 12936 |
8706 ; | 12937 ; |
8707 return 0; | 12938 return 0; |
8708 } | 12939 } |
8709 _ACEOF | 12940 _ACEOF |
8710 if ac_fn_c_try_link "$LINENO"; then : | 12941 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
8711 emacs_cv_xaw=yes | 12962 emacs_cv_xaw=yes |
8712 else | 12963 else |
8713 emacs_cv_xaw=no | 12964 $as_echo "$as_me: failed program was:" >&5 |
8714 fi | 12965 sed 's/^/| /' conftest.$ac_ext >&5 |
8715 rm -f core conftest.err conftest.$ac_objext \ | 12966 |
8716 conftest$ac_exeext conftest.$ac_ext | 12967 emacs_cv_xaw=no |
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 | |
8717 fi | 12973 fi |
8718 | 12974 |
8719 if test $emacs_cv_xaw = yes; then | 12975 if test $emacs_cv_xaw = yes; then |
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 12976 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
8721 $as_echo "yes; using Lucid toolkit" >&6; } | 12977 $as_echo "yes; using Lucid toolkit" >&6; } |
8722 USE_X_TOOLKIT=LUCID | 12978 USE_X_TOOLKIT=LUCID |
8723 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 12979 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
8724 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 12980 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 |
12981 $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} | |
12982 { (exit 1); exit 1; }; } | |
8725 else | 12983 else |
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 12984 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 |
8727 $as_echo "no; do not use toolkit by default" >&6; } | 12985 $as_echo "no; do not use toolkit by default" >&6; } |
8728 USE_X_TOOLKIT=none | 12986 USE_X_TOOLKIT=none |
8729 fi | 12987 fi |
8730 fi | 12988 fi |
8731 fi | 12989 fi |
8732 | 12990 |
8733 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 12991 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
8734 | 12992 |
8735 if test "${USE_X_TOOLKIT}" != "none"; then | 12993 if test "${USE_X_TOOLKIT}" != "none"; then |
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 | 12994 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 |
8737 $as_echo_n "checking X11 toolkit version... " >&6; } | 12995 $as_echo_n "checking X11 toolkit version... " >&6; } |
8738 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : | 12996 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
8739 $as_echo_n "(cached) " >&6 | 12997 $as_echo_n "(cached) " >&6 |
8740 else | 12998 else |
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12999 cat >conftest.$ac_ext <<_ACEOF |
13000 /* confdefs.h. */ | |
13001 _ACEOF | |
13002 cat confdefs.h >>conftest.$ac_ext | |
13003 cat >>conftest.$ac_ext <<_ACEOF | |
8742 /* end confdefs.h. */ | 13004 /* end confdefs.h. */ |
8743 #include <X11/Intrinsic.h> | 13005 #include <X11/Intrinsic.h> |
8744 int | 13006 int |
8745 main () | 13007 main () |
8746 { | 13008 { |
8750 | 13012 |
8751 ; | 13013 ; |
8752 return 0; | 13014 return 0; |
8753 } | 13015 } |
8754 _ACEOF | 13016 _ACEOF |
8755 if ac_fn_c_try_link "$LINENO"; then : | 13017 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
8756 emacs_cv_x11_toolkit_version_6=yes | 13038 emacs_cv_x11_toolkit_version_6=yes |
8757 else | 13039 else |
8758 emacs_cv_x11_toolkit_version_6=no | 13040 $as_echo "$as_me: failed program was:" >&5 |
8759 fi | 13041 sed 's/^/| /' conftest.$ac_ext >&5 |
8760 rm -f core conftest.err conftest.$ac_objext \ | 13042 |
8761 conftest$ac_exeext conftest.$ac_ext | 13043 emacs_cv_x11_toolkit_version_6=no |
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 | |
8762 fi | 13049 fi |
8763 | 13050 |
8764 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 13051 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
8765 if test $emacs_cv_x11_toolkit_version_6 = yes; then | 13052 if test $emacs_cv_x11_toolkit_version_6 = yes; then |
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 13053 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
8767 $as_echo "6 or newer" >&6; } | 13054 $as_echo "6 or newer" >&6; } |
8768 | 13055 |
8769 $as_echo "#define HAVE_X11XTR6 1" >>confdefs.h | 13056 cat >>confdefs.h <<\_ACEOF |
13057 #define HAVE_X11XTR6 1 | |
13058 _ACEOF | |
8770 | 13059 |
8771 else | 13060 else |
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 13061 { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
8773 $as_echo "before 6" >&6; } | 13062 $as_echo "before 6" >&6; } |
8774 fi | 13063 fi |
8775 | 13064 |
8776 OLDLIBS="$LIBS" | 13065 OLDLIBS="$LIBS" |
8777 if test x$HAVE_X11XTR6 = xyes; then | 13066 if test x$HAVE_X11XTR6 = xyes; then |
8778 LIBS="-lXt -lSM -lICE $LIBS" | 13067 LIBS="-lXt -lSM -lICE $LIBS" |
8779 else | 13068 else |
8780 LIBS="-lXt $LIBS" | 13069 LIBS="-lXt $LIBS" |
8781 fi | 13070 fi |
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 | 13071 |
13072 { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | |
8783 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } | 13073 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } |
8784 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : | 13074 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
8785 $as_echo_n "(cached) " >&6 | 13075 $as_echo_n "(cached) " >&6 |
8786 else | 13076 else |
8787 ac_check_lib_save_LIBS=$LIBS | 13077 ac_check_lib_save_LIBS=$LIBS |
8788 LIBS="-lXmu $LIBS" | 13078 LIBS="-lXmu $LIBS" |
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13079 cat >conftest.$ac_ext <<_ACEOF |
13080 /* confdefs.h. */ | |
13081 _ACEOF | |
13082 cat confdefs.h >>conftest.$ac_ext | |
13083 cat >>conftest.$ac_ext <<_ACEOF | |
8790 /* end confdefs.h. */ | 13084 /* end confdefs.h. */ |
8791 | 13085 |
8792 /* Override any GCC internal prototype to avoid an error. | 13086 /* Override any GCC internal prototype to avoid an error. |
8793 Use char because int might match the return type of a GCC | 13087 Use char because int might match the return type of a GCC |
8794 builtin and then its argument prototype would still apply. */ | 13088 builtin and then its argument prototype would still apply. */ |
8802 return XmuConvertStandardSelection (); | 13096 return XmuConvertStandardSelection (); |
8803 ; | 13097 ; |
8804 return 0; | 13098 return 0; |
8805 } | 13099 } |
8806 _ACEOF | 13100 _ACEOF |
8807 if ac_fn_c_try_link "$LINENO"; then : | 13101 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
8808 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 13122 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
8809 else | 13123 else |
8810 ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 13124 $as_echo "$as_me: failed program was:" >&5 |
8811 fi | 13125 sed 's/^/| /' conftest.$ac_ext >&5 |
8812 rm -f core conftest.err conftest.$ac_objext \ | 13126 |
8813 conftest$ac_exeext conftest.$ac_ext | 13127 ac_cv_lib_Xmu_XmuConvertStandardSelection=no |
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 | |
8814 LIBS=$ac_check_lib_save_LIBS | 13133 LIBS=$ac_check_lib_save_LIBS |
8815 fi | 13134 fi |
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 13135 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
8817 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } | 13136 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
8818 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : | 13137 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
8819 cat >>confdefs.h <<_ACEOF | 13138 cat >>confdefs.h <<_ACEOF |
8820 #define HAVE_LIBXMU 1 | 13139 #define HAVE_LIBXMU 1 |
8821 _ACEOF | 13140 _ACEOF |
8822 | 13141 |
8823 LIBS="-lXmu $LIBS" | 13142 LIBS="-lXmu $LIBS" |
8828 fi | 13147 fi |
8829 | 13148 |
8830 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 13149 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
8831 if test "${HAVE_X11}" = "yes"; then | 13150 if test "${HAVE_X11}" = "yes"; then |
8832 if test "${USE_X_TOOLKIT}" != "none"; then | 13151 if test "${USE_X_TOOLKIT}" != "none"; then |
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 | 13152 |
13153 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | |
8834 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } | 13154 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
8835 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : | 13155 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
8836 $as_echo_n "(cached) " >&6 | 13156 $as_echo_n "(cached) " >&6 |
8837 else | 13157 else |
8838 ac_check_lib_save_LIBS=$LIBS | 13158 ac_check_lib_save_LIBS=$LIBS |
8839 LIBS="-lXext $LIBS" | 13159 LIBS="-lXext $LIBS" |
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13160 cat >conftest.$ac_ext <<_ACEOF |
13161 /* confdefs.h. */ | |
13162 _ACEOF | |
13163 cat confdefs.h >>conftest.$ac_ext | |
13164 cat >>conftest.$ac_ext <<_ACEOF | |
8841 /* end confdefs.h. */ | 13165 /* end confdefs.h. */ |
8842 | 13166 |
8843 /* Override any GCC internal prototype to avoid an error. | 13167 /* Override any GCC internal prototype to avoid an error. |
8844 Use char because int might match the return type of a GCC | 13168 Use char because int might match the return type of a GCC |
8845 builtin and then its argument prototype would still apply. */ | 13169 builtin and then its argument prototype would still apply. */ |
8853 return XShapeQueryExtension (); | 13177 return XShapeQueryExtension (); |
8854 ; | 13178 ; |
8855 return 0; | 13179 return 0; |
8856 } | 13180 } |
8857 _ACEOF | 13181 _ACEOF |
8858 if ac_fn_c_try_link "$LINENO"; then : | 13182 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
8859 ac_cv_lib_Xext_XShapeQueryExtension=yes | 13203 ac_cv_lib_Xext_XShapeQueryExtension=yes |
8860 else | 13204 else |
8861 ac_cv_lib_Xext_XShapeQueryExtension=no | 13205 $as_echo "$as_me: failed program was:" >&5 |
8862 fi | 13206 sed 's/^/| /' conftest.$ac_ext >&5 |
8863 rm -f core conftest.err conftest.$ac_objext \ | 13207 |
8864 conftest$ac_exeext conftest.$ac_ext | 13208 ac_cv_lib_Xext_XShapeQueryExtension=no |
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 | |
8865 LIBS=$ac_check_lib_save_LIBS | 13214 LIBS=$ac_check_lib_save_LIBS |
8866 fi | 13215 fi |
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 13216 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
8868 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | 13217 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
8869 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : | 13218 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
8870 cat >>confdefs.h <<_ACEOF | 13219 cat >>confdefs.h <<_ACEOF |
8871 #define HAVE_LIBXEXT 1 | 13220 #define HAVE_LIBXEXT 1 |
8872 _ACEOF | 13221 _ACEOF |
8873 | 13222 |
8874 LIBS="-lXext $LIBS" | 13223 LIBS="-lXext $LIBS" |
8877 | 13226 |
8878 fi | 13227 fi |
8879 fi | 13228 fi |
8880 | 13229 |
8881 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13230 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 | 13231 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 |
8883 $as_echo_n "checking for Motif version 2.1... " >&6; } | 13232 $as_echo_n "checking for Motif version 2.1... " >&6; } |
8884 if test "${emacs_cv_motif_version_2_1+set}" = set; then : | 13233 if test "${emacs_cv_motif_version_2_1+set}" = set; then |
8885 $as_echo_n "(cached) " >&6 | 13234 $as_echo_n "(cached) " >&6 |
8886 else | 13235 else |
8887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13236 cat >conftest.$ac_ext <<_ACEOF |
13237 /* confdefs.h. */ | |
13238 _ACEOF | |
13239 cat confdefs.h >>conftest.$ac_ext | |
13240 cat >>conftest.$ac_ext <<_ACEOF | |
8888 /* end confdefs.h. */ | 13241 /* end confdefs.h. */ |
8889 #include <Xm/Xm.h> | 13242 #include <Xm/Xm.h> |
8890 int | 13243 int |
8891 main () | 13244 main () |
8892 { | 13245 { |
8897 #endif | 13250 #endif |
8898 ; | 13251 ; |
8899 return 0; | 13252 return 0; |
8900 } | 13253 } |
8901 _ACEOF | 13254 _ACEOF |
8902 if ac_fn_c_try_compile "$LINENO"; then : | 13255 rm -f conftest.$ac_objext |
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 | |
8903 emacs_cv_motif_version_2_1=yes | 13273 emacs_cv_motif_version_2_1=yes |
8904 else | 13274 else |
8905 emacs_cv_motif_version_2_1=no | 13275 $as_echo "$as_me: failed program was:" >&5 |
8906 fi | 13276 sed 's/^/| /' conftest.$ac_ext >&5 |
13277 | |
13278 emacs_cv_motif_version_2_1=no | |
13279 fi | |
13280 | |
8907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8908 fi | 13282 fi |
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 | 13283 { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 |
8910 $as_echo "$emacs_cv_motif_version_2_1" >&6; } | 13284 $as_echo "$emacs_cv_motif_version_2_1" >&6; } |
8911 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 13285 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
8912 if test $emacs_cv_motif_version_2_1 = yes; then | 13286 if test $emacs_cv_motif_version_2_1 = yes; then |
8913 HAVE_LIBXP=no | 13287 HAVE_LIBXP=no |
8914 | 13288 |
8915 $as_echo "#define HAVE_MOTIF_2_1 1" >>confdefs.h | 13289 cat >>confdefs.h <<\_ACEOF |
8916 | 13290 #define HAVE_MOTIF_2_1 1 |
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 | 13291 _ACEOF |
13292 | |
13293 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 | |
8918 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } | 13294 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } |
8919 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : | 13295 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
8920 $as_echo_n "(cached) " >&6 | 13296 $as_echo_n "(cached) " >&6 |
8921 else | 13297 else |
8922 ac_check_lib_save_LIBS=$LIBS | 13298 ac_check_lib_save_LIBS=$LIBS |
8923 LIBS="-lXp $LIBS" | 13299 LIBS="-lXp $LIBS" |
8924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13300 cat >conftest.$ac_ext <<_ACEOF |
13301 /* confdefs.h. */ | |
13302 _ACEOF | |
13303 cat confdefs.h >>conftest.$ac_ext | |
13304 cat >>conftest.$ac_ext <<_ACEOF | |
8925 /* end confdefs.h. */ | 13305 /* end confdefs.h. */ |
8926 | 13306 |
8927 /* Override any GCC internal prototype to avoid an error. | 13307 /* Override any GCC internal prototype to avoid an error. |
8928 Use char because int might match the return type of a GCC | 13308 Use char because int might match the return type of a GCC |
8929 builtin and then its argument prototype would still apply. */ | 13309 builtin and then its argument prototype would still apply. */ |
8937 return XpCreateContext (); | 13317 return XpCreateContext (); |
8938 ; | 13318 ; |
8939 return 0; | 13319 return 0; |
8940 } | 13320 } |
8941 _ACEOF | 13321 _ACEOF |
8942 if ac_fn_c_try_link "$LINENO"; then : | 13322 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
8943 ac_cv_lib_Xp_XpCreateContext=yes | 13343 ac_cv_lib_Xp_XpCreateContext=yes |
8944 else | 13344 else |
8945 ac_cv_lib_Xp_XpCreateContext=no | 13345 $as_echo "$as_me: failed program was:" >&5 |
8946 fi | 13346 sed 's/^/| /' conftest.$ac_ext >&5 |
8947 rm -f core conftest.err conftest.$ac_objext \ | 13347 |
8948 conftest$ac_exeext conftest.$ac_ext | 13348 ac_cv_lib_Xp_XpCreateContext=no |
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 | |
8949 LIBS=$ac_check_lib_save_LIBS | 13354 LIBS=$ac_check_lib_save_LIBS |
8950 fi | 13355 fi |
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 13356 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
8952 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } | 13357 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } |
8953 if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : | 13358 if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
8954 HAVE_LIBXP=yes | 13359 HAVE_LIBXP=yes |
8955 fi | 13360 fi |
8956 | 13361 |
8957 if test ${HAVE_LIBXP} = yes; then | 13362 if test ${HAVE_LIBXP} = yes; then |
8958 | 13363 |
8959 $as_echo "#define HAVE_LIBXP 1" >>confdefs.h | 13364 cat >>confdefs.h <<\_ACEOF |
13365 #define HAVE_LIBXP 1 | |
13366 _ACEOF | |
8960 | 13367 |
8961 fi | 13368 fi |
8962 else | 13369 else |
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 | 13370 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 |
8964 $as_echo_n "checking for LessTif where some systems put it... " >&6; } | 13371 $as_echo_n "checking for LessTif where some systems put it... " >&6; } |
8965 if test "${emacs_cv_lesstif+set}" = set; then : | 13372 if test "${emacs_cv_lesstif+set}" = set; then |
8966 $as_echo_n "(cached) " >&6 | 13373 $as_echo_n "(cached) " >&6 |
8967 else | 13374 else |
8968 # We put this in CFLAGS temporarily to precede other -I options | 13375 # We put this in CFLAGS temporarily to precede other -I options |
8969 # that might be in CFLAGS temporarily. | 13376 # that might be in CFLAGS temporarily. |
8970 # We put this in CPPFLAGS where it precedes the other -I options. | 13377 # We put this in CPPFLAGS where it precedes the other -I options. |
8971 OLD_CPPFLAGS=$CPPFLAGS | 13378 OLD_CPPFLAGS=$CPPFLAGS |
8972 OLD_CFLAGS=$CFLAGS | 13379 OLD_CFLAGS=$CFLAGS |
8973 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" | 13380 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" |
8974 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" | 13381 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" |
8975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13382 cat >conftest.$ac_ext <<_ACEOF |
13383 /* confdefs.h. */ | |
13384 _ACEOF | |
13385 cat confdefs.h >>conftest.$ac_ext | |
13386 cat >>conftest.$ac_ext <<_ACEOF | |
8976 /* end confdefs.h. */ | 13387 /* end confdefs.h. */ |
8977 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> | 13388 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> |
8978 int | 13389 int |
8979 main () | 13390 main () |
8980 { | 13391 { |
8981 int x = 5; | 13392 int x = 5; |
8982 ; | 13393 ; |
8983 return 0; | 13394 return 0; |
8984 } | 13395 } |
8985 _ACEOF | 13396 _ACEOF |
8986 if ac_fn_c_try_compile "$LINENO"; then : | 13397 rm -f conftest.$ac_objext |
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 | |
8987 emacs_cv_lesstif=yes | 13415 emacs_cv_lesstif=yes |
8988 else | 13416 else |
8989 emacs_cv_lesstif=no | 13417 $as_echo "$as_me: failed program was:" >&5 |
8990 fi | 13418 sed 's/^/| /' conftest.$ac_ext >&5 |
13419 | |
13420 emacs_cv_lesstif=no | |
13421 fi | |
13422 | |
8991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8992 fi | 13424 fi |
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5 | 13425 { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 |
8994 $as_echo "$emacs_cv_lesstif" >&6; } | 13426 $as_echo "$emacs_cv_lesstif" >&6; } |
8995 if test $emacs_cv_lesstif = yes; then | 13427 if test $emacs_cv_lesstif = yes; then |
8996 # Make sure this -I option remains in CPPFLAGS after it is set | 13428 # Make sure this -I option remains in CPPFLAGS after it is set |
8997 # back to REAL_CPPFLAGS. | 13429 # back to REAL_CPPFLAGS. |
8998 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not | 13430 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not |
9006 fi | 13438 fi |
9007 fi | 13439 fi |
9008 fi | 13440 fi |
9009 | 13441 |
9010 | 13442 |
13443 | |
9011 USE_TOOLKIT_SCROLL_BARS=no | 13444 USE_TOOLKIT_SCROLL_BARS=no |
9012 if test "${with_toolkit_scroll_bars}" != "no"; then | 13445 if test "${with_toolkit_scroll_bars}" != "no"; then |
9013 if test "${USE_X_TOOLKIT}" != "none"; then | 13446 if test "${USE_X_TOOLKIT}" != "none"; then |
9014 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13447 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
9015 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13448 cat >>confdefs.h <<\_ACEOF |
13449 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13450 _ACEOF | |
9016 | 13451 |
9017 HAVE_XAW3D=no | 13452 HAVE_XAW3D=no |
9018 USE_TOOLKIT_SCROLL_BARS=yes | 13453 USE_TOOLKIT_SCROLL_BARS=yes |
9019 elif test "${HAVE_XAW3D}" = "yes"; then | 13454 elif test "${HAVE_XAW3D}" = "yes"; then |
9020 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13455 cat >>confdefs.h <<\_ACEOF |
13456 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13457 _ACEOF | |
9021 | 13458 |
9022 USE_TOOLKIT_SCROLL_BARS=yes | 13459 USE_TOOLKIT_SCROLL_BARS=yes |
9023 fi | 13460 fi |
9024 elif test "${HAVE_GTK}" = "yes"; then | 13461 elif test "${HAVE_GTK}" = "yes"; then |
9025 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13462 cat >>confdefs.h <<\_ACEOF |
13463 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13464 _ACEOF | |
9026 | 13465 |
9027 USE_TOOLKIT_SCROLL_BARS=yes | 13466 USE_TOOLKIT_SCROLL_BARS=yes |
9028 elif test "${HAVE_NS}" = "yes"; then | 13467 elif test "${HAVE_NS}" = "yes"; then |
9029 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13468 cat >>confdefs.h <<\_ACEOF |
13469 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13470 _ACEOF | |
9030 | 13471 |
9031 USE_TOOLKIT_SCROLL_BARS=yes | 13472 USE_TOOLKIT_SCROLL_BARS=yes |
9032 fi | 13473 fi |
9033 fi | 13474 fi |
9034 | 13475 |
9035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13476 cat >conftest.$ac_ext <<_ACEOF |
13477 /* confdefs.h. */ | |
13478 _ACEOF | |
13479 cat confdefs.h >>conftest.$ac_ext | |
13480 cat >>conftest.$ac_ext <<_ACEOF | |
9036 /* end confdefs.h. */ | 13481 /* end confdefs.h. */ |
9037 | 13482 |
9038 #include <X11/Xlib.h> | 13483 #include <X11/Xlib.h> |
9039 #include <X11/Xresource.h> | 13484 #include <X11/Xresource.h> |
9040 int | 13485 int |
9043 XIMProc callback; | 13488 XIMProc callback; |
9044 ; | 13489 ; |
9045 return 0; | 13490 return 0; |
9046 } | 13491 } |
9047 _ACEOF | 13492 _ACEOF |
9048 if ac_fn_c_try_compile "$LINENO"; then : | 13493 rm -f conftest.$ac_objext |
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 | |
9049 HAVE_XIM=yes | 13511 HAVE_XIM=yes |
9050 | 13512 |
9051 $as_echo "#define HAVE_XIM 1" >>confdefs.h | 13513 cat >>confdefs.h <<\_ACEOF |
9052 | 13514 #define HAVE_XIM 1 |
9053 else | 13515 _ACEOF |
9054 HAVE_XIM=no | 13516 |
9055 fi | 13517 else |
13518 $as_echo "$as_me: failed program was:" >&5 | |
13519 sed 's/^/| /' conftest.$ac_ext >&5 | |
13520 | |
13521 HAVE_XIM=no | |
13522 fi | |
13523 | |
9056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9057 | 13525 |
9058 | 13526 |
9059 if test "${with_xim}" != "no"; then | 13527 if test "${with_xim}" != "no"; then |
9060 | 13528 |
9061 $as_echo "#define USE_XIM 1" >>confdefs.h | 13529 cat >>confdefs.h <<\_ACEOF |
13530 #define USE_XIM 1 | |
13531 _ACEOF | |
9062 | 13532 |
9063 fi | 13533 fi |
9064 | 13534 |
9065 | 13535 |
9066 if test "${HAVE_XIM}" != "no"; then | 13536 if test "${HAVE_XIM}" != "no"; then |
9067 late_CFLAGS=$CFLAGS | 13537 late_CFLAGS=$CFLAGS |
9068 if test "$GCC" = yes; then | 13538 if test "$GCC" = yes; then |
9069 CFLAGS="$CFLAGS --pedantic-errors" | 13539 CFLAGS="$CFLAGS --pedantic-errors" |
9070 fi | 13540 fi |
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13541 cat >conftest.$ac_ext <<_ACEOF |
13542 /* confdefs.h. */ | |
13543 _ACEOF | |
13544 cat confdefs.h >>conftest.$ac_ext | |
13545 cat >>conftest.$ac_ext <<_ACEOF | |
9072 /* end confdefs.h. */ | 13546 /* end confdefs.h. */ |
9073 | 13547 |
9074 #include <X11/Xlib.h> | 13548 #include <X11/Xlib.h> |
9075 #include <X11/Xresource.h> | 13549 #include <X11/Xresource.h> |
9076 int | 13550 int |
9092 client_data); | 13566 client_data); |
9093 ; | 13567 ; |
9094 return 0; | 13568 return 0; |
9095 } | 13569 } |
9096 _ACEOF | 13570 _ACEOF |
9097 if ac_fn_c_try_compile "$LINENO"; then : | 13571 rm -f conftest.$ac_objext |
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 | |
9098 emacs_cv_arg6_star=yes | 13589 emacs_cv_arg6_star=yes |
9099 fi | 13590 else |
13591 $as_echo "$as_me: failed program was:" >&5 | |
13592 sed 's/^/| /' conftest.$ac_ext >&5 | |
13593 | |
13594 | |
13595 fi | |
13596 | |
9100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9101 if test "$emacs_cv_arg6_star" = yes; then | 13598 |
9102 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h | 13599 if test "$emacs_cv_arg6_star" = yes; then |
13600 cat >>confdefs.h <<\_ACEOF | |
13601 #define XRegisterIMInstantiateCallback_arg6 XPointer* | |
13602 _ACEOF | |
9103 | 13603 |
9104 else | 13604 else |
9105 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h | 13605 cat >>confdefs.h <<\_ACEOF |
13606 #define XRegisterIMInstantiateCallback_arg6 XPointer | |
13607 _ACEOF | |
9106 | 13608 |
9107 fi | 13609 fi |
9108 CFLAGS=$late_CFLAGS | 13610 CFLAGS=$late_CFLAGS |
9109 fi | 13611 fi |
9110 | 13612 |
9117 | 13619 |
9118 succeeded=no | 13620 succeeded=no |
9119 | 13621 |
9120 # Extract the first word of "pkg-config", so it can be a program name with args. | 13622 # Extract the first word of "pkg-config", so it can be a program name with args. |
9121 set dummy pkg-config; ac_word=$2 | 13623 set dummy pkg-config; ac_word=$2 |
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 13624 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9123 $as_echo_n "checking for $ac_word... " >&6; } | 13625 $as_echo_n "checking for $ac_word... " >&6; } |
9124 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 13626 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
9125 $as_echo_n "(cached) " >&6 | 13627 $as_echo_n "(cached) " >&6 |
9126 else | 13628 else |
9127 case $PKG_CONFIG in | 13629 case $PKG_CONFIG in |
9128 [\\/]* | ?:[\\/]*) | 13630 [\\/]* | ?:[\\/]*) |
9129 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 13631 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 13634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9133 for as_dir in $PATH | 13635 for as_dir in $PATH |
9134 do | 13636 do |
9135 IFS=$as_save_IFS | 13637 IFS=$as_save_IFS |
9136 test -z "$as_dir" && as_dir=. | 13638 test -z "$as_dir" && as_dir=. |
9137 for ac_exec_ext in '' $ac_executable_extensions; do | 13639 for ac_exec_ext in '' $ac_executable_extensions; do |
9138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 13640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9139 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 13641 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
9140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 13642 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9141 break 2 | 13643 break 2 |
9142 fi | 13644 fi |
9143 done | 13645 done |
9144 done | 13646 done |
9145 IFS=$as_save_IFS | 13647 IFS=$as_save_IFS |
9146 | 13648 |
9147 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 13649 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
9148 ;; | 13650 ;; |
9149 esac | 13651 esac |
9150 fi | 13652 fi |
9151 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 13653 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
9152 if test -n "$PKG_CONFIG"; then | 13654 if test -n "$PKG_CONFIG"; then |
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 13655 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
9154 $as_echo "$PKG_CONFIG" >&6; } | 13656 $as_echo "$PKG_CONFIG" >&6; } |
9155 else | 13657 else |
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13658 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9157 $as_echo "no" >&6; } | 13659 $as_echo "no" >&6; } |
9158 fi | 13660 fi |
9159 | 13661 |
9160 | 13662 |
9161 | 13663 |
9162 if test "$PKG_CONFIG" = "no" ; then | 13664 if test "$PKG_CONFIG" = "no" ; then |
9163 HAVE_FC=no | 13665 HAVE_FC=no |
9164 else | 13666 else |
9165 PKG_CONFIG_MIN_VERSION=0.9.0 | 13667 PKG_CONFIG_MIN_VERSION=0.9.0 |
9166 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13668 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 | 13669 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 |
9168 $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } | 13670 $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } |
9169 | 13671 |
9170 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then | 13672 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then |
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13673 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
9172 $as_echo "yes" >&6; } | 13674 $as_echo "yes" >&6; } |
9173 succeeded=yes | 13675 succeeded=yes |
9174 | 13676 |
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5 | 13677 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 |
9176 $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } | 13678 $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } |
9177 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13679 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5 | 13680 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 |
9179 $as_echo "$FONTCONFIG_CFLAGS" >&6; } | 13681 $as_echo "$FONTCONFIG_CFLAGS" >&6; } |
9180 | 13682 |
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5 | 13683 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 |
9182 $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } | 13684 $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } |
9183 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13685 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5 | 13686 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 |
9185 $as_echo "$FONTCONFIG_LIBS" >&6; } | 13687 $as_echo "$FONTCONFIG_LIBS" >&6; } |
9186 else | 13688 else |
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13689 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9188 $as_echo "no" >&6; } | 13690 $as_echo "no" >&6; } |
9189 FONTCONFIG_CFLAGS="" | 13691 FONTCONFIG_CFLAGS="" |
9190 FONTCONFIG_LIBS="" | 13692 FONTCONFIG_LIBS="" |
9191 ## If we have a custom action on failure, don't print errors, but | 13693 ## If we have a custom action on failure, don't print errors, but |
9192 ## do set a variable so people can do so. | 13694 ## do set a variable so people can do so. |
9219 | 13721 |
9220 succeeded=no | 13722 succeeded=no |
9221 | 13723 |
9222 # Extract the first word of "pkg-config", so it can be a program name with args. | 13724 # Extract the first word of "pkg-config", so it can be a program name with args. |
9223 set dummy pkg-config; ac_word=$2 | 13725 set dummy pkg-config; ac_word=$2 |
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 13726 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9225 $as_echo_n "checking for $ac_word... " >&6; } | 13727 $as_echo_n "checking for $ac_word... " >&6; } |
9226 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 13728 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
9227 $as_echo_n "(cached) " >&6 | 13729 $as_echo_n "(cached) " >&6 |
9228 else | 13730 else |
9229 case $PKG_CONFIG in | 13731 case $PKG_CONFIG in |
9230 [\\/]* | ?:[\\/]*) | 13732 [\\/]* | ?:[\\/]*) |
9231 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 13733 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 13736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9235 for as_dir in $PATH | 13737 for as_dir in $PATH |
9236 do | 13738 do |
9237 IFS=$as_save_IFS | 13739 IFS=$as_save_IFS |
9238 test -z "$as_dir" && as_dir=. | 13740 test -z "$as_dir" && as_dir=. |
9239 for ac_exec_ext in '' $ac_executable_extensions; do | 13741 for ac_exec_ext in '' $ac_executable_extensions; do |
9240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 13742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9241 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 13743 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
9242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 13744 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9243 break 2 | 13745 break 2 |
9244 fi | 13746 fi |
9245 done | 13747 done |
9246 done | 13748 done |
9247 IFS=$as_save_IFS | 13749 IFS=$as_save_IFS |
9248 | 13750 |
9249 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 13751 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
9250 ;; | 13752 ;; |
9251 esac | 13753 esac |
9252 fi | 13754 fi |
9253 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 13755 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
9254 if test -n "$PKG_CONFIG"; then | 13756 if test -n "$PKG_CONFIG"; then |
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 13757 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
9256 $as_echo "$PKG_CONFIG" >&6; } | 13758 $as_echo "$PKG_CONFIG" >&6; } |
9257 else | 13759 else |
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13760 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9259 $as_echo "no" >&6; } | 13761 $as_echo "no" >&6; } |
9260 fi | 13762 fi |
9261 | 13763 |
9262 | 13764 |
9263 | 13765 |
9264 if test "$PKG_CONFIG" = "no" ; then | 13766 if test "$PKG_CONFIG" = "no" ; then |
9265 HAVE_XFT=no | 13767 HAVE_XFT=no |
9266 else | 13768 else |
9267 PKG_CONFIG_MIN_VERSION=0.9.0 | 13769 PKG_CONFIG_MIN_VERSION=0.9.0 |
9268 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13770 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 | 13771 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 |
9270 $as_echo_n "checking for xft >= 0.13.0... " >&6; } | 13772 $as_echo_n "checking for xft >= 0.13.0... " >&6; } |
9271 | 13773 |
9272 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then | 13774 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then |
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13775 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
9274 $as_echo "yes" >&6; } | 13776 $as_echo "yes" >&6; } |
9275 succeeded=yes | 13777 succeeded=yes |
9276 | 13778 |
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5 | 13779 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 |
9278 $as_echo_n "checking XFT_CFLAGS... " >&6; } | 13780 $as_echo_n "checking XFT_CFLAGS... " >&6; } |
9279 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 13781 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5 | 13782 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 |
9281 $as_echo "$XFT_CFLAGS" >&6; } | 13783 $as_echo "$XFT_CFLAGS" >&6; } |
9282 | 13784 |
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5 | 13785 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 |
9284 $as_echo_n "checking XFT_LIBS... " >&6; } | 13786 $as_echo_n "checking XFT_LIBS... " >&6; } |
9285 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 13787 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5 | 13788 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 |
9287 $as_echo "$XFT_LIBS" >&6; } | 13789 $as_echo "$XFT_LIBS" >&6; } |
9288 else | 13790 else |
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13791 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9290 $as_echo "no" >&6; } | 13792 $as_echo "no" >&6; } |
9291 XFT_CFLAGS="" | 13793 XFT_CFLAGS="" |
9292 XFT_LIBS="" | 13794 XFT_LIBS="" |
9293 ## If we have a custom action on failure, don't print errors, but | 13795 ## If we have a custom action on failure, don't print errors, but |
9294 ## do set a variable so people can do so. | 13796 ## do set a variable so people can do so. |
9311 fi | 13813 fi |
9312 | 13814 |
9313 ## Because xftfont.c uses XRenderQueryExtension, we also | 13815 ## Because xftfont.c uses XRenderQueryExtension, we also |
9314 ## need to link to -lXrender. | 13816 ## need to link to -lXrender. |
9315 HAVE_XRENDER=no | 13817 HAVE_XRENDER=no |
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 | 13818 { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 |
9317 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } | 13819 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } |
9318 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : | 13820 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then |
9319 $as_echo_n "(cached) " >&6 | 13821 $as_echo_n "(cached) " >&6 |
9320 else | 13822 else |
9321 ac_check_lib_save_LIBS=$LIBS | 13823 ac_check_lib_save_LIBS=$LIBS |
9322 LIBS="-lXrender $LIBS" | 13824 LIBS="-lXrender $LIBS" |
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13825 cat >conftest.$ac_ext <<_ACEOF |
13826 /* confdefs.h. */ | |
13827 _ACEOF | |
13828 cat confdefs.h >>conftest.$ac_ext | |
13829 cat >>conftest.$ac_ext <<_ACEOF | |
9324 /* end confdefs.h. */ | 13830 /* end confdefs.h. */ |
9325 | 13831 |
9326 /* Override any GCC internal prototype to avoid an error. | 13832 /* Override any GCC internal prototype to avoid an error. |
9327 Use char because int might match the return type of a GCC | 13833 Use char because int might match the return type of a GCC |
9328 builtin and then its argument prototype would still apply. */ | 13834 builtin and then its argument prototype would still apply. */ |
9336 return XRenderQueryExtension (); | 13842 return XRenderQueryExtension (); |
9337 ; | 13843 ; |
9338 return 0; | 13844 return 0; |
9339 } | 13845 } |
9340 _ACEOF | 13846 _ACEOF |
9341 if ac_fn_c_try_link "$LINENO"; then : | 13847 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
9342 ac_cv_lib_Xrender_XRenderQueryExtension=yes | 13868 ac_cv_lib_Xrender_XRenderQueryExtension=yes |
9343 else | 13869 else |
9344 ac_cv_lib_Xrender_XRenderQueryExtension=no | 13870 $as_echo "$as_me: failed program was:" >&5 |
9345 fi | 13871 sed 's/^/| /' conftest.$ac_ext >&5 |
9346 rm -f core conftest.err conftest.$ac_objext \ | 13872 |
9347 conftest$ac_exeext conftest.$ac_ext | 13873 ac_cv_lib_Xrender_XRenderQueryExtension=no |
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 | |
9348 LIBS=$ac_check_lib_save_LIBS | 13879 LIBS=$ac_check_lib_save_LIBS |
9349 fi | 13880 fi |
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 | 13881 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 |
9351 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } | 13882 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } |
9352 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : | 13883 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then |
9353 HAVE_XRENDER=yes | 13884 HAVE_XRENDER=yes |
9354 fi | 13885 fi |
9355 | 13886 |
9356 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then | 13887 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then |
9357 OLD_CPPFLAGS="$CPPFLAGS" | 13888 OLD_CPPFLAGS="$CPPFLAGS" |
9359 OLD_LIBS="$LIBS" | 13890 OLD_LIBS="$LIBS" |
9360 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" | 13891 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
9361 CFLAGS="$CFLAGS $XFT_CFLAGS" | 13892 CFLAGS="$CFLAGS $XFT_CFLAGS" |
9362 XFT_LIBS="-lXrender $XFT_LIBS" | 13893 XFT_LIBS="-lXrender $XFT_LIBS" |
9363 LIBS="$XFT_LIBS $LIBS" | 13894 LIBS="$XFT_LIBS $LIBS" |
9364 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" | 13895 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
9365 if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : | 13896 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 | 13897 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } |
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 | |
9367 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } | 14024 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } |
9368 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : | 14025 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then |
9369 $as_echo_n "(cached) " >&6 | 14026 $as_echo_n "(cached) " >&6 |
9370 else | 14027 else |
9371 ac_check_lib_save_LIBS=$LIBS | 14028 ac_check_lib_save_LIBS=$LIBS |
9372 LIBS="-lXft $XFT_LIBS $LIBS" | 14029 LIBS="-lXft $XFT_LIBS $LIBS" |
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14030 cat >conftest.$ac_ext <<_ACEOF |
14031 /* confdefs.h. */ | |
14032 _ACEOF | |
14033 cat confdefs.h >>conftest.$ac_ext | |
14034 cat >>conftest.$ac_ext <<_ACEOF | |
9374 /* end confdefs.h. */ | 14035 /* end confdefs.h. */ |
9375 | 14036 |
9376 /* Override any GCC internal prototype to avoid an error. | 14037 /* Override any GCC internal prototype to avoid an error. |
9377 Use char because int might match the return type of a GCC | 14038 Use char because int might match the return type of a GCC |
9378 builtin and then its argument prototype would still apply. */ | 14039 builtin and then its argument prototype would still apply. */ |
9386 return XftFontOpen (); | 14047 return XftFontOpen (); |
9387 ; | 14048 ; |
9388 return 0; | 14049 return 0; |
9389 } | 14050 } |
9390 _ACEOF | 14051 _ACEOF |
9391 if ac_fn_c_try_link "$LINENO"; then : | 14052 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
9392 ac_cv_lib_Xft_XftFontOpen=yes | 14073 ac_cv_lib_Xft_XftFontOpen=yes |
9393 else | 14074 else |
9394 ac_cv_lib_Xft_XftFontOpen=no | 14075 $as_echo "$as_me: failed program was:" >&5 |
9395 fi | 14076 sed 's/^/| /' conftest.$ac_ext >&5 |
9396 rm -f core conftest.err conftest.$ac_objext \ | 14077 |
9397 conftest$ac_exeext conftest.$ac_ext | 14078 ac_cv_lib_Xft_XftFontOpen=no |
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 | |
9398 LIBS=$ac_check_lib_save_LIBS | 14084 LIBS=$ac_check_lib_save_LIBS |
9399 fi | 14085 fi |
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 | 14086 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 |
9401 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } | 14087 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } |
9402 if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : | 14088 if test $ac_cv_lib_Xft_XftFontOpen = yes; then |
9403 HAVE_XFT=yes | 14089 HAVE_XFT=yes |
9404 fi | 14090 fi |
9405 | 14091 |
9406 fi | 14092 fi |
9407 | 14093 |
9408 | 14094 |
9409 | 14095 |
9410 if test "${HAVE_XFT}" = "yes"; then | 14096 if test "${HAVE_XFT}" = "yes"; then |
9411 | 14097 |
9412 $as_echo "#define HAVE_XFT 1" >>confdefs.h | 14098 cat >>confdefs.h <<\_ACEOF |
14099 #define HAVE_XFT 1 | |
14100 _ACEOF | |
9413 | 14101 |
9414 | 14102 |
9415 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" | 14103 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" |
9416 else | 14104 else |
9417 CPPFLAGS="$OLD_CPPFLAGS" | 14105 CPPFLAGS="$OLD_CPPFLAGS" |
9436 fi | 14124 fi |
9437 | 14125 |
9438 HAVE_LIBOTF=no | 14126 HAVE_LIBOTF=no |
9439 if test "${HAVE_FREETYPE}" = "yes"; then | 14127 if test "${HAVE_FREETYPE}" = "yes"; then |
9440 | 14128 |
9441 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | 14129 cat >>confdefs.h <<\_ACEOF |
14130 #define HAVE_FREETYPE 1 | |
14131 _ACEOF | |
9442 | 14132 |
9443 if test "${with_libotf}" != "no"; then | 14133 if test "${with_libotf}" != "no"; then |
9444 | 14134 |
9445 succeeded=no | 14135 succeeded=no |
9446 | 14136 |
9447 # Extract the first word of "pkg-config", so it can be a program name with args. | 14137 # Extract the first word of "pkg-config", so it can be a program name with args. |
9448 set dummy pkg-config; ac_word=$2 | 14138 set dummy pkg-config; ac_word=$2 |
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9450 $as_echo_n "checking for $ac_word... " >&6; } | 14140 $as_echo_n "checking for $ac_word... " >&6; } |
9451 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14141 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
9452 $as_echo_n "(cached) " >&6 | 14142 $as_echo_n "(cached) " >&6 |
9453 else | 14143 else |
9454 case $PKG_CONFIG in | 14144 case $PKG_CONFIG in |
9455 [\\/]* | ?:[\\/]*) | 14145 [\\/]* | ?:[\\/]*) |
9456 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 14146 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 14149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9460 for as_dir in $PATH | 14150 for as_dir in $PATH |
9461 do | 14151 do |
9462 IFS=$as_save_IFS | 14152 IFS=$as_save_IFS |
9463 test -z "$as_dir" && as_dir=. | 14153 test -z "$as_dir" && as_dir=. |
9464 for ac_exec_ext in '' $ac_executable_extensions; do | 14154 for ac_exec_ext in '' $ac_executable_extensions; do |
9465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9466 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14156 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
9467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14157 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9468 break 2 | 14158 break 2 |
9469 fi | 14159 fi |
9470 done | 14160 done |
9471 done | 14161 done |
9472 IFS=$as_save_IFS | 14162 IFS=$as_save_IFS |
9473 | 14163 |
9474 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14164 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
9475 ;; | 14165 ;; |
9476 esac | 14166 esac |
9477 fi | 14167 fi |
9478 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14168 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
9479 if test -n "$PKG_CONFIG"; then | 14169 if test -n "$PKG_CONFIG"; then |
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14170 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
9481 $as_echo "$PKG_CONFIG" >&6; } | 14171 $as_echo "$PKG_CONFIG" >&6; } |
9482 else | 14172 else |
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14173 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9484 $as_echo "no" >&6; } | 14174 $as_echo "no" >&6; } |
9485 fi | 14175 fi |
9486 | 14176 |
9487 | 14177 |
9488 | 14178 |
9489 if test "$PKG_CONFIG" = "no" ; then | 14179 if test "$PKG_CONFIG" = "no" ; then |
9490 HAVE_LIBOTF=no | 14180 HAVE_LIBOTF=no |
9491 else | 14181 else |
9492 PKG_CONFIG_MIN_VERSION=0.9.0 | 14182 PKG_CONFIG_MIN_VERSION=0.9.0 |
9493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14183 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 | 14184 { $as_echo "$as_me:$LINENO: checking for libotf" >&5 |
9495 $as_echo_n "checking for libotf... " >&6; } | 14185 $as_echo_n "checking for libotf... " >&6; } |
9496 | 14186 |
9497 if $PKG_CONFIG --exists "libotf" 2>&5; then | 14187 if $PKG_CONFIG --exists "libotf" 2>&5; then |
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14188 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
9499 $as_echo "yes" >&6; } | 14189 $as_echo "yes" >&6; } |
9500 succeeded=yes | 14190 succeeded=yes |
9501 | 14191 |
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5 | 14192 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 |
9503 $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } | 14193 $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } |
9504 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` | 14194 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` |
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5 | 14195 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 |
9506 $as_echo "$LIBOTF_CFLAGS" >&6; } | 14196 $as_echo "$LIBOTF_CFLAGS" >&6; } |
9507 | 14197 |
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5 | 14198 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 |
9509 $as_echo_n "checking LIBOTF_LIBS... " >&6; } | 14199 $as_echo_n "checking LIBOTF_LIBS... " >&6; } |
9510 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` | 14200 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` |
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5 | 14201 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 |
9512 $as_echo "$LIBOTF_LIBS" >&6; } | 14202 $as_echo "$LIBOTF_LIBS" >&6; } |
9513 else | 14203 else |
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14204 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9515 $as_echo "no" >&6; } | 14205 $as_echo "no" >&6; } |
9516 LIBOTF_CFLAGS="" | 14206 LIBOTF_CFLAGS="" |
9517 LIBOTF_LIBS="" | 14207 LIBOTF_LIBS="" |
9518 ## If we have a custom action on failure, don't print errors, but | 14208 ## If we have a custom action on failure, don't print errors, but |
9519 ## do set a variable so people can do so. | 14209 ## do set a variable so people can do so. |
9535 HAVE_LIBOTF=no | 14225 HAVE_LIBOTF=no |
9536 fi | 14226 fi |
9537 | 14227 |
9538 if test "$HAVE_LIBOTF" = "yes"; then | 14228 if test "$HAVE_LIBOTF" = "yes"; then |
9539 | 14229 |
9540 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h | 14230 cat >>confdefs.h <<\_ACEOF |
9541 | 14231 #define HAVE_LIBOTF 1 |
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 | 14232 _ACEOF |
14233 | |
14234 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 | |
9543 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } | 14235 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } |
9544 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : | 14236 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then |
9545 $as_echo_n "(cached) " >&6 | 14237 $as_echo_n "(cached) " >&6 |
9546 else | 14238 else |
9547 ac_check_lib_save_LIBS=$LIBS | 14239 ac_check_lib_save_LIBS=$LIBS |
9548 LIBS="-lotf $LIBS" | 14240 LIBS="-lotf $LIBS" |
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14241 cat >conftest.$ac_ext <<_ACEOF |
14242 /* confdefs.h. */ | |
14243 _ACEOF | |
14244 cat confdefs.h >>conftest.$ac_ext | |
14245 cat >>conftest.$ac_ext <<_ACEOF | |
9550 /* end confdefs.h. */ | 14246 /* end confdefs.h. */ |
9551 | 14247 |
9552 /* Override any GCC internal prototype to avoid an error. | 14248 /* Override any GCC internal prototype to avoid an error. |
9553 Use char because int might match the return type of a GCC | 14249 Use char because int might match the return type of a GCC |
9554 builtin and then its argument prototype would still apply. */ | 14250 builtin and then its argument prototype would still apply. */ |
9562 return OTF_get_variation_glyphs (); | 14258 return OTF_get_variation_glyphs (); |
9563 ; | 14259 ; |
9564 return 0; | 14260 return 0; |
9565 } | 14261 } |
9566 _ACEOF | 14262 _ACEOF |
9567 if ac_fn_c_try_link "$LINENO"; then : | 14263 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
9568 ac_cv_lib_otf_OTF_get_variation_glyphs=yes | 14284 ac_cv_lib_otf_OTF_get_variation_glyphs=yes |
9569 else | 14285 else |
9570 ac_cv_lib_otf_OTF_get_variation_glyphs=no | 14286 $as_echo "$as_me: failed program was:" >&5 |
9571 fi | 14287 sed 's/^/| /' conftest.$ac_ext >&5 |
9572 rm -f core conftest.err conftest.$ac_objext \ | 14288 |
9573 conftest$ac_exeext conftest.$ac_ext | 14289 ac_cv_lib_otf_OTF_get_variation_glyphs=no |
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 | |
9574 LIBS=$ac_check_lib_save_LIBS | 14295 LIBS=$ac_check_lib_save_LIBS |
9575 fi | 14296 fi |
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 | 14297 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 |
9577 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } | 14298 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } |
9578 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : | 14299 if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then |
9579 HAVE_OTF_GET_VARIATION_GLYPHS=yes | 14300 HAVE_OTF_GET_VARIATION_GLYPHS=yes |
9580 else | 14301 else |
9581 HAVE_OTF_GET_VARIATION_GLYPHS=no | 14302 HAVE_OTF_GET_VARIATION_GLYPHS=no |
9582 fi | 14303 fi |
9583 | 14304 |
9584 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then | 14305 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then |
9585 | 14306 |
9586 $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h | 14307 cat >>confdefs.h <<\_ACEOF |
14308 #define HAVE_OTF_GET_VARIATION_GLYPHS 1 | |
14309 _ACEOF | |
9587 | 14310 |
9588 fi | 14311 fi |
9589 fi | 14312 fi |
9590 fi | 14313 fi |
9591 fi | 14314 fi |
9596 | 14319 |
9597 succeeded=no | 14320 succeeded=no |
9598 | 14321 |
9599 # Extract the first word of "pkg-config", so it can be a program name with args. | 14322 # Extract the first word of "pkg-config", so it can be a program name with args. |
9600 set dummy pkg-config; ac_word=$2 | 14323 set dummy pkg-config; ac_word=$2 |
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14324 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9602 $as_echo_n "checking for $ac_word... " >&6; } | 14325 $as_echo_n "checking for $ac_word... " >&6; } |
9603 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14326 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
9604 $as_echo_n "(cached) " >&6 | 14327 $as_echo_n "(cached) " >&6 |
9605 else | 14328 else |
9606 case $PKG_CONFIG in | 14329 case $PKG_CONFIG in |
9607 [\\/]* | ?:[\\/]*) | 14330 [\\/]* | ?:[\\/]*) |
9608 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 14331 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 14334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9612 for as_dir in $PATH | 14335 for as_dir in $PATH |
9613 do | 14336 do |
9614 IFS=$as_save_IFS | 14337 IFS=$as_save_IFS |
9615 test -z "$as_dir" && as_dir=. | 14338 test -z "$as_dir" && as_dir=. |
9616 for ac_exec_ext in '' $ac_executable_extensions; do | 14339 for ac_exec_ext in '' $ac_executable_extensions; do |
9617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9618 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14341 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
9619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9620 break 2 | 14343 break 2 |
9621 fi | 14344 fi |
9622 done | 14345 done |
9623 done | 14346 done |
9624 IFS=$as_save_IFS | 14347 IFS=$as_save_IFS |
9625 | 14348 |
9626 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14349 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
9627 ;; | 14350 ;; |
9628 esac | 14351 esac |
9629 fi | 14352 fi |
9630 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14353 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
9631 if test -n "$PKG_CONFIG"; then | 14354 if test -n "$PKG_CONFIG"; then |
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14355 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
9633 $as_echo "$PKG_CONFIG" >&6; } | 14356 $as_echo "$PKG_CONFIG" >&6; } |
9634 else | 14357 else |
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14358 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9636 $as_echo "no" >&6; } | 14359 $as_echo "no" >&6; } |
9637 fi | 14360 fi |
9638 | 14361 |
9639 | 14362 |
9640 | 14363 |
9641 if test "$PKG_CONFIG" = "no" ; then | 14364 if test "$PKG_CONFIG" = "no" ; then |
9642 HAVE_M17N_FLT=no | 14365 HAVE_M17N_FLT=no |
9643 else | 14366 else |
9644 PKG_CONFIG_MIN_VERSION=0.9.0 | 14367 PKG_CONFIG_MIN_VERSION=0.9.0 |
9645 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14368 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 | 14369 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 |
9647 $as_echo_n "checking for m17n-flt... " >&6; } | 14370 $as_echo_n "checking for m17n-flt... " >&6; } |
9648 | 14371 |
9649 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then | 14372 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then |
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14373 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
9651 $as_echo "yes" >&6; } | 14374 $as_echo "yes" >&6; } |
9652 succeeded=yes | 14375 succeeded=yes |
9653 | 14376 |
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5 | 14377 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 |
9655 $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } | 14378 $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } |
9656 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` | 14379 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` |
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5 | 14380 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 |
9658 $as_echo "$M17N_FLT_CFLAGS" >&6; } | 14381 $as_echo "$M17N_FLT_CFLAGS" >&6; } |
9659 | 14382 |
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5 | 14383 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 |
9661 $as_echo_n "checking M17N_FLT_LIBS... " >&6; } | 14384 $as_echo_n "checking M17N_FLT_LIBS... " >&6; } |
9662 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` | 14385 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` |
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5 | 14386 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 |
9664 $as_echo "$M17N_FLT_LIBS" >&6; } | 14387 $as_echo "$M17N_FLT_LIBS" >&6; } |
9665 else | 14388 else |
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14389 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9667 $as_echo "no" >&6; } | 14390 $as_echo "no" >&6; } |
9668 M17N_FLT_CFLAGS="" | 14391 M17N_FLT_CFLAGS="" |
9669 M17N_FLT_LIBS="" | 14392 M17N_FLT_LIBS="" |
9670 ## If we have a custom action on failure, don't print errors, but | 14393 ## If we have a custom action on failure, don't print errors, but |
9671 ## do set a variable so people can do so. | 14394 ## do set a variable so people can do so. |
9687 HAVE_M17N_FLT=no | 14410 HAVE_M17N_FLT=no |
9688 fi | 14411 fi |
9689 | 14412 |
9690 if test "$HAVE_M17N_FLT" = "yes"; then | 14413 if test "$HAVE_M17N_FLT" = "yes"; then |
9691 | 14414 |
9692 $as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h | 14415 cat >>confdefs.h <<\_ACEOF |
14416 #define HAVE_M17N_FLT 1 | |
14417 _ACEOF | |
9693 | 14418 |
9694 fi | 14419 fi |
9695 fi | 14420 fi |
9696 fi | 14421 fi |
9697 else | 14422 else |
9714 ### Use -lXpm if available, unless `--with-xpm=no'. | 14439 ### Use -lXpm if available, unless `--with-xpm=no'. |
9715 HAVE_XPM=no | 14440 HAVE_XPM=no |
9716 LIBXPM= | 14441 LIBXPM= |
9717 if test "${HAVE_X11}" = "yes"; then | 14442 if test "${HAVE_X11}" = "yes"; then |
9718 if test "${with_xpm}" != "no"; then | 14443 if test "${with_xpm}" != "no"; then |
9719 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" | 14444 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
9720 if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : | 14445 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 | 14446 $as_echo_n "checking for X11/xpm.h... " >&6; } |
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 | |
9722 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } | 14573 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } |
9723 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : | 14574 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
9724 $as_echo_n "(cached) " >&6 | 14575 $as_echo_n "(cached) " >&6 |
9725 else | 14576 else |
9726 ac_check_lib_save_LIBS=$LIBS | 14577 ac_check_lib_save_LIBS=$LIBS |
9727 LIBS="-lXpm -lX11 $LIBS" | 14578 LIBS="-lXpm -lX11 $LIBS" |
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14579 cat >conftest.$ac_ext <<_ACEOF |
14580 /* confdefs.h. */ | |
14581 _ACEOF | |
14582 cat confdefs.h >>conftest.$ac_ext | |
14583 cat >>conftest.$ac_ext <<_ACEOF | |
9729 /* end confdefs.h. */ | 14584 /* end confdefs.h. */ |
9730 | 14585 |
9731 /* Override any GCC internal prototype to avoid an error. | 14586 /* Override any GCC internal prototype to avoid an error. |
9732 Use char because int might match the return type of a GCC | 14587 Use char because int might match the return type of a GCC |
9733 builtin and then its argument prototype would still apply. */ | 14588 builtin and then its argument prototype would still apply. */ |
9741 return XpmReadFileToPixmap (); | 14596 return XpmReadFileToPixmap (); |
9742 ; | 14597 ; |
9743 return 0; | 14598 return 0; |
9744 } | 14599 } |
9745 _ACEOF | 14600 _ACEOF |
9746 if ac_fn_c_try_link "$LINENO"; then : | 14601 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
9747 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 14622 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
9748 else | 14623 else |
9749 ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 14624 $as_echo "$as_me: failed program was:" >&5 |
9750 fi | 14625 sed 's/^/| /' conftest.$ac_ext >&5 |
9751 rm -f core conftest.err conftest.$ac_objext \ | 14626 |
9752 conftest$ac_exeext conftest.$ac_ext | 14627 ac_cv_lib_Xpm_XpmReadFileToPixmap=no |
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 | |
9753 LIBS=$ac_check_lib_save_LIBS | 14633 LIBS=$ac_check_lib_save_LIBS |
9754 fi | 14634 fi |
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 14635 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
9756 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } | 14636 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
9757 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : | 14637 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
9758 HAVE_XPM=yes | 14638 HAVE_XPM=yes |
9759 fi | 14639 fi |
9760 | 14640 |
9761 fi | 14641 fi |
9762 | 14642 |
9763 | 14643 |
9764 if test "${HAVE_XPM}" = "yes"; then | 14644 if test "${HAVE_XPM}" = "yes"; then |
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5 | 14645 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 |
9766 $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } | 14646 $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } |
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14647 cat >conftest.$ac_ext <<_ACEOF |
14648 /* confdefs.h. */ | |
14649 _ACEOF | |
14650 cat confdefs.h >>conftest.$ac_ext | |
14651 cat >>conftest.$ac_ext <<_ACEOF | |
9768 /* end confdefs.h. */ | 14652 /* end confdefs.h. */ |
9769 #include "X11/xpm.h" | 14653 #include "X11/xpm.h" |
9770 #ifndef XpmReturnAllocPixels | 14654 #ifndef XpmReturnAllocPixels |
9771 no_return_alloc_pixels | 14655 no_return_alloc_pixels |
9772 #endif | 14656 #endif |
9773 | 14657 |
9774 _ACEOF | 14658 _ACEOF |
9775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9776 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then : | 14660 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then |
9777 HAVE_XPM=no | 14661 HAVE_XPM=no |
9778 else | 14662 else |
9779 HAVE_XPM=yes | 14663 HAVE_XPM=yes |
9780 fi | 14664 fi |
9781 rm -f conftest* | 14665 rm -f conftest* |
9782 | 14666 |
9783 | 14667 |
9784 if test "${HAVE_XPM}" = "yes"; then | 14668 if test "${HAVE_XPM}" = "yes"; then |
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14669 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
9786 $as_echo "yes" >&6; } | 14670 $as_echo "yes" >&6; } |
9787 else | 14671 else |
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14672 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9789 $as_echo "no" >&6; } | 14673 $as_echo "no" >&6; } |
9790 fi | 14674 fi |
9791 fi | 14675 fi |
9792 fi | 14676 fi |
9793 | 14677 |
9794 if test "${HAVE_XPM}" = "yes"; then | 14678 if test "${HAVE_XPM}" = "yes"; then |
9795 | 14679 |
9796 $as_echo "#define HAVE_XPM 1" >>confdefs.h | 14680 cat >>confdefs.h <<\_ACEOF |
14681 #define HAVE_XPM 1 | |
14682 _ACEOF | |
9797 | 14683 |
9798 LIBXPM=-lXpm | 14684 LIBXPM=-lXpm |
9799 fi | 14685 fi |
9800 fi | 14686 fi |
9801 | 14687 |
9803 ### Use -ljpeg if available, unless `--with-jpeg=no'. | 14689 ### Use -ljpeg if available, unless `--with-jpeg=no'. |
9804 HAVE_JPEG=no | 14690 HAVE_JPEG=no |
9805 LIBJPEG= | 14691 LIBJPEG= |
9806 if test "${HAVE_X11}" = "yes"; then | 14692 if test "${HAVE_X11}" = "yes"; then |
9807 if test "${with_jpeg}" != "no"; then | 14693 if test "${with_jpeg}" != "no"; then |
9808 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" | 14694 if test "${ac_cv_header_jerror_h+set}" = set; then |
9809 if test "x$ac_cv_header_jerror_h" = x""yes; then : | 14695 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 |
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 | 14696 $as_echo_n "checking for jerror.h... " >&6; } |
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 | |
9811 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } | 14823 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } |
9812 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : | 14824 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
9813 $as_echo_n "(cached) " >&6 | 14825 $as_echo_n "(cached) " >&6 |
9814 else | 14826 else |
9815 ac_check_lib_save_LIBS=$LIBS | 14827 ac_check_lib_save_LIBS=$LIBS |
9816 LIBS="-ljpeg $LIBS" | 14828 LIBS="-ljpeg $LIBS" |
9817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14829 cat >conftest.$ac_ext <<_ACEOF |
14830 /* confdefs.h. */ | |
14831 _ACEOF | |
14832 cat confdefs.h >>conftest.$ac_ext | |
14833 cat >>conftest.$ac_ext <<_ACEOF | |
9818 /* end confdefs.h. */ | 14834 /* end confdefs.h. */ |
9819 | 14835 |
9820 /* Override any GCC internal prototype to avoid an error. | 14836 /* Override any GCC internal prototype to avoid an error. |
9821 Use char because int might match the return type of a GCC | 14837 Use char because int might match the return type of a GCC |
9822 builtin and then its argument prototype would still apply. */ | 14838 builtin and then its argument prototype would still apply. */ |
9830 return jpeg_destroy_compress (); | 14846 return jpeg_destroy_compress (); |
9831 ; | 14847 ; |
9832 return 0; | 14848 return 0; |
9833 } | 14849 } |
9834 _ACEOF | 14850 _ACEOF |
9835 if ac_fn_c_try_link "$LINENO"; then : | 14851 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
9836 ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 14872 ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
9837 else | 14873 else |
9838 ac_cv_lib_jpeg_jpeg_destroy_compress=no | 14874 $as_echo "$as_me: failed program was:" >&5 |
9839 fi | 14875 sed 's/^/| /' conftest.$ac_ext >&5 |
9840 rm -f core conftest.err conftest.$ac_objext \ | 14876 |
9841 conftest$ac_exeext conftest.$ac_ext | 14877 ac_cv_lib_jpeg_jpeg_destroy_compress=no |
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 | |
9842 LIBS=$ac_check_lib_save_LIBS | 14883 LIBS=$ac_check_lib_save_LIBS |
9843 fi | 14884 fi |
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 14885 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
9845 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } | 14886 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
9846 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : | 14887 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
9847 HAVE_JPEG=yes | 14888 HAVE_JPEG=yes |
9848 fi | 14889 fi |
9849 | 14890 |
9850 fi | 14891 fi |
9851 | 14892 |
9852 | 14893 |
9853 fi | 14894 fi |
9854 | 14895 |
9855 if test "${HAVE_JPEG}" = "yes"; then | 14896 |
9856 $as_echo "#define HAVE_JPEG 1" >>confdefs.h | 14897 if test "${HAVE_JPEG}" = "yes"; then |
9857 | 14898 cat >>confdefs.h <<\_ACEOF |
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14899 #define HAVE_JPEG 1 |
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 | |
9859 /* end confdefs.h. */ | 14907 /* end confdefs.h. */ |
9860 #include <jpeglib.h> | 14908 #include <jpeglib.h> |
9861 version=JPEG_LIB_VERSION | 14909 version=JPEG_LIB_VERSION |
9862 | 14910 |
9863 _ACEOF | 14911 _ACEOF |
9864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9865 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then : | 14913 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then |
9866 $as_echo "#define HAVE_JPEG 1" >>confdefs.h | 14914 cat >>confdefs.h <<\_ACEOF |
9867 | 14915 #define HAVE_JPEG 1 |
9868 else | 14916 _ACEOF |
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5 | 14917 |
14918 else | |
14919 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 | |
9870 $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} | 14920 $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} |
9871 HAVE_JPEG=no | 14921 HAVE_JPEG=no |
9872 fi | 14922 fi |
9873 rm -f conftest* | 14923 rm -f conftest* |
9874 | 14924 |
9884 LIBPNG= | 14934 LIBPNG= |
9885 if test "${HAVE_X11}" = "yes"; then | 14935 if test "${HAVE_X11}" = "yes"; then |
9886 if test "${with_png}" != "no"; then | 14936 if test "${with_png}" != "no"; then |
9887 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h | 14937 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h |
9888 # in /usr/include/libpng. | 14938 # in /usr/include/libpng. |
9889 for ac_header in png.h libpng/png.h | 14939 |
9890 do : | 14940 |
9891 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14941 for ac_header in png.h libpng/png.h |
9892 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 14942 do |
9893 eval as_val=\$$as_ac_Header | 14943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9894 if test "x$as_val" = x""yes; then : | 14944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14945 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14946 $as_echo_n "checking for $ac_header... " >&6; } | |
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 | |
9895 cat >>confdefs.h <<_ACEOF | 15077 cat >>confdefs.h <<_ACEOF |
9896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 15078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
9897 _ACEOF | 15079 _ACEOF |
9898 | 15080 |
9899 fi | 15081 fi |
9900 | 15082 |
9901 done | 15083 done |
9902 | 15084 |
9903 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 15085 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 | 15086 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 |
9905 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } | 15087 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } |
9906 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : | 15088 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
9907 $as_echo_n "(cached) " >&6 | 15089 $as_echo_n "(cached) " >&6 |
9908 else | 15090 else |
9909 ac_check_lib_save_LIBS=$LIBS | 15091 ac_check_lib_save_LIBS=$LIBS |
9910 LIBS="-lpng -lz -lm $LIBS" | 15092 LIBS="-lpng -lz -lm $LIBS" |
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15093 cat >conftest.$ac_ext <<_ACEOF |
15094 /* confdefs.h. */ | |
15095 _ACEOF | |
15096 cat confdefs.h >>conftest.$ac_ext | |
15097 cat >>conftest.$ac_ext <<_ACEOF | |
9912 /* end confdefs.h. */ | 15098 /* end confdefs.h. */ |
9913 | 15099 |
9914 /* Override any GCC internal prototype to avoid an error. | 15100 /* Override any GCC internal prototype to avoid an error. |
9915 Use char because int might match the return type of a GCC | 15101 Use char because int might match the return type of a GCC |
9916 builtin and then its argument prototype would still apply. */ | 15102 builtin and then its argument prototype would still apply. */ |
9924 return png_get_channels (); | 15110 return png_get_channels (); |
9925 ; | 15111 ; |
9926 return 0; | 15112 return 0; |
9927 } | 15113 } |
9928 _ACEOF | 15114 _ACEOF |
9929 if ac_fn_c_try_link "$LINENO"; then : | 15115 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
9930 ac_cv_lib_png_png_get_channels=yes | 15136 ac_cv_lib_png_png_get_channels=yes |
9931 else | 15137 else |
9932 ac_cv_lib_png_png_get_channels=no | 15138 $as_echo "$as_me: failed program was:" >&5 |
9933 fi | 15139 sed 's/^/| /' conftest.$ac_ext >&5 |
9934 rm -f core conftest.err conftest.$ac_objext \ | 15140 |
9935 conftest$ac_exeext conftest.$ac_ext | 15141 ac_cv_lib_png_png_get_channels=no |
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 | |
9936 LIBS=$ac_check_lib_save_LIBS | 15147 LIBS=$ac_check_lib_save_LIBS |
9937 fi | 15148 fi |
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 | 15149 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 |
9939 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } | 15150 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } |
9940 if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : | 15151 if test $ac_cv_lib_png_png_get_channels = yes; then |
9941 HAVE_PNG=yes | 15152 HAVE_PNG=yes |
9942 fi | 15153 fi |
9943 | 15154 |
9944 fi | 15155 fi |
9945 fi | 15156 fi |
9946 | 15157 |
9947 if test "${HAVE_PNG}" = "yes"; then | 15158 if test "${HAVE_PNG}" = "yes"; then |
9948 | 15159 |
9949 $as_echo "#define HAVE_PNG 1" >>confdefs.h | 15160 cat >>confdefs.h <<\_ACEOF |
15161 #define HAVE_PNG 1 | |
15162 _ACEOF | |
9950 | 15163 |
9951 LIBPNG="-lpng -lz -lm" | 15164 LIBPNG="-lpng -lz -lm" |
9952 fi | 15165 fi |
9953 fi | 15166 fi |
9954 | 15167 |
9956 ### Use -ltiff if available, unless `--with-tiff=no'. | 15169 ### Use -ltiff if available, unless `--with-tiff=no'. |
9957 HAVE_TIFF=no | 15170 HAVE_TIFF=no |
9958 LIBTIFF= | 15171 LIBTIFF= |
9959 if test "${HAVE_X11}" = "yes"; then | 15172 if test "${HAVE_X11}" = "yes"; then |
9960 if test "${with_tiff}" != "no"; then | 15173 if test "${with_tiff}" != "no"; then |
9961 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" | 15174 if test "${ac_cv_header_tiffio_h+set}" = set; then |
9962 if test "x$ac_cv_header_tiffio_h" = x""yes; then : | 15175 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
15176 $as_echo_n "checking for tiffio.h... " >&6; } | |
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 | |
9963 tifflibs="-lz -lm" | 15302 tifflibs="-lz -lm" |
9964 # At least one tiff package requires the jpeg library. | 15303 # At least one tiff package requires the jpeg library. |
9965 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 15304 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 | 15305 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 |
9967 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } | 15306 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } |
9968 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : | 15307 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
9969 $as_echo_n "(cached) " >&6 | 15308 $as_echo_n "(cached) " >&6 |
9970 else | 15309 else |
9971 ac_check_lib_save_LIBS=$LIBS | 15310 ac_check_lib_save_LIBS=$LIBS |
9972 LIBS="-ltiff $tifflibs $LIBS" | 15311 LIBS="-ltiff $tifflibs $LIBS" |
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15312 cat >conftest.$ac_ext <<_ACEOF |
15313 /* confdefs.h. */ | |
15314 _ACEOF | |
15315 cat confdefs.h >>conftest.$ac_ext | |
15316 cat >>conftest.$ac_ext <<_ACEOF | |
9974 /* end confdefs.h. */ | 15317 /* end confdefs.h. */ |
9975 | 15318 |
9976 /* Override any GCC internal prototype to avoid an error. | 15319 /* Override any GCC internal prototype to avoid an error. |
9977 Use char because int might match the return type of a GCC | 15320 Use char because int might match the return type of a GCC |
9978 builtin and then its argument prototype would still apply. */ | 15321 builtin and then its argument prototype would still apply. */ |
9986 return TIFFGetVersion (); | 15329 return TIFFGetVersion (); |
9987 ; | 15330 ; |
9988 return 0; | 15331 return 0; |
9989 } | 15332 } |
9990 _ACEOF | 15333 _ACEOF |
9991 if ac_fn_c_try_link "$LINENO"; then : | 15334 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
9992 ac_cv_lib_tiff_TIFFGetVersion=yes | 15355 ac_cv_lib_tiff_TIFFGetVersion=yes |
9993 else | 15356 else |
9994 ac_cv_lib_tiff_TIFFGetVersion=no | 15357 $as_echo "$as_me: failed program was:" >&5 |
9995 fi | 15358 sed 's/^/| /' conftest.$ac_ext >&5 |
9996 rm -f core conftest.err conftest.$ac_objext \ | 15359 |
9997 conftest$ac_exeext conftest.$ac_ext | 15360 ac_cv_lib_tiff_TIFFGetVersion=no |
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 | |
9998 LIBS=$ac_check_lib_save_LIBS | 15366 LIBS=$ac_check_lib_save_LIBS |
9999 fi | 15367 fi |
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 15368 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
10001 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } | 15369 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
10002 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : | 15370 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
10003 HAVE_TIFF=yes | 15371 HAVE_TIFF=yes |
10004 fi | 15372 fi |
10005 | 15373 |
10006 fi | 15374 fi |
10007 | 15375 |
10008 | 15376 |
10009 fi | 15377 fi |
10010 | 15378 |
10011 if test "${HAVE_TIFF}" = "yes"; then | 15379 if test "${HAVE_TIFF}" = "yes"; then |
10012 | 15380 |
10013 $as_echo "#define HAVE_TIFF 1" >>confdefs.h | 15381 cat >>confdefs.h <<\_ACEOF |
15382 #define HAVE_TIFF 1 | |
15383 _ACEOF | |
10014 | 15384 |
10015 LIBTIFF=-ltiff | 15385 LIBTIFF=-ltiff |
10016 fi | 15386 fi |
10017 fi | 15387 fi |
10018 | 15388 |
10019 | 15389 |
10020 ### Use -lgif or -lungif if available, unless `--with-gif=no'. | 15390 ### Use -lgif or -lungif if available, unless `--with-gif=no'. |
10021 HAVE_GIF=no | 15391 HAVE_GIF=no |
10022 LIBGIF= | 15392 LIBGIF= |
10023 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | 15393 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then |
10024 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" | 15394 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
10025 if test "x$ac_cv_header_gif_lib_h" = x""yes; then : | 15395 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
15396 $as_echo_n "checking for gif_lib.h... " >&6; } | |
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 | |
10026 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 15522 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
10027 # Earlier versions can crash Emacs. | 15523 # Earlier versions can crash Emacs. |
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 | 15524 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 |
10029 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } | 15525 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } |
10030 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : | 15526 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then |
10031 $as_echo_n "(cached) " >&6 | 15527 $as_echo_n "(cached) " >&6 |
10032 else | 15528 else |
10033 ac_check_lib_save_LIBS=$LIBS | 15529 ac_check_lib_save_LIBS=$LIBS |
10034 LIBS="-lgif $LIBS" | 15530 LIBS="-lgif $LIBS" |
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15531 cat >conftest.$ac_ext <<_ACEOF |
15532 /* confdefs.h. */ | |
15533 _ACEOF | |
15534 cat confdefs.h >>conftest.$ac_ext | |
15535 cat >>conftest.$ac_ext <<_ACEOF | |
10036 /* end confdefs.h. */ | 15536 /* end confdefs.h. */ |
10037 | 15537 |
10038 /* Override any GCC internal prototype to avoid an error. | 15538 /* Override any GCC internal prototype to avoid an error. |
10039 Use char because int might match the return type of a GCC | 15539 Use char because int might match the return type of a GCC |
10040 builtin and then its argument prototype would still apply. */ | 15540 builtin and then its argument prototype would still apply. */ |
10048 return EGifPutExtensionLast (); | 15548 return EGifPutExtensionLast (); |
10049 ; | 15549 ; |
10050 return 0; | 15550 return 0; |
10051 } | 15551 } |
10052 _ACEOF | 15552 _ACEOF |
10053 if ac_fn_c_try_link "$LINENO"; then : | 15553 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10054 ac_cv_lib_gif_EGifPutExtensionLast=yes | 15574 ac_cv_lib_gif_EGifPutExtensionLast=yes |
10055 else | 15575 else |
10056 ac_cv_lib_gif_EGifPutExtensionLast=no | 15576 $as_echo "$as_me: failed program was:" >&5 |
10057 fi | 15577 sed 's/^/| /' conftest.$ac_ext >&5 |
10058 rm -f core conftest.err conftest.$ac_objext \ | 15578 |
10059 conftest$ac_exeext conftest.$ac_ext | 15579 ac_cv_lib_gif_EGifPutExtensionLast=no |
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 | |
10060 LIBS=$ac_check_lib_save_LIBS | 15585 LIBS=$ac_check_lib_save_LIBS |
10061 fi | 15586 fi |
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 15587 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
10063 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 15588 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
10064 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : | 15589 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then |
10065 HAVE_GIF=yes | 15590 HAVE_GIF=yes |
10066 else | 15591 else |
10067 HAVE_GIF=maybe | 15592 HAVE_GIF=maybe |
10068 fi | 15593 fi |
10069 | 15594 |
10073 | 15598 |
10074 if test "$HAVE_GIF" = yes; then | 15599 if test "$HAVE_GIF" = yes; then |
10075 LIBGIF=-lgif | 15600 LIBGIF=-lgif |
10076 elif test "$HAVE_GIF" = maybe; then | 15601 elif test "$HAVE_GIF" = maybe; then |
10077 # If gif_lib.h but no libgif, try libungif. | 15602 # If gif_lib.h but no libgif, try libungif. |
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 | 15603 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
10079 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } | 15604 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } |
10080 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : | 15605 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
10081 $as_echo_n "(cached) " >&6 | 15606 $as_echo_n "(cached) " >&6 |
10082 else | 15607 else |
10083 ac_check_lib_save_LIBS=$LIBS | 15608 ac_check_lib_save_LIBS=$LIBS |
10084 LIBS="-lungif $LIBS" | 15609 LIBS="-lungif $LIBS" |
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15610 cat >conftest.$ac_ext <<_ACEOF |
15611 /* confdefs.h. */ | |
15612 _ACEOF | |
15613 cat confdefs.h >>conftest.$ac_ext | |
15614 cat >>conftest.$ac_ext <<_ACEOF | |
10086 /* end confdefs.h. */ | 15615 /* end confdefs.h. */ |
10087 | 15616 |
10088 /* Override any GCC internal prototype to avoid an error. | 15617 /* Override any GCC internal prototype to avoid an error. |
10089 Use char because int might match the return type of a GCC | 15618 Use char because int might match the return type of a GCC |
10090 builtin and then its argument prototype would still apply. */ | 15619 builtin and then its argument prototype would still apply. */ |
10098 return EGifPutExtensionLast (); | 15627 return EGifPutExtensionLast (); |
10099 ; | 15628 ; |
10100 return 0; | 15629 return 0; |
10101 } | 15630 } |
10102 _ACEOF | 15631 _ACEOF |
10103 if ac_fn_c_try_link "$LINENO"; then : | 15632 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10104 ac_cv_lib_ungif_EGifPutExtensionLast=yes | 15653 ac_cv_lib_ungif_EGifPutExtensionLast=yes |
10105 else | 15654 else |
10106 ac_cv_lib_ungif_EGifPutExtensionLast=no | 15655 $as_echo "$as_me: failed program was:" >&5 |
10107 fi | 15656 sed 's/^/| /' conftest.$ac_ext >&5 |
10108 rm -f core conftest.err conftest.$ac_objext \ | 15657 |
10109 conftest$ac_exeext conftest.$ac_ext | 15658 ac_cv_lib_ungif_EGifPutExtensionLast=no |
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 | |
10110 LIBS=$ac_check_lib_save_LIBS | 15664 LIBS=$ac_check_lib_save_LIBS |
10111 fi | 15665 fi |
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 15666 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
10113 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 15667 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
10114 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : | 15668 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
10115 HAVE_GIF=yes | 15669 HAVE_GIF=yes |
10116 else | 15670 else |
10117 HAVE_GIF=no | 15671 HAVE_GIF=no |
10118 fi | 15672 fi |
10119 | 15673 |
10120 test "$HAVE_GIF" = yes && LIBGIF=-lungif | 15674 test "$HAVE_GIF" = yes && LIBGIF=-lungif |
10121 fi | 15675 fi |
10122 | 15676 |
10123 if test "${HAVE_GIF}" = "yes"; then | 15677 if test "${HAVE_GIF}" = "yes"; then |
10124 | 15678 |
10125 $as_echo "#define HAVE_GIF 1" >>confdefs.h | 15679 cat >>confdefs.h <<\_ACEOF |
15680 #define HAVE_GIF 1 | |
15681 _ACEOF | |
10126 | 15682 |
10127 fi | 15683 fi |
10128 fi | 15684 fi |
10129 | 15685 |
10130 | 15686 |
10141 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 15697 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
10142 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 15698 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
10143 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 15699 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
10144 | 15700 |
10145 if test "X${MISSING}" != X; then | 15701 if test "X${MISSING}" != X; then |
10146 as_fn_error "The following required libraries were not found: | 15702 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: |
10147 $MISSING | 15703 $MISSING |
10148 Maybe some development libraries/packages are missing? | 15704 Maybe some development libraries/packages are missing? |
10149 If you don't want to link with them give | 15705 If you don't want to link with them give |
10150 $WITH_NO | 15706 $WITH_NO |
10151 as options to configure" "$LINENO" 5 | 15707 as options to configure" >&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; }; } | |
10152 fi | 15715 fi |
10153 fi | 15716 fi |
10154 | 15717 |
10155 ### Use -lgpm if available, unless `--with-gpm=no'. | 15718 ### Use -lgpm if available, unless `--with-gpm=no'. |
10156 HAVE_GPM=no | 15719 HAVE_GPM=no |
10157 LIBGPM= | 15720 LIBGPM= |
10158 if test "${with_gpm}" != "no"; then | 15721 if test "${with_gpm}" != "no"; then |
10159 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" | 15722 if test "${ac_cv_header_gpm_h+set}" = set; then |
10160 if test "x$ac_cv_header_gpm_h" = x""yes; then : | 15723 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 |
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 | 15724 $as_echo_n "checking for gpm.h... " >&6; } |
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 | |
10162 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } | 15851 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } |
10163 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : | 15852 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then |
10164 $as_echo_n "(cached) " >&6 | 15853 $as_echo_n "(cached) " >&6 |
10165 else | 15854 else |
10166 ac_check_lib_save_LIBS=$LIBS | 15855 ac_check_lib_save_LIBS=$LIBS |
10167 LIBS="-lgpm $LIBS" | 15856 LIBS="-lgpm $LIBS" |
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15857 cat >conftest.$ac_ext <<_ACEOF |
15858 /* confdefs.h. */ | |
15859 _ACEOF | |
15860 cat confdefs.h >>conftest.$ac_ext | |
15861 cat >>conftest.$ac_ext <<_ACEOF | |
10169 /* end confdefs.h. */ | 15862 /* end confdefs.h. */ |
10170 | 15863 |
10171 /* Override any GCC internal prototype to avoid an error. | 15864 /* Override any GCC internal prototype to avoid an error. |
10172 Use char because int might match the return type of a GCC | 15865 Use char because int might match the return type of a GCC |
10173 builtin and then its argument prototype would still apply. */ | 15866 builtin and then its argument prototype would still apply. */ |
10181 return Gpm_Open (); | 15874 return Gpm_Open (); |
10182 ; | 15875 ; |
10183 return 0; | 15876 return 0; |
10184 } | 15877 } |
10185 _ACEOF | 15878 _ACEOF |
10186 if ac_fn_c_try_link "$LINENO"; then : | 15879 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10187 ac_cv_lib_gpm_Gpm_Open=yes | 15900 ac_cv_lib_gpm_Gpm_Open=yes |
10188 else | 15901 else |
10189 ac_cv_lib_gpm_Gpm_Open=no | 15902 $as_echo "$as_me: failed program was:" >&5 |
10190 fi | 15903 sed 's/^/| /' conftest.$ac_ext >&5 |
10191 rm -f core conftest.err conftest.$ac_objext \ | 15904 |
10192 conftest$ac_exeext conftest.$ac_ext | 15905 ac_cv_lib_gpm_Gpm_Open=no |
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 | |
10193 LIBS=$ac_check_lib_save_LIBS | 15911 LIBS=$ac_check_lib_save_LIBS |
10194 fi | 15912 fi |
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 | 15913 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
10196 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } | 15914 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } |
10197 if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : | 15915 if test $ac_cv_lib_gpm_Gpm_Open = yes; then |
10198 HAVE_GPM=yes | 15916 HAVE_GPM=yes |
10199 fi | 15917 fi |
10200 | 15918 |
10201 fi | 15919 fi |
10202 | 15920 |
10203 | 15921 |
10204 | 15922 |
10205 if test "${HAVE_GPM}" = "yes"; then | 15923 if test "${HAVE_GPM}" = "yes"; then |
10206 | 15924 |
10207 $as_echo "#define HAVE_GPM 1" >>confdefs.h | 15925 cat >>confdefs.h <<\_ACEOF |
15926 #define HAVE_GPM 1 | |
15927 _ACEOF | |
10208 | 15928 |
10209 LIBGPM=-lgpm | 15929 LIBGPM=-lgpm |
10210 fi | 15930 fi |
10211 fi | 15931 fi |
10212 | 15932 |
10213 | 15933 |
10214 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" | 15934 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
10215 if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : | 15935 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
10216 | 15936 $as_echo_n "checking for malloc/malloc.h... " >&6; } |
10217 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h | 15937 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
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 | |
10218 | 16066 |
10219 fi | 16067 fi |
10220 | 16068 |
10221 | 16069 |
10222 | 16070 |
10223 ### Use NeXTstep API to implement GUI. | 16071 ### Use NeXTstep API to implement GUI. |
10224 if test "${HAVE_NS}" = "yes"; then | 16072 if test "${HAVE_NS}" = "yes"; then |
10225 | 16073 |
10226 $as_echo "#define HAVE_NS 1" >>confdefs.h | 16074 cat >>confdefs.h <<\_ACEOF |
16075 #define HAVE_NS 1 | |
16076 _ACEOF | |
10227 | 16077 |
10228 if test "${NS_IMPL_COCOA}" = "yes"; then | 16078 if test "${NS_IMPL_COCOA}" = "yes"; then |
10229 | 16079 |
10230 $as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h | 16080 cat >>confdefs.h <<\_ACEOF |
16081 #define NS_IMPL_COCOA 1 | |
16082 _ACEOF | |
10231 | 16083 |
10232 GNU_OBJC_CFLAGS= | 16084 GNU_OBJC_CFLAGS= |
10233 fi | 16085 fi |
10234 if test "${NS_IMPL_GNUSTEP}" = "yes"; then | 16086 if test "${NS_IMPL_GNUSTEP}" = "yes"; then |
10235 | 16087 |
10236 $as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h | 16088 cat >>confdefs.h <<\_ACEOF |
16089 #define NS_IMPL_GNUSTEP 1 | |
16090 _ACEOF | |
10237 | 16091 |
10238 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" | 16092 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" |
10239 fi | 16093 fi |
10240 if test "${NS_HAVE_NSINTEGER}" = "yes"; then | 16094 if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
10241 | 16095 |
10242 $as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h | 16096 cat >>confdefs.h <<\_ACEOF |
16097 #define NS_HAVE_NSINTEGER 1 | |
16098 _ACEOF | |
10243 | 16099 |
10244 fi | 16100 fi |
10245 # We also have mouse menus. | 16101 # We also have mouse menus. |
10246 HAVE_MENUS=yes | 16102 HAVE_MENUS=yes |
10247 OTHER_FILES=ns-app | 16103 OTHER_FILES=ns-app |
10250 | 16106 |
10251 ### Use session management (-lSM -lICE) if available | 16107 ### Use session management (-lSM -lICE) if available |
10252 HAVE_X_SM=no | 16108 HAVE_X_SM=no |
10253 LIBXSM= | 16109 LIBXSM= |
10254 if test "${HAVE_X11}" = "yes"; then | 16110 if test "${HAVE_X11}" = "yes"; then |
10255 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" | 16111 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
10256 if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : | 16112 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 | 16113 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } |
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 | |
10258 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } | 16240 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } |
10259 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : | 16241 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then |
10260 $as_echo_n "(cached) " >&6 | 16242 $as_echo_n "(cached) " >&6 |
10261 else | 16243 else |
10262 ac_check_lib_save_LIBS=$LIBS | 16244 ac_check_lib_save_LIBS=$LIBS |
10263 LIBS="-lSM -lICE $LIBS" | 16245 LIBS="-lSM -lICE $LIBS" |
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16246 cat >conftest.$ac_ext <<_ACEOF |
16247 /* confdefs.h. */ | |
16248 _ACEOF | |
16249 cat confdefs.h >>conftest.$ac_ext | |
16250 cat >>conftest.$ac_ext <<_ACEOF | |
10265 /* end confdefs.h. */ | 16251 /* end confdefs.h. */ |
10266 | 16252 |
10267 /* Override any GCC internal prototype to avoid an error. | 16253 /* Override any GCC internal prototype to avoid an error. |
10268 Use char because int might match the return type of a GCC | 16254 Use char because int might match the return type of a GCC |
10269 builtin and then its argument prototype would still apply. */ | 16255 builtin and then its argument prototype would still apply. */ |
10277 return SmcOpenConnection (); | 16263 return SmcOpenConnection (); |
10278 ; | 16264 ; |
10279 return 0; | 16265 return 0; |
10280 } | 16266 } |
10281 _ACEOF | 16267 _ACEOF |
10282 if ac_fn_c_try_link "$LINENO"; then : | 16268 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10283 ac_cv_lib_SM_SmcOpenConnection=yes | 16289 ac_cv_lib_SM_SmcOpenConnection=yes |
10284 else | 16290 else |
10285 ac_cv_lib_SM_SmcOpenConnection=no | 16291 $as_echo "$as_me: failed program was:" >&5 |
10286 fi | 16292 sed 's/^/| /' conftest.$ac_ext >&5 |
10287 rm -f core conftest.err conftest.$ac_objext \ | 16293 |
10288 conftest$ac_exeext conftest.$ac_ext | 16294 ac_cv_lib_SM_SmcOpenConnection=no |
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 | |
10289 LIBS=$ac_check_lib_save_LIBS | 16300 LIBS=$ac_check_lib_save_LIBS |
10290 fi | 16301 fi |
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 16302 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
10292 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } | 16303 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
10293 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : | 16304 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then |
10294 HAVE_X_SM=yes | 16305 HAVE_X_SM=yes |
10295 fi | 16306 fi |
10296 | 16307 |
10297 fi | 16308 fi |
10298 | 16309 |
10299 | 16310 |
10300 | 16311 |
10301 if test "${HAVE_X_SM}" = "yes"; then | 16312 if test "${HAVE_X_SM}" = "yes"; then |
10302 | 16313 |
10303 $as_echo "#define HAVE_X_SM 1" >>confdefs.h | 16314 cat >>confdefs.h <<\_ACEOF |
16315 #define HAVE_X_SM 1 | |
16316 _ACEOF | |
10304 | 16317 |
10305 LIBXSM="-lSM -lICE" | 16318 LIBXSM="-lSM -lICE" |
10306 case "$LIBS" in | 16319 case "$LIBS" in |
10307 *-lSM*) ;; | 16320 *-lSM*) ;; |
10308 *) LIBS="$LIBXSM $LIBS" ;; | 16321 *) LIBS="$LIBXSM $LIBS" ;; |
10310 fi | 16323 fi |
10311 fi | 16324 fi |
10312 | 16325 |
10313 | 16326 |
10314 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 16327 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 | 16328 { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 |
10316 $as_echo_n "checking whether netdb declares h_errno... " >&6; } | 16329 $as_echo_n "checking whether netdb declares h_errno... " >&6; } |
10317 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : | 16330 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
10318 $as_echo_n "(cached) " >&6 | 16331 $as_echo_n "(cached) " >&6 |
10319 else | 16332 else |
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16333 cat >conftest.$ac_ext <<_ACEOF |
16334 /* confdefs.h. */ | |
16335 _ACEOF | |
16336 cat confdefs.h >>conftest.$ac_ext | |
16337 cat >>conftest.$ac_ext <<_ACEOF | |
10321 /* end confdefs.h. */ | 16338 /* end confdefs.h. */ |
10322 #include <netdb.h> | 16339 #include <netdb.h> |
10323 int | 16340 int |
10324 main () | 16341 main () |
10325 { | 16342 { |
10326 return h_errno; | 16343 return h_errno; |
10327 ; | 16344 ; |
10328 return 0; | 16345 return 0; |
10329 } | 16346 } |
10330 _ACEOF | 16347 _ACEOF |
10331 if ac_fn_c_try_link "$LINENO"; then : | 16348 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10332 emacs_cv_netdb_declares_h_errno=yes | 16369 emacs_cv_netdb_declares_h_errno=yes |
10333 else | 16370 else |
10334 emacs_cv_netdb_declares_h_errno=no | 16371 $as_echo "$as_me: failed program was:" >&5 |
10335 fi | 16372 sed 's/^/| /' conftest.$ac_ext >&5 |
10336 rm -f core conftest.err conftest.$ac_objext \ | 16373 |
10337 conftest$ac_exeext conftest.$ac_ext | 16374 emacs_cv_netdb_declares_h_errno=no |
10338 fi | 16375 fi |
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5 | 16376 |
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 | |
10340 $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } | 16382 $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } |
10341 if test $emacs_cv_netdb_declares_h_errno = yes; then | 16383 if test $emacs_cv_netdb_declares_h_errno = yes; then |
10342 | 16384 |
10343 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h | 16385 cat >>confdefs.h <<\_ACEOF |
16386 #define HAVE_H_ERRNO 1 | |
16387 _ACEOF | |
10344 | 16388 |
10345 fi | 16389 fi |
10346 | 16390 |
10347 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 16391 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
10348 # for constant arguments. Useless! | 16392 # for constant arguments. Useless! |
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 | 16393 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
10350 $as_echo_n "checking for working alloca.h... " >&6; } | 16394 $as_echo_n "checking for working alloca.h... " >&6; } |
10351 if test "${ac_cv_working_alloca_h+set}" = set; then : | 16395 if test "${ac_cv_working_alloca_h+set}" = set; then |
10352 $as_echo_n "(cached) " >&6 | 16396 $as_echo_n "(cached) " >&6 |
10353 else | 16397 else |
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16398 cat >conftest.$ac_ext <<_ACEOF |
16399 /* confdefs.h. */ | |
16400 _ACEOF | |
16401 cat confdefs.h >>conftest.$ac_ext | |
16402 cat >>conftest.$ac_ext <<_ACEOF | |
10355 /* end confdefs.h. */ | 16403 /* end confdefs.h. */ |
10356 #include <alloca.h> | 16404 #include <alloca.h> |
10357 int | 16405 int |
10358 main () | 16406 main () |
10359 { | 16407 { |
10361 if (p) return 0; | 16409 if (p) return 0; |
10362 ; | 16410 ; |
10363 return 0; | 16411 return 0; |
10364 } | 16412 } |
10365 _ACEOF | 16413 _ACEOF |
10366 if ac_fn_c_try_link "$LINENO"; then : | 16414 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10367 ac_cv_working_alloca_h=yes | 16435 ac_cv_working_alloca_h=yes |
10368 else | 16436 else |
10369 ac_cv_working_alloca_h=no | 16437 $as_echo "$as_me: failed program was:" >&5 |
10370 fi | 16438 sed 's/^/| /' conftest.$ac_ext >&5 |
10371 rm -f core conftest.err conftest.$ac_objext \ | 16439 |
10372 conftest$ac_exeext conftest.$ac_ext | 16440 ac_cv_working_alloca_h=no |
10373 fi | 16441 fi |
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 | 16442 |
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 | |
10375 $as_echo "$ac_cv_working_alloca_h" >&6; } | 16448 $as_echo "$ac_cv_working_alloca_h" >&6; } |
10376 if test $ac_cv_working_alloca_h = yes; then | 16449 if test $ac_cv_working_alloca_h = yes; then |
10377 | 16450 |
10378 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h | 16451 cat >>confdefs.h <<\_ACEOF |
10379 | 16452 #define HAVE_ALLOCA_H 1 |
10380 fi | 16453 _ACEOF |
10381 | 16454 |
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 | 16455 fi |
16456 | |
16457 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 | |
10383 $as_echo_n "checking for alloca... " >&6; } | 16458 $as_echo_n "checking for alloca... " >&6; } |
10384 if test "${ac_cv_func_alloca_works+set}" = set; then : | 16459 if test "${ac_cv_func_alloca_works+set}" = set; then |
10385 $as_echo_n "(cached) " >&6 | 16460 $as_echo_n "(cached) " >&6 |
10386 else | 16461 else |
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16462 cat >conftest.$ac_ext <<_ACEOF |
16463 /* confdefs.h. */ | |
16464 _ACEOF | |
16465 cat confdefs.h >>conftest.$ac_ext | |
16466 cat >>conftest.$ac_ext <<_ACEOF | |
10388 /* end confdefs.h. */ | 16467 /* end confdefs.h. */ |
10389 #ifdef __GNUC__ | 16468 #ifdef __GNUC__ |
10390 # define alloca __builtin_alloca | 16469 # define alloca __builtin_alloca |
10391 #else | 16470 #else |
10392 # ifdef _MSC_VER | 16471 # ifdef _MSC_VER |
10414 if (p) return 0; | 16493 if (p) return 0; |
10415 ; | 16494 ; |
10416 return 0; | 16495 return 0; |
10417 } | 16496 } |
10418 _ACEOF | 16497 _ACEOF |
10419 if ac_fn_c_try_link "$LINENO"; then : | 16498 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10420 ac_cv_func_alloca_works=yes | 16519 ac_cv_func_alloca_works=yes |
10421 else | 16520 else |
10422 ac_cv_func_alloca_works=no | 16521 $as_echo "$as_me: failed program was:" >&5 |
10423 fi | 16522 sed 's/^/| /' conftest.$ac_ext >&5 |
10424 rm -f core conftest.err conftest.$ac_objext \ | 16523 |
10425 conftest$ac_exeext conftest.$ac_ext | 16524 ac_cv_func_alloca_works=no |
10426 fi | 16525 fi |
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 | 16526 |
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 | |
10428 $as_echo "$ac_cv_func_alloca_works" >&6; } | 16532 $as_echo "$ac_cv_func_alloca_works" >&6; } |
10429 | 16533 |
10430 if test $ac_cv_func_alloca_works = yes; then | 16534 if test $ac_cv_func_alloca_works = yes; then |
10431 | 16535 |
10432 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h | 16536 cat >>confdefs.h <<\_ACEOF |
16537 #define HAVE_ALLOCA 1 | |
16538 _ACEOF | |
10433 | 16539 |
10434 else | 16540 else |
10435 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 16541 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
10436 # that cause trouble. Some versions do not even contain alloca or | 16542 # that cause trouble. Some versions do not even contain alloca or |
10437 # contain a buggy version. If you still want to use their alloca, | 16543 # contain a buggy version. If you still want to use their alloca, |
10438 # use ar to extract alloca.o from them instead of compiling alloca.c. | 16544 # use ar to extract alloca.o from them instead of compiling alloca.c. |
10439 | 16545 |
10440 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 16546 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
10441 | 16547 |
10442 $as_echo "#define C_ALLOCA 1" >>confdefs.h | 16548 cat >>confdefs.h <<\_ACEOF |
10443 | 16549 #define C_ALLOCA 1 |
10444 | 16550 _ACEOF |
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 | 16551 |
16552 | |
16553 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | |
10446 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 16554 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
10447 if test "${ac_cv_os_cray+set}" = set; then : | 16555 if test "${ac_cv_os_cray+set}" = set; then |
10448 $as_echo_n "(cached) " >&6 | 16556 $as_echo_n "(cached) " >&6 |
10449 else | 16557 else |
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16558 cat >conftest.$ac_ext <<_ACEOF |
16559 /* confdefs.h. */ | |
16560 _ACEOF | |
16561 cat confdefs.h >>conftest.$ac_ext | |
16562 cat >>conftest.$ac_ext <<_ACEOF | |
10451 /* end confdefs.h. */ | 16563 /* end confdefs.h. */ |
10452 #if defined CRAY && ! defined CRAY2 | 16564 #if defined CRAY && ! defined CRAY2 |
10453 webecray | 16565 webecray |
10454 #else | 16566 #else |
10455 wenotbecray | 16567 wenotbecray |
10456 #endif | 16568 #endif |
10457 | 16569 |
10458 _ACEOF | 16570 _ACEOF |
10459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 16571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10460 $EGREP "webecray" >/dev/null 2>&1; then : | 16572 $EGREP "webecray" >/dev/null 2>&1; then |
10461 ac_cv_os_cray=yes | 16573 ac_cv_os_cray=yes |
10462 else | 16574 else |
10463 ac_cv_os_cray=no | 16575 ac_cv_os_cray=no |
10464 fi | 16576 fi |
10465 rm -f conftest* | 16577 rm -f conftest* |
10466 | 16578 |
10467 fi | 16579 fi |
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 | 16580 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
10469 $as_echo "$ac_cv_os_cray" >&6; } | 16581 $as_echo "$ac_cv_os_cray" >&6; } |
10470 if test $ac_cv_os_cray = yes; then | 16582 if test $ac_cv_os_cray = yes; then |
10471 for ac_func in _getb67 GETB67 getb67; do | 16583 for ac_func in _getb67 GETB67 getb67; do |
10472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 16585 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10474 eval as_val=\$$as_ac_var | 16586 $as_echo_n "checking for $ac_func... " >&6; } |
10475 if test "x$as_val" = x""yes; then : | 16587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; 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 | |
10476 | 16674 |
10477 cat >>confdefs.h <<_ACEOF | 16675 cat >>confdefs.h <<_ACEOF |
10478 #define CRAY_STACKSEG_END $ac_func | 16676 #define CRAY_STACKSEG_END $ac_func |
10479 _ACEOF | 16677 _ACEOF |
10480 | 16678 |
10482 fi | 16680 fi |
10483 | 16681 |
10484 done | 16682 done |
10485 fi | 16683 fi |
10486 | 16684 |
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 | 16685 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
10488 $as_echo_n "checking stack direction for C alloca... " >&6; } | 16686 $as_echo_n "checking stack direction for C alloca... " >&6; } |
10489 if test "${ac_cv_c_stack_direction+set}" = set; then : | 16687 if test "${ac_cv_c_stack_direction+set}" = set; then |
10490 $as_echo_n "(cached) " >&6 | 16688 $as_echo_n "(cached) " >&6 |
10491 else | 16689 else |
10492 if test "$cross_compiling" = yes; then : | 16690 if test "$cross_compiling" = yes; then |
10493 ac_cv_c_stack_direction=0 | 16691 ac_cv_c_stack_direction=0 |
10494 else | 16692 else |
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16693 cat >conftest.$ac_ext <<_ACEOF |
16694 /* confdefs.h. */ | |
16695 _ACEOF | |
16696 cat confdefs.h >>conftest.$ac_ext | |
16697 cat >>conftest.$ac_ext <<_ACEOF | |
10496 /* end confdefs.h. */ | 16698 /* end confdefs.h. */ |
10497 $ac_includes_default | 16699 $ac_includes_default |
10498 int | 16700 int |
10499 find_stack_direction () | 16701 find_stack_direction () |
10500 { | 16702 { |
10513 main () | 16715 main () |
10514 { | 16716 { |
10515 return find_stack_direction () < 0; | 16717 return find_stack_direction () < 0; |
10516 } | 16718 } |
10517 _ACEOF | 16719 _ACEOF |
10518 if ac_fn_c_try_run "$LINENO"; then : | 16720 rm -f conftest$ac_exeext |
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 | |
10519 ac_cv_c_stack_direction=1 | 16742 ac_cv_c_stack_direction=1 |
10520 else | 16743 else |
10521 ac_cv_c_stack_direction=-1 | 16744 $as_echo "$as_me: program exited with status $ac_status" >&5 |
10522 fi | 16745 $as_echo "$as_me: failed program was:" >&5 |
10523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 16746 sed 's/^/| /' conftest.$ac_ext >&5 |
10524 conftest.$ac_objext conftest.beam conftest.$ac_ext | 16747 |
10525 fi | 16748 ( exit $ac_status ) |
10526 | 16749 ac_cv_c_stack_direction=-1 |
10527 fi | 16750 fi |
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 | 16751 rm -rf conftest.dSYM |
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 | |
10529 $as_echo "$ac_cv_c_stack_direction" >&6; } | 16758 $as_echo "$ac_cv_c_stack_direction" >&6; } |
16759 | |
10530 cat >>confdefs.h <<_ACEOF | 16760 cat >>confdefs.h <<_ACEOF |
10531 #define STACK_DIRECTION $ac_cv_c_stack_direction | 16761 #define STACK_DIRECTION $ac_cv_c_stack_direction |
10532 _ACEOF | 16762 _ACEOF |
10533 | 16763 |
10534 | 16764 |
10535 fi | 16765 fi |
10536 | 16766 |
10537 | 16767 |
10538 if test x"$ac_cv_func_alloca_works" != xyes; then | 16768 if test x"$ac_cv_func_alloca_works" != xyes; then |
10539 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 | 16769 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 |
16770 $as_echo "$as_me: error: a system implementation of alloca is required " >&2;} | |
16771 { (exit 1); exit 1; }; } | |
10540 fi | 16772 fi |
10541 | 16773 |
10542 # fmod, logb, and frexp are found in -lm on most systems. | 16774 # fmod, logb, and frexp are found in -lm on most systems. |
10543 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 16775 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 16776 |
16777 { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | |
10545 $as_echo_n "checking for sqrt in -lm... " >&6; } | 16778 $as_echo_n "checking for sqrt in -lm... " >&6; } |
10546 if test "${ac_cv_lib_m_sqrt+set}" = set; then : | 16779 if test "${ac_cv_lib_m_sqrt+set}" = set; then |
10547 $as_echo_n "(cached) " >&6 | 16780 $as_echo_n "(cached) " >&6 |
10548 else | 16781 else |
10549 ac_check_lib_save_LIBS=$LIBS | 16782 ac_check_lib_save_LIBS=$LIBS |
10550 LIBS="-lm $LIBS" | 16783 LIBS="-lm $LIBS" |
10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16784 cat >conftest.$ac_ext <<_ACEOF |
16785 /* confdefs.h. */ | |
16786 _ACEOF | |
16787 cat confdefs.h >>conftest.$ac_ext | |
16788 cat >>conftest.$ac_ext <<_ACEOF | |
10552 /* end confdefs.h. */ | 16789 /* end confdefs.h. */ |
10553 | 16790 |
10554 /* Override any GCC internal prototype to avoid an error. | 16791 /* Override any GCC internal prototype to avoid an error. |
10555 Use char because int might match the return type of a GCC | 16792 Use char because int might match the return type of a GCC |
10556 builtin and then its argument prototype would still apply. */ | 16793 builtin and then its argument prototype would still apply. */ |
10564 return sqrt (); | 16801 return sqrt (); |
10565 ; | 16802 ; |
10566 return 0; | 16803 return 0; |
10567 } | 16804 } |
10568 _ACEOF | 16805 _ACEOF |
10569 if ac_fn_c_try_link "$LINENO"; then : | 16806 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10570 ac_cv_lib_m_sqrt=yes | 16827 ac_cv_lib_m_sqrt=yes |
10571 else | 16828 else |
10572 ac_cv_lib_m_sqrt=no | 16829 $as_echo "$as_me: failed program was:" >&5 |
10573 fi | 16830 sed 's/^/| /' conftest.$ac_ext >&5 |
10574 rm -f core conftest.err conftest.$ac_objext \ | 16831 |
10575 conftest$ac_exeext conftest.$ac_ext | 16832 ac_cv_lib_m_sqrt=no |
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 | |
10576 LIBS=$ac_check_lib_save_LIBS | 16838 LIBS=$ac_check_lib_save_LIBS |
10577 fi | 16839 fi |
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 | 16840 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 |
10579 $as_echo "$ac_cv_lib_m_sqrt" >&6; } | 16841 $as_echo "$ac_cv_lib_m_sqrt" >&6; } |
10580 if test "x$ac_cv_lib_m_sqrt" = x""yes; then : | 16842 if test $ac_cv_lib_m_sqrt = yes; then |
10581 cat >>confdefs.h <<_ACEOF | 16843 cat >>confdefs.h <<_ACEOF |
10582 #define HAVE_LIBM 1 | 16844 #define HAVE_LIBM 1 |
10583 _ACEOF | 16845 _ACEOF |
10584 | 16846 |
10585 LIBS="-lm $LIBS" | 16847 LIBS="-lm $LIBS" |
10587 fi | 16849 fi |
10588 | 16850 |
10589 | 16851 |
10590 # Check for mail-locking functions in a "mail" library. Probably this should | 16852 # Check for mail-locking functions in a "mail" library. Probably this should |
10591 # have the same check as for liblockfile below. | 16853 # have the same check as for liblockfile below. |
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 | 16854 { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 |
10593 $as_echo_n "checking for maillock in -lmail... " >&6; } | 16855 $as_echo_n "checking for maillock in -lmail... " >&6; } |
10594 if test "${ac_cv_lib_mail_maillock+set}" = set; then : | 16856 if test "${ac_cv_lib_mail_maillock+set}" = set; then |
10595 $as_echo_n "(cached) " >&6 | 16857 $as_echo_n "(cached) " >&6 |
10596 else | 16858 else |
10597 ac_check_lib_save_LIBS=$LIBS | 16859 ac_check_lib_save_LIBS=$LIBS |
10598 LIBS="-lmail $LIBS" | 16860 LIBS="-lmail $LIBS" |
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16861 cat >conftest.$ac_ext <<_ACEOF |
16862 /* confdefs.h. */ | |
16863 _ACEOF | |
16864 cat confdefs.h >>conftest.$ac_ext | |
16865 cat >>conftest.$ac_ext <<_ACEOF | |
10600 /* end confdefs.h. */ | 16866 /* end confdefs.h. */ |
10601 | 16867 |
10602 /* Override any GCC internal prototype to avoid an error. | 16868 /* Override any GCC internal prototype to avoid an error. |
10603 Use char because int might match the return type of a GCC | 16869 Use char because int might match the return type of a GCC |
10604 builtin and then its argument prototype would still apply. */ | 16870 builtin and then its argument prototype would still apply. */ |
10612 return maillock (); | 16878 return maillock (); |
10613 ; | 16879 ; |
10614 return 0; | 16880 return 0; |
10615 } | 16881 } |
10616 _ACEOF | 16882 _ACEOF |
10617 if ac_fn_c_try_link "$LINENO"; then : | 16883 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10618 ac_cv_lib_mail_maillock=yes | 16904 ac_cv_lib_mail_maillock=yes |
10619 else | 16905 else |
10620 ac_cv_lib_mail_maillock=no | 16906 $as_echo "$as_me: failed program was:" >&5 |
10621 fi | 16907 sed 's/^/| /' conftest.$ac_ext >&5 |
10622 rm -f core conftest.err conftest.$ac_objext \ | 16908 |
10623 conftest$ac_exeext conftest.$ac_ext | 16909 ac_cv_lib_mail_maillock=no |
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 | |
10624 LIBS=$ac_check_lib_save_LIBS | 16915 LIBS=$ac_check_lib_save_LIBS |
10625 fi | 16916 fi |
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 | 16917 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 |
10627 $as_echo "$ac_cv_lib_mail_maillock" >&6; } | 16918 $as_echo "$ac_cv_lib_mail_maillock" >&6; } |
10628 if test "x$ac_cv_lib_mail_maillock" = x""yes; then : | 16919 if test $ac_cv_lib_mail_maillock = yes; then |
10629 have_mail=yes | 16920 have_mail=yes |
10630 else | 16921 else |
10631 have_mail=no | 16922 have_mail=no |
10632 fi | 16923 fi |
10633 | 16924 |
10634 if test $have_mail = yes; then | 16925 if test $have_mail = yes; then |
10635 LIBS_MAIL=-lmail | 16926 LIBS_MAIL=-lmail |
10636 LIBS="$LIBS_MAIL $LIBS" | 16927 LIBS="$LIBS_MAIL $LIBS" |
10637 | 16928 |
10638 $as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h | 16929 cat >>confdefs.h <<\_ACEOF |
16930 #define HAVE_LIBMAIL 1 | |
16931 _ACEOF | |
10639 | 16932 |
10640 else | 16933 else |
10641 LIBS_MAIL= | 16934 LIBS_MAIL= |
10642 fi | 16935 fi |
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 | 16936 { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 |
10644 $as_echo_n "checking for maillock in -llockfile... " >&6; } | 16937 $as_echo_n "checking for maillock in -llockfile... " >&6; } |
10645 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : | 16938 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
10646 $as_echo_n "(cached) " >&6 | 16939 $as_echo_n "(cached) " >&6 |
10647 else | 16940 else |
10648 ac_check_lib_save_LIBS=$LIBS | 16941 ac_check_lib_save_LIBS=$LIBS |
10649 LIBS="-llockfile $LIBS" | 16942 LIBS="-llockfile $LIBS" |
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16943 cat >conftest.$ac_ext <<_ACEOF |
16944 /* confdefs.h. */ | |
16945 _ACEOF | |
16946 cat confdefs.h >>conftest.$ac_ext | |
16947 cat >>conftest.$ac_ext <<_ACEOF | |
10651 /* end confdefs.h. */ | 16948 /* end confdefs.h. */ |
10652 | 16949 |
10653 /* Override any GCC internal prototype to avoid an error. | 16950 /* Override any GCC internal prototype to avoid an error. |
10654 Use char because int might match the return type of a GCC | 16951 Use char because int might match the return type of a GCC |
10655 builtin and then its argument prototype would still apply. */ | 16952 builtin and then its argument prototype would still apply. */ |
10663 return maillock (); | 16960 return maillock (); |
10664 ; | 16961 ; |
10665 return 0; | 16962 return 0; |
10666 } | 16963 } |
10667 _ACEOF | 16964 _ACEOF |
10668 if ac_fn_c_try_link "$LINENO"; then : | 16965 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
10669 ac_cv_lib_lockfile_maillock=yes | 16986 ac_cv_lib_lockfile_maillock=yes |
10670 else | 16987 else |
10671 ac_cv_lib_lockfile_maillock=no | 16988 $as_echo "$as_me: failed program was:" >&5 |
10672 fi | 16989 sed 's/^/| /' conftest.$ac_ext >&5 |
10673 rm -f core conftest.err conftest.$ac_objext \ | 16990 |
10674 conftest$ac_exeext conftest.$ac_ext | 16991 ac_cv_lib_lockfile_maillock=no |
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 | |
10675 LIBS=$ac_check_lib_save_LIBS | 16997 LIBS=$ac_check_lib_save_LIBS |
10676 fi | 16998 fi |
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 | 16999 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 |
10678 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } | 17000 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } |
10679 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : | 17001 if test $ac_cv_lib_lockfile_maillock = yes; then |
10680 have_lockfile=yes | 17002 have_lockfile=yes |
10681 else | 17003 else |
10682 have_lockfile=no | 17004 have_lockfile=no |
10683 fi | 17005 fi |
10684 | 17006 |
10685 if test $have_lockfile = yes; then | 17007 if test $have_lockfile = yes; then |
10686 LIBS_MAIL=-llockfile | 17008 LIBS_MAIL=-llockfile |
10687 LIBS="$LIBS_MAIL $LIBS" | 17009 LIBS="$LIBS_MAIL $LIBS" |
10688 | 17010 |
10689 $as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h | 17011 cat >>confdefs.h <<\_ACEOF |
17012 #define HAVE_LIBLOCKFILE 1 | |
17013 _ACEOF | |
10690 | 17014 |
10691 else | 17015 else |
10692 # If we have the shared liblockfile, assume we must use it for mail | 17016 # If we have the shared liblockfile, assume we must use it for mail |
10693 # locking (e.g. Debian). If we couldn't link against liblockfile | 17017 # locking (e.g. Debian). If we couldn't link against liblockfile |
10694 # (no liblockfile.a installed), ensure that we don't need to. | 17018 # (no liblockfile.a installed), ensure that we don't need to. |
10695 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 17019 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
10696 set dummy liblockfile.so; ac_word=$2 | 17020 set dummy liblockfile.so; ac_word=$2 |
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 17021 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
10698 $as_echo_n "checking for $ac_word... " >&6; } | 17022 $as_echo_n "checking for $ac_word... " >&6; } |
10699 if test "${ac_cv_prog_liblockfile+set}" = set; then : | 17023 if test "${ac_cv_prog_liblockfile+set}" = set; then |
10700 $as_echo_n "(cached) " >&6 | 17024 $as_echo_n "(cached) " >&6 |
10701 else | 17025 else |
10702 if test -n "$liblockfile"; then | 17026 if test -n "$liblockfile"; then |
10703 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 17027 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
10704 else | 17028 else |
10706 as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" | 17030 as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" |
10707 for as_dir in $as_dummy | 17031 for as_dir in $as_dummy |
10708 do | 17032 do |
10709 IFS=$as_save_IFS | 17033 IFS=$as_save_IFS |
10710 test -z "$as_dir" && as_dir=. | 17034 test -z "$as_dir" && as_dir=. |
10711 for ac_exec_ext in '' $ac_executable_extensions; do | 17035 for ac_exec_ext in '' $ac_executable_extensions; do |
10712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 17036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
10713 ac_cv_prog_liblockfile="yes" | 17037 ac_cv_prog_liblockfile="yes" |
10714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
10715 break 2 | 17039 break 2 |
10716 fi | 17040 fi |
10717 done | 17041 done |
10718 done | 17042 done |
10719 IFS=$as_save_IFS | 17043 IFS=$as_save_IFS |
10720 | 17044 |
10721 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 17045 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
10722 fi | 17046 fi |
10723 fi | 17047 fi |
10724 liblockfile=$ac_cv_prog_liblockfile | 17048 liblockfile=$ac_cv_prog_liblockfile |
10725 if test -n "$liblockfile"; then | 17049 if test -n "$liblockfile"; then |
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5 | 17050 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 |
10727 $as_echo "$liblockfile" >&6; } | 17051 $as_echo "$liblockfile" >&6; } |
10728 else | 17052 else |
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 17053 { $as_echo "$as_me:$LINENO: result: no" >&5 |
10730 $as_echo "no" >&6; } | 17054 $as_echo "no" >&6; } |
10731 fi | 17055 fi |
10732 | 17056 |
10733 | 17057 |
10734 if test $ac_cv_prog_liblockfile = yes; then | 17058 if test $ac_cv_prog_liblockfile = yes; then |
10735 as_fn_error "Shared liblockfile found but can't link against it. | 17059 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. |
10736 This probably means that movemail could lose mail. | 17060 This probably means that movemail could lose mail. |
10737 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 17061 There may be a \`development' package to install containing liblockfile." >&5 |
17062 $as_echo "$as_me: error: Shared liblockfile found but can't link against it. | |
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; }; } | |
10738 fi | 17066 fi |
10739 fi | 17067 fi |
17068 | |
10740 for ac_func in touchlock | 17069 for ac_func in touchlock |
10741 do : | 17070 do |
10742 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" | 17071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10743 if test "x$ac_cv_func_touchlock" = x""yes; then : | 17072 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
17073 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
10744 cat >>confdefs.h <<_ACEOF | 17161 cat >>confdefs.h <<_ACEOF |
10745 #define HAVE_TOUCHLOCK 1 | 17162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10746 _ACEOF | 17163 _ACEOF |
10747 | 17164 |
10748 fi | 17165 fi |
10749 done | 17166 done |
10750 | 17167 |
17168 | |
10751 for ac_header in maillock.h | 17169 for ac_header in maillock.h |
10752 do : | 17170 do |
10753 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" | 17171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10754 if test "x$ac_cv_header_maillock_h" = x""yes; then : | 17172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17173 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17174 $as_echo_n "checking for $ac_header... " >&6; } | |
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 | |
10755 cat >>confdefs.h <<_ACEOF | 17305 cat >>confdefs.h <<_ACEOF |
10756 #define HAVE_MAILLOCK_H 1 | 17306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10757 _ACEOF | 17307 _ACEOF |
10758 | 17308 |
10759 fi | 17309 fi |
10760 | 17310 |
10761 done | 17311 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 | |
10762 | 17383 |
10763 | 17384 |
10764 | 17385 |
10765 for ac_func in gethostname getdomainname dup2 \ | 17386 for ac_func in gethostname getdomainname dup2 \ |
10766 rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ | 17387 rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ |
10770 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ | 17391 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ |
10771 sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 17392 sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
10772 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ | 17393 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ |
10773 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 17394 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
10774 cfmakeraw cfsetspeed | 17395 cfmakeraw cfsetspeed |
10775 do : | 17396 do |
10776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17398 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10778 eval as_val=\$$as_ac_var | 17399 $as_echo_n "checking for $ac_func... " >&6; } |
10779 if test "x$as_val" = x""yes; then : | 17400 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; 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 | |
10780 cat >>confdefs.h <<_ACEOF | 17487 cat >>confdefs.h <<_ACEOF |
10781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10782 _ACEOF | 17489 _ACEOF |
10783 | 17490 |
10784 fi | 17491 fi |
10785 done | 17492 done |
10786 | 17493 |
10787 | 17494 |
17495 | |
10788 for ac_header in sys/un.h | 17496 for ac_header in sys/un.h |
10789 do : | 17497 do |
10790 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" | 17498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10791 if test "x$ac_cv_header_sys_un_h" = x""yes; then : | 17499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17500 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17501 $as_echo_n "checking for $ac_header... " >&6; } | |
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 | |
10792 cat >>confdefs.h <<_ACEOF | 17632 cat >>confdefs.h <<_ACEOF |
10793 #define HAVE_SYS_UN_H 1 | 17633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10794 _ACEOF | 17634 _ACEOF |
10795 | 17635 |
10796 fi | 17636 fi |
10797 | 17637 |
10798 done | 17638 done |
10800 | 17640 |
10801 | 17641 |
10802 | 17642 |
10803 | 17643 |
10804 | 17644 |
10805 | 17645 for ac_header in $ac_header_list |
10806 for ac_func in $ac_func_list | 17646 do |
10807 do : | 17647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17648 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17649 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10810 eval as_val=\$$as_ac_var | 17650 $as_echo_n "checking for $ac_header... " >&6; } |
10811 if test "x$as_val" = x""yes; then : | 17651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; 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 | |
10812 cat >>confdefs.h <<_ACEOF | 17889 cat >>confdefs.h <<_ACEOF |
10813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10814 _ACEOF | 17891 _ACEOF |
10815 | 17892 |
10816 fi | 17893 fi |
10818 | 17895 |
10819 | 17896 |
10820 | 17897 |
10821 | 17898 |
10822 | 17899 |
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 | 17900 |
17901 | |
17902 | |
17903 | |
17904 | |
17905 | |
17906 | |
17907 | |
17908 | |
17909 | |
17910 | |
17911 | |
17912 { $as_echo "$as_me:$LINENO: checking for working mktime" >&5 | |
10824 $as_echo_n "checking for working mktime... " >&6; } | 17913 $as_echo_n "checking for working mktime... " >&6; } |
10825 if test "${ac_cv_func_working_mktime+set}" = set; then : | 17914 if test "${ac_cv_func_working_mktime+set}" = set; then |
10826 $as_echo_n "(cached) " >&6 | 17915 $as_echo_n "(cached) " >&6 |
10827 else | 17916 else |
10828 if test "$cross_compiling" = yes; then : | 17917 if test "$cross_compiling" = yes; then |
10829 ac_cv_func_working_mktime=no | 17918 ac_cv_func_working_mktime=no |
10830 else | 17919 else |
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17920 cat >conftest.$ac_ext <<_ACEOF |
17921 /* confdefs.h. */ | |
17922 _ACEOF | |
17923 cat confdefs.h >>conftest.$ac_ext | |
17924 cat >>conftest.$ac_ext <<_ACEOF | |
10832 /* end confdefs.h. */ | 17925 /* end confdefs.h. */ |
10833 /* Test program from Paul Eggert and Tony Leneis. */ | 17926 /* Test program from Paul Eggert and Tony Leneis. */ |
10834 #ifdef TIME_WITH_SYS_TIME | 17927 #ifdef TIME_WITH_SYS_TIME |
10835 # include <sys/time.h> | 17928 # include <sys/time.h> |
10836 # include <time.h> | 17929 # include <time.h> |
11023 return 1; | 18116 return 1; |
11024 } | 18117 } |
11025 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 18118 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |
11026 } | 18119 } |
11027 _ACEOF | 18120 _ACEOF |
11028 if ac_fn_c_try_run "$LINENO"; then : | 18121 rm -f conftest$ac_exeext |
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 | |
11029 ac_cv_func_working_mktime=yes | 18143 ac_cv_func_working_mktime=yes |
11030 else | 18144 else |
11031 ac_cv_func_working_mktime=no | 18145 $as_echo "$as_me: program exited with status $ac_status" >&5 |
11032 fi | 18146 $as_echo "$as_me: failed program was:" >&5 |
11033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 18147 sed 's/^/| /' conftest.$ac_ext >&5 |
11034 conftest.$ac_objext conftest.beam conftest.$ac_ext | 18148 |
11035 fi | 18149 ( exit $ac_status ) |
11036 | 18150 ac_cv_func_working_mktime=no |
11037 fi | 18151 fi |
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 | 18152 rm -rf conftest.dSYM |
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 | |
11039 $as_echo "$ac_cv_func_working_mktime" >&6; } | 18159 $as_echo "$ac_cv_func_working_mktime" >&6; } |
11040 if test $ac_cv_func_working_mktime = no; then | 18160 if test $ac_cv_func_working_mktime = no; then |
11041 case " $LIBOBJS " in | 18161 case " $LIBOBJS " in |
11042 *" mktime.$ac_objext "* ) ;; | 18162 *" mktime.$ac_objext "* ) ;; |
11043 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" | 18163 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" |
11046 | 18166 |
11047 fi | 18167 fi |
11048 | 18168 |
11049 if test "$ac_cv_func_working_mktime" = no; then | 18169 if test "$ac_cv_func_working_mktime" = no; then |
11050 | 18170 |
11051 $as_echo "#define BROKEN_MKTIME 1" >>confdefs.h | 18171 cat >>confdefs.h <<\_ACEOF |
18172 #define BROKEN_MKTIME 1 | |
18173 _ACEOF | |
11052 | 18174 |
11053 fi | 18175 fi |
11054 | 18176 |
11055 ac_have_func=no # yes means we've found a way to get the load average. | 18177 ac_have_func=no # yes means we've found a way to get the load average. |
11056 | 18178 |
11057 # Make sure getloadavg.c is where it belongs, at configure-time. | 18179 # Make sure getloadavg.c is where it belongs, at configure-time. |
11058 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 18180 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
11059 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 18181 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 |
18182 $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} | |
18183 { (exit 1); exit 1; }; } | |
11060 | 18184 |
11061 ac_save_LIBS=$LIBS | 18185 ac_save_LIBS=$LIBS |
11062 | 18186 |
11063 # Check for getloadavg, but be sure not to touch the cache variable. | 18187 # Check for getloadavg, but be sure not to touch the cache variable. |
11064 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 18188 ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 |
11065 if test "x$ac_cv_func_getloadavg" = x""yes; then : | 18189 $as_echo_n "checking for getloadavg... " >&6; } |
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 | |
11066 exit 0 | 18274 exit 0 |
11067 else | 18275 else |
11068 exit 1 | 18276 exit 1 |
11069 fi | 18277 fi |
11070 ) && ac_have_func=yes | 18278 ) && ac_have_func=yes |
11071 | 18279 |
11072 # On HPUX9, an unprivileged user can get load averages through this function. | 18280 # On HPUX9, an unprivileged user can get load averages through this function. |
18281 | |
11073 for ac_func in pstat_getdynamic | 18282 for ac_func in pstat_getdynamic |
11074 do : | 18283 do |
11075 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" | 18284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11076 if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : | 18285 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18286 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
11077 cat >>confdefs.h <<_ACEOF | 18374 cat >>confdefs.h <<_ACEOF |
11078 #define HAVE_PSTAT_GETDYNAMIC 1 | 18375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11079 _ACEOF | 18376 _ACEOF |
11080 | 18377 |
11081 fi | 18378 fi |
11082 done | 18379 done |
11083 | 18380 |
11084 | 18381 |
11085 # Solaris has libkstat which does not require root. | 18382 # Solaris has libkstat which does not require root. |
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 | 18383 |
18384 { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | |
11087 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } | 18385 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } |
11088 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : | 18386 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
11089 $as_echo_n "(cached) " >&6 | 18387 $as_echo_n "(cached) " >&6 |
11090 else | 18388 else |
11091 ac_check_lib_save_LIBS=$LIBS | 18389 ac_check_lib_save_LIBS=$LIBS |
11092 LIBS="-lkstat $LIBS" | 18390 LIBS="-lkstat $LIBS" |
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18391 cat >conftest.$ac_ext <<_ACEOF |
18392 /* confdefs.h. */ | |
18393 _ACEOF | |
18394 cat confdefs.h >>conftest.$ac_ext | |
18395 cat >>conftest.$ac_ext <<_ACEOF | |
11094 /* end confdefs.h. */ | 18396 /* end confdefs.h. */ |
11095 | 18397 |
11096 /* Override any GCC internal prototype to avoid an error. | 18398 /* Override any GCC internal prototype to avoid an error. |
11097 Use char because int might match the return type of a GCC | 18399 Use char because int might match the return type of a GCC |
11098 builtin and then its argument prototype would still apply. */ | 18400 builtin and then its argument prototype would still apply. */ |
11106 return kstat_open (); | 18408 return kstat_open (); |
11107 ; | 18409 ; |
11108 return 0; | 18410 return 0; |
11109 } | 18411 } |
11110 _ACEOF | 18412 _ACEOF |
11111 if ac_fn_c_try_link "$LINENO"; then : | 18413 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11112 ac_cv_lib_kstat_kstat_open=yes | 18434 ac_cv_lib_kstat_kstat_open=yes |
11113 else | 18435 else |
11114 ac_cv_lib_kstat_kstat_open=no | 18436 $as_echo "$as_me: failed program was:" >&5 |
11115 fi | 18437 sed 's/^/| /' conftest.$ac_ext >&5 |
11116 rm -f core conftest.err conftest.$ac_objext \ | 18438 |
11117 conftest$ac_exeext conftest.$ac_ext | 18439 ac_cv_lib_kstat_kstat_open=no |
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 | |
11118 LIBS=$ac_check_lib_save_LIBS | 18445 LIBS=$ac_check_lib_save_LIBS |
11119 fi | 18446 fi |
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 | 18447 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 |
11121 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } | 18448 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } |
11122 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : | 18449 if test $ac_cv_lib_kstat_kstat_open = yes; then |
11123 cat >>confdefs.h <<_ACEOF | 18450 cat >>confdefs.h <<_ACEOF |
11124 #define HAVE_LIBKSTAT 1 | 18451 #define HAVE_LIBKSTAT 1 |
11125 _ACEOF | 18452 _ACEOF |
11126 | 18453 |
11127 LIBS="-lkstat $LIBS" | 18454 LIBS="-lkstat $LIBS" |
11133 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 18460 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
11134 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 18461 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
11135 # to get the right answer into the cache. | 18462 # to get the right answer into the cache. |
11136 # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 18463 # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
11137 if test $ac_have_func = no; then | 18464 if test $ac_have_func = no; then |
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 | 18465 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 |
11139 $as_echo_n "checking for elf_begin in -lelf... " >&6; } | 18466 $as_echo_n "checking for elf_begin in -lelf... " >&6; } |
11140 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : | 18467 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
11141 $as_echo_n "(cached) " >&6 | 18468 $as_echo_n "(cached) " >&6 |
11142 else | 18469 else |
11143 ac_check_lib_save_LIBS=$LIBS | 18470 ac_check_lib_save_LIBS=$LIBS |
11144 LIBS="-lelf $LIBS" | 18471 LIBS="-lelf $LIBS" |
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18472 cat >conftest.$ac_ext <<_ACEOF |
18473 /* confdefs.h. */ | |
18474 _ACEOF | |
18475 cat confdefs.h >>conftest.$ac_ext | |
18476 cat >>conftest.$ac_ext <<_ACEOF | |
11146 /* end confdefs.h. */ | 18477 /* end confdefs.h. */ |
11147 | 18478 |
11148 /* Override any GCC internal prototype to avoid an error. | 18479 /* Override any GCC internal prototype to avoid an error. |
11149 Use char because int might match the return type of a GCC | 18480 Use char because int might match the return type of a GCC |
11150 builtin and then its argument prototype would still apply. */ | 18481 builtin and then its argument prototype would still apply. */ |
11158 return elf_begin (); | 18489 return elf_begin (); |
11159 ; | 18490 ; |
11160 return 0; | 18491 return 0; |
11161 } | 18492 } |
11162 _ACEOF | 18493 _ACEOF |
11163 if ac_fn_c_try_link "$LINENO"; then : | 18494 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11164 ac_cv_lib_elf_elf_begin=yes | 18515 ac_cv_lib_elf_elf_begin=yes |
11165 else | 18516 else |
11166 ac_cv_lib_elf_elf_begin=no | 18517 $as_echo "$as_me: failed program was:" >&5 |
11167 fi | 18518 sed 's/^/| /' conftest.$ac_ext >&5 |
11168 rm -f core conftest.err conftest.$ac_objext \ | 18519 |
11169 conftest$ac_exeext conftest.$ac_ext | 18520 ac_cv_lib_elf_elf_begin=no |
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 | |
11170 LIBS=$ac_check_lib_save_LIBS | 18526 LIBS=$ac_check_lib_save_LIBS |
11171 fi | 18527 fi |
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 | 18528 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 |
11173 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } | 18529 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
11174 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : | 18530 if test $ac_cv_lib_elf_elf_begin = yes; then |
11175 LIBS="-lelf $LIBS" | 18531 LIBS="-lelf $LIBS" |
11176 fi | 18532 fi |
11177 | 18533 |
11178 fi | 18534 fi |
11179 if test $ac_have_func = no; then | 18535 if test $ac_have_func = no; then |
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 | 18536 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 |
11181 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } | 18537 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } |
11182 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : | 18538 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
11183 $as_echo_n "(cached) " >&6 | 18539 $as_echo_n "(cached) " >&6 |
11184 else | 18540 else |
11185 ac_check_lib_save_LIBS=$LIBS | 18541 ac_check_lib_save_LIBS=$LIBS |
11186 LIBS="-lkvm $LIBS" | 18542 LIBS="-lkvm $LIBS" |
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18543 cat >conftest.$ac_ext <<_ACEOF |
18544 /* confdefs.h. */ | |
18545 _ACEOF | |
18546 cat confdefs.h >>conftest.$ac_ext | |
18547 cat >>conftest.$ac_ext <<_ACEOF | |
11188 /* end confdefs.h. */ | 18548 /* end confdefs.h. */ |
11189 | 18549 |
11190 /* Override any GCC internal prototype to avoid an error. | 18550 /* Override any GCC internal prototype to avoid an error. |
11191 Use char because int might match the return type of a GCC | 18551 Use char because int might match the return type of a GCC |
11192 builtin and then its argument prototype would still apply. */ | 18552 builtin and then its argument prototype would still apply. */ |
11200 return kvm_open (); | 18560 return kvm_open (); |
11201 ; | 18561 ; |
11202 return 0; | 18562 return 0; |
11203 } | 18563 } |
11204 _ACEOF | 18564 _ACEOF |
11205 if ac_fn_c_try_link "$LINENO"; then : | 18565 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11206 ac_cv_lib_kvm_kvm_open=yes | 18586 ac_cv_lib_kvm_kvm_open=yes |
11207 else | 18587 else |
11208 ac_cv_lib_kvm_kvm_open=no | 18588 $as_echo "$as_me: failed program was:" >&5 |
11209 fi | 18589 sed 's/^/| /' conftest.$ac_ext >&5 |
11210 rm -f core conftest.err conftest.$ac_objext \ | 18590 |
11211 conftest$ac_exeext conftest.$ac_ext | 18591 ac_cv_lib_kvm_kvm_open=no |
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 | |
11212 LIBS=$ac_check_lib_save_LIBS | 18597 LIBS=$ac_check_lib_save_LIBS |
11213 fi | 18598 fi |
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 | 18599 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 |
11215 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } | 18600 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } |
11216 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : | 18601 if test $ac_cv_lib_kvm_kvm_open = yes; then |
11217 LIBS="-lkvm $LIBS" | 18602 LIBS="-lkvm $LIBS" |
11218 fi | 18603 fi |
11219 | 18604 |
11220 # Check for the 4.4BSD definition of getloadavg. | 18605 # Check for the 4.4BSD definition of getloadavg. |
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 | 18606 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 |
11222 $as_echo_n "checking for getloadavg in -lutil... " >&6; } | 18607 $as_echo_n "checking for getloadavg in -lutil... " >&6; } |
11223 if test "${ac_cv_lib_util_getloadavg+set}" = set; then : | 18608 if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
11224 $as_echo_n "(cached) " >&6 | 18609 $as_echo_n "(cached) " >&6 |
11225 else | 18610 else |
11226 ac_check_lib_save_LIBS=$LIBS | 18611 ac_check_lib_save_LIBS=$LIBS |
11227 LIBS="-lutil $LIBS" | 18612 LIBS="-lutil $LIBS" |
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18613 cat >conftest.$ac_ext <<_ACEOF |
18614 /* confdefs.h. */ | |
18615 _ACEOF | |
18616 cat confdefs.h >>conftest.$ac_ext | |
18617 cat >>conftest.$ac_ext <<_ACEOF | |
11229 /* end confdefs.h. */ | 18618 /* end confdefs.h. */ |
11230 | 18619 |
11231 /* Override any GCC internal prototype to avoid an error. | 18620 /* Override any GCC internal prototype to avoid an error. |
11232 Use char because int might match the return type of a GCC | 18621 Use char because int might match the return type of a GCC |
11233 builtin and then its argument prototype would still apply. */ | 18622 builtin and then its argument prototype would still apply. */ |
11241 return getloadavg (); | 18630 return getloadavg (); |
11242 ; | 18631 ; |
11243 return 0; | 18632 return 0; |
11244 } | 18633 } |
11245 _ACEOF | 18634 _ACEOF |
11246 if ac_fn_c_try_link "$LINENO"; then : | 18635 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11247 ac_cv_lib_util_getloadavg=yes | 18656 ac_cv_lib_util_getloadavg=yes |
11248 else | 18657 else |
11249 ac_cv_lib_util_getloadavg=no | 18658 $as_echo "$as_me: failed program was:" >&5 |
11250 fi | 18659 sed 's/^/| /' conftest.$ac_ext >&5 |
11251 rm -f core conftest.err conftest.$ac_objext \ | 18660 |
11252 conftest$ac_exeext conftest.$ac_ext | 18661 ac_cv_lib_util_getloadavg=no |
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 | |
11253 LIBS=$ac_check_lib_save_LIBS | 18667 LIBS=$ac_check_lib_save_LIBS |
11254 fi | 18668 fi |
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 | 18669 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 |
11256 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } | 18670 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } |
11257 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : | 18671 if test $ac_cv_lib_util_getloadavg = yes; then |
11258 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 18672 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
11259 fi | 18673 fi |
11260 | 18674 |
11261 fi | 18675 fi |
11262 | 18676 |
11263 if test $ac_have_func = no; then | 18677 if test $ac_have_func = no; then |
11264 # There is a commonly available library for RS/6000 AIX. | 18678 # There is a commonly available library for RS/6000 AIX. |
11265 # Since it is not a standard part of AIX, it might be installed locally. | 18679 # Since it is not a standard part of AIX, it might be installed locally. |
11266 ac_getloadavg_LIBS=$LIBS | 18680 ac_getloadavg_LIBS=$LIBS |
11267 LIBS="-L/usr/local/lib $LIBS" | 18681 LIBS="-L/usr/local/lib $LIBS" |
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 | 18682 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 |
11269 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } | 18683 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } |
11270 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : | 18684 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
11271 $as_echo_n "(cached) " >&6 | 18685 $as_echo_n "(cached) " >&6 |
11272 else | 18686 else |
11273 ac_check_lib_save_LIBS=$LIBS | 18687 ac_check_lib_save_LIBS=$LIBS |
11274 LIBS="-lgetloadavg $LIBS" | 18688 LIBS="-lgetloadavg $LIBS" |
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18689 cat >conftest.$ac_ext <<_ACEOF |
18690 /* confdefs.h. */ | |
18691 _ACEOF | |
18692 cat confdefs.h >>conftest.$ac_ext | |
18693 cat >>conftest.$ac_ext <<_ACEOF | |
11276 /* end confdefs.h. */ | 18694 /* end confdefs.h. */ |
11277 | 18695 |
11278 /* Override any GCC internal prototype to avoid an error. | 18696 /* Override any GCC internal prototype to avoid an error. |
11279 Use char because int might match the return type of a GCC | 18697 Use char because int might match the return type of a GCC |
11280 builtin and then its argument prototype would still apply. */ | 18698 builtin and then its argument prototype would still apply. */ |
11288 return getloadavg (); | 18706 return getloadavg (); |
11289 ; | 18707 ; |
11290 return 0; | 18708 return 0; |
11291 } | 18709 } |
11292 _ACEOF | 18710 _ACEOF |
11293 if ac_fn_c_try_link "$LINENO"; then : | 18711 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11294 ac_cv_lib_getloadavg_getloadavg=yes | 18732 ac_cv_lib_getloadavg_getloadavg=yes |
11295 else | 18733 else |
11296 ac_cv_lib_getloadavg_getloadavg=no | 18734 $as_echo "$as_me: failed program was:" >&5 |
11297 fi | 18735 sed 's/^/| /' conftest.$ac_ext >&5 |
11298 rm -f core conftest.err conftest.$ac_objext \ | 18736 |
11299 conftest$ac_exeext conftest.$ac_ext | 18737 ac_cv_lib_getloadavg_getloadavg=no |
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 | |
11300 LIBS=$ac_check_lib_save_LIBS | 18743 LIBS=$ac_check_lib_save_LIBS |
11301 fi | 18744 fi |
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 18745 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
11303 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } | 18746 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } |
11304 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : | 18747 if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
11305 LIBS="-lgetloadavg $LIBS" | 18748 LIBS="-lgetloadavg $LIBS" |
11306 else | 18749 else |
11307 LIBS=$ac_getloadavg_LIBS | 18750 LIBS=$ac_getloadavg_LIBS |
11308 fi | 18751 fi |
11309 | 18752 |
11310 fi | 18753 fi |
11311 | 18754 |
11312 # Make sure it is really in the library, if we think we found it, | 18755 # Make sure it is really in the library, if we think we found it, |
11313 # otherwise set up the replacement function. | 18756 # otherwise set up the replacement function. |
18757 | |
11314 for ac_func in getloadavg | 18758 for ac_func in getloadavg |
11315 do : | 18759 do |
11316 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 18760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11317 if test "x$ac_cv_func_getloadavg" = x""yes; then : | 18761 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18762 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
11318 cat >>confdefs.h <<_ACEOF | 18850 cat >>confdefs.h <<_ACEOF |
11319 #define HAVE_GETLOADAVG 1 | 18851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11320 _ACEOF | 18852 _ACEOF |
11321 | 18853 |
11322 else | 18854 else |
11323 case " $LIBOBJS " in | 18855 case " $LIBOBJS " in |
11324 *" getloadavg.$ac_objext "* ) ;; | 18856 *" getloadavg.$ac_objext "* ) ;; |
11325 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" | 18857 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" |
11326 ;; | 18858 ;; |
11327 esac | 18859 esac |
11328 | 18860 |
11329 | 18861 |
11330 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h | 18862 cat >>confdefs.h <<\_ACEOF |
18863 #define C_GETLOADAVG 1 | |
18864 _ACEOF | |
11331 | 18865 |
11332 # Figure out what our getloadavg.c needs. | 18866 # Figure out what our getloadavg.c needs. |
11333 ac_have_func=no | 18867 ac_have_func=no |
11334 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" | 18868 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
11335 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : | 18869 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
18870 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | |
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 | |
11336 ac_have_func=yes | 18996 ac_have_func=yes |
11337 | 18997 |
11338 $as_echo "#define DGUX 1" >>confdefs.h | 18998 cat >>confdefs.h <<\_ACEOF |
11339 | 18999 #define DGUX 1 |
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 | 19000 _ACEOF |
19001 | |
19002 | |
19003 { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 | |
11341 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } | 19004 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } |
11342 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : | 19005 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
11343 $as_echo_n "(cached) " >&6 | 19006 $as_echo_n "(cached) " >&6 |
11344 else | 19007 else |
11345 ac_check_lib_save_LIBS=$LIBS | 19008 ac_check_lib_save_LIBS=$LIBS |
11346 LIBS="-ldgc $LIBS" | 19009 LIBS="-ldgc $LIBS" |
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19010 cat >conftest.$ac_ext <<_ACEOF |
19011 /* confdefs.h. */ | |
19012 _ACEOF | |
19013 cat confdefs.h >>conftest.$ac_ext | |
19014 cat >>conftest.$ac_ext <<_ACEOF | |
11348 /* end confdefs.h. */ | 19015 /* end confdefs.h. */ |
11349 | 19016 |
11350 /* Override any GCC internal prototype to avoid an error. | 19017 /* Override any GCC internal prototype to avoid an error. |
11351 Use char because int might match the return type of a GCC | 19018 Use char because int might match the return type of a GCC |
11352 builtin and then its argument prototype would still apply. */ | 19019 builtin and then its argument prototype would still apply. */ |
11360 return dg_sys_info (); | 19027 return dg_sys_info (); |
11361 ; | 19028 ; |
11362 return 0; | 19029 return 0; |
11363 } | 19030 } |
11364 _ACEOF | 19031 _ACEOF |
11365 if ac_fn_c_try_link "$LINENO"; then : | 19032 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11366 ac_cv_lib_dgc_dg_sys_info=yes | 19053 ac_cv_lib_dgc_dg_sys_info=yes |
11367 else | 19054 else |
11368 ac_cv_lib_dgc_dg_sys_info=no | 19055 $as_echo "$as_me: failed program was:" >&5 |
11369 fi | 19056 sed 's/^/| /' conftest.$ac_ext >&5 |
11370 rm -f core conftest.err conftest.$ac_objext \ | 19057 |
11371 conftest$ac_exeext conftest.$ac_ext | 19058 ac_cv_lib_dgc_dg_sys_info=no |
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 | |
11372 LIBS=$ac_check_lib_save_LIBS | 19064 LIBS=$ac_check_lib_save_LIBS |
11373 fi | 19065 fi |
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 19066 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
11375 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } | 19067 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } |
11376 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : | 19068 if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
11377 cat >>confdefs.h <<_ACEOF | 19069 cat >>confdefs.h <<_ACEOF |
11378 #define HAVE_LIBDGC 1 | 19070 #define HAVE_LIBDGC 1 |
11379 _ACEOF | 19071 _ACEOF |
11380 | 19072 |
11381 LIBS="-ldgc $LIBS" | 19073 LIBS="-ldgc $LIBS" |
11384 | 19076 |
11385 fi | 19077 fi |
11386 | 19078 |
11387 | 19079 |
11388 | 19080 |
11389 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" | 19081 if test "${ac_cv_header_locale_h+set}" = set; then |
11390 if test "x$ac_cv_header_locale_h" = x""yes; then : | 19082 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 |
11391 | 19083 $as_echo_n "checking for locale.h... " >&6; } |
11392 fi | 19084 if test "${ac_cv_header_locale_h+set}" = set; then |
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 | |
11393 | 19209 |
11394 | 19210 |
11395 for ac_func in setlocale | 19211 for ac_func in setlocale |
11396 do : | 19212 do |
11397 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" | 19213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11398 if test "x$ac_cv_func_setlocale" = x""yes; then : | 19214 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
19215 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
11399 cat >>confdefs.h <<_ACEOF | 19303 cat >>confdefs.h <<_ACEOF |
11400 #define HAVE_SETLOCALE 1 | 19304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11401 _ACEOF | 19305 _ACEOF |
11402 | 19306 |
11403 fi | 19307 fi |
11404 done | 19308 done |
11405 | 19309 |
11408 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because | 19312 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because |
11409 # Irix 4.0.5F has the header but not the library. | 19313 # Irix 4.0.5F has the header but not the library. |
11410 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | 19314 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then |
11411 ac_have_func=yes | 19315 ac_have_func=yes |
11412 | 19316 |
11413 $as_echo "#define SVR4 1" >>confdefs.h | 19317 cat >>confdefs.h <<\_ACEOF |
19318 #define SVR4 1 | |
19319 _ACEOF | |
11414 | 19320 |
11415 fi | 19321 fi |
11416 | 19322 |
11417 if test $ac_have_func = no; then | 19323 if test $ac_have_func = no; then |
11418 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" | 19324 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
11419 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : | 19325 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
19326 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | |
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 | |
11420 ac_have_func=yes | 19452 ac_have_func=yes |
11421 | 19453 |
11422 $as_echo "#define UMAX 1" >>confdefs.h | 19454 cat >>confdefs.h <<\_ACEOF |
11423 | 19455 #define UMAX 1 |
11424 | 19456 _ACEOF |
11425 $as_echo "#define UMAX4_3 1" >>confdefs.h | 19457 |
19458 | |
19459 cat >>confdefs.h <<\_ACEOF | |
19460 #define UMAX4_3 1 | |
19461 _ACEOF | |
11426 | 19462 |
11427 fi | 19463 fi |
11428 | 19464 |
11429 | 19465 |
11430 fi | 19466 fi |
11431 | 19467 |
11432 if test $ac_have_func = no; then | 19468 if test $ac_have_func = no; then |
11433 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" | 19469 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
11434 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : | 19470 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
11435 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h | 19471 $as_echo_n "checking for sys/cpustats.h... " >&6; } |
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 | |
11436 | 19600 |
11437 fi | 19601 fi |
11438 | 19602 |
11439 | 19603 |
11440 fi | 19604 fi |
11441 | 19605 |
11442 if test $ac_have_func = no; then | 19606 if test $ac_have_func = no; then |
11443 for ac_header in mach/mach.h | 19607 |
11444 do : | 19608 for ac_header in mach/mach.h |
11445 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" | 19609 do |
11446 if test "x$ac_cv_header_mach_mach_h" = x""yes; then : | 19610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
11447 cat >>confdefs.h <<_ACEOF | 19744 cat >>confdefs.h <<_ACEOF |
11448 #define HAVE_MACH_MACH_H 1 | 19745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11449 _ACEOF | 19746 _ACEOF |
11450 | 19747 |
11451 fi | 19748 fi |
11452 | 19749 |
11453 done | 19750 done |
11454 | 19751 |
11455 fi | 19752 fi |
11456 | 19753 |
19754 | |
11457 for ac_header in nlist.h | 19755 for ac_header in nlist.h |
11458 do : | 19756 do |
11459 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" | 19757 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11460 if test "x$ac_cv_header_nlist_h" = x""yes; then : | 19758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19759 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
19760 $as_echo_n "checking for $ac_header... " >&6; } | |
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 | |
11461 cat >>confdefs.h <<_ACEOF | 19891 cat >>confdefs.h <<_ACEOF |
11462 #define HAVE_NLIST_H 1 | 19892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11463 _ACEOF | 19893 _ACEOF |
11464 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> | 19894 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 |
11465 " | 19895 $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } |
11466 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : | 19896 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; 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 | |
11467 | 19992 |
11468 cat >>confdefs.h <<_ACEOF | 19993 cat >>confdefs.h <<_ACEOF |
11469 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 19994 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
11470 _ACEOF | 19995 _ACEOF |
11471 | 19996 |
11472 | 19997 |
11473 $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h | 19998 cat >>confdefs.h <<\_ACEOF |
19999 #define NLIST_NAME_UNION 1 | |
20000 _ACEOF | |
11474 | 20001 |
11475 fi | 20002 fi |
11476 | 20003 |
11477 | 20004 |
11478 fi | 20005 fi |
11482 fi | 20009 fi |
11483 done | 20010 done |
11484 | 20011 |
11485 | 20012 |
11486 # Some definitions of getloadavg require that the program be installed setgid. | 20013 # Some definitions of getloadavg require that the program be installed setgid. |
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 | 20014 { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 |
11488 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } | 20015 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } |
11489 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : | 20016 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
11490 $as_echo_n "(cached) " >&6 | 20017 $as_echo_n "(cached) " >&6 |
11491 else | 20018 else |
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20019 cat >conftest.$ac_ext <<_ACEOF |
20020 /* confdefs.h. */ | |
20021 _ACEOF | |
20022 cat confdefs.h >>conftest.$ac_ext | |
20023 cat >>conftest.$ac_ext <<_ACEOF | |
11493 /* end confdefs.h. */ | 20024 /* end confdefs.h. */ |
11494 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" | 20025 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" |
11495 #ifdef LDAV_PRIVILEGED | 20026 #ifdef LDAV_PRIVILEGED |
11496 Yowza Am I SETGID yet | 20027 Yowza Am I SETGID yet |
11497 #endif | 20028 #endif |
11498 _ACEOF | 20029 _ACEOF |
11499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 20030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11500 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then : | 20031 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then |
11501 ac_cv_func_getloadavg_setgid=yes | 20032 ac_cv_func_getloadavg_setgid=yes |
11502 else | 20033 else |
11503 ac_cv_func_getloadavg_setgid=no | 20034 ac_cv_func_getloadavg_setgid=no |
11504 fi | 20035 fi |
11505 rm -f conftest* | 20036 rm -f conftest* |
11506 | 20037 |
11507 fi | 20038 fi |
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5 | 20039 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 |
11509 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } | 20040 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } |
11510 if test $ac_cv_func_getloadavg_setgid = yes; then | 20041 if test $ac_cv_func_getloadavg_setgid = yes; then |
11511 NEED_SETGID=true | 20042 NEED_SETGID=true |
11512 | 20043 |
11513 $as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h | 20044 cat >>confdefs.h <<\_ACEOF |
20045 #define GETLOADAVG_PRIVILEGED 1 | |
20046 _ACEOF | |
11514 | 20047 |
11515 else | 20048 else |
11516 NEED_SETGID=false | 20049 NEED_SETGID=false |
11517 fi | 20050 fi |
11518 | 20051 |
11519 if test $ac_cv_func_getloadavg_setgid = yes; then | 20052 if test $ac_cv_func_getloadavg_setgid = yes; then |
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 | 20053 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 |
11521 $as_echo_n "checking group of /dev/kmem... " >&6; } | 20054 $as_echo_n "checking group of /dev/kmem... " >&6; } |
11522 if test "${ac_cv_group_kmem+set}" = set; then : | 20055 if test "${ac_cv_group_kmem+set}" = set; then |
11523 $as_echo_n "(cached) " >&6 | 20056 $as_echo_n "(cached) " >&6 |
11524 else | 20057 else |
11525 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 20058 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
11526 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 20059 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
11527 # If we got an error (system does not support symlinks), try without -L. | 20060 # If we got an error (system does not support symlinks), try without -L. |
11530 | sed -ne 's/[ ][ ]*/ /g; | 20063 | sed -ne 's/[ ][ ]*/ /g; |
11531 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; | 20064 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; |
11532 / /s/.* //;p;'` | 20065 / /s/.* //;p;'` |
11533 | 20066 |
11534 fi | 20067 fi |
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5 | 20068 { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 |
11536 $as_echo "$ac_cv_group_kmem" >&6; } | 20069 $as_echo "$ac_cv_group_kmem" >&6; } |
11537 KMEM_GROUP=$ac_cv_group_kmem | 20070 KMEM_GROUP=$ac_cv_group_kmem |
11538 fi | 20071 fi |
11539 if test "x$ac_save_LIBS" = x; then | 20072 if test "x$ac_save_LIBS" = x; then |
11540 GETLOADAVG_LIBS=$LIBS | 20073 GETLOADAVG_LIBS=$LIBS |
11543 fi | 20076 fi |
11544 LIBS=$ac_save_LIBS | 20077 LIBS=$ac_save_LIBS |
11545 | 20078 |
11546 | 20079 |
11547 | 20080 |
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 20081 { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
11549 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } | 20082 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } |
11550 if test "${ac_cv_sys_largefile_source+set}" = set; then : | 20083 if test "${ac_cv_sys_largefile_source+set}" = set; then |
11551 $as_echo_n "(cached) " >&6 | 20084 $as_echo_n "(cached) " >&6 |
11552 else | 20085 else |
11553 while :; do | 20086 while :; do |
11554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20087 cat >conftest.$ac_ext <<_ACEOF |
20088 /* confdefs.h. */ | |
20089 _ACEOF | |
20090 cat confdefs.h >>conftest.$ac_ext | |
20091 cat >>conftest.$ac_ext <<_ACEOF | |
11555 /* end confdefs.h. */ | 20092 /* end confdefs.h. */ |
11556 #include <sys/types.h> /* for off_t */ | 20093 #include <sys/types.h> /* for off_t */ |
11557 #include <stdio.h> | 20094 #include <stdio.h> |
11558 int | 20095 int |
11559 main () | 20096 main () |
11562 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | 20099 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); |
11563 ; | 20100 ; |
11564 return 0; | 20101 return 0; |
11565 } | 20102 } |
11566 _ACEOF | 20103 _ACEOF |
11567 if ac_fn_c_try_link "$LINENO"; then : | 20104 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11568 ac_cv_sys_largefile_source=no; break | 20125 ac_cv_sys_largefile_source=no; break |
11569 fi | 20126 else |
11570 rm -f core conftest.err conftest.$ac_objext \ | 20127 $as_echo "$as_me: failed program was:" >&5 |
11571 conftest$ac_exeext conftest.$ac_ext | 20128 sed 's/^/| /' conftest.$ac_ext >&5 |
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20129 |
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 | |
11573 /* end confdefs.h. */ | 20141 /* end confdefs.h. */ |
11574 #define _LARGEFILE_SOURCE 1 | 20142 #define _LARGEFILE_SOURCE 1 |
11575 #include <sys/types.h> /* for off_t */ | 20143 #include <sys/types.h> /* for off_t */ |
11576 #include <stdio.h> | 20144 #include <stdio.h> |
11577 int | 20145 int |
11581 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | 20149 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); |
11582 ; | 20150 ; |
11583 return 0; | 20151 return 0; |
11584 } | 20152 } |
11585 _ACEOF | 20153 _ACEOF |
11586 if ac_fn_c_try_link "$LINENO"; then : | 20154 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11587 ac_cv_sys_largefile_source=1; break | 20175 ac_cv_sys_largefile_source=1; break |
11588 fi | 20176 else |
11589 rm -f core conftest.err conftest.$ac_objext \ | 20177 $as_echo "$as_me: failed program was:" >&5 |
11590 conftest$ac_exeext conftest.$ac_ext | 20178 sed 's/^/| /' conftest.$ac_ext >&5 |
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 | |
11591 ac_cv_sys_largefile_source=unknown | 20186 ac_cv_sys_largefile_source=unknown |
11592 break | 20187 break |
11593 done | 20188 done |
11594 fi | 20189 fi |
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 | 20190 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 |
11596 $as_echo "$ac_cv_sys_largefile_source" >&6; } | 20191 $as_echo "$ac_cv_sys_largefile_source" >&6; } |
11597 case $ac_cv_sys_largefile_source in #( | 20192 case $ac_cv_sys_largefile_source in #( |
11598 no | unknown) ;; | 20193 no | unknown) ;; |
11599 *) | 20194 *) |
11600 cat >>confdefs.h <<_ACEOF | 20195 cat >>confdefs.h <<_ACEOF |
11607 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | 20202 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug |
11608 # in glibc 2.1.3, but that breaks too many other things. | 20203 # in glibc 2.1.3, but that breaks too many other things. |
11609 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 20204 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
11610 if test $ac_cv_sys_largefile_source != unknown; then | 20205 if test $ac_cv_sys_largefile_source != unknown; then |
11611 | 20206 |
11612 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h | 20207 cat >>confdefs.h <<\_ACEOF |
20208 #define HAVE_FSEEKO 1 | |
20209 _ACEOF | |
11613 | 20210 |
11614 fi | 20211 fi |
11615 | 20212 |
11616 | 20213 |
11617 # Configure getopt. | 20214 # Configure getopt. |
11635 | 20232 |
11636 | 20233 |
11637 | 20234 |
11638 | 20235 |
11639 GETOPT_H= | 20236 GETOPT_H= |
11640 for ac_header in getopt.h | 20237 |
11641 do : | 20238 for ac_header in getopt.h |
11642 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" | 20239 do |
11643 if test "x$ac_cv_header_getopt_h" = x""yes; then : | 20240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
20242 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
20243 $as_echo_n "checking for $ac_header... " >&6; } | |
20244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
20245 $as_echo_n "(cached) " >&6 | |
20246 fi | |
20247 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
20248 $as_echo "$as_val"'` | |
20249 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20250 $as_echo "$ac_res" >&6; } | |
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 | |
11644 cat >>confdefs.h <<_ACEOF | 20374 cat >>confdefs.h <<_ACEOF |
11645 #define HAVE_GETOPT_H 1 | 20375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11646 _ACEOF | 20376 _ACEOF |
11647 | 20377 |
11648 else | 20378 else |
11649 GETOPT_H=getopt.h | 20379 GETOPT_H=getopt.h |
11650 fi | 20380 fi |
11651 | 20381 |
11652 done | 20382 done |
11653 | 20383 |
11654 if test -z "$GETOPT_H"; then | 20384 if test -z "$GETOPT_H"; then |
11655 for ac_func in getopt_long_only | 20385 |
11656 do : | 20386 for ac_func in getopt_long_only |
11657 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" | 20387 do |
11658 if test "x$ac_cv_func_getopt_long_only" = x""yes; then : | 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 | |
11659 cat >>confdefs.h <<_ACEOF | 20478 cat >>confdefs.h <<_ACEOF |
11660 #define HAVE_GETOPT_LONG_ONLY 1 | 20479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11661 _ACEOF | 20480 _ACEOF |
11662 | 20481 |
11663 else | 20482 else |
11664 GETOPT_H=getopt.h | 20483 GETOPT_H=getopt.h |
11665 fi | 20484 fi |
11666 done | 20485 done |
11667 | 20486 |
11668 fi | 20487 fi |
11669 | 20488 |
11670 if test -z "$GETOPT_H"; then | 20489 if test -z "$GETOPT_H"; then |
11671 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> | 20490 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 |
11672 " | 20491 $as_echo_n "checking whether optreset is declared... " >&6; } |
11673 if test "x$ac_cv_have_decl_optreset" = x""yes; then : | 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 | |
11674 GETOPT_H=getopt.h | 20545 GETOPT_H=getopt.h |
11675 fi | 20546 fi |
11676 | 20547 |
11677 fi | 20548 fi |
11678 | 20549 |
11679 if test -z "$GETOPT_H"; then | 20550 if test -z "$GETOPT_H"; then |
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 | 20551 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 |
11681 $as_echo_n "checking for working GNU getopt function... " >&6; } | 20552 $as_echo_n "checking for working GNU getopt function... " >&6; } |
11682 if test "${gl_cv_func_gnu_getopt+set}" = set; then : | 20553 if test "${gl_cv_func_gnu_getopt+set}" = set; then |
11683 $as_echo_n "(cached) " >&6 | 20554 $as_echo_n "(cached) " >&6 |
11684 else | 20555 else |
11685 if test "$cross_compiling" = yes; then : | 20556 if test "$cross_compiling" = yes; then |
11686 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> | 20557 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 |
11687 " | 20558 $as_echo_n "checking whether getopt_clip is declared... " >&6; } |
11688 if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : | 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 | |
11689 gl_cv_func_gnu_getopt=no | 20612 gl_cv_func_gnu_getopt=no |
11690 else | 20613 else |
11691 gl_cv_func_gnu_getopt=yes | 20614 gl_cv_func_gnu_getopt=yes |
11692 fi | 20615 fi |
11693 | 20616 |
11694 else | 20617 else |
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20618 cat >conftest.$ac_ext <<_ACEOF |
20619 /* confdefs.h. */ | |
20620 _ACEOF | |
20621 cat confdefs.h >>conftest.$ac_ext | |
20622 cat >>conftest.$ac_ext <<_ACEOF | |
11696 /* end confdefs.h. */ | 20623 /* end confdefs.h. */ |
11697 #include <getopt.h> | 20624 #include <getopt.h> |
11698 int | 20625 int |
11699 main () | 20626 main () |
11700 { | 20627 { |
11707 | 20634 |
11708 ; | 20635 ; |
11709 return 0; | 20636 return 0; |
11710 } | 20637 } |
11711 _ACEOF | 20638 _ACEOF |
11712 if ac_fn_c_try_run "$LINENO"; then : | 20639 rm -f conftest$ac_exeext |
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 | |
11713 gl_cv_func_gnu_getopt=yes | 20661 gl_cv_func_gnu_getopt=yes |
11714 else | 20662 else |
11715 gl_cv_func_gnu_getopt=no | 20663 $as_echo "$as_me: program exited with status $ac_status" >&5 |
11716 fi | 20664 $as_echo "$as_me: failed program was:" >&5 |
11717 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 20665 sed 's/^/| /' conftest.$ac_ext >&5 |
11718 conftest.$ac_objext conftest.beam conftest.$ac_ext | 20666 |
11719 fi | 20667 ( exit $ac_status ) |
11720 | 20668 gl_cv_func_gnu_getopt=no |
11721 fi | 20669 fi |
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5 | 20670 rm -rf conftest.dSYM |
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 | |
11723 $as_echo "$gl_cv_func_gnu_getopt" >&6; } | 20677 $as_echo "$gl_cv_func_gnu_getopt" >&6; } |
11724 if test "$gl_cv_func_gnu_getopt" = "no"; then | 20678 if test "$gl_cv_func_gnu_getopt" = "no"; then |
11725 GETOPT_H=getopt.h | 20679 GETOPT_H=getopt.h |
11726 fi | 20680 fi |
11727 fi | 20681 fi |
11728 | 20682 |
11729 | 20683 |
11730 | 20684 |
11731 if test -n "$GETOPT_H"; then : | 20685 if test -n "$GETOPT_H"; then |
11732 | 20686 |
11733 | 20687 |
11734 GETOPT_H=getopt.h | 20688 GETOPT_H=getopt.h |
11735 | 20689 |
11736 $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h | 20690 cat >>confdefs.h <<\_ACEOF |
20691 #define __GETOPT_PREFIX rpl_ | |
20692 _ACEOF | |
11737 | 20693 |
11738 | 20694 |
11739 | 20695 |
11740 : | 20696 : |
11741 GETOPTOBJS='getopt.o getopt1.o' | 20697 GETOPTOBJS='getopt.o getopt1.o' |
11742 | 20698 |
11743 fi | 20699 fi |
11744 | 20700 |
11745 | 20701 |
11746 | 20702 |
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 | 20703 |
20704 { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | |
11748 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | 20705 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
11749 if test "${ac_cv_func_getpgrp_void+set}" = set; then : | 20706 if test "${ac_cv_func_getpgrp_void+set}" = set; then |
11750 $as_echo_n "(cached) " >&6 | 20707 $as_echo_n "(cached) " >&6 |
11751 else | 20708 else |
11752 # Use it with a single arg. | 20709 # Use it with a single arg. |
11753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20710 cat >conftest.$ac_ext <<_ACEOF |
20711 /* confdefs.h. */ | |
20712 _ACEOF | |
20713 cat confdefs.h >>conftest.$ac_ext | |
20714 cat >>conftest.$ac_ext <<_ACEOF | |
11754 /* end confdefs.h. */ | 20715 /* end confdefs.h. */ |
11755 $ac_includes_default | 20716 $ac_includes_default |
11756 int | 20717 int |
11757 main () | 20718 main () |
11758 { | 20719 { |
11759 getpgrp (0); | 20720 getpgrp (0); |
11760 ; | 20721 ; |
11761 return 0; | 20722 return 0; |
11762 } | 20723 } |
11763 _ACEOF | 20724 _ACEOF |
11764 if ac_fn_c_try_compile "$LINENO"; then : | 20725 rm -f conftest.$ac_objext |
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 | |
11765 ac_cv_func_getpgrp_void=no | 20743 ac_cv_func_getpgrp_void=no |
11766 else | 20744 else |
11767 ac_cv_func_getpgrp_void=yes | 20745 $as_echo "$as_me: failed program was:" >&5 |
11768 fi | 20746 sed 's/^/| /' conftest.$ac_ext >&5 |
20747 | |
20748 ac_cv_func_getpgrp_void=yes | |
20749 fi | |
20750 | |
11769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11770 | 20752 |
11771 fi | 20753 fi |
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 | 20754 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
11773 $as_echo "$ac_cv_func_getpgrp_void" >&6; } | 20755 $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
11774 if test $ac_cv_func_getpgrp_void = yes; then | 20756 if test $ac_cv_func_getpgrp_void = yes; then |
11775 | 20757 |
11776 $as_echo "#define GETPGRP_VOID 1" >>confdefs.h | 20758 cat >>confdefs.h <<\_ACEOF |
11777 | 20759 #define GETPGRP_VOID 1 |
11778 fi | 20760 _ACEOF |
20761 | |
20762 fi | |
20763 | |
11779 | 20764 |
11780 | 20765 |
11781 for ac_func in strftime | 20766 for ac_func in strftime |
11782 do : | 20767 do |
11783 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | 20768 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11784 if test "x$ac_cv_func_strftime" = x""yes; then : | 20769 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20770 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
11785 cat >>confdefs.h <<_ACEOF | 20858 cat >>confdefs.h <<_ACEOF |
11786 #define HAVE_STRFTIME 1 | 20859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11787 _ACEOF | 20860 _ACEOF |
11788 | 20861 |
11789 else | 20862 else |
11790 # strftime is in -lintl on SCO UNIX. | 20863 # strftime is in -lintl on SCO UNIX. |
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 | 20864 { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
11792 $as_echo_n "checking for strftime in -lintl... " >&6; } | 20865 $as_echo_n "checking for strftime in -lintl... " >&6; } |
11793 if test "${ac_cv_lib_intl_strftime+set}" = set; then : | 20866 if test "${ac_cv_lib_intl_strftime+set}" = set; then |
11794 $as_echo_n "(cached) " >&6 | 20867 $as_echo_n "(cached) " >&6 |
11795 else | 20868 else |
11796 ac_check_lib_save_LIBS=$LIBS | 20869 ac_check_lib_save_LIBS=$LIBS |
11797 LIBS="-lintl $LIBS" | 20870 LIBS="-lintl $LIBS" |
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20871 cat >conftest.$ac_ext <<_ACEOF |
20872 /* confdefs.h. */ | |
20873 _ACEOF | |
20874 cat confdefs.h >>conftest.$ac_ext | |
20875 cat >>conftest.$ac_ext <<_ACEOF | |
11799 /* end confdefs.h. */ | 20876 /* end confdefs.h. */ |
11800 | 20877 |
11801 /* Override any GCC internal prototype to avoid an error. | 20878 /* Override any GCC internal prototype to avoid an error. |
11802 Use char because int might match the return type of a GCC | 20879 Use char because int might match the return type of a GCC |
11803 builtin and then its argument prototype would still apply. */ | 20880 builtin and then its argument prototype would still apply. */ |
11811 return strftime (); | 20888 return strftime (); |
11812 ; | 20889 ; |
11813 return 0; | 20890 return 0; |
11814 } | 20891 } |
11815 _ACEOF | 20892 _ACEOF |
11816 if ac_fn_c_try_link "$LINENO"; then : | 20893 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11817 ac_cv_lib_intl_strftime=yes | 20914 ac_cv_lib_intl_strftime=yes |
11818 else | 20915 else |
11819 ac_cv_lib_intl_strftime=no | 20916 $as_echo "$as_me: failed program was:" >&5 |
11820 fi | 20917 sed 's/^/| /' conftest.$ac_ext >&5 |
11821 rm -f core conftest.err conftest.$ac_objext \ | 20918 |
11822 conftest$ac_exeext conftest.$ac_ext | 20919 ac_cv_lib_intl_strftime=no |
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 | |
11823 LIBS=$ac_check_lib_save_LIBS | 20925 LIBS=$ac_check_lib_save_LIBS |
11824 fi | 20926 fi |
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 | 20927 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
11826 $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 20928 $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
11827 if test "x$ac_cv_lib_intl_strftime" = x""yes; then : | 20929 if test $ac_cv_lib_intl_strftime = yes; then |
11828 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | 20930 cat >>confdefs.h <<\_ACEOF |
20931 #define HAVE_STRFTIME 1 | |
20932 _ACEOF | |
11829 | 20933 |
11830 LIBS="-lintl $LIBS" | 20934 LIBS="-lintl $LIBS" |
11831 fi | 20935 fi |
11832 | 20936 |
11833 fi | 20937 fi |
11834 done | 20938 done |
11835 | 20939 |
11836 | 20940 |
11837 # UNIX98 PTYs. | 20941 # UNIX98 PTYs. |
20942 | |
11838 for ac_func in grantpt | 20943 for ac_func in grantpt |
11839 do : | 20944 do |
11840 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" | 20945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11841 if test "x$ac_cv_func_grantpt" = x""yes; then : | 20946 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20947 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
11842 cat >>confdefs.h <<_ACEOF | 21035 cat >>confdefs.h <<_ACEOF |
11843 #define HAVE_GRANTPT 1 | 21036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11844 _ACEOF | 21037 _ACEOF |
11845 | 21038 |
11846 fi | 21039 fi |
11847 done | 21040 done |
11848 | 21041 |
11849 | 21042 |
11850 # PTY-related GNU extensions. | 21043 # PTY-related GNU extensions. |
21044 | |
11851 for ac_func in getpt | 21045 for ac_func in getpt |
11852 do : | 21046 do |
11853 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" | 21047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11854 if test "x$ac_cv_func_getpt" = x""yes; then : | 21048 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21049 $as_echo_n "checking for $ac_func... " >&6; } | |
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 | |
11855 cat >>confdefs.h <<_ACEOF | 21137 cat >>confdefs.h <<_ACEOF |
11856 #define HAVE_GETPT 1 | 21138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11857 _ACEOF | 21139 _ACEOF |
11858 | 21140 |
11859 fi | 21141 fi |
11860 done | 21142 done |
11861 | 21143 |
11864 # That is because we have not set up to link ncurses in lib-src. | 21146 # That is because we have not set up to link ncurses in lib-src. |
11865 # It's better to believe a function is not available | 21147 # It's better to believe a function is not available |
11866 # than to expect to find it in ncurses. | 21148 # than to expect to find it in ncurses. |
11867 # Also we need tputs and frieds to be able to build at all. | 21149 # Also we need tputs and frieds to be able to build at all. |
11868 have_tputs_et_al=true | 21150 have_tputs_et_al=true |
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 | 21151 { $as_echo "$as_me:$LINENO: checking for library containing tputs" >&5 |
11870 $as_echo_n "checking for library containing tputs... " >&6; } | 21152 $as_echo_n "checking for library containing tputs... " >&6; } |
11871 if test "${ac_cv_search_tputs+set}" = set; then : | 21153 if test "${ac_cv_search_tputs+set}" = set; then |
11872 $as_echo_n "(cached) " >&6 | 21154 $as_echo_n "(cached) " >&6 |
11873 else | 21155 else |
11874 ac_func_search_save_LIBS=$LIBS | 21156 ac_func_search_save_LIBS=$LIBS |
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21157 cat >conftest.$ac_ext <<_ACEOF |
21158 /* confdefs.h. */ | |
21159 _ACEOF | |
21160 cat confdefs.h >>conftest.$ac_ext | |
21161 cat >>conftest.$ac_ext <<_ACEOF | |
11876 /* end confdefs.h. */ | 21162 /* end confdefs.h. */ |
11877 | 21163 |
11878 /* Override any GCC internal prototype to avoid an error. | 21164 /* Override any GCC internal prototype to avoid an error. |
11879 Use char because int might match the return type of a GCC | 21165 Use char because int might match the return type of a GCC |
11880 builtin and then its argument prototype would still apply. */ | 21166 builtin and then its argument prototype would still apply. */ |
11895 ac_res="none required" | 21181 ac_res="none required" |
11896 else | 21182 else |
11897 ac_res=-l$ac_lib | 21183 ac_res=-l$ac_lib |
11898 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 21184 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
11899 fi | 21185 fi |
11900 if ac_fn_c_try_link "$LINENO"; then : | 21186 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11901 ac_cv_search_tputs=$ac_res | 21207 ac_cv_search_tputs=$ac_res |
11902 fi | 21208 else |
11903 rm -f core conftest.err conftest.$ac_objext \ | 21209 $as_echo "$as_me: failed program was:" >&5 |
11904 conftest$ac_exeext | 21210 sed 's/^/| /' conftest.$ac_ext >&5 |
11905 if test "${ac_cv_search_tputs+set}" = set; then : | 21211 |
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 | |
11906 break | 21219 break |
11907 fi | 21220 fi |
11908 done | 21221 done |
11909 if test "${ac_cv_search_tputs+set}" = set; then : | 21222 if test "${ac_cv_search_tputs+set}" = set; then |
11910 | 21223 : |
11911 else | 21224 else |
11912 ac_cv_search_tputs=no | 21225 ac_cv_search_tputs=no |
11913 fi | 21226 fi |
11914 rm conftest.$ac_ext | 21227 rm conftest.$ac_ext |
11915 LIBS=$ac_func_search_save_LIBS | 21228 LIBS=$ac_func_search_save_LIBS |
11916 fi | 21229 fi |
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5 | 21230 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tputs" >&5 |
11918 $as_echo "$ac_cv_search_tputs" >&6; } | 21231 $as_echo "$ac_cv_search_tputs" >&6; } |
11919 ac_res=$ac_cv_search_tputs | 21232 ac_res=$ac_cv_search_tputs |
11920 if test "$ac_res" != no; then : | 21233 if test "$ac_res" != no; then |
11921 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 21234 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
11922 | 21235 |
11923 else | 21236 else |
11924 have_tputs_et_al=false | 21237 have_tputs_et_al=false |
11925 fi | 21238 fi |
11926 | 21239 |
11927 if test "$have_tputs_et_al" != true; then | 21240 if test "$have_tputs_et_al" != true; then |
11928 as_fn_error "I couldn't find termcap functions (tputs and friends). | 21241 { { $as_echo "$as_me:$LINENO: error: I couldn't find termcap functions (tputs and friends). |
11929 Maybe some development libraries/packages are missing? Try installing | 21242 Maybe some development libraries/packages are missing? Try installing |
11930 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 21243 libncurses-dev(el), libterminfo-dev(el) or similar." >&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; }; } | |
11931 fi | 21248 fi |
11932 # Must define this when any termcap library is found. | 21249 # Must define this when any termcap library is found. |
11933 | 21250 |
11934 $as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h | 21251 cat >>confdefs.h <<\_ACEOF |
21252 #define HAVE_LIBNCURSES 1 | |
21253 _ACEOF | |
11935 | 21254 |
11936 | 21255 |
11937 # Do we have res_init, for detecting changes in /etc/resolv.conf? | 21256 # Do we have res_init, for detecting changes in /etc/resolv.conf? |
11938 | 21257 |
11939 resolv=no | 21258 resolv=no |
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21259 cat >conftest.$ac_ext <<_ACEOF |
21260 /* confdefs.h. */ | |
21261 _ACEOF | |
21262 cat confdefs.h >>conftest.$ac_ext | |
21263 cat >>conftest.$ac_ext <<_ACEOF | |
11941 /* end confdefs.h. */ | 21264 /* end confdefs.h. */ |
11942 #include <netinet/in.h> | 21265 #include <netinet/in.h> |
11943 #include <arpa/nameser.h> | 21266 #include <arpa/nameser.h> |
11944 #include <resolv.h> | 21267 #include <resolv.h> |
11945 int | 21268 int |
11948 return res_init(); | 21271 return res_init(); |
11949 ; | 21272 ; |
11950 return 0; | 21273 return 0; |
11951 } | 21274 } |
11952 _ACEOF | 21275 _ACEOF |
11953 if ac_fn_c_try_link "$LINENO"; then : | 21276 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11954 have_res_init=yes | 21297 have_res_init=yes |
11955 else | 21298 else |
11956 have_res_init=no | 21299 $as_echo "$as_me: failed program was:" >&5 |
11957 fi | 21300 sed 's/^/| /' conftest.$ac_ext >&5 |
11958 rm -f core conftest.err conftest.$ac_objext \ | 21301 |
11959 conftest$ac_exeext conftest.$ac_ext | 21302 have_res_init=no |
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 | |
11960 if test "$have_res_init" = no; then | 21308 if test "$have_res_init" = no; then |
11961 OLIBS="$LIBS" | 21309 OLIBS="$LIBS" |
11962 LIBS="$LIBS -lresolv" | 21310 LIBS="$LIBS -lresolv" |
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5 | 21311 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 |
11964 $as_echo_n "checking for res_init with -lresolv... " >&6; } | 21312 $as_echo_n "checking for res_init with -lresolv... " >&6; } |
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21313 cat >conftest.$ac_ext <<_ACEOF |
21314 /* confdefs.h. */ | |
21315 _ACEOF | |
21316 cat confdefs.h >>conftest.$ac_ext | |
21317 cat >>conftest.$ac_ext <<_ACEOF | |
11966 /* end confdefs.h. */ | 21318 /* end confdefs.h. */ |
11967 #include <netinet/in.h> | 21319 #include <netinet/in.h> |
11968 #include <arpa/nameser.h> | 21320 #include <arpa/nameser.h> |
11969 #include <resolv.h> | 21321 #include <resolv.h> |
11970 int | 21322 int |
11973 return res_init(); | 21325 return res_init(); |
11974 ; | 21326 ; |
11975 return 0; | 21327 return 0; |
11976 } | 21328 } |
11977 _ACEOF | 21329 _ACEOF |
11978 if ac_fn_c_try_link "$LINENO"; then : | 21330 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
11979 have_res_init=yes | 21351 have_res_init=yes |
11980 else | 21352 else |
11981 have_res_init=no | 21353 $as_echo "$as_me: failed program was:" >&5 |
11982 fi | 21354 sed 's/^/| /' conftest.$ac_ext >&5 |
11983 rm -f core conftest.err conftest.$ac_objext \ | 21355 |
11984 conftest$ac_exeext conftest.$ac_ext | 21356 have_res_init=no |
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5 | 21357 fi |
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 | |
11986 $as_echo "$have_res_init" >&6; } | 21363 $as_echo "$have_res_init" >&6; } |
11987 if test "$have_res_init" = yes ; then | 21364 if test "$have_res_init" = yes ; then |
11988 resolv=yes | 21365 resolv=yes |
11989 fi | 21366 fi |
11990 LIBS="$OLIBS" | 21367 LIBS="$OLIBS" |
11991 fi | 21368 fi |
11992 | 21369 |
11993 if test "$have_res_init" = yes; then | 21370 if test "$have_res_init" = yes; then |
11994 | 21371 |
11995 $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h | 21372 cat >>confdefs.h <<\_ACEOF |
21373 #define HAVE_RES_INIT 1 | |
21374 _ACEOF | |
11996 | 21375 |
11997 fi | 21376 fi |
11998 | 21377 |
11999 # Do we need the Hesiod library to provide the support routines? | 21378 # Do we need the Hesiod library to provide the support routines? |
12000 LIBHESIOD= | 21379 LIBHESIOD= |
12001 if test "$with_hesiod" != no ; then | 21380 if test "$with_hesiod" != no ; then |
12002 # Don't set $LIBS here -- see comments above. FIXME which comments? | 21381 # Don't set $LIBS here -- see comments above. FIXME which comments? |
12003 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" | 21382 { $as_echo "$as_me:$LINENO: checking for res_send" >&5 |
12004 if test "x$ac_cv_func_res_send" = x""yes; then : | 21383 $as_echo_n "checking for res_send... " >&6; } |
12005 | 21384 if test "${ac_cv_func_res_send+set}" = set; then |
12006 else | 21385 $as_echo_n "(cached) " >&6 |
12007 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" | 21386 else |
12008 if test "x$ac_cv_func___res_send" = x""yes; then : | 21387 cat >conftest.$ac_ext <<_ACEOF |
12009 | 21388 /* confdefs.h. */ |
12010 else | 21389 _ACEOF |
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 | 21390 cat confdefs.h >>conftest.$ac_ext |
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 | |
12012 $as_echo_n "checking for res_send in -lresolv... " >&6; } | 21559 $as_echo_n "checking for res_send in -lresolv... " >&6; } |
12013 if test "${ac_cv_lib_resolv_res_send+set}" = set; then : | 21560 if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
12014 $as_echo_n "(cached) " >&6 | 21561 $as_echo_n "(cached) " >&6 |
12015 else | 21562 else |
12016 ac_check_lib_save_LIBS=$LIBS | 21563 ac_check_lib_save_LIBS=$LIBS |
12017 LIBS="-lresolv $LIBS" | 21564 LIBS="-lresolv $LIBS" |
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21565 cat >conftest.$ac_ext <<_ACEOF |
21566 /* confdefs.h. */ | |
21567 _ACEOF | |
21568 cat confdefs.h >>conftest.$ac_ext | |
21569 cat >>conftest.$ac_ext <<_ACEOF | |
12019 /* end confdefs.h. */ | 21570 /* end confdefs.h. */ |
12020 | 21571 |
12021 /* Override any GCC internal prototype to avoid an error. | 21572 /* Override any GCC internal prototype to avoid an error. |
12022 Use char because int might match the return type of a GCC | 21573 Use char because int might match the return type of a GCC |
12023 builtin and then its argument prototype would still apply. */ | 21574 builtin and then its argument prototype would still apply. */ |
12031 return res_send (); | 21582 return res_send (); |
12032 ; | 21583 ; |
12033 return 0; | 21584 return 0; |
12034 } | 21585 } |
12035 _ACEOF | 21586 _ACEOF |
12036 if ac_fn_c_try_link "$LINENO"; then : | 21587 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12037 ac_cv_lib_resolv_res_send=yes | 21608 ac_cv_lib_resolv_res_send=yes |
12038 else | 21609 else |
12039 ac_cv_lib_resolv_res_send=no | 21610 $as_echo "$as_me: failed program was:" >&5 |
12040 fi | 21611 sed 's/^/| /' conftest.$ac_ext >&5 |
12041 rm -f core conftest.err conftest.$ac_objext \ | 21612 |
12042 conftest$ac_exeext conftest.$ac_ext | 21613 ac_cv_lib_resolv_res_send=no |
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 | |
12043 LIBS=$ac_check_lib_save_LIBS | 21619 LIBS=$ac_check_lib_save_LIBS |
12044 fi | 21620 fi |
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 | 21621 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 |
12046 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } | 21622 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } |
12047 if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : | 21623 if test $ac_cv_lib_resolv_res_send = yes; then |
12048 resolv=yes | 21624 resolv=yes |
12049 else | 21625 else |
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 | 21626 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 |
12051 $as_echo_n "checking for __res_send in -lresolv... " >&6; } | 21627 $as_echo_n "checking for __res_send in -lresolv... " >&6; } |
12052 if test "${ac_cv_lib_resolv___res_send+set}" = set; then : | 21628 if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
12053 $as_echo_n "(cached) " >&6 | 21629 $as_echo_n "(cached) " >&6 |
12054 else | 21630 else |
12055 ac_check_lib_save_LIBS=$LIBS | 21631 ac_check_lib_save_LIBS=$LIBS |
12056 LIBS="-lresolv $LIBS" | 21632 LIBS="-lresolv $LIBS" |
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21633 cat >conftest.$ac_ext <<_ACEOF |
21634 /* confdefs.h. */ | |
21635 _ACEOF | |
21636 cat confdefs.h >>conftest.$ac_ext | |
21637 cat >>conftest.$ac_ext <<_ACEOF | |
12058 /* end confdefs.h. */ | 21638 /* end confdefs.h. */ |
12059 | 21639 |
12060 /* Override any GCC internal prototype to avoid an error. | 21640 /* Override any GCC internal prototype to avoid an error. |
12061 Use char because int might match the return type of a GCC | 21641 Use char because int might match the return type of a GCC |
12062 builtin and then its argument prototype would still apply. */ | 21642 builtin and then its argument prototype would still apply. */ |
12070 return __res_send (); | 21650 return __res_send (); |
12071 ; | 21651 ; |
12072 return 0; | 21652 return 0; |
12073 } | 21653 } |
12074 _ACEOF | 21654 _ACEOF |
12075 if ac_fn_c_try_link "$LINENO"; then : | 21655 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12076 ac_cv_lib_resolv___res_send=yes | 21676 ac_cv_lib_resolv___res_send=yes |
12077 else | 21677 else |
12078 ac_cv_lib_resolv___res_send=no | 21678 $as_echo "$as_me: failed program was:" >&5 |
12079 fi | 21679 sed 's/^/| /' conftest.$ac_ext >&5 |
12080 rm -f core conftest.err conftest.$ac_objext \ | 21680 |
12081 conftest$ac_exeext conftest.$ac_ext | 21681 ac_cv_lib_resolv___res_send=no |
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 | |
12082 LIBS=$ac_check_lib_save_LIBS | 21687 LIBS=$ac_check_lib_save_LIBS |
12083 fi | 21688 fi |
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 | 21689 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 |
12085 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } | 21690 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } |
12086 if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : | 21691 if test $ac_cv_lib_resolv___res_send = yes; then |
12087 resolv=yes | 21692 resolv=yes |
12088 fi | 21693 fi |
12089 | 21694 |
12090 fi | 21695 fi |
12091 | 21696 |
12096 if test "$resolv" = yes ; then | 21701 if test "$resolv" = yes ; then |
12097 RESOLVLIB=-lresolv | 21702 RESOLVLIB=-lresolv |
12098 else | 21703 else |
12099 RESOLVLIB= | 21704 RESOLVLIB= |
12100 fi | 21705 fi |
12101 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" | 21706 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 |
12102 if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : | 21707 $as_echo_n "checking for hes_getmailhost... " >&6; } |
12103 | 21708 if test "${ac_cv_func_hes_getmailhost+set}" = set; then |
12104 else | 21709 $as_echo_n "(cached) " >&6 |
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 | 21710 else |
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 | |
12106 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } | 21795 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } |
12107 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : | 21796 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
12108 $as_echo_n "(cached) " >&6 | 21797 $as_echo_n "(cached) " >&6 |
12109 else | 21798 else |
12110 ac_check_lib_save_LIBS=$LIBS | 21799 ac_check_lib_save_LIBS=$LIBS |
12111 LIBS="-lhesiod $RESOLVLIB $LIBS" | 21800 LIBS="-lhesiod $RESOLVLIB $LIBS" |
12112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21801 cat >conftest.$ac_ext <<_ACEOF |
21802 /* confdefs.h. */ | |
21803 _ACEOF | |
21804 cat confdefs.h >>conftest.$ac_ext | |
21805 cat >>conftest.$ac_ext <<_ACEOF | |
12113 /* end confdefs.h. */ | 21806 /* end confdefs.h. */ |
12114 | 21807 |
12115 /* Override any GCC internal prototype to avoid an error. | 21808 /* Override any GCC internal prototype to avoid an error. |
12116 Use char because int might match the return type of a GCC | 21809 Use char because int might match the return type of a GCC |
12117 builtin and then its argument prototype would still apply. */ | 21810 builtin and then its argument prototype would still apply. */ |
12125 return hes_getmailhost (); | 21818 return hes_getmailhost (); |
12126 ; | 21819 ; |
12127 return 0; | 21820 return 0; |
12128 } | 21821 } |
12129 _ACEOF | 21822 _ACEOF |
12130 if ac_fn_c_try_link "$LINENO"; then : | 21823 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12131 ac_cv_lib_hesiod_hes_getmailhost=yes | 21844 ac_cv_lib_hesiod_hes_getmailhost=yes |
12132 else | 21845 else |
12133 ac_cv_lib_hesiod_hes_getmailhost=no | 21846 $as_echo "$as_me: failed program was:" >&5 |
12134 fi | 21847 sed 's/^/| /' conftest.$ac_ext >&5 |
12135 rm -f core conftest.err conftest.$ac_objext \ | 21848 |
12136 conftest$ac_exeext conftest.$ac_ext | 21849 ac_cv_lib_hesiod_hes_getmailhost=no |
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 | |
12137 LIBS=$ac_check_lib_save_LIBS | 21855 LIBS=$ac_check_lib_save_LIBS |
12138 fi | 21856 fi |
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 21857 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
12140 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } | 21858 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
12141 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : | 21859 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
12142 hesiod=yes | 21860 hesiod=yes |
12143 else | 21861 else |
12144 : | 21862 : |
12145 fi | 21863 fi |
12146 | 21864 |
12147 fi | 21865 fi |
12148 | 21866 |
12149 | 21867 |
12150 if test x"$hesiod" = xyes; then | 21868 if test x"$hesiod" = xyes; then |
12151 | 21869 |
12152 $as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h | 21870 cat >>confdefs.h <<\_ACEOF |
21871 #define HAVE_LIBHESIOD 1 | |
21872 _ACEOF | |
12153 | 21873 |
12154 LIBHESIOD=-lhesiod | 21874 LIBHESIOD=-lhesiod |
12155 fi | 21875 fi |
12156 fi | 21876 fi |
12157 | 21877 |
12158 | 21878 |
12159 # Do we need libresolv (due to res_init or Hesiod)? | 21879 # Do we need libresolv (due to res_init or Hesiod)? |
12160 if test "$resolv" = yes ; then | 21880 if test "$resolv" = yes ; then |
12161 | 21881 |
12162 $as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h | 21882 cat >>confdefs.h <<\_ACEOF |
21883 #define HAVE_LIBRESOLV 1 | |
21884 _ACEOF | |
12163 | 21885 |
12164 LIBRESOLV=-lresolv | 21886 LIBRESOLV=-lresolv |
12165 else | 21887 else |
12166 LIBRESOLV= | 21888 LIBRESOLV= |
12167 fi | 21889 fi |
12173 KRB5LIB= | 21895 KRB5LIB= |
12174 DESLIB= | 21896 DESLIB= |
12175 KRB4LIB= | 21897 KRB4LIB= |
12176 | 21898 |
12177 if test "${with_kerberos}" != no; then | 21899 if test "${with_kerberos}" != no; then |
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 | 21900 { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
12179 $as_echo_n "checking for com_err in -lcom_err... " >&6; } | 21901 $as_echo_n "checking for com_err in -lcom_err... " >&6; } |
12180 if test "${ac_cv_lib_com_err_com_err+set}" = set; then : | 21902 if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
12181 $as_echo_n "(cached) " >&6 | 21903 $as_echo_n "(cached) " >&6 |
12182 else | 21904 else |
12183 ac_check_lib_save_LIBS=$LIBS | 21905 ac_check_lib_save_LIBS=$LIBS |
12184 LIBS="-lcom_err $LIBS" | 21906 LIBS="-lcom_err $LIBS" |
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21907 cat >conftest.$ac_ext <<_ACEOF |
21908 /* confdefs.h. */ | |
21909 _ACEOF | |
21910 cat confdefs.h >>conftest.$ac_ext | |
21911 cat >>conftest.$ac_ext <<_ACEOF | |
12186 /* end confdefs.h. */ | 21912 /* end confdefs.h. */ |
12187 | 21913 |
12188 /* Override any GCC internal prototype to avoid an error. | 21914 /* Override any GCC internal prototype to avoid an error. |
12189 Use char because int might match the return type of a GCC | 21915 Use char because int might match the return type of a GCC |
12190 builtin and then its argument prototype would still apply. */ | 21916 builtin and then its argument prototype would still apply. */ |
12198 return com_err (); | 21924 return com_err (); |
12199 ; | 21925 ; |
12200 return 0; | 21926 return 0; |
12201 } | 21927 } |
12202 _ACEOF | 21928 _ACEOF |
12203 if ac_fn_c_try_link "$LINENO"; then : | 21929 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12204 ac_cv_lib_com_err_com_err=yes | 21950 ac_cv_lib_com_err_com_err=yes |
12205 else | 21951 else |
12206 ac_cv_lib_com_err_com_err=no | 21952 $as_echo "$as_me: failed program was:" >&5 |
12207 fi | 21953 sed 's/^/| /' conftest.$ac_ext >&5 |
12208 rm -f core conftest.err conftest.$ac_objext \ | 21954 |
12209 conftest$ac_exeext conftest.$ac_ext | 21955 ac_cv_lib_com_err_com_err=no |
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 | |
12210 LIBS=$ac_check_lib_save_LIBS | 21961 LIBS=$ac_check_lib_save_LIBS |
12211 fi | 21962 fi |
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 | 21963 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
12213 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } | 21964 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } |
12214 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : | 21965 if test $ac_cv_lib_com_err_com_err = yes; then |
12215 have_com_err=yes | 21966 have_com_err=yes |
12216 else | 21967 else |
12217 have_com_err=no | 21968 have_com_err=no |
12218 fi | 21969 fi |
12219 | 21970 |
12220 if test $have_com_err = yes; then | 21971 if test $have_com_err = yes; then |
12221 COM_ERRLIB=-lcom_err | 21972 COM_ERRLIB=-lcom_err |
12222 LIBS="$COM_ERRLIB $LIBS" | 21973 LIBS="$COM_ERRLIB $LIBS" |
12223 | 21974 |
12224 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h | 21975 cat >>confdefs.h <<\_ACEOF |
21976 #define HAVE_LIBCOM_ERR 1 | |
21977 _ACEOF | |
12225 | 21978 |
12226 fi | 21979 fi |
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 21980 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
12228 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } | 21981 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } |
12229 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : | 21982 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
12230 $as_echo_n "(cached) " >&6 | 21983 $as_echo_n "(cached) " >&6 |
12231 else | 21984 else |
12232 ac_check_lib_save_LIBS=$LIBS | 21985 ac_check_lib_save_LIBS=$LIBS |
12233 LIBS="-lcrypto $LIBS" | 21986 LIBS="-lcrypto $LIBS" |
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21987 cat >conftest.$ac_ext <<_ACEOF |
21988 /* confdefs.h. */ | |
21989 _ACEOF | |
21990 cat confdefs.h >>conftest.$ac_ext | |
21991 cat >>conftest.$ac_ext <<_ACEOF | |
12235 /* end confdefs.h. */ | 21992 /* end confdefs.h. */ |
12236 | 21993 |
12237 /* Override any GCC internal prototype to avoid an error. | 21994 /* Override any GCC internal prototype to avoid an error. |
12238 Use char because int might match the return type of a GCC | 21995 Use char because int might match the return type of a GCC |
12239 builtin and then its argument prototype would still apply. */ | 21996 builtin and then its argument prototype would still apply. */ |
12247 return mit_des_cbc_encrypt (); | 22004 return mit_des_cbc_encrypt (); |
12248 ; | 22005 ; |
12249 return 0; | 22006 return 0; |
12250 } | 22007 } |
12251 _ACEOF | 22008 _ACEOF |
12252 if ac_fn_c_try_link "$LINENO"; then : | 22009 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12253 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 22030 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
12254 else | 22031 else |
12255 ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 22032 $as_echo "$as_me: failed program was:" >&5 |
12256 fi | 22033 sed 's/^/| /' conftest.$ac_ext >&5 |
12257 rm -f core conftest.err conftest.$ac_objext \ | 22034 |
12258 conftest$ac_exeext conftest.$ac_ext | 22035 ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
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 | |
12259 LIBS=$ac_check_lib_save_LIBS | 22041 LIBS=$ac_check_lib_save_LIBS |
12260 fi | 22042 fi |
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 22043 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
12262 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } | 22044 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
12263 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : | 22045 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
12264 have_crypto=yes | 22046 have_crypto=yes |
12265 else | 22047 else |
12266 have_crypto=no | 22048 have_crypto=no |
12267 fi | 22049 fi |
12268 | 22050 |
12269 if test $have_crypto = yes; then | 22051 if test $have_crypto = yes; then |
12270 CRYPTOLIB=-lcrypto | 22052 CRYPTOLIB=-lcrypto |
12271 LIBS="$CRYPTOLIB $LIBS" | 22053 LIBS="$CRYPTOLIB $LIBS" |
12272 | 22054 |
12273 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h | 22055 cat >>confdefs.h <<\_ACEOF |
22056 #define HAVE_LIBCRYPTO 1 | |
22057 _ACEOF | |
12274 | 22058 |
12275 fi | 22059 fi |
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 22060 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
12277 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } | 22061 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } |
12278 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : | 22062 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
12279 $as_echo_n "(cached) " >&6 | 22063 $as_echo_n "(cached) " >&6 |
12280 else | 22064 else |
12281 ac_check_lib_save_LIBS=$LIBS | 22065 ac_check_lib_save_LIBS=$LIBS |
12282 LIBS="-lk5crypto $LIBS" | 22066 LIBS="-lk5crypto $LIBS" |
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22067 cat >conftest.$ac_ext <<_ACEOF |
22068 /* confdefs.h. */ | |
22069 _ACEOF | |
22070 cat confdefs.h >>conftest.$ac_ext | |
22071 cat >>conftest.$ac_ext <<_ACEOF | |
12284 /* end confdefs.h. */ | 22072 /* end confdefs.h. */ |
12285 | 22073 |
12286 /* Override any GCC internal prototype to avoid an error. | 22074 /* Override any GCC internal prototype to avoid an error. |
12287 Use char because int might match the return type of a GCC | 22075 Use char because int might match the return type of a GCC |
12288 builtin and then its argument prototype would still apply. */ | 22076 builtin and then its argument prototype would still apply. */ |
12296 return mit_des_cbc_encrypt (); | 22084 return mit_des_cbc_encrypt (); |
12297 ; | 22085 ; |
12298 return 0; | 22086 return 0; |
12299 } | 22087 } |
12300 _ACEOF | 22088 _ACEOF |
12301 if ac_fn_c_try_link "$LINENO"; then : | 22089 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12302 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 22110 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
12303 else | 22111 else |
12304 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 22112 $as_echo "$as_me: failed program was:" >&5 |
12305 fi | 22113 sed 's/^/| /' conftest.$ac_ext >&5 |
12306 rm -f core conftest.err conftest.$ac_objext \ | 22114 |
12307 conftest$ac_exeext conftest.$ac_ext | 22115 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
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 | |
12308 LIBS=$ac_check_lib_save_LIBS | 22121 LIBS=$ac_check_lib_save_LIBS |
12309 fi | 22122 fi |
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 22123 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
12311 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } | 22124 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
12312 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : | 22125 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
12313 have_k5crypto=yes | 22126 have_k5crypto=yes |
12314 else | 22127 else |
12315 have_k5crypto=no | 22128 have_k5crypto=no |
12316 fi | 22129 fi |
12317 | 22130 |
12318 if test $have_k5crypto = yes; then | 22131 if test $have_k5crypto = yes; then |
12319 CRYPTOLIB=-lk5crypto | 22132 CRYPTOLIB=-lk5crypto |
12320 LIBS="$CRYPTOLIB $LIBS" | 22133 LIBS="$CRYPTOLIB $LIBS" |
12321 | 22134 |
12322 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h | 22135 cat >>confdefs.h <<\_ACEOF |
22136 #define HAVE_LIBK5CRYPTO 1 | |
22137 _ACEOF | |
12323 | 22138 |
12324 fi | 22139 fi |
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 | 22140 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 |
12326 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } | 22141 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } |
12327 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : | 22142 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
12328 $as_echo_n "(cached) " >&6 | 22143 $as_echo_n "(cached) " >&6 |
12329 else | 22144 else |
12330 ac_check_lib_save_LIBS=$LIBS | 22145 ac_check_lib_save_LIBS=$LIBS |
12331 LIBS="-lkrb5 $LIBS" | 22146 LIBS="-lkrb5 $LIBS" |
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22147 cat >conftest.$ac_ext <<_ACEOF |
22148 /* confdefs.h. */ | |
22149 _ACEOF | |
22150 cat confdefs.h >>conftest.$ac_ext | |
22151 cat >>conftest.$ac_ext <<_ACEOF | |
12333 /* end confdefs.h. */ | 22152 /* end confdefs.h. */ |
12334 | 22153 |
12335 /* Override any GCC internal prototype to avoid an error. | 22154 /* Override any GCC internal prototype to avoid an error. |
12336 Use char because int might match the return type of a GCC | 22155 Use char because int might match the return type of a GCC |
12337 builtin and then its argument prototype would still apply. */ | 22156 builtin and then its argument prototype would still apply. */ |
12345 return krb5_init_context (); | 22164 return krb5_init_context (); |
12346 ; | 22165 ; |
12347 return 0; | 22166 return 0; |
12348 } | 22167 } |
12349 _ACEOF | 22168 _ACEOF |
12350 if ac_fn_c_try_link "$LINENO"; then : | 22169 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12351 ac_cv_lib_krb5_krb5_init_context=yes | 22190 ac_cv_lib_krb5_krb5_init_context=yes |
12352 else | 22191 else |
12353 ac_cv_lib_krb5_krb5_init_context=no | 22192 $as_echo "$as_me: failed program was:" >&5 |
12354 fi | 22193 sed 's/^/| /' conftest.$ac_ext >&5 |
12355 rm -f core conftest.err conftest.$ac_objext \ | 22194 |
12356 conftest$ac_exeext conftest.$ac_ext | 22195 ac_cv_lib_krb5_krb5_init_context=no |
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 | |
12357 LIBS=$ac_check_lib_save_LIBS | 22201 LIBS=$ac_check_lib_save_LIBS |
12358 fi | 22202 fi |
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 22203 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
12360 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } | 22204 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } |
12361 if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : | 22205 if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
12362 have_krb5=yes | 22206 have_krb5=yes |
12363 else | 22207 else |
12364 have_krb5=no | 22208 have_krb5=no |
12365 fi | 22209 fi |
12366 | 22210 |
12367 if test $have_krb5=yes; then | 22211 if test $have_krb5=yes; then |
12368 KRB5LIB=-lkrb5 | 22212 KRB5LIB=-lkrb5 |
12369 LIBS="$KRB5LIB $LIBS" | 22213 LIBS="$KRB5LIB $LIBS" |
12370 | 22214 |
12371 $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h | 22215 cat >>confdefs.h <<\_ACEOF |
22216 #define HAVE_LIBKRB5 1 | |
22217 _ACEOF | |
12372 | 22218 |
12373 fi | 22219 fi |
12374 if test "${with_kerberos5}" = no; then | 22220 if test "${with_kerberos5}" = no; then |
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 | 22221 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
12376 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } | 22222 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } |
12377 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : | 22223 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
12378 $as_echo_n "(cached) " >&6 | 22224 $as_echo_n "(cached) " >&6 |
12379 else | 22225 else |
12380 ac_check_lib_save_LIBS=$LIBS | 22226 ac_check_lib_save_LIBS=$LIBS |
12381 LIBS="-ldes425 $LIBS" | 22227 LIBS="-ldes425 $LIBS" |
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22228 cat >conftest.$ac_ext <<_ACEOF |
22229 /* confdefs.h. */ | |
22230 _ACEOF | |
22231 cat confdefs.h >>conftest.$ac_ext | |
22232 cat >>conftest.$ac_ext <<_ACEOF | |
12383 /* end confdefs.h. */ | 22233 /* end confdefs.h. */ |
12384 | 22234 |
12385 /* Override any GCC internal prototype to avoid an error. | 22235 /* Override any GCC internal prototype to avoid an error. |
12386 Use char because int might match the return type of a GCC | 22236 Use char because int might match the return type of a GCC |
12387 builtin and then its argument prototype would still apply. */ | 22237 builtin and then its argument prototype would still apply. */ |
12395 return des_cbc_encrypt (); | 22245 return des_cbc_encrypt (); |
12396 ; | 22246 ; |
12397 return 0; | 22247 return 0; |
12398 } | 22248 } |
12399 _ACEOF | 22249 _ACEOF |
12400 if ac_fn_c_try_link "$LINENO"; then : | 22250 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12401 ac_cv_lib_des425_des_cbc_encrypt=yes | 22271 ac_cv_lib_des425_des_cbc_encrypt=yes |
12402 else | 22272 else |
12403 ac_cv_lib_des425_des_cbc_encrypt=no | 22273 $as_echo "$as_me: failed program was:" >&5 |
12404 fi | 22274 sed 's/^/| /' conftest.$ac_ext >&5 |
12405 rm -f core conftest.err conftest.$ac_objext \ | 22275 |
12406 conftest$ac_exeext conftest.$ac_ext | 22276 ac_cv_lib_des425_des_cbc_encrypt=no |
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 | |
12407 LIBS=$ac_check_lib_save_LIBS | 22282 LIBS=$ac_check_lib_save_LIBS |
12408 fi | 22283 fi |
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 22284 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
12410 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } | 22285 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
12411 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : | 22286 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
12412 have_des425=yes | 22287 have_des425=yes |
12413 else | 22288 else |
12414 have_des425=no | 22289 have_des425=no |
12415 fi | 22290 fi |
12416 | 22291 |
12417 if test $have_des425 = yes; then | 22292 if test $have_des425 = yes; then |
12418 DESLIB=-ldes425 | 22293 DESLIB=-ldes425 |
12419 LIBS="$DESLIB $LIBS" | 22294 LIBS="$DESLIB $LIBS" |
12420 | 22295 |
12421 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h | 22296 cat >>confdefs.h <<\_ACEOF |
22297 #define HAVE_LIBDES425 1 | |
22298 _ACEOF | |
12422 | 22299 |
12423 else | 22300 else |
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 | 22301 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
12425 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } | 22302 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } |
12426 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : | 22303 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
12427 $as_echo_n "(cached) " >&6 | 22304 $as_echo_n "(cached) " >&6 |
12428 else | 22305 else |
12429 ac_check_lib_save_LIBS=$LIBS | 22306 ac_check_lib_save_LIBS=$LIBS |
12430 LIBS="-ldes $LIBS" | 22307 LIBS="-ldes $LIBS" |
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22308 cat >conftest.$ac_ext <<_ACEOF |
22309 /* confdefs.h. */ | |
22310 _ACEOF | |
22311 cat confdefs.h >>conftest.$ac_ext | |
22312 cat >>conftest.$ac_ext <<_ACEOF | |
12432 /* end confdefs.h. */ | 22313 /* end confdefs.h. */ |
12433 | 22314 |
12434 /* Override any GCC internal prototype to avoid an error. | 22315 /* Override any GCC internal prototype to avoid an error. |
12435 Use char because int might match the return type of a GCC | 22316 Use char because int might match the return type of a GCC |
12436 builtin and then its argument prototype would still apply. */ | 22317 builtin and then its argument prototype would still apply. */ |
12444 return des_cbc_encrypt (); | 22325 return des_cbc_encrypt (); |
12445 ; | 22326 ; |
12446 return 0; | 22327 return 0; |
12447 } | 22328 } |
12448 _ACEOF | 22329 _ACEOF |
12449 if ac_fn_c_try_link "$LINENO"; then : | 22330 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12450 ac_cv_lib_des_des_cbc_encrypt=yes | 22351 ac_cv_lib_des_des_cbc_encrypt=yes |
12451 else | 22352 else |
12452 ac_cv_lib_des_des_cbc_encrypt=no | 22353 $as_echo "$as_me: failed program was:" >&5 |
12453 fi | 22354 sed 's/^/| /' conftest.$ac_ext >&5 |
12454 rm -f core conftest.err conftest.$ac_objext \ | 22355 |
12455 conftest$ac_exeext conftest.$ac_ext | 22356 ac_cv_lib_des_des_cbc_encrypt=no |
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 | |
12456 LIBS=$ac_check_lib_save_LIBS | 22362 LIBS=$ac_check_lib_save_LIBS |
12457 fi | 22363 fi |
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 22364 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
12459 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 22365 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
12460 if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : | 22366 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
12461 have_des=yes | 22367 have_des=yes |
12462 else | 22368 else |
12463 have_des=no | 22369 have_des=no |
12464 fi | 22370 fi |
12465 | 22371 |
12466 if test $have_des = yes; then | 22372 if test $have_des = yes; then |
12467 DESLIB=-ldes | 22373 DESLIB=-ldes |
12468 LIBS="$DESLIB $LIBS" | 22374 LIBS="$DESLIB $LIBS" |
12469 | 22375 |
12470 $as_echo "#define HAVE_LIBDES 1" >>confdefs.h | 22376 cat >>confdefs.h <<\_ACEOF |
22377 #define HAVE_LIBDES 1 | |
22378 _ACEOF | |
12471 | 22379 |
12472 fi | 22380 fi |
12473 fi | 22381 fi |
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 | 22382 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 |
12475 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } | 22383 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } |
12476 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : | 22384 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
12477 $as_echo_n "(cached) " >&6 | 22385 $as_echo_n "(cached) " >&6 |
12478 else | 22386 else |
12479 ac_check_lib_save_LIBS=$LIBS | 22387 ac_check_lib_save_LIBS=$LIBS |
12480 LIBS="-lkrb4 $LIBS" | 22388 LIBS="-lkrb4 $LIBS" |
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22389 cat >conftest.$ac_ext <<_ACEOF |
22390 /* confdefs.h. */ | |
22391 _ACEOF | |
22392 cat confdefs.h >>conftest.$ac_ext | |
22393 cat >>conftest.$ac_ext <<_ACEOF | |
12482 /* end confdefs.h. */ | 22394 /* end confdefs.h. */ |
12483 | 22395 |
12484 /* Override any GCC internal prototype to avoid an error. | 22396 /* Override any GCC internal prototype to avoid an error. |
12485 Use char because int might match the return type of a GCC | 22397 Use char because int might match the return type of a GCC |
12486 builtin and then its argument prototype would still apply. */ | 22398 builtin and then its argument prototype would still apply. */ |
12494 return krb_get_cred (); | 22406 return krb_get_cred (); |
12495 ; | 22407 ; |
12496 return 0; | 22408 return 0; |
12497 } | 22409 } |
12498 _ACEOF | 22410 _ACEOF |
12499 if ac_fn_c_try_link "$LINENO"; then : | 22411 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12500 ac_cv_lib_krb4_krb_get_cred=yes | 22432 ac_cv_lib_krb4_krb_get_cred=yes |
12501 else | 22433 else |
12502 ac_cv_lib_krb4_krb_get_cred=no | 22434 $as_echo "$as_me: failed program was:" >&5 |
12503 fi | 22435 sed 's/^/| /' conftest.$ac_ext >&5 |
12504 rm -f core conftest.err conftest.$ac_objext \ | 22436 |
12505 conftest$ac_exeext conftest.$ac_ext | 22437 ac_cv_lib_krb4_krb_get_cred=no |
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 | |
12506 LIBS=$ac_check_lib_save_LIBS | 22443 LIBS=$ac_check_lib_save_LIBS |
12507 fi | 22444 fi |
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 22445 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
12509 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } | 22446 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } |
12510 if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : | 22447 if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
12511 have_krb4=yes | 22448 have_krb4=yes |
12512 else | 22449 else |
12513 have_krb4=no | 22450 have_krb4=no |
12514 fi | 22451 fi |
12515 | 22452 |
12516 if test $have_krb4 = yes; then | 22453 if test $have_krb4 = yes; then |
12517 KRB4LIB=-lkrb4 | 22454 KRB4LIB=-lkrb4 |
12518 LIBS="$KRB4LIB $LIBS" | 22455 LIBS="$KRB4LIB $LIBS" |
12519 | 22456 |
12520 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h | 22457 cat >>confdefs.h <<\_ACEOF |
22458 #define HAVE_LIBKRB4 1 | |
22459 _ACEOF | |
12521 | 22460 |
12522 else | 22461 else |
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 | 22462 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 |
12524 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } | 22463 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } |
12525 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : | 22464 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
12526 $as_echo_n "(cached) " >&6 | 22465 $as_echo_n "(cached) " >&6 |
12527 else | 22466 else |
12528 ac_check_lib_save_LIBS=$LIBS | 22467 ac_check_lib_save_LIBS=$LIBS |
12529 LIBS="-lkrb $LIBS" | 22468 LIBS="-lkrb $LIBS" |
12530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22469 cat >conftest.$ac_ext <<_ACEOF |
22470 /* confdefs.h. */ | |
22471 _ACEOF | |
22472 cat confdefs.h >>conftest.$ac_ext | |
22473 cat >>conftest.$ac_ext <<_ACEOF | |
12531 /* end confdefs.h. */ | 22474 /* end confdefs.h. */ |
12532 | 22475 |
12533 /* Override any GCC internal prototype to avoid an error. | 22476 /* Override any GCC internal prototype to avoid an error. |
12534 Use char because int might match the return type of a GCC | 22477 Use char because int might match the return type of a GCC |
12535 builtin and then its argument prototype would still apply. */ | 22478 builtin and then its argument prototype would still apply. */ |
12543 return krb_get_cred (); | 22486 return krb_get_cred (); |
12544 ; | 22487 ; |
12545 return 0; | 22488 return 0; |
12546 } | 22489 } |
12547 _ACEOF | 22490 _ACEOF |
12548 if ac_fn_c_try_link "$LINENO"; then : | 22491 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12549 ac_cv_lib_krb_krb_get_cred=yes | 22512 ac_cv_lib_krb_krb_get_cred=yes |
12550 else | 22513 else |
12551 ac_cv_lib_krb_krb_get_cred=no | 22514 $as_echo "$as_me: failed program was:" >&5 |
12552 fi | 22515 sed 's/^/| /' conftest.$ac_ext >&5 |
12553 rm -f core conftest.err conftest.$ac_objext \ | 22516 |
12554 conftest$ac_exeext conftest.$ac_ext | 22517 ac_cv_lib_krb_krb_get_cred=no |
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 | |
12555 LIBS=$ac_check_lib_save_LIBS | 22523 LIBS=$ac_check_lib_save_LIBS |
12556 fi | 22524 fi |
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 22525 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
12558 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } | 22526 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } |
12559 if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : | 22527 if test $ac_cv_lib_krb_krb_get_cred = yes; then |
12560 have_krb=yes | 22528 have_krb=yes |
12561 else | 22529 else |
12562 have_krb=no | 22530 have_krb=no |
12563 fi | 22531 fi |
12564 | 22532 |
12565 if test $have_krb = yes; then | 22533 if test $have_krb = yes; then |
12566 KRB4LIB=-lkrb | 22534 KRB4LIB=-lkrb |
12567 LIBS="$KRB4LIB $LIBS" | 22535 LIBS="$KRB4LIB $LIBS" |
12568 | 22536 |
12569 $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h | 22537 cat >>confdefs.h <<\_ACEOF |
22538 #define HAVE_LIBKRB 1 | |
22539 _ACEOF | |
12570 | 22540 |
12571 fi | 22541 fi |
12572 fi | 22542 fi |
12573 fi | 22543 fi |
12574 | 22544 |
12575 if test "${with_kerberos5}" != no; then | 22545 if test "${with_kerberos5}" != no; then |
12576 for ac_header in krb5.h | 22546 |
12577 do : | 22547 for ac_header in krb5.h |
12578 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" | 22548 do |
12579 if test "x$ac_cv_header_krb5_h" = x""yes; then : | 22549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
12580 cat >>confdefs.h <<_ACEOF | 22683 cat >>confdefs.h <<_ACEOF |
12581 #define HAVE_KRB5_H 1 | 22684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12582 _ACEOF | 22685 _ACEOF |
12583 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> | 22686 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 |
12584 " | 22687 $as_echo_n "checking for krb5_error.text... " >&6; } |
12585 if test "x$ac_cv_member_krb5_error_text" = x""yes; then : | 22688 if test "${ac_cv_member_krb5_error_text+set}" = set; 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 | |
12586 | 22784 |
12587 cat >>confdefs.h <<_ACEOF | 22785 cat >>confdefs.h <<_ACEOF |
12588 #define HAVE_KRB5_ERROR_TEXT 1 | 22786 #define HAVE_KRB5_ERROR_TEXT 1 |
12589 _ACEOF | 22787 _ACEOF |
12590 | 22788 |
12591 | 22789 |
12592 fi | 22790 fi |
12593 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> | 22791 { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 |
12594 " | 22792 $as_echo_n "checking for krb5_error.e_text... " >&6; } |
12595 if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : | 22793 if test "${ac_cv_member_krb5_error_e_text+set}" = set; 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 | |
12596 | 22889 |
12597 cat >>confdefs.h <<_ACEOF | 22890 cat >>confdefs.h <<_ACEOF |
12598 #define HAVE_KRB5_ERROR_E_TEXT 1 | 22891 #define HAVE_KRB5_ERROR_E_TEXT 1 |
12599 _ACEOF | 22892 _ACEOF |
12600 | 22893 |
12604 fi | 22897 fi |
12605 | 22898 |
12606 done | 22899 done |
12607 | 22900 |
12608 else | 22901 else |
12609 for ac_header in des.h | 22902 |
12610 do : | 22903 for ac_header in des.h |
12611 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" | 22904 do |
12612 if test "x$ac_cv_header_des_h" = x""yes; then : | 22905 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
12613 cat >>confdefs.h <<_ACEOF | 23039 cat >>confdefs.h <<_ACEOF |
12614 #define HAVE_DES_H 1 | 23040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12615 _ACEOF | 23041 _ACEOF |
12616 | 23042 |
12617 else | 23043 else |
12618 for ac_header in kerberosIV/des.h | 23044 |
12619 do : | 23045 for ac_header in kerberosIV/des.h |
12620 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" | 23046 do |
12621 if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : | 23047 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
12622 cat >>confdefs.h <<_ACEOF | 23181 cat >>confdefs.h <<_ACEOF |
12623 #define HAVE_KERBEROSIV_DES_H 1 | 23182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12624 _ACEOF | 23183 _ACEOF |
12625 | 23184 |
12626 else | 23185 else |
12627 for ac_header in kerberos/des.h | 23186 |
12628 do : | 23187 for ac_header in kerberos/des.h |
12629 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" | 23188 do |
12630 if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : | 23189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
12631 cat >>confdefs.h <<_ACEOF | 23323 cat >>confdefs.h <<_ACEOF |
12632 #define HAVE_KERBEROS_DES_H 1 | 23324 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12633 _ACEOF | 23325 _ACEOF |
12634 | 23326 |
12635 fi | 23327 fi |
12636 | 23328 |
12637 done | 23329 done |
12642 | 23334 |
12643 fi | 23335 fi |
12644 | 23336 |
12645 done | 23337 done |
12646 | 23338 |
12647 for ac_header in krb.h | 23339 |
12648 do : | 23340 for ac_header in krb.h |
12649 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" | 23341 do |
12650 if test "x$ac_cv_header_krb_h" = x""yes; then : | 23342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
12651 cat >>confdefs.h <<_ACEOF | 23476 cat >>confdefs.h <<_ACEOF |
12652 #define HAVE_KRB_H 1 | 23477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12653 _ACEOF | 23478 _ACEOF |
12654 | 23479 |
12655 else | 23480 else |
12656 for ac_header in kerberosIV/krb.h | 23481 |
12657 do : | 23482 for ac_header in kerberosIV/krb.h |
12658 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" | 23483 do |
12659 if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : | 23484 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
12660 cat >>confdefs.h <<_ACEOF | 23618 cat >>confdefs.h <<_ACEOF |
12661 #define HAVE_KERBEROSIV_KRB_H 1 | 23619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12662 _ACEOF | 23620 _ACEOF |
12663 | 23621 |
12664 else | 23622 else |
12665 for ac_header in kerberos/krb.h | 23623 |
12666 do : | 23624 for ac_header in kerberos/krb.h |
12667 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" | 23625 do |
12668 if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : | 23626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
12669 cat >>confdefs.h <<_ACEOF | 23760 cat >>confdefs.h <<_ACEOF |
12670 #define HAVE_KERBEROS_KRB_H 1 | 23761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12671 _ACEOF | 23762 _ACEOF |
12672 | 23763 |
12673 fi | 23764 fi |
12674 | 23765 |
12675 done | 23766 done |
12681 fi | 23772 fi |
12682 | 23773 |
12683 done | 23774 done |
12684 | 23775 |
12685 fi | 23776 fi |
12686 for ac_header in com_err.h | 23777 |
12687 do : | 23778 for ac_header in com_err.h |
12688 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" | 23779 do |
12689 if test "x$ac_cv_header_com_err_h" = x""yes; then : | 23780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
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 | |
12690 cat >>confdefs.h <<_ACEOF | 23914 cat >>confdefs.h <<_ACEOF |
12691 #define HAVE_COM_ERR_H 1 | 23915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12692 _ACEOF | 23916 _ACEOF |
12693 | 23917 |
12694 fi | 23918 fi |
12695 | 23919 |
12696 done | 23920 done |
12703 | 23927 |
12704 | 23928 |
12705 | 23929 |
12706 # Solaris requires -lintl if you want strerror (which calls dgettext) | 23930 # Solaris requires -lintl if you want strerror (which calls dgettext) |
12707 # to return localized messages. | 23931 # to return localized messages. |
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 | 23932 |
23933 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | |
12709 $as_echo_n "checking for dgettext in -lintl... " >&6; } | 23934 $as_echo_n "checking for dgettext in -lintl... " >&6; } |
12710 if test "${ac_cv_lib_intl_dgettext+set}" = set; then : | 23935 if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
12711 $as_echo_n "(cached) " >&6 | 23936 $as_echo_n "(cached) " >&6 |
12712 else | 23937 else |
12713 ac_check_lib_save_LIBS=$LIBS | 23938 ac_check_lib_save_LIBS=$LIBS |
12714 LIBS="-lintl $LIBS" | 23939 LIBS="-lintl $LIBS" |
12715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23940 cat >conftest.$ac_ext <<_ACEOF |
23941 /* confdefs.h. */ | |
23942 _ACEOF | |
23943 cat confdefs.h >>conftest.$ac_ext | |
23944 cat >>conftest.$ac_ext <<_ACEOF | |
12716 /* end confdefs.h. */ | 23945 /* end confdefs.h. */ |
12717 | 23946 |
12718 /* Override any GCC internal prototype to avoid an error. | 23947 /* Override any GCC internal prototype to avoid an error. |
12719 Use char because int might match the return type of a GCC | 23948 Use char because int might match the return type of a GCC |
12720 builtin and then its argument prototype would still apply. */ | 23949 builtin and then its argument prototype would still apply. */ |
12728 return dgettext (); | 23957 return dgettext (); |
12729 ; | 23958 ; |
12730 return 0; | 23959 return 0; |
12731 } | 23960 } |
12732 _ACEOF | 23961 _ACEOF |
12733 if ac_fn_c_try_link "$LINENO"; then : | 23962 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
12734 ac_cv_lib_intl_dgettext=yes | 23983 ac_cv_lib_intl_dgettext=yes |
12735 else | 23984 else |
12736 ac_cv_lib_intl_dgettext=no | 23985 $as_echo "$as_me: failed program was:" >&5 |
12737 fi | 23986 sed 's/^/| /' conftest.$ac_ext >&5 |
12738 rm -f core conftest.err conftest.$ac_objext \ | 23987 |
12739 conftest$ac_exeext conftest.$ac_ext | 23988 ac_cv_lib_intl_dgettext=no |
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 | |
12740 LIBS=$ac_check_lib_save_LIBS | 23994 LIBS=$ac_check_lib_save_LIBS |
12741 fi | 23995 fi |
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 | 23996 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
12743 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } | 23997 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
12744 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : | 23998 if test $ac_cv_lib_intl_dgettext = yes; then |
12745 cat >>confdefs.h <<_ACEOF | 23999 cat >>confdefs.h <<_ACEOF |
12746 #define HAVE_LIBINTL 1 | 24000 #define HAVE_LIBINTL 1 |
12747 _ACEOF | 24001 _ACEOF |
12748 | 24002 |
12749 LIBS="-lintl $LIBS" | 24003 LIBS="-lintl $LIBS" |
12750 | 24004 |
12751 fi | 24005 fi |
12752 | 24006 |
12753 | 24007 |
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 | 24008 { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 |
12755 $as_echo_n "checking whether localtime caches TZ... " >&6; } | 24009 $as_echo_n "checking whether localtime caches TZ... " >&6; } |
12756 if test "${emacs_cv_localtime_cache+set}" = set; then : | 24010 if test "${emacs_cv_localtime_cache+set}" = set; then |
12757 $as_echo_n "(cached) " >&6 | 24011 $as_echo_n "(cached) " >&6 |
12758 else | 24012 else |
12759 if test x$ac_cv_func_tzset = xyes; then | 24013 if test x$ac_cv_func_tzset = xyes; then |
12760 if test "$cross_compiling" = yes; then : | 24014 if test "$cross_compiling" = yes; then |
12761 # If we have tzset, assume the worst when cross-compiling. | 24015 # If we have tzset, assume the worst when cross-compiling. |
12762 emacs_cv_localtime_cache=yes | 24016 emacs_cv_localtime_cache=yes |
12763 else | 24017 else |
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24018 cat >conftest.$ac_ext <<_ACEOF |
24019 /* confdefs.h. */ | |
24020 _ACEOF | |
24021 cat confdefs.h >>conftest.$ac_ext | |
24022 cat >>conftest.$ac_ext <<_ACEOF | |
12765 /* end confdefs.h. */ | 24023 /* end confdefs.h. */ |
12766 #include <time.h> | 24024 #include <time.h> |
12767 extern char **environ; | 24025 extern char **environ; |
12768 unset_TZ () | 24026 unset_TZ () |
12769 { | 24027 { |
12791 if (localtime (&now)->tm_hour != hour_unset) | 24049 if (localtime (&now)->tm_hour != hour_unset) |
12792 exit (1); | 24050 exit (1); |
12793 exit (0); | 24051 exit (0); |
12794 } | 24052 } |
12795 _ACEOF | 24053 _ACEOF |
12796 if ac_fn_c_try_run "$LINENO"; then : | 24054 rm -f conftest$ac_exeext |
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 | |
12797 emacs_cv_localtime_cache=no | 24076 emacs_cv_localtime_cache=no |
12798 else | 24077 else |
12799 emacs_cv_localtime_cache=yes | 24078 $as_echo "$as_me: program exited with status $ac_status" >&5 |
12800 fi | 24079 $as_echo "$as_me: failed program was:" >&5 |
12801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 24080 sed 's/^/| /' conftest.$ac_ext >&5 |
12802 conftest.$ac_objext conftest.beam conftest.$ac_ext | 24081 |
12803 fi | 24082 ( exit $ac_status ) |
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 | |
12804 | 24089 |
12805 else | 24090 else |
12806 # If we lack tzset, report that localtime does not cache TZ, | 24091 # If we lack tzset, report that localtime does not cache TZ, |
12807 # since we can't invalidate the cache if we don't have tzset. | 24092 # since we can't invalidate the cache if we don't have tzset. |
12808 emacs_cv_localtime_cache=no | 24093 emacs_cv_localtime_cache=no |
12809 fi | 24094 fi |
12810 fi | 24095 fi |
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5 | 24096 { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 |
12812 $as_echo "$emacs_cv_localtime_cache" >&6; } | 24097 $as_echo "$emacs_cv_localtime_cache" >&6; } |
12813 if test $emacs_cv_localtime_cache = yes; then | 24098 if test $emacs_cv_localtime_cache = yes; then |
12814 | 24099 |
12815 $as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h | 24100 cat >>confdefs.h <<\_ACEOF |
24101 #define LOCALTIME_CACHE 1 | |
24102 _ACEOF | |
12816 | 24103 |
12817 fi | 24104 fi |
12818 | 24105 |
12819 if test "x$HAVE_TIMEVAL" = xyes; then | 24106 if test "x$HAVE_TIMEVAL" = xyes; then |
12820 for ac_func in gettimeofday | 24107 |
12821 do : | 24108 for ac_func in gettimeofday |
12822 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" | 24109 do |
12823 if test "x$ac_cv_func_gettimeofday" = x""yes; then : | 24110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
24111 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
24112 $as_echo_n "checking for $ac_func... " >&6; } | |
24113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
24114 $as_echo_n "(cached) " >&6 | |
24115 else | |
24116 cat >conftest.$ac_ext <<_ACEOF | |
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 | |
12824 cat >>confdefs.h <<_ACEOF | 24200 cat >>confdefs.h <<_ACEOF |
12825 #define HAVE_GETTIMEOFDAY 1 | 24201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12826 _ACEOF | 24202 _ACEOF |
12827 | 24203 |
12828 fi | 24204 fi |
12829 done | 24205 done |
12830 | 24206 |
12831 if test $ac_cv_func_gettimeofday = yes; then | 24207 if test $ac_cv_func_gettimeofday = yes; then |
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 | 24208 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 |
12833 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } | 24209 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } |
12834 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : | 24210 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
12835 $as_echo_n "(cached) " >&6 | 24211 $as_echo_n "(cached) " >&6 |
12836 else | 24212 else |
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24213 cat >conftest.$ac_ext <<_ACEOF |
24214 /* confdefs.h. */ | |
24215 _ACEOF | |
24216 cat confdefs.h >>conftest.$ac_ext | |
24217 cat >>conftest.$ac_ext <<_ACEOF | |
12838 /* end confdefs.h. */ | 24218 /* end confdefs.h. */ |
12839 | 24219 |
12840 #ifdef TIME_WITH_SYS_TIME | 24220 #ifdef TIME_WITH_SYS_TIME |
12841 #include <sys/time.h> | 24221 #include <sys/time.h> |
12842 #include <time.h> | 24222 #include <time.h> |
12854 gettimeofday (&time, 0); | 24234 gettimeofday (&time, 0); |
12855 ; | 24235 ; |
12856 return 0; | 24236 return 0; |
12857 } | 24237 } |
12858 _ACEOF | 24238 _ACEOF |
12859 if ac_fn_c_try_compile "$LINENO"; then : | 24239 rm -f conftest.$ac_objext |
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 | |
12860 emacs_cv_gettimeofday_two_arguments=yes | 24257 emacs_cv_gettimeofday_two_arguments=yes |
12861 else | 24258 else |
12862 emacs_cv_gettimeofday_two_arguments=no | 24259 $as_echo "$as_me: failed program was:" >&5 |
12863 fi | 24260 sed 's/^/| /' conftest.$ac_ext >&5 |
24261 | |
24262 emacs_cv_gettimeofday_two_arguments=no | |
24263 fi | |
24264 | |
12864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12865 fi | 24266 fi |
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 24267 { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
12867 $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } | 24268 $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } |
12868 if test $emacs_cv_gettimeofday_two_arguments = no; then | 24269 if test $emacs_cv_gettimeofday_two_arguments = no; then |
12869 | 24270 |
12870 $as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h | 24271 cat >>confdefs.h <<\_ACEOF |
24272 #define GETTIMEOFDAY_ONE_ARGUMENT 1 | |
24273 _ACEOF | |
12871 | 24274 |
12872 fi | 24275 fi |
12873 fi | 24276 fi |
12874 fi | 24277 fi |
12875 | 24278 |
12876 ok_so_far=yes | 24279 ok_so_far=yes |
12877 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" | 24280 { $as_echo "$as_me:$LINENO: checking for socket" >&5 |
12878 if test "x$ac_cv_func_socket" = x""yes; then : | 24281 $as_echo_n "checking for socket... " >&6; } |
12879 | 24282 if test "${ac_cv_func_socket+set}" = set; then |
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 : | |
12880 else | 24367 else |
12881 ok_so_far=no | 24368 ok_so_far=no |
12882 fi | 24369 fi |
12883 | 24370 |
12884 if test $ok_so_far = yes; then | 24371 if test $ok_so_far = yes; then |
12885 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" | 24372 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
12886 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : | 24373 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
12887 | 24374 $as_echo_n "checking for netinet/in.h... " >&6; } |
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 : | |
12888 else | 24501 else |
12889 ok_so_far=no | 24502 ok_so_far=no |
12890 fi | 24503 fi |
12891 | 24504 |
12892 | 24505 |
12893 fi | 24506 fi |
12894 if test $ok_so_far = yes; then | 24507 if test $ok_so_far = yes; then |
12895 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" | 24508 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
12896 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : | 24509 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
12897 | 24510 $as_echo_n "checking for arpa/inet.h... " >&6; } |
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 : | |
12898 else | 24637 else |
12899 ok_so_far=no | 24638 ok_so_far=no |
12900 fi | 24639 fi |
12901 | 24640 |
12902 | 24641 |
12903 fi | 24642 fi |
12904 if test $ok_so_far = yes; then | 24643 if test $ok_so_far = yes; then |
12905 | 24644 |
12906 $as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h | 24645 cat >>confdefs.h <<\_ACEOF |
12907 | 24646 #define HAVE_INET_SOCKETS 1 |
12908 fi | 24647 _ACEOF |
24648 | |
24649 fi | |
24650 | |
12909 | 24651 |
12910 for ac_header in sys/ioctl.h | 24652 for ac_header in sys/ioctl.h |
12911 do : | 24653 do |
12912 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" | 24654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12913 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : | 24655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
24656 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
24657 $as_echo_n "checking for $ac_header... " >&6; } | |
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 | |
12914 cat >>confdefs.h <<_ACEOF | 24788 cat >>confdefs.h <<_ACEOF |
12915 #define HAVE_SYS_IOCTL_H 1 | 24789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12916 _ACEOF | 24790 _ACEOF |
12917 | 24791 |
12918 fi | 24792 fi |
12919 | 24793 |
12920 done | 24794 done |
12921 | 24795 |
12922 | 24796 |
12923 if test -f /usr/lpp/X11/bin/smt.exp; then | 24797 if test -f /usr/lpp/X11/bin/smt.exp; then |
12924 | 24798 |
12925 $as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h | 24799 cat >>confdefs.h <<\_ACEOF |
12926 | 24800 #define HAVE_AIX_SMT_EXP 1 |
12927 fi | 24801 _ACEOF |
12928 | 24802 |
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5 | 24803 fi |
24804 | |
24805 { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 | |
12930 $as_echo_n "checking whether system supports dynamic ptys... " >&6; } | 24806 $as_echo_n "checking whether system supports dynamic ptys... " >&6; } |
12931 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 24807 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 24808 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
12933 $as_echo "yes" >&6; } | 24809 $as_echo "yes" >&6; } |
12934 | 24810 |
12935 $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h | 24811 cat >>confdefs.h <<\_ACEOF |
12936 | 24812 #define HAVE_DEV_PTMX 1 |
12937 else | 24813 _ACEOF |
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 24814 |
24815 else | |
24816 { $as_echo "$as_me:$LINENO: result: no" >&5 | |
12939 $as_echo "no" >&6; } | 24817 $as_echo "no" >&6; } |
12940 fi | 24818 fi |
12941 | 24819 |
12942 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" | 24820 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 |
12943 if test "x$ac_cv_type_pid_t" = x""yes; then : | 24821 $as_echo_n "checking for pid_t... " >&6; } |
12944 | 24822 if test "${ac_cv_type_pid_t+set}" = set; then |
12945 else | |
12946 | |
12947 cat >>confdefs.h <<_ACEOF | |
12948 #define pid_t int | |
12949 _ACEOF | |
12950 | |
12951 fi | |
12952 | |
12953 for ac_header in vfork.h | |
12954 do : | |
12955 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" | |
12956 if test "x$ac_cv_header_vfork_h" = x""yes; then : | |
12957 cat >>confdefs.h <<_ACEOF | |
12958 #define HAVE_VFORK_H 1 | |
12959 _ACEOF | |
12960 | |
12961 fi | |
12962 | |
12963 done | |
12964 | |
12965 for ac_func in fork vfork | |
12966 do : | |
12967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
12968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
12969 eval as_val=\$$as_ac_var | |
12970 if test "x$as_val" = x""yes; then : | |
12971 cat >>confdefs.h <<_ACEOF | |
12972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
12973 _ACEOF | |
12974 | |
12975 fi | |
12976 done | |
12977 | |
12978 if test "x$ac_cv_func_fork" = xyes; then | |
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 | |
12980 $as_echo_n "checking for working fork... " >&6; } | |
12981 if test "${ac_cv_func_fork_works+set}" = set; then : | |
12982 $as_echo_n "(cached) " >&6 | 24823 $as_echo_n "(cached) " >&6 |
12983 else | 24824 else |
12984 if test "$cross_compiling" = yes; then : | 24825 ac_cv_type_pid_t=no |
12985 ac_cv_func_fork_works=cross | 24826 cat >conftest.$ac_ext <<_ACEOF |
12986 else | 24827 /* confdefs.h. */ |
12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24828 _ACEOF |
24829 cat confdefs.h >>conftest.$ac_ext | |
24830 cat >>conftest.$ac_ext <<_ACEOF | |
12988 /* end confdefs.h. */ | 24831 /* end confdefs.h. */ |
12989 $ac_includes_default | 24832 $ac_includes_default |
12990 int | 24833 int |
12991 main () | 24834 main () |
12992 { | 24835 { |
12993 | 24836 if (sizeof (pid_t)) |
12994 /* By Ruediger Kuhlmann. */ | 24837 return 0; |
12995 return fork () < 0; | |
12996 | |
12997 ; | 24838 ; |
12998 return 0; | 24839 return 0; |
12999 } | 24840 } |
13000 _ACEOF | 24841 _ACEOF |
13001 if ac_fn_c_try_run "$LINENO"; then : | 24842 rm -f conftest.$ac_objext |
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 | |
13002 ac_cv_func_fork_works=yes | 25219 ac_cv_func_fork_works=yes |
13003 else | 25220 else |
13004 ac_cv_func_fork_works=no | 25221 $as_echo "$as_me: program exited with status $ac_status" >&5 |
13005 fi | 25222 $as_echo "$as_me: failed program was:" >&5 |
13006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25223 sed 's/^/| /' conftest.$ac_ext >&5 |
13007 conftest.$ac_objext conftest.beam conftest.$ac_ext | 25224 |
13008 fi | 25225 ( exit $ac_status ) |
13009 | 25226 ac_cv_func_fork_works=no |
13010 fi | 25227 fi |
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 | 25228 rm -rf conftest.dSYM |
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 | |
13012 $as_echo "$ac_cv_func_fork_works" >&6; } | 25235 $as_echo "$ac_cv_func_fork_works" >&6; } |
13013 | 25236 |
13014 else | 25237 else |
13015 ac_cv_func_fork_works=$ac_cv_func_fork | 25238 ac_cv_func_fork_works=$ac_cv_func_fork |
13016 fi | 25239 fi |
13022 ;; | 25245 ;; |
13023 *) | 25246 *) |
13024 ac_cv_func_fork_works=yes | 25247 ac_cv_func_fork_works=yes |
13025 ;; | 25248 ;; |
13026 esac | 25249 esac |
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 25250 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
13028 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 25251 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
13029 fi | 25252 fi |
13030 ac_cv_func_vfork_works=$ac_cv_func_vfork | 25253 ac_cv_func_vfork_works=$ac_cv_func_vfork |
13031 if test "x$ac_cv_func_vfork" = xyes; then | 25254 if test "x$ac_cv_func_vfork" = xyes; then |
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 | 25255 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 |
13033 $as_echo_n "checking for working vfork... " >&6; } | 25256 $as_echo_n "checking for working vfork... " >&6; } |
13034 if test "${ac_cv_func_vfork_works+set}" = set; then : | 25257 if test "${ac_cv_func_vfork_works+set}" = set; then |
13035 $as_echo_n "(cached) " >&6 | 25258 $as_echo_n "(cached) " >&6 |
13036 else | 25259 else |
13037 if test "$cross_compiling" = yes; then : | 25260 if test "$cross_compiling" = yes; then |
13038 ac_cv_func_vfork_works=cross | 25261 ac_cv_func_vfork_works=cross |
13039 else | 25262 else |
13040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25263 cat >conftest.$ac_ext <<_ACEOF |
25264 /* confdefs.h. */ | |
25265 _ACEOF | |
25266 cat confdefs.h >>conftest.$ac_ext | |
25267 cat >>conftest.$ac_ext <<_ACEOF | |
13041 /* end confdefs.h. */ | 25268 /* end confdefs.h. */ |
13042 /* Thanks to Paul Eggert for this test. */ | 25269 /* Thanks to Paul Eggert for this test. */ |
13043 $ac_includes_default | 25270 $ac_includes_default |
13044 #include <sys/wait.h> | 25271 #include <sys/wait.h> |
13045 #ifdef HAVE_VFORK_H | 25272 #ifdef HAVE_VFORK_H |
13127 || fstat(fileno(stdout), &st) != 0 | 25354 || fstat(fileno(stdout), &st) != 0 |
13128 ); | 25355 ); |
13129 } | 25356 } |
13130 } | 25357 } |
13131 _ACEOF | 25358 _ACEOF |
13132 if ac_fn_c_try_run "$LINENO"; then : | 25359 rm -f conftest$ac_exeext |
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 | |
13133 ac_cv_func_vfork_works=yes | 25381 ac_cv_func_vfork_works=yes |
13134 else | 25382 else |
13135 ac_cv_func_vfork_works=no | 25383 $as_echo "$as_me: program exited with status $ac_status" >&5 |
13136 fi | 25384 $as_echo "$as_me: failed program was:" >&5 |
13137 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25385 sed 's/^/| /' conftest.$ac_ext >&5 |
13138 conftest.$ac_objext conftest.beam conftest.$ac_ext | 25386 |
13139 fi | 25387 ( exit $ac_status ) |
13140 | 25388 ac_cv_func_vfork_works=no |
13141 fi | 25389 fi |
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 | 25390 rm -rf conftest.dSYM |
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 | |
13143 $as_echo "$ac_cv_func_vfork_works" >&6; } | 25397 $as_echo "$ac_cv_func_vfork_works" >&6; } |
13144 | 25398 |
13145 fi; | 25399 fi; |
13146 if test "x$ac_cv_func_fork_works" = xcross; then | 25400 if test "x$ac_cv_func_fork_works" = xcross; then |
13147 ac_cv_func_vfork_works=$ac_cv_func_vfork | 25401 ac_cv_func_vfork_works=$ac_cv_func_vfork |
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 25402 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
13149 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} | 25403 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
13150 fi | 25404 fi |
13151 | 25405 |
13152 if test "x$ac_cv_func_vfork_works" = xyes; then | 25406 if test "x$ac_cv_func_vfork_works" = xyes; then |
13153 | 25407 |
13154 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h | 25408 cat >>confdefs.h <<\_ACEOF |
13155 | 25409 #define HAVE_WORKING_VFORK 1 |
13156 else | 25410 _ACEOF |
13157 | 25411 |
13158 $as_echo "#define vfork fork" >>confdefs.h | 25412 else |
25413 | |
25414 cat >>confdefs.h <<\_ACEOF | |
25415 #define vfork fork | |
25416 _ACEOF | |
13159 | 25417 |
13160 fi | 25418 fi |
13161 if test "x$ac_cv_func_fork_works" = xyes; then | 25419 if test "x$ac_cv_func_fork_works" = xyes; then |
13162 | 25420 |
13163 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h | 25421 cat >>confdefs.h <<\_ACEOF |
13164 | 25422 #define HAVE_WORKING_FORK 1 |
13165 fi | 25423 _ACEOF |
13166 | 25424 |
13167 | 25425 fi |
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 | 25426 |
25427 | |
25428 { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 | |
13169 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } | 25429 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } |
13170 if test "${emacs_cv_langinfo_codeset+set}" = set; then : | 25430 if test "${emacs_cv_langinfo_codeset+set}" = set; then |
13171 $as_echo_n "(cached) " >&6 | 25431 $as_echo_n "(cached) " >&6 |
13172 else | 25432 else |
13173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25433 cat >conftest.$ac_ext <<_ACEOF |
25434 /* confdefs.h. */ | |
25435 _ACEOF | |
25436 cat confdefs.h >>conftest.$ac_ext | |
25437 cat >>conftest.$ac_ext <<_ACEOF | |
13174 /* end confdefs.h. */ | 25438 /* end confdefs.h. */ |
13175 #include <langinfo.h> | 25439 #include <langinfo.h> |
13176 int | 25440 int |
13177 main () | 25441 main () |
13178 { | 25442 { |
13179 char* cs = nl_langinfo(CODESET); | 25443 char* cs = nl_langinfo(CODESET); |
13180 ; | 25444 ; |
13181 return 0; | 25445 return 0; |
13182 } | 25446 } |
13183 _ACEOF | 25447 _ACEOF |
13184 if ac_fn_c_try_link "$LINENO"; then : | 25448 rm -f conftest.$ac_objext conftest$ac_exeext |
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 | |
13185 emacs_cv_langinfo_codeset=yes | 25469 emacs_cv_langinfo_codeset=yes |
13186 else | 25470 else |
13187 emacs_cv_langinfo_codeset=no | 25471 $as_echo "$as_me: failed program was:" >&5 |
13188 fi | 25472 sed 's/^/| /' conftest.$ac_ext >&5 |
13189 rm -f core conftest.err conftest.$ac_objext \ | 25473 |
13190 conftest$ac_exeext conftest.$ac_ext | 25474 emacs_cv_langinfo_codeset=no |
13191 | 25475 fi |
13192 fi | 25476 |
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5 | 25477 rm -rf conftest.dSYM |
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 | |
13194 $as_echo "$emacs_cv_langinfo_codeset" >&6; } | 25483 $as_echo "$emacs_cv_langinfo_codeset" >&6; } |
13195 if test $emacs_cv_langinfo_codeset = yes; then | 25484 if test $emacs_cv_langinfo_codeset = yes; then |
13196 | 25485 |
13197 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h | 25486 cat >>confdefs.h <<\_ACEOF |
13198 | 25487 #define HAVE_LANGINFO_CODESET 1 |
13199 fi | 25488 _ACEOF |
13200 | 25489 |
13201 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 25490 fi |
13202 if test "x$ac_cv_type_size_t" = x""yes; then : | 25491 |
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 | |
13203 | 25587 |
13204 cat >>confdefs.h <<_ACEOF | 25588 cat >>confdefs.h <<_ACEOF |
13205 #define HAVE_SIZE_T 1 | 25589 #define HAVE_SIZE_T 1 |
13206 _ACEOF | 25590 _ACEOF |
13207 | 25591 |
13208 | 25592 |
13209 fi | 25593 fi |
13210 | 25594 |
13211 | 25595 |
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 | 25596 { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 |
13213 $as_echo_n "checking for mbstate_t... " >&6; } | 25597 $as_echo_n "checking for mbstate_t... " >&6; } |
13214 if test "${ac_cv_type_mbstate_t+set}" = set; then : | 25598 if test "${ac_cv_type_mbstate_t+set}" = set; then |
13215 $as_echo_n "(cached) " >&6 | 25599 $as_echo_n "(cached) " >&6 |
13216 else | 25600 else |
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25601 cat >conftest.$ac_ext <<_ACEOF |
25602 /* confdefs.h. */ | |
25603 _ACEOF | |
25604 cat confdefs.h >>conftest.$ac_ext | |
25605 cat >>conftest.$ac_ext <<_ACEOF | |
13218 /* end confdefs.h. */ | 25606 /* end confdefs.h. */ |
13219 $ac_includes_default | 25607 $ac_includes_default |
13220 # include <wchar.h> | 25608 # include <wchar.h> |
13221 int | 25609 int |
13222 main () | 25610 main () |
13224 mbstate_t x; return sizeof x; | 25612 mbstate_t x; return sizeof x; |
13225 ; | 25613 ; |
13226 return 0; | 25614 return 0; |
13227 } | 25615 } |
13228 _ACEOF | 25616 _ACEOF |
13229 if ac_fn_c_try_compile "$LINENO"; then : | 25617 rm -f conftest.$ac_objext |
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 | |
13230 ac_cv_type_mbstate_t=yes | 25635 ac_cv_type_mbstate_t=yes |
13231 else | 25636 else |
13232 ac_cv_type_mbstate_t=no | 25637 $as_echo "$as_me: failed program was:" >&5 |
13233 fi | 25638 sed 's/^/| /' conftest.$ac_ext >&5 |
25639 | |
25640 ac_cv_type_mbstate_t=no | |
25641 fi | |
25642 | |
13234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13235 fi | 25644 fi |
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 | 25645 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 |
13237 $as_echo "$ac_cv_type_mbstate_t" >&6; } | 25646 $as_echo "$ac_cv_type_mbstate_t" >&6; } |
13238 if test $ac_cv_type_mbstate_t = yes; then | 25647 if test $ac_cv_type_mbstate_t = yes; then |
13239 | 25648 |
13240 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h | 25649 cat >>confdefs.h <<\_ACEOF |
25650 #define HAVE_MBSTATE_T 1 | |
25651 _ACEOF | |
13241 | 25652 |
13242 else | 25653 else |
13243 | 25654 |
13244 $as_echo "#define mbstate_t int" >>confdefs.h | 25655 cat >>confdefs.h <<\_ACEOF |
25656 #define mbstate_t int | |
25657 _ACEOF | |
13245 | 25658 |
13246 fi | 25659 fi |
13247 | 25660 |
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 | 25661 { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 |
13249 $as_echo_n "checking for C restrict keyword... " >&6; } | 25662 $as_echo_n "checking for C restrict keyword... " >&6; } |
13250 if test "${emacs_cv_c_restrict+set}" = set; then : | 25663 if test "${emacs_cv_c_restrict+set}" = set; then |
13251 $as_echo_n "(cached) " >&6 | 25664 $as_echo_n "(cached) " >&6 |
13252 else | 25665 else |
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25666 cat >conftest.$ac_ext <<_ACEOF |
25667 /* confdefs.h. */ | |
25668 _ACEOF | |
25669 cat confdefs.h >>conftest.$ac_ext | |
25670 cat >>conftest.$ac_ext <<_ACEOF | |
13254 /* end confdefs.h. */ | 25671 /* end confdefs.h. */ |
13255 void fred (int *restrict x); | 25672 void fred (int *restrict x); |
13256 int | 25673 int |
13257 main () | 25674 main () |
13258 { | 25675 { |
13259 | 25676 |
13260 ; | 25677 ; |
13261 return 0; | 25678 return 0; |
13262 } | 25679 } |
13263 _ACEOF | 25680 _ACEOF |
13264 if ac_fn_c_try_compile "$LINENO"; then : | 25681 rm -f conftest.$ac_objext |
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 | |
13265 emacs_cv_c_restrict=yes | 25699 emacs_cv_c_restrict=yes |
13266 else | 25700 else |
13267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25701 $as_echo "$as_me: failed program was:" >&5 |
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 | |
13268 /* end confdefs.h. */ | 25709 /* end confdefs.h. */ |
13269 void fred (int *__restrict x); | 25710 void fred (int *__restrict x); |
13270 int | 25711 int |
13271 main () | 25712 main () |
13272 { | 25713 { |
13273 | 25714 |
13274 ; | 25715 ; |
13275 return 0; | 25716 return 0; |
13276 } | 25717 } |
13277 _ACEOF | 25718 _ACEOF |
13278 if ac_fn_c_try_compile "$LINENO"; then : | 25719 rm -f conftest.$ac_objext |
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 | |
13279 emacs_cv_c_restrict=__restrict | 25737 emacs_cv_c_restrict=__restrict |
13280 else | 25738 else |
13281 emacs_cv_c_restrict=no | 25739 $as_echo "$as_me: failed program was:" >&5 |
13282 fi | 25740 sed 's/^/| /' conftest.$ac_ext >&5 |
25741 | |
25742 emacs_cv_c_restrict=no | |
25743 fi | |
25744 | |
13283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13284 fi | 25746 fi |
25747 | |
13285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13286 fi | 25749 fi |
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5 | 25750 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 |
13288 $as_echo "$emacs_cv_c_restrict" >&6; } | 25751 $as_echo "$emacs_cv_c_restrict" >&6; } |
13289 case "$emacs_cv_c_restrict" in | 25752 case "$emacs_cv_c_restrict" in |
13290 yes) emacs_restrict=restrict;; | 25753 yes) emacs_restrict=restrict;; |
13291 no) emacs_restrict="";; | 25754 no) emacs_restrict="";; |
13292 *) emacs_restrict="$emacs_cv_c_restrict";; | 25755 *) emacs_restrict="$emacs_cv_c_restrict";; |
13297 #define __restrict $emacs_restrict | 25760 #define __restrict $emacs_restrict |
13298 _ACEOF | 25761 _ACEOF |
13299 | 25762 |
13300 fi | 25763 fi |
13301 | 25764 |
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 | 25765 { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 |
13303 $as_echo_n "checking for C restricted array declarations... " >&6; } | 25766 $as_echo_n "checking for C restricted array declarations... " >&6; } |
13304 if test "${emacs_cv_c_restrict_arr+set}" = set; then : | 25767 if test "${emacs_cv_c_restrict_arr+set}" = set; then |
13305 $as_echo_n "(cached) " >&6 | 25768 $as_echo_n "(cached) " >&6 |
13306 else | 25769 else |
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25770 cat >conftest.$ac_ext <<_ACEOF |
25771 /* confdefs.h. */ | |
25772 _ACEOF | |
25773 cat confdefs.h >>conftest.$ac_ext | |
25774 cat >>conftest.$ac_ext <<_ACEOF | |
13308 /* end confdefs.h. */ | 25775 /* end confdefs.h. */ |
13309 void fred (int x[__restrict]); | 25776 void fred (int x[__restrict]); |
13310 int | 25777 int |
13311 main () | 25778 main () |
13312 { | 25779 { |
13313 | 25780 |
13314 ; | 25781 ; |
13315 return 0; | 25782 return 0; |
13316 } | 25783 } |
13317 _ACEOF | 25784 _ACEOF |
13318 if ac_fn_c_try_compile "$LINENO"; then : | 25785 rm -f conftest.$ac_objext |
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 | |
13319 emacs_cv_c_restrict_arr=yes | 25803 emacs_cv_c_restrict_arr=yes |
13320 else | 25804 else |
13321 emacs_cv_c_restrict_arr=no | 25805 $as_echo "$as_me: failed program was:" >&5 |
13322 fi | 25806 sed 's/^/| /' conftest.$ac_ext >&5 |
25807 | |
25808 emacs_cv_c_restrict_arr=no | |
25809 fi | |
25810 | |
13323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13324 fi | 25812 fi |
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5 | 25813 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 |
13326 $as_echo "$emacs_cv_c_restrict_arr" >&6; } | 25814 $as_echo "$emacs_cv_c_restrict_arr" >&6; } |
13327 if test "$emacs_cv_c_restrict_arr" = yes; then | 25815 if test "$emacs_cv_c_restrict_arr" = yes; then |
13328 | 25816 |
13329 $as_echo "#define __restrict_arr __restrict" >>confdefs.h | 25817 cat >>confdefs.h <<\_ACEOF |
25818 #define __restrict_arr __restrict | |
25819 _ACEOF | |
13330 | 25820 |
13331 fi | 25821 fi |
13332 | 25822 |
13333 | 25823 |
13334 | 25824 |
13338 | 25828 |
13339 #### Find out which version of Emacs this is. | 25829 #### Find out which version of Emacs this is. |
13340 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 25830 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
13341 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 25831 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
13342 if test x"${version}" = x; then | 25832 if test x"${version}" = x; then |
13343 as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5 | 25833 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 |
25834 $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} | |
25835 { (exit 1); exit 1; }; } | |
13344 fi | 25836 fi |
13345 if test x"${version}" != x"$PACKAGE_VERSION"; then | 25837 if test x"${version}" != x"$PACKAGE_VERSION"; then |
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 | 25838 { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 |
13347 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} | 25839 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} |
13348 fi | 25840 fi |
13349 | 25841 |
13350 ### Specify what sort of things we'll be editing into Makefile and config.h. | 25842 ### Specify what sort of things we'll be editing into Makefile and config.h. |
13351 ### Use configuration here uncanonicalized to avoid exceeding size limits. | 25843 ### Use configuration here uncanonicalized to avoid exceeding size limits. |
13435 | 25927 |
13436 XMENU_OBJ= | 25928 XMENU_OBJ= |
13437 XOBJ= | 25929 XOBJ= |
13438 if test "${HAVE_X_WINDOWS}" = "yes" ; then | 25930 if test "${HAVE_X_WINDOWS}" = "yes" ; then |
13439 | 25931 |
13440 $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h | 25932 cat >>confdefs.h <<\_ACEOF |
25933 #define HAVE_X_WINDOWS 1 | |
25934 _ACEOF | |
13441 | 25935 |
13442 XMENU_OBJ=xmenu.o | 25936 XMENU_OBJ=xmenu.o |
13443 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" | 25937 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" |
13444 fi | 25938 fi |
13445 | 25939 |
13446 | 25940 |
13447 | 25941 |
13448 if test "${USE_X_TOOLKIT}" != "none" ; then | 25942 if test "${USE_X_TOOLKIT}" != "none" ; then |
13449 | 25943 |
13450 $as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h | 25944 cat >>confdefs.h <<\_ACEOF |
25945 #define USE_X_TOOLKIT 1 | |
25946 _ACEOF | |
13451 | 25947 |
13452 if test "${USE_X_TOOLKIT}" = "LUCID"; then | 25948 if test "${USE_X_TOOLKIT}" = "LUCID"; then |
13453 | 25949 |
13454 $as_echo "#define USE_LUCID 1" >>confdefs.h | 25950 cat >>confdefs.h <<\_ACEOF |
25951 #define USE_LUCID 1 | |
25952 _ACEOF | |
13455 | 25953 |
13456 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then | 25954 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then |
13457 | 25955 |
13458 $as_echo "#define USE_MOTIF 1" >>confdefs.h | 25956 cat >>confdefs.h <<\_ACEOF |
25957 #define USE_MOTIF 1 | |
25958 _ACEOF | |
13459 | 25959 |
13460 fi | 25960 fi |
13461 fi | 25961 fi |
13462 if test "${HAVE_X11}" = "yes" ; then | 25962 if test "${HAVE_X11}" = "yes" ; then |
13463 | 25963 |
13464 $as_echo "#define HAVE_X11 1" >>confdefs.h | 25964 cat >>confdefs.h <<\_ACEOF |
25965 #define HAVE_X11 1 | |
25966 _ACEOF | |
13465 | 25967 |
13466 fi | 25968 fi |
13467 if test "${HAVE_MENUS}" = "yes" ; then | 25969 if test "${HAVE_MENUS}" = "yes" ; then |
13468 | 25970 |
13469 $as_echo "#define HAVE_MENUS 1" >>confdefs.h | 25971 cat >>confdefs.h <<\_ACEOF |
25972 #define HAVE_MENUS 1 | |
25973 _ACEOF | |
13470 | 25974 |
13471 fi | 25975 fi |
13472 if test "${GNU_MALLOC}" = "yes" ; then | 25976 if test "${GNU_MALLOC}" = "yes" ; then |
13473 | 25977 |
13474 $as_echo "#define GNU_MALLOC 1" >>confdefs.h | 25978 cat >>confdefs.h <<\_ACEOF |
25979 #define GNU_MALLOC 1 | |
25980 _ACEOF | |
13475 | 25981 |
13476 fi | 25982 fi |
13477 if test "${REL_ALLOC}" = "yes" ; then | 25983 if test "${REL_ALLOC}" = "yes" ; then |
13478 | 25984 |
13479 $as_echo "#define REL_ALLOC 1" >>confdefs.h | 25985 cat >>confdefs.h <<\_ACEOF |
13480 | 25986 #define REL_ALLOC 1 |
13481 fi | 25987 _ACEOF |
25988 | |
25989 fi | |
25990 | |
25991 | |
13482 | 25992 |
13483 | 25993 |
13484 | 25994 |
13485 | 25995 |
13486 #### Report on what we decided to do. | 25996 #### Report on what we decided to do. |
13582 ## Check if the C preprocessor will convert `..' to `. .'. If so, set | 26092 ## Check if the C preprocessor will convert `..' to `. .'. If so, set |
13583 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile | 26093 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile |
13584 ## from Makefile.c can correctly provide the arg `-traditional' to the | 26094 ## from Makefile.c can correctly provide the arg `-traditional' to the |
13585 ## C preprocessor. | 26095 ## C preprocessor. |
13586 | 26096 |
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26097 cat >conftest.$ac_ext <<_ACEOF |
26098 /* confdefs.h. */ | |
26099 _ACEOF | |
26100 cat confdefs.h >>conftest.$ac_ext | |
26101 cat >>conftest.$ac_ext <<_ACEOF | |
13588 /* end confdefs.h. */ | 26102 /* end confdefs.h. */ |
13589 yes..yes | 26103 yes..yes |
13590 _ACEOF | 26104 _ACEOF |
13591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 26105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13592 $EGREP "yes..yes" >/dev/null 2>&1; then : | 26106 $EGREP "yes..yes" >/dev/null 2>&1; then |
13593 CPP_NEED_TRADITIONAL=no | 26107 CPP_NEED_TRADITIONAL=no |
13594 else | 26108 else |
13595 CPP_NEED_TRADITIONAL=yes | 26109 CPP_NEED_TRADITIONAL=yes |
13596 fi | 26110 fi |
13597 rm -f conftest* | 26111 rm -f conftest* |
13626 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 26140 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
13627 eval ac_val=\$$ac_var | 26141 eval ac_val=\$$ac_var |
13628 case $ac_val in #( | 26142 case $ac_val in #( |
13629 *${as_nl}*) | 26143 *${as_nl}*) |
13630 case $ac_var in #( | 26144 case $ac_var in #( |
13631 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 26145 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
13632 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 26146 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
13633 esac | 26147 esac |
13634 case $ac_var in #( | 26148 case $ac_var in #( |
13635 _ | IFS | as_nl) ;; #( | 26149 _ | IFS | as_nl) ;; #( |
13636 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 26150 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
13637 *) { eval $ac_var=; unset $ac_var;} ;; | 26151 *) $as_unset $ac_var ;; |
13638 esac ;; | 26152 esac ;; |
13639 esac | 26153 esac |
13640 done | 26154 done |
13641 | 26155 |
13642 (set) 2>&1 | | 26156 (set) 2>&1 | |
13643 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 26157 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
13644 *${as_nl}ac_space=\ *) | 26158 *${as_nl}ac_space=\ *) |
13645 # `set' does not quote correctly, so add quotes: double-quote | 26159 # `set' does not quote correctly, so add quotes (double-quote |
13646 # substitution turns \\\\ into \\, and sed turns \\ into \. | 26160 # substitution turns \\\\ into \\, and sed turns \\ into \). |
13647 sed -n \ | 26161 sed -n \ |
13648 "s/'/'\\\\''/g; | 26162 "s/'/'\\\\''/g; |
13649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 26163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
13650 ;; #( | 26164 ;; #( |
13651 *) | 26165 *) |
13664 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 26178 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
13665 :end' >>confcache | 26179 :end' >>confcache |
13666 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 26180 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
13667 if test -w "$cache_file"; then | 26181 if test -w "$cache_file"; then |
13668 test "x$cache_file" != "x/dev/null" && | 26182 test "x$cache_file" != "x/dev/null" && |
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 26183 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
13670 $as_echo "$as_me: updating cache $cache_file" >&6;} | 26184 $as_echo "$as_me: updating cache $cache_file" >&6;} |
13671 cat confcache >$cache_file | 26185 cat confcache >$cache_file |
13672 else | 26186 else |
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 26187 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
13674 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 26188 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
13675 fi | 26189 fi |
13676 fi | 26190 fi |
13677 rm -f confcache | 26191 rm -f confcache |
13678 | 26192 |
13688 # 1. Remove the extension, and $U if already installed. | 26202 # 1. Remove the extension, and $U if already installed. |
13689 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 26203 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
13690 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 26204 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
13691 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 26205 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
13692 # will be set to the directory where LIBOBJS objects are built. | 26206 # will be set to the directory where LIBOBJS objects are built. |
13693 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 26207 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
13694 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 26208 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
13695 done | 26209 done |
13696 LIBOBJS=$ac_libobjs | 26210 LIBOBJS=$ac_libobjs |
13697 | 26211 |
13698 LTLIBOBJS=$ac_ltlibobjs | 26212 LTLIBOBJS=$ac_ltlibobjs |
13699 | 26213 |
13701 | 26215 |
13702 : ${CONFIG_STATUS=./config.status} | 26216 : ${CONFIG_STATUS=./config.status} |
13703 ac_write_fail=0 | 26217 ac_write_fail=0 |
13704 ac_clean_files_save=$ac_clean_files | 26218 ac_clean_files_save=$ac_clean_files |
13705 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 26219 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 26220 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
13707 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 26221 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
13708 as_write_fail=0 | 26222 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13709 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
13710 #! $SHELL | 26223 #! $SHELL |
13711 # Generated by $as_me. | 26224 # Generated by $as_me. |
13712 # Run this file to recreate the current configuration. | 26225 # Run this file to recreate the current configuration. |
13713 # Compiler output produced by configure, useful for debugging | 26226 # Compiler output produced by configure, useful for debugging |
13714 # configure, is in config.log if it exists. | 26227 # configure, is in config.log if it exists. |
13715 | 26228 |
13716 debug=false | 26229 debug=false |
13717 ac_cs_recheck=false | 26230 ac_cs_recheck=false |
13718 ac_cs_silent=false | 26231 ac_cs_silent=false |
13719 | |
13720 SHELL=\${CONFIG_SHELL-$SHELL} | 26232 SHELL=\${CONFIG_SHELL-$SHELL} |
13721 export SHELL | 26233 _ACEOF |
13722 _ASEOF | 26234 |
13723 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 26235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13724 ## -------------------- ## | 26236 ## --------------------- ## |
13725 ## M4sh Initialization. ## | 26237 ## M4sh Initialization. ## |
13726 ## -------------------- ## | 26238 ## --------------------- ## |
13727 | 26239 |
13728 # Be more Bourne compatible | 26240 # Be more Bourne compatible |
13729 DUALCASE=1; export DUALCASE # for MKS sh | 26241 DUALCASE=1; export DUALCASE # for MKS sh |
13730 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 26242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
13731 emulate sh | 26243 emulate sh |
13732 NULLCMD=: | 26244 NULLCMD=: |
13733 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 26245 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
13734 # is contrary to our usage. Disable this feature. | 26246 # is contrary to our usage. Disable this feature. |
13735 alias -g '${1+"$@"}'='"$@"' | 26247 alias -g '${1+"$@"}'='"$@"' |
13736 setopt NO_GLOB_SUBST | 26248 setopt NO_GLOB_SUBST |
13737 else | 26249 else |
13738 case `(set -o) 2>/dev/null` in #( | 26250 case `(set -o) 2>/dev/null` in |
13739 *posix*) : | 26251 *posix*) set -o posix ;; |
13740 set -o posix ;; #( | 26252 esac |
13741 *) : | 26253 |
13742 ;; | 26254 fi |
13743 esac | 26255 |
13744 fi | 26256 |
13745 | 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 | |
13746 | 26266 |
13747 as_nl=' | 26267 as_nl=' |
13748 ' | 26268 ' |
13749 export as_nl | 26269 export as_nl |
13750 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 26270 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
13751 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 26271 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
13752 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 26272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
13753 as_echo=$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 |
13754 # Prefer a ksh shell builtin over an external printf program on Solaris, | 26274 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
13755 # but without wasting forks for bash or zsh. | |
13756 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
13757 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
13758 as_echo='print -r --' | |
13759 as_echo_n='print -rn --' | |
13760 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
13761 as_echo='printf %s\n' | 26275 as_echo='printf %s\n' |
13762 as_echo_n='printf %s' | 26276 as_echo_n='printf %s' |
13763 else | 26277 else |
13764 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 26278 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
13765 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 26279 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
13766 as_echo_n='/usr/ucb/echo -n' | 26280 as_echo_n='/usr/ucb/echo -n' |
13767 else | 26281 else |
13768 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 26282 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
13769 as_echo_n_body='eval | 26283 as_echo_n_body='eval |
13770 arg=$1; | 26284 arg=$1; |
13771 case $arg in #( | 26285 case $arg in |
13772 *"$as_nl"*) | 26286 *"$as_nl"*) |
13773 expr "X$arg" : "X\\(.*\\)$as_nl"; | 26287 expr "X$arg" : "X\\(.*\\)$as_nl"; |
13774 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 26288 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
13775 esac; | 26289 esac; |
13776 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 26290 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
13789 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 26303 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
13790 PATH_SEPARATOR=';' | 26304 PATH_SEPARATOR=';' |
13791 } | 26305 } |
13792 fi | 26306 fi |
13793 | 26307 |
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 | |
13794 | 26315 |
13795 # IFS | 26316 # IFS |
13796 # We need space, tab and new line, in precisely that order. Quoting is | 26317 # We need space, tab and new line, in precisely that order. Quoting is |
13797 # there to prevent editors from complaining about space-tab. | 26318 # there to prevent editors from complaining about space-tab. |
13798 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 26319 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
13799 # splitting by setting IFS to empty value.) | 26320 # splitting by setting IFS to empty value.) |
13800 IFS=" "" $as_nl" | 26321 IFS=" "" $as_nl" |
13801 | 26322 |
13802 # Find who we are. Look in the path if we contain no directory separator. | 26323 # Find who we are. Look in the path if we contain no directory separator. |
13803 case $0 in #(( | 26324 case $0 in |
13804 *[\\/]* ) as_myself=$0 ;; | 26325 *[\\/]* ) as_myself=$0 ;; |
13805 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 26326 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13806 for as_dir in $PATH | 26327 for as_dir in $PATH |
13807 do | 26328 do |
13808 IFS=$as_save_IFS | 26329 IFS=$as_save_IFS |
13809 test -z "$as_dir" && as_dir=. | 26330 test -z "$as_dir" && as_dir=. |
13810 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 26331 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
13811 done | 26332 done |
13812 IFS=$as_save_IFS | 26333 IFS=$as_save_IFS |
13813 | 26334 |
13814 ;; | 26335 ;; |
13815 esac | 26336 esac |
13816 # We did not find ourselves, most probably we were run as `sh COMMAND' | 26337 # We did not find ourselves, most probably we were run as `sh COMMAND' |
13818 if test "x$as_myself" = x; then | 26339 if test "x$as_myself" = x; then |
13819 as_myself=$0 | 26340 as_myself=$0 |
13820 fi | 26341 fi |
13821 if test ! -f "$as_myself"; then | 26342 if test ! -f "$as_myself"; then |
13822 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 26343 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
13823 exit 1 | 26344 { (exit 1); exit 1; } |
13824 fi | 26345 fi |
13825 | 26346 |
13826 # Unset variables that we do not need and which cause bugs (e.g. in | 26347 # Work around bugs in pre-3.0 UWIN ksh. |
13827 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 26348 for as_var in ENV MAIL MAILPATH |
13828 # suppresses any "Segmentation fault" message there. '((' could | 26349 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
13829 # trigger a bug in pdksh 5.2.14. | |
13830 for as_var in BASH_ENV ENV MAIL MAILPATH | |
13831 do eval test x\${$as_var+set} = xset \ | |
13832 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
13833 done | 26350 done |
13834 PS1='$ ' | 26351 PS1='$ ' |
13835 PS2='> ' | 26352 PS2='> ' |
13836 PS4='+ ' | 26353 PS4='+ ' |
13837 | 26354 |
13839 LC_ALL=C | 26356 LC_ALL=C |
13840 export LC_ALL | 26357 export LC_ALL |
13841 LANGUAGE=C | 26358 LANGUAGE=C |
13842 export LANGUAGE | 26359 export LANGUAGE |
13843 | 26360 |
13844 # CDPATH. | 26361 # Required to use basename. |
13845 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
13846 | |
13847 | |
13848 # as_fn_error ERROR [LINENO LOG_FD] | |
13849 # --------------------------------- | |
13850 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
13851 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
13852 # script with status $?, using 1 if that was 0. | |
13853 as_fn_error () | |
13854 { | |
13855 as_status=$?; test $as_status -eq 0 && as_status=1 | |
13856 if test "$3"; then | |
13857 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
13858 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
13859 fi | |
13860 $as_echo "$as_me: error: $1" >&2 | |
13861 as_fn_exit $as_status | |
13862 } # as_fn_error | |
13863 | |
13864 | |
13865 # as_fn_set_status STATUS | |
13866 # ----------------------- | |
13867 # Set $? to STATUS, without forking. | |
13868 as_fn_set_status () | |
13869 { | |
13870 return $1 | |
13871 } # as_fn_set_status | |
13872 | |
13873 # as_fn_exit STATUS | |
13874 # ----------------- | |
13875 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
13876 as_fn_exit () | |
13877 { | |
13878 set +e | |
13879 as_fn_set_status $1 | |
13880 exit $1 | |
13881 } # as_fn_exit | |
13882 | |
13883 # as_fn_unset VAR | |
13884 # --------------- | |
13885 # Portably unset VAR. | |
13886 as_fn_unset () | |
13887 { | |
13888 { eval $1=; unset $1;} | |
13889 } | |
13890 as_unset=as_fn_unset | |
13891 # as_fn_append VAR VALUE | |
13892 # ---------------------- | |
13893 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
13894 # advantage of any shell optimizations that allow amortized linear growth over | |
13895 # repeated appends, instead of the typical quadratic growth present in naive | |
13896 # implementations. | |
13897 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
13898 eval 'as_fn_append () | |
13899 { | |
13900 eval $1+=\$2 | |
13901 }' | |
13902 else | |
13903 as_fn_append () | |
13904 { | |
13905 eval $1=\$$1\$2 | |
13906 } | |
13907 fi # as_fn_append | |
13908 | |
13909 # as_fn_arith ARG... | |
13910 # ------------------ | |
13911 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
13912 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
13913 # must be portable across $(()) and expr. | |
13914 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
13915 eval 'as_fn_arith () | |
13916 { | |
13917 as_val=$(( $* )) | |
13918 }' | |
13919 else | |
13920 as_fn_arith () | |
13921 { | |
13922 as_val=`expr "$@" || test $? -eq 1` | |
13923 } | |
13924 fi # as_fn_arith | |
13925 | |
13926 | |
13927 if expr a : '\(a\)' >/dev/null 2>&1 && | 26362 if expr a : '\(a\)' >/dev/null 2>&1 && |
13928 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 26363 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
13929 as_expr=expr | 26364 as_expr=expr |
13930 else | 26365 else |
13931 as_expr=false | 26366 as_expr=false |
13935 as_basename=basename | 26370 as_basename=basename |
13936 else | 26371 else |
13937 as_basename=false | 26372 as_basename=false |
13938 fi | 26373 fi |
13939 | 26374 |
13940 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 26375 |
13941 as_dirname=dirname | 26376 # Name of the executable. |
13942 else | |
13943 as_dirname=false | |
13944 fi | |
13945 | |
13946 as_me=`$as_basename -- "$0" || | 26377 as_me=`$as_basename -- "$0" || |
13947 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 26378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
13948 X"$0" : 'X\(//\)$' \| \ | 26379 X"$0" : 'X\(//\)$' \| \ |
13949 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 26380 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
13950 $as_echo X/"$0" | | 26381 $as_echo X/"$0" | |
13960 s//\1/ | 26391 s//\1/ |
13961 q | 26392 q |
13962 } | 26393 } |
13963 s/.*/./; q'` | 26394 s/.*/./; q'` |
13964 | 26395 |
13965 # Avoid depending upon Character Ranges. | 26396 # CDPATH. |
13966 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 26397 $as_unset CDPATH |
13967 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 26398 |
13968 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 26399 |
13969 as_cr_digits='0123456789' | 26400 |
13970 as_cr_alnum=$as_cr_Letters$as_cr_digits | 26401 as_lineno_1=$LINENO |
26402 as_lineno_2=$LINENO | |
26403 test "x$as_lineno_1" != "x$as_lineno_2" && | |
26404 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
26405 | |
26406 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
26407 # uniformly replaced by the line number. The first 'sed' inserts a | |
26408 # line-number line after each line using $LINENO; the second 'sed' | |
26409 # does the real work. The second script uses 'N' to pair each | |
26410 # line-number line with the line containing $LINENO, and appends | |
26411 # trailing '-' during substitution so that $LINENO is not a special | |
26412 # case at line end. | |
26413 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
26414 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
26415 # E. McMahon (1931-1989) for sed's syntax. :-) | |
26416 sed -n ' | |
26417 p | |
26418 /[$]LINENO/= | |
26419 ' <$as_myself | | |
26420 sed ' | |
26421 s/[$]LINENO.*/&-/ | |
26422 t lineno | |
26423 b | |
26424 :lineno | |
26425 N | |
26426 :loop | |
26427 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
26428 t loop | |
26429 s/-\n.*// | |
26430 ' >$as_me.lineno && | |
26431 chmod +x "$as_me.lineno" || | |
26432 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
26433 { (exit 1); exit 1; }; } | |
26434 | |
26435 # Don't try to exec as it changes $[0], causing all sort of problems | |
26436 # (the dirname of $[0] is not the place where we might find the | |
26437 # original and so on. Autoconf is especially sensitive to this). | |
26438 . "./$as_me.lineno" | |
26439 # Exit status is that of the last command. | |
26440 exit | |
26441 } | |
26442 | |
26443 | |
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 | |
13971 | 26449 |
13972 ECHO_C= ECHO_N= ECHO_T= | 26450 ECHO_C= ECHO_N= ECHO_T= |
13973 case `echo -n x` in #((((( | 26451 case `echo -n x` in |
13974 -n*) | 26452 -n*) |
13975 case `echo 'xy\c'` in | 26453 case `echo 'x\c'` in |
13976 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 26454 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
13977 xy) ECHO_C='\c';; | 26455 *) ECHO_C='\c';; |
13978 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
13979 ECHO_T=' ';; | |
13980 esac;; | 26456 esac;; |
13981 *) | 26457 *) |
13982 ECHO_N='-n';; | 26458 ECHO_N='-n';; |
13983 esac | 26459 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 | |
13984 | 26466 |
13985 rm -f conf$$ conf$$.exe conf$$.file | 26467 rm -f conf$$ conf$$.exe conf$$.file |
13986 if test -d conf$$.dir; then | 26468 if test -d conf$$.dir; then |
13987 rm -f conf$$.dir/conf$$.file | 26469 rm -f conf$$.dir/conf$$.file |
13988 else | 26470 else |
14007 as_ln_s='cp -p' | 26489 as_ln_s='cp -p' |
14008 fi | 26490 fi |
14009 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 26491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
14010 rmdir conf$$.dir 2>/dev/null | 26492 rmdir conf$$.dir 2>/dev/null |
14011 | 26493 |
14012 | |
14013 # as_fn_mkdir_p | |
14014 # ------------- | |
14015 # Create "$as_dir" as a directory, including parents if necessary. | |
14016 as_fn_mkdir_p () | |
14017 { | |
14018 | |
14019 case $as_dir in #( | |
14020 -*) as_dir=./$as_dir;; | |
14021 esac | |
14022 test -d "$as_dir" || eval $as_mkdir_p || { | |
14023 as_dirs= | |
14024 while :; do | |
14025 case $as_dir in #( | |
14026 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
14027 *) as_qdir=$as_dir;; | |
14028 esac | |
14029 as_dirs="'$as_qdir' $as_dirs" | |
14030 as_dir=`$as_dirname -- "$as_dir" || | |
14031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
14032 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
14033 X"$as_dir" : 'X\(//\)$' \| \ | |
14034 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
14035 $as_echo X"$as_dir" | | |
14036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
14037 s//\1/ | |
14038 q | |
14039 } | |
14040 /^X\(\/\/\)[^/].*/{ | |
14041 s//\1/ | |
14042 q | |
14043 } | |
14044 /^X\(\/\/\)$/{ | |
14045 s//\1/ | |
14046 q | |
14047 } | |
14048 /^X\(\/\).*/{ | |
14049 s//\1/ | |
14050 q | |
14051 } | |
14052 s/.*/./; q'` | |
14053 test -d "$as_dir" && break | |
14054 done | |
14055 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
14056 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
14057 | |
14058 | |
14059 } # as_fn_mkdir_p | |
14060 if mkdir -p . 2>/dev/null; then | 26494 if mkdir -p . 2>/dev/null; then |
14061 as_mkdir_p='mkdir -p "$as_dir"' | 26495 as_mkdir_p=: |
14062 else | 26496 else |
14063 test -d ./-p && rmdir ./-p | 26497 test -d ./-p && rmdir ./-p |
14064 as_mkdir_p=false | 26498 as_mkdir_p=false |
14065 fi | 26499 fi |
14066 | 26500 |
14075 as_test_x=' | 26509 as_test_x=' |
14076 eval sh -c '\'' | 26510 eval sh -c '\'' |
14077 if test -d "$1"; then | 26511 if test -d "$1"; then |
14078 test -d "$1/."; | 26512 test -d "$1/."; |
14079 else | 26513 else |
14080 case $1 in #( | 26514 case $1 in |
14081 -*)set "./$1";; | 26515 -*)set "./$1";; |
14082 esac; | 26516 esac; |
14083 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 26517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
14084 ???[sx]*):;;*)false;;esac;fi | 26518 ???[sx]*):;;*)false;;esac;fi |
14085 '\'' sh | 26519 '\'' sh |
14086 ' | 26520 ' |
14087 fi | 26521 fi |
14088 as_executable_p=$as_test_x | 26522 as_executable_p=$as_test_x |
14093 # Sed expression to map a string onto a valid variable name. | 26527 # Sed expression to map a string onto a valid variable name. |
14094 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 26528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
14095 | 26529 |
14096 | 26530 |
14097 exec 6>&1 | 26531 exec 6>&1 |
14098 ## ----------------------------------- ## | 26532 |
14099 ## Main body of $CONFIG_STATUS script. ## | 26533 # Save the log message, to keep $[0] and so on meaningful, and to |
14100 ## ----------------------------------- ## | |
14101 _ASEOF | |
14102 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
14103 | |
14104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
14105 # Save the log message, to keep $0 and so on meaningful, and to | |
14106 # report actual input values of CONFIG_FILES etc. instead of their | 26534 # report actual input values of CONFIG_FILES etc. instead of their |
14107 # values after options handling. | 26535 # values after options handling. |
14108 ac_log=" | 26536 ac_log=" |
14109 This file was extended by emacs $as_me 24.0.50, which was | 26537 This file was extended by emacs $as_me 24.0.50, which was |
14110 generated by GNU Autoconf 2.65. Invocation command line was | 26538 generated by GNU Autoconf 2.62. Invocation command line was |
14111 | 26539 |
14112 CONFIG_FILES = $CONFIG_FILES | 26540 CONFIG_FILES = $CONFIG_FILES |
14113 CONFIG_HEADERS = $CONFIG_HEADERS | 26541 CONFIG_HEADERS = $CONFIG_HEADERS |
14114 CONFIG_LINKS = $CONFIG_LINKS | 26542 CONFIG_LINKS = $CONFIG_LINKS |
14115 CONFIG_COMMANDS = $CONFIG_COMMANDS | 26543 CONFIG_COMMANDS = $CONFIG_COMMANDS |
14118 on `(hostname || uname -n) 2>/dev/null | sed 1q` | 26546 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
14119 " | 26547 " |
14120 | 26548 |
14121 _ACEOF | 26549 _ACEOF |
14122 | 26550 |
14123 case $ac_config_files in *" | |
14124 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
14125 esac | |
14126 | |
14127 case $ac_config_headers in *" | |
14128 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
14129 esac | |
14130 | |
14131 | |
14132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 26551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14133 # Files that config.status was made for. | 26552 # Files that config.status was made for. |
14134 config_files="$ac_config_files" | 26553 config_files="$ac_config_files" |
14135 config_headers="$ac_config_headers" | 26554 config_headers="$ac_config_headers" |
14136 config_commands="$ac_config_commands" | 26555 config_commands="$ac_config_commands" |
14137 | 26556 |
14138 _ACEOF | 26557 _ACEOF |
14139 | 26558 |
14140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 26559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14141 ac_cs_usage="\ | 26560 ac_cs_usage="\ |
14142 \`$as_me' instantiates files and other configuration actions | 26561 \`$as_me' instantiates files from templates according to the |
14143 from templates according to the current configuration. Unless the files | 26562 current configuration. |
14144 and actions are specified as TAGs, all are instantiated by default. | 26563 |
14145 | 26564 Usage: $0 [OPTIONS] [FILE]... |
14146 Usage: $0 [OPTION]... [TAG]... | |
14147 | 26565 |
14148 -h, --help print this help, then exit | 26566 -h, --help print this help, then exit |
14149 -V, --version print version number and configuration settings, then exit | 26567 -V, --version print version number and configuration settings, then exit |
14150 --config print configuration, then exit | 26568 -q, --quiet do not print progress messages |
14151 -q, --quiet, --silent | |
14152 do not print progress messages | |
14153 -d, --debug don't remove temporary files | 26569 -d, --debug don't remove temporary files |
14154 --recheck update $as_me by reconfiguring in the same conditions | 26570 --recheck update $as_me by reconfiguring in the same conditions |
14155 --file=FILE[:TEMPLATE] | 26571 --file=FILE[:TEMPLATE] |
14156 instantiate the configuration file FILE | 26572 instantiate the configuration file FILE |
14157 --header=FILE[:TEMPLATE] | 26573 --header=FILE[:TEMPLATE] |
14158 instantiate the configuration header FILE | 26574 instantiate the configuration header FILE |
14159 | 26575 |
14160 Configuration files: | 26576 Configuration files: |
14161 $config_files | 26577 $config_files |
14162 | 26578 |
14164 $config_headers | 26580 $config_headers |
14165 | 26581 |
14166 Configuration commands: | 26582 Configuration commands: |
14167 $config_commands | 26583 $config_commands |
14168 | 26584 |
14169 Report bugs to the package provider." | 26585 Report bugs to <bug-autoconf@gnu.org>." |
14170 | 26586 |
14171 _ACEOF | 26587 _ACEOF |
14172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 26588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14173 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
14174 ac_cs_version="\\ | 26589 ac_cs_version="\\ |
14175 emacs config.status 24.0.50 | 26590 emacs config.status 24.0.50 |
14176 configured by $0, generated by GNU Autoconf 2.65, | 26591 configured by $0, generated by GNU Autoconf 2.62, |
14177 with options \\"\$ac_cs_config\\" | 26592 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
14178 | 26593 |
14179 Copyright (C) 2009 Free Software Foundation, Inc. | 26594 Copyright (C) 2008 Free Software Foundation, Inc. |
14180 This config.status script is free software; the Free Software Foundation | 26595 This config.status script is free software; the Free Software Foundation |
14181 gives unlimited permission to copy, distribute and modify it." | 26596 gives unlimited permission to copy, distribute and modify it." |
14182 | 26597 |
14183 ac_pwd='$ac_pwd' | 26598 ac_pwd='$ac_pwd' |
14184 srcdir='$srcdir' | 26599 srcdir='$srcdir' |
14208 # Handling of the options. | 26623 # Handling of the options. |
14209 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 26624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
14210 ac_cs_recheck=: ;; | 26625 ac_cs_recheck=: ;; |
14211 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 26626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
14212 $as_echo "$ac_cs_version"; exit ;; | 26627 $as_echo "$ac_cs_version"; exit ;; |
14213 --config | --confi | --conf | --con | --co | --c ) | |
14214 $as_echo "$ac_cs_config"; exit ;; | |
14215 --debug | --debu | --deb | --de | --d | -d ) | 26628 --debug | --debu | --deb | --de | --d | -d ) |
14216 debug=: ;; | 26629 debug=: ;; |
14217 --file | --fil | --fi | --f ) | 26630 --file | --fil | --fi | --f ) |
14218 $ac_shift | 26631 $ac_shift |
14219 case $ac_optarg in | 26632 case $ac_optarg in |
14220 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 26633 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14221 esac | 26634 esac |
14222 as_fn_append CONFIG_FILES " '$ac_optarg'" | 26635 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
14223 ac_need_defaults=false;; | 26636 ac_need_defaults=false;; |
14224 --header | --heade | --head | --hea ) | 26637 --header | --heade | --head | --hea ) |
14225 $ac_shift | 26638 $ac_shift |
14226 case $ac_optarg in | 26639 case $ac_optarg in |
14227 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 26640 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14228 esac | 26641 esac |
14229 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 26642 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
14230 ac_need_defaults=false;; | 26643 ac_need_defaults=false;; |
14231 --he | --h) | 26644 --he | --h) |
14232 # Conflict between --help and --header | 26645 # Conflict between --help and --header |
14233 as_fn_error "ambiguous option: \`$1' | 26646 { $as_echo "$as_me: error: ambiguous option: $1 |
14234 Try \`$0 --help' for more information.";; | 26647 Try \`$0 --help' for more information." >&2 |
26648 { (exit 1); exit 1; }; };; | |
14235 --help | --hel | -h ) | 26649 --help | --hel | -h ) |
14236 $as_echo "$ac_cs_usage"; exit ;; | 26650 $as_echo "$ac_cs_usage"; exit ;; |
14237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 26651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
14238 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 26652 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
14239 ac_cs_silent=: ;; | 26653 ac_cs_silent=: ;; |
14240 | 26654 |
14241 # This is an error. | 26655 # This is an error. |
14242 -*) as_fn_error "unrecognized option: \`$1' | 26656 -*) { $as_echo "$as_me: error: unrecognized option: $1 |
14243 Try \`$0 --help' for more information." ;; | 26657 Try \`$0 --help' for more information." >&2 |
14244 | 26658 { (exit 1); exit 1; }; } ;; |
14245 *) as_fn_append ac_config_targets " $1" | 26659 |
26660 *) ac_config_targets="$ac_config_targets $1" | |
14246 ac_need_defaults=false ;; | 26661 ac_need_defaults=false ;; |
14247 | 26662 |
14248 esac | 26663 esac |
14249 shift | 26664 shift |
14250 done | 26665 done |
14305 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 26720 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
14306 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 26721 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
14307 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 26722 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
14308 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 26723 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
14309 | 26724 |
14310 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 26725 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
26726 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
26727 { (exit 1); exit 1; }; };; | |
14311 esac | 26728 esac |
14312 done | 26729 done |
14313 | 26730 |
14314 | 26731 |
14315 # If the user did not use the arguments to specify the items to instantiate, | 26732 # If the user did not use the arguments to specify the items to instantiate, |
14332 { | 26749 { |
14333 tmp= | 26750 tmp= |
14334 trap 'exit_status=$? | 26751 trap 'exit_status=$? |
14335 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 26752 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
14336 ' 0 | 26753 ' 0 |
14337 trap 'as_fn_exit 1' 1 2 13 15 | 26754 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
14338 } | 26755 } |
14339 # Create a (secure) tmp directory for tmp files. | 26756 # Create a (secure) tmp directory for tmp files. |
14340 | 26757 |
14341 { | 26758 { |
14342 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 26759 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
14343 test -n "$tmp" && test -d "$tmp" | 26760 test -n "$tmp" && test -d "$tmp" |
14344 } || | 26761 } || |
14345 { | 26762 { |
14346 tmp=./conf$$-$RANDOM | 26763 tmp=./conf$$-$RANDOM |
14347 (umask 077 && mkdir "$tmp") | 26764 (umask 077 && mkdir "$tmp") |
14348 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 26765 } || |
26766 { | |
26767 $as_echo "$as_me: cannot create a temporary directory in ." >&2 | |
26768 { (exit 1); exit 1; } | |
26769 } | |
14349 | 26770 |
14350 # Set up the scripts for CONFIG_FILES section. | 26771 # Set up the scripts for CONFIG_FILES section. |
14351 # No need to generate them if there are no CONFIG_FILES. | 26772 # No need to generate them if there are no CONFIG_FILES. |
14352 # This happens for instance with `./config.status config.h'. | 26773 # This happens for instance with `./config.status config.h'. |
14353 if test -n "$CONFIG_FILES"; then | 26774 if test -n "$CONFIG_FILES"; then |
14354 | 26775 |
14355 | 26776 |
14356 ac_cr=`echo X | tr X '\015'` | 26777 ac_cr=' |
14357 # On cygwin, bash can eat \r inside `` if the user requested igncr. | 26778 ' |
14358 # But we know of no other shell where ac_cr would be empty at this | |
14359 # point, so we can use a bashism as a fallback. | |
14360 if test "x$ac_cr" = x; then | |
14361 eval ac_cr=\$\'\\r\' | |
14362 fi | |
14363 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 26779 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
14364 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 26780 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
14365 ac_cs_awk_cr='\r' | 26781 ac_cs_awk_cr='\\r' |
14366 else | 26782 else |
14367 ac_cs_awk_cr=$ac_cr | 26783 ac_cs_awk_cr=$ac_cr |
14368 fi | 26784 fi |
14369 | 26785 |
14370 echo 'BEGIN {' >"$tmp/subs1.awk" && | 26786 echo 'BEGIN {' >"$tmp/subs1.awk" && |
14374 { | 26790 { |
14375 echo "cat >conf$$subs.awk <<_ACEOF" && | 26791 echo "cat >conf$$subs.awk <<_ACEOF" && |
14376 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 26792 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
14377 echo "_ACEOF" | 26793 echo "_ACEOF" |
14378 } >conf$$subs.sh || | 26794 } >conf$$subs.sh || |
14379 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 26795 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
26796 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
26797 { (exit 1); exit 1; }; } | |
14380 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 26798 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
14381 ac_delim='%!_!# ' | 26799 ac_delim='%!_!# ' |
14382 for ac_last_try in false false false false false :; do | 26800 for ac_last_try in false false false false false :; do |
14383 . ./conf$$subs.sh || | 26801 . ./conf$$subs.sh || |
14384 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 26802 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14385 | 26803 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14386 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 26804 { (exit 1); exit 1; }; } |
14387 if test $ac_delim_n = $ac_delim_num; then | 26805 |
26806 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then | |
14388 break | 26807 break |
14389 elif $ac_last_try; then | 26808 elif $ac_last_try; then |
14390 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 26809 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
26810 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
26811 { (exit 1); exit 1; }; } | |
14391 else | 26812 else |
14392 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 26813 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14393 fi | 26814 fi |
14394 done | 26815 done |
14395 rm -f conf$$subs.sh | 26816 rm -f conf$$subs.sh |
14407 t repl | 26828 t repl |
14408 s/'"$ac_delim"'$// | 26829 s/'"$ac_delim"'$// |
14409 t delim | 26830 t delim |
14410 :nl | 26831 :nl |
14411 h | 26832 h |
14412 s/\(.\{148\}\)..*/\1/ | 26833 s/\(.\{148\}\).*/\1/ |
14413 t more1 | 26834 t more1 |
14414 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 26835 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
14415 p | 26836 p |
14416 n | 26837 n |
14417 b repl | 26838 b repl |
14421 g | 26842 g |
14422 s/.\{148\}// | 26843 s/.\{148\}// |
14423 t nl | 26844 t nl |
14424 :delim | 26845 :delim |
14425 h | 26846 h |
14426 s/\(.\{148\}\)..*/\1/ | 26847 s/\(.\{148\}\).*/\1/ |
14427 t more2 | 26848 t more2 |
14428 s/["\\]/\\&/g; s/^/"/; s/$/"/ | 26849 s/["\\]/\\&/g; s/^/"/; s/$/"/ |
14429 p | 26850 p |
14430 b | 26851 b |
14431 :more2 | 26852 :more2 |
14474 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 26895 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
14475 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 26896 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
14476 else | 26897 else |
14477 cat | 26898 cat |
14478 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 26899 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
14479 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 26900 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
26901 $as_echo "$as_me: error: could not setup config files machinery" >&2;} | |
26902 { (exit 1); exit 1; }; } | |
14480 _ACEOF | 26903 _ACEOF |
14481 | 26904 |
14482 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 26905 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
14483 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 26906 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
14484 # trailing colons and then remove the whole line if VPATH becomes empty | 26907 # trailing colons and then remove the whole line if VPATH becomes empty |
14515 for ac_last_try in false false :; do | 26938 for ac_last_try in false false :; do |
14516 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 26939 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
14517 if test -z "$ac_t"; then | 26940 if test -z "$ac_t"; then |
14518 break | 26941 break |
14519 elif $ac_last_try; then | 26942 elif $ac_last_try; then |
14520 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 26943 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
26944 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | |
26945 { (exit 1); exit 1; }; } | |
14521 else | 26946 else |
14522 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 26947 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14523 fi | 26948 fi |
14524 done | 26949 done |
14525 | 26950 |
14581 defundef = substr(arg[1], 2) | 27006 defundef = substr(arg[1], 2) |
14582 mac1 = arg[2] | 27007 mac1 = arg[2] |
14583 } | 27008 } |
14584 split(mac1, mac2, "(") #) | 27009 split(mac1, mac2, "(") #) |
14585 macro = mac2[1] | 27010 macro = mac2[1] |
14586 prefix = substr(line, 1, index(line, defundef) - 1) | |
14587 if (D_is_set[macro]) { | 27011 if (D_is_set[macro]) { |
14588 # Preserve the white space surrounding the "#". | 27012 # Preserve the white space surrounding the "#". |
27013 prefix = substr(line, 1, index(line, defundef) - 1) | |
14589 print prefix "define", macro P[macro] D[macro] | 27014 print prefix "define", macro P[macro] D[macro] |
14590 next | 27015 next |
14591 } else { | 27016 } else { |
14592 # Replace #undef with comments. This is necessary, for example, | 27017 # Replace #undef with comments. This is necessary, for example, |
14593 # in the case of _POSIX_SOURCE, which is predefined and required | 27018 # in the case of _POSIX_SOURCE, which is predefined and required |
14594 # on some systems where configure will not decide to define it. | 27019 # on some systems where configure will not decide to define it. |
14595 if (defundef == "undef") { | 27020 if (defundef == "undef") { |
14596 print "/*", prefix defundef, macro, "*/" | 27021 print "/*", line, "*/" |
14597 next | 27022 next |
14598 } | 27023 } |
14599 } | 27024 } |
14600 } | 27025 } |
14601 { print } | 27026 { print } |
14602 _ACAWK | 27027 _ACAWK |
14603 _ACEOF | 27028 _ACEOF |
14604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 27029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14605 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 27030 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
27031 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | |
27032 { (exit 1); exit 1; }; } | |
14606 fi # test -n "$CONFIG_HEADERS" | 27033 fi # test -n "$CONFIG_HEADERS" |
14607 | 27034 |
14608 | 27035 |
14609 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 27036 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
14610 shift | 27037 shift |
14613 case $ac_tag in | 27040 case $ac_tag in |
14614 :[FHLC]) ac_mode=$ac_tag; continue;; | 27041 :[FHLC]) ac_mode=$ac_tag; continue;; |
14615 esac | 27042 esac |
14616 case $ac_mode$ac_tag in | 27043 case $ac_mode$ac_tag in |
14617 :[FHL]*:*);; | 27044 :[FHL]*:*);; |
14618 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 27045 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
27046 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
27047 { (exit 1); exit 1; }; };; | |
14619 :[FH]-) ac_tag=-:-;; | 27048 :[FH]-) ac_tag=-:-;; |
14620 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 27049 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
14621 esac | 27050 esac |
14622 ac_save_IFS=$IFS | 27051 ac_save_IFS=$IFS |
14623 IFS=: | 27052 IFS=: |
14641 test -f "$ac_f" || | 27070 test -f "$ac_f" || |
14642 case $ac_f in | 27071 case $ac_f in |
14643 [\\/$]*) false;; | 27072 [\\/$]*) false;; |
14644 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 27073 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
14645 esac || | 27074 esac || |
14646 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 27075 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
27076 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
27077 { (exit 1); exit 1; }; };; | |
14647 esac | 27078 esac |
14648 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 27079 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
14649 as_fn_append ac_file_inputs " '$ac_f'" | 27080 ac_file_inputs="$ac_file_inputs '$ac_f'" |
14650 done | 27081 done |
14651 | 27082 |
14652 # Let's still pretend it is `configure' which instantiates (i.e., don't | 27083 # Let's still pretend it is `configure' which instantiates (i.e., don't |
14653 # use $as_me), people would be surprised to read: | 27084 # use $as_me), people would be surprised to read: |
14654 # /* config.h. Generated by config.status. */ | 27085 # /* config.h. Generated by config.status. */ |
14655 configure_input='Generated from '` | 27086 configure_input='Generated from '` |
14656 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | 27087 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
14657 `' by configure.' | 27088 `' by configure.' |
14658 if test x"$ac_file" != x-; then | 27089 if test x"$ac_file" != x-; then |
14659 configure_input="$ac_file. $configure_input" | 27090 configure_input="$ac_file. $configure_input" |
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 27091 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
14661 $as_echo "$as_me: creating $ac_file" >&6;} | 27092 $as_echo "$as_me: creating $ac_file" >&6;} |
14662 fi | 27093 fi |
14663 # Neutralize special characters interpreted by sed in replacement strings. | 27094 # Neutralize special characters interpreted by sed in replacement strings. |
14664 case $configure_input in #( | 27095 case $configure_input in #( |
14665 *\&* | *\|* | *\\* ) | 27096 *\&* | *\|* | *\\* ) |
14668 *) ac_sed_conf_input=$configure_input;; | 27099 *) ac_sed_conf_input=$configure_input;; |
14669 esac | 27100 esac |
14670 | 27101 |
14671 case $ac_tag in | 27102 case $ac_tag in |
14672 *:-:* | *:-) cat >"$tmp/stdin" \ | 27103 *:-:* | *:-) cat >"$tmp/stdin" \ |
14673 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 27104 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27105 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27106 { (exit 1); exit 1; }; } ;; | |
14674 esac | 27107 esac |
14675 ;; | 27108 ;; |
14676 esac | 27109 esac |
14677 | 27110 |
14678 ac_dir=`$as_dirname -- "$ac_file" || | 27111 ac_dir=`$as_dirname -- "$ac_file" || |
14696 /^X\(\/\).*/{ | 27129 /^X\(\/\).*/{ |
14697 s//\1/ | 27130 s//\1/ |
14698 q | 27131 q |
14699 } | 27132 } |
14700 s/.*/./; q'` | 27133 s/.*/./; q'` |
14701 as_dir="$ac_dir"; as_fn_mkdir_p | 27134 { as_dir="$ac_dir" |
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; }; }; } | |
14702 ac_builddir=. | 27175 ac_builddir=. |
14703 | 27176 |
14704 case "$ac_dir" in | 27177 case "$ac_dir" in |
14705 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 27178 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
14706 *) | 27179 *) |
14748 | 27221 |
14749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 27222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14750 # If the template does not know about datarootdir, expand it. | 27223 # If the template does not know about datarootdir, expand it. |
14751 # FIXME: This hack should be removed a few years after 2.60. | 27224 # FIXME: This hack should be removed a few years after 2.60. |
14752 ac_datarootdir_hack=; ac_datarootdir_seen= | 27225 ac_datarootdir_hack=; ac_datarootdir_seen= |
27226 | |
14753 ac_sed_dataroot=' | 27227 ac_sed_dataroot=' |
14754 /datarootdir/ { | 27228 /datarootdir/ { |
14755 p | 27229 p |
14756 q | 27230 q |
14757 } | 27231 } |
14758 /@datadir@/p | 27232 /@datadir@/p |
14759 /@docdir@/p | 27233 /@docdir@/p |
14760 /@infodir@/p | 27234 /@infodir@/p |
14761 /@localedir@/p | 27235 /@localedir@/p |
14762 /@mandir@/p' | 27236 /@mandir@/p |
27237 ' | |
14763 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 27238 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
14764 *datarootdir*) ac_datarootdir_seen=yes;; | 27239 *datarootdir*) ac_datarootdir_seen=yes;; |
14765 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 27240 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 27241 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
14767 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 27242 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
14768 _ACEOF | 27243 _ACEOF |
14769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 27244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14770 ac_datarootdir_hack=' | 27245 ac_datarootdir_hack=' |
14771 s&@datadir@&$datadir&g | 27246 s&@datadir@&$datadir&g |
14772 s&@docdir@&$docdir&g | 27247 s&@docdir@&$docdir&g |
14773 s&@infodir@&$infodir&g | 27248 s&@infodir@&$infodir&g |
14774 s&@localedir@&$localedir&g | 27249 s&@localedir@&$localedir&g |
14775 s&@mandir@&$mandir&g | 27250 s&@mandir@&$mandir&g |
14776 s&\\\${datarootdir}&$datarootdir&g' ;; | 27251 s&\\\${datarootdir}&$datarootdir&g' ;; |
14777 esac | 27252 esac |
14778 _ACEOF | 27253 _ACEOF |
14779 | 27254 |
14780 # Neutralize VPATH when `$srcdir' = `.'. | 27255 # Neutralize VPATH when `$srcdir' = `.'. |
14781 # Shell code in configure.ac might set extrasub. | 27256 # Shell code in configure.ac might set extrasub. |
14799 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 27274 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
14800 s&@INSTALL@&$ac_INSTALL&;t t | 27275 s&@INSTALL@&$ac_INSTALL&;t t |
14801 $ac_datarootdir_hack | 27276 $ac_datarootdir_hack |
14802 " | 27277 " |
14803 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 27278 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
14804 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27279 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27280 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27281 { (exit 1); exit 1; }; } | |
14805 | 27282 |
14806 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 27283 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
14807 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 27284 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
14808 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 27285 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27286 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
14810 which seems to be undefined. Please make sure it is defined." >&5 | 27287 which seems to be undefined. Please make sure it is defined." >&5 |
14811 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27288 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
14812 which seems to be undefined. Please make sure it is defined." >&2;} | 27289 which seems to be undefined. Please make sure it is defined." >&2;} |
14813 | 27290 |
14814 rm -f "$tmp/stdin" | 27291 rm -f "$tmp/stdin" |
14815 case $ac_file in | 27292 case $ac_file in |
14816 -) cat "$tmp/out" && rm -f "$tmp/out";; | 27293 -) cat "$tmp/out" && rm -f "$tmp/out";; |
14817 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 27294 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
14818 esac \ | 27295 esac \ |
14819 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27296 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27297 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27298 { (exit 1); exit 1; }; } | |
14820 ;; | 27299 ;; |
14821 :H) | 27300 :H) |
14822 # | 27301 # |
14823 # CONFIG_HEADER | 27302 # CONFIG_HEADER |
14824 # | 27303 # |
14825 if test x"$ac_file" != x-; then | 27304 if test x"$ac_file" != x-; then |
14826 { | 27305 { |
14827 $as_echo "/* $configure_input */" \ | 27306 $as_echo "/* $configure_input */" \ |
14828 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 27307 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
14829 } >"$tmp/config.h" \ | 27308 } >"$tmp/config.h" \ |
14830 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27309 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27310 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27311 { (exit 1); exit 1; }; } | |
14831 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 27312 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 27313 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
14833 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 27314 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
14834 else | 27315 else |
14835 rm -f "$ac_file" | 27316 rm -f "$ac_file" |
14836 mv "$tmp/config.h" "$ac_file" \ | 27317 mv "$tmp/config.h" "$ac_file" \ |
14837 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27318 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27319 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27320 { (exit 1); exit 1; }; } | |
14838 fi | 27321 fi |
14839 else | 27322 else |
14840 $as_echo "/* $configure_input */" \ | 27323 $as_echo "/* $configure_input */" \ |
14841 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 27324 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
14842 || as_fn_error "could not create -" "$LINENO" 5 | 27325 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
27326 $as_echo "$as_me: error: could not create -" >&2;} | |
27327 { (exit 1); exit 1; }; } | |
14843 fi | 27328 fi |
14844 ;; | 27329 ;; |
14845 | 27330 |
14846 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 27331 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
14847 $as_echo "$as_me: executing $ac_file commands" >&6;} | 27332 $as_echo "$as_me: executing $ac_file commands" >&6;} |
14848 ;; | 27333 ;; |
14849 esac | 27334 esac |
14850 | 27335 |
14851 | 27336 |
14912 | 27397 |
14913 esac | 27398 esac |
14914 done # for ac_tag | 27399 done # for ac_tag |
14915 | 27400 |
14916 | 27401 |
14917 as_fn_exit 0 | 27402 { (exit 0); exit 0; } |
14918 _ACEOF | 27403 _ACEOF |
27404 chmod +x $CONFIG_STATUS | |
14919 ac_clean_files=$ac_clean_files_save | 27405 ac_clean_files=$ac_clean_files_save |
14920 | 27406 |
14921 test $ac_write_fail = 0 || | 27407 test $ac_write_fail = 0 || |
14922 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 27408 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
27409 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | |
27410 { (exit 1); exit 1; }; } | |
14923 | 27411 |
14924 | 27412 |
14925 # configure is writing to config.log, and then calls config.status. | 27413 # configure is writing to config.log, and then calls config.status. |
14926 # config.status does its own redirection, appending to config.log. | 27414 # config.status does its own redirection, appending to config.log. |
14927 # Unfortunately, on DOS this fails, as config.log is still kept open | 27415 # Unfortunately, on DOS this fails, as config.log is still kept open |
14938 exec 5>/dev/null | 27426 exec 5>/dev/null |
14939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 27427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
14940 exec 5>>config.log | 27428 exec 5>>config.log |
14941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 27429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
14942 # would make configure fail if this is the last instruction. | 27430 # would make configure fail if this is the last instruction. |
14943 $ac_cs_success || as_fn_exit $? | 27431 $ac_cs_success || { (exit 1); exit 1; } |
14944 fi | 27432 fi |
14945 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 27433 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 27434 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 |
14947 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 27435 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} |
14948 fi | 27436 fi |
14949 | 27437 |
14950 | 27438 |