Mercurial > emacs
comparison configure @ 108607:c487ac406dde
Regenerate configure.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 15 May 2010 14:34:03 -0700 |
parents | 786c4a4a3817 |
children | 2aff4d15de35 |
comparison
equal
deleted
inserted
replaced
108606:095e338e1fd8 | 108607:c487ac406dde |
---|---|
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 INSTALL_PROGRAM | |
698 INSTALL_SCRIPT | |
699 INSTALL_DATA | |
700 RANLIB | |
701 INSTALL_INFO | |
702 GZIP_PROG | |
703 MAKEINFO | |
704 LD_SWITCH_SYSTEM | |
705 C_SWITCH_MACHINE | |
706 C_SWITCH_SYSTEM | |
707 LIBS_SYSTEM | |
708 CRT_DIR | |
709 LIB_MATH | |
710 START_FILES | |
711 LIBSOUND | |
712 PKG_CONFIG | |
713 ALSA_CFLAGS | |
714 ALSA_LIBS | |
715 CFLAGS_SOUND | |
716 SET_MAKE | |
717 XMKMF | |
718 LD_SWITCH_X_SITE_AUX | |
719 LD_SWITCH_X_SITE_AUX_RPATH | |
720 NS_IMPL_GNUSTEP_INC | |
721 NS_OBJ | |
722 NS_SUPPORT | |
723 LIB_STANDARD | |
724 HAVE_XSERVER | |
725 RSVG_CFLAGS | |
726 RSVG_LIBS | |
727 GTK_CFLAGS | |
728 GTK_LIBS | |
729 GTK_OBJ | |
730 DBUS_CFLAGS | |
731 DBUS_LIBS | |
732 DBUS_OBJ | |
733 GCONF_CFLAGS | |
734 GCONF_LIBS | |
735 LIBSELINUX_LIBS | |
736 LIBXTR6 | |
737 LIBXMU | |
738 FONTCONFIG_CFLAGS | |
739 FONTCONFIG_LIBS | |
740 XFT_CFLAGS | |
741 XFT_LIBS | |
742 LIBOTF_CFLAGS | |
743 LIBOTF_LIBS | |
744 M17N_FLT_CFLAGS | |
745 M17N_FLT_LIBS | |
746 FREETYPE_CFLAGS | |
747 FREETYPE_LIBS | |
748 LIBXPM | |
749 LIBJPEG | |
750 LIBPNG | |
751 LIBTIFF | |
752 LIBGIF | |
753 LIBGPM | |
754 LIBXSM | |
755 ALLOCA | |
756 liblockfile | |
757 LIBS_MAIL | |
758 BLESSMAIL_TARGET | |
759 LIBOBJS | |
760 NEED_SETGID | |
761 KMEM_GROUP | |
762 GETLOADAVG_LIBS | |
763 GETOPT_H | |
764 GETOPTOBJS | |
765 LIBS_TERMCAP | |
766 TERMCAP_OBJ | |
767 LIBHESIOD | |
768 LIBRESOLV | |
769 COM_ERRLIB | |
770 CRYPTOLIB | |
771 KRB5LIB | |
772 DESLIB | |
773 KRB4LIB | |
774 version | |
775 configuration | |
776 canonical | |
777 srcdir | |
778 lispdir | |
779 locallisppath | |
780 lisppath | |
781 x_default_search_path | |
782 etcdir | |
783 archlibdir | |
784 bitmapdir | |
785 gamedir | |
786 gameuser | |
787 unexec | |
788 LD_SWITCH_X_SITE | |
789 C_SWITCH_X_SITE | |
790 C_SWITCH_X_SYSTEM | |
791 X_TOOLKIT_TYPE | |
792 machfile | |
793 opsysfile | |
794 ns_appdir | |
795 ns_appbindir | |
796 ns_appresdir | |
797 ns_appsrc | |
798 GNUSTEP_SYSTEM_HEADERS | |
799 GNUSTEP_SYSTEM_LIBRARIES | |
800 GNU_OBJC_CFLAGS | |
801 OTHER_FILES | |
802 FONT_OBJ | |
803 XMENU_OBJ | |
804 XOBJ | |
805 WIDGET_OBJ | |
806 TOOLKIT_LIBW | |
807 LIBXT_OTHER | |
808 OLDXMENU_TARGET | |
809 OLDXMENU | |
810 LIBXMENU | |
811 LIBX_OTHER | |
812 CYGWIN_OBJ | |
813 PRE_ALLOC_OBJ | |
814 POST_ALLOC_OBJ | |
815 LD_SWITCH_SYSTEM_TEMACS | |
816 LD_SWITCH_SYSTEM_EXTRA | |
817 LIB_GCC | |
818 MOUSE_SUPPORT | |
819 TOOLTIP_SUPPORT | |
598 WINDOW_SUPPORT | 820 WINDOW_SUPPORT |
599 TOOLTIP_SUPPORT | 821 LTLIBOBJS' |
600 MOUSE_SUPPORT | |
601 LIB_GCC | |
602 LD_SWITCH_SYSTEM_EXTRA | |
603 LD_SWITCH_SYSTEM_TEMACS | |
604 POST_ALLOC_OBJ | |
605 PRE_ALLOC_OBJ | |
606 CYGWIN_OBJ | |
607 LIBX_OTHER | |
608 LIBXMENU | |
609 OLDXMENU | |
610 OLDXMENU_TARGET | |
611 LIBXT_OTHER | |
612 TOOLKIT_LIBW | |
613 WIDGET_OBJ | |
614 XOBJ | |
615 XMENU_OBJ | |
616 OTHER_FILES | |
617 GNU_OBJC_CFLAGS | |
618 GNUSTEP_SYSTEM_LIBRARIES | |
619 GNUSTEP_SYSTEM_HEADERS | |
620 ns_appsrc | |
621 ns_appresdir | |
622 ns_appbindir | |
623 ns_appdir | |
624 opsysfile | |
625 machfile | |
626 X_TOOLKIT_TYPE | |
627 C_SWITCH_X_SYSTEM | |
628 C_SWITCH_X_SITE | |
629 LD_SWITCH_X_SITE | |
630 unexec | |
631 gameuser | |
632 gamedir | |
633 bitmapdir | |
634 archlibdir | |
635 etcdir | |
636 x_default_search_path | |
637 lisppath | |
638 locallisppath | |
639 lispdir | |
640 srcdir | |
641 canonical | |
642 configuration | |
643 version | |
644 KRB4LIB | |
645 DESLIB | |
646 KRB5LIB | |
647 CRYPTOLIB | |
648 COM_ERRLIB | |
649 LIBRESOLV | |
650 LIBHESIOD | |
651 TERMCAP_OBJ | |
652 LIBS_TERMCAP | |
653 GETOPTOBJS | |
654 GETOPT_H | |
655 GETLOADAVG_LIBS | |
656 KMEM_GROUP | |
657 NEED_SETGID | |
658 LIBOBJS | |
659 BLESSMAIL_TARGET | |
660 LIBS_MAIL | |
661 liblockfile | |
662 ALLOCA | |
663 LIBXSM | |
664 LIBGPM | |
665 LIBGIF | |
666 LIBTIFF | |
667 LIBPNG | |
668 LIBJPEG | |
669 LIBXPM | |
670 FREETYPE_LIBS | |
671 FREETYPE_CFLAGS | |
672 FONT_OBJ | |
673 M17N_FLT_LIBS | |
674 M17N_FLT_CFLAGS | |
675 LIBOTF_LIBS | |
676 LIBOTF_CFLAGS | |
677 XFT_LIBS | |
678 XFT_CFLAGS | |
679 FONTCONFIG_LIBS | |
680 FONTCONFIG_CFLAGS | |
681 LIBXMU | |
682 LIBXTR6 | |
683 LIBSELINUX_LIBS | |
684 GCONF_LIBS | |
685 GCONF_CFLAGS | |
686 DBUS_OBJ | |
687 DBUS_LIBS | |
688 DBUS_CFLAGS | |
689 GTK_OBJ | |
690 GTK_LIBS | |
691 GTK_CFLAGS | |
692 RSVG_LIBS | |
693 RSVG_CFLAGS | |
694 HAVE_XSERVER | |
695 LIB_STANDARD | |
696 NS_SUPPORT | |
697 NS_OBJ | |
698 NS_IMPL_GNUSTEP_INC | |
699 LD_SWITCH_X_SITE_AUX_RPATH | |
700 LD_SWITCH_X_SITE_AUX | |
701 XMKMF | |
702 SET_MAKE | |
703 CFLAGS_SOUND | |
704 ALSA_LIBS | |
705 ALSA_CFLAGS | |
706 PKG_CONFIG | |
707 LIBSOUND | |
708 START_FILES | |
709 LIB_MATH | |
710 CRT_DIR | |
711 LIBS_SYSTEM | |
712 C_SWITCH_SYSTEM | |
713 C_SWITCH_MACHINE | |
714 LD_SWITCH_SYSTEM | |
715 MAKEINFO | |
716 GZIP_PROG | |
717 INSTALL_INFO | |
718 RANLIB | |
719 INSTALL_DATA | |
720 INSTALL_SCRIPT | |
721 INSTALL_PROGRAM | |
722 EGREP | |
723 GREP | |
724 CPP | |
725 OBJEXT | |
726 EXEEXT | |
727 ac_ct_CC | |
728 CPPFLAGS | |
729 LDFLAGS | |
730 CFLAGS | |
731 CC | |
732 host_os | |
733 host_vendor | |
734 host_cpu | |
735 host | |
736 build_os | |
737 build_vendor | |
738 build_cpu | |
739 build | |
740 MAINT | |
741 target_alias | |
742 host_alias | |
743 build_alias | |
744 LIBS | |
745 ECHO_T | |
746 ECHO_N | |
747 ECHO_C | |
748 DEFS | |
749 mandir | |
750 localedir | |
751 libdir | |
752 psdir | |
753 pdfdir | |
754 dvidir | |
755 htmldir | |
756 infodir | |
757 docdir | |
758 oldincludedir | |
759 includedir | |
760 localstatedir | |
761 sharedstatedir | |
762 sysconfdir | |
763 datadir | |
764 datarootdir | |
765 libexecdir | |
766 sbindir | |
767 bindir | |
768 program_transform_name | |
769 prefix | |
770 exec_prefix | |
771 PACKAGE_URL | |
772 PACKAGE_BUGREPORT | |
773 PACKAGE_STRING | |
774 PACKAGE_VERSION | |
775 PACKAGE_TARNAME | |
776 PACKAGE_NAME | |
777 PATH_SEPARATOR | |
778 SHELL' | |
779 ac_subst_files='' | 822 ac_subst_files='' |
780 ac_user_opts=' | 823 ac_user_opts=' |
781 enable_option_checking | 824 enable_option_checking |
782 with_pop | 825 with_pop |
783 with_kerberos | 826 with_kerberos |
938 | 981 |
939 -disable-* | --disable-*) | 982 -disable-* | --disable-*) |
940 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 983 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
941 # Reject names that are not valid shell variable names. | 984 # Reject names that are not valid shell variable names. |
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
943 as_fn_error "invalid feature name: $ac_useropt" | 986 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
987 { (exit 1); exit 1; }; } | |
944 ac_useropt_orig=$ac_useropt | 988 ac_useropt_orig=$ac_useropt |
945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 989 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
946 case $ac_user_opts in | 990 case $ac_user_opts in |
947 *" | 991 *" |
948 "enable_$ac_useropt" | 992 "enable_$ac_useropt" |
964 | 1008 |
965 -enable-* | --enable-*) | 1009 -enable-* | --enable-*) |
966 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 1010 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
967 # Reject names that are not valid shell variable names. | 1011 # Reject names that are not valid shell variable names. |
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
969 as_fn_error "invalid feature name: $ac_useropt" | 1013 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
1014 { (exit 1); exit 1; }; } | |
970 ac_useropt_orig=$ac_useropt | 1015 ac_useropt_orig=$ac_useropt |
971 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1016 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
972 case $ac_user_opts in | 1017 case $ac_user_opts in |
973 *" | 1018 *" |
974 "enable_$ac_useropt" | 1019 "enable_$ac_useropt" |
1168 | 1213 |
1169 -with-* | --with-*) | 1214 -with-* | --with-*) |
1170 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1215 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1171 # Reject names that are not valid shell variable names. | 1216 # Reject names that are not valid shell variable names. |
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1173 as_fn_error "invalid package name: $ac_useropt" | 1218 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1219 { (exit 1); exit 1; }; } | |
1174 ac_useropt_orig=$ac_useropt | 1220 ac_useropt_orig=$ac_useropt |
1175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1221 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1176 case $ac_user_opts in | 1222 case $ac_user_opts in |
1177 *" | 1223 *" |
1178 "with_$ac_useropt" | 1224 "with_$ac_useropt" |
1184 | 1230 |
1185 -without-* | --without-*) | 1231 -without-* | --without-*) |
1186 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1232 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1187 # Reject names that are not valid shell variable names. | 1233 # Reject names that are not valid shell variable names. |
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1189 as_fn_error "invalid package name: $ac_useropt" | 1235 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1236 { (exit 1); exit 1; }; } | |
1190 ac_useropt_orig=$ac_useropt | 1237 ac_useropt_orig=$ac_useropt |
1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1192 case $ac_user_opts in | 1239 case $ac_user_opts in |
1193 *" | 1240 *" |
1194 "with_$ac_useropt" | 1241 "with_$ac_useropt" |
1214 ac_prev=x_libraries ;; | 1261 ac_prev=x_libraries ;; |
1215 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1262 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1216 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1263 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1217 x_libraries=$ac_optarg ;; | 1264 x_libraries=$ac_optarg ;; |
1218 | 1265 |
1219 -*) as_fn_error "unrecognized option: \`$ac_option' | 1266 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
1220 Try \`$0 --help' for more information." | 1267 Try \`$0 --help' for more information." >&2 |
1268 { (exit 1); exit 1; }; } | |
1221 ;; | 1269 ;; |
1222 | 1270 |
1223 *=*) | 1271 *=*) |
1224 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1272 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1225 # Reject names that are not valid shell variable names. | 1273 # Reject names that are not valid shell variable names. |
1226 case $ac_envvar in #( | 1274 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1227 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1275 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1228 as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1276 { (exit 1); exit 1; }; } |
1229 esac | |
1230 eval $ac_envvar=\$ac_optarg | 1277 eval $ac_envvar=\$ac_optarg |
1231 export $ac_envvar ;; | 1278 export $ac_envvar ;; |
1232 | 1279 |
1233 *) | 1280 *) |
1234 # FIXME: should be removed in autoconf 3.0. | 1281 # FIXME: should be removed in autoconf 3.0. |
1241 esac | 1288 esac |
1242 done | 1289 done |
1243 | 1290 |
1244 if test -n "$ac_prev"; then | 1291 if test -n "$ac_prev"; then |
1245 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1292 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1246 as_fn_error "missing argument to $ac_option" | 1293 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
1294 { (exit 1); exit 1; }; } | |
1247 fi | 1295 fi |
1248 | 1296 |
1249 if test -n "$ac_unrecognized_opts"; then | 1297 if test -n "$ac_unrecognized_opts"; then |
1250 case $enable_option_checking in | 1298 case $enable_option_checking in |
1251 no) ;; | 1299 no) ;; |
1252 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1300 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 |
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1301 { (exit 1); exit 1; }; } ;; |
1302 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1254 esac | 1303 esac |
1255 fi | 1304 fi |
1256 | 1305 |
1257 # Check all directory arguments for consistency. | 1306 # Check all directory arguments for consistency. |
1258 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1307 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1270 # Be sure to have absolute directory names. | 1319 # Be sure to have absolute directory names. |
1271 case $ac_val in | 1320 case $ac_val in |
1272 [\\/$]* | ?:[\\/]* ) continue;; | 1321 [\\/$]* | ?:[\\/]* ) continue;; |
1273 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1322 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1274 esac | 1323 esac |
1275 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1324 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1325 { (exit 1); exit 1; }; } | |
1276 done | 1326 done |
1277 | 1327 |
1278 # There might be people who depend on the old broken behavior: `$host' | 1328 # There might be people who depend on the old broken behavior: `$host' |
1279 # used to hold the argument of --host etc. | 1329 # used to hold the argument of --host etc. |
1280 # FIXME: To remove some day. | 1330 # FIXME: To remove some day. |
1300 | 1350 |
1301 | 1351 |
1302 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1352 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1303 ac_ls_di=`ls -di .` && | 1353 ac_ls_di=`ls -di .` && |
1304 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1354 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1305 as_fn_error "working directory cannot be determined" | 1355 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 |
1356 { (exit 1); exit 1; }; } | |
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1307 as_fn_error "pwd does not report name of working directory" | 1358 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
1359 { (exit 1); exit 1; }; } | |
1308 | 1360 |
1309 | 1361 |
1310 # Find the source files, if location was not specified. | 1362 # Find the source files, if location was not specified. |
1311 if test -z "$srcdir"; then | 1363 if test -z "$srcdir"; then |
1312 ac_srcdir_defaulted=yes | 1364 ac_srcdir_defaulted=yes |
1341 else | 1393 else |
1342 ac_srcdir_defaulted=no | 1394 ac_srcdir_defaulted=no |
1343 fi | 1395 fi |
1344 if test ! -r "$srcdir/$ac_unique_file"; then | 1396 if test ! -r "$srcdir/$ac_unique_file"; then |
1345 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1397 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1346 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1398 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1399 { (exit 1); exit 1; }; } | |
1347 fi | 1400 fi |
1348 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1401 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1349 ac_abs_confdir=`( | 1402 ac_abs_confdir=`( |
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1403 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
1404 { (exit 1); exit 1; }; } | |
1351 pwd)` | 1405 pwd)` |
1352 # When building in place, set srcdir=. | 1406 # When building in place, set srcdir=. |
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1407 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1354 srcdir=. | 1408 srcdir=. |
1355 fi | 1409 fi |
1525 CC C compiler command | 1579 CC C compiler command |
1526 CFLAGS C compiler flags | 1580 CFLAGS C compiler flags |
1527 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1528 nonstandard directory <lib dir> | 1582 nonstandard directory <lib dir> |
1529 LIBS libraries to pass to the linker, e.g. -l<library> | 1583 LIBS libraries to pass to the linker, e.g. -l<library> |
1530 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1584 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1531 you have headers in a nonstandard directory <include dir> | 1585 you have headers in a nonstandard directory <include dir> |
1532 CPP C preprocessor | 1586 CPP C preprocessor |
1533 XMKMF Path to xmkmf, Makefile generator for X Window System | 1587 XMKMF Path to xmkmf, Makefile generator for X Window System |
1534 | 1588 |
1535 Use these variables to override the choices made by `configure' or to help | 1589 Use these variables to override the choices made by `configure' or to help |
1536 it to find libraries and programs with nonstandard names/locations. | 1590 it to find libraries and programs with nonstandard names/locations. |
1537 | 1591 |
1538 Report bugs to the package provider. | |
1539 _ACEOF | 1592 _ACEOF |
1540 ac_status=$? | 1593 ac_status=$? |
1541 fi | 1594 fi |
1542 | 1595 |
1543 if test "$ac_init_help" = "recursive"; then | 1596 if test "$ac_init_help" = "recursive"; then |
1597 | 1650 |
1598 test -n "$ac_init_help" && exit $ac_status | 1651 test -n "$ac_init_help" && exit $ac_status |
1599 if $ac_init_version; then | 1652 if $ac_init_version; then |
1600 cat <<\_ACEOF | 1653 cat <<\_ACEOF |
1601 emacs configure 24.0.50 | 1654 emacs configure 24.0.50 |
1602 generated by GNU Autoconf 2.65 | 1655 generated by GNU Autoconf 2.62 |
1603 | 1656 |
1604 Copyright (C) 2009 Free Software Foundation, Inc. | 1657 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1658 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
1605 This configure script is free software; the Free Software Foundation | 1659 This configure script is free software; the Free Software Foundation |
1606 gives unlimited permission to copy, distribute and modify it. | 1660 gives unlimited permission to copy, distribute and modify it. |
1607 _ACEOF | 1661 _ACEOF |
1608 exit | 1662 exit |
1609 fi | 1663 fi |
1610 | |
1611 ## ------------------------ ## | |
1612 ## Autoconf initialization. ## | |
1613 ## ------------------------ ## | |
1614 | |
1615 # ac_fn_c_try_compile LINENO | |
1616 # -------------------------- | |
1617 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1618 ac_fn_c_try_compile () | |
1619 { | |
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1621 rm -f conftest.$ac_objext | |
1622 if { { ac_try="$ac_compile" | |
1623 case "(($ac_try" in | |
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1625 *) ac_try_echo=$ac_try;; | |
1626 esac | |
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1628 $as_echo "$ac_try_echo"; } >&5 | |
1629 (eval "$ac_compile") 2>conftest.err | |
1630 ac_status=$? | |
1631 if test -s conftest.err; then | |
1632 grep -v '^ *+' conftest.err >conftest.er1 | |
1633 cat conftest.er1 >&5 | |
1634 mv -f conftest.er1 conftest.err | |
1635 fi | |
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1637 test $ac_status = 0; } && { | |
1638 test -z "$ac_c_werror_flag" || | |
1639 test ! -s conftest.err | |
1640 } && test -s conftest.$ac_objext; then : | |
1641 ac_retval=0 | |
1642 else | |
1643 $as_echo "$as_me: failed program was:" >&5 | |
1644 sed 's/^/| /' conftest.$ac_ext >&5 | |
1645 | |
1646 ac_retval=1 | |
1647 fi | |
1648 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1649 as_fn_set_status $ac_retval | |
1650 | |
1651 } # ac_fn_c_try_compile | |
1652 | |
1653 # ac_fn_c_try_link LINENO | |
1654 # ----------------------- | |
1655 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1656 ac_fn_c_try_link () | |
1657 { | |
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1659 rm -f conftest.$ac_objext conftest$ac_exeext | |
1660 if { { ac_try="$ac_link" | |
1661 case "(($ac_try" in | |
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1663 *) ac_try_echo=$ac_try;; | |
1664 esac | |
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1666 $as_echo "$ac_try_echo"; } >&5 | |
1667 (eval "$ac_link") 2>conftest.err | |
1668 ac_status=$? | |
1669 if test -s conftest.err; then | |
1670 grep -v '^ *+' conftest.err >conftest.er1 | |
1671 cat conftest.er1 >&5 | |
1672 mv -f conftest.er1 conftest.err | |
1673 fi | |
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1675 test $ac_status = 0; } && { | |
1676 test -z "$ac_c_werror_flag" || | |
1677 test ! -s conftest.err | |
1678 } && test -s conftest$ac_exeext && { | |
1679 test "$cross_compiling" = yes || | |
1680 $as_test_x conftest$ac_exeext | |
1681 }; then : | |
1682 ac_retval=0 | |
1683 else | |
1684 $as_echo "$as_me: failed program was:" >&5 | |
1685 sed 's/^/| /' conftest.$ac_ext >&5 | |
1686 | |
1687 ac_retval=1 | |
1688 fi | |
1689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1691 # interfere with the next link command; also delete a directory that is | |
1692 # left behind by Apple's compiler. We do this before executing the actions. | |
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1695 as_fn_set_status $ac_retval | |
1696 | |
1697 } # ac_fn_c_try_link | |
1698 | |
1699 # ac_fn_c_try_cpp LINENO | |
1700 # ---------------------- | |
1701 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1702 ac_fn_c_try_cpp () | |
1703 { | |
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1705 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1706 case "(($ac_try" in | |
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1708 *) ac_try_echo=$ac_try;; | |
1709 esac | |
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1711 $as_echo "$ac_try_echo"; } >&5 | |
1712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1713 ac_status=$? | |
1714 if test -s conftest.err; then | |
1715 grep -v '^ *+' conftest.err >conftest.er1 | |
1716 cat conftest.er1 >&5 | |
1717 mv -f conftest.er1 conftest.err | |
1718 fi | |
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1720 test $ac_status = 0; } >/dev/null && { | |
1721 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1722 test ! -s conftest.err | |
1723 }; then : | |
1724 ac_retval=0 | |
1725 else | |
1726 $as_echo "$as_me: failed program was:" >&5 | |
1727 sed 's/^/| /' conftest.$ac_ext >&5 | |
1728 | |
1729 ac_retval=1 | |
1730 fi | |
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1732 as_fn_set_status $ac_retval | |
1733 | |
1734 } # ac_fn_c_try_cpp | |
1735 | |
1736 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1737 # ------------------------------------------------------- | |
1738 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1739 # the include files in INCLUDES and setting the cache variable VAR | |
1740 # accordingly. | |
1741 ac_fn_c_check_header_mongrel () | |
1742 { | |
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1746 $as_echo_n "checking for $2... " >&6; } | |
1747 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1748 $as_echo_n "(cached) " >&6 | |
1749 fi | |
1750 eval ac_res=\$$3 | |
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1752 $as_echo "$ac_res" >&6; } | |
1753 else | |
1754 # Is the header compilable? | |
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1756 $as_echo_n "checking $2 usability... " >&6; } | |
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1758 /* end confdefs.h. */ | |
1759 $4 | |
1760 #include <$2> | |
1761 _ACEOF | |
1762 if ac_fn_c_try_compile "$LINENO"; then : | |
1763 ac_header_compiler=yes | |
1764 else | |
1765 ac_header_compiler=no | |
1766 fi | |
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1769 $as_echo "$ac_header_compiler" >&6; } | |
1770 | |
1771 # Is the header present? | |
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1773 $as_echo_n "checking $2 presence... " >&6; } | |
1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1775 /* end confdefs.h. */ | |
1776 #include <$2> | |
1777 _ACEOF | |
1778 if ac_fn_c_try_cpp "$LINENO"; then : | |
1779 ac_header_preproc=yes | |
1780 else | |
1781 ac_header_preproc=no | |
1782 fi | |
1783 rm -f conftest.err conftest.$ac_ext | |
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1785 $as_echo "$ac_header_preproc" >&6; } | |
1786 | |
1787 # So? What about this header? | |
1788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1789 yes:no: ) | |
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1791 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1793 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1794 ;; | |
1795 no:yes:* ) | |
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1797 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1799 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1801 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1803 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1805 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1806 ;; | |
1807 esac | |
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1809 $as_echo_n "checking for $2... " >&6; } | |
1810 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1811 $as_echo_n "(cached) " >&6 | |
1812 else | |
1813 eval "$3=\$ac_header_compiler" | |
1814 fi | |
1815 eval ac_res=\$$3 | |
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1817 $as_echo "$ac_res" >&6; } | |
1818 fi | |
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1820 | |
1821 } # ac_fn_c_check_header_mongrel | |
1822 | |
1823 # ac_fn_c_try_run LINENO | |
1824 # ---------------------- | |
1825 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1826 # that executables *can* be run. | |
1827 ac_fn_c_try_run () | |
1828 { | |
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1830 if { { ac_try="$ac_link" | |
1831 case "(($ac_try" in | |
1832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1833 *) ac_try_echo=$ac_try;; | |
1834 esac | |
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1836 $as_echo "$ac_try_echo"; } >&5 | |
1837 (eval "$ac_link") 2>&5 | |
1838 ac_status=$? | |
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1840 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1841 { { case "(($ac_try" in | |
1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1843 *) ac_try_echo=$ac_try;; | |
1844 esac | |
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1846 $as_echo "$ac_try_echo"; } >&5 | |
1847 (eval "$ac_try") 2>&5 | |
1848 ac_status=$? | |
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1850 test $ac_status = 0; }; }; then : | |
1851 ac_retval=0 | |
1852 else | |
1853 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1854 $as_echo "$as_me: failed program was:" >&5 | |
1855 sed 's/^/| /' conftest.$ac_ext >&5 | |
1856 | |
1857 ac_retval=$ac_status | |
1858 fi | |
1859 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1861 as_fn_set_status $ac_retval | |
1862 | |
1863 } # ac_fn_c_try_run | |
1864 | |
1865 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1866 # ------------------------------------------------------- | |
1867 # Tests whether HEADER exists and can be compiled using the include files in | |
1868 # INCLUDES, setting the cache variable VAR accordingly. | |
1869 ac_fn_c_check_header_compile () | |
1870 { | |
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1873 $as_echo_n "checking for $2... " >&6; } | |
1874 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1875 $as_echo_n "(cached) " >&6 | |
1876 else | |
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1878 /* end confdefs.h. */ | |
1879 $4 | |
1880 #include <$2> | |
1881 _ACEOF | |
1882 if ac_fn_c_try_compile "$LINENO"; then : | |
1883 eval "$3=yes" | |
1884 else | |
1885 eval "$3=no" | |
1886 fi | |
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1888 fi | |
1889 eval ac_res=\$$3 | |
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1891 $as_echo "$ac_res" >&6; } | |
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1893 | |
1894 } # ac_fn_c_check_header_compile | |
1895 | |
1896 # ac_fn_c_check_decl LINENO SYMBOL VAR | |
1897 # ------------------------------------ | |
1898 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | |
1899 ac_fn_c_check_decl () | |
1900 { | |
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | |
1903 $as_echo_n "checking whether $2 is declared... " >&6; } | |
1904 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1905 $as_echo_n "(cached) " >&6 | |
1906 else | |
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1908 /* end confdefs.h. */ | |
1909 $4 | |
1910 int | |
1911 main () | |
1912 { | |
1913 #ifndef $2 | |
1914 (void) $2; | |
1915 #endif | |
1916 | |
1917 ; | |
1918 return 0; | |
1919 } | |
1920 _ACEOF | |
1921 if ac_fn_c_try_compile "$LINENO"; then : | |
1922 eval "$3=yes" | |
1923 else | |
1924 eval "$3=no" | |
1925 fi | |
1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1927 fi | |
1928 eval ac_res=\$$3 | |
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1930 $as_echo "$ac_res" >&6; } | |
1931 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1932 | |
1933 } # ac_fn_c_check_decl | |
1934 | |
1935 # ac_fn_c_check_header_preproc LINENO HEADER VAR | |
1936 # ---------------------------------------------- | |
1937 # Tests whether HEADER is present, setting the cache variable VAR accordingly. | |
1938 ac_fn_c_check_header_preproc () | |
1939 { | |
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1942 $as_echo_n "checking for $2... " >&6; } | |
1943 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1944 $as_echo_n "(cached) " >&6 | |
1945 else | |
1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1947 /* end confdefs.h. */ | |
1948 #include <$2> | |
1949 _ACEOF | |
1950 if ac_fn_c_try_cpp "$LINENO"; then : | |
1951 eval "$3=yes" | |
1952 else | |
1953 eval "$3=no" | |
1954 fi | |
1955 rm -f conftest.err conftest.$ac_ext | |
1956 fi | |
1957 eval ac_res=\$$3 | |
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1959 $as_echo "$ac_res" >&6; } | |
1960 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1961 | |
1962 } # ac_fn_c_check_header_preproc | |
1963 | |
1964 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | |
1965 # ---------------------------------------------------- | |
1966 # Tries to find if the field MEMBER exists in type AGGR, after including | |
1967 # INCLUDES, setting cache variable VAR accordingly. | |
1968 ac_fn_c_check_member () | |
1969 { | |
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | |
1972 $as_echo_n "checking for $2.$3... " >&6; } | |
1973 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1974 $as_echo_n "(cached) " >&6 | |
1975 else | |
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1977 /* end confdefs.h. */ | |
1978 $5 | |
1979 int | |
1980 main () | |
1981 { | |
1982 static $2 ac_aggr; | |
1983 if (ac_aggr.$3) | |
1984 return 0; | |
1985 ; | |
1986 return 0; | |
1987 } | |
1988 _ACEOF | |
1989 if ac_fn_c_try_compile "$LINENO"; then : | |
1990 eval "$4=yes" | |
1991 else | |
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1993 /* end confdefs.h. */ | |
1994 $5 | |
1995 int | |
1996 main () | |
1997 { | |
1998 static $2 ac_aggr; | |
1999 if (sizeof ac_aggr.$3) | |
2000 return 0; | |
2001 ; | |
2002 return 0; | |
2003 } | |
2004 _ACEOF | |
2005 if ac_fn_c_try_compile "$LINENO"; then : | |
2006 eval "$4=yes" | |
2007 else | |
2008 eval "$4=no" | |
2009 fi | |
2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2011 fi | |
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2013 fi | |
2014 eval ac_res=\$$4 | |
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2016 $as_echo "$ac_res" >&6; } | |
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
2018 | |
2019 } # ac_fn_c_check_member | |
2020 | |
2021 # ac_fn_c_check_func LINENO FUNC VAR | |
2022 # ---------------------------------- | |
2023 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
2024 ac_fn_c_check_func () | |
2025 { | |
2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2028 $as_echo_n "checking for $2... " >&6; } | |
2029 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2030 $as_echo_n "(cached) " >&6 | |
2031 else | |
2032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2033 /* end confdefs.h. */ | |
2034 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
2035 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
2036 #define $2 innocuous_$2 | |
2037 | |
2038 /* System header to define __stub macros and hopefully few prototypes, | |
2039 which can conflict with char $2 (); below. | |
2040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
2041 <limits.h> exists even on freestanding compilers. */ | |
2042 | |
2043 #ifdef __STDC__ | |
2044 # include <limits.h> | |
2045 #else | |
2046 # include <assert.h> | |
2047 #endif | |
2048 | |
2049 #undef $2 | |
2050 | |
2051 /* Override any GCC internal prototype to avoid an error. | |
2052 Use char because int might match the return type of a GCC | |
2053 builtin and then its argument prototype would still apply. */ | |
2054 #ifdef __cplusplus | |
2055 extern "C" | |
2056 #endif | |
2057 char $2 (); | |
2058 /* The GNU C library defines this for functions which it implements | |
2059 to always fail with ENOSYS. Some functions are actually named | |
2060 something starting with __ and the normal name is an alias. */ | |
2061 #if defined __stub_$2 || defined __stub___$2 | |
2062 choke me | |
2063 #endif | |
2064 | |
2065 int | |
2066 main () | |
2067 { | |
2068 return $2 (); | |
2069 ; | |
2070 return 0; | |
2071 } | |
2072 _ACEOF | |
2073 if ac_fn_c_try_link "$LINENO"; then : | |
2074 eval "$3=yes" | |
2075 else | |
2076 eval "$3=no" | |
2077 fi | |
2078 rm -f core conftest.err conftest.$ac_objext \ | |
2079 conftest$ac_exeext conftest.$ac_ext | |
2080 fi | |
2081 eval ac_res=\$$3 | |
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2083 $as_echo "$ac_res" >&6; } | |
2084 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
2085 | |
2086 } # ac_fn_c_check_func | |
2087 | |
2088 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | |
2089 # ------------------------------------------- | |
2090 # Tests whether TYPE exists after having included INCLUDES, setting cache | |
2091 # variable VAR accordingly. | |
2092 ac_fn_c_check_type () | |
2093 { | |
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2096 $as_echo_n "checking for $2... " >&6; } | |
2097 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2098 $as_echo_n "(cached) " >&6 | |
2099 else | |
2100 eval "$3=no" | |
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2102 /* end confdefs.h. */ | |
2103 $4 | |
2104 int | |
2105 main () | |
2106 { | |
2107 if (sizeof ($2)) | |
2108 return 0; | |
2109 ; | |
2110 return 0; | |
2111 } | |
2112 _ACEOF | |
2113 if ac_fn_c_try_compile "$LINENO"; then : | |
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2115 /* end confdefs.h. */ | |
2116 $4 | |
2117 int | |
2118 main () | |
2119 { | |
2120 if (sizeof (($2))) | |
2121 return 0; | |
2122 ; | |
2123 return 0; | |
2124 } | |
2125 _ACEOF | |
2126 if ac_fn_c_try_compile "$LINENO"; then : | |
2127 | |
2128 else | |
2129 eval "$3=yes" | |
2130 fi | |
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2132 fi | |
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2134 fi | |
2135 eval ac_res=\$$3 | |
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2137 $as_echo "$ac_res" >&6; } | |
2138 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
2139 | |
2140 } # ac_fn_c_check_type | |
2141 cat >config.log <<_ACEOF | 1664 cat >config.log <<_ACEOF |
2142 This file contains any messages produced by compilers while | 1665 This file contains any messages produced by compilers while |
2143 running configure, to aid debugging if configure makes a mistake. | 1666 running configure, to aid debugging if configure makes a mistake. |
2144 | 1667 |
2145 It was created by emacs $as_me 24.0.50, which was | 1668 It was created by emacs $as_me 24.0.50, which was |
2146 generated by GNU Autoconf 2.65. Invocation command line was | 1669 generated by GNU Autoconf 2.62. Invocation command line was |
2147 | 1670 |
2148 $ $0 $@ | 1671 $ $0 $@ |
2149 | 1672 |
2150 _ACEOF | 1673 _ACEOF |
2151 exec 5>>config.log | 1674 exec 5>>config.log |
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2178 for as_dir in $PATH | 1701 for as_dir in $PATH |
2179 do | 1702 do |
2180 IFS=$as_save_IFS | 1703 IFS=$as_save_IFS |
2181 test -z "$as_dir" && as_dir=. | 1704 test -z "$as_dir" && as_dir=. |
2182 $as_echo "PATH: $as_dir" | 1705 $as_echo "PATH: $as_dir" |
2183 done | 1706 done |
2184 IFS=$as_save_IFS | 1707 IFS=$as_save_IFS |
2185 | 1708 |
2186 } >&5 | 1709 } >&5 |
2187 | 1710 |
2188 cat >&5 <<_ACEOF | 1711 cat >&5 <<_ACEOF |
2215 continue ;; | 1738 continue ;; |
2216 *\'*) | 1739 *\'*) |
2217 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1740 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2218 esac | 1741 esac |
2219 case $ac_pass in | 1742 case $ac_pass in |
2220 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1743 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
2221 2) | 1744 2) |
2222 as_fn_append ac_configure_args1 " '$ac_arg'" | 1745 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
2223 if test $ac_must_keep_next = true; then | 1746 if test $ac_must_keep_next = true; then |
2224 ac_must_keep_next=false # Got value, back to normal. | 1747 ac_must_keep_next=false # Got value, back to normal. |
2225 else | 1748 else |
2226 case $ac_arg in | 1749 case $ac_arg in |
2227 *=* | --config-cache | -C | -disable-* | --disable-* \ | 1750 *=* | --config-cache | -C | -disable-* | --disable-* \ |
2233 esac | 1756 esac |
2234 ;; | 1757 ;; |
2235 -* ) ac_must_keep_next=true ;; | 1758 -* ) ac_must_keep_next=true ;; |
2236 esac | 1759 esac |
2237 fi | 1760 fi |
2238 as_fn_append ac_configure_args " '$ac_arg'" | 1761 ac_configure_args="$ac_configure_args '$ac_arg'" |
2239 ;; | 1762 ;; |
2240 esac | 1763 esac |
2241 done | 1764 done |
2242 done | 1765 done |
2243 { ac_configure_args0=; unset ac_configure_args0;} | 1766 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
2244 { ac_configure_args1=; unset ac_configure_args1;} | 1767 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
2245 | 1768 |
2246 # When interrupted or exit'd, cleanup temporary files, and complete | 1769 # When interrupted or exit'd, cleanup temporary files, and complete |
2247 # config.log. We remove comments because anyway the quotes in there | 1770 # config.log. We remove comments because anyway the quotes in there |
2248 # would cause problems or look ugly. | 1771 # would cause problems or look ugly. |
2249 # WARNING: Use '\'' to represent an apostrophe within the trap. | 1772 # WARNING: Use '\'' to represent an apostrophe within the trap. |
2264 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1787 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2265 eval ac_val=\$$ac_var | 1788 eval ac_val=\$$ac_var |
2266 case $ac_val in #( | 1789 case $ac_val in #( |
2267 *${as_nl}*) | 1790 *${as_nl}*) |
2268 case $ac_var in #( | 1791 case $ac_var in #( |
2269 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1792 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
2270 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 1793 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
2271 esac | 1794 esac |
2272 case $ac_var in #( | 1795 case $ac_var in #( |
2273 _ | IFS | as_nl) ;; #( | 1796 _ | IFS | as_nl) ;; #( |
2274 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1797 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2275 *) { eval $ac_var=; unset $ac_var;} ;; | 1798 *) $as_unset $ac_var ;; |
2276 esac ;; | 1799 esac ;; |
2277 esac | 1800 esac |
2278 done | 1801 done |
2279 (set) 2>&1 | | 1802 (set) 2>&1 | |
2280 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 1803 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2342 rm -f core *.core core.conftest.* && | 1865 rm -f core *.core core.conftest.* && |
2343 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 1866 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2344 exit $exit_status | 1867 exit $exit_status |
2345 ' 0 | 1868 ' 0 |
2346 for ac_signal in 1 2 13 15; do | 1869 for ac_signal in 1 2 13 15; do |
2347 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 1870 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2348 done | 1871 done |
2349 ac_signal=0 | 1872 ac_signal=0 |
2350 | 1873 |
2351 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1874 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2352 rm -f -r conftest* confdefs.h | 1875 rm -f -r conftest* confdefs.h |
2353 | 1876 |
2354 $as_echo "/* confdefs.h */" > confdefs.h | |
2355 | |
2356 # Predefined preprocessor variables. | 1877 # Predefined preprocessor variables. |
2357 | 1878 |
2358 cat >>confdefs.h <<_ACEOF | 1879 cat >>confdefs.h <<_ACEOF |
2359 #define PACKAGE_NAME "$PACKAGE_NAME" | 1880 #define PACKAGE_NAME "$PACKAGE_NAME" |
2360 _ACEOF | 1881 _ACEOF |
2361 | 1882 |
1883 | |
2362 cat >>confdefs.h <<_ACEOF | 1884 cat >>confdefs.h <<_ACEOF |
2363 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1885 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2364 _ACEOF | 1886 _ACEOF |
2365 | 1887 |
1888 | |
2366 cat >>confdefs.h <<_ACEOF | 1889 cat >>confdefs.h <<_ACEOF |
2367 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1890 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2368 _ACEOF | 1891 _ACEOF |
2369 | 1892 |
1893 | |
2370 cat >>confdefs.h <<_ACEOF | 1894 cat >>confdefs.h <<_ACEOF |
2371 #define PACKAGE_STRING "$PACKAGE_STRING" | 1895 #define PACKAGE_STRING "$PACKAGE_STRING" |
2372 _ACEOF | 1896 _ACEOF |
2373 | 1897 |
1898 | |
2374 cat >>confdefs.h <<_ACEOF | 1899 cat >>confdefs.h <<_ACEOF |
2375 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 1900 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2376 _ACEOF | |
2377 | |
2378 cat >>confdefs.h <<_ACEOF | |
2379 #define PACKAGE_URL "$PACKAGE_URL" | |
2380 _ACEOF | 1901 _ACEOF |
2381 | 1902 |
2382 | 1903 |
2383 # Let the site file select an alternate cache file if it wants to. | 1904 # Let the site file select an alternate cache file if it wants to. |
2384 # Prefer an explicitly selected file to automatically selected ones. | 1905 # Prefer an explicitly selected file to automatically selected ones. |
2394 ac_site_file2=$ac_default_prefix/etc/config.site | 1915 ac_site_file2=$ac_default_prefix/etc/config.site |
2395 fi | 1916 fi |
2396 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 1917 for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2397 do | 1918 do |
2398 test "x$ac_site_file" = xNONE && continue | 1919 test "x$ac_site_file" = xNONE && continue |
2399 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 1920 if test -r "$ac_site_file"; then |
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 1921 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2401 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 1922 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2402 sed 's/^/| /' "$ac_site_file" >&5 | 1923 sed 's/^/| /' "$ac_site_file" >&5 |
2403 . "$ac_site_file" | 1924 . "$ac_site_file" |
2404 fi | 1925 fi |
2405 done | 1926 done |
2406 | 1927 |
2407 if test -r "$cache_file"; then | 1928 if test -r "$cache_file"; then |
2408 # Some versions of bash will fail to source /dev/null (special files | 1929 # Some versions of bash will fail to source /dev/null (special |
2409 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 1930 # files actually), so we avoid doing that. |
2410 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 1931 if test -f "$cache_file"; then |
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 1932 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2412 $as_echo "$as_me: loading cache $cache_file" >&6;} | 1933 $as_echo "$as_me: loading cache $cache_file" >&6;} |
2413 case $cache_file in | 1934 case $cache_file in |
2414 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1935 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2415 *) . "./$cache_file";; | 1936 *) . "./$cache_file";; |
2416 esac | 1937 esac |
2417 fi | 1938 fi |
2418 else | 1939 else |
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 1940 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2420 $as_echo "$as_me: creating cache $cache_file" >&6;} | 1941 $as_echo "$as_me: creating cache $cache_file" >&6;} |
2421 >$cache_file | 1942 >$cache_file |
2422 fi | 1943 fi |
2423 | 1944 |
2424 as_fn_append ac_header_list " stdlib.h" | 1945 ac_header_list="$ac_header_list sys/time.h" |
2425 as_fn_append ac_header_list " unistd.h" | 1946 ac_header_list="$ac_header_list unistd.h" |
2426 as_fn_append ac_header_list " sys/param.h" | 1947 ac_func_list="$ac_func_list alarm" |
2427 as_fn_append ac_header_list " sys/time.h" | |
2428 as_fn_append ac_func_list " alarm" | |
2429 # Check that the precious variables saved in the cache have kept the same | 1948 # Check that the precious variables saved in the cache have kept the same |
2430 # value. | 1949 # value. |
2431 ac_cache_corrupted=false | 1950 ac_cache_corrupted=false |
2432 for ac_var in $ac_precious_vars; do | 1951 for ac_var in $ac_precious_vars; do |
2433 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 1952 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2434 eval ac_new_set=\$ac_env_${ac_var}_set | 1953 eval ac_new_set=\$ac_env_${ac_var}_set |
2435 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 1954 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2436 eval ac_new_val=\$ac_env_${ac_var}_value | 1955 eval ac_new_val=\$ac_env_${ac_var}_value |
2437 case $ac_old_set,$ac_new_set in | 1956 case $ac_old_set,$ac_new_set in |
2438 set,) | 1957 set,) |
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1958 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2440 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1959 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2441 ac_cache_corrupted=: ;; | 1960 ac_cache_corrupted=: ;; |
2442 ,set) | 1961 ,set) |
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 1962 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2444 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1963 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2445 ac_cache_corrupted=: ;; | 1964 ac_cache_corrupted=: ;; |
2446 ,);; | 1965 ,);; |
2447 *) | 1966 *) |
2448 if test "x$ac_old_val" != "x$ac_new_val"; then | 1967 if test "x$ac_old_val" != "x$ac_new_val"; then |
2449 # differences in whitespace do not lead to failure. | 1968 # differences in whitespace do not lead to failure. |
2450 ac_old_val_w=`echo x $ac_old_val` | 1969 ac_old_val_w=`echo x $ac_old_val` |
2451 ac_new_val_w=`echo x $ac_new_val` | 1970 ac_new_val_w=`echo x $ac_new_val` |
2452 if test "$ac_old_val_w" != "$ac_new_val_w"; then | 1971 if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 1972 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
2454 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1973 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2455 ac_cache_corrupted=: | 1974 ac_cache_corrupted=: |
2456 else | 1975 else |
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 1976 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2458 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 1977 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2459 eval $ac_var=\$ac_old_val | 1978 eval $ac_var=\$ac_old_val |
2460 fi | 1979 fi |
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | 1980 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
2462 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | 1981 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | 1982 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
2464 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | 1983 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2465 fi;; | 1984 fi;; |
2466 esac | 1985 esac |
2467 # Pass precious variables to config.status. | 1986 # Pass precious variables to config.status. |
2468 if test "$ac_new_set" = set; then | 1987 if test "$ac_new_set" = set; then |
2470 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 1989 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2471 *) ac_arg=$ac_var=$ac_new_val ;; | 1990 *) ac_arg=$ac_var=$ac_new_val ;; |
2472 esac | 1991 esac |
2473 case " $ac_configure_args " in | 1992 case " $ac_configure_args " in |
2474 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1993 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2475 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 1994 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2476 esac | 1995 esac |
2477 fi | 1996 fi |
2478 done | 1997 done |
2479 if $ac_cache_corrupted; then | 1998 if $ac_cache_corrupted; then |
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 1999 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
2483 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2000 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2484 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2001 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
2485 fi | 2002 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
2486 ## -------------------- ## | 2003 { (exit 1); exit 1; }; } |
2487 ## Main body of script. ## | 2004 fi |
2488 ## -------------------- ## | 2005 |
2006 | |
2007 | |
2008 | |
2009 | |
2010 | |
2011 | |
2012 | |
2013 | |
2014 | |
2015 | |
2016 | |
2017 | |
2018 | |
2019 | |
2020 | |
2021 | |
2022 | |
2023 | |
2024 | |
2025 | |
2026 | |
2027 | |
2028 | |
2489 | 2029 |
2490 ac_ext=c | 2030 ac_ext=c |
2491 ac_cpp='$CPP $CPPFLAGS' | 2031 ac_cpp='$CPP $CPPFLAGS' |
2492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2522 | 2062 |
2523 | 2063 |
2524 | 2064 |
2525 | 2065 |
2526 # Check whether --with-pop was given. | 2066 # Check whether --with-pop was given. |
2527 if test "${with_pop+set}" = set; then : | 2067 if test "${with_pop+set}" = set; then |
2528 withval=$with_pop; | 2068 withval=$with_pop; |
2529 else | 2069 else |
2530 with_pop=yes | 2070 with_pop=yes |
2531 fi | 2071 fi |
2532 | 2072 |
2533 if test "$with_pop" = yes; then | 2073 if test "$with_pop" = yes; then |
2534 $as_echo "#define MAIL_USE_POP 1" >>confdefs.h | 2074 cat >>confdefs.h <<\_ACEOF |
2535 | 2075 #define MAIL_USE_POP 1 |
2536 fi | 2076 _ACEOF |
2077 | |
2078 fi | |
2079 | |
2537 | 2080 |
2538 | 2081 |
2539 # Check whether --with-kerberos was given. | 2082 # Check whether --with-kerberos was given. |
2540 if test "${with_kerberos+set}" = set; then : | 2083 if test "${with_kerberos+set}" = set; then |
2541 withval=$with_kerberos; | 2084 withval=$with_kerberos; |
2542 else | 2085 else |
2543 with_kerberos=no | 2086 with_kerberos=no |
2544 fi | 2087 fi |
2545 | 2088 |
2546 if test "$with_kerberos" != no; then | 2089 if test "$with_kerberos" != no; then |
2547 $as_echo "#define KERBEROS 1" >>confdefs.h | 2090 cat >>confdefs.h <<\_ACEOF |
2548 | 2091 #define KERBEROS 1 |
2549 fi | 2092 _ACEOF |
2093 | |
2094 fi | |
2095 | |
2550 | 2096 |
2551 | 2097 |
2552 # Check whether --with-kerberos5 was given. | 2098 # Check whether --with-kerberos5 was given. |
2553 if test "${with_kerberos5+set}" = set; then : | 2099 if test "${with_kerberos5+set}" = set; then |
2554 withval=$with_kerberos5; | 2100 withval=$with_kerberos5; |
2555 else | 2101 else |
2556 with_kerberos5=no | 2102 with_kerberos5=no |
2557 fi | 2103 fi |
2558 | 2104 |
2559 if test "${with_kerberos5}" != no; then | 2105 if test "${with_kerberos5}" != no; then |
2560 if test "${with_kerberos}" = no; then | 2106 if test "${with_kerberos}" = no; then |
2561 with_kerberos=yes | 2107 with_kerberos=yes |
2562 $as_echo "#define KERBEROS 1" >>confdefs.h | 2108 cat >>confdefs.h <<\_ACEOF |
2109 #define KERBEROS 1 | |
2110 _ACEOF | |
2563 | 2111 |
2564 fi | 2112 fi |
2565 | 2113 |
2566 $as_echo "#define KERBEROS5 1" >>confdefs.h | 2114 cat >>confdefs.h <<\_ACEOF |
2115 #define KERBEROS5 1 | |
2116 _ACEOF | |
2567 | 2117 |
2568 fi | 2118 fi |
2569 | 2119 |
2570 | 2120 |
2571 # Check whether --with-hesiod was given. | 2121 # Check whether --with-hesiod was given. |
2572 if test "${with_hesiod+set}" = set; then : | 2122 if test "${with_hesiod+set}" = set; then |
2573 withval=$with_hesiod; | 2123 withval=$with_hesiod; |
2574 else | 2124 else |
2575 with_hesiod=no | 2125 with_hesiod=no |
2576 fi | 2126 fi |
2577 | 2127 |
2578 if test "$with_hesiod" != no; then | 2128 if test "$with_hesiod" != no; then |
2579 | 2129 |
2580 $as_echo "#define HESIOD 1" >>confdefs.h | 2130 cat >>confdefs.h <<\_ACEOF |
2131 #define HESIOD 1 | |
2132 _ACEOF | |
2581 | 2133 |
2582 fi | 2134 fi |
2583 | 2135 |
2584 | 2136 |
2585 # Check whether --with-mmdf was given. | 2137 # Check whether --with-mmdf was given. |
2586 if test "${with_mmdf+set}" = set; then : | 2138 if test "${with_mmdf+set}" = set; then |
2587 withval=$with_mmdf; | 2139 withval=$with_mmdf; |
2588 else | 2140 else |
2589 with_mmdf=no | 2141 with_mmdf=no |
2590 fi | 2142 fi |
2591 | 2143 |
2592 if test "$with_mmdf" != no; then | 2144 if test "$with_mmdf" != no; then |
2593 | 2145 |
2594 $as_echo "#define MAIL_USE_MMDF 1" >>confdefs.h | 2146 cat >>confdefs.h <<\_ACEOF |
2147 #define MAIL_USE_MMDF 1 | |
2148 _ACEOF | |
2595 | 2149 |
2596 fi | 2150 fi |
2597 | 2151 |
2598 | 2152 |
2599 # Check whether --with-mail-unlink was given. | 2153 # Check whether --with-mail-unlink was given. |
2600 if test "${with_mail_unlink+set}" = set; then : | 2154 if test "${with_mail_unlink+set}" = set; then |
2601 withval=$with_mail_unlink; | 2155 withval=$with_mail_unlink; |
2602 else | 2156 else |
2603 with_mail_unlink=no | 2157 with_mail_unlink=no |
2604 fi | 2158 fi |
2605 | 2159 |
2606 if test "$with_mail_unlink" != no; then | 2160 if test "$with_mail_unlink" != no; then |
2607 | 2161 |
2608 $as_echo "#define MAIL_UNLINK_SPOOL 1" >>confdefs.h | 2162 cat >>confdefs.h <<\_ACEOF |
2163 #define MAIL_UNLINK_SPOOL 1 | |
2164 _ACEOF | |
2609 | 2165 |
2610 fi | 2166 fi |
2611 | 2167 |
2612 | 2168 |
2613 # Check whether --with-mailhost was given. | 2169 # Check whether --with-mailhost was given. |
2614 if test "${with_mailhost+set}" = set; then : | 2170 if test "${with_mailhost+set}" = set; then |
2615 withval=$with_mailhost; | 2171 withval=$with_mailhost; |
2616 cat >>confdefs.h <<_ACEOF | 2172 cat >>confdefs.h <<_ACEOF |
2617 #define MAILHOST "$withval" | 2173 #define MAILHOST "$withval" |
2618 _ACEOF | 2174 _ACEOF |
2619 | 2175 |
2620 fi | 2176 fi |
2621 | 2177 |
2622 | 2178 |
2623 | 2179 |
2624 # Check whether --with-sound was given. | 2180 # Check whether --with-sound was given. |
2625 if test "${with_sound+set}" = set; then : | 2181 if test "${with_sound+set}" = set; then |
2626 withval=$with_sound; | 2182 withval=$with_sound; |
2627 else | 2183 else |
2628 with_sound=yes | 2184 with_sound=yes |
2629 fi | 2185 fi |
2630 | 2186 |
2631 | 2187 |
2632 | 2188 |
2633 # Check whether --with-sync-input was given. | 2189 # Check whether --with-sync-input was given. |
2634 if test "${with_sync_input+set}" = set; then : | 2190 if test "${with_sync_input+set}" = set; then |
2635 withval=$with_sync_input; | 2191 withval=$with_sync_input; |
2636 else | 2192 else |
2637 with_sync_input=yes | 2193 with_sync_input=yes |
2638 fi | 2194 fi |
2639 | 2195 |
2640 if test "$with_sync_input" = yes; then | 2196 if test "$with_sync_input" = yes; then |
2641 | 2197 |
2642 $as_echo "#define SYNC_INPUT 1" >>confdefs.h | 2198 cat >>confdefs.h <<\_ACEOF |
2199 #define SYNC_INPUT 1 | |
2200 _ACEOF | |
2643 | 2201 |
2644 fi | 2202 fi |
2645 | 2203 |
2646 | 2204 |
2647 # Check whether --with-x-toolkit was given. | 2205 # Check whether --with-x-toolkit was given. |
2648 if test "${with_x_toolkit+set}" = set; then : | 2206 if test "${with_x_toolkit+set}" = set; then |
2649 withval=$with_x_toolkit; case "${withval}" in | 2207 withval=$with_x_toolkit; case "${withval}" in |
2650 y | ye | yes ) val=gtk ;; | 2208 y | ye | yes ) val=gtk ;; |
2651 n | no ) val=no ;; | 2209 n | no ) val=no ;; |
2652 l | lu | luc | luci | lucid ) val=lucid ;; | 2210 l | lu | luc | luci | lucid ) val=lucid ;; |
2653 a | at | ath | athe | athen | athena ) val=athena ;; | 2211 a | at | ath | athe | athen | athena ) val=athena ;; |
2654 m | mo | mot | moti | motif ) val=motif ;; | 2212 m | mo | mot | moti | motif ) val=motif ;; |
2655 g | gt | gtk ) val=gtk ;; | 2213 g | gt | gtk ) val=gtk ;; |
2656 * ) | 2214 * ) |
2657 as_fn_error "\`--with-x-toolkit=$withval' is invalid; | 2215 { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; |
2658 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | 2216 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. |
2659 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2217 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 |
2218 $as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid; | |
2219 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | |
2220 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;} | |
2221 { (exit 1); exit 1; }; } | |
2660 ;; | 2222 ;; |
2661 esac | 2223 esac |
2662 with_x_toolkit=$val | 2224 with_x_toolkit=$val |
2663 | 2225 |
2664 fi | 2226 fi |
2665 | 2227 |
2666 | 2228 |
2667 | 2229 |
2668 # Check whether --with-xpm was given. | 2230 # Check whether --with-xpm was given. |
2669 if test "${with_xpm+set}" = set; then : | 2231 if test "${with_xpm+set}" = set; then |
2670 withval=$with_xpm; | 2232 withval=$with_xpm; |
2671 else | 2233 else |
2672 with_xpm=yes | 2234 with_xpm=yes |
2673 fi | 2235 fi |
2674 | 2236 |
2675 | 2237 |
2676 # Check whether --with-jpeg was given. | 2238 # Check whether --with-jpeg was given. |
2677 if test "${with_jpeg+set}" = set; then : | 2239 if test "${with_jpeg+set}" = set; then |
2678 withval=$with_jpeg; | 2240 withval=$with_jpeg; |
2679 else | 2241 else |
2680 with_jpeg=yes | 2242 with_jpeg=yes |
2681 fi | 2243 fi |
2682 | 2244 |
2683 | 2245 |
2684 # Check whether --with-tiff was given. | 2246 # Check whether --with-tiff was given. |
2685 if test "${with_tiff+set}" = set; then : | 2247 if test "${with_tiff+set}" = set; then |
2686 withval=$with_tiff; | 2248 withval=$with_tiff; |
2687 else | 2249 else |
2688 with_tiff=yes | 2250 with_tiff=yes |
2689 fi | 2251 fi |
2690 | 2252 |
2691 | 2253 |
2692 # Check whether --with-gif was given. | 2254 # Check whether --with-gif was given. |
2693 if test "${with_gif+set}" = set; then : | 2255 if test "${with_gif+set}" = set; then |
2694 withval=$with_gif; | 2256 withval=$with_gif; |
2695 else | 2257 else |
2696 with_gif=yes | 2258 with_gif=yes |
2697 fi | 2259 fi |
2698 | 2260 |
2699 | 2261 |
2700 # Check whether --with-png was given. | 2262 # Check whether --with-png was given. |
2701 if test "${with_png+set}" = set; then : | 2263 if test "${with_png+set}" = set; then |
2702 withval=$with_png; | 2264 withval=$with_png; |
2703 else | 2265 else |
2704 with_png=yes | 2266 with_png=yes |
2705 fi | 2267 fi |
2706 | 2268 |
2707 | 2269 |
2708 # Check whether --with-rsvg was given. | 2270 # Check whether --with-rsvg was given. |
2709 if test "${with_rsvg+set}" = set; then : | 2271 if test "${with_rsvg+set}" = set; then |
2710 withval=$with_rsvg; | 2272 withval=$with_rsvg; |
2711 else | 2273 else |
2712 with_rsvg=yes | 2274 with_rsvg=yes |
2713 fi | 2275 fi |
2714 | 2276 |
2715 | 2277 |
2716 | 2278 |
2717 # Check whether --with-xft was given. | 2279 # Check whether --with-xft was given. |
2718 if test "${with_xft+set}" = set; then : | 2280 if test "${with_xft+set}" = set; then |
2719 withval=$with_xft; | 2281 withval=$with_xft; |
2720 else | 2282 else |
2721 with_xft=yes | 2283 with_xft=yes |
2722 fi | 2284 fi |
2723 | 2285 |
2724 | 2286 |
2725 # Check whether --with-libotf was given. | 2287 # Check whether --with-libotf was given. |
2726 if test "${with_libotf+set}" = set; then : | 2288 if test "${with_libotf+set}" = set; then |
2727 withval=$with_libotf; | 2289 withval=$with_libotf; |
2728 else | 2290 else |
2729 with_libotf=yes | 2291 with_libotf=yes |
2730 fi | 2292 fi |
2731 | 2293 |
2732 | 2294 |
2733 # Check whether --with-m17n-flt was given. | 2295 # Check whether --with-m17n-flt was given. |
2734 if test "${with_m17n_flt+set}" = set; then : | 2296 if test "${with_m17n_flt+set}" = set; then |
2735 withval=$with_m17n_flt; | 2297 withval=$with_m17n_flt; |
2736 else | 2298 else |
2737 with_m17n_flt=yes | 2299 with_m17n_flt=yes |
2738 fi | 2300 fi |
2739 | 2301 |
2740 | 2302 |
2741 | 2303 |
2742 # Check whether --with-toolkit-scroll-bars was given. | 2304 # Check whether --with-toolkit-scroll-bars was given. |
2743 if test "${with_toolkit_scroll_bars+set}" = set; then : | 2305 if test "${with_toolkit_scroll_bars+set}" = set; then |
2744 withval=$with_toolkit_scroll_bars; | 2306 withval=$with_toolkit_scroll_bars; |
2745 else | 2307 else |
2746 with_toolkit_scroll_bars=yes | 2308 with_toolkit_scroll_bars=yes |
2747 fi | 2309 fi |
2748 | 2310 |
2749 | 2311 |
2750 # Check whether --with-xaw3d was given. | 2312 # Check whether --with-xaw3d was given. |
2751 if test "${with_xaw3d+set}" = set; then : | 2313 if test "${with_xaw3d+set}" = set; then |
2752 withval=$with_xaw3d; | 2314 withval=$with_xaw3d; |
2753 else | 2315 else |
2754 with_xaw3d=yes | 2316 with_xaw3d=yes |
2755 fi | 2317 fi |
2756 | 2318 |
2757 | 2319 |
2758 # Check whether --with-xim was given. | 2320 # Check whether --with-xim was given. |
2759 if test "${with_xim+set}" = set; then : | 2321 if test "${with_xim+set}" = set; then |
2760 withval=$with_xim; | 2322 withval=$with_xim; |
2761 else | 2323 else |
2762 with_xim=yes | 2324 with_xim=yes |
2763 fi | 2325 fi |
2764 | 2326 |
2765 | 2327 |
2766 # Check whether --with-ns was given. | 2328 # Check whether --with-ns was given. |
2767 if test "${with_ns+set}" = set; then : | 2329 if test "${with_ns+set}" = set; then |
2768 withval=$with_ns; | 2330 withval=$with_ns; |
2769 else | 2331 else |
2770 with_ns=no | 2332 with_ns=no |
2771 fi | 2333 fi |
2772 | 2334 |
2773 | 2335 |
2774 | 2336 |
2775 # Check whether --with-gpm was given. | 2337 # Check whether --with-gpm was given. |
2776 if test "${with_gpm+set}" = set; then : | 2338 if test "${with_gpm+set}" = set; then |
2777 withval=$with_gpm; | 2339 withval=$with_gpm; |
2778 else | 2340 else |
2779 with_gpm=yes | 2341 with_gpm=yes |
2780 fi | 2342 fi |
2781 | 2343 |
2782 | 2344 |
2783 # Check whether --with-dbus was given. | 2345 # Check whether --with-dbus was given. |
2784 if test "${with_dbus+set}" = set; then : | 2346 if test "${with_dbus+set}" = set; then |
2785 withval=$with_dbus; | 2347 withval=$with_dbus; |
2786 else | 2348 else |
2787 with_dbus=yes | 2349 with_dbus=yes |
2788 fi | 2350 fi |
2789 | 2351 |
2790 | 2352 |
2791 # Check whether --with-gconf was given. | 2353 # Check whether --with-gconf was given. |
2792 if test "${with_gconf+set}" = set; then : | 2354 if test "${with_gconf+set}" = set; then |
2793 withval=$with_gconf; | 2355 withval=$with_gconf; |
2794 else | 2356 else |
2795 with_gconf=yes | 2357 with_gconf=yes |
2796 fi | 2358 fi |
2797 | 2359 |
2798 | 2360 |
2799 # Check whether --with-selinux was given. | 2361 # Check whether --with-selinux was given. |
2800 if test "${with_selinux+set}" = set; then : | 2362 if test "${with_selinux+set}" = set; then |
2801 withval=$with_selinux; | 2363 withval=$with_selinux; |
2802 else | 2364 else |
2803 with_selinux=yes | 2365 with_selinux=yes |
2804 fi | 2366 fi |
2805 | 2367 |
2806 | 2368 |
2807 ## For the times when you want to build Emacs but don't have | 2369 ## For the times when you want to build Emacs but don't have |
2808 ## a suitable makeinfo, and can live without the manuals. | 2370 ## a suitable makeinfo, and can live without the manuals. |
2809 | 2371 |
2810 # Check whether --with-makeinfo was given. | 2372 # Check whether --with-makeinfo was given. |
2811 if test "${with_makeinfo+set}" = set; then : | 2373 if test "${with_makeinfo+set}" = set; then |
2812 withval=$with_makeinfo; | 2374 withval=$with_makeinfo; |
2813 else | 2375 else |
2814 with_makeinfo=yes | 2376 with_makeinfo=yes |
2815 fi | 2377 fi |
2816 | 2378 |
2817 | 2379 |
2818 | 2380 |
2819 # Check whether --with-gtk was given. | 2381 # Check whether --with-gtk was given. |
2820 if test "${with_gtk+set}" = set; then : | 2382 if test "${with_gtk+set}" = set; then |
2821 withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to | 2383 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to |
2822 specify a toolkit." "$LINENO" 5 | 2384 specify a toolkit." >&5 |
2385 $as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to | |
2386 specify a toolkit." >&2;} | |
2387 { (exit 1); exit 1; }; } | |
2823 fi | 2388 fi |
2824 | 2389 |
2825 | 2390 |
2826 | 2391 |
2827 # Check whether --with-gcc was given. | 2392 # Check whether --with-gcc was given. |
2828 if test "${with_gcc+set}" = set; then : | 2393 if test "${with_gcc+set}" = set; then |
2829 withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment | 2394 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment |
2830 variable to specify a compiler." "$LINENO" 5 | 2395 variable to specify a compiler." >&5 |
2396 $as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment | |
2397 variable to specify a compiler." >&2;} | |
2398 { (exit 1); exit 1; }; } | |
2831 fi | 2399 fi |
2832 | 2400 |
2833 | 2401 |
2834 | 2402 |
2835 # Check whether --with-pkg-config-prog was given. | 2403 # Check whether --with-pkg-config-prog was given. |
2836 if test "${with_pkg_config_prog+set}" = set; then : | 2404 if test "${with_pkg_config_prog+set}" = set; then |
2837 withval=$with_pkg_config_prog; | 2405 withval=$with_pkg_config_prog; |
2838 fi | 2406 fi |
2839 | 2407 |
2840 if test "X${with_pkg_config_prog}" != X; then | 2408 if test "X${with_pkg_config_prog}" != X; then |
2841 if test "${with_pkg_config_prog}" != yes; then | 2409 if test "${with_pkg_config_prog}" != yes; then |
2844 fi | 2412 fi |
2845 | 2413 |
2846 CRT_DIR= | 2414 CRT_DIR= |
2847 | 2415 |
2848 # Check whether --with-crt-dir was given. | 2416 # Check whether --with-crt-dir was given. |
2849 if test "${with_crt_dir+set}" = set; then : | 2417 if test "${with_crt_dir+set}" = set; then |
2850 withval=$with_crt_dir; | 2418 withval=$with_crt_dir; |
2851 fi | 2419 fi |
2852 | 2420 |
2853 CRT_DIR="${with_crt_dir}" | 2421 CRT_DIR="${with_crt_dir}" |
2854 | 2422 |
2855 | 2423 |
2856 # Check whether --with-gnustep-conf was given. | 2424 # Check whether --with-gnustep-conf was given. |
2857 if test "${with_gnustep_conf+set}" = set; then : | 2425 if test "${with_gnustep_conf+set}" = set; then |
2858 withval=$with_gnustep_conf; | 2426 withval=$with_gnustep_conf; |
2859 fi | 2427 fi |
2860 | 2428 |
2861 test "X${with_gnustep_conf}" != X && test "${with_gnustep_conf}" != yes && \ | 2429 test "X${with_gnustep_conf}" != X && test "${with_gnustep_conf}" != yes && \ |
2862 GNUSTEP_CONFIG_FILE="${with_gnustep_conf}" | 2430 GNUSTEP_CONFIG_FILE="${with_gnustep_conf}" |
2863 test "X$GNUSTEP_CONFIG_FILE" = "X" && \ | 2431 test "X$GNUSTEP_CONFIG_FILE" = "X" && \ |
2864 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf | 2432 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf |
2865 | 2433 |
2866 # Check whether --enable-ns-self-contained was given. | 2434 # Check whether --enable-ns-self-contained was given. |
2867 if test "${enable_ns_self_contained+set}" = set; then : | 2435 if test "${enable_ns_self_contained+set}" = set; then |
2868 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval | 2436 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval |
2869 else | 2437 else |
2870 EN_NS_SELF_CONTAINED=yes | 2438 EN_NS_SELF_CONTAINED=yes |
2871 fi | 2439 fi |
2872 | 2440 |
2873 | 2441 |
2874 # Check whether --enable-asserts was given. | 2442 # Check whether --enable-asserts was given. |
2875 if test "${enable_asserts+set}" = set; then : | 2443 if test "${enable_asserts+set}" = set; then |
2876 enableval=$enable_asserts; USE_XASSERTS=$enableval | 2444 enableval=$enable_asserts; USE_XASSERTS=$enableval |
2877 else | 2445 else |
2878 USE_XASSERTS=no | 2446 USE_XASSERTS=no |
2879 fi | 2447 fi |
2880 | 2448 |
2881 | 2449 |
2882 # Check whether --enable-maintainer-mode was given. | 2450 # Check whether --enable-maintainer-mode was given. |
2883 if test "${enable_maintainer_mode+set}" = set; then : | 2451 if test "${enable_maintainer_mode+set}" = set; then |
2884 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 2452 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
2885 else | 2453 else |
2886 USE_MAINTAINER_MODE=no | 2454 USE_MAINTAINER_MODE=no |
2887 fi | 2455 fi |
2888 | 2456 |
2892 MAINT=# | 2460 MAINT=# |
2893 fi | 2461 fi |
2894 | 2462 |
2895 | 2463 |
2896 # Check whether --enable-locallisppath was given. | 2464 # Check whether --enable-locallisppath was given. |
2897 if test "${enable_locallisppath+set}" = set; then : | 2465 if test "${enable_locallisppath+set}" = set; then |
2898 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then | 2466 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
2899 locallisppath= | 2467 locallisppath= |
2900 elif test "${enableval}" != "yes"; then | 2468 elif test "${enableval}" != "yes"; then |
2901 locallisppath=${enableval} | 2469 locallisppath=${enableval} |
2902 fi | 2470 fi |
2903 fi | 2471 fi |
2904 | 2472 |
2905 | 2473 |
2906 # Check whether --enable-checking was given. | 2474 # Check whether --enable-checking was given. |
2907 if test "${enable_checking+set}" = set; then : | 2475 if test "${enable_checking+set}" = set; then |
2908 enableval=$enable_checking; ac_checking_flags="${enableval}" | 2476 enableval=$enable_checking; ac_checking_flags="${enableval}" |
2909 fi | 2477 fi |
2910 | 2478 |
2911 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," | 2479 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," |
2912 for check in $ac_checking_flags | 2480 for check in $ac_checking_flags |
2930 stringbytes) ac_gc_check_stringbytes=1 ;; | 2498 stringbytes) ac_gc_check_stringbytes=1 ;; |
2931 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2499 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2932 stringfreelist) ac_gc_check_string_free_list=1 ;; | 2500 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2933 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2501 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2934 conslist) ac_gc_check_cons_list=1 ;; | 2502 conslist) ac_gc_check_cons_list=1 ;; |
2935 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 2503 *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5 |
2504 $as_echo "$as_me: error: unknown check category $check" >&2;} | |
2505 { (exit 1); exit 1; }; } ;; | |
2936 esac | 2506 esac |
2937 done | 2507 done |
2938 IFS="$ac_save_IFS" | 2508 IFS="$ac_save_IFS" |
2939 | 2509 |
2940 if test x$ac_enable_checking != x ; then | 2510 if test x$ac_enable_checking != x ; then |
2941 | 2511 |
2942 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h | 2512 cat >>confdefs.h <<\_ACEOF |
2513 #define ENABLE_CHECKING 1 | |
2514 _ACEOF | |
2943 | 2515 |
2944 fi | 2516 fi |
2945 if test x$ac_gc_check_stringbytes != x ; then | 2517 if test x$ac_gc_check_stringbytes != x ; then |
2946 | 2518 |
2947 $as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h | 2519 cat >>confdefs.h <<\_ACEOF |
2520 #define GC_CHECK_STRING_BYTES 1 | |
2521 _ACEOF | |
2948 | 2522 |
2949 fi | 2523 fi |
2950 if test x$ac_gc_check_stringoverrun != x ; then | 2524 if test x$ac_gc_check_stringoverrun != x ; then |
2951 | 2525 |
2952 $as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h | 2526 cat >>confdefs.h <<\_ACEOF |
2527 #define GC_CHECK_STRING_OVERRUN 1 | |
2528 _ACEOF | |
2953 | 2529 |
2954 fi | 2530 fi |
2955 if test x$ac_gc_check_string_free_list != x ; then | 2531 if test x$ac_gc_check_string_free_list != x ; then |
2956 | 2532 |
2957 $as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h | 2533 cat >>confdefs.h <<\_ACEOF |
2534 #define GC_CHECK_STRING_FREE_LIST 1 | |
2535 _ACEOF | |
2958 | 2536 |
2959 fi | 2537 fi |
2960 if test x$ac_xmalloc_overrun != x ; then | 2538 if test x$ac_xmalloc_overrun != x ; then |
2961 | 2539 |
2962 $as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h | 2540 cat >>confdefs.h <<\_ACEOF |
2541 #define XMALLOC_OVERRUN_CHECK 1 | |
2542 _ACEOF | |
2963 | 2543 |
2964 fi | 2544 fi |
2965 if test x$ac_gc_check_cons_list != x ; then | 2545 if test x$ac_gc_check_cons_list != x ; then |
2966 | 2546 |
2967 $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h | 2547 cat >>confdefs.h <<\_ACEOF |
2548 #define GC_CHECK_CONS_LIST 1 | |
2549 _ACEOF | |
2968 | 2550 |
2969 fi | 2551 fi |
2970 | 2552 |
2971 # Check whether --enable-profiling was given. | 2553 # Check whether --enable-profiling was given. |
2972 if test "${enable_profiling+set}" = set; then : | 2554 if test "${enable_profiling+set}" = set; then |
2973 enableval=$enable_profiling; ac_enable_profiling="${enableval}" | 2555 enableval=$enable_profiling; ac_enable_profiling="${enableval}" |
2974 fi | 2556 fi |
2975 | 2557 |
2976 if test x$ac_enable_profiling != x ; then | 2558 if test x$ac_enable_profiling != x ; then |
2977 PROFILING_CFLAGS="-DPROFILING=1 -pg" | 2559 PROFILING_CFLAGS="-DPROFILING=1 -pg" |
2980 PROFILING_CFLAGS= | 2562 PROFILING_CFLAGS= |
2981 PROFILING_LDFLAGS= | 2563 PROFILING_LDFLAGS= |
2982 fi | 2564 fi |
2983 | 2565 |
2984 # Check whether --enable-autodepend was given. | 2566 # Check whether --enable-autodepend was given. |
2985 if test "${enable_autodepend+set}" = set; then : | 2567 if test "${enable_autodepend+set}" = set; then |
2986 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" | 2568 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" |
2987 else | 2569 else |
2988 ac_enable_autodepend=yes | 2570 ac_enable_autodepend=yes |
2989 fi | 2571 fi |
2990 | 2572 |
3014 esac | 2596 esac |
3015 | 2597 |
3016 #### Check if the source directory already has a configured system in it. | 2598 #### Check if the source directory already has a configured system in it. |
3017 if test `pwd` != `(cd ${srcdir} && pwd)` \ | 2599 if test `pwd` != `(cd ${srcdir} && pwd)` \ |
3018 && test -f "${srcdir}/src/config.h" ; then | 2600 && test -f "${srcdir}/src/config.h" ; then |
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used | 2601 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used |
3020 as a build directory right now; it has been configured in its own | 2602 as a build directory right now; it has been configured in its own |
3021 right. To configure in another directory as well, you MUST | 2603 right. To configure in another directory as well, you MUST |
3022 use GNU make. If you do not have GNU make, then you must | 2604 use GNU make. If you do not have GNU make, then you must |
3023 now do \`make distclean' in ${srcdir}, | 2605 now do \`make distclean' in ${srcdir}, |
3024 and then run $0 again." >&5 | 2606 and then run $0 again." >&5 |
3035 | 2617 |
3036 ### Canonicalize the configuration name. | 2618 ### Canonicalize the configuration name. |
3037 | 2619 |
3038 ac_aux_dir= | 2620 ac_aux_dir= |
3039 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 2621 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3040 for ac_t in install-sh install.sh shtool; do | 2622 if test -f "$ac_dir/install-sh"; then |
3041 if test -f "$ac_dir/$ac_t"; then | 2623 ac_aux_dir=$ac_dir |
3042 ac_aux_dir=$ac_dir | 2624 ac_install_sh="$ac_aux_dir/install-sh -c" |
3043 ac_install_sh="$ac_aux_dir/$ac_t -c" | 2625 break |
3044 break 2 | 2626 elif test -f "$ac_dir/install.sh"; then |
3045 fi | 2627 ac_aux_dir=$ac_dir |
3046 done | 2628 ac_install_sh="$ac_aux_dir/install.sh -c" |
2629 break | |
2630 elif test -f "$ac_dir/shtool"; then | |
2631 ac_aux_dir=$ac_dir | |
2632 ac_install_sh="$ac_aux_dir/shtool install -c" | |
2633 break | |
2634 fi | |
3047 done | 2635 done |
3048 if test -z "$ac_aux_dir"; then | 2636 if test -z "$ac_aux_dir"; then |
3049 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 2637 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
2638 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | |
2639 { (exit 1); exit 1; }; } | |
3050 fi | 2640 fi |
3051 | 2641 |
3052 # These three variables are undocumented and unsupported, | 2642 # These three variables are undocumented and unsupported, |
3053 # and are intended to be withdrawn in a future Autoconf release. | 2643 # and are intended to be withdrawn in a future Autoconf release. |
3054 # They can cause serious problems if a builder's source tree is in a directory | 2644 # They can cause serious problems if a builder's source tree is in a directory |
3058 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 2648 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3059 | 2649 |
3060 | 2650 |
3061 # Make sure we can run config.sub. | 2651 # Make sure we can run config.sub. |
3062 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 2652 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3063 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 2653 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
3064 | 2654 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 2655 { (exit 1); exit 1; }; } |
2656 | |
2657 { $as_echo "$as_me:$LINENO: checking build system type" >&5 | |
3066 $as_echo_n "checking build system type... " >&6; } | 2658 $as_echo_n "checking build system type... " >&6; } |
3067 if test "${ac_cv_build+set}" = set; then : | 2659 if test "${ac_cv_build+set}" = set; then |
3068 $as_echo_n "(cached) " >&6 | 2660 $as_echo_n "(cached) " >&6 |
3069 else | 2661 else |
3070 ac_build_alias=$build_alias | 2662 ac_build_alias=$build_alias |
3071 test "x$ac_build_alias" = x && | 2663 test "x$ac_build_alias" = x && |
3072 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 2664 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3073 test "x$ac_build_alias" = x && | 2665 test "x$ac_build_alias" = x && |
3074 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 2666 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
2667 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
2668 { (exit 1); exit 1; }; } | |
3075 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2669 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3076 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 2670 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
3077 | 2671 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
3078 fi | 2672 { (exit 1); exit 1; }; } |
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 2673 |
2674 fi | |
2675 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
3080 $as_echo "$ac_cv_build" >&6; } | 2676 $as_echo "$ac_cv_build" >&6; } |
3081 case $ac_cv_build in | 2677 case $ac_cv_build in |
3082 *-*-*) ;; | 2678 *-*-*) ;; |
3083 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 2679 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
2680 $as_echo "$as_me: error: invalid value of canonical build" >&2;} | |
2681 { (exit 1); exit 1; }; };; | |
3084 esac | 2682 esac |
3085 build=$ac_cv_build | 2683 build=$ac_cv_build |
3086 ac_save_IFS=$IFS; IFS='-' | 2684 ac_save_IFS=$IFS; IFS='-' |
3087 set x $ac_cv_build | 2685 set x $ac_cv_build |
3088 shift | 2686 shift |
3094 build_os=$* | 2692 build_os=$* |
3095 IFS=$ac_save_IFS | 2693 IFS=$ac_save_IFS |
3096 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2694 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3097 | 2695 |
3098 | 2696 |
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 2697 { $as_echo "$as_me:$LINENO: checking host system type" >&5 |
3100 $as_echo_n "checking host system type... " >&6; } | 2698 $as_echo_n "checking host system type... " >&6; } |
3101 if test "${ac_cv_host+set}" = set; then : | 2699 if test "${ac_cv_host+set}" = set; then |
3102 $as_echo_n "(cached) " >&6 | 2700 $as_echo_n "(cached) " >&6 |
3103 else | 2701 else |
3104 if test "x$host_alias" = x; then | 2702 if test "x$host_alias" = x; then |
3105 ac_cv_host=$ac_cv_build | 2703 ac_cv_host=$ac_cv_build |
3106 else | 2704 else |
3107 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 2705 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3108 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 2706 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
3109 fi | 2707 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
3110 | 2708 { (exit 1); exit 1; }; } |
3111 fi | 2709 fi |
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 2710 |
2711 fi | |
2712 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
3113 $as_echo "$ac_cv_host" >&6; } | 2713 $as_echo "$ac_cv_host" >&6; } |
3114 case $ac_cv_host in | 2714 case $ac_cv_host in |
3115 *-*-*) ;; | 2715 *-*-*) ;; |
3116 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 2716 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
2717 $as_echo "$as_me: error: invalid value of canonical host" >&2;} | |
2718 { (exit 1); exit 1; }; };; | |
3117 esac | 2719 esac |
3118 host=$ac_cv_host | 2720 host=$ac_cv_host |
3119 ac_save_IFS=$IFS; IFS='-' | 2721 ac_save_IFS=$IFS; IFS='-' |
3120 set x $ac_cv_host | 2722 set x $ac_cv_host |
3121 shift | 2723 shift |
3410 fi | 3012 fi |
3411 | 3013 |
3412 | 3014 |
3413 | 3015 |
3414 if test $unported = yes; then | 3016 if test $unported = yes; then |
3415 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. | 3017 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. |
3416 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3018 Check \`etc/MACHINES' for recognized configuration names." >&5 |
3019 $as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. | |
3020 Check \`etc/MACHINES' for recognized configuration names." >&2;} | |
3021 { (exit 1); exit 1; }; } | |
3417 fi | 3022 fi |
3418 | 3023 |
3419 machfile="m/${machine}.h" | 3024 machfile="m/${machine}.h" |
3420 opsysfile="s/${opsys}.h" | 3025 opsysfile="s/${opsys}.h" |
3421 | 3026 |
3432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3433 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3038 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3434 if test -n "$ac_tool_prefix"; then | 3039 if test -n "$ac_tool_prefix"; then |
3435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3040 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3436 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3041 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3042 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3438 $as_echo_n "checking for $ac_word... " >&6; } | 3043 $as_echo_n "checking for $ac_word... " >&6; } |
3439 if test "${ac_cv_prog_CC+set}" = set; then : | 3044 if test "${ac_cv_prog_CC+set}" = set; then |
3440 $as_echo_n "(cached) " >&6 | 3045 $as_echo_n "(cached) " >&6 |
3441 else | 3046 else |
3442 if test -n "$CC"; then | 3047 if test -n "$CC"; then |
3443 ac_cv_prog_CC="$CC" # Let the user override the test. | 3048 ac_cv_prog_CC="$CC" # Let the user override the test. |
3444 else | 3049 else |
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3446 for as_dir in $PATH | 3051 for as_dir in $PATH |
3447 do | 3052 do |
3448 IFS=$as_save_IFS | 3053 IFS=$as_save_IFS |
3449 test -z "$as_dir" && as_dir=. | 3054 test -z "$as_dir" && as_dir=. |
3450 for ac_exec_ext in '' $ac_executable_extensions; do | 3055 for ac_exec_ext in '' $ac_executable_extensions; do |
3451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3452 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3057 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3058 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3454 break 2 | 3059 break 2 |
3455 fi | 3060 fi |
3456 done | 3061 done |
3457 done | 3062 done |
3458 IFS=$as_save_IFS | 3063 IFS=$as_save_IFS |
3459 | 3064 |
3460 fi | 3065 fi |
3461 fi | 3066 fi |
3462 CC=$ac_cv_prog_CC | 3067 CC=$ac_cv_prog_CC |
3463 if test -n "$CC"; then | 3068 if test -n "$CC"; then |
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3069 { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3465 $as_echo "$CC" >&6; } | 3070 $as_echo "$CC" >&6; } |
3466 else | 3071 else |
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3072 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3468 $as_echo "no" >&6; } | 3073 $as_echo "no" >&6; } |
3469 fi | 3074 fi |
3470 | 3075 |
3471 | 3076 |
3472 fi | 3077 fi |
3473 if test -z "$ac_cv_prog_CC"; then | 3078 if test -z "$ac_cv_prog_CC"; then |
3474 ac_ct_CC=$CC | 3079 ac_ct_CC=$CC |
3475 # Extract the first word of "gcc", so it can be a program name with args. | 3080 # Extract the first word of "gcc", so it can be a program name with args. |
3476 set dummy gcc; ac_word=$2 | 3081 set dummy gcc; ac_word=$2 |
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3082 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3478 $as_echo_n "checking for $ac_word... " >&6; } | 3083 $as_echo_n "checking for $ac_word... " >&6; } |
3479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3084 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3480 $as_echo_n "(cached) " >&6 | 3085 $as_echo_n "(cached) " >&6 |
3481 else | 3086 else |
3482 if test -n "$ac_ct_CC"; then | 3087 if test -n "$ac_ct_CC"; then |
3483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3088 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3484 else | 3089 else |
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3486 for as_dir in $PATH | 3091 for as_dir in $PATH |
3487 do | 3092 do |
3488 IFS=$as_save_IFS | 3093 IFS=$as_save_IFS |
3489 test -z "$as_dir" && as_dir=. | 3094 test -z "$as_dir" && as_dir=. |
3490 for ac_exec_ext in '' $ac_executable_extensions; do | 3095 for ac_exec_ext in '' $ac_executable_extensions; do |
3491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3492 ac_cv_prog_ac_ct_CC="gcc" | 3097 ac_cv_prog_ac_ct_CC="gcc" |
3493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3098 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3494 break 2 | 3099 break 2 |
3495 fi | 3100 fi |
3496 done | 3101 done |
3497 done | 3102 done |
3498 IFS=$as_save_IFS | 3103 IFS=$as_save_IFS |
3499 | 3104 |
3500 fi | 3105 fi |
3501 fi | 3106 fi |
3502 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3107 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3503 if test -n "$ac_ct_CC"; then | 3108 if test -n "$ac_ct_CC"; then |
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3109 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3505 $as_echo "$ac_ct_CC" >&6; } | 3110 $as_echo "$ac_ct_CC" >&6; } |
3506 else | 3111 else |
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3112 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3508 $as_echo "no" >&6; } | 3113 $as_echo "no" >&6; } |
3509 fi | 3114 fi |
3510 | 3115 |
3511 if test "x$ac_ct_CC" = x; then | 3116 if test "x$ac_ct_CC" = x; then |
3512 CC="" | 3117 CC="" |
3513 else | 3118 else |
3514 case $cross_compiling:$ac_tool_warned in | 3119 case $cross_compiling:$ac_tool_warned in |
3515 yes:) | 3120 yes:) |
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3121 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3122 whose name does not start with the host triplet. If you think this |
3123 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3124 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3125 whose name does not start with the host triplet. If you think this | |
3126 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3518 ac_tool_warned=yes ;; | 3127 ac_tool_warned=yes ;; |
3519 esac | 3128 esac |
3520 CC=$ac_ct_CC | 3129 CC=$ac_ct_CC |
3521 fi | 3130 fi |
3522 else | 3131 else |
3525 | 3134 |
3526 if test -z "$CC"; then | 3135 if test -z "$CC"; then |
3527 if test -n "$ac_tool_prefix"; then | 3136 if test -n "$ac_tool_prefix"; then |
3528 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3529 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3138 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3531 $as_echo_n "checking for $ac_word... " >&6; } | 3140 $as_echo_n "checking for $ac_word... " >&6; } |
3532 if test "${ac_cv_prog_CC+set}" = set; then : | 3141 if test "${ac_cv_prog_CC+set}" = set; then |
3533 $as_echo_n "(cached) " >&6 | 3142 $as_echo_n "(cached) " >&6 |
3534 else | 3143 else |
3535 if test -n "$CC"; then | 3144 if test -n "$CC"; then |
3536 ac_cv_prog_CC="$CC" # Let the user override the test. | 3145 ac_cv_prog_CC="$CC" # Let the user override the test. |
3537 else | 3146 else |
3538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3539 for as_dir in $PATH | 3148 for as_dir in $PATH |
3540 do | 3149 do |
3541 IFS=$as_save_IFS | 3150 IFS=$as_save_IFS |
3542 test -z "$as_dir" && as_dir=. | 3151 test -z "$as_dir" && as_dir=. |
3543 for ac_exec_ext in '' $ac_executable_extensions; do | 3152 for ac_exec_ext in '' $ac_executable_extensions; do |
3544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3545 ac_cv_prog_CC="${ac_tool_prefix}cc" | 3154 ac_cv_prog_CC="${ac_tool_prefix}cc" |
3546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3155 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3547 break 2 | 3156 break 2 |
3548 fi | 3157 fi |
3549 done | 3158 done |
3550 done | 3159 done |
3551 IFS=$as_save_IFS | 3160 IFS=$as_save_IFS |
3552 | 3161 |
3553 fi | 3162 fi |
3554 fi | 3163 fi |
3555 CC=$ac_cv_prog_CC | 3164 CC=$ac_cv_prog_CC |
3556 if test -n "$CC"; then | 3165 if test -n "$CC"; then |
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3166 { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3558 $as_echo "$CC" >&6; } | 3167 $as_echo "$CC" >&6; } |
3559 else | 3168 else |
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3169 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3561 $as_echo "no" >&6; } | 3170 $as_echo "no" >&6; } |
3562 fi | 3171 fi |
3563 | 3172 |
3564 | 3173 |
3565 fi | 3174 fi |
3566 fi | 3175 fi |
3567 if test -z "$CC"; then | 3176 if test -z "$CC"; then |
3568 # Extract the first word of "cc", so it can be a program name with args. | 3177 # Extract the first word of "cc", so it can be a program name with args. |
3569 set dummy cc; ac_word=$2 | 3178 set dummy cc; ac_word=$2 |
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3571 $as_echo_n "checking for $ac_word... " >&6; } | 3180 $as_echo_n "checking for $ac_word... " >&6; } |
3572 if test "${ac_cv_prog_CC+set}" = set; then : | 3181 if test "${ac_cv_prog_CC+set}" = set; then |
3573 $as_echo_n "(cached) " >&6 | 3182 $as_echo_n "(cached) " >&6 |
3574 else | 3183 else |
3575 if test -n "$CC"; then | 3184 if test -n "$CC"; then |
3576 ac_cv_prog_CC="$CC" # Let the user override the test. | 3185 ac_cv_prog_CC="$CC" # Let the user override the test. |
3577 else | 3186 else |
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3580 for as_dir in $PATH | 3189 for as_dir in $PATH |
3581 do | 3190 do |
3582 IFS=$as_save_IFS | 3191 IFS=$as_save_IFS |
3583 test -z "$as_dir" && as_dir=. | 3192 test -z "$as_dir" && as_dir=. |
3584 for ac_exec_ext in '' $ac_executable_extensions; do | 3193 for ac_exec_ext in '' $ac_executable_extensions; do |
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3586 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3587 ac_prog_rejected=yes | 3196 ac_prog_rejected=yes |
3588 continue | 3197 continue |
3589 fi | 3198 fi |
3590 ac_cv_prog_CC="cc" | 3199 ac_cv_prog_CC="cc" |
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3200 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3592 break 2 | 3201 break 2 |
3593 fi | 3202 fi |
3594 done | 3203 done |
3595 done | 3204 done |
3596 IFS=$as_save_IFS | 3205 IFS=$as_save_IFS |
3597 | 3206 |
3598 if test $ac_prog_rejected = yes; then | 3207 if test $ac_prog_rejected = yes; then |
3599 # We found a bogon in the path, so make sure we never use it. | 3208 # We found a bogon in the path, so make sure we never use it. |
3600 set dummy $ac_cv_prog_CC | 3209 set dummy $ac_cv_prog_CC |
3609 fi | 3218 fi |
3610 fi | 3219 fi |
3611 fi | 3220 fi |
3612 CC=$ac_cv_prog_CC | 3221 CC=$ac_cv_prog_CC |
3613 if test -n "$CC"; then | 3222 if test -n "$CC"; then |
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3223 { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3615 $as_echo "$CC" >&6; } | 3224 $as_echo "$CC" >&6; } |
3616 else | 3225 else |
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3226 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3618 $as_echo "no" >&6; } | 3227 $as_echo "no" >&6; } |
3619 fi | 3228 fi |
3620 | 3229 |
3621 | 3230 |
3622 fi | 3231 fi |
3624 if test -n "$ac_tool_prefix"; then | 3233 if test -n "$ac_tool_prefix"; then |
3625 for ac_prog in cl.exe | 3234 for ac_prog in cl.exe |
3626 do | 3235 do |
3627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3630 $as_echo_n "checking for $ac_word... " >&6; } | 3239 $as_echo_n "checking for $ac_word... " >&6; } |
3631 if test "${ac_cv_prog_CC+set}" = set; then : | 3240 if test "${ac_cv_prog_CC+set}" = set; then |
3632 $as_echo_n "(cached) " >&6 | 3241 $as_echo_n "(cached) " >&6 |
3633 else | 3242 else |
3634 if test -n "$CC"; then | 3243 if test -n "$CC"; then |
3635 ac_cv_prog_CC="$CC" # Let the user override the test. | 3244 ac_cv_prog_CC="$CC" # Let the user override the test. |
3636 else | 3245 else |
3637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3638 for as_dir in $PATH | 3247 for as_dir in $PATH |
3639 do | 3248 do |
3640 IFS=$as_save_IFS | 3249 IFS=$as_save_IFS |
3641 test -z "$as_dir" && as_dir=. | 3250 test -z "$as_dir" && as_dir=. |
3642 for ac_exec_ext in '' $ac_executable_extensions; do | 3251 for ac_exec_ext in '' $ac_executable_extensions; do |
3643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3644 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3253 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3254 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3646 break 2 | 3255 break 2 |
3647 fi | 3256 fi |
3648 done | 3257 done |
3649 done | 3258 done |
3650 IFS=$as_save_IFS | 3259 IFS=$as_save_IFS |
3651 | 3260 |
3652 fi | 3261 fi |
3653 fi | 3262 fi |
3654 CC=$ac_cv_prog_CC | 3263 CC=$ac_cv_prog_CC |
3655 if test -n "$CC"; then | 3264 if test -n "$CC"; then |
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3265 { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3657 $as_echo "$CC" >&6; } | 3266 $as_echo "$CC" >&6; } |
3658 else | 3267 else |
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3268 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3660 $as_echo "no" >&6; } | 3269 $as_echo "no" >&6; } |
3661 fi | 3270 fi |
3662 | 3271 |
3663 | 3272 |
3664 test -n "$CC" && break | 3273 test -n "$CC" && break |
3668 ac_ct_CC=$CC | 3277 ac_ct_CC=$CC |
3669 for ac_prog in cl.exe | 3278 for ac_prog in cl.exe |
3670 do | 3279 do |
3671 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3280 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3672 set dummy $ac_prog; ac_word=$2 | 3281 set dummy $ac_prog; ac_word=$2 |
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3282 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3674 $as_echo_n "checking for $ac_word... " >&6; } | 3283 $as_echo_n "checking for $ac_word... " >&6; } |
3675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3676 $as_echo_n "(cached) " >&6 | 3285 $as_echo_n "(cached) " >&6 |
3677 else | 3286 else |
3678 if test -n "$ac_ct_CC"; then | 3287 if test -n "$ac_ct_CC"; then |
3679 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3680 else | 3289 else |
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3682 for as_dir in $PATH | 3291 for as_dir in $PATH |
3683 do | 3292 do |
3684 IFS=$as_save_IFS | 3293 IFS=$as_save_IFS |
3685 test -z "$as_dir" && as_dir=. | 3294 test -z "$as_dir" && as_dir=. |
3686 for ac_exec_ext in '' $ac_executable_extensions; do | 3295 for ac_exec_ext in '' $ac_executable_extensions; do |
3687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3688 ac_cv_prog_ac_ct_CC="$ac_prog" | 3297 ac_cv_prog_ac_ct_CC="$ac_prog" |
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3690 break 2 | 3299 break 2 |
3691 fi | 3300 fi |
3692 done | 3301 done |
3693 done | 3302 done |
3694 IFS=$as_save_IFS | 3303 IFS=$as_save_IFS |
3695 | 3304 |
3696 fi | 3305 fi |
3697 fi | 3306 fi |
3698 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3307 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3699 if test -n "$ac_ct_CC"; then | 3308 if test -n "$ac_ct_CC"; then |
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3309 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3701 $as_echo "$ac_ct_CC" >&6; } | 3310 $as_echo "$ac_ct_CC" >&6; } |
3702 else | 3311 else |
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3312 { $as_echo "$as_me:$LINENO: result: no" >&5 |
3704 $as_echo "no" >&6; } | 3313 $as_echo "no" >&6; } |
3705 fi | 3314 fi |
3706 | 3315 |
3707 | 3316 |
3708 test -n "$ac_ct_CC" && break | 3317 test -n "$ac_ct_CC" && break |
3711 if test "x$ac_ct_CC" = x; then | 3320 if test "x$ac_ct_CC" = x; then |
3712 CC="" | 3321 CC="" |
3713 else | 3322 else |
3714 case $cross_compiling:$ac_tool_warned in | 3323 case $cross_compiling:$ac_tool_warned in |
3715 yes:) | 3324 yes:) |
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3325 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3326 whose name does not start with the host triplet. If you think this |
3327 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3328 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3329 whose name does not start with the host triplet. If you think this | |
3330 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3718 ac_tool_warned=yes ;; | 3331 ac_tool_warned=yes ;; |
3719 esac | 3332 esac |
3720 CC=$ac_ct_CC | 3333 CC=$ac_ct_CC |
3721 fi | 3334 fi |
3722 fi | 3335 fi |
3723 | 3336 |
3724 fi | 3337 fi |
3725 | 3338 |
3726 | 3339 |
3727 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3340 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
3728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3341 See \`config.log' for more details." >&5 |
3729 as_fn_error "no acceptable C compiler found in \$PATH | 3342 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
3730 See \`config.log' for more details." "$LINENO" 5; } | 3343 See \`config.log' for more details." >&2;} |
3344 { (exit 1); exit 1; }; } | |
3731 | 3345 |
3732 # Provide some information about the compiler. | 3346 # Provide some information about the compiler. |
3733 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3347 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
3734 set X $ac_compile | 3348 set X $ac_compile |
3735 ac_compiler=$2 | 3349 ac_compiler=$2 |
3736 for ac_option in --version -v -V -qversion; do | 3350 { (ac_try="$ac_compiler --version >&5" |
3737 { { ac_try="$ac_compiler $ac_option >&5" | |
3738 case "(($ac_try" in | 3351 case "(($ac_try" in |
3739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3740 *) ac_try_echo=$ac_try;; | 3353 *) ac_try_echo=$ac_try;; |
3741 esac | 3354 esac |
3742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3743 $as_echo "$ac_try_echo"; } >&5 | 3356 $as_echo "$ac_try_echo") >&5 |
3744 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 3357 (eval "$ac_compiler --version >&5") 2>&5 |
3745 ac_status=$? | 3358 ac_status=$? |
3746 if test -s conftest.err; then | 3359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3747 sed '10a\ | 3360 (exit $ac_status); } |
3748 ... rest of stderr output deleted ... | 3361 { (ac_try="$ac_compiler -v >&5" |
3749 10q' conftest.err >conftest.er1 | 3362 case "(($ac_try" in |
3750 cat conftest.er1 >&5 | 3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3751 fi | 3364 *) ac_try_echo=$ac_try;; |
3752 rm -f conftest.er1 conftest.err | 3365 esac |
3753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3754 test $ac_status = 0; } | 3367 $as_echo "$ac_try_echo") >&5 |
3755 done | 3368 (eval "$ac_compiler -v >&5") 2>&5 |
3756 | 3369 ac_status=$? |
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3371 (exit $ac_status); } | |
3372 { (ac_try="$ac_compiler -V >&5" | |
3373 case "(($ac_try" in | |
3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3375 *) ac_try_echo=$ac_try;; | |
3376 esac | |
3377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3378 $as_echo "$ac_try_echo") >&5 | |
3379 (eval "$ac_compiler -V >&5") 2>&5 | |
3380 ac_status=$? | |
3381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3382 (exit $ac_status); } | |
3383 | |
3384 cat >conftest.$ac_ext <<_ACEOF | |
3385 /* confdefs.h. */ | |
3386 _ACEOF | |
3387 cat confdefs.h >>conftest.$ac_ext | |
3388 cat >>conftest.$ac_ext <<_ACEOF | |
3758 /* end confdefs.h. */ | 3389 /* end confdefs.h. */ |
3759 | 3390 |
3760 int | 3391 int |
3761 main () | 3392 main () |
3762 { | 3393 { |
3768 ac_clean_files_save=$ac_clean_files | 3399 ac_clean_files_save=$ac_clean_files |
3769 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 3400 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3770 # Try to create an executable without -o first, disregard a.out. | 3401 # Try to create an executable without -o first, disregard a.out. |
3771 # It will help us diagnose broken compilers, and finding out an intuition | 3402 # It will help us diagnose broken compilers, and finding out an intuition |
3772 # of exeext. | 3403 # of exeext. |
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 3404 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
3774 $as_echo_n "checking whether the C compiler works... " >&6; } | 3405 $as_echo_n "checking for C compiler default output file name... " >&6; } |
3775 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3406 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3776 | 3407 |
3777 # The possible output files: | 3408 # The possible output files: |
3778 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 3409 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3779 | 3410 |
3785 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 3416 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3786 esac | 3417 esac |
3787 done | 3418 done |
3788 rm -f $ac_rmfiles | 3419 rm -f $ac_rmfiles |
3789 | 3420 |
3790 if { { ac_try="$ac_link_default" | 3421 if { (ac_try="$ac_link_default" |
3791 case "(($ac_try" in | 3422 case "(($ac_try" in |
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3793 *) ac_try_echo=$ac_try;; | 3424 *) ac_try_echo=$ac_try;; |
3794 esac | 3425 esac |
3795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3796 $as_echo "$ac_try_echo"; } >&5 | 3427 $as_echo "$ac_try_echo") >&5 |
3797 (eval "$ac_link_default") 2>&5 | 3428 (eval "$ac_link_default") 2>&5 |
3798 ac_status=$? | 3429 ac_status=$? |
3799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3800 test $ac_status = 0; }; then : | 3431 (exit $ac_status); }; then |
3801 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3432 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3802 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3433 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3803 # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3434 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
3804 # so that the user can short-circuit this test for compilers unknown to | 3435 # so that the user can short-circuit this test for compilers unknown to |
3805 # Autoconf. | 3436 # Autoconf. |
3812 [ab].out ) | 3443 [ab].out ) |
3813 # We found the default executable, but exeext='' is most | 3444 # We found the default executable, but exeext='' is most |
3814 # certainly right. | 3445 # certainly right. |
3815 break;; | 3446 break;; |
3816 *.* ) | 3447 *.* ) |
3817 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3448 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3818 then :; else | 3449 then :; else |
3819 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3820 fi | 3451 fi |
3821 # We set ac_cv_exeext here because the later test for it is not | 3452 # We set ac_cv_exeext here because the later test for it is not |
3822 # safe: cross compilers may not add the suffix if given an `-o' | 3453 # safe: cross compilers may not add the suffix if given an `-o' |
3831 test "$ac_cv_exeext" = no && ac_cv_exeext= | 3462 test "$ac_cv_exeext" = no && ac_cv_exeext= |
3832 | 3463 |
3833 else | 3464 else |
3834 ac_file='' | 3465 ac_file='' |
3835 fi | 3466 fi |
3836 if test -z "$ac_file"; then : | 3467 |
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3468 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
3838 $as_echo "no" >&6; } | 3469 $as_echo "$ac_file" >&6; } |
3839 $as_echo "$as_me: failed program was:" >&5 | 3470 if test -z "$ac_file"; then |
3471 $as_echo "$as_me: failed program was:" >&5 | |
3840 sed 's/^/| /' conftest.$ac_ext >&5 | 3472 sed 's/^/| /' conftest.$ac_ext >&5 |
3841 | 3473 |
3842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3474 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3475 See \`config.log' for more details." >&5 |
3844 { as_fn_set_status 77 | 3476 $as_echo "$as_me: error: C compiler cannot create executables |
3845 as_fn_error "C compiler cannot create executables | 3477 See \`config.log' for more details." >&2;} |
3846 See \`config.log' for more details." "$LINENO" 5; }; } | 3478 { (exit 77); exit 77; }; } |
3847 else | 3479 fi |
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3480 |
3481 ac_exeext=$ac_cv_exeext | |
3482 | |
3483 # Check that the compiler produces executables we can run. If not, either | |
3484 # the compiler is broken, or we cross compile. | |
3485 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
3486 $as_echo_n "checking whether the C compiler works... " >&6; } | |
3487 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
3488 # If not cross compiling, check that we can run a simple program. | |
3489 if test "$cross_compiling" != yes; then | |
3490 if { ac_try='./$ac_file' | |
3491 { (case "(($ac_try" in | |
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3493 *) ac_try_echo=$ac_try;; | |
3494 esac | |
3495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3496 $as_echo "$ac_try_echo") >&5 | |
3497 (eval "$ac_try") 2>&5 | |
3498 ac_status=$? | |
3499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3500 (exit $ac_status); }; }; then | |
3501 cross_compiling=no | |
3502 else | |
3503 if test "$cross_compiling" = maybe; then | |
3504 cross_compiling=yes | |
3505 else | |
3506 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
3507 If you meant to cross compile, use \`--host'. | |
3508 See \`config.log' for more details." >&5 | |
3509 $as_echo "$as_me: error: cannot run C compiled programs. | |
3510 If you meant to cross compile, use \`--host'. | |
3511 See \`config.log' for more details." >&2;} | |
3512 { (exit 1); exit 1; }; } | |
3513 fi | |
3514 fi | |
3515 fi | |
3516 { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
3849 $as_echo "yes" >&6; } | 3517 $as_echo "yes" >&6; } |
3850 fi | |
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3852 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3854 $as_echo "$ac_file" >&6; } | |
3855 ac_exeext=$ac_cv_exeext | |
3856 | 3518 |
3857 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 3519 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3858 ac_clean_files=$ac_clean_files_save | 3520 ac_clean_files=$ac_clean_files_save |
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 3521 # Check that the compiler produces executables we can run. If not, either |
3522 # the compiler is broken, or we cross compile. | |
3523 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
3524 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3525 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
3526 $as_echo "$cross_compiling" >&6; } | |
3527 | |
3528 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
3860 $as_echo_n "checking for suffix of executables... " >&6; } | 3529 $as_echo_n "checking for suffix of executables... " >&6; } |
3861 if { { ac_try="$ac_link" | 3530 if { (ac_try="$ac_link" |
3862 case "(($ac_try" in | 3531 case "(($ac_try" in |
3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3864 *) ac_try_echo=$ac_try;; | 3533 *) ac_try_echo=$ac_try;; |
3865 esac | 3534 esac |
3866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3867 $as_echo "$ac_try_echo"; } >&5 | 3536 $as_echo "$ac_try_echo") >&5 |
3868 (eval "$ac_link") 2>&5 | 3537 (eval "$ac_link") 2>&5 |
3869 ac_status=$? | 3538 ac_status=$? |
3870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3871 test $ac_status = 0; }; then : | 3540 (exit $ac_status); }; then |
3872 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3541 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3873 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3542 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3874 # work properly (i.e., refer to `conftest.exe'), while it won't with | 3543 # work properly (i.e., refer to `conftest.exe'), while it won't with |
3875 # `rm'. | 3544 # `rm'. |
3876 for ac_file in conftest.exe conftest conftest.*; do | 3545 for ac_file in conftest.exe conftest conftest.*; do |
3881 break;; | 3550 break;; |
3882 * ) break;; | 3551 * ) break;; |
3883 esac | 3552 esac |
3884 done | 3553 done |
3885 else | 3554 else |
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3555 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3556 See \`config.log' for more details." >&5 |
3888 as_fn_error "cannot compute suffix of executables: cannot compile and link | 3557 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
3889 See \`config.log' for more details." "$LINENO" 5; } | 3558 See \`config.log' for more details." >&2;} |
3890 fi | 3559 { (exit 1); exit 1; }; } |
3891 rm -f conftest conftest$ac_cv_exeext | 3560 fi |
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3561 |
3562 rm -f conftest$ac_cv_exeext | |
3563 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
3893 $as_echo "$ac_cv_exeext" >&6; } | 3564 $as_echo "$ac_cv_exeext" >&6; } |
3894 | 3565 |
3895 rm -f conftest.$ac_ext | 3566 rm -f conftest.$ac_ext |
3896 EXEEXT=$ac_cv_exeext | 3567 EXEEXT=$ac_cv_exeext |
3897 ac_exeext=$EXEEXT | 3568 ac_exeext=$EXEEXT |
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3569 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3570 $as_echo_n "checking for suffix of object files... " >&6; } | |
3571 if test "${ac_cv_objext+set}" = set; then | |
3572 $as_echo_n "(cached) " >&6 | |
3573 else | |
3574 cat >conftest.$ac_ext <<_ACEOF | |
3575 /* confdefs.h. */ | |
3576 _ACEOF | |
3577 cat confdefs.h >>conftest.$ac_ext | |
3578 cat >>conftest.$ac_ext <<_ACEOF | |
3899 /* end confdefs.h. */ | 3579 /* end confdefs.h. */ |
3900 #include <stdio.h> | 3580 |
3901 int | 3581 int |
3902 main () | 3582 main () |
3903 { | 3583 { |
3904 FILE *f = fopen ("conftest.out", "w"); | |
3905 return ferror (f) || fclose (f) != 0; | |
3906 | 3584 |
3907 ; | 3585 ; |
3908 return 0; | 3586 return 0; |
3909 } | 3587 } |
3910 _ACEOF | 3588 _ACEOF |
3911 ac_clean_files="$ac_clean_files conftest.out" | 3589 rm -f conftest.o conftest.obj |
3912 # Check that the compiler produces executables we can run. If not, either | 3590 if { (ac_try="$ac_compile" |
3913 # the compiler is broken, or we cross compile. | |
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3915 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3916 if test "$cross_compiling" != yes; then | |
3917 { { ac_try="$ac_link" | |
3918 case "(($ac_try" in | 3591 case "(($ac_try" in |
3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3920 *) ac_try_echo=$ac_try;; | 3593 *) ac_try_echo=$ac_try;; |
3921 esac | 3594 esac |
3922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3923 $as_echo "$ac_try_echo"; } >&5 | 3596 $as_echo "$ac_try_echo") >&5 |
3924 (eval "$ac_link") 2>&5 | |
3925 ac_status=$? | |
3926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3927 test $ac_status = 0; } | |
3928 if { ac_try='./conftest$ac_cv_exeext' | |
3929 { { case "(($ac_try" in | |
3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3931 *) ac_try_echo=$ac_try;; | |
3932 esac | |
3933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3934 $as_echo "$ac_try_echo"; } >&5 | |
3935 (eval "$ac_try") 2>&5 | |
3936 ac_status=$? | |
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3938 test $ac_status = 0; }; }; then | |
3939 cross_compiling=no | |
3940 else | |
3941 if test "$cross_compiling" = maybe; then | |
3942 cross_compiling=yes | |
3943 else | |
3944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3946 as_fn_error "cannot run C compiled programs. | |
3947 If you meant to cross compile, use \`--host'. | |
3948 See \`config.log' for more details." "$LINENO" 5; } | |
3949 fi | |
3950 fi | |
3951 fi | |
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3953 $as_echo "$cross_compiling" >&6; } | |
3954 | |
3955 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3956 ac_clean_files=$ac_clean_files_save | |
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3958 $as_echo_n "checking for suffix of object files... " >&6; } | |
3959 if test "${ac_cv_objext+set}" = set; then : | |
3960 $as_echo_n "(cached) " >&6 | |
3961 else | |
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3963 /* end confdefs.h. */ | |
3964 | |
3965 int | |
3966 main () | |
3967 { | |
3968 | |
3969 ; | |
3970 return 0; | |
3971 } | |
3972 _ACEOF | |
3973 rm -f conftest.o conftest.obj | |
3974 if { { ac_try="$ac_compile" | |
3975 case "(($ac_try" in | |
3976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3977 *) ac_try_echo=$ac_try;; | |
3978 esac | |
3979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3980 $as_echo "$ac_try_echo"; } >&5 | |
3981 (eval "$ac_compile") 2>&5 | 3597 (eval "$ac_compile") 2>&5 |
3982 ac_status=$? | 3598 ac_status=$? |
3983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3984 test $ac_status = 0; }; then : | 3600 (exit $ac_status); }; then |
3985 for ac_file in conftest.o conftest.obj conftest.*; do | 3601 for ac_file in conftest.o conftest.obj conftest.*; do |
3986 test -f "$ac_file" || continue; | 3602 test -f "$ac_file" || continue; |
3987 case $ac_file in | 3603 case $ac_file in |
3988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 3604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3989 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3605 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3992 done | 3608 done |
3993 else | 3609 else |
3994 $as_echo "$as_me: failed program was:" >&5 | 3610 $as_echo "$as_me: failed program was:" >&5 |
3995 sed 's/^/| /' conftest.$ac_ext >&5 | 3611 sed 's/^/| /' conftest.$ac_ext >&5 |
3996 | 3612 |
3997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3613 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
3998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3614 See \`config.log' for more details." >&5 |
3999 as_fn_error "cannot compute suffix of object files: cannot compile | 3615 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
4000 See \`config.log' for more details." "$LINENO" 5; } | 3616 See \`config.log' for more details." >&2;} |
4001 fi | 3617 { (exit 1); exit 1; }; } |
3618 fi | |
3619 | |
4002 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3620 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4003 fi | 3621 fi |
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 3622 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
4005 $as_echo "$ac_cv_objext" >&6; } | 3623 $as_echo "$ac_cv_objext" >&6; } |
4006 OBJEXT=$ac_cv_objext | 3624 OBJEXT=$ac_cv_objext |
4007 ac_objext=$OBJEXT | 3625 ac_objext=$OBJEXT |
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 3626 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
4009 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 3627 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4010 if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 3628 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4011 $as_echo_n "(cached) " >&6 | 3629 $as_echo_n "(cached) " >&6 |
4012 else | 3630 else |
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3631 cat >conftest.$ac_ext <<_ACEOF |
3632 /* confdefs.h. */ | |
3633 _ACEOF | |
3634 cat confdefs.h >>conftest.$ac_ext | |
3635 cat >>conftest.$ac_ext <<_ACEOF | |
4014 /* end confdefs.h. */ | 3636 /* end confdefs.h. */ |
4015 | 3637 |
4016 int | 3638 int |
4017 main () | 3639 main () |
4018 { | 3640 { |
4022 | 3644 |
4023 ; | 3645 ; |
4024 return 0; | 3646 return 0; |
4025 } | 3647 } |
4026 _ACEOF | 3648 _ACEOF |
4027 if ac_fn_c_try_compile "$LINENO"; then : | 3649 rm -f conftest.$ac_objext |
3650 if { (ac_try="$ac_compile" | |
3651 case "(($ac_try" in | |
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3653 *) ac_try_echo=$ac_try;; | |
3654 esac | |
3655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3656 $as_echo "$ac_try_echo") >&5 | |
3657 (eval "$ac_compile") 2>conftest.er1 | |
3658 ac_status=$? | |
3659 grep -v '^ *+' conftest.er1 >conftest.err | |
3660 rm -f conftest.er1 | |
3661 cat conftest.err >&5 | |
3662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3663 (exit $ac_status); } && { | |
3664 test -z "$ac_c_werror_flag" || | |
3665 test ! -s conftest.err | |
3666 } && test -s conftest.$ac_objext; then | |
4028 ac_compiler_gnu=yes | 3667 ac_compiler_gnu=yes |
4029 else | 3668 else |
4030 ac_compiler_gnu=no | 3669 $as_echo "$as_me: failed program was:" >&5 |
4031 fi | 3670 sed 's/^/| /' conftest.$ac_ext >&5 |
3671 | |
3672 ac_compiler_gnu=no | |
3673 fi | |
3674 | |
4032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4033 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3676 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4034 | 3677 |
4035 fi | 3678 fi |
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 3679 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4037 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 3680 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4038 if test $ac_compiler_gnu = yes; then | 3681 if test $ac_compiler_gnu = yes; then |
4039 GCC=yes | 3682 GCC=yes |
4040 else | 3683 else |
4041 GCC= | 3684 GCC= |
4042 fi | 3685 fi |
4043 ac_test_CFLAGS=${CFLAGS+set} | 3686 ac_test_CFLAGS=${CFLAGS+set} |
4044 ac_save_CFLAGS=$CFLAGS | 3687 ac_save_CFLAGS=$CFLAGS |
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 3688 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
4046 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 3689 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4047 if test "${ac_cv_prog_cc_g+set}" = set; then : | 3690 if test "${ac_cv_prog_cc_g+set}" = set; then |
4048 $as_echo_n "(cached) " >&6 | 3691 $as_echo_n "(cached) " >&6 |
4049 else | 3692 else |
4050 ac_save_c_werror_flag=$ac_c_werror_flag | 3693 ac_save_c_werror_flag=$ac_c_werror_flag |
4051 ac_c_werror_flag=yes | 3694 ac_c_werror_flag=yes |
4052 ac_cv_prog_cc_g=no | 3695 ac_cv_prog_cc_g=no |
4053 CFLAGS="-g" | 3696 CFLAGS="-g" |
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3697 cat >conftest.$ac_ext <<_ACEOF |
3698 /* confdefs.h. */ | |
3699 _ACEOF | |
3700 cat confdefs.h >>conftest.$ac_ext | |
3701 cat >>conftest.$ac_ext <<_ACEOF | |
4055 /* end confdefs.h. */ | 3702 /* end confdefs.h. */ |
4056 | 3703 |
4057 int | 3704 int |
4058 main () | 3705 main () |
4059 { | 3706 { |
4060 | 3707 |
4061 ; | 3708 ; |
4062 return 0; | 3709 return 0; |
4063 } | 3710 } |
4064 _ACEOF | 3711 _ACEOF |
4065 if ac_fn_c_try_compile "$LINENO"; then : | 3712 rm -f conftest.$ac_objext |
3713 if { (ac_try="$ac_compile" | |
3714 case "(($ac_try" in | |
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3716 *) ac_try_echo=$ac_try;; | |
3717 esac | |
3718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3719 $as_echo "$ac_try_echo") >&5 | |
3720 (eval "$ac_compile") 2>conftest.er1 | |
3721 ac_status=$? | |
3722 grep -v '^ *+' conftest.er1 >conftest.err | |
3723 rm -f conftest.er1 | |
3724 cat conftest.err >&5 | |
3725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3726 (exit $ac_status); } && { | |
3727 test -z "$ac_c_werror_flag" || | |
3728 test ! -s conftest.err | |
3729 } && test -s conftest.$ac_objext; then | |
4066 ac_cv_prog_cc_g=yes | 3730 ac_cv_prog_cc_g=yes |
4067 else | 3731 else |
4068 CFLAGS="" | 3732 $as_echo "$as_me: failed program was:" >&5 |
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3733 sed 's/^/| /' conftest.$ac_ext >&5 |
3734 | |
3735 CFLAGS="" | |
3736 cat >conftest.$ac_ext <<_ACEOF | |
3737 /* confdefs.h. */ | |
3738 _ACEOF | |
3739 cat confdefs.h >>conftest.$ac_ext | |
3740 cat >>conftest.$ac_ext <<_ACEOF | |
4070 /* end confdefs.h. */ | 3741 /* end confdefs.h. */ |
4071 | 3742 |
4072 int | 3743 int |
4073 main () | 3744 main () |
4074 { | 3745 { |
4075 | 3746 |
4076 ; | 3747 ; |
4077 return 0; | 3748 return 0; |
4078 } | 3749 } |
4079 _ACEOF | 3750 _ACEOF |
4080 if ac_fn_c_try_compile "$LINENO"; then : | 3751 rm -f conftest.$ac_objext |
4081 | 3752 if { (ac_try="$ac_compile" |
4082 else | 3753 case "(($ac_try" in |
4083 ac_c_werror_flag=$ac_save_c_werror_flag | 3754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3755 *) ac_try_echo=$ac_try;; | |
3756 esac | |
3757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3758 $as_echo "$ac_try_echo") >&5 | |
3759 (eval "$ac_compile") 2>conftest.er1 | |
3760 ac_status=$? | |
3761 grep -v '^ *+' conftest.er1 >conftest.err | |
3762 rm -f conftest.er1 | |
3763 cat conftest.err >&5 | |
3764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3765 (exit $ac_status); } && { | |
3766 test -z "$ac_c_werror_flag" || | |
3767 test ! -s conftest.err | |
3768 } && test -s conftest.$ac_objext; then | |
3769 : | |
3770 else | |
3771 $as_echo "$as_me: failed program was:" >&5 | |
3772 sed 's/^/| /' conftest.$ac_ext >&5 | |
3773 | |
3774 ac_c_werror_flag=$ac_save_c_werror_flag | |
4084 CFLAGS="-g" | 3775 CFLAGS="-g" |
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3776 cat >conftest.$ac_ext <<_ACEOF |
3777 /* confdefs.h. */ | |
3778 _ACEOF | |
3779 cat confdefs.h >>conftest.$ac_ext | |
3780 cat >>conftest.$ac_ext <<_ACEOF | |
4086 /* end confdefs.h. */ | 3781 /* end confdefs.h. */ |
4087 | 3782 |
4088 int | 3783 int |
4089 main () | 3784 main () |
4090 { | 3785 { |
4091 | 3786 |
4092 ; | 3787 ; |
4093 return 0; | 3788 return 0; |
4094 } | 3789 } |
4095 _ACEOF | 3790 _ACEOF |
4096 if ac_fn_c_try_compile "$LINENO"; then : | 3791 rm -f conftest.$ac_objext |
3792 if { (ac_try="$ac_compile" | |
3793 case "(($ac_try" in | |
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3795 *) ac_try_echo=$ac_try;; | |
3796 esac | |
3797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3798 $as_echo "$ac_try_echo") >&5 | |
3799 (eval "$ac_compile") 2>conftest.er1 | |
3800 ac_status=$? | |
3801 grep -v '^ *+' conftest.er1 >conftest.err | |
3802 rm -f conftest.er1 | |
3803 cat conftest.err >&5 | |
3804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3805 (exit $ac_status); } && { | |
3806 test -z "$ac_c_werror_flag" || | |
3807 test ! -s conftest.err | |
3808 } && test -s conftest.$ac_objext; then | |
4097 ac_cv_prog_cc_g=yes | 3809 ac_cv_prog_cc_g=yes |
4098 fi | 3810 else |
3811 $as_echo "$as_me: failed program was:" >&5 | |
3812 sed 's/^/| /' conftest.$ac_ext >&5 | |
3813 | |
3814 | |
3815 fi | |
3816 | |
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4100 fi | 3818 fi |
3819 | |
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4102 fi | 3821 fi |
3822 | |
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4104 ac_c_werror_flag=$ac_save_c_werror_flag | 3824 ac_c_werror_flag=$ac_save_c_werror_flag |
4105 fi | 3825 fi |
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 3826 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4107 $as_echo "$ac_cv_prog_cc_g" >&6; } | 3827 $as_echo "$ac_cv_prog_cc_g" >&6; } |
4108 if test "$ac_test_CFLAGS" = set; then | 3828 if test "$ac_test_CFLAGS" = set; then |
4109 CFLAGS=$ac_save_CFLAGS | 3829 CFLAGS=$ac_save_CFLAGS |
4110 elif test $ac_cv_prog_cc_g = yes; then | 3830 elif test $ac_cv_prog_cc_g = yes; then |
4111 if test "$GCC" = yes; then | 3831 if test "$GCC" = yes; then |
4118 CFLAGS="-O2" | 3838 CFLAGS="-O2" |
4119 else | 3839 else |
4120 CFLAGS= | 3840 CFLAGS= |
4121 fi | 3841 fi |
4122 fi | 3842 fi |
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 3843 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
4124 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 3844 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4125 if test "${ac_cv_prog_cc_c89+set}" = set; then : | 3845 if test "${ac_cv_prog_cc_c89+set}" = set; then |
4126 $as_echo_n "(cached) " >&6 | 3846 $as_echo_n "(cached) " >&6 |
4127 else | 3847 else |
4128 ac_cv_prog_cc_c89=no | 3848 ac_cv_prog_cc_c89=no |
4129 ac_save_CC=$CC | 3849 ac_save_CC=$CC |
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3850 cat >conftest.$ac_ext <<_ACEOF |
3851 /* confdefs.h. */ | |
3852 _ACEOF | |
3853 cat confdefs.h >>conftest.$ac_ext | |
3854 cat >>conftest.$ac_ext <<_ACEOF | |
4131 /* end confdefs.h. */ | 3855 /* end confdefs.h. */ |
4132 #include <stdarg.h> | 3856 #include <stdarg.h> |
4133 #include <stdio.h> | 3857 #include <stdio.h> |
4134 #include <sys/types.h> | 3858 #include <sys/types.h> |
4135 #include <sys/stat.h> | 3859 #include <sys/stat.h> |
4182 _ACEOF | 3906 _ACEOF |
4183 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 3907 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
4184 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3908 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4185 do | 3909 do |
4186 CC="$ac_save_CC $ac_arg" | 3910 CC="$ac_save_CC $ac_arg" |
4187 if ac_fn_c_try_compile "$LINENO"; then : | 3911 rm -f conftest.$ac_objext |
3912 if { (ac_try="$ac_compile" | |
3913 case "(($ac_try" in | |
3914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3915 *) ac_try_echo=$ac_try;; | |
3916 esac | |
3917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
3918 $as_echo "$ac_try_echo") >&5 | |
3919 (eval "$ac_compile") 2>conftest.er1 | |
3920 ac_status=$? | |
3921 grep -v '^ *+' conftest.er1 >conftest.err | |
3922 rm -f conftest.er1 | |
3923 cat conftest.err >&5 | |
3924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3925 (exit $ac_status); } && { | |
3926 test -z "$ac_c_werror_flag" || | |
3927 test ! -s conftest.err | |
3928 } && test -s conftest.$ac_objext; then | |
4188 ac_cv_prog_cc_c89=$ac_arg | 3929 ac_cv_prog_cc_c89=$ac_arg |
4189 fi | 3930 else |
3931 $as_echo "$as_me: failed program was:" >&5 | |
3932 sed 's/^/| /' conftest.$ac_ext >&5 | |
3933 | |
3934 | |
3935 fi | |
3936 | |
4190 rm -f core conftest.err conftest.$ac_objext | 3937 rm -f core conftest.err conftest.$ac_objext |
4191 test "x$ac_cv_prog_cc_c89" != "xno" && break | 3938 test "x$ac_cv_prog_cc_c89" != "xno" && break |
4192 done | 3939 done |
4193 rm -f conftest.$ac_ext | 3940 rm -f conftest.$ac_ext |
4194 CC=$ac_save_CC | 3941 CC=$ac_save_CC |
4195 | 3942 |
4196 fi | 3943 fi |
4197 # AC_CACHE_VAL | 3944 # AC_CACHE_VAL |
4198 case "x$ac_cv_prog_cc_c89" in | 3945 case "x$ac_cv_prog_cc_c89" in |
4199 x) | 3946 x) |
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 3947 { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
4201 $as_echo "none needed" >&6; } ;; | 3948 $as_echo "none needed" >&6; } ;; |
4202 xno) | 3949 xno) |
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 3950 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
4204 $as_echo "unsupported" >&6; } ;; | 3951 $as_echo "unsupported" >&6; } ;; |
4205 *) | 3952 *) |
4206 CC="$CC $ac_cv_prog_cc_c89" | 3953 CC="$CC $ac_cv_prog_cc_c89" |
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 3954 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
4208 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 3955 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4209 esac | 3956 esac |
4210 if test "x$ac_cv_prog_cc_c89" != xno; then : | 3957 |
4211 | |
4212 fi | |
4213 | 3958 |
4214 ac_ext=c | 3959 ac_ext=c |
4215 ac_cpp='$CPP $CPPFLAGS' | 3960 ac_cpp='$CPP $CPPFLAGS' |
4216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4225 | 3970 |
4226 ## If not using gcc, and on Solaris, and no CPP specified, see if | 3971 ## If not using gcc, and on Solaris, and no CPP specified, see if |
4227 ## using a Sun compiler, which needs -Xs to prevent whitespace. | 3972 ## using a Sun compiler, which needs -Xs to prevent whitespace. |
4228 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ | 3973 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ |
4229 test x"$CPP" = x; then | 3974 test x"$CPP" = x; then |
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 | 3975 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 |
4231 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } | 3976 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } |
4232 | 3977 |
4233 if test "${emacs_cv_sunpro_c+set}" = set; then : | 3978 if test "${emacs_cv_sunpro_c+set}" = set; then |
4234 $as_echo_n "(cached) " >&6 | 3979 $as_echo_n "(cached) " >&6 |
4235 else | 3980 else |
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3981 cat >conftest.$ac_ext <<_ACEOF |
3982 /* confdefs.h. */ | |
3983 _ACEOF | |
3984 cat confdefs.h >>conftest.$ac_ext | |
3985 cat >>conftest.$ac_ext <<_ACEOF | |
4237 /* end confdefs.h. */ | 3986 /* end confdefs.h. */ |
4238 | 3987 |
4239 int | 3988 int |
4240 main () | 3989 main () |
4241 { | 3990 { |
4245 | 3994 |
4246 ; | 3995 ; |
4247 return 0; | 3996 return 0; |
4248 } | 3997 } |
4249 _ACEOF | 3998 _ACEOF |
4250 if ac_fn_c_try_link "$LINENO"; then : | 3999 rm -f conftest.$ac_objext conftest$ac_exeext |
4000 if { (ac_try="$ac_link" | |
4001 case "(($ac_try" in | |
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4003 *) ac_try_echo=$ac_try;; | |
4004 esac | |
4005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4006 $as_echo "$ac_try_echo") >&5 | |
4007 (eval "$ac_link") 2>conftest.er1 | |
4008 ac_status=$? | |
4009 grep -v '^ *+' conftest.er1 >conftest.err | |
4010 rm -f conftest.er1 | |
4011 cat conftest.err >&5 | |
4012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4013 (exit $ac_status); } && { | |
4014 test -z "$ac_c_werror_flag" || | |
4015 test ! -s conftest.err | |
4016 } && test -s conftest$ac_exeext && { | |
4017 test "$cross_compiling" = yes || | |
4018 $as_test_x conftest$ac_exeext | |
4019 }; then | |
4251 emacs_cv_sunpro_c=yes | 4020 emacs_cv_sunpro_c=yes |
4252 else | 4021 else |
4253 emacs_cv_sunpro_c=no | 4022 $as_echo "$as_me: failed program was:" >&5 |
4254 fi | 4023 sed 's/^/| /' conftest.$ac_ext >&5 |
4255 rm -f core conftest.err conftest.$ac_objext \ | 4024 |
4256 conftest$ac_exeext conftest.$ac_ext | 4025 emacs_cv_sunpro_c=no |
4257 fi | 4026 fi |
4258 | 4027 |
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5 | 4028 rm -rf conftest.dSYM |
4029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4030 conftest$ac_exeext conftest.$ac_ext | |
4031 fi | |
4032 | |
4033 { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 | |
4260 $as_echo "$emacs_cv_sunpro_c" >&6; } | 4034 $as_echo "$emacs_cv_sunpro_c" >&6; } |
4261 | 4035 |
4262 if test x"$emacs_cv_sunpro_c" = xyes; then | 4036 if test x"$emacs_cv_sunpro_c" = xyes; then |
4263 NON_GNU_CPP="$CC -E -Xs" | 4037 NON_GNU_CPP="$CC -E -Xs" |
4264 fi | 4038 fi |
4294 ac_ext=c | 4068 ac_ext=c |
4295 ac_cpp='$CPP $CPPFLAGS' | 4069 ac_cpp='$CPP $CPPFLAGS' |
4296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4298 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4072 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 4073 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4300 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 4074 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
4301 # On Suns, sometimes $CPP names a directory. | 4075 # On Suns, sometimes $CPP names a directory. |
4302 if test -n "$CPP" && test -d "$CPP"; then | 4076 if test -n "$CPP" && test -d "$CPP"; then |
4303 CPP= | 4077 CPP= |
4304 fi | 4078 fi |
4305 if test -z "$CPP"; then | 4079 if test -z "$CPP"; then |
4306 if test "${ac_cv_prog_CPP+set}" = set; then : | 4080 if test "${ac_cv_prog_CPP+set}" = set; then |
4307 $as_echo_n "(cached) " >&6 | 4081 $as_echo_n "(cached) " >&6 |
4308 else | 4082 else |
4309 # Double quotes because CPP needs to be expanded | 4083 # Double quotes because CPP needs to be expanded |
4310 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 4084 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4311 do | 4085 do |
4316 # with a fresh cross-compiler works. | 4090 # with a fresh cross-compiler works. |
4317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4318 # <limits.h> exists even on freestanding compilers. | 4092 # <limits.h> exists even on freestanding compilers. |
4319 # On the NeXT, cc -E runs the code through the compiler's parser, | 4093 # On the NeXT, cc -E runs the code through the compiler's parser, |
4320 # not just through cpp. "Syntax error" is here to catch this case. | 4094 # not just through cpp. "Syntax error" is here to catch this case. |
4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4095 cat >conftest.$ac_ext <<_ACEOF |
4096 /* confdefs.h. */ | |
4097 _ACEOF | |
4098 cat confdefs.h >>conftest.$ac_ext | |
4099 cat >>conftest.$ac_ext <<_ACEOF | |
4322 /* end confdefs.h. */ | 4100 /* end confdefs.h. */ |
4323 #ifdef __STDC__ | 4101 #ifdef __STDC__ |
4324 # include <limits.h> | 4102 # include <limits.h> |
4325 #else | 4103 #else |
4326 # include <assert.h> | 4104 # include <assert.h> |
4327 #endif | 4105 #endif |
4328 Syntax error | 4106 Syntax error |
4329 _ACEOF | 4107 _ACEOF |
4330 if ac_fn_c_try_cpp "$LINENO"; then : | 4108 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4331 | 4109 case "(($ac_try" in |
4332 else | 4110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4111 *) ac_try_echo=$ac_try;; | |
4112 esac | |
4113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4114 $as_echo "$ac_try_echo") >&5 | |
4115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4116 ac_status=$? | |
4117 grep -v '^ *+' conftest.er1 >conftest.err | |
4118 rm -f conftest.er1 | |
4119 cat conftest.err >&5 | |
4120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4121 (exit $ac_status); } >/dev/null && { | |
4122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4123 test ! -s conftest.err | |
4124 }; then | |
4125 : | |
4126 else | |
4127 $as_echo "$as_me: failed program was:" >&5 | |
4128 sed 's/^/| /' conftest.$ac_ext >&5 | |
4129 | |
4333 # Broken: fails on valid input. | 4130 # Broken: fails on valid input. |
4334 continue | 4131 continue |
4335 fi | 4132 fi |
4133 | |
4336 rm -f conftest.err conftest.$ac_ext | 4134 rm -f conftest.err conftest.$ac_ext |
4337 | 4135 |
4338 # OK, works on sane cases. Now check whether nonexistent headers | 4136 # OK, works on sane cases. Now check whether nonexistent headers |
4339 # can be detected and how. | 4137 # can be detected and how. |
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4138 cat >conftest.$ac_ext <<_ACEOF |
4139 /* confdefs.h. */ | |
4140 _ACEOF | |
4141 cat confdefs.h >>conftest.$ac_ext | |
4142 cat >>conftest.$ac_ext <<_ACEOF | |
4341 /* end confdefs.h. */ | 4143 /* end confdefs.h. */ |
4342 #include <ac_nonexistent.h> | 4144 #include <ac_nonexistent.h> |
4343 _ACEOF | 4145 _ACEOF |
4344 if ac_fn_c_try_cpp "$LINENO"; then : | 4146 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4147 case "(($ac_try" in | |
4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4149 *) ac_try_echo=$ac_try;; | |
4150 esac | |
4151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4152 $as_echo "$ac_try_echo") >&5 | |
4153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4154 ac_status=$? | |
4155 grep -v '^ *+' conftest.er1 >conftest.err | |
4156 rm -f conftest.er1 | |
4157 cat conftest.err >&5 | |
4158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4159 (exit $ac_status); } >/dev/null && { | |
4160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4161 test ! -s conftest.err | |
4162 }; then | |
4345 # Broken: success on invalid input. | 4163 # Broken: success on invalid input. |
4346 continue | 4164 continue |
4347 else | 4165 else |
4166 $as_echo "$as_me: failed program was:" >&5 | |
4167 sed 's/^/| /' conftest.$ac_ext >&5 | |
4168 | |
4348 # Passes both tests. | 4169 # Passes both tests. |
4349 ac_preproc_ok=: | 4170 ac_preproc_ok=: |
4350 break | 4171 break |
4351 fi | 4172 fi |
4173 | |
4352 rm -f conftest.err conftest.$ac_ext | 4174 rm -f conftest.err conftest.$ac_ext |
4353 | 4175 |
4354 done | 4176 done |
4355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4356 rm -f conftest.err conftest.$ac_ext | 4178 rm -f conftest.err conftest.$ac_ext |
4357 if $ac_preproc_ok; then : | 4179 if $ac_preproc_ok; then |
4358 break | 4180 break |
4359 fi | 4181 fi |
4360 | 4182 |
4361 done | 4183 done |
4362 ac_cv_prog_CPP=$CPP | 4184 ac_cv_prog_CPP=$CPP |
4364 fi | 4186 fi |
4365 CPP=$ac_cv_prog_CPP | 4187 CPP=$ac_cv_prog_CPP |
4366 else | 4188 else |
4367 ac_cv_prog_CPP=$CPP | 4189 ac_cv_prog_CPP=$CPP |
4368 fi | 4190 fi |
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 4191 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
4370 $as_echo "$CPP" >&6; } | 4192 $as_echo "$CPP" >&6; } |
4371 ac_preproc_ok=false | 4193 ac_preproc_ok=false |
4372 for ac_c_preproc_warn_flag in '' yes | 4194 for ac_c_preproc_warn_flag in '' yes |
4373 do | 4195 do |
4374 # Use a header file that comes with gcc, so configuring glibc | 4196 # Use a header file that comes with gcc, so configuring glibc |
4375 # with a fresh cross-compiler works. | 4197 # with a fresh cross-compiler works. |
4376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4377 # <limits.h> exists even on freestanding compilers. | 4199 # <limits.h> exists even on freestanding compilers. |
4378 # On the NeXT, cc -E runs the code through the compiler's parser, | 4200 # On the NeXT, cc -E runs the code through the compiler's parser, |
4379 # not just through cpp. "Syntax error" is here to catch this case. | 4201 # not just through cpp. "Syntax error" is here to catch this case. |
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4202 cat >conftest.$ac_ext <<_ACEOF |
4203 /* confdefs.h. */ | |
4204 _ACEOF | |
4205 cat confdefs.h >>conftest.$ac_ext | |
4206 cat >>conftest.$ac_ext <<_ACEOF | |
4381 /* end confdefs.h. */ | 4207 /* end confdefs.h. */ |
4382 #ifdef __STDC__ | 4208 #ifdef __STDC__ |
4383 # include <limits.h> | 4209 # include <limits.h> |
4384 #else | 4210 #else |
4385 # include <assert.h> | 4211 # include <assert.h> |
4386 #endif | 4212 #endif |
4387 Syntax error | 4213 Syntax error |
4388 _ACEOF | 4214 _ACEOF |
4389 if ac_fn_c_try_cpp "$LINENO"; then : | 4215 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4390 | 4216 case "(($ac_try" in |
4391 else | 4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4218 *) ac_try_echo=$ac_try;; | |
4219 esac | |
4220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4221 $as_echo "$ac_try_echo") >&5 | |
4222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4223 ac_status=$? | |
4224 grep -v '^ *+' conftest.er1 >conftest.err | |
4225 rm -f conftest.er1 | |
4226 cat conftest.err >&5 | |
4227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4228 (exit $ac_status); } >/dev/null && { | |
4229 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4230 test ! -s conftest.err | |
4231 }; then | |
4232 : | |
4233 else | |
4234 $as_echo "$as_me: failed program was:" >&5 | |
4235 sed 's/^/| /' conftest.$ac_ext >&5 | |
4236 | |
4392 # Broken: fails on valid input. | 4237 # Broken: fails on valid input. |
4393 continue | 4238 continue |
4394 fi | 4239 fi |
4240 | |
4395 rm -f conftest.err conftest.$ac_ext | 4241 rm -f conftest.err conftest.$ac_ext |
4396 | 4242 |
4397 # OK, works on sane cases. Now check whether nonexistent headers | 4243 # OK, works on sane cases. Now check whether nonexistent headers |
4398 # can be detected and how. | 4244 # can be detected and how. |
4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4245 cat >conftest.$ac_ext <<_ACEOF |
4246 /* confdefs.h. */ | |
4247 _ACEOF | |
4248 cat confdefs.h >>conftest.$ac_ext | |
4249 cat >>conftest.$ac_ext <<_ACEOF | |
4400 /* end confdefs.h. */ | 4250 /* end confdefs.h. */ |
4401 #include <ac_nonexistent.h> | 4251 #include <ac_nonexistent.h> |
4402 _ACEOF | 4252 _ACEOF |
4403 if ac_fn_c_try_cpp "$LINENO"; then : | 4253 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4254 case "(($ac_try" in | |
4255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4256 *) ac_try_echo=$ac_try;; | |
4257 esac | |
4258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4259 $as_echo "$ac_try_echo") >&5 | |
4260 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4261 ac_status=$? | |
4262 grep -v '^ *+' conftest.er1 >conftest.err | |
4263 rm -f conftest.er1 | |
4264 cat conftest.err >&5 | |
4265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4266 (exit $ac_status); } >/dev/null && { | |
4267 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4268 test ! -s conftest.err | |
4269 }; then | |
4404 # Broken: success on invalid input. | 4270 # Broken: success on invalid input. |
4405 continue | 4271 continue |
4406 else | 4272 else |
4273 $as_echo "$as_me: failed program was:" >&5 | |
4274 sed 's/^/| /' conftest.$ac_ext >&5 | |
4275 | |
4407 # Passes both tests. | 4276 # Passes both tests. |
4408 ac_preproc_ok=: | 4277 ac_preproc_ok=: |
4409 break | 4278 break |
4410 fi | 4279 fi |
4280 | |
4411 rm -f conftest.err conftest.$ac_ext | 4281 rm -f conftest.err conftest.$ac_ext |
4412 | 4282 |
4413 done | 4283 done |
4414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4415 rm -f conftest.err conftest.$ac_ext | 4285 rm -f conftest.err conftest.$ac_ext |
4416 if $ac_preproc_ok; then : | 4286 if $ac_preproc_ok; then |
4417 | 4287 : |
4418 else | 4288 else |
4419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4289 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4290 See \`config.log' for more details." >&5 |
4421 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4291 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4422 See \`config.log' for more details." "$LINENO" 5; } | 4292 See \`config.log' for more details." >&2;} |
4293 { (exit 1); exit 1; }; } | |
4423 fi | 4294 fi |
4424 | 4295 |
4425 ac_ext=c | 4296 ac_ext=c |
4426 ac_cpp='$CPP $CPPFLAGS' | 4297 ac_cpp='$CPP $CPPFLAGS' |
4427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4429 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4430 | 4301 |
4431 | 4302 |
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 4303 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
4433 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 4304 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4434 if test "${ac_cv_path_GREP+set}" = set; then : | 4305 if test "${ac_cv_path_GREP+set}" = set; then |
4435 $as_echo_n "(cached) " >&6 | 4306 $as_echo_n "(cached) " >&6 |
4436 else | 4307 else |
4437 if test -z "$GREP"; then | 4308 if test -z "$GREP"; then |
4438 ac_path_GREP_found=false | 4309 ac_path_GREP_found=false |
4439 # Loop through the user's path and test for each of PROGNAME-LIST | 4310 # Loop through the user's path and test for each of PROGNAME-LIST |
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4441 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4442 do | 4313 do |
4443 IFS=$as_save_IFS | 4314 IFS=$as_save_IFS |
4444 test -z "$as_dir" && as_dir=. | 4315 test -z "$as_dir" && as_dir=. |
4445 for ac_prog in grep ggrep; do | 4316 for ac_prog in grep ggrep; do |
4446 for ac_exec_ext in '' $ac_executable_extensions; do | 4317 for ac_exec_ext in '' $ac_executable_extensions; do |
4447 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 4318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4448 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4319 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4449 # Check for GNU ac_path_GREP and select it if it is found. | 4320 # Check for GNU ac_path_GREP and select it if it is found. |
4450 # Check for GNU $ac_path_GREP | 4321 # Check for GNU $ac_path_GREP |
4460 mv "conftest.tmp" "conftest.in" | 4331 mv "conftest.tmp" "conftest.in" |
4461 cp "conftest.in" "conftest.nl" | 4332 cp "conftest.in" "conftest.nl" |
4462 $as_echo 'GREP' >> "conftest.nl" | 4333 $as_echo 'GREP' >> "conftest.nl" |
4463 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4334 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4464 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4465 as_fn_arith $ac_count + 1 && ac_count=$as_val | 4336 ac_count=`expr $ac_count + 1` |
4466 if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4337 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4467 # Best one so far, save it but keep looking for a better one | 4338 # Best one so far, save it but keep looking for a better one |
4468 ac_cv_path_GREP="$ac_path_GREP" | 4339 ac_cv_path_GREP="$ac_path_GREP" |
4469 ac_path_GREP_max=$ac_count | 4340 ac_path_GREP_max=$ac_count |
4470 fi | 4341 fi |
4475 esac | 4346 esac |
4476 | 4347 |
4477 $ac_path_GREP_found && break 3 | 4348 $ac_path_GREP_found && break 3 |
4478 done | 4349 done |
4479 done | 4350 done |
4480 done | 4351 done |
4481 IFS=$as_save_IFS | 4352 IFS=$as_save_IFS |
4482 if test -z "$ac_cv_path_GREP"; then | 4353 if test -z "$ac_cv_path_GREP"; then |
4483 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4354 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4355 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4356 { (exit 1); exit 1; }; } | |
4484 fi | 4357 fi |
4485 else | 4358 else |
4486 ac_cv_path_GREP=$GREP | 4359 ac_cv_path_GREP=$GREP |
4487 fi | 4360 fi |
4488 | 4361 |
4489 fi | 4362 fi |
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 4363 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
4491 $as_echo "$ac_cv_path_GREP" >&6; } | 4364 $as_echo "$ac_cv_path_GREP" >&6; } |
4492 GREP="$ac_cv_path_GREP" | 4365 GREP="$ac_cv_path_GREP" |
4493 | 4366 |
4494 | 4367 |
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 4368 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
4496 $as_echo_n "checking for egrep... " >&6; } | 4369 $as_echo_n "checking for egrep... " >&6; } |
4497 if test "${ac_cv_path_EGREP+set}" = set; then : | 4370 if test "${ac_cv_path_EGREP+set}" = set; then |
4498 $as_echo_n "(cached) " >&6 | 4371 $as_echo_n "(cached) " >&6 |
4499 else | 4372 else |
4500 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4373 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4501 then ac_cv_path_EGREP="$GREP -E" | 4374 then ac_cv_path_EGREP="$GREP -E" |
4502 else | 4375 else |
4506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4507 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4380 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4508 do | 4381 do |
4509 IFS=$as_save_IFS | 4382 IFS=$as_save_IFS |
4510 test -z "$as_dir" && as_dir=. | 4383 test -z "$as_dir" && as_dir=. |
4511 for ac_prog in egrep; do | 4384 for ac_prog in egrep; do |
4512 for ac_exec_ext in '' $ac_executable_extensions; do | 4385 for ac_exec_ext in '' $ac_executable_extensions; do |
4513 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4386 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4514 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4387 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4515 # Check for GNU ac_path_EGREP and select it if it is found. | 4388 # Check for GNU ac_path_EGREP and select it if it is found. |
4516 # Check for GNU $ac_path_EGREP | 4389 # Check for GNU $ac_path_EGREP |
4526 mv "conftest.tmp" "conftest.in" | 4399 mv "conftest.tmp" "conftest.in" |
4527 cp "conftest.in" "conftest.nl" | 4400 cp "conftest.in" "conftest.nl" |
4528 $as_echo 'EGREP' >> "conftest.nl" | 4401 $as_echo 'EGREP' >> "conftest.nl" |
4529 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4402 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4530 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4403 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4531 as_fn_arith $ac_count + 1 && ac_count=$as_val | 4404 ac_count=`expr $ac_count + 1` |
4532 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4405 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4533 # Best one so far, save it but keep looking for a better one | 4406 # Best one so far, save it but keep looking for a better one |
4534 ac_cv_path_EGREP="$ac_path_EGREP" | 4407 ac_cv_path_EGREP="$ac_path_EGREP" |
4535 ac_path_EGREP_max=$ac_count | 4408 ac_path_EGREP_max=$ac_count |
4536 fi | 4409 fi |
4541 esac | 4414 esac |
4542 | 4415 |
4543 $ac_path_EGREP_found && break 3 | 4416 $ac_path_EGREP_found && break 3 |
4544 done | 4417 done |
4545 done | 4418 done |
4546 done | 4419 done |
4547 IFS=$as_save_IFS | 4420 IFS=$as_save_IFS |
4548 if test -z "$ac_cv_path_EGREP"; then | 4421 if test -z "$ac_cv_path_EGREP"; then |
4549 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4422 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4423 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4424 { (exit 1); exit 1; }; } | |
4550 fi | 4425 fi |
4551 else | 4426 else |
4552 ac_cv_path_EGREP=$EGREP | 4427 ac_cv_path_EGREP=$EGREP |
4553 fi | 4428 fi |
4554 | 4429 |
4555 fi | 4430 fi |
4556 fi | 4431 fi |
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 4432 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
4558 $as_echo "$ac_cv_path_EGREP" >&6; } | 4433 $as_echo "$ac_cv_path_EGREP" >&6; } |
4559 EGREP="$ac_cv_path_EGREP" | 4434 EGREP="$ac_cv_path_EGREP" |
4560 | 4435 |
4561 | 4436 |
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 4437 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4563 $as_echo_n "checking for ANSI C header files... " >&6; } | 4438 $as_echo_n "checking for ANSI C header files... " >&6; } |
4564 if test "${ac_cv_header_stdc+set}" = set; then : | 4439 if test "${ac_cv_header_stdc+set}" = set; then |
4565 $as_echo_n "(cached) " >&6 | 4440 $as_echo_n "(cached) " >&6 |
4566 else | 4441 else |
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4442 cat >conftest.$ac_ext <<_ACEOF |
4443 /* confdefs.h. */ | |
4444 _ACEOF | |
4445 cat confdefs.h >>conftest.$ac_ext | |
4446 cat >>conftest.$ac_ext <<_ACEOF | |
4568 /* end confdefs.h. */ | 4447 /* end confdefs.h. */ |
4569 #include <stdlib.h> | 4448 #include <stdlib.h> |
4570 #include <stdarg.h> | 4449 #include <stdarg.h> |
4571 #include <string.h> | 4450 #include <string.h> |
4572 #include <float.h> | 4451 #include <float.h> |
4577 | 4456 |
4578 ; | 4457 ; |
4579 return 0; | 4458 return 0; |
4580 } | 4459 } |
4581 _ACEOF | 4460 _ACEOF |
4582 if ac_fn_c_try_compile "$LINENO"; then : | 4461 rm -f conftest.$ac_objext |
4462 if { (ac_try="$ac_compile" | |
4463 case "(($ac_try" in | |
4464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4465 *) ac_try_echo=$ac_try;; | |
4466 esac | |
4467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4468 $as_echo "$ac_try_echo") >&5 | |
4469 (eval "$ac_compile") 2>conftest.er1 | |
4470 ac_status=$? | |
4471 grep -v '^ *+' conftest.er1 >conftest.err | |
4472 rm -f conftest.er1 | |
4473 cat conftest.err >&5 | |
4474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4475 (exit $ac_status); } && { | |
4476 test -z "$ac_c_werror_flag" || | |
4477 test ! -s conftest.err | |
4478 } && test -s conftest.$ac_objext; then | |
4583 ac_cv_header_stdc=yes | 4479 ac_cv_header_stdc=yes |
4584 else | 4480 else |
4585 ac_cv_header_stdc=no | 4481 $as_echo "$as_me: failed program was:" >&5 |
4586 fi | 4482 sed 's/^/| /' conftest.$ac_ext >&5 |
4483 | |
4484 ac_cv_header_stdc=no | |
4485 fi | |
4486 | |
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4588 | 4488 |
4589 if test $ac_cv_header_stdc = yes; then | 4489 if test $ac_cv_header_stdc = yes; then |
4590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4490 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4491 cat >conftest.$ac_ext <<_ACEOF |
4492 /* confdefs.h. */ | |
4493 _ACEOF | |
4494 cat confdefs.h >>conftest.$ac_ext | |
4495 cat >>conftest.$ac_ext <<_ACEOF | |
4592 /* end confdefs.h. */ | 4496 /* end confdefs.h. */ |
4593 #include <string.h> | 4497 #include <string.h> |
4594 | 4498 |
4595 _ACEOF | 4499 _ACEOF |
4596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4597 $EGREP "memchr" >/dev/null 2>&1; then : | 4501 $EGREP "memchr" >/dev/null 2>&1; then |
4598 | 4502 : |
4599 else | 4503 else |
4600 ac_cv_header_stdc=no | 4504 ac_cv_header_stdc=no |
4601 fi | 4505 fi |
4602 rm -f conftest* | 4506 rm -f conftest* |
4603 | 4507 |
4604 fi | 4508 fi |
4605 | 4509 |
4606 if test $ac_cv_header_stdc = yes; then | 4510 if test $ac_cv_header_stdc = yes; then |
4607 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4511 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4512 cat >conftest.$ac_ext <<_ACEOF |
4513 /* confdefs.h. */ | |
4514 _ACEOF | |
4515 cat confdefs.h >>conftest.$ac_ext | |
4516 cat >>conftest.$ac_ext <<_ACEOF | |
4609 /* end confdefs.h. */ | 4517 /* end confdefs.h. */ |
4610 #include <stdlib.h> | 4518 #include <stdlib.h> |
4611 | 4519 |
4612 _ACEOF | 4520 _ACEOF |
4613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4614 $EGREP "free" >/dev/null 2>&1; then : | 4522 $EGREP "free" >/dev/null 2>&1; then |
4615 | 4523 : |
4616 else | 4524 else |
4617 ac_cv_header_stdc=no | 4525 ac_cv_header_stdc=no |
4618 fi | 4526 fi |
4619 rm -f conftest* | 4527 rm -f conftest* |
4620 | 4528 |
4621 fi | 4529 fi |
4622 | 4530 |
4623 if test $ac_cv_header_stdc = yes; then | 4531 if test $ac_cv_header_stdc = yes; then |
4624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4532 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4625 if test "$cross_compiling" = yes; then : | 4533 if test "$cross_compiling" = yes; then |
4626 : | 4534 : |
4627 else | 4535 else |
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4536 cat >conftest.$ac_ext <<_ACEOF |
4537 /* confdefs.h. */ | |
4538 _ACEOF | |
4539 cat confdefs.h >>conftest.$ac_ext | |
4540 cat >>conftest.$ac_ext <<_ACEOF | |
4629 /* end confdefs.h. */ | 4541 /* end confdefs.h. */ |
4630 #include <ctype.h> | 4542 #include <ctype.h> |
4631 #include <stdlib.h> | 4543 #include <stdlib.h> |
4632 #if ((' ' & 0x0FF) == 0x020) | 4544 #if ((' ' & 0x0FF) == 0x020) |
4633 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4545 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4650 || toupper (i) != TOUPPER (i)) | 4562 || toupper (i) != TOUPPER (i)) |
4651 return 2; | 4563 return 2; |
4652 return 0; | 4564 return 0; |
4653 } | 4565 } |
4654 _ACEOF | 4566 _ACEOF |
4655 if ac_fn_c_try_run "$LINENO"; then : | 4567 rm -f conftest$ac_exeext |
4656 | 4568 if { (ac_try="$ac_link" |
4657 else | 4569 case "(($ac_try" in |
4658 ac_cv_header_stdc=no | 4570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4659 fi | 4571 *) ac_try_echo=$ac_try;; |
4660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 4572 esac |
4661 conftest.$ac_objext conftest.beam conftest.$ac_ext | 4573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4662 fi | 4574 $as_echo "$ac_try_echo") >&5 |
4663 | 4575 (eval "$ac_link") 2>&5 |
4664 fi | 4576 ac_status=$? |
4665 fi | 4577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 4578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4579 { (case "(($ac_try" in | |
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4581 *) ac_try_echo=$ac_try;; | |
4582 esac | |
4583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4584 $as_echo "$ac_try_echo") >&5 | |
4585 (eval "$ac_try") 2>&5 | |
4586 ac_status=$? | |
4587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4588 (exit $ac_status); }; }; then | |
4589 : | |
4590 else | |
4591 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
4592 $as_echo "$as_me: failed program was:" >&5 | |
4593 sed 's/^/| /' conftest.$ac_ext >&5 | |
4594 | |
4595 ( exit $ac_status ) | |
4596 ac_cv_header_stdc=no | |
4597 fi | |
4598 rm -rf conftest.dSYM | |
4599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4600 fi | |
4601 | |
4602 | |
4603 fi | |
4604 fi | |
4605 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
4667 $as_echo "$ac_cv_header_stdc" >&6; } | 4606 $as_echo "$ac_cv_header_stdc" >&6; } |
4668 if test $ac_cv_header_stdc = yes; then | 4607 if test $ac_cv_header_stdc = yes; then |
4669 | 4608 |
4670 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 4609 cat >>confdefs.h <<\_ACEOF |
4610 #define STDC_HEADERS 1 | |
4611 _ACEOF | |
4671 | 4612 |
4672 fi | 4613 fi |
4673 | 4614 |
4674 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4615 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4616 | |
4617 | |
4618 | |
4619 | |
4620 | |
4621 | |
4622 | |
4623 | |
4624 | |
4675 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4625 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4676 inttypes.h stdint.h unistd.h | 4626 inttypes.h stdint.h unistd.h |
4677 do : | 4627 do |
4678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4629 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4680 " | 4630 $as_echo_n "checking for $ac_header... " >&6; } |
4681 eval as_val=\$$as_ac_Header | 4631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4682 if test "x$as_val" = x""yes; then : | 4632 $as_echo_n "(cached) " >&6 |
4633 else | |
4634 cat >conftest.$ac_ext <<_ACEOF | |
4635 /* confdefs.h. */ | |
4636 _ACEOF | |
4637 cat confdefs.h >>conftest.$ac_ext | |
4638 cat >>conftest.$ac_ext <<_ACEOF | |
4639 /* end confdefs.h. */ | |
4640 $ac_includes_default | |
4641 | |
4642 #include <$ac_header> | |
4643 _ACEOF | |
4644 rm -f conftest.$ac_objext | |
4645 if { (ac_try="$ac_compile" | |
4646 case "(($ac_try" in | |
4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4648 *) ac_try_echo=$ac_try;; | |
4649 esac | |
4650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4651 $as_echo "$ac_try_echo") >&5 | |
4652 (eval "$ac_compile") 2>conftest.er1 | |
4653 ac_status=$? | |
4654 grep -v '^ *+' conftest.er1 >conftest.err | |
4655 rm -f conftest.er1 | |
4656 cat conftest.err >&5 | |
4657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4658 (exit $ac_status); } && { | |
4659 test -z "$ac_c_werror_flag" || | |
4660 test ! -s conftest.err | |
4661 } && test -s conftest.$ac_objext; then | |
4662 eval "$as_ac_Header=yes" | |
4663 else | |
4664 $as_echo "$as_me: failed program was:" >&5 | |
4665 sed 's/^/| /' conftest.$ac_ext >&5 | |
4666 | |
4667 eval "$as_ac_Header=no" | |
4668 fi | |
4669 | |
4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4671 fi | |
4672 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
4673 $as_echo "$as_val"'` | |
4674 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4675 $as_echo "$ac_res" >&6; } | |
4676 if test `eval 'as_val=${'$as_ac_Header'} | |
4677 $as_echo "$as_val"'` = yes; then | |
4683 cat >>confdefs.h <<_ACEOF | 4678 cat >>confdefs.h <<_ACEOF |
4684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4685 _ACEOF | 4680 _ACEOF |
4686 | 4681 |
4687 fi | 4682 fi |
4688 | 4683 |
4689 done | 4684 done |
4690 | 4685 |
4691 | 4686 |
4692 | 4687 |
4693 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" | 4688 if test "${ac_cv_header_minix_config_h+set}" = set; then |
4694 if test "x$ac_cv_header_minix_config_h" = x""yes; then : | 4689 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 |
4690 $as_echo_n "checking for minix/config.h... " >&6; } | |
4691 if test "${ac_cv_header_minix_config_h+set}" = set; then | |
4692 $as_echo_n "(cached) " >&6 | |
4693 fi | |
4694 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | |
4695 $as_echo "$ac_cv_header_minix_config_h" >&6; } | |
4696 else | |
4697 # Is the header compilable? | |
4698 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 | |
4699 $as_echo_n "checking minix/config.h usability... " >&6; } | |
4700 cat >conftest.$ac_ext <<_ACEOF | |
4701 /* confdefs.h. */ | |
4702 _ACEOF | |
4703 cat confdefs.h >>conftest.$ac_ext | |
4704 cat >>conftest.$ac_ext <<_ACEOF | |
4705 /* end confdefs.h. */ | |
4706 $ac_includes_default | |
4707 #include <minix/config.h> | |
4708 _ACEOF | |
4709 rm -f conftest.$ac_objext | |
4710 if { (ac_try="$ac_compile" | |
4711 case "(($ac_try" in | |
4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4713 *) ac_try_echo=$ac_try;; | |
4714 esac | |
4715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4716 $as_echo "$ac_try_echo") >&5 | |
4717 (eval "$ac_compile") 2>conftest.er1 | |
4718 ac_status=$? | |
4719 grep -v '^ *+' conftest.er1 >conftest.err | |
4720 rm -f conftest.er1 | |
4721 cat conftest.err >&5 | |
4722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4723 (exit $ac_status); } && { | |
4724 test -z "$ac_c_werror_flag" || | |
4725 test ! -s conftest.err | |
4726 } && test -s conftest.$ac_objext; then | |
4727 ac_header_compiler=yes | |
4728 else | |
4729 $as_echo "$as_me: failed program was:" >&5 | |
4730 sed 's/^/| /' conftest.$ac_ext >&5 | |
4731 | |
4732 ac_header_compiler=no | |
4733 fi | |
4734 | |
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4736 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4737 $as_echo "$ac_header_compiler" >&6; } | |
4738 | |
4739 # Is the header present? | |
4740 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 | |
4741 $as_echo_n "checking minix/config.h presence... " >&6; } | |
4742 cat >conftest.$ac_ext <<_ACEOF | |
4743 /* confdefs.h. */ | |
4744 _ACEOF | |
4745 cat confdefs.h >>conftest.$ac_ext | |
4746 cat >>conftest.$ac_ext <<_ACEOF | |
4747 /* end confdefs.h. */ | |
4748 #include <minix/config.h> | |
4749 _ACEOF | |
4750 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4751 case "(($ac_try" in | |
4752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4753 *) ac_try_echo=$ac_try;; | |
4754 esac | |
4755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4756 $as_echo "$ac_try_echo") >&5 | |
4757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4758 ac_status=$? | |
4759 grep -v '^ *+' conftest.er1 >conftest.err | |
4760 rm -f conftest.er1 | |
4761 cat conftest.err >&5 | |
4762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4763 (exit $ac_status); } >/dev/null && { | |
4764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4765 test ! -s conftest.err | |
4766 }; then | |
4767 ac_header_preproc=yes | |
4768 else | |
4769 $as_echo "$as_me: failed program was:" >&5 | |
4770 sed 's/^/| /' conftest.$ac_ext >&5 | |
4771 | |
4772 ac_header_preproc=no | |
4773 fi | |
4774 | |
4775 rm -f conftest.err conftest.$ac_ext | |
4776 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4777 $as_echo "$ac_header_preproc" >&6; } | |
4778 | |
4779 # So? What about this header? | |
4780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4781 yes:no: ) | |
4782 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4783 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4784 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 | |
4785 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} | |
4786 ac_header_preproc=yes | |
4787 ;; | |
4788 no:yes:* ) | |
4789 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 | |
4790 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} | |
4791 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 | |
4792 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} | |
4793 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 | |
4794 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} | |
4795 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 | |
4796 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
4797 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 | |
4798 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} | |
4799 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 | |
4800 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} | |
4801 | |
4802 ;; | |
4803 esac | |
4804 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 | |
4805 $as_echo_n "checking for minix/config.h... " >&6; } | |
4806 if test "${ac_cv_header_minix_config_h+set}" = set; then | |
4807 $as_echo_n "(cached) " >&6 | |
4808 else | |
4809 ac_cv_header_minix_config_h=$ac_header_preproc | |
4810 fi | |
4811 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | |
4812 $as_echo "$ac_cv_header_minix_config_h" >&6; } | |
4813 | |
4814 fi | |
4815 if test $ac_cv_header_minix_config_h = yes; then | |
4695 MINIX=yes | 4816 MINIX=yes |
4696 else | 4817 else |
4697 MINIX= | 4818 MINIX= |
4698 fi | 4819 fi |
4699 | 4820 |
4700 | 4821 |
4701 if test "$MINIX" = yes; then | 4822 if test "$MINIX" = yes; then |
4702 | 4823 |
4703 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h | 4824 cat >>confdefs.h <<\_ACEOF |
4704 | 4825 #define _POSIX_SOURCE 1 |
4705 | 4826 _ACEOF |
4706 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h | 4827 |
4707 | 4828 |
4708 | 4829 cat >>confdefs.h <<\_ACEOF |
4709 $as_echo "#define _MINIX 1" >>confdefs.h | 4830 #define _POSIX_1_SOURCE 2 |
4831 _ACEOF | |
4832 | |
4833 | |
4834 cat >>confdefs.h <<\_ACEOF | |
4835 #define _MINIX 1 | |
4836 _ACEOF | |
4710 | 4837 |
4711 fi | 4838 fi |
4712 | 4839 |
4713 | 4840 |
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 | 4841 |
4842 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 | |
4715 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | 4843 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4716 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : | 4844 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then |
4717 $as_echo_n "(cached) " >&6 | 4845 $as_echo_n "(cached) " >&6 |
4718 else | 4846 else |
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4847 cat >conftest.$ac_ext <<_ACEOF |
4848 /* confdefs.h. */ | |
4849 _ACEOF | |
4850 cat confdefs.h >>conftest.$ac_ext | |
4851 cat >>conftest.$ac_ext <<_ACEOF | |
4720 /* end confdefs.h. */ | 4852 /* end confdefs.h. */ |
4721 | 4853 |
4722 # define __EXTENSIONS__ 1 | 4854 # define __EXTENSIONS__ 1 |
4723 $ac_includes_default | 4855 $ac_includes_default |
4724 int | 4856 int |
4727 | 4859 |
4728 ; | 4860 ; |
4729 return 0; | 4861 return 0; |
4730 } | 4862 } |
4731 _ACEOF | 4863 _ACEOF |
4732 if ac_fn_c_try_compile "$LINENO"; then : | 4864 rm -f conftest.$ac_objext |
4865 if { (ac_try="$ac_compile" | |
4866 case "(($ac_try" in | |
4867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4868 *) ac_try_echo=$ac_try;; | |
4869 esac | |
4870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4871 $as_echo "$ac_try_echo") >&5 | |
4872 (eval "$ac_compile") 2>conftest.er1 | |
4873 ac_status=$? | |
4874 grep -v '^ *+' conftest.er1 >conftest.err | |
4875 rm -f conftest.er1 | |
4876 cat conftest.err >&5 | |
4877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4878 (exit $ac_status); } && { | |
4879 test -z "$ac_c_werror_flag" || | |
4880 test ! -s conftest.err | |
4881 } && test -s conftest.$ac_objext; then | |
4733 ac_cv_safe_to_define___extensions__=yes | 4882 ac_cv_safe_to_define___extensions__=yes |
4734 else | 4883 else |
4735 ac_cv_safe_to_define___extensions__=no | 4884 $as_echo "$as_me: failed program was:" >&5 |
4736 fi | 4885 sed 's/^/| /' conftest.$ac_ext >&5 |
4886 | |
4887 ac_cv_safe_to_define___extensions__=no | |
4888 fi | |
4889 | |
4737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4738 fi | 4891 fi |
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 | 4892 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 |
4740 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | 4893 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
4741 test $ac_cv_safe_to_define___extensions__ = yes && | 4894 test $ac_cv_safe_to_define___extensions__ = yes && |
4742 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h | 4895 cat >>confdefs.h <<\_ACEOF |
4743 | 4896 #define __EXTENSIONS__ 1 |
4744 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h | 4897 _ACEOF |
4745 | 4898 |
4746 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h | 4899 cat >>confdefs.h <<\_ACEOF |
4747 | 4900 #define _ALL_SOURCE 1 |
4748 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h | 4901 _ACEOF |
4749 | 4902 |
4750 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h | 4903 cat >>confdefs.h <<\_ACEOF |
4904 #define _GNU_SOURCE 1 | |
4905 _ACEOF | |
4906 | |
4907 cat >>confdefs.h <<\_ACEOF | |
4908 #define _POSIX_PTHREAD_SEMANTICS 1 | |
4909 _ACEOF | |
4910 | |
4911 cat >>confdefs.h <<\_ACEOF | |
4912 #define _TANDEM_SOURCE 1 | |
4913 _ACEOF | |
4751 | 4914 |
4752 | 4915 |
4753 | 4916 |
4754 ### Use -Wno-pointer-sign if the compiler supports it | 4917 ### Use -Wno-pointer-sign if the compiler supports it |
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5 | 4918 { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 |
4756 $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } | 4919 $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } |
4757 SAVE_CFLAGS="$CFLAGS" | 4920 SAVE_CFLAGS="$CFLAGS" |
4758 CFLAGS="$CFLAGS -Wno-pointer-sign" | 4921 CFLAGS="$CFLAGS -Wno-pointer-sign" |
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4922 cat >conftest.$ac_ext <<_ACEOF |
4923 /* confdefs.h. */ | |
4924 _ACEOF | |
4925 cat confdefs.h >>conftest.$ac_ext | |
4926 cat >>conftest.$ac_ext <<_ACEOF | |
4760 /* end confdefs.h. */ | 4927 /* end confdefs.h. */ |
4761 | 4928 |
4762 int | 4929 int |
4763 main () | 4930 main () |
4764 { | 4931 { |
4765 | 4932 |
4766 ; | 4933 ; |
4767 return 0; | 4934 return 0; |
4768 } | 4935 } |
4769 _ACEOF | 4936 _ACEOF |
4770 if ac_fn_c_try_compile "$LINENO"; then : | 4937 rm -f conftest.$ac_objext |
4938 if { (ac_try="$ac_compile" | |
4939 case "(($ac_try" in | |
4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4941 *) ac_try_echo=$ac_try;; | |
4942 esac | |
4943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
4944 $as_echo "$ac_try_echo") >&5 | |
4945 (eval "$ac_compile") 2>conftest.er1 | |
4946 ac_status=$? | |
4947 grep -v '^ *+' conftest.er1 >conftest.err | |
4948 rm -f conftest.er1 | |
4949 cat conftest.err >&5 | |
4950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4951 (exit $ac_status); } && { | |
4952 test -z "$ac_c_werror_flag" || | |
4953 test ! -s conftest.err | |
4954 } && test -s conftest.$ac_objext; then | |
4771 has_option=yes | 4955 has_option=yes |
4772 else | 4956 else |
4773 has_option=no | 4957 $as_echo "$as_me: failed program was:" >&5 |
4774 fi | 4958 sed 's/^/| /' conftest.$ac_ext >&5 |
4959 | |
4960 has_option=no | |
4961 fi | |
4962 | |
4775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4776 if test $has_option = yes; then | 4964 if test $has_option = yes; then |
4777 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4965 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
4778 fi | 4966 fi |
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 4967 { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
4780 $as_echo "$has_option" >&6; } | 4968 $as_echo "$has_option" >&6; } |
4781 CFLAGS="$SAVE_CFLAGS" | 4969 CFLAGS="$SAVE_CFLAGS" |
4782 unset has_option | 4970 unset has_option |
4783 unset SAVE_CFLAGS | 4971 unset SAVE_CFLAGS |
4784 | 4972 |
4785 ### Use -Wdeclaration-after-statement if the compiler supports it | 4973 ### Use -Wdeclaration-after-statement if the compiler supports it |
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 | 4974 { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5 |
4787 $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } | 4975 $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } |
4788 SAVE_CFLAGS="$CFLAGS" | 4976 SAVE_CFLAGS="$CFLAGS" |
4789 CFLAGS="$CFLAGS -Wdeclaration-after-statement" | 4977 CFLAGS="$CFLAGS -Wdeclaration-after-statement" |
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4978 cat >conftest.$ac_ext <<_ACEOF |
4979 /* confdefs.h. */ | |
4980 _ACEOF | |
4981 cat confdefs.h >>conftest.$ac_ext | |
4982 cat >>conftest.$ac_ext <<_ACEOF | |
4791 /* end confdefs.h. */ | 4983 /* end confdefs.h. */ |
4792 | 4984 |
4793 int | 4985 int |
4794 main () | 4986 main () |
4795 { | 4987 { |
4796 | 4988 |
4797 ; | 4989 ; |
4798 return 0; | 4990 return 0; |
4799 } | 4991 } |
4800 _ACEOF | 4992 _ACEOF |
4801 if ac_fn_c_try_compile "$LINENO"; then : | 4993 rm -f conftest.$ac_objext |
4994 if { (ac_try="$ac_compile" | |
4995 case "(($ac_try" in | |
4996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4997 *) ac_try_echo=$ac_try;; | |
4998 esac | |
4999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5000 $as_echo "$ac_try_echo") >&5 | |
5001 (eval "$ac_compile") 2>conftest.er1 | |
5002 ac_status=$? | |
5003 grep -v '^ *+' conftest.er1 >conftest.err | |
5004 rm -f conftest.er1 | |
5005 cat conftest.err >&5 | |
5006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5007 (exit $ac_status); } && { | |
5008 test -z "$ac_c_werror_flag" || | |
5009 test ! -s conftest.err | |
5010 } && test -s conftest.$ac_objext; then | |
4802 has_option=yes | 5011 has_option=yes |
4803 else | 5012 else |
4804 has_option=no | 5013 $as_echo "$as_me: failed program was:" >&5 |
4805 fi | 5014 sed 's/^/| /' conftest.$ac_ext >&5 |
5015 | |
5016 has_option=no | |
5017 fi | |
5018 | |
4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4807 if test $has_option = yes; then | 5020 if test $has_option = yes; then |
4808 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" | 5021 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" |
4809 fi | 5022 fi |
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 5023 { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
4811 $as_echo "$has_option" >&6; } | 5024 $as_echo "$has_option" >&6; } |
4812 CFLAGS="$SAVE_CFLAGS" | 5025 CFLAGS="$SAVE_CFLAGS" |
4813 unset has_option | 5026 unset has_option |
4814 unset SAVE_CFLAGS | 5027 unset SAVE_CFLAGS |
4815 | 5028 |
4818 ac_ext=c | 5031 ac_ext=c |
4819 ac_cpp='$CPP $CPPFLAGS' | 5032 ac_cpp='$CPP $CPPFLAGS' |
4820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4822 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 5035 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 5036 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4824 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 5037 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
4825 # On Suns, sometimes $CPP names a directory. | 5038 # On Suns, sometimes $CPP names a directory. |
4826 if test -n "$CPP" && test -d "$CPP"; then | 5039 if test -n "$CPP" && test -d "$CPP"; then |
4827 CPP= | 5040 CPP= |
4828 fi | 5041 fi |
4829 if test -z "$CPP"; then | 5042 if test -z "$CPP"; then |
4830 if test "${ac_cv_prog_CPP+set}" = set; then : | 5043 if test "${ac_cv_prog_CPP+set}" = set; then |
4831 $as_echo_n "(cached) " >&6 | 5044 $as_echo_n "(cached) " >&6 |
4832 else | 5045 else |
4833 # Double quotes because CPP needs to be expanded | 5046 # Double quotes because CPP needs to be expanded |
4834 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 5047 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4835 do | 5048 do |
4840 # with a fresh cross-compiler works. | 5053 # with a fresh cross-compiler works. |
4841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 5054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4842 # <limits.h> exists even on freestanding compilers. | 5055 # <limits.h> exists even on freestanding compilers. |
4843 # On the NeXT, cc -E runs the code through the compiler's parser, | 5056 # On the NeXT, cc -E runs the code through the compiler's parser, |
4844 # not just through cpp. "Syntax error" is here to catch this case. | 5057 # not just through cpp. "Syntax error" is here to catch this case. |
4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5058 cat >conftest.$ac_ext <<_ACEOF |
5059 /* confdefs.h. */ | |
5060 _ACEOF | |
5061 cat confdefs.h >>conftest.$ac_ext | |
5062 cat >>conftest.$ac_ext <<_ACEOF | |
4846 /* end confdefs.h. */ | 5063 /* end confdefs.h. */ |
4847 #ifdef __STDC__ | 5064 #ifdef __STDC__ |
4848 # include <limits.h> | 5065 # include <limits.h> |
4849 #else | 5066 #else |
4850 # include <assert.h> | 5067 # include <assert.h> |
4851 #endif | 5068 #endif |
4852 Syntax error | 5069 Syntax error |
4853 _ACEOF | 5070 _ACEOF |
4854 if ac_fn_c_try_cpp "$LINENO"; then : | 5071 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4855 | 5072 case "(($ac_try" in |
4856 else | 5073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5074 *) ac_try_echo=$ac_try;; | |
5075 esac | |
5076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5077 $as_echo "$ac_try_echo") >&5 | |
5078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5079 ac_status=$? | |
5080 grep -v '^ *+' conftest.er1 >conftest.err | |
5081 rm -f conftest.er1 | |
5082 cat conftest.err >&5 | |
5083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5084 (exit $ac_status); } >/dev/null && { | |
5085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
5086 test ! -s conftest.err | |
5087 }; then | |
5088 : | |
5089 else | |
5090 $as_echo "$as_me: failed program was:" >&5 | |
5091 sed 's/^/| /' conftest.$ac_ext >&5 | |
5092 | |
4857 # Broken: fails on valid input. | 5093 # Broken: fails on valid input. |
4858 continue | 5094 continue |
4859 fi | 5095 fi |
5096 | |
4860 rm -f conftest.err conftest.$ac_ext | 5097 rm -f conftest.err conftest.$ac_ext |
4861 | 5098 |
4862 # OK, works on sane cases. Now check whether nonexistent headers | 5099 # OK, works on sane cases. Now check whether nonexistent headers |
4863 # can be detected and how. | 5100 # can be detected and how. |
4864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5101 cat >conftest.$ac_ext <<_ACEOF |
5102 /* confdefs.h. */ | |
5103 _ACEOF | |
5104 cat confdefs.h >>conftest.$ac_ext | |
5105 cat >>conftest.$ac_ext <<_ACEOF | |
4865 /* end confdefs.h. */ | 5106 /* end confdefs.h. */ |
4866 #include <ac_nonexistent.h> | 5107 #include <ac_nonexistent.h> |
4867 _ACEOF | 5108 _ACEOF |
4868 if ac_fn_c_try_cpp "$LINENO"; then : | 5109 if { (ac_try="$ac_cpp conftest.$ac_ext" |
5110 case "(($ac_try" in | |
5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5112 *) ac_try_echo=$ac_try;; | |
5113 esac | |
5114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5115 $as_echo "$ac_try_echo") >&5 | |
5116 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5117 ac_status=$? | |
5118 grep -v '^ *+' conftest.er1 >conftest.err | |
5119 rm -f conftest.er1 | |
5120 cat conftest.err >&5 | |
5121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5122 (exit $ac_status); } >/dev/null && { | |
5123 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
5124 test ! -s conftest.err | |
5125 }; then | |
4869 # Broken: success on invalid input. | 5126 # Broken: success on invalid input. |
4870 continue | 5127 continue |
4871 else | 5128 else |
5129 $as_echo "$as_me: failed program was:" >&5 | |
5130 sed 's/^/| /' conftest.$ac_ext >&5 | |
5131 | |
4872 # Passes both tests. | 5132 # Passes both tests. |
4873 ac_preproc_ok=: | 5133 ac_preproc_ok=: |
4874 break | 5134 break |
4875 fi | 5135 fi |
5136 | |
4876 rm -f conftest.err conftest.$ac_ext | 5137 rm -f conftest.err conftest.$ac_ext |
4877 | 5138 |
4878 done | 5139 done |
4879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5140 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4880 rm -f conftest.err conftest.$ac_ext | 5141 rm -f conftest.err conftest.$ac_ext |
4881 if $ac_preproc_ok; then : | 5142 if $ac_preproc_ok; then |
4882 break | 5143 break |
4883 fi | 5144 fi |
4884 | 5145 |
4885 done | 5146 done |
4886 ac_cv_prog_CPP=$CPP | 5147 ac_cv_prog_CPP=$CPP |
4888 fi | 5149 fi |
4889 CPP=$ac_cv_prog_CPP | 5150 CPP=$ac_cv_prog_CPP |
4890 else | 5151 else |
4891 ac_cv_prog_CPP=$CPP | 5152 ac_cv_prog_CPP=$CPP |
4892 fi | 5153 fi |
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 5154 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
4894 $as_echo "$CPP" >&6; } | 5155 $as_echo "$CPP" >&6; } |
4895 ac_preproc_ok=false | 5156 ac_preproc_ok=false |
4896 for ac_c_preproc_warn_flag in '' yes | 5157 for ac_c_preproc_warn_flag in '' yes |
4897 do | 5158 do |
4898 # Use a header file that comes with gcc, so configuring glibc | 5159 # Use a header file that comes with gcc, so configuring glibc |
4899 # with a fresh cross-compiler works. | 5160 # with a fresh cross-compiler works. |
4900 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 5161 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4901 # <limits.h> exists even on freestanding compilers. | 5162 # <limits.h> exists even on freestanding compilers. |
4902 # On the NeXT, cc -E runs the code through the compiler's parser, | 5163 # On the NeXT, cc -E runs the code through the compiler's parser, |
4903 # not just through cpp. "Syntax error" is here to catch this case. | 5164 # not just through cpp. "Syntax error" is here to catch this case. |
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5165 cat >conftest.$ac_ext <<_ACEOF |
5166 /* confdefs.h. */ | |
5167 _ACEOF | |
5168 cat confdefs.h >>conftest.$ac_ext | |
5169 cat >>conftest.$ac_ext <<_ACEOF | |
4905 /* end confdefs.h. */ | 5170 /* end confdefs.h. */ |
4906 #ifdef __STDC__ | 5171 #ifdef __STDC__ |
4907 # include <limits.h> | 5172 # include <limits.h> |
4908 #else | 5173 #else |
4909 # include <assert.h> | 5174 # include <assert.h> |
4910 #endif | 5175 #endif |
4911 Syntax error | 5176 Syntax error |
4912 _ACEOF | 5177 _ACEOF |
4913 if ac_fn_c_try_cpp "$LINENO"; then : | 5178 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4914 | 5179 case "(($ac_try" in |
4915 else | 5180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5181 *) ac_try_echo=$ac_try;; | |
5182 esac | |
5183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5184 $as_echo "$ac_try_echo") >&5 | |
5185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5186 ac_status=$? | |
5187 grep -v '^ *+' conftest.er1 >conftest.err | |
5188 rm -f conftest.er1 | |
5189 cat conftest.err >&5 | |
5190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5191 (exit $ac_status); } >/dev/null && { | |
5192 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
5193 test ! -s conftest.err | |
5194 }; then | |
5195 : | |
5196 else | |
5197 $as_echo "$as_me: failed program was:" >&5 | |
5198 sed 's/^/| /' conftest.$ac_ext >&5 | |
5199 | |
4916 # Broken: fails on valid input. | 5200 # Broken: fails on valid input. |
4917 continue | 5201 continue |
4918 fi | 5202 fi |
5203 | |
4919 rm -f conftest.err conftest.$ac_ext | 5204 rm -f conftest.err conftest.$ac_ext |
4920 | 5205 |
4921 # OK, works on sane cases. Now check whether nonexistent headers | 5206 # OK, works on sane cases. Now check whether nonexistent headers |
4922 # can be detected and how. | 5207 # can be detected and how. |
4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5208 cat >conftest.$ac_ext <<_ACEOF |
5209 /* confdefs.h. */ | |
5210 _ACEOF | |
5211 cat confdefs.h >>conftest.$ac_ext | |
5212 cat >>conftest.$ac_ext <<_ACEOF | |
4924 /* end confdefs.h. */ | 5213 /* end confdefs.h. */ |
4925 #include <ac_nonexistent.h> | 5214 #include <ac_nonexistent.h> |
4926 _ACEOF | 5215 _ACEOF |
4927 if ac_fn_c_try_cpp "$LINENO"; then : | 5216 if { (ac_try="$ac_cpp conftest.$ac_ext" |
5217 case "(($ac_try" in | |
5218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5219 *) ac_try_echo=$ac_try;; | |
5220 esac | |
5221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5222 $as_echo "$ac_try_echo") >&5 | |
5223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5224 ac_status=$? | |
5225 grep -v '^ *+' conftest.er1 >conftest.err | |
5226 rm -f conftest.er1 | |
5227 cat conftest.err >&5 | |
5228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5229 (exit $ac_status); } >/dev/null && { | |
5230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
5231 test ! -s conftest.err | |
5232 }; then | |
4928 # Broken: success on invalid input. | 5233 # Broken: success on invalid input. |
4929 continue | 5234 continue |
4930 else | 5235 else |
5236 $as_echo "$as_me: failed program was:" >&5 | |
5237 sed 's/^/| /' conftest.$ac_ext >&5 | |
5238 | |
4931 # Passes both tests. | 5239 # Passes both tests. |
4932 ac_preproc_ok=: | 5240 ac_preproc_ok=: |
4933 break | 5241 break |
4934 fi | 5242 fi |
5243 | |
4935 rm -f conftest.err conftest.$ac_ext | 5244 rm -f conftest.err conftest.$ac_ext |
4936 | 5245 |
4937 done | 5246 done |
4938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4939 rm -f conftest.err conftest.$ac_ext | 5248 rm -f conftest.err conftest.$ac_ext |
4940 if $ac_preproc_ok; then : | 5249 if $ac_preproc_ok; then |
4941 | 5250 : |
4942 else | 5251 else |
4943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5252 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5253 See \`config.log' for more details." >&5 |
4945 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 5254 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4946 See \`config.log' for more details." "$LINENO" 5; } | 5255 See \`config.log' for more details." >&2;} |
5256 { (exit 1); exit 1; }; } | |
4947 fi | 5257 fi |
4948 | 5258 |
4949 ac_ext=c | 5259 ac_ext=c |
4950 ac_cpp='$CPP $CPPFLAGS' | 5260 ac_cpp='$CPP $CPPFLAGS' |
4951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4964 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 5274 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
4965 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 5275 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
4966 # OS/2's system install, which has a completely different semantic | 5276 # OS/2's system install, which has a completely different semantic |
4967 # ./install, which can be erroneously created by make from ./install.sh. | 5277 # ./install, which can be erroneously created by make from ./install.sh. |
4968 # Reject install programs that cannot install multiple files. | 5278 # Reject install programs that cannot install multiple files. |
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 5279 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
4970 $as_echo_n "checking for a BSD-compatible install... " >&6; } | 5280 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
4971 if test -z "$INSTALL"; then | 5281 if test -z "$INSTALL"; then |
4972 if test "${ac_cv_path_install+set}" = set; then : | 5282 if test "${ac_cv_path_install+set}" = set; then |
4973 $as_echo_n "(cached) " >&6 | 5283 $as_echo_n "(cached) " >&6 |
4974 else | 5284 else |
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4976 for as_dir in $PATH | 5286 for as_dir in $PATH |
4977 do | 5287 do |
4978 IFS=$as_save_IFS | 5288 IFS=$as_save_IFS |
4979 test -z "$as_dir" && as_dir=. | 5289 test -z "$as_dir" && as_dir=. |
4980 # Account for people who put trailing slashes in PATH elements. | 5290 # Account for people who put trailing slashes in PATH elements. |
4981 case $as_dir/ in #(( | 5291 case $as_dir/ in |
4982 ./ | .// | /[cC]/* | \ | 5292 ./ | .// | /cC/* | \ |
4983 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 5293 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
4984 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 5294 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
4985 /usr/ucb/* ) ;; | 5295 /usr/ucb/* ) ;; |
4986 *) | 5296 *) |
4987 # OSF1 and SCO ODT 3.0 have their own names for install. | 5297 # OSF1 and SCO ODT 3.0 have their own names for install. |
4988 # Don't use installbsd from OSF since it installs stuff as root | 5298 # Don't use installbsd from OSF since it installs stuff as root |
4989 # by default. | 5299 # by default. |
5016 done | 5326 done |
5017 done | 5327 done |
5018 ;; | 5328 ;; |
5019 esac | 5329 esac |
5020 | 5330 |
5021 done | 5331 done |
5022 IFS=$as_save_IFS | 5332 IFS=$as_save_IFS |
5023 | 5333 |
5024 rm -rf conftest.one conftest.two conftest.dir | 5334 rm -rf conftest.one conftest.two conftest.dir |
5025 | 5335 |
5026 fi | 5336 fi |
5032 # break other packages using the cache if that directory is | 5342 # break other packages using the cache if that directory is |
5033 # removed, or if the value is a relative name. | 5343 # removed, or if the value is a relative name. |
5034 INSTALL=$ac_install_sh | 5344 INSTALL=$ac_install_sh |
5035 fi | 5345 fi |
5036 fi | 5346 fi |
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 5347 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
5038 $as_echo "$INSTALL" >&6; } | 5348 $as_echo "$INSTALL" >&6; } |
5039 | 5349 |
5040 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 5350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
5041 # It thinks the first close brace ends the variable substitution. | 5351 # It thinks the first close brace ends the variable substitution. |
5042 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 5352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
5047 | 5357 |
5048 if test "x$RANLIB" = x; then | 5358 if test "x$RANLIB" = x; then |
5049 if test -n "$ac_tool_prefix"; then | 5359 if test -n "$ac_tool_prefix"; then |
5050 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 5360 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5051 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 5361 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5362 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5053 $as_echo_n "checking for $ac_word... " >&6; } | 5363 $as_echo_n "checking for $ac_word... " >&6; } |
5054 if test "${ac_cv_prog_RANLIB+set}" = set; then : | 5364 if test "${ac_cv_prog_RANLIB+set}" = set; then |
5055 $as_echo_n "(cached) " >&6 | 5365 $as_echo_n "(cached) " >&6 |
5056 else | 5366 else |
5057 if test -n "$RANLIB"; then | 5367 if test -n "$RANLIB"; then |
5058 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 5368 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5059 else | 5369 else |
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5061 for as_dir in $PATH | 5371 for as_dir in $PATH |
5062 do | 5372 do |
5063 IFS=$as_save_IFS | 5373 IFS=$as_save_IFS |
5064 test -z "$as_dir" && as_dir=. | 5374 test -z "$as_dir" && as_dir=. |
5065 for ac_exec_ext in '' $ac_executable_extensions; do | 5375 for ac_exec_ext in '' $ac_executable_extensions; do |
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5067 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 5377 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5378 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5069 break 2 | 5379 break 2 |
5070 fi | 5380 fi |
5071 done | 5381 done |
5072 done | 5382 done |
5073 IFS=$as_save_IFS | 5383 IFS=$as_save_IFS |
5074 | 5384 |
5075 fi | 5385 fi |
5076 fi | 5386 fi |
5077 RANLIB=$ac_cv_prog_RANLIB | 5387 RANLIB=$ac_cv_prog_RANLIB |
5078 if test -n "$RANLIB"; then | 5388 if test -n "$RANLIB"; then |
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 5389 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5080 $as_echo "$RANLIB" >&6; } | 5390 $as_echo "$RANLIB" >&6; } |
5081 else | 5391 else |
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5392 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5083 $as_echo "no" >&6; } | 5393 $as_echo "no" >&6; } |
5084 fi | 5394 fi |
5085 | 5395 |
5086 | 5396 |
5087 fi | 5397 fi |
5088 if test -z "$ac_cv_prog_RANLIB"; then | 5398 if test -z "$ac_cv_prog_RANLIB"; then |
5089 ac_ct_RANLIB=$RANLIB | 5399 ac_ct_RANLIB=$RANLIB |
5090 # Extract the first word of "ranlib", so it can be a program name with args. | 5400 # Extract the first word of "ranlib", so it can be a program name with args. |
5091 set dummy ranlib; ac_word=$2 | 5401 set dummy ranlib; ac_word=$2 |
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5402 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5093 $as_echo_n "checking for $ac_word... " >&6; } | 5403 $as_echo_n "checking for $ac_word... " >&6; } |
5094 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | 5404 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5095 $as_echo_n "(cached) " >&6 | 5405 $as_echo_n "(cached) " >&6 |
5096 else | 5406 else |
5097 if test -n "$ac_ct_RANLIB"; then | 5407 if test -n "$ac_ct_RANLIB"; then |
5098 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 5408 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5099 else | 5409 else |
5100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5101 for as_dir in $PATH | 5411 for as_dir in $PATH |
5102 do | 5412 do |
5103 IFS=$as_save_IFS | 5413 IFS=$as_save_IFS |
5104 test -z "$as_dir" && as_dir=. | 5414 test -z "$as_dir" && as_dir=. |
5105 for ac_exec_ext in '' $ac_executable_extensions; do | 5415 for ac_exec_ext in '' $ac_executable_extensions; do |
5106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5107 ac_cv_prog_ac_ct_RANLIB="ranlib" | 5417 ac_cv_prog_ac_ct_RANLIB="ranlib" |
5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5418 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5109 break 2 | 5419 break 2 |
5110 fi | 5420 fi |
5111 done | 5421 done |
5112 done | 5422 done |
5113 IFS=$as_save_IFS | 5423 IFS=$as_save_IFS |
5114 | 5424 |
5115 fi | 5425 fi |
5116 fi | 5426 fi |
5117 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 5427 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5118 if test -n "$ac_ct_RANLIB"; then | 5428 if test -n "$ac_ct_RANLIB"; then |
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 5429 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5120 $as_echo "$ac_ct_RANLIB" >&6; } | 5430 $as_echo "$ac_ct_RANLIB" >&6; } |
5121 else | 5431 else |
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5432 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5123 $as_echo "no" >&6; } | 5433 $as_echo "no" >&6; } |
5124 fi | 5434 fi |
5125 | 5435 |
5126 if test "x$ac_ct_RANLIB" = x; then | 5436 if test "x$ac_ct_RANLIB" = x; then |
5127 RANLIB=":" | 5437 RANLIB=":" |
5128 else | 5438 else |
5129 case $cross_compiling:$ac_tool_warned in | 5439 case $cross_compiling:$ac_tool_warned in |
5130 yes:) | 5440 yes:) |
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 5441 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
5132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 5442 whose name does not start with the host triplet. If you think this |
5443 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
5444 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
5445 whose name does not start with the host triplet. If you think this | |
5446 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
5133 ac_tool_warned=yes ;; | 5447 ac_tool_warned=yes ;; |
5134 esac | 5448 esac |
5135 RANLIB=$ac_ct_RANLIB | 5449 RANLIB=$ac_ct_RANLIB |
5136 fi | 5450 fi |
5137 else | 5451 else |
5143 ## Although we're running on an amd64 kernel, we're actually compiling for | 5457 ## Although we're running on an amd64 kernel, we're actually compiling for |
5144 ## the x86 architecture. The user should probably have provided an | 5458 ## the x86 architecture. The user should probably have provided an |
5145 ## explicit --build to `configure', but if everything else than the kernel | 5459 ## explicit --build to `configure', but if everything else than the kernel |
5146 ## is running in i386 mode, we can help them out. | 5460 ## is running in i386 mode, we can help them out. |
5147 if test "$machine" = "amdx86-64"; then | 5461 if test "$machine" = "amdx86-64"; then |
5148 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" | 5462 { $as_echo "$as_me:$LINENO: checking whether i386 is declared" >&5 |
5149 if test "x$ac_cv_have_decl_i386" = x""yes; then : | 5463 $as_echo_n "checking whether i386 is declared... " >&6; } |
5150 | 5464 if test "${ac_cv_have_decl_i386+set}" = set; then |
5151 fi | 5465 $as_echo_n "(cached) " >&6 |
5466 else | |
5467 cat >conftest.$ac_ext <<_ACEOF | |
5468 /* confdefs.h. */ | |
5469 _ACEOF | |
5470 cat confdefs.h >>conftest.$ac_ext | |
5471 cat >>conftest.$ac_ext <<_ACEOF | |
5472 /* end confdefs.h. */ | |
5473 $ac_includes_default | |
5474 int | |
5475 main () | |
5476 { | |
5477 #ifndef i386 | |
5478 (void) i386; | |
5479 #endif | |
5480 | |
5481 ; | |
5482 return 0; | |
5483 } | |
5484 _ACEOF | |
5485 rm -f conftest.$ac_objext | |
5486 if { (ac_try="$ac_compile" | |
5487 case "(($ac_try" in | |
5488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5489 *) ac_try_echo=$ac_try;; | |
5490 esac | |
5491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5492 $as_echo "$ac_try_echo") >&5 | |
5493 (eval "$ac_compile") 2>conftest.er1 | |
5494 ac_status=$? | |
5495 grep -v '^ *+' conftest.er1 >conftest.err | |
5496 rm -f conftest.er1 | |
5497 cat conftest.err >&5 | |
5498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5499 (exit $ac_status); } && { | |
5500 test -z "$ac_c_werror_flag" || | |
5501 test ! -s conftest.err | |
5502 } && test -s conftest.$ac_objext; then | |
5503 ac_cv_have_decl_i386=yes | |
5504 else | |
5505 $as_echo "$as_me: failed program was:" >&5 | |
5506 sed 's/^/| /' conftest.$ac_ext >&5 | |
5507 | |
5508 ac_cv_have_decl_i386=no | |
5509 fi | |
5510 | |
5511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5512 fi | |
5513 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_i386" >&5 | |
5514 $as_echo "$ac_cv_have_decl_i386" >&6; } | |
5152 | 5515 |
5153 if test "$ac_cv_have_decl_i386" = "yes"; then | 5516 if test "$ac_cv_have_decl_i386" = "yes"; then |
5154 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` | 5517 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` |
5155 machine=intel386 | 5518 machine=intel386 |
5156 machfile="m/${machine}.h" | 5519 machfile="m/${machine}.h" |
5157 fi | 5520 fi |
5158 fi | 5521 fi |
5159 | 5522 |
5160 # Extract the first word of "install-info", so it can be a program name with args. | 5523 # Extract the first word of "install-info", so it can be a program name with args. |
5161 set dummy install-info; ac_word=$2 | 5524 set dummy install-info; ac_word=$2 |
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5525 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5163 $as_echo_n "checking for $ac_word... " >&6; } | 5526 $as_echo_n "checking for $ac_word... " >&6; } |
5164 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5527 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
5165 $as_echo_n "(cached) " >&6 | 5528 $as_echo_n "(cached) " >&6 |
5166 else | 5529 else |
5167 case $INSTALL_INFO in | 5530 case $INSTALL_INFO in |
5168 [\\/]* | ?:[\\/]*) | 5531 [\\/]* | ?:[\\/]*) |
5169 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5532 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5173 for as_dir in $PATH | 5536 for as_dir in $PATH |
5174 do | 5537 do |
5175 IFS=$as_save_IFS | 5538 IFS=$as_save_IFS |
5176 test -z "$as_dir" && as_dir=. | 5539 test -z "$as_dir" && as_dir=. |
5177 for ac_exec_ext in '' $ac_executable_extensions; do | 5540 for ac_exec_ext in '' $ac_executable_extensions; do |
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5179 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5542 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5543 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5181 break 2 | 5544 break 2 |
5182 fi | 5545 fi |
5183 done | 5546 done |
5184 done | 5547 done |
5185 IFS=$as_save_IFS | 5548 IFS=$as_save_IFS |
5186 | 5549 |
5187 ;; | 5550 ;; |
5188 esac | 5551 esac |
5189 fi | 5552 fi |
5190 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5553 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
5191 if test -n "$INSTALL_INFO"; then | 5554 if test -n "$INSTALL_INFO"; then |
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5555 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
5193 $as_echo "$INSTALL_INFO" >&6; } | 5556 $as_echo "$INSTALL_INFO" >&6; } |
5194 else | 5557 else |
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5558 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5196 $as_echo "no" >&6; } | 5559 $as_echo "no" >&6; } |
5197 fi | 5560 fi |
5198 | 5561 |
5199 | 5562 |
5200 # Extract the first word of "install-info", so it can be a program name with args. | 5563 # Extract the first word of "install-info", so it can be a program name with args. |
5201 set dummy install-info; ac_word=$2 | 5564 set dummy install-info; ac_word=$2 |
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5203 $as_echo_n "checking for $ac_word... " >&6; } | 5566 $as_echo_n "checking for $ac_word... " >&6; } |
5204 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5567 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
5205 $as_echo_n "(cached) " >&6 | 5568 $as_echo_n "(cached) " >&6 |
5206 else | 5569 else |
5207 case $INSTALL_INFO in | 5570 case $INSTALL_INFO in |
5208 [\\/]* | ?:[\\/]*) | 5571 [\\/]* | ?:[\\/]*) |
5209 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5572 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5213 for as_dir in /usr/sbin | 5576 for as_dir in /usr/sbin |
5214 do | 5577 do |
5215 IFS=$as_save_IFS | 5578 IFS=$as_save_IFS |
5216 test -z "$as_dir" && as_dir=. | 5579 test -z "$as_dir" && as_dir=. |
5217 for ac_exec_ext in '' $ac_executable_extensions; do | 5580 for ac_exec_ext in '' $ac_executable_extensions; do |
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5219 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5582 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5583 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5221 break 2 | 5584 break 2 |
5222 fi | 5585 fi |
5223 done | 5586 done |
5224 done | 5587 done |
5225 IFS=$as_save_IFS | 5588 IFS=$as_save_IFS |
5226 | 5589 |
5227 ;; | 5590 ;; |
5228 esac | 5591 esac |
5229 fi | 5592 fi |
5230 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5593 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
5231 if test -n "$INSTALL_INFO"; then | 5594 if test -n "$INSTALL_INFO"; then |
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5595 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
5233 $as_echo "$INSTALL_INFO" >&6; } | 5596 $as_echo "$INSTALL_INFO" >&6; } |
5234 else | 5597 else |
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5598 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5236 $as_echo "no" >&6; } | 5599 $as_echo "no" >&6; } |
5237 fi | 5600 fi |
5238 | 5601 |
5239 | 5602 |
5240 # Extract the first word of "install-info", so it can be a program name with args. | 5603 # Extract the first word of "install-info", so it can be a program name with args. |
5241 set dummy install-info; ac_word=$2 | 5604 set dummy install-info; ac_word=$2 |
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5605 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5243 $as_echo_n "checking for $ac_word... " >&6; } | 5606 $as_echo_n "checking for $ac_word... " >&6; } |
5244 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5607 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
5245 $as_echo_n "(cached) " >&6 | 5608 $as_echo_n "(cached) " >&6 |
5246 else | 5609 else |
5247 case $INSTALL_INFO in | 5610 case $INSTALL_INFO in |
5248 [\\/]* | ?:[\\/]*) | 5611 [\\/]* | ?:[\\/]*) |
5249 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5612 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5253 for as_dir in /sbin | 5616 for as_dir in /sbin |
5254 do | 5617 do |
5255 IFS=$as_save_IFS | 5618 IFS=$as_save_IFS |
5256 test -z "$as_dir" && as_dir=. | 5619 test -z "$as_dir" && as_dir=. |
5257 for ac_exec_ext in '' $ac_executable_extensions; do | 5620 for ac_exec_ext in '' $ac_executable_extensions; do |
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5259 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5622 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5623 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5261 break 2 | 5624 break 2 |
5262 fi | 5625 fi |
5263 done | 5626 done |
5264 done | 5627 done |
5265 IFS=$as_save_IFS | 5628 IFS=$as_save_IFS |
5266 | 5629 |
5267 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 5630 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
5268 ;; | 5631 ;; |
5269 esac | 5632 esac |
5270 fi | 5633 fi |
5271 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5634 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
5272 if test -n "$INSTALL_INFO"; then | 5635 if test -n "$INSTALL_INFO"; then |
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5636 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
5274 $as_echo "$INSTALL_INFO" >&6; } | 5637 $as_echo "$INSTALL_INFO" >&6; } |
5275 else | 5638 else |
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5639 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5277 $as_echo "no" >&6; } | 5640 $as_echo "no" >&6; } |
5278 fi | 5641 fi |
5279 | 5642 |
5280 | 5643 |
5281 # Extract the first word of "gzip", so it can be a program name with args. | 5644 # Extract the first word of "gzip", so it can be a program name with args. |
5282 set dummy gzip; ac_word=$2 | 5645 set dummy gzip; ac_word=$2 |
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5646 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5284 $as_echo_n "checking for $ac_word... " >&6; } | 5647 $as_echo_n "checking for $ac_word... " >&6; } |
5285 if test "${ac_cv_path_GZIP_PROG+set}" = set; then : | 5648 if test "${ac_cv_path_GZIP_PROG+set}" = set; then |
5286 $as_echo_n "(cached) " >&6 | 5649 $as_echo_n "(cached) " >&6 |
5287 else | 5650 else |
5288 case $GZIP_PROG in | 5651 case $GZIP_PROG in |
5289 [\\/]* | ?:[\\/]*) | 5652 [\\/]* | ?:[\\/]*) |
5290 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. | 5653 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. |
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5294 for as_dir in $PATH | 5657 for as_dir in $PATH |
5295 do | 5658 do |
5296 IFS=$as_save_IFS | 5659 IFS=$as_save_IFS |
5297 test -z "$as_dir" && as_dir=. | 5660 test -z "$as_dir" && as_dir=. |
5298 for ac_exec_ext in '' $ac_executable_extensions; do | 5661 for ac_exec_ext in '' $ac_executable_extensions; do |
5299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5300 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 5663 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5664 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5302 break 2 | 5665 break 2 |
5303 fi | 5666 fi |
5304 done | 5667 done |
5305 done | 5668 done |
5306 IFS=$as_save_IFS | 5669 IFS=$as_save_IFS |
5307 | 5670 |
5308 ;; | 5671 ;; |
5309 esac | 5672 esac |
5310 fi | 5673 fi |
5311 GZIP_PROG=$ac_cv_path_GZIP_PROG | 5674 GZIP_PROG=$ac_cv_path_GZIP_PROG |
5312 if test -n "$GZIP_PROG"; then | 5675 if test -n "$GZIP_PROG"; then |
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5 | 5676 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 |
5314 $as_echo "$GZIP_PROG" >&6; } | 5677 $as_echo "$GZIP_PROG" >&6; } |
5315 else | 5678 else |
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5679 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5317 $as_echo "no" >&6; } | 5680 $as_echo "no" >&6; } |
5318 fi | 5681 fi |
5319 | 5682 |
5320 | 5683 |
5321 | 5684 |
5322 | 5685 |
5323 ## Need makeinfo >= 4.6 (?) to build the manuals. | 5686 ## Need makeinfo >= 4.6 (?) to build the manuals. |
5324 # Extract the first word of "makeinfo", so it can be a program name with args. | 5687 # Extract the first word of "makeinfo", so it can be a program name with args. |
5325 set dummy makeinfo; ac_word=$2 | 5688 set dummy makeinfo; ac_word=$2 |
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5689 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5327 $as_echo_n "checking for $ac_word... " >&6; } | 5690 $as_echo_n "checking for $ac_word... " >&6; } |
5328 if test "${ac_cv_path_MAKEINFO+set}" = set; then : | 5691 if test "${ac_cv_path_MAKEINFO+set}" = set; then |
5329 $as_echo_n "(cached) " >&6 | 5692 $as_echo_n "(cached) " >&6 |
5330 else | 5693 else |
5331 case $MAKEINFO in | 5694 case $MAKEINFO in |
5332 [\\/]* | ?:[\\/]*) | 5695 [\\/]* | ?:[\\/]*) |
5333 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. | 5696 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. |
5336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5337 for as_dir in $PATH | 5700 for as_dir in $PATH |
5338 do | 5701 do |
5339 IFS=$as_save_IFS | 5702 IFS=$as_save_IFS |
5340 test -z "$as_dir" && as_dir=. | 5703 test -z "$as_dir" && as_dir=. |
5341 for ac_exec_ext in '' $ac_executable_extensions; do | 5704 for ac_exec_ext in '' $ac_executable_extensions; do |
5342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5343 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" | 5706 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" |
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5707 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5345 break 2 | 5708 break 2 |
5346 fi | 5709 fi |
5347 done | 5710 done |
5348 done | 5711 done |
5349 IFS=$as_save_IFS | 5712 IFS=$as_save_IFS |
5350 | 5713 |
5351 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" | 5714 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" |
5352 ;; | 5715 ;; |
5353 esac | 5716 esac |
5354 fi | 5717 fi |
5355 MAKEINFO=$ac_cv_path_MAKEINFO | 5718 MAKEINFO=$ac_cv_path_MAKEINFO |
5356 if test -n "$MAKEINFO"; then | 5719 if test -n "$MAKEINFO"; then |
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 | 5720 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 |
5358 $as_echo "$MAKEINFO" >&6; } | 5721 $as_echo "$MAKEINFO" >&6; } |
5359 else | 5722 else |
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5723 { $as_echo "$as_me:$LINENO: result: no" >&5 |
5361 $as_echo "no" >&6; } | 5724 $as_echo "no" >&6; } |
5362 fi | 5725 fi |
5363 | 5726 |
5364 | 5727 |
5365 if test "$MAKEINFO" != "no" && \ | 5728 if test "$MAKEINFO" != "no" && \ |
5378 ## with pre-built manuals, from a Bazaar checkout. | 5741 ## with pre-built manuals, from a Bazaar checkout. |
5379 if test "$MAKEINFO" = "no"; then | 5742 if test "$MAKEINFO" = "no"; then |
5380 if test "x${with_makeinfo}" = "xno"; then | 5743 if test "x${with_makeinfo}" = "xno"; then |
5381 MAKEINFO=off | 5744 MAKEINFO=off |
5382 elif test ! -e $srcdir/info/emacs; then | 5745 elif test ! -e $srcdir/info/emacs; then |
5383 as_fn_error "You do not seem to have makeinfo >= 4.6, and your | 5746 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your |
5384 source tree does not seem to have pre-built manuals in the \`info' directory. | 5747 source tree does not seem to have pre-built manuals in the \`info' directory. |
5385 Either install a suitable version of makeinfo, or re-run configure | 5748 Either install a suitable version of makeinfo, or re-run configure |
5386 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5749 with the \`--without-makeinfo' option to build without the manuals. " >&5 |
5750 $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your | |
5751 source tree does not seem to have pre-built manuals in the \`info' directory. | |
5752 Either install a suitable version of makeinfo, or re-run configure | |
5753 with the \`--without-makeinfo' option to build without the manuals. " >&2;} | |
5754 { (exit 1); exit 1; }; } | |
5387 fi | 5755 fi |
5388 fi | 5756 fi |
5389 | 5757 |
5390 | 5758 |
5391 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x | 5759 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x |
5404 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" | 5772 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" |
5405 else | 5773 else |
5406 LDFLAGS="$LDFLAGS -znocombreloc" | 5774 LDFLAGS="$LDFLAGS -znocombreloc" |
5407 fi | 5775 fi |
5408 | 5776 |
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 | 5777 { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 |
5410 $as_echo_n "checking for -znocombreloc... " >&6; } | 5778 $as_echo_n "checking for -znocombreloc... " >&6; } |
5411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5779 cat >conftest.$ac_ext <<_ACEOF |
5412 /* end confdefs.h. */ | |
5413 main(){return 0;} | 5780 main(){return 0;} |
5414 _ACEOF | 5781 _ACEOF |
5415 if ac_fn_c_try_link "$LINENO"; then : | 5782 rm -f conftest.$ac_objext conftest$ac_exeext |
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5783 if { (ac_try="$ac_link" |
5784 case "(($ac_try" in | |
5785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5786 *) ac_try_echo=$ac_try;; | |
5787 esac | |
5788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5789 $as_echo "$ac_try_echo") >&5 | |
5790 (eval "$ac_link") 2>conftest.er1 | |
5791 ac_status=$? | |
5792 grep -v '^ *+' conftest.er1 >conftest.err | |
5793 rm -f conftest.er1 | |
5794 cat conftest.err >&5 | |
5795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5796 (exit $ac_status); } && { | |
5797 test -z "$ac_c_werror_flag" || | |
5798 test ! -s conftest.err | |
5799 } && test -s conftest$ac_exeext && { | |
5800 test "$cross_compiling" = yes || | |
5801 $as_test_x conftest$ac_exeext | |
5802 }; then | |
5803 { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
5417 $as_echo "yes" >&6; } | 5804 $as_echo "yes" >&6; } |
5418 else | 5805 else |
5419 LDFLAGS=$late_LDFLAGS | 5806 $as_echo "$as_me: failed program was:" >&5 |
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5807 sed 's/^/| /' conftest.$ac_ext >&5 |
5808 | |
5809 LDFLAGS=$late_LDFLAGS | |
5810 { $as_echo "$as_me:$LINENO: result: no" >&5 | |
5421 $as_echo "no" >&6; } | 5811 $as_echo "no" >&6; } |
5422 fi | 5812 fi |
5423 rm -f core conftest.err conftest.$ac_objext \ | 5813 |
5424 conftest$ac_exeext conftest.$ac_ext | 5814 rm -rf conftest.dSYM |
5815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5816 conftest$ac_exeext conftest.$ac_ext | |
5425 | 5817 |
5426 #### Extract some information from the operating system and machine files. | 5818 #### Extract some information from the operating system and machine files. |
5427 | 5819 |
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out | 5820 { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |
5429 - which libraries the lib-src programs will want, and | 5821 - which libraries the lib-src programs will want, and |
5430 - whether the GNU malloc routines are usable..." >&5 | 5822 - whether the GNU malloc routines are usable..." >&5 |
5431 $as_echo "$as_me: checking the machine- and system-dependent files to find out | 5823 $as_echo "$as_me: checking the machine- and system-dependent files to find out |
5432 - which libraries the lib-src programs will want, and | 5824 - which libraries the lib-src programs will want, and |
5433 - whether the GNU malloc routines are usable..." >&6;} | 5825 - whether the GNU malloc routines are usable..." >&6;} |
5560 esac | 5952 esac |
5561 | 5953 |
5562 | 5954 |
5563 C_SWITCH_MACHINE= | 5955 C_SWITCH_MACHINE= |
5564 if test "$machine" = "alpha"; then | 5956 if test "$machine" = "alpha"; then |
5565 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" | 5957 { $as_echo "$as_me:$LINENO: checking whether __ELF__ is declared" >&5 |
5566 if test "x$ac_cv_have_decl___ELF__" = x""yes; then : | 5958 $as_echo_n "checking whether __ELF__ is declared... " >&6; } |
5567 | 5959 if test "${ac_cv_have_decl___ELF__+set}" = set; then |
5568 fi | 5960 $as_echo_n "(cached) " >&6 |
5961 else | |
5962 cat >conftest.$ac_ext <<_ACEOF | |
5963 /* confdefs.h. */ | |
5964 _ACEOF | |
5965 cat confdefs.h >>conftest.$ac_ext | |
5966 cat >>conftest.$ac_ext <<_ACEOF | |
5967 /* end confdefs.h. */ | |
5968 $ac_includes_default | |
5969 int | |
5970 main () | |
5971 { | |
5972 #ifndef __ELF__ | |
5973 (void) __ELF__; | |
5974 #endif | |
5975 | |
5976 ; | |
5977 return 0; | |
5978 } | |
5979 _ACEOF | |
5980 rm -f conftest.$ac_objext | |
5981 if { (ac_try="$ac_compile" | |
5982 case "(($ac_try" in | |
5983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5984 *) ac_try_echo=$ac_try;; | |
5985 esac | |
5986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
5987 $as_echo "$ac_try_echo") >&5 | |
5988 (eval "$ac_compile") 2>conftest.er1 | |
5989 ac_status=$? | |
5990 grep -v '^ *+' conftest.er1 >conftest.err | |
5991 rm -f conftest.er1 | |
5992 cat conftest.err >&5 | |
5993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5994 (exit $ac_status); } && { | |
5995 test -z "$ac_c_werror_flag" || | |
5996 test ! -s conftest.err | |
5997 } && test -s conftest.$ac_objext; then | |
5998 ac_cv_have_decl___ELF__=yes | |
5999 else | |
6000 $as_echo "$as_me: failed program was:" >&5 | |
6001 sed 's/^/| /' conftest.$ac_ext >&5 | |
6002 | |
6003 ac_cv_have_decl___ELF__=no | |
6004 fi | |
6005 | |
6006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6007 fi | |
6008 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___ELF__" >&5 | |
6009 $as_echo "$ac_cv_have_decl___ELF__" >&6; } | |
5569 | 6010 |
5570 if test "$ac_cv_have_decl___ELF__" = "yes"; then | 6011 if test "$ac_cv_have_decl___ELF__" = "yes"; then |
5571 ## With ELF, make sure that all common symbols get allocated to in the | 6012 ## With ELF, make sure that all common symbols get allocated to in the |
5572 ## data section. Otherwise, the dump of temacs may miss variables in | 6013 ## data section. Otherwise, the dump of temacs may miss variables in |
5573 ## the shared library that have been initialized. For example, with | 6014 ## the shared library that have been initialized. For example, with |
5574 ## GNU libc, __malloc_initialized would normally be resolved to the | 6015 ## GNU libc, __malloc_initialized would normally be resolved to the |
5575 ## shared library's .bss section, which is fatal. | 6016 ## shared library's .bss section, which is fatal. |
5576 if test "x$GCC" = "xyes"; then | 6017 if test "x$GCC" = "xyes"; then |
5577 C_SWITCH_MACHINE="-fno-common" | 6018 C_SWITCH_MACHINE="-fno-common" |
5578 else | 6019 else |
5579 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 | 6020 { { $as_echo "$as_me:$LINENO: error: What gives? Fix me if DEC Unix supports ELF now." >&5 |
6021 $as_echo "$as_me: error: What gives? Fix me if DEC Unix supports ELF now." >&2;} | |
6022 { (exit 1); exit 1; }; } | |
5580 fi | 6023 fi |
5581 fi | 6024 fi |
5582 fi | 6025 fi |
5583 | 6026 |
5584 | 6027 |
5620 fi | 6063 fi |
5621 | 6064 |
5622 | 6065 |
5623 | 6066 |
5624 # Check whether --enable-largefile was given. | 6067 # Check whether --enable-largefile was given. |
5625 if test "${enable_largefile+set}" = set; then : | 6068 if test "${enable_largefile+set}" = set; then |
5626 enableval=$enable_largefile; | 6069 enableval=$enable_largefile; |
5627 fi | 6070 fi |
5628 | 6071 |
5629 if test "$enable_largefile" != no; then | 6072 if test "$enable_largefile" != no; then |
5630 | 6073 |
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 | 6074 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
5632 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | 6075 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
5633 if test "${ac_cv_sys_largefile_CC+set}" = set; then : | 6076 if test "${ac_cv_sys_largefile_CC+set}" = set; then |
5634 $as_echo_n "(cached) " >&6 | 6077 $as_echo_n "(cached) " >&6 |
5635 else | 6078 else |
5636 ac_cv_sys_largefile_CC=no | 6079 ac_cv_sys_largefile_CC=no |
5637 if test "$GCC" != yes; then | 6080 if test "$GCC" != yes; then |
5638 ac_save_CC=$CC | 6081 ac_save_CC=$CC |
5639 while :; do | 6082 while :; do |
5640 # IRIX 6.2 and later do not support large files by default, | 6083 # IRIX 6.2 and later do not support large files by default, |
5641 # so use the C compiler's -n32 option if that helps. | 6084 # so use the C compiler's -n32 option if that helps. |
5642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6085 cat >conftest.$ac_ext <<_ACEOF |
6086 /* confdefs.h. */ | |
6087 _ACEOF | |
6088 cat confdefs.h >>conftest.$ac_ext | |
6089 cat >>conftest.$ac_ext <<_ACEOF | |
5643 /* end confdefs.h. */ | 6090 /* end confdefs.h. */ |
5644 #include <sys/types.h> | 6091 #include <sys/types.h> |
5645 /* Check that off_t can represent 2**63 - 1 correctly. | 6092 /* Check that off_t can represent 2**63 - 1 correctly. |
5646 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 6093 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5647 since some C++ compilers masquerading as C compilers | 6094 since some C++ compilers masquerading as C compilers |
5656 | 6103 |
5657 ; | 6104 ; |
5658 return 0; | 6105 return 0; |
5659 } | 6106 } |
5660 _ACEOF | 6107 _ACEOF |
5661 if ac_fn_c_try_compile "$LINENO"; then : | 6108 rm -f conftest.$ac_objext |
6109 if { (ac_try="$ac_compile" | |
6110 case "(($ac_try" in | |
6111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6112 *) ac_try_echo=$ac_try;; | |
6113 esac | |
6114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6115 $as_echo "$ac_try_echo") >&5 | |
6116 (eval "$ac_compile") 2>conftest.er1 | |
6117 ac_status=$? | |
6118 grep -v '^ *+' conftest.er1 >conftest.err | |
6119 rm -f conftest.er1 | |
6120 cat conftest.err >&5 | |
6121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6122 (exit $ac_status); } && { | |
6123 test -z "$ac_c_werror_flag" || | |
6124 test ! -s conftest.err | |
6125 } && test -s conftest.$ac_objext; then | |
5662 break | 6126 break |
5663 fi | 6127 else |
6128 $as_echo "$as_me: failed program was:" >&5 | |
6129 sed 's/^/| /' conftest.$ac_ext >&5 | |
6130 | |
6131 | |
6132 fi | |
6133 | |
5664 rm -f core conftest.err conftest.$ac_objext | 6134 rm -f core conftest.err conftest.$ac_objext |
5665 CC="$CC -n32" | 6135 CC="$CC -n32" |
5666 if ac_fn_c_try_compile "$LINENO"; then : | 6136 rm -f conftest.$ac_objext |
6137 if { (ac_try="$ac_compile" | |
6138 case "(($ac_try" in | |
6139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6140 *) ac_try_echo=$ac_try;; | |
6141 esac | |
6142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6143 $as_echo "$ac_try_echo") >&5 | |
6144 (eval "$ac_compile") 2>conftest.er1 | |
6145 ac_status=$? | |
6146 grep -v '^ *+' conftest.er1 >conftest.err | |
6147 rm -f conftest.er1 | |
6148 cat conftest.err >&5 | |
6149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6150 (exit $ac_status); } && { | |
6151 test -z "$ac_c_werror_flag" || | |
6152 test ! -s conftest.err | |
6153 } && test -s conftest.$ac_objext; then | |
5667 ac_cv_sys_largefile_CC=' -n32'; break | 6154 ac_cv_sys_largefile_CC=' -n32'; break |
5668 fi | 6155 else |
6156 $as_echo "$as_me: failed program was:" >&5 | |
6157 sed 's/^/| /' conftest.$ac_ext >&5 | |
6158 | |
6159 | |
6160 fi | |
6161 | |
5669 rm -f core conftest.err conftest.$ac_objext | 6162 rm -f core conftest.err conftest.$ac_objext |
5670 break | 6163 break |
5671 done | 6164 done |
5672 CC=$ac_save_CC | 6165 CC=$ac_save_CC |
5673 rm -f conftest.$ac_ext | 6166 rm -f conftest.$ac_ext |
5674 fi | 6167 fi |
5675 fi | 6168 fi |
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 | 6169 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
5677 $as_echo "$ac_cv_sys_largefile_CC" >&6; } | 6170 $as_echo "$ac_cv_sys_largefile_CC" >&6; } |
5678 if test "$ac_cv_sys_largefile_CC" != no; then | 6171 if test "$ac_cv_sys_largefile_CC" != no; then |
5679 CC=$CC$ac_cv_sys_largefile_CC | 6172 CC=$CC$ac_cv_sys_largefile_CC |
5680 fi | 6173 fi |
5681 | 6174 |
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 6175 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
5683 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | 6176 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
5684 if test "${ac_cv_sys_file_offset_bits+set}" = set; then : | 6177 if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
5685 $as_echo_n "(cached) " >&6 | 6178 $as_echo_n "(cached) " >&6 |
5686 else | 6179 else |
5687 while :; do | 6180 while :; do |
5688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6181 cat >conftest.$ac_ext <<_ACEOF |
6182 /* confdefs.h. */ | |
6183 _ACEOF | |
6184 cat confdefs.h >>conftest.$ac_ext | |
6185 cat >>conftest.$ac_ext <<_ACEOF | |
5689 /* end confdefs.h. */ | 6186 /* end confdefs.h. */ |
5690 #include <sys/types.h> | 6187 #include <sys/types.h> |
5691 /* Check that off_t can represent 2**63 - 1 correctly. | 6188 /* Check that off_t can represent 2**63 - 1 correctly. |
5692 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 6189 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5693 since some C++ compilers masquerading as C compilers | 6190 since some C++ compilers masquerading as C compilers |
5702 | 6199 |
5703 ; | 6200 ; |
5704 return 0; | 6201 return 0; |
5705 } | 6202 } |
5706 _ACEOF | 6203 _ACEOF |
5707 if ac_fn_c_try_compile "$LINENO"; then : | 6204 rm -f conftest.$ac_objext |
6205 if { (ac_try="$ac_compile" | |
6206 case "(($ac_try" in | |
6207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6208 *) ac_try_echo=$ac_try;; | |
6209 esac | |
6210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6211 $as_echo "$ac_try_echo") >&5 | |
6212 (eval "$ac_compile") 2>conftest.er1 | |
6213 ac_status=$? | |
6214 grep -v '^ *+' conftest.er1 >conftest.err | |
6215 rm -f conftest.er1 | |
6216 cat conftest.err >&5 | |
6217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6218 (exit $ac_status); } && { | |
6219 test -z "$ac_c_werror_flag" || | |
6220 test ! -s conftest.err | |
6221 } && test -s conftest.$ac_objext; then | |
5708 ac_cv_sys_file_offset_bits=no; break | 6222 ac_cv_sys_file_offset_bits=no; break |
5709 fi | 6223 else |
6224 $as_echo "$as_me: failed program was:" >&5 | |
6225 sed 's/^/| /' conftest.$ac_ext >&5 | |
6226 | |
6227 | |
6228 fi | |
6229 | |
5710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6231 cat >conftest.$ac_ext <<_ACEOF |
6232 /* confdefs.h. */ | |
6233 _ACEOF | |
6234 cat confdefs.h >>conftest.$ac_ext | |
6235 cat >>conftest.$ac_ext <<_ACEOF | |
5712 /* end confdefs.h. */ | 6236 /* end confdefs.h. */ |
5713 #define _FILE_OFFSET_BITS 64 | 6237 #define _FILE_OFFSET_BITS 64 |
5714 #include <sys/types.h> | 6238 #include <sys/types.h> |
5715 /* Check that off_t can represent 2**63 - 1 correctly. | 6239 /* Check that off_t can represent 2**63 - 1 correctly. |
5716 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 6240 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5726 | 6250 |
5727 ; | 6251 ; |
5728 return 0; | 6252 return 0; |
5729 } | 6253 } |
5730 _ACEOF | 6254 _ACEOF |
5731 if ac_fn_c_try_compile "$LINENO"; then : | 6255 rm -f conftest.$ac_objext |
6256 if { (ac_try="$ac_compile" | |
6257 case "(($ac_try" in | |
6258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6259 *) ac_try_echo=$ac_try;; | |
6260 esac | |
6261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6262 $as_echo "$ac_try_echo") >&5 | |
6263 (eval "$ac_compile") 2>conftest.er1 | |
6264 ac_status=$? | |
6265 grep -v '^ *+' conftest.er1 >conftest.err | |
6266 rm -f conftest.er1 | |
6267 cat conftest.err >&5 | |
6268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6269 (exit $ac_status); } && { | |
6270 test -z "$ac_c_werror_flag" || | |
6271 test ! -s conftest.err | |
6272 } && test -s conftest.$ac_objext; then | |
5732 ac_cv_sys_file_offset_bits=64; break | 6273 ac_cv_sys_file_offset_bits=64; break |
5733 fi | 6274 else |
6275 $as_echo "$as_me: failed program was:" >&5 | |
6276 sed 's/^/| /' conftest.$ac_ext >&5 | |
6277 | |
6278 | |
6279 fi | |
6280 | |
5734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5735 ac_cv_sys_file_offset_bits=unknown | 6282 ac_cv_sys_file_offset_bits=unknown |
5736 break | 6283 break |
5737 done | 6284 done |
5738 fi | 6285 fi |
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 | 6286 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
5740 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } | 6287 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
5741 case $ac_cv_sys_file_offset_bits in #( | 6288 case $ac_cv_sys_file_offset_bits in #( |
5742 no | unknown) ;; | 6289 no | unknown) ;; |
5743 *) | 6290 *) |
5744 cat >>confdefs.h <<_ACEOF | 6291 cat >>confdefs.h <<_ACEOF |
5746 _ACEOF | 6293 _ACEOF |
5747 ;; | 6294 ;; |
5748 esac | 6295 esac |
5749 rm -rf conftest* | 6296 rm -rf conftest* |
5750 if test $ac_cv_sys_file_offset_bits = unknown; then | 6297 if test $ac_cv_sys_file_offset_bits = unknown; then |
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 | 6298 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
5752 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | 6299 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
5753 if test "${ac_cv_sys_large_files+set}" = set; then : | 6300 if test "${ac_cv_sys_large_files+set}" = set; then |
5754 $as_echo_n "(cached) " >&6 | 6301 $as_echo_n "(cached) " >&6 |
5755 else | 6302 else |
5756 while :; do | 6303 while :; do |
5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6304 cat >conftest.$ac_ext <<_ACEOF |
6305 /* confdefs.h. */ | |
6306 _ACEOF | |
6307 cat confdefs.h >>conftest.$ac_ext | |
6308 cat >>conftest.$ac_ext <<_ACEOF | |
5758 /* end confdefs.h. */ | 6309 /* end confdefs.h. */ |
5759 #include <sys/types.h> | 6310 #include <sys/types.h> |
5760 /* Check that off_t can represent 2**63 - 1 correctly. | 6311 /* Check that off_t can represent 2**63 - 1 correctly. |
5761 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 6312 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5762 since some C++ compilers masquerading as C compilers | 6313 since some C++ compilers masquerading as C compilers |
5771 | 6322 |
5772 ; | 6323 ; |
5773 return 0; | 6324 return 0; |
5774 } | 6325 } |
5775 _ACEOF | 6326 _ACEOF |
5776 if ac_fn_c_try_compile "$LINENO"; then : | 6327 rm -f conftest.$ac_objext |
6328 if { (ac_try="$ac_compile" | |
6329 case "(($ac_try" in | |
6330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6331 *) ac_try_echo=$ac_try;; | |
6332 esac | |
6333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6334 $as_echo "$ac_try_echo") >&5 | |
6335 (eval "$ac_compile") 2>conftest.er1 | |
6336 ac_status=$? | |
6337 grep -v '^ *+' conftest.er1 >conftest.err | |
6338 rm -f conftest.er1 | |
6339 cat conftest.err >&5 | |
6340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6341 (exit $ac_status); } && { | |
6342 test -z "$ac_c_werror_flag" || | |
6343 test ! -s conftest.err | |
6344 } && test -s conftest.$ac_objext; then | |
5777 ac_cv_sys_large_files=no; break | 6345 ac_cv_sys_large_files=no; break |
5778 fi | 6346 else |
6347 $as_echo "$as_me: failed program was:" >&5 | |
6348 sed 's/^/| /' conftest.$ac_ext >&5 | |
6349 | |
6350 | |
6351 fi | |
6352 | |
5779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6354 cat >conftest.$ac_ext <<_ACEOF |
6355 /* confdefs.h. */ | |
6356 _ACEOF | |
6357 cat confdefs.h >>conftest.$ac_ext | |
6358 cat >>conftest.$ac_ext <<_ACEOF | |
5781 /* end confdefs.h. */ | 6359 /* end confdefs.h. */ |
5782 #define _LARGE_FILES 1 | 6360 #define _LARGE_FILES 1 |
5783 #include <sys/types.h> | 6361 #include <sys/types.h> |
5784 /* Check that off_t can represent 2**63 - 1 correctly. | 6362 /* Check that off_t can represent 2**63 - 1 correctly. |
5785 We can't simply define LARGE_OFF_T to be 9223372036854775807, | 6363 We can't simply define LARGE_OFF_T to be 9223372036854775807, |
5795 | 6373 |
5796 ; | 6374 ; |
5797 return 0; | 6375 return 0; |
5798 } | 6376 } |
5799 _ACEOF | 6377 _ACEOF |
5800 if ac_fn_c_try_compile "$LINENO"; then : | 6378 rm -f conftest.$ac_objext |
6379 if { (ac_try="$ac_compile" | |
6380 case "(($ac_try" in | |
6381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6382 *) ac_try_echo=$ac_try;; | |
6383 esac | |
6384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6385 $as_echo "$ac_try_echo") >&5 | |
6386 (eval "$ac_compile") 2>conftest.er1 | |
6387 ac_status=$? | |
6388 grep -v '^ *+' conftest.er1 >conftest.err | |
6389 rm -f conftest.er1 | |
6390 cat conftest.err >&5 | |
6391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6392 (exit $ac_status); } && { | |
6393 test -z "$ac_c_werror_flag" || | |
6394 test ! -s conftest.err | |
6395 } && test -s conftest.$ac_objext; then | |
5801 ac_cv_sys_large_files=1; break | 6396 ac_cv_sys_large_files=1; break |
5802 fi | 6397 else |
6398 $as_echo "$as_me: failed program was:" >&5 | |
6399 sed 's/^/| /' conftest.$ac_ext >&5 | |
6400 | |
6401 | |
6402 fi | |
6403 | |
5803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5804 ac_cv_sys_large_files=unknown | 6405 ac_cv_sys_large_files=unknown |
5805 break | 6406 break |
5806 done | 6407 done |
5807 fi | 6408 fi |
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 | 6409 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
5809 $as_echo "$ac_cv_sys_large_files" >&6; } | 6410 $as_echo "$ac_cv_sys_large_files" >&6; } |
5810 case $ac_cv_sys_large_files in #( | 6411 case $ac_cv_sys_large_files in #( |
5811 no | unknown) ;; | 6412 no | unknown) ;; |
5812 *) | 6413 *) |
5813 cat >>confdefs.h <<_ACEOF | 6414 cat >>confdefs.h <<_ACEOF |
5849 else | 6450 else |
5850 | 6451 |
5851 ## Some platforms don't use any of these files, so it is not | 6452 ## Some platforms don't use any of these files, so it is not |
5852 ## appropriate to put this test outside the if block. | 6453 ## appropriate to put this test outside the if block. |
5853 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 6454 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
5854 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 | 6455 { { $as_echo "$as_me:$LINENO: error: crt*.o not found in specified location." >&5 |
6456 $as_echo "$as_me: error: crt*.o not found in specified location." >&2;} | |
6457 { (exit 1); exit 1; }; } | |
5855 | 6458 |
5856 fi | 6459 fi |
5857 | 6460 |
5858 | 6461 |
5859 | 6462 |
5900 | 6503 |
5901 | 6504 |
5902 | 6505 |
5903 if test "${with_sound}" != "no"; then | 6506 if test "${with_sound}" != "no"; then |
5904 # Sound support for GNU/Linux and the free BSDs. | 6507 # Sound support for GNU/Linux and the free BSDs. |
5905 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 6508 |
5906 do : | 6509 |
5907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6510 |
5908 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6511 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5909 eval as_val=\$$as_ac_Header | 6512 do |
5910 if test "x$as_val" = x""yes; then : | 6513 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6515 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
6516 $as_echo_n "checking for $ac_header... " >&6; } | |
6517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6518 $as_echo_n "(cached) " >&6 | |
6519 fi | |
6520 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
6521 $as_echo "$as_val"'` | |
6522 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6523 $as_echo "$ac_res" >&6; } | |
6524 else | |
6525 # Is the header compilable? | |
6526 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
6527 $as_echo_n "checking $ac_header usability... " >&6; } | |
6528 cat >conftest.$ac_ext <<_ACEOF | |
6529 /* confdefs.h. */ | |
6530 _ACEOF | |
6531 cat confdefs.h >>conftest.$ac_ext | |
6532 cat >>conftest.$ac_ext <<_ACEOF | |
6533 /* end confdefs.h. */ | |
6534 $ac_includes_default | |
6535 #include <$ac_header> | |
6536 _ACEOF | |
6537 rm -f conftest.$ac_objext | |
6538 if { (ac_try="$ac_compile" | |
6539 case "(($ac_try" in | |
6540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6541 *) ac_try_echo=$ac_try;; | |
6542 esac | |
6543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6544 $as_echo "$ac_try_echo") >&5 | |
6545 (eval "$ac_compile") 2>conftest.er1 | |
6546 ac_status=$? | |
6547 grep -v '^ *+' conftest.er1 >conftest.err | |
6548 rm -f conftest.er1 | |
6549 cat conftest.err >&5 | |
6550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6551 (exit $ac_status); } && { | |
6552 test -z "$ac_c_werror_flag" || | |
6553 test ! -s conftest.err | |
6554 } && test -s conftest.$ac_objext; then | |
6555 ac_header_compiler=yes | |
6556 else | |
6557 $as_echo "$as_me: failed program was:" >&5 | |
6558 sed 's/^/| /' conftest.$ac_ext >&5 | |
6559 | |
6560 ac_header_compiler=no | |
6561 fi | |
6562 | |
6563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6564 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6565 $as_echo "$ac_header_compiler" >&6; } | |
6566 | |
6567 # Is the header present? | |
6568 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
6569 $as_echo_n "checking $ac_header presence... " >&6; } | |
6570 cat >conftest.$ac_ext <<_ACEOF | |
6571 /* confdefs.h. */ | |
6572 _ACEOF | |
6573 cat confdefs.h >>conftest.$ac_ext | |
6574 cat >>conftest.$ac_ext <<_ACEOF | |
6575 /* end confdefs.h. */ | |
6576 #include <$ac_header> | |
6577 _ACEOF | |
6578 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6579 case "(($ac_try" in | |
6580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6581 *) ac_try_echo=$ac_try;; | |
6582 esac | |
6583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6584 $as_echo "$ac_try_echo") >&5 | |
6585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6586 ac_status=$? | |
6587 grep -v '^ *+' conftest.er1 >conftest.err | |
6588 rm -f conftest.er1 | |
6589 cat conftest.err >&5 | |
6590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6591 (exit $ac_status); } >/dev/null && { | |
6592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
6593 test ! -s conftest.err | |
6594 }; then | |
6595 ac_header_preproc=yes | |
6596 else | |
6597 $as_echo "$as_me: failed program was:" >&5 | |
6598 sed 's/^/| /' conftest.$ac_ext >&5 | |
6599 | |
6600 ac_header_preproc=no | |
6601 fi | |
6602 | |
6603 rm -f conftest.err conftest.$ac_ext | |
6604 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
6605 $as_echo "$ac_header_preproc" >&6; } | |
6606 | |
6607 # So? What about this header? | |
6608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
6609 yes:no: ) | |
6610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
6611 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
6612 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
6613 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
6614 ac_header_preproc=yes | |
6615 ;; | |
6616 no:yes:* ) | |
6617 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
6618 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
6619 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
6620 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
6621 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
6622 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
6623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
6624 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
6625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
6626 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
6627 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
6628 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
6629 | |
6630 ;; | |
6631 esac | |
6632 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
6633 $as_echo_n "checking for $ac_header... " >&6; } | |
6634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6635 $as_echo_n "(cached) " >&6 | |
6636 else | |
6637 eval "$as_ac_Header=\$ac_header_preproc" | |
6638 fi | |
6639 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
6640 $as_echo "$as_val"'` | |
6641 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6642 $as_echo "$ac_res" >&6; } | |
6643 | |
6644 fi | |
6645 if test `eval 'as_val=${'$as_ac_Header'} | |
6646 $as_echo "$as_val"'` = yes; then | |
5911 cat >>confdefs.h <<_ACEOF | 6647 cat >>confdefs.h <<_ACEOF |
5912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5913 _ACEOF | 6649 _ACEOF |
5914 | 6650 |
5915 fi | 6651 fi |
5916 | 6652 |
5917 done | 6653 done |
5918 | 6654 |
5919 # Emulation library used on NetBSD. | 6655 # Emulation library used on NetBSD. |
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 | 6656 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 |
5921 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | 6657 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } |
5922 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : | 6658 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
5923 $as_echo_n "(cached) " >&6 | 6659 $as_echo_n "(cached) " >&6 |
5924 else | 6660 else |
5925 ac_check_lib_save_LIBS=$LIBS | 6661 ac_check_lib_save_LIBS=$LIBS |
5926 LIBS="-lossaudio $LIBS" | 6662 LIBS="-lossaudio $LIBS" |
5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6663 cat >conftest.$ac_ext <<_ACEOF |
6664 /* confdefs.h. */ | |
6665 _ACEOF | |
6666 cat confdefs.h >>conftest.$ac_ext | |
6667 cat >>conftest.$ac_ext <<_ACEOF | |
5928 /* end confdefs.h. */ | 6668 /* end confdefs.h. */ |
5929 | 6669 |
5930 /* Override any GCC internal prototype to avoid an error. | 6670 /* Override any GCC internal prototype to avoid an error. |
5931 Use char because int might match the return type of a GCC | 6671 Use char because int might match the return type of a GCC |
5932 builtin and then its argument prototype would still apply. */ | 6672 builtin and then its argument prototype would still apply. */ |
5940 return _oss_ioctl (); | 6680 return _oss_ioctl (); |
5941 ; | 6681 ; |
5942 return 0; | 6682 return 0; |
5943 } | 6683 } |
5944 _ACEOF | 6684 _ACEOF |
5945 if ac_fn_c_try_link "$LINENO"; then : | 6685 rm -f conftest.$ac_objext conftest$ac_exeext |
6686 if { (ac_try="$ac_link" | |
6687 case "(($ac_try" in | |
6688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6689 *) ac_try_echo=$ac_try;; | |
6690 esac | |
6691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6692 $as_echo "$ac_try_echo") >&5 | |
6693 (eval "$ac_link") 2>conftest.er1 | |
6694 ac_status=$? | |
6695 grep -v '^ *+' conftest.er1 >conftest.err | |
6696 rm -f conftest.er1 | |
6697 cat conftest.err >&5 | |
6698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6699 (exit $ac_status); } && { | |
6700 test -z "$ac_c_werror_flag" || | |
6701 test ! -s conftest.err | |
6702 } && test -s conftest$ac_exeext && { | |
6703 test "$cross_compiling" = yes || | |
6704 $as_test_x conftest$ac_exeext | |
6705 }; then | |
5946 ac_cv_lib_ossaudio__oss_ioctl=yes | 6706 ac_cv_lib_ossaudio__oss_ioctl=yes |
5947 else | 6707 else |
5948 ac_cv_lib_ossaudio__oss_ioctl=no | 6708 $as_echo "$as_me: failed program was:" >&5 |
5949 fi | 6709 sed 's/^/| /' conftest.$ac_ext >&5 |
5950 rm -f core conftest.err conftest.$ac_objext \ | 6710 |
5951 conftest$ac_exeext conftest.$ac_ext | 6711 ac_cv_lib_ossaudio__oss_ioctl=no |
6712 fi | |
6713 | |
6714 rm -rf conftest.dSYM | |
6715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6716 conftest$ac_exeext conftest.$ac_ext | |
5952 LIBS=$ac_check_lib_save_LIBS | 6717 LIBS=$ac_check_lib_save_LIBS |
5953 fi | 6718 fi |
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 6719 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
5955 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 6720 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
5956 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : | 6721 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then |
5957 LIBSOUND=-lossaudio | 6722 LIBSOUND=-lossaudio |
5958 else | 6723 else |
5959 LIBSOUND= | 6724 LIBSOUND= |
5960 fi | 6725 fi |
5961 | 6726 |
5966 | 6731 |
5967 succeeded=no | 6732 succeeded=no |
5968 | 6733 |
5969 # Extract the first word of "pkg-config", so it can be a program name with args. | 6734 # Extract the first word of "pkg-config", so it can be a program name with args. |
5970 set dummy pkg-config; ac_word=$2 | 6735 set dummy pkg-config; ac_word=$2 |
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6736 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5972 $as_echo_n "checking for $ac_word... " >&6; } | 6737 $as_echo_n "checking for $ac_word... " >&6; } |
5973 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 6738 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
5974 $as_echo_n "(cached) " >&6 | 6739 $as_echo_n "(cached) " >&6 |
5975 else | 6740 else |
5976 case $PKG_CONFIG in | 6741 case $PKG_CONFIG in |
5977 [\\/]* | ?:[\\/]*) | 6742 [\\/]* | ?:[\\/]*) |
5978 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 6743 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5982 for as_dir in $PATH | 6747 for as_dir in $PATH |
5983 do | 6748 do |
5984 IFS=$as_save_IFS | 6749 IFS=$as_save_IFS |
5985 test -z "$as_dir" && as_dir=. | 6750 test -z "$as_dir" && as_dir=. |
5986 for ac_exec_ext in '' $ac_executable_extensions; do | 6751 for ac_exec_ext in '' $ac_executable_extensions; do |
5987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5988 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 6753 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6754 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5990 break 2 | 6755 break 2 |
5991 fi | 6756 fi |
5992 done | 6757 done |
5993 done | 6758 done |
5994 IFS=$as_save_IFS | 6759 IFS=$as_save_IFS |
5995 | 6760 |
5996 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 6761 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
5997 ;; | 6762 ;; |
5998 esac | 6763 esac |
5999 fi | 6764 fi |
6000 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 6765 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
6001 if test -n "$PKG_CONFIG"; then | 6766 if test -n "$PKG_CONFIG"; then |
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 6767 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
6003 $as_echo "$PKG_CONFIG" >&6; } | 6768 $as_echo "$PKG_CONFIG" >&6; } |
6004 else | 6769 else |
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6770 { $as_echo "$as_me:$LINENO: result: no" >&5 |
6006 $as_echo "no" >&6; } | 6771 $as_echo "no" >&6; } |
6007 fi | 6772 fi |
6008 | 6773 |
6009 | 6774 |
6010 | 6775 |
6011 if test "$PKG_CONFIG" = "no" ; then | 6776 if test "$PKG_CONFIG" = "no" ; then |
6012 HAVE_ALSA=no | 6777 HAVE_ALSA=no |
6013 else | 6778 else |
6014 PKG_CONFIG_MIN_VERSION=0.9.0 | 6779 PKG_CONFIG_MIN_VERSION=0.9.0 |
6015 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 6780 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 | 6781 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 |
6017 $as_echo_n "checking for $ALSA_MODULES... " >&6; } | 6782 $as_echo_n "checking for $ALSA_MODULES... " >&6; } |
6018 | 6783 |
6019 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 6784 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6785 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
6021 $as_echo "yes" >&6; } | 6786 $as_echo "yes" >&6; } |
6022 succeeded=yes | 6787 succeeded=yes |
6023 | 6788 |
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 | 6789 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 |
6025 $as_echo_n "checking ALSA_CFLAGS... " >&6; } | 6790 $as_echo_n "checking ALSA_CFLAGS... " >&6; } |
6026 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6791 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 | 6792 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 |
6028 $as_echo "$ALSA_CFLAGS" >&6; } | 6793 $as_echo "$ALSA_CFLAGS" >&6; } |
6029 | 6794 |
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 | 6795 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 |
6031 $as_echo_n "checking ALSA_LIBS... " >&6; } | 6796 $as_echo_n "checking ALSA_LIBS... " >&6; } |
6032 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6797 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 | 6798 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 |
6034 $as_echo "$ALSA_LIBS" >&6; } | 6799 $as_echo "$ALSA_LIBS" >&6; } |
6035 else | 6800 else |
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6801 { $as_echo "$as_me:$LINENO: result: no" >&5 |
6037 $as_echo "no" >&6; } | 6802 $as_echo "no" >&6; } |
6038 ALSA_CFLAGS="" | 6803 ALSA_CFLAGS="" |
6039 ALSA_LIBS="" | 6804 ALSA_LIBS="" |
6040 ## If we have a custom action on failure, don't print errors, but | 6805 ## If we have a custom action on failure, don't print errors, but |
6041 ## do set a variable so people can do so. | 6806 ## do set a variable so people can do so. |
6060 if test $HAVE_ALSA = yes; then | 6825 if test $HAVE_ALSA = yes; then |
6061 SAVE_CFLAGS="$CFLAGS" | 6826 SAVE_CFLAGS="$CFLAGS" |
6062 SAVE_LDFLAGS="$LDFLAGS" | 6827 SAVE_LDFLAGS="$LDFLAGS" |
6063 CFLAGS="$ALSA_CFLAGS $CFLAGS" | 6828 CFLAGS="$ALSA_CFLAGS $CFLAGS" |
6064 LDFLAGS="$ALSA_LIBS $LDFLAGS" | 6829 LDFLAGS="$ALSA_LIBS $LDFLAGS" |
6065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6830 cat >conftest.$ac_ext <<_ACEOF |
6831 /* confdefs.h. */ | |
6832 _ACEOF | |
6833 cat confdefs.h >>conftest.$ac_ext | |
6834 cat >>conftest.$ac_ext <<_ACEOF | |
6066 /* end confdefs.h. */ | 6835 /* end confdefs.h. */ |
6067 #include <asoundlib.h> | 6836 #include <asoundlib.h> |
6068 int | 6837 int |
6069 main () | 6838 main () |
6070 { | 6839 { |
6071 snd_lib_error_set_handler (0); | 6840 snd_lib_error_set_handler (0); |
6072 ; | 6841 ; |
6073 return 0; | 6842 return 0; |
6074 } | 6843 } |
6075 _ACEOF | 6844 _ACEOF |
6076 if ac_fn_c_try_compile "$LINENO"; then : | 6845 rm -f conftest.$ac_objext |
6846 if { (ac_try="$ac_compile" | |
6847 case "(($ac_try" in | |
6848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6849 *) ac_try_echo=$ac_try;; | |
6850 esac | |
6851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6852 $as_echo "$ac_try_echo") >&5 | |
6853 (eval "$ac_compile") 2>conftest.er1 | |
6854 ac_status=$? | |
6855 grep -v '^ *+' conftest.er1 >conftest.err | |
6856 rm -f conftest.er1 | |
6857 cat conftest.err >&5 | |
6858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6859 (exit $ac_status); } && { | |
6860 test -z "$ac_c_werror_flag" || | |
6861 test ! -s conftest.err | |
6862 } && test -s conftest.$ac_objext; then | |
6077 emacs_alsa_normal=yes | 6863 emacs_alsa_normal=yes |
6078 else | 6864 else |
6079 emacs_alsa_normal=no | 6865 $as_echo "$as_me: failed program was:" >&5 |
6080 fi | 6866 sed 's/^/| /' conftest.$ac_ext >&5 |
6867 | |
6868 emacs_alsa_normal=no | |
6869 fi | |
6870 | |
6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6082 if test "$emacs_alsa_normal" != yes; then | 6872 if test "$emacs_alsa_normal" != yes; then |
6083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6873 cat >conftest.$ac_ext <<_ACEOF |
6874 /* confdefs.h. */ | |
6875 _ACEOF | |
6876 cat confdefs.h >>conftest.$ac_ext | |
6877 cat >>conftest.$ac_ext <<_ACEOF | |
6084 /* end confdefs.h. */ | 6878 /* end confdefs.h. */ |
6085 #include <alsa/asoundlib.h> | 6879 #include <alsa/asoundlib.h> |
6086 int | 6880 int |
6087 main () | 6881 main () |
6088 { | 6882 { |
6089 snd_lib_error_set_handler (0); | 6883 snd_lib_error_set_handler (0); |
6090 ; | 6884 ; |
6091 return 0; | 6885 return 0; |
6092 } | 6886 } |
6093 _ACEOF | 6887 _ACEOF |
6094 if ac_fn_c_try_compile "$LINENO"; then : | 6888 rm -f conftest.$ac_objext |
6889 if { (ac_try="$ac_compile" | |
6890 case "(($ac_try" in | |
6891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6892 *) ac_try_echo=$ac_try;; | |
6893 esac | |
6894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6895 $as_echo "$ac_try_echo") >&5 | |
6896 (eval "$ac_compile") 2>conftest.er1 | |
6897 ac_status=$? | |
6898 grep -v '^ *+' conftest.er1 >conftest.err | |
6899 rm -f conftest.er1 | |
6900 cat conftest.err >&5 | |
6901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6902 (exit $ac_status); } && { | |
6903 test -z "$ac_c_werror_flag" || | |
6904 test ! -s conftest.err | |
6905 } && test -s conftest.$ac_objext; then | |
6095 emacs_alsa_subdir=yes | 6906 emacs_alsa_subdir=yes |
6096 else | 6907 else |
6097 emacs_alsa_subdir=no | 6908 $as_echo "$as_me: failed program was:" >&5 |
6098 fi | 6909 sed 's/^/| /' conftest.$ac_ext >&5 |
6910 | |
6911 emacs_alsa_subdir=no | |
6912 fi | |
6913 | |
6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6100 if test "$emacs_alsa_subdir" != yes; then | 6915 if test "$emacs_alsa_subdir" != yes; then |
6101 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6916 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 |
6917 $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} | |
6918 { (exit 1); exit 1; }; } | |
6102 fi | 6919 fi |
6103 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6920 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
6104 fi | 6921 fi |
6105 | 6922 |
6106 CFLAGS="$SAVE_CFLAGS" | 6923 CFLAGS="$SAVE_CFLAGS" |
6107 LDFLAGS="$SAVE_LDFLAGS" | 6924 LDFLAGS="$SAVE_LDFLAGS" |
6108 LIBSOUND="$LIBSOUND $ALSA_LIBS" | 6925 LIBSOUND="$LIBSOUND $ALSA_LIBS" |
6109 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" | 6926 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
6110 | 6927 |
6111 $as_echo "#define HAVE_ALSA 1" >>confdefs.h | 6928 cat >>confdefs.h <<\_ACEOF |
6929 #define HAVE_ALSA 1 | |
6930 _ACEOF | |
6112 | 6931 |
6113 fi | 6932 fi |
6114 | 6933 |
6115 fi | 6934 fi |
6935 | |
6936 | |
6937 | |
6938 | |
6939 | |
6940 | |
6941 | |
6942 | |
6943 | |
6944 | |
6945 | |
6946 | |
6947 | |
6948 | |
6949 | |
6950 | |
6951 | |
6952 | |
6953 | |
6954 | |
6955 | |
6956 | |
6957 | |
6958 | |
6959 | |
6116 | 6960 |
6117 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 6961 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
6118 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 6962 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
6119 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 6963 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
6120 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6964 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6121 sys/utsname.h pwd.h utmp.h | 6965 sys/utsname.h pwd.h utmp.h |
6122 do : | 6966 do |
6123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6967 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6124 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6125 eval as_val=\$$as_ac_Header | 6969 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6126 if test "x$as_val" = x""yes; then : | 6970 $as_echo_n "checking for $ac_header... " >&6; } |
6971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6972 $as_echo_n "(cached) " >&6 | |
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 else | |
6979 # Is the header compilable? | |
6980 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
6981 $as_echo_n "checking $ac_header usability... " >&6; } | |
6982 cat >conftest.$ac_ext <<_ACEOF | |
6983 /* confdefs.h. */ | |
6984 _ACEOF | |
6985 cat confdefs.h >>conftest.$ac_ext | |
6986 cat >>conftest.$ac_ext <<_ACEOF | |
6987 /* end confdefs.h. */ | |
6988 $ac_includes_default | |
6989 #include <$ac_header> | |
6990 _ACEOF | |
6991 rm -f conftest.$ac_objext | |
6992 if { (ac_try="$ac_compile" | |
6993 case "(($ac_try" in | |
6994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6995 *) ac_try_echo=$ac_try;; | |
6996 esac | |
6997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
6998 $as_echo "$ac_try_echo") >&5 | |
6999 (eval "$ac_compile") 2>conftest.er1 | |
7000 ac_status=$? | |
7001 grep -v '^ *+' conftest.er1 >conftest.err | |
7002 rm -f conftest.er1 | |
7003 cat conftest.err >&5 | |
7004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7005 (exit $ac_status); } && { | |
7006 test -z "$ac_c_werror_flag" || | |
7007 test ! -s conftest.err | |
7008 } && test -s conftest.$ac_objext; then | |
7009 ac_header_compiler=yes | |
7010 else | |
7011 $as_echo "$as_me: failed program was:" >&5 | |
7012 sed 's/^/| /' conftest.$ac_ext >&5 | |
7013 | |
7014 ac_header_compiler=no | |
7015 fi | |
7016 | |
7017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7018 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
7019 $as_echo "$ac_header_compiler" >&6; } | |
7020 | |
7021 # Is the header present? | |
7022 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
7023 $as_echo_n "checking $ac_header presence... " >&6; } | |
7024 cat >conftest.$ac_ext <<_ACEOF | |
7025 /* confdefs.h. */ | |
7026 _ACEOF | |
7027 cat confdefs.h >>conftest.$ac_ext | |
7028 cat >>conftest.$ac_ext <<_ACEOF | |
7029 /* end confdefs.h. */ | |
7030 #include <$ac_header> | |
7031 _ACEOF | |
7032 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
7033 case "(($ac_try" in | |
7034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7035 *) ac_try_echo=$ac_try;; | |
7036 esac | |
7037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7038 $as_echo "$ac_try_echo") >&5 | |
7039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
7040 ac_status=$? | |
7041 grep -v '^ *+' conftest.er1 >conftest.err | |
7042 rm -f conftest.er1 | |
7043 cat conftest.err >&5 | |
7044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7045 (exit $ac_status); } >/dev/null && { | |
7046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
7047 test ! -s conftest.err | |
7048 }; then | |
7049 ac_header_preproc=yes | |
7050 else | |
7051 $as_echo "$as_me: failed program was:" >&5 | |
7052 sed 's/^/| /' conftest.$ac_ext >&5 | |
7053 | |
7054 ac_header_preproc=no | |
7055 fi | |
7056 | |
7057 rm -f conftest.err conftest.$ac_ext | |
7058 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
7059 $as_echo "$ac_header_preproc" >&6; } | |
7060 | |
7061 # So? What about this header? | |
7062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
7063 yes:no: ) | |
7064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
7065 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
7066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
7067 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
7068 ac_header_preproc=yes | |
7069 ;; | |
7070 no:yes:* ) | |
7071 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
7072 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
7073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
7074 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
7075 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
7076 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
7077 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
7078 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
7079 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
7080 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
7081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
7082 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
7083 | |
7084 ;; | |
7085 esac | |
7086 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7087 $as_echo_n "checking for $ac_header... " >&6; } | |
7088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7089 $as_echo_n "(cached) " >&6 | |
7090 else | |
7091 eval "$as_ac_Header=\$ac_header_preproc" | |
7092 fi | |
7093 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
7094 $as_echo "$as_val"'` | |
7095 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7096 $as_echo "$ac_res" >&6; } | |
7097 | |
7098 fi | |
7099 if test `eval 'as_val=${'$as_ac_Header'} | |
7100 $as_echo "$as_val"'` = yes; then | |
6127 cat >>confdefs.h <<_ACEOF | 7101 cat >>confdefs.h <<_ACEOF |
6128 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7102 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6129 _ACEOF | 7103 _ACEOF |
6130 | 7104 |
6131 fi | 7105 fi |
6132 | 7106 |
6133 done | 7107 done |
6134 | 7108 |
6135 | 7109 |
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 | 7110 { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 |
6137 $as_echo_n "checking if personality LINUX32 can be set... " >&6; } | 7111 $as_echo_n "checking if personality LINUX32 can be set... " >&6; } |
6138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7112 cat >conftest.$ac_ext <<_ACEOF |
7113 /* confdefs.h. */ | |
7114 _ACEOF | |
7115 cat confdefs.h >>conftest.$ac_ext | |
7116 cat >>conftest.$ac_ext <<_ACEOF | |
6139 /* end confdefs.h. */ | 7117 /* end confdefs.h. */ |
6140 #include <sys/personality.h> | 7118 #include <sys/personality.h> |
6141 int | 7119 int |
6142 main () | 7120 main () |
6143 { | 7121 { |
6144 personality (PER_LINUX32) | 7122 personality (PER_LINUX32) |
6145 ; | 7123 ; |
6146 return 0; | 7124 return 0; |
6147 } | 7125 } |
6148 _ACEOF | 7126 _ACEOF |
6149 if ac_fn_c_try_compile "$LINENO"; then : | 7127 rm -f conftest.$ac_objext |
7128 if { (ac_try="$ac_compile" | |
7129 case "(($ac_try" in | |
7130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7131 *) ac_try_echo=$ac_try;; | |
7132 esac | |
7133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7134 $as_echo "$ac_try_echo") >&5 | |
7135 (eval "$ac_compile") 2>conftest.er1 | |
7136 ac_status=$? | |
7137 grep -v '^ *+' conftest.er1 >conftest.err | |
7138 rm -f conftest.er1 | |
7139 cat conftest.err >&5 | |
7140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7141 (exit $ac_status); } && { | |
7142 test -z "$ac_c_werror_flag" || | |
7143 test ! -s conftest.err | |
7144 } && test -s conftest.$ac_objext; then | |
6150 emacs_cv_personality_linux32=yes | 7145 emacs_cv_personality_linux32=yes |
6151 else | 7146 else |
6152 emacs_cv_personality_linux32=no | 7147 $as_echo "$as_me: failed program was:" >&5 |
6153 fi | 7148 sed 's/^/| /' conftest.$ac_ext >&5 |
7149 | |
7150 emacs_cv_personality_linux32=no | |
7151 fi | |
7152 | |
6154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5 | 7154 { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 |
6156 $as_echo "$emacs_cv_personality_linux32" >&6; } | 7155 $as_echo "$emacs_cv_personality_linux32" >&6; } |
6157 | 7156 |
6158 if test $emacs_cv_personality_linux32 = yes; then | 7157 if test $emacs_cv_personality_linux32 = yes; then |
6159 | 7158 |
6160 $as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h | 7159 cat >>confdefs.h <<\_ACEOF |
6161 | 7160 #define HAVE_PERSONALITY_LINUX32 1 |
6162 fi | 7161 _ACEOF |
7162 | |
7163 fi | |
7164 | |
6163 | 7165 |
6164 for ac_header in term.h | 7166 for ac_header in term.h |
6165 do : | 7167 do |
6166 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" | 7168 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6167 if test "x$ac_cv_header_term_h" = x""yes; then : | 7169 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7170 $as_echo_n "checking for $ac_header... " >&6; } | |
7171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7172 $as_echo_n "(cached) " >&6 | |
7173 else | |
7174 cat >conftest.$ac_ext <<_ACEOF | |
7175 /* confdefs.h. */ | |
7176 _ACEOF | |
7177 cat confdefs.h >>conftest.$ac_ext | |
7178 cat >>conftest.$ac_ext <<_ACEOF | |
7179 /* end confdefs.h. */ | |
7180 #include <$ac_header> | |
7181 _ACEOF | |
7182 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
7183 case "(($ac_try" in | |
7184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7185 *) ac_try_echo=$ac_try;; | |
7186 esac | |
7187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7188 $as_echo "$ac_try_echo") >&5 | |
7189 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
7190 ac_status=$? | |
7191 grep -v '^ *+' conftest.er1 >conftest.err | |
7192 rm -f conftest.er1 | |
7193 cat conftest.err >&5 | |
7194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7195 (exit $ac_status); } >/dev/null && { | |
7196 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
7197 test ! -s conftest.err | |
7198 }; then | |
7199 eval "$as_ac_Header=yes" | |
7200 else | |
7201 $as_echo "$as_me: failed program was:" >&5 | |
7202 sed 's/^/| /' conftest.$ac_ext >&5 | |
7203 | |
7204 eval "$as_ac_Header=no" | |
7205 fi | |
7206 | |
7207 rm -f conftest.err conftest.$ac_ext | |
7208 fi | |
7209 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
7210 $as_echo "$as_val"'` | |
7211 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7212 $as_echo "$ac_res" >&6; } | |
7213 if test `eval 'as_val=${'$as_ac_Header'} | |
7214 $as_echo "$as_val"'` = yes; then | |
6168 cat >>confdefs.h <<_ACEOF | 7215 cat >>confdefs.h <<_ACEOF |
6169 #define HAVE_TERM_H 1 | 7216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6170 _ACEOF | 7217 _ACEOF |
6171 | 7218 |
6172 fi | 7219 fi |
6173 | 7220 |
6174 done | 7221 done |
6175 | 7222 |
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 7223 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
6177 $as_echo_n "checking for ANSI C header files... " >&6; } | 7224 $as_echo_n "checking for ANSI C header files... " >&6; } |
6178 if test "${ac_cv_header_stdc+set}" = set; then : | 7225 if test "${ac_cv_header_stdc+set}" = set; then |
6179 $as_echo_n "(cached) " >&6 | 7226 $as_echo_n "(cached) " >&6 |
6180 else | 7227 else |
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7228 cat >conftest.$ac_ext <<_ACEOF |
7229 /* confdefs.h. */ | |
7230 _ACEOF | |
7231 cat confdefs.h >>conftest.$ac_ext | |
7232 cat >>conftest.$ac_ext <<_ACEOF | |
6182 /* end confdefs.h. */ | 7233 /* end confdefs.h. */ |
6183 #include <stdlib.h> | 7234 #include <stdlib.h> |
6184 #include <stdarg.h> | 7235 #include <stdarg.h> |
6185 #include <string.h> | 7236 #include <string.h> |
6186 #include <float.h> | 7237 #include <float.h> |
6191 | 7242 |
6192 ; | 7243 ; |
6193 return 0; | 7244 return 0; |
6194 } | 7245 } |
6195 _ACEOF | 7246 _ACEOF |
6196 if ac_fn_c_try_compile "$LINENO"; then : | 7247 rm -f conftest.$ac_objext |
7248 if { (ac_try="$ac_compile" | |
7249 case "(($ac_try" in | |
7250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7251 *) ac_try_echo=$ac_try;; | |
7252 esac | |
7253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7254 $as_echo "$ac_try_echo") >&5 | |
7255 (eval "$ac_compile") 2>conftest.er1 | |
7256 ac_status=$? | |
7257 grep -v '^ *+' conftest.er1 >conftest.err | |
7258 rm -f conftest.er1 | |
7259 cat conftest.err >&5 | |
7260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7261 (exit $ac_status); } && { | |
7262 test -z "$ac_c_werror_flag" || | |
7263 test ! -s conftest.err | |
7264 } && test -s conftest.$ac_objext; then | |
6197 ac_cv_header_stdc=yes | 7265 ac_cv_header_stdc=yes |
6198 else | 7266 else |
6199 ac_cv_header_stdc=no | 7267 $as_echo "$as_me: failed program was:" >&5 |
6200 fi | 7268 sed 's/^/| /' conftest.$ac_ext >&5 |
7269 | |
7270 ac_cv_header_stdc=no | |
7271 fi | |
7272 | |
6201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6202 | 7274 |
6203 if test $ac_cv_header_stdc = yes; then | 7275 if test $ac_cv_header_stdc = yes; then |
6204 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 7276 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7277 cat >conftest.$ac_ext <<_ACEOF |
7278 /* confdefs.h. */ | |
7279 _ACEOF | |
7280 cat confdefs.h >>conftest.$ac_ext | |
7281 cat >>conftest.$ac_ext <<_ACEOF | |
6206 /* end confdefs.h. */ | 7282 /* end confdefs.h. */ |
6207 #include <string.h> | 7283 #include <string.h> |
6208 | 7284 |
6209 _ACEOF | 7285 _ACEOF |
6210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6211 $EGREP "memchr" >/dev/null 2>&1; then : | 7287 $EGREP "memchr" >/dev/null 2>&1; then |
6212 | 7288 : |
6213 else | 7289 else |
6214 ac_cv_header_stdc=no | 7290 ac_cv_header_stdc=no |
6215 fi | 7291 fi |
6216 rm -f conftest* | 7292 rm -f conftest* |
6217 | 7293 |
6218 fi | 7294 fi |
6219 | 7295 |
6220 if test $ac_cv_header_stdc = yes; then | 7296 if test $ac_cv_header_stdc = yes; then |
6221 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 7297 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
6222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7298 cat >conftest.$ac_ext <<_ACEOF |
7299 /* confdefs.h. */ | |
7300 _ACEOF | |
7301 cat confdefs.h >>conftest.$ac_ext | |
7302 cat >>conftest.$ac_ext <<_ACEOF | |
6223 /* end confdefs.h. */ | 7303 /* end confdefs.h. */ |
6224 #include <stdlib.h> | 7304 #include <stdlib.h> |
6225 | 7305 |
6226 _ACEOF | 7306 _ACEOF |
6227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6228 $EGREP "free" >/dev/null 2>&1; then : | 7308 $EGREP "free" >/dev/null 2>&1; then |
6229 | 7309 : |
6230 else | 7310 else |
6231 ac_cv_header_stdc=no | 7311 ac_cv_header_stdc=no |
6232 fi | 7312 fi |
6233 rm -f conftest* | 7313 rm -f conftest* |
6234 | 7314 |
6235 fi | 7315 fi |
6236 | 7316 |
6237 if test $ac_cv_header_stdc = yes; then | 7317 if test $ac_cv_header_stdc = yes; then |
6238 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 7318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6239 if test "$cross_compiling" = yes; then : | 7319 if test "$cross_compiling" = yes; then |
6240 : | 7320 : |
6241 else | 7321 else |
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7322 cat >conftest.$ac_ext <<_ACEOF |
7323 /* confdefs.h. */ | |
7324 _ACEOF | |
7325 cat confdefs.h >>conftest.$ac_ext | |
7326 cat >>conftest.$ac_ext <<_ACEOF | |
6243 /* end confdefs.h. */ | 7327 /* end confdefs.h. */ |
6244 #include <ctype.h> | 7328 #include <ctype.h> |
6245 #include <stdlib.h> | 7329 #include <stdlib.h> |
6246 #if ((' ' & 0x0FF) == 0x020) | 7330 #if ((' ' & 0x0FF) == 0x020) |
6247 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 7331 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6264 || toupper (i) != TOUPPER (i)) | 7348 || toupper (i) != TOUPPER (i)) |
6265 return 2; | 7349 return 2; |
6266 return 0; | 7350 return 0; |
6267 } | 7351 } |
6268 _ACEOF | 7352 _ACEOF |
6269 if ac_fn_c_try_run "$LINENO"; then : | 7353 rm -f conftest$ac_exeext |
6270 | 7354 if { (ac_try="$ac_link" |
6271 else | 7355 case "(($ac_try" in |
6272 ac_cv_header_stdc=no | 7356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6273 fi | 7357 *) ac_try_echo=$ac_try;; |
6274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 7358 esac |
6275 conftest.$ac_objext conftest.beam conftest.$ac_ext | 7359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6276 fi | 7360 $as_echo "$ac_try_echo") >&5 |
6277 | 7361 (eval "$ac_link") 2>&5 |
6278 fi | 7362 ac_status=$? |
6279 fi | 7363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 7364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7365 { (case "(($ac_try" in | |
7366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7367 *) ac_try_echo=$ac_try;; | |
7368 esac | |
7369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7370 $as_echo "$ac_try_echo") >&5 | |
7371 (eval "$ac_try") 2>&5 | |
7372 ac_status=$? | |
7373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7374 (exit $ac_status); }; }; then | |
7375 : | |
7376 else | |
7377 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
7378 $as_echo "$as_me: failed program was:" >&5 | |
7379 sed 's/^/| /' conftest.$ac_ext >&5 | |
7380 | |
7381 ( exit $ac_status ) | |
7382 ac_cv_header_stdc=no | |
7383 fi | |
7384 rm -rf conftest.dSYM | |
7385 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
7386 fi | |
7387 | |
7388 | |
7389 fi | |
7390 fi | |
7391 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
6281 $as_echo "$ac_cv_header_stdc" >&6; } | 7392 $as_echo "$ac_cv_header_stdc" >&6; } |
6282 if test $ac_cv_header_stdc = yes; then | 7393 if test $ac_cv_header_stdc = yes; then |
6283 | 7394 |
6284 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 7395 cat >>confdefs.h <<\_ACEOF |
6285 | 7396 #define STDC_HEADERS 1 |
6286 fi | 7397 _ACEOF |
6287 | 7398 |
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 | 7399 fi |
7400 | |
7401 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | |
6289 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | 7402 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
6290 if test "${ac_cv_header_time+set}" = set; then : | 7403 if test "${ac_cv_header_time+set}" = set; then |
6291 $as_echo_n "(cached) " >&6 | 7404 $as_echo_n "(cached) " >&6 |
6292 else | 7405 else |
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7406 cat >conftest.$ac_ext <<_ACEOF |
7407 /* confdefs.h. */ | |
7408 _ACEOF | |
7409 cat confdefs.h >>conftest.$ac_ext | |
7410 cat >>conftest.$ac_ext <<_ACEOF | |
6294 /* end confdefs.h. */ | 7411 /* end confdefs.h. */ |
6295 #include <sys/types.h> | 7412 #include <sys/types.h> |
6296 #include <sys/time.h> | 7413 #include <sys/time.h> |
6297 #include <time.h> | 7414 #include <time.h> |
6298 | 7415 |
6303 return 0; | 7420 return 0; |
6304 ; | 7421 ; |
6305 return 0; | 7422 return 0; |
6306 } | 7423 } |
6307 _ACEOF | 7424 _ACEOF |
6308 if ac_fn_c_try_compile "$LINENO"; then : | 7425 rm -f conftest.$ac_objext |
7426 if { (ac_try="$ac_compile" | |
7427 case "(($ac_try" in | |
7428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7429 *) ac_try_echo=$ac_try;; | |
7430 esac | |
7431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7432 $as_echo "$ac_try_echo") >&5 | |
7433 (eval "$ac_compile") 2>conftest.er1 | |
7434 ac_status=$? | |
7435 grep -v '^ *+' conftest.er1 >conftest.err | |
7436 rm -f conftest.er1 | |
7437 cat conftest.err >&5 | |
7438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7439 (exit $ac_status); } && { | |
7440 test -z "$ac_c_werror_flag" || | |
7441 test ! -s conftest.err | |
7442 } && test -s conftest.$ac_objext; then | |
6309 ac_cv_header_time=yes | 7443 ac_cv_header_time=yes |
6310 else | 7444 else |
6311 ac_cv_header_time=no | 7445 $as_echo "$as_me: failed program was:" >&5 |
6312 fi | 7446 sed 's/^/| /' conftest.$ac_ext >&5 |
7447 | |
7448 ac_cv_header_time=no | |
7449 fi | |
7450 | |
6313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6314 fi | 7452 fi |
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 | 7453 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
6316 $as_echo "$ac_cv_header_time" >&6; } | 7454 $as_echo "$ac_cv_header_time" >&6; } |
6317 if test $ac_cv_header_time = yes; then | 7455 if test $ac_cv_header_time = yes; then |
6318 | 7456 |
6319 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h | 7457 cat >>confdefs.h <<\_ACEOF |
6320 | 7458 #define TIME_WITH_SYS_TIME 1 |
6321 fi | 7459 _ACEOF |
6322 | 7460 |
6323 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" | 7461 fi |
6324 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : | 7462 |
6325 ac_have_decl=1 | 7463 { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 |
6326 else | 7464 $as_echo_n "checking whether sys_siglist is declared... " >&6; } |
6327 ac_have_decl=0 | 7465 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then |
6328 fi | 7466 $as_echo_n "(cached) " >&6 |
7467 else | |
7468 cat >conftest.$ac_ext <<_ACEOF | |
7469 /* confdefs.h. */ | |
7470 _ACEOF | |
7471 cat confdefs.h >>conftest.$ac_ext | |
7472 cat >>conftest.$ac_ext <<_ACEOF | |
7473 /* end confdefs.h. */ | |
7474 $ac_includes_default | |
7475 int | |
7476 main () | |
7477 { | |
7478 #ifndef sys_siglist | |
7479 (void) sys_siglist; | |
7480 #endif | |
7481 | |
7482 ; | |
7483 return 0; | |
7484 } | |
7485 _ACEOF | |
7486 rm -f conftest.$ac_objext | |
7487 if { (ac_try="$ac_compile" | |
7488 case "(($ac_try" in | |
7489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7490 *) ac_try_echo=$ac_try;; | |
7491 esac | |
7492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7493 $as_echo "$ac_try_echo") >&5 | |
7494 (eval "$ac_compile") 2>conftest.er1 | |
7495 ac_status=$? | |
7496 grep -v '^ *+' conftest.er1 >conftest.err | |
7497 rm -f conftest.er1 | |
7498 cat conftest.err >&5 | |
7499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7500 (exit $ac_status); } && { | |
7501 test -z "$ac_c_werror_flag" || | |
7502 test ! -s conftest.err | |
7503 } && test -s conftest.$ac_objext; then | |
7504 ac_cv_have_decl_sys_siglist=yes | |
7505 else | |
7506 $as_echo "$as_me: failed program was:" >&5 | |
7507 sed 's/^/| /' conftest.$ac_ext >&5 | |
7508 | |
7509 ac_cv_have_decl_sys_siglist=no | |
7510 fi | |
7511 | |
7512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7513 fi | |
7514 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 | |
7515 $as_echo "$ac_cv_have_decl_sys_siglist" >&6; } | |
7516 if test $ac_cv_have_decl_sys_siglist = yes; then | |
6329 | 7517 |
6330 cat >>confdefs.h <<_ACEOF | 7518 cat >>confdefs.h <<_ACEOF |
6331 #define HAVE_DECL_SYS_SIGLIST $ac_have_decl | 7519 #define HAVE_DECL_SYS_SIGLIST 1 |
6332 _ACEOF | 7520 _ACEOF |
7521 | |
7522 | |
7523 else | |
7524 cat >>confdefs.h <<_ACEOF | |
7525 #define HAVE_DECL_SYS_SIGLIST 0 | |
7526 _ACEOF | |
7527 | |
7528 | |
7529 fi | |
7530 | |
6333 | 7531 |
6334 if test $ac_cv_have_decl_sys_siglist != yes; then | 7532 if test $ac_cv_have_decl_sys_siglist != yes; then |
6335 # For Tru64, at least: | 7533 # For Tru64, at least: |
6336 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" | 7534 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 |
6337 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : | 7535 $as_echo_n "checking whether __sys_siglist is declared... " >&6; } |
6338 ac_have_decl=1 | 7536 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then |
6339 else | 7537 $as_echo_n "(cached) " >&6 |
6340 ac_have_decl=0 | 7538 else |
6341 fi | 7539 cat >conftest.$ac_ext <<_ACEOF |
7540 /* confdefs.h. */ | |
7541 _ACEOF | |
7542 cat confdefs.h >>conftest.$ac_ext | |
7543 cat >>conftest.$ac_ext <<_ACEOF | |
7544 /* end confdefs.h. */ | |
7545 $ac_includes_default | |
7546 int | |
7547 main () | |
7548 { | |
7549 #ifndef __sys_siglist | |
7550 (void) __sys_siglist; | |
7551 #endif | |
7552 | |
7553 ; | |
7554 return 0; | |
7555 } | |
7556 _ACEOF | |
7557 rm -f conftest.$ac_objext | |
7558 if { (ac_try="$ac_compile" | |
7559 case "(($ac_try" in | |
7560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7561 *) ac_try_echo=$ac_try;; | |
7562 esac | |
7563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7564 $as_echo "$ac_try_echo") >&5 | |
7565 (eval "$ac_compile") 2>conftest.er1 | |
7566 ac_status=$? | |
7567 grep -v '^ *+' conftest.er1 >conftest.err | |
7568 rm -f conftest.er1 | |
7569 cat conftest.err >&5 | |
7570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7571 (exit $ac_status); } && { | |
7572 test -z "$ac_c_werror_flag" || | |
7573 test ! -s conftest.err | |
7574 } && test -s conftest.$ac_objext; then | |
7575 ac_cv_have_decl___sys_siglist=yes | |
7576 else | |
7577 $as_echo "$as_me: failed program was:" >&5 | |
7578 sed 's/^/| /' conftest.$ac_ext >&5 | |
7579 | |
7580 ac_cv_have_decl___sys_siglist=no | |
7581 fi | |
7582 | |
7583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7584 fi | |
7585 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 | |
7586 $as_echo "$ac_cv_have_decl___sys_siglist" >&6; } | |
7587 if test $ac_cv_have_decl___sys_siglist = yes; then | |
6342 | 7588 |
6343 cat >>confdefs.h <<_ACEOF | 7589 cat >>confdefs.h <<_ACEOF |
6344 #define HAVE_DECL___SYS_SIGLIST $ac_have_decl | 7590 #define HAVE_DECL___SYS_SIGLIST 1 |
6345 _ACEOF | 7591 _ACEOF |
7592 | |
7593 | |
7594 else | |
7595 cat >>confdefs.h <<_ACEOF | |
7596 #define HAVE_DECL___SYS_SIGLIST 0 | |
7597 _ACEOF | |
7598 | |
7599 | |
7600 fi | |
7601 | |
6346 | 7602 |
6347 if test $ac_cv_have_decl___sys_siglist = yes; then | 7603 if test $ac_cv_have_decl___sys_siglist = yes; then |
6348 | 7604 |
6349 $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h | 7605 cat >>confdefs.h <<\_ACEOF |
7606 #define sys_siglist __sys_siglist | |
7607 _ACEOF | |
6350 | 7608 |
6351 fi | 7609 fi |
6352 fi | 7610 fi |
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 7611 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
6354 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } | 7612 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
6355 if test "${ac_cv_header_sys_wait_h+set}" = set; then : | 7613 if test "${ac_cv_header_sys_wait_h+set}" = set; then |
6356 $as_echo_n "(cached) " >&6 | 7614 $as_echo_n "(cached) " >&6 |
6357 else | 7615 else |
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7616 cat >conftest.$ac_ext <<_ACEOF |
7617 /* confdefs.h. */ | |
7618 _ACEOF | |
7619 cat confdefs.h >>conftest.$ac_ext | |
7620 cat >>conftest.$ac_ext <<_ACEOF | |
6359 /* end confdefs.h. */ | 7621 /* end confdefs.h. */ |
6360 #include <sys/types.h> | 7622 #include <sys/types.h> |
6361 #include <sys/wait.h> | 7623 #include <sys/wait.h> |
6362 #ifndef WEXITSTATUS | 7624 #ifndef WEXITSTATUS |
6363 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) | 7625 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
6374 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 7636 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
6375 ; | 7637 ; |
6376 return 0; | 7638 return 0; |
6377 } | 7639 } |
6378 _ACEOF | 7640 _ACEOF |
6379 if ac_fn_c_try_compile "$LINENO"; then : | 7641 rm -f conftest.$ac_objext |
7642 if { (ac_try="$ac_compile" | |
7643 case "(($ac_try" in | |
7644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7645 *) ac_try_echo=$ac_try;; | |
7646 esac | |
7647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7648 $as_echo "$ac_try_echo") >&5 | |
7649 (eval "$ac_compile") 2>conftest.er1 | |
7650 ac_status=$? | |
7651 grep -v '^ *+' conftest.er1 >conftest.err | |
7652 rm -f conftest.er1 | |
7653 cat conftest.err >&5 | |
7654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7655 (exit $ac_status); } && { | |
7656 test -z "$ac_c_werror_flag" || | |
7657 test ! -s conftest.err | |
7658 } && test -s conftest.$ac_objext; then | |
6380 ac_cv_header_sys_wait_h=yes | 7659 ac_cv_header_sys_wait_h=yes |
6381 else | 7660 else |
6382 ac_cv_header_sys_wait_h=no | 7661 $as_echo "$as_me: failed program was:" >&5 |
6383 fi | 7662 sed 's/^/| /' conftest.$ac_ext >&5 |
7663 | |
7664 ac_cv_header_sys_wait_h=no | |
7665 fi | |
7666 | |
6384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6385 fi | 7668 fi |
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 | 7669 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
6387 $as_echo "$ac_cv_header_sys_wait_h" >&6; } | 7670 $as_echo "$ac_cv_header_sys_wait_h" >&6; } |
6388 if test $ac_cv_header_sys_wait_h = yes; then | 7671 if test $ac_cv_header_sys_wait_h = yes; then |
6389 | 7672 |
6390 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h | 7673 cat >>confdefs.h <<\_ACEOF |
6391 | 7674 #define HAVE_SYS_WAIT_H 1 |
6392 fi | 7675 _ACEOF |
6393 | 7676 |
6394 | 7677 fi |
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 | 7678 |
7679 | |
7680 { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 | |
6396 $as_echo_n "checking for struct utimbuf... " >&6; } | 7681 $as_echo_n "checking for struct utimbuf... " >&6; } |
6397 if test "${emacs_cv_struct_utimbuf+set}" = set; then : | 7682 if test "${emacs_cv_struct_utimbuf+set}" = set; then |
6398 $as_echo_n "(cached) " >&6 | 7683 $as_echo_n "(cached) " >&6 |
6399 else | 7684 else |
6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7685 cat >conftest.$ac_ext <<_ACEOF |
7686 /* confdefs.h. */ | |
7687 _ACEOF | |
7688 cat confdefs.h >>conftest.$ac_ext | |
7689 cat >>conftest.$ac_ext <<_ACEOF | |
6401 /* end confdefs.h. */ | 7690 /* end confdefs.h. */ |
6402 #ifdef TIME_WITH_SYS_TIME | 7691 #ifdef TIME_WITH_SYS_TIME |
6403 #include <sys/time.h> | 7692 #include <sys/time.h> |
6404 #include <time.h> | 7693 #include <time.h> |
6405 #else | 7694 #else |
6418 static struct utimbuf x; x.actime = x.modtime; | 7707 static struct utimbuf x; x.actime = x.modtime; |
6419 ; | 7708 ; |
6420 return 0; | 7709 return 0; |
6421 } | 7710 } |
6422 _ACEOF | 7711 _ACEOF |
6423 if ac_fn_c_try_compile "$LINENO"; then : | 7712 rm -f conftest.$ac_objext |
7713 if { (ac_try="$ac_compile" | |
7714 case "(($ac_try" in | |
7715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7716 *) ac_try_echo=$ac_try;; | |
7717 esac | |
7718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7719 $as_echo "$ac_try_echo") >&5 | |
7720 (eval "$ac_compile") 2>conftest.er1 | |
7721 ac_status=$? | |
7722 grep -v '^ *+' conftest.er1 >conftest.err | |
7723 rm -f conftest.er1 | |
7724 cat conftest.err >&5 | |
7725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7726 (exit $ac_status); } && { | |
7727 test -z "$ac_c_werror_flag" || | |
7728 test ! -s conftest.err | |
7729 } && test -s conftest.$ac_objext; then | |
6424 emacs_cv_struct_utimbuf=yes | 7730 emacs_cv_struct_utimbuf=yes |
6425 else | 7731 else |
6426 emacs_cv_struct_utimbuf=no | 7732 $as_echo "$as_me: failed program was:" >&5 |
6427 fi | 7733 sed 's/^/| /' conftest.$ac_ext >&5 |
7734 | |
7735 emacs_cv_struct_utimbuf=no | |
7736 fi | |
7737 | |
6428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6429 fi | 7739 fi |
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5 | 7740 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 |
6431 $as_echo "$emacs_cv_struct_utimbuf" >&6; } | 7741 $as_echo "$emacs_cv_struct_utimbuf" >&6; } |
6432 if test $emacs_cv_struct_utimbuf = yes; then | 7742 if test $emacs_cv_struct_utimbuf = yes; then |
6433 | 7743 |
6434 $as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h | 7744 cat >>confdefs.h <<\_ACEOF |
6435 | 7745 #define HAVE_STRUCT_UTIMBUF 1 |
6436 fi | 7746 _ACEOF |
6437 | 7747 |
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 | 7748 fi |
7749 | |
7750 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | |
6439 $as_echo_n "checking return type of signal handlers... " >&6; } | 7751 $as_echo_n "checking return type of signal handlers... " >&6; } |
6440 if test "${ac_cv_type_signal+set}" = set; then : | 7752 if test "${ac_cv_type_signal+set}" = set; then |
6441 $as_echo_n "(cached) " >&6 | 7753 $as_echo_n "(cached) " >&6 |
6442 else | 7754 else |
6443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7755 cat >conftest.$ac_ext <<_ACEOF |
7756 /* confdefs.h. */ | |
7757 _ACEOF | |
7758 cat confdefs.h >>conftest.$ac_ext | |
7759 cat >>conftest.$ac_ext <<_ACEOF | |
6444 /* end confdefs.h. */ | 7760 /* end confdefs.h. */ |
6445 #include <sys/types.h> | 7761 #include <sys/types.h> |
6446 #include <signal.h> | 7762 #include <signal.h> |
6447 | 7763 |
6448 int | 7764 int |
6451 return *(signal (0, 0)) (0) == 1; | 7767 return *(signal (0, 0)) (0) == 1; |
6452 ; | 7768 ; |
6453 return 0; | 7769 return 0; |
6454 } | 7770 } |
6455 _ACEOF | 7771 _ACEOF |
6456 if ac_fn_c_try_compile "$LINENO"; then : | 7772 rm -f conftest.$ac_objext |
7773 if { (ac_try="$ac_compile" | |
7774 case "(($ac_try" in | |
7775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7776 *) ac_try_echo=$ac_try;; | |
7777 esac | |
7778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7779 $as_echo "$ac_try_echo") >&5 | |
7780 (eval "$ac_compile") 2>conftest.er1 | |
7781 ac_status=$? | |
7782 grep -v '^ *+' conftest.er1 >conftest.err | |
7783 rm -f conftest.er1 | |
7784 cat conftest.err >&5 | |
7785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7786 (exit $ac_status); } && { | |
7787 test -z "$ac_c_werror_flag" || | |
7788 test ! -s conftest.err | |
7789 } && test -s conftest.$ac_objext; then | |
6457 ac_cv_type_signal=int | 7790 ac_cv_type_signal=int |
6458 else | 7791 else |
6459 ac_cv_type_signal=void | 7792 $as_echo "$as_me: failed program was:" >&5 |
6460 fi | 7793 sed 's/^/| /' conftest.$ac_ext >&5 |
7794 | |
7795 ac_cv_type_signal=void | |
7796 fi | |
7797 | |
6461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6462 fi | 7799 fi |
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 | 7800 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
6464 $as_echo "$ac_cv_type_signal" >&6; } | 7801 $as_echo "$ac_cv_type_signal" >&6; } |
6465 | 7802 |
6466 cat >>confdefs.h <<_ACEOF | 7803 cat >>confdefs.h <<_ACEOF |
6467 #define RETSIGTYPE $ac_cv_type_signal | 7804 #define RETSIGTYPE $ac_cv_type_signal |
6468 _ACEOF | 7805 _ACEOF |
6469 | 7806 |
6470 | 7807 |
6471 | 7808 |
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 | 7809 { $as_echo "$as_me:$LINENO: checking for speed_t" >&5 |
6473 $as_echo_n "checking for speed_t... " >&6; } | 7810 $as_echo_n "checking for speed_t... " >&6; } |
6474 if test "${emacs_cv_speed_t+set}" = set; then : | 7811 if test "${emacs_cv_speed_t+set}" = set; then |
6475 $as_echo_n "(cached) " >&6 | 7812 $as_echo_n "(cached) " >&6 |
6476 else | 7813 else |
6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7814 cat >conftest.$ac_ext <<_ACEOF |
7815 /* confdefs.h. */ | |
7816 _ACEOF | |
7817 cat confdefs.h >>conftest.$ac_ext | |
7818 cat >>conftest.$ac_ext <<_ACEOF | |
6478 /* end confdefs.h. */ | 7819 /* end confdefs.h. */ |
6479 #include <termios.h> | 7820 #include <termios.h> |
6480 int | 7821 int |
6481 main () | 7822 main () |
6482 { | 7823 { |
6483 speed_t x = 1; | 7824 speed_t x = 1; |
6484 ; | 7825 ; |
6485 return 0; | 7826 return 0; |
6486 } | 7827 } |
6487 _ACEOF | 7828 _ACEOF |
6488 if ac_fn_c_try_compile "$LINENO"; then : | 7829 rm -f conftest.$ac_objext |
7830 if { (ac_try="$ac_compile" | |
7831 case "(($ac_try" in | |
7832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7833 *) ac_try_echo=$ac_try;; | |
7834 esac | |
7835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7836 $as_echo "$ac_try_echo") >&5 | |
7837 (eval "$ac_compile") 2>conftest.er1 | |
7838 ac_status=$? | |
7839 grep -v '^ *+' conftest.er1 >conftest.err | |
7840 rm -f conftest.er1 | |
7841 cat conftest.err >&5 | |
7842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7843 (exit $ac_status); } && { | |
7844 test -z "$ac_c_werror_flag" || | |
7845 test ! -s conftest.err | |
7846 } && test -s conftest.$ac_objext; then | |
6489 emacs_cv_speed_t=yes | 7847 emacs_cv_speed_t=yes |
6490 else | 7848 else |
6491 emacs_cv_speed_t=no | 7849 $as_echo "$as_me: failed program was:" >&5 |
6492 fi | 7850 sed 's/^/| /' conftest.$ac_ext >&5 |
7851 | |
7852 emacs_cv_speed_t=no | |
7853 fi | |
7854 | |
6493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6494 fi | 7856 fi |
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5 | 7857 { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 |
6496 $as_echo "$emacs_cv_speed_t" >&6; } | 7858 $as_echo "$emacs_cv_speed_t" >&6; } |
6497 if test $emacs_cv_speed_t = yes; then | 7859 if test $emacs_cv_speed_t = yes; then |
6498 | 7860 |
6499 $as_echo "#define HAVE_SPEED_T 1" >>confdefs.h | 7861 cat >>confdefs.h <<\_ACEOF |
6500 | 7862 #define HAVE_SPEED_T 1 |
6501 fi | 7863 _ACEOF |
6502 | 7864 |
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 | 7865 fi |
7866 | |
7867 { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 | |
6504 $as_echo_n "checking for struct timeval... " >&6; } | 7868 $as_echo_n "checking for struct timeval... " >&6; } |
6505 if test "${emacs_cv_struct_timeval+set}" = set; then : | 7869 if test "${emacs_cv_struct_timeval+set}" = set; then |
6506 $as_echo_n "(cached) " >&6 | 7870 $as_echo_n "(cached) " >&6 |
6507 else | 7871 else |
6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7872 cat >conftest.$ac_ext <<_ACEOF |
7873 /* confdefs.h. */ | |
7874 _ACEOF | |
7875 cat confdefs.h >>conftest.$ac_ext | |
7876 cat >>conftest.$ac_ext <<_ACEOF | |
6509 /* end confdefs.h. */ | 7877 /* end confdefs.h. */ |
6510 #ifdef TIME_WITH_SYS_TIME | 7878 #ifdef TIME_WITH_SYS_TIME |
6511 #include <sys/time.h> | 7879 #include <sys/time.h> |
6512 #include <time.h> | 7880 #include <time.h> |
6513 #else | 7881 #else |
6523 static struct timeval x; x.tv_sec = x.tv_usec; | 7891 static struct timeval x; x.tv_sec = x.tv_usec; |
6524 ; | 7892 ; |
6525 return 0; | 7893 return 0; |
6526 } | 7894 } |
6527 _ACEOF | 7895 _ACEOF |
6528 if ac_fn_c_try_compile "$LINENO"; then : | 7896 rm -f conftest.$ac_objext |
7897 if { (ac_try="$ac_compile" | |
7898 case "(($ac_try" in | |
7899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7900 *) ac_try_echo=$ac_try;; | |
7901 esac | |
7902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7903 $as_echo "$ac_try_echo") >&5 | |
7904 (eval "$ac_compile") 2>conftest.er1 | |
7905 ac_status=$? | |
7906 grep -v '^ *+' conftest.er1 >conftest.err | |
7907 rm -f conftest.er1 | |
7908 cat conftest.err >&5 | |
7909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7910 (exit $ac_status); } && { | |
7911 test -z "$ac_c_werror_flag" || | |
7912 test ! -s conftest.err | |
7913 } && test -s conftest.$ac_objext; then | |
6529 emacs_cv_struct_timeval=yes | 7914 emacs_cv_struct_timeval=yes |
6530 else | 7915 else |
6531 emacs_cv_struct_timeval=no | 7916 $as_echo "$as_me: failed program was:" >&5 |
6532 fi | 7917 sed 's/^/| /' conftest.$ac_ext >&5 |
7918 | |
7919 emacs_cv_struct_timeval=no | |
7920 fi | |
7921 | |
6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6534 fi | 7923 fi |
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5 | 7924 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 |
6536 $as_echo "$emacs_cv_struct_timeval" >&6; } | 7925 $as_echo "$emacs_cv_struct_timeval" >&6; } |
6537 HAVE_TIMEVAL=$emacs_cv_struct_timeval | 7926 HAVE_TIMEVAL=$emacs_cv_struct_timeval |
6538 if test $emacs_cv_struct_timeval = yes; then | 7927 if test $emacs_cv_struct_timeval = yes; then |
6539 | 7928 |
6540 $as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h | 7929 cat >>confdefs.h <<\_ACEOF |
6541 | 7930 #define HAVE_TIMEVAL 1 |
6542 fi | 7931 _ACEOF |
6543 | 7932 |
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 | 7933 fi |
7934 | |
7935 { $as_echo "$as_me:$LINENO: checking for struct exception" >&5 | |
6545 $as_echo_n "checking for struct exception... " >&6; } | 7936 $as_echo_n "checking for struct exception... " >&6; } |
6546 if test "${emacs_cv_struct_exception+set}" = set; then : | 7937 if test "${emacs_cv_struct_exception+set}" = set; then |
6547 $as_echo_n "(cached) " >&6 | 7938 $as_echo_n "(cached) " >&6 |
6548 else | 7939 else |
6549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7940 cat >conftest.$ac_ext <<_ACEOF |
7941 /* confdefs.h. */ | |
7942 _ACEOF | |
7943 cat confdefs.h >>conftest.$ac_ext | |
7944 cat >>conftest.$ac_ext <<_ACEOF | |
6550 /* end confdefs.h. */ | 7945 /* end confdefs.h. */ |
6551 #include <math.h> | 7946 #include <math.h> |
6552 int | 7947 int |
6553 main () | 7948 main () |
6554 { | 7949 { |
6555 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | 7950 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; |
6556 ; | 7951 ; |
6557 return 0; | 7952 return 0; |
6558 } | 7953 } |
6559 _ACEOF | 7954 _ACEOF |
6560 if ac_fn_c_try_compile "$LINENO"; then : | 7955 rm -f conftest.$ac_objext |
7956 if { (ac_try="$ac_compile" | |
7957 case "(($ac_try" in | |
7958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7959 *) ac_try_echo=$ac_try;; | |
7960 esac | |
7961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
7962 $as_echo "$ac_try_echo") >&5 | |
7963 (eval "$ac_compile") 2>conftest.er1 | |
7964 ac_status=$? | |
7965 grep -v '^ *+' conftest.er1 >conftest.err | |
7966 rm -f conftest.er1 | |
7967 cat conftest.err >&5 | |
7968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7969 (exit $ac_status); } && { | |
7970 test -z "$ac_c_werror_flag" || | |
7971 test ! -s conftest.err | |
7972 } && test -s conftest.$ac_objext; then | |
6561 emacs_cv_struct_exception=yes | 7973 emacs_cv_struct_exception=yes |
6562 else | 7974 else |
6563 emacs_cv_struct_exception=no | 7975 $as_echo "$as_me: failed program was:" >&5 |
6564 fi | 7976 sed 's/^/| /' conftest.$ac_ext >&5 |
7977 | |
7978 emacs_cv_struct_exception=no | |
7979 fi | |
7980 | |
6565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6566 fi | 7982 fi |
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 | 7983 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 |
6568 $as_echo "$emacs_cv_struct_exception" >&6; } | 7984 $as_echo "$emacs_cv_struct_exception" >&6; } |
6569 HAVE_EXCEPTION=$emacs_cv_struct_exception | 7985 HAVE_EXCEPTION=$emacs_cv_struct_exception |
6570 if test $emacs_cv_struct_exception != yes; then | 7986 if test $emacs_cv_struct_exception != yes; then |
6571 | 7987 |
6572 $as_echo "#define NO_MATHERR 1" >>confdefs.h | 7988 cat >>confdefs.h <<\_ACEOF |
6573 | 7989 #define NO_MATHERR 1 |
6574 fi | 7990 _ACEOF |
7991 | |
7992 fi | |
7993 | |
6575 | 7994 |
6576 for ac_header in sys/socket.h | 7995 for ac_header in sys/socket.h |
6577 do : | 7996 do |
6578 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" | 7997 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6579 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : | 7998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7999 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8000 $as_echo_n "checking for $ac_header... " >&6; } | |
8001 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
8002 $as_echo_n "(cached) " >&6 | |
8003 fi | |
8004 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
8005 $as_echo "$as_val"'` | |
8006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8007 $as_echo "$ac_res" >&6; } | |
8008 else | |
8009 # Is the header compilable? | |
8010 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
8011 $as_echo_n "checking $ac_header usability... " >&6; } | |
8012 cat >conftest.$ac_ext <<_ACEOF | |
8013 /* confdefs.h. */ | |
8014 _ACEOF | |
8015 cat confdefs.h >>conftest.$ac_ext | |
8016 cat >>conftest.$ac_ext <<_ACEOF | |
8017 /* end confdefs.h. */ | |
8018 $ac_includes_default | |
8019 #include <$ac_header> | |
8020 _ACEOF | |
8021 rm -f conftest.$ac_objext | |
8022 if { (ac_try="$ac_compile" | |
8023 case "(($ac_try" in | |
8024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8025 *) ac_try_echo=$ac_try;; | |
8026 esac | |
8027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8028 $as_echo "$ac_try_echo") >&5 | |
8029 (eval "$ac_compile") 2>conftest.er1 | |
8030 ac_status=$? | |
8031 grep -v '^ *+' conftest.er1 >conftest.err | |
8032 rm -f conftest.er1 | |
8033 cat conftest.err >&5 | |
8034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8035 (exit $ac_status); } && { | |
8036 test -z "$ac_c_werror_flag" || | |
8037 test ! -s conftest.err | |
8038 } && test -s conftest.$ac_objext; then | |
8039 ac_header_compiler=yes | |
8040 else | |
8041 $as_echo "$as_me: failed program was:" >&5 | |
8042 sed 's/^/| /' conftest.$ac_ext >&5 | |
8043 | |
8044 ac_header_compiler=no | |
8045 fi | |
8046 | |
8047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8048 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
8049 $as_echo "$ac_header_compiler" >&6; } | |
8050 | |
8051 # Is the header present? | |
8052 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
8053 $as_echo_n "checking $ac_header presence... " >&6; } | |
8054 cat >conftest.$ac_ext <<_ACEOF | |
8055 /* confdefs.h. */ | |
8056 _ACEOF | |
8057 cat confdefs.h >>conftest.$ac_ext | |
8058 cat >>conftest.$ac_ext <<_ACEOF | |
8059 /* end confdefs.h. */ | |
8060 #include <$ac_header> | |
8061 _ACEOF | |
8062 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
8063 case "(($ac_try" in | |
8064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8065 *) ac_try_echo=$ac_try;; | |
8066 esac | |
8067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8068 $as_echo "$ac_try_echo") >&5 | |
8069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
8070 ac_status=$? | |
8071 grep -v '^ *+' conftest.er1 >conftest.err | |
8072 rm -f conftest.er1 | |
8073 cat conftest.err >&5 | |
8074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8075 (exit $ac_status); } >/dev/null && { | |
8076 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
8077 test ! -s conftest.err | |
8078 }; then | |
8079 ac_header_preproc=yes | |
8080 else | |
8081 $as_echo "$as_me: failed program was:" >&5 | |
8082 sed 's/^/| /' conftest.$ac_ext >&5 | |
8083 | |
8084 ac_header_preproc=no | |
8085 fi | |
8086 | |
8087 rm -f conftest.err conftest.$ac_ext | |
8088 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
8089 $as_echo "$ac_header_preproc" >&6; } | |
8090 | |
8091 # So? What about this header? | |
8092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
8093 yes:no: ) | |
8094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
8095 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
8096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
8097 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
8098 ac_header_preproc=yes | |
8099 ;; | |
8100 no:yes:* ) | |
8101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
8102 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
8103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
8104 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
8105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
8106 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
8107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
8108 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
8109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
8110 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
8111 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
8112 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
8113 | |
8114 ;; | |
8115 esac | |
8116 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8117 $as_echo_n "checking for $ac_header... " >&6; } | |
8118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
8119 $as_echo_n "(cached) " >&6 | |
8120 else | |
8121 eval "$as_ac_Header=\$ac_header_preproc" | |
8122 fi | |
8123 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
8124 $as_echo "$as_val"'` | |
8125 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8126 $as_echo "$ac_res" >&6; } | |
8127 | |
8128 fi | |
8129 if test `eval 'as_val=${'$as_ac_Header'} | |
8130 $as_echo "$as_val"'` = yes; then | |
6580 cat >>confdefs.h <<_ACEOF | 8131 cat >>confdefs.h <<_ACEOF |
6581 #define HAVE_SYS_SOCKET_H 1 | 8132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6582 _ACEOF | 8133 _ACEOF |
6583 | 8134 |
6584 fi | 8135 fi |
6585 | 8136 |
6586 done | 8137 done |
6587 | 8138 |
8139 | |
6588 for ac_header in net/if.h | 8140 for ac_header in net/if.h |
6589 do : | 8141 do |
6590 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default | 8142 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8143 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8144 $as_echo_n "checking for $ac_header... " >&6; } | |
8145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
8146 $as_echo_n "(cached) " >&6 | |
8147 else | |
8148 cat >conftest.$ac_ext <<_ACEOF | |
8149 /* confdefs.h. */ | |
8150 _ACEOF | |
8151 cat confdefs.h >>conftest.$ac_ext | |
8152 cat >>conftest.$ac_ext <<_ACEOF | |
8153 /* end confdefs.h. */ | |
8154 $ac_includes_default | |
6591 #if HAVE_SYS_SOCKET_H | 8155 #if HAVE_SYS_SOCKET_H |
6592 #include <sys/socket.h> | 8156 #include <sys/socket.h> |
6593 #endif | 8157 #endif |
6594 " | 8158 |
6595 if test "x$ac_cv_header_net_if_h" = x""yes; then : | 8159 #include <$ac_header> |
8160 _ACEOF | |
8161 rm -f conftest.$ac_objext | |
8162 if { (ac_try="$ac_compile" | |
8163 case "(($ac_try" in | |
8164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8165 *) ac_try_echo=$ac_try;; | |
8166 esac | |
8167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8168 $as_echo "$ac_try_echo") >&5 | |
8169 (eval "$ac_compile") 2>conftest.er1 | |
8170 ac_status=$? | |
8171 grep -v '^ *+' conftest.er1 >conftest.err | |
8172 rm -f conftest.er1 | |
8173 cat conftest.err >&5 | |
8174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8175 (exit $ac_status); } && { | |
8176 test -z "$ac_c_werror_flag" || | |
8177 test ! -s conftest.err | |
8178 } && test -s conftest.$ac_objext; then | |
8179 eval "$as_ac_Header=yes" | |
8180 else | |
8181 $as_echo "$as_me: failed program was:" >&5 | |
8182 sed 's/^/| /' conftest.$ac_ext >&5 | |
8183 | |
8184 eval "$as_ac_Header=no" | |
8185 fi | |
8186 | |
8187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8188 fi | |
8189 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
8190 $as_echo "$as_val"'` | |
8191 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8192 $as_echo "$ac_res" >&6; } | |
8193 if test `eval 'as_val=${'$as_ac_Header'} | |
8194 $as_echo "$as_val"'` = yes; then | |
6596 cat >>confdefs.h <<_ACEOF | 8195 cat >>confdefs.h <<_ACEOF |
6597 #define HAVE_NET_IF_H 1 | 8196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6598 _ACEOF | 8197 _ACEOF |
6599 | 8198 |
6600 fi | 8199 fi |
6601 | 8200 |
6602 done | 8201 done |
6603 | 8202 |
6604 | 8203 |
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 | 8204 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
6606 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | 8205 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
6607 if test "${ac_cv_struct_tm+set}" = set; then : | 8206 if test "${ac_cv_struct_tm+set}" = set; then |
6608 $as_echo_n "(cached) " >&6 | 8207 $as_echo_n "(cached) " >&6 |
6609 else | 8208 else |
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8209 cat >conftest.$ac_ext <<_ACEOF |
8210 /* confdefs.h. */ | |
8211 _ACEOF | |
8212 cat confdefs.h >>conftest.$ac_ext | |
8213 cat >>conftest.$ac_ext <<_ACEOF | |
6611 /* end confdefs.h. */ | 8214 /* end confdefs.h. */ |
6612 #include <sys/types.h> | 8215 #include <sys/types.h> |
6613 #include <time.h> | 8216 #include <time.h> |
6614 | 8217 |
6615 int | 8218 int |
6620 return !p; | 8223 return !p; |
6621 ; | 8224 ; |
6622 return 0; | 8225 return 0; |
6623 } | 8226 } |
6624 _ACEOF | 8227 _ACEOF |
6625 if ac_fn_c_try_compile "$LINENO"; then : | 8228 rm -f conftest.$ac_objext |
8229 if { (ac_try="$ac_compile" | |
8230 case "(($ac_try" in | |
8231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8232 *) ac_try_echo=$ac_try;; | |
8233 esac | |
8234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8235 $as_echo "$ac_try_echo") >&5 | |
8236 (eval "$ac_compile") 2>conftest.er1 | |
8237 ac_status=$? | |
8238 grep -v '^ *+' conftest.er1 >conftest.err | |
8239 rm -f conftest.er1 | |
8240 cat conftest.err >&5 | |
8241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8242 (exit $ac_status); } && { | |
8243 test -z "$ac_c_werror_flag" || | |
8244 test ! -s conftest.err | |
8245 } && test -s conftest.$ac_objext; then | |
6626 ac_cv_struct_tm=time.h | 8246 ac_cv_struct_tm=time.h |
6627 else | 8247 else |
6628 ac_cv_struct_tm=sys/time.h | 8248 $as_echo "$as_me: failed program was:" >&5 |
6629 fi | 8249 sed 's/^/| /' conftest.$ac_ext >&5 |
8250 | |
8251 ac_cv_struct_tm=sys/time.h | |
8252 fi | |
8253 | |
6630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6631 fi | 8255 fi |
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 | 8256 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
6633 $as_echo "$ac_cv_struct_tm" >&6; } | 8257 $as_echo "$ac_cv_struct_tm" >&6; } |
6634 if test $ac_cv_struct_tm = sys/time.h; then | 8258 if test $ac_cv_struct_tm = sys/time.h; then |
6635 | 8259 |
6636 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h | 8260 cat >>confdefs.h <<\_ACEOF |
6637 | 8261 #define TM_IN_SYS_TIME 1 |
6638 fi | 8262 _ACEOF |
6639 | 8263 |
6640 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> | 8264 fi |
8265 | |
8266 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 | |
8267 $as_echo_n "checking for struct tm.tm_zone... " >&6; } | |
8268 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | |
8269 $as_echo_n "(cached) " >&6 | |
8270 else | |
8271 cat >conftest.$ac_ext <<_ACEOF | |
8272 /* confdefs.h. */ | |
8273 _ACEOF | |
8274 cat confdefs.h >>conftest.$ac_ext | |
8275 cat >>conftest.$ac_ext <<_ACEOF | |
8276 /* end confdefs.h. */ | |
8277 #include <sys/types.h> | |
6641 #include <$ac_cv_struct_tm> | 8278 #include <$ac_cv_struct_tm> |
6642 | 8279 |
6643 " | 8280 |
6644 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : | 8281 int |
8282 main () | |
8283 { | |
8284 static struct tm ac_aggr; | |
8285 if (ac_aggr.tm_zone) | |
8286 return 0; | |
8287 ; | |
8288 return 0; | |
8289 } | |
8290 _ACEOF | |
8291 rm -f conftest.$ac_objext | |
8292 if { (ac_try="$ac_compile" | |
8293 case "(($ac_try" in | |
8294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8295 *) ac_try_echo=$ac_try;; | |
8296 esac | |
8297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8298 $as_echo "$ac_try_echo") >&5 | |
8299 (eval "$ac_compile") 2>conftest.er1 | |
8300 ac_status=$? | |
8301 grep -v '^ *+' conftest.er1 >conftest.err | |
8302 rm -f conftest.er1 | |
8303 cat conftest.err >&5 | |
8304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8305 (exit $ac_status); } && { | |
8306 test -z "$ac_c_werror_flag" || | |
8307 test ! -s conftest.err | |
8308 } && test -s conftest.$ac_objext; then | |
8309 ac_cv_member_struct_tm_tm_zone=yes | |
8310 else | |
8311 $as_echo "$as_me: failed program was:" >&5 | |
8312 sed 's/^/| /' conftest.$ac_ext >&5 | |
8313 | |
8314 cat >conftest.$ac_ext <<_ACEOF | |
8315 /* confdefs.h. */ | |
8316 _ACEOF | |
8317 cat confdefs.h >>conftest.$ac_ext | |
8318 cat >>conftest.$ac_ext <<_ACEOF | |
8319 /* end confdefs.h. */ | |
8320 #include <sys/types.h> | |
8321 #include <$ac_cv_struct_tm> | |
8322 | |
8323 | |
8324 int | |
8325 main () | |
8326 { | |
8327 static struct tm ac_aggr; | |
8328 if (sizeof ac_aggr.tm_zone) | |
8329 return 0; | |
8330 ; | |
8331 return 0; | |
8332 } | |
8333 _ACEOF | |
8334 rm -f conftest.$ac_objext | |
8335 if { (ac_try="$ac_compile" | |
8336 case "(($ac_try" in | |
8337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8338 *) ac_try_echo=$ac_try;; | |
8339 esac | |
8340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8341 $as_echo "$ac_try_echo") >&5 | |
8342 (eval "$ac_compile") 2>conftest.er1 | |
8343 ac_status=$? | |
8344 grep -v '^ *+' conftest.er1 >conftest.err | |
8345 rm -f conftest.er1 | |
8346 cat conftest.err >&5 | |
8347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8348 (exit $ac_status); } && { | |
8349 test -z "$ac_c_werror_flag" || | |
8350 test ! -s conftest.err | |
8351 } && test -s conftest.$ac_objext; then | |
8352 ac_cv_member_struct_tm_tm_zone=yes | |
8353 else | |
8354 $as_echo "$as_me: failed program was:" >&5 | |
8355 sed 's/^/| /' conftest.$ac_ext >&5 | |
8356 | |
8357 ac_cv_member_struct_tm_tm_zone=no | |
8358 fi | |
8359 | |
8360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8361 fi | |
8362 | |
8363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8364 fi | |
8365 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | |
8366 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; } | |
8367 if test $ac_cv_member_struct_tm_tm_zone = yes; then | |
6645 | 8368 |
6646 cat >>confdefs.h <<_ACEOF | 8369 cat >>confdefs.h <<_ACEOF |
6647 #define HAVE_STRUCT_TM_TM_ZONE 1 | 8370 #define HAVE_STRUCT_TM_TM_ZONE 1 |
6648 _ACEOF | 8371 _ACEOF |
6649 | 8372 |
6650 | 8373 |
6651 fi | 8374 fi |
6652 | 8375 |
6653 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then | 8376 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
6654 | 8377 |
6655 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h | 8378 cat >>confdefs.h <<\_ACEOF |
6656 | 8379 #define HAVE_TM_ZONE 1 |
6657 else | 8380 _ACEOF |
6658 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> | 8381 |
6659 " | 8382 else |
6660 if test "x$ac_cv_have_decl_tzname" = x""yes; then : | 8383 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 |
6661 ac_have_decl=1 | 8384 $as_echo_n "checking whether tzname is declared... " >&6; } |
6662 else | 8385 if test "${ac_cv_have_decl_tzname+set}" = set; then |
6663 ac_have_decl=0 | 8386 $as_echo_n "(cached) " >&6 |
6664 fi | 8387 else |
8388 cat >conftest.$ac_ext <<_ACEOF | |
8389 /* confdefs.h. */ | |
8390 _ACEOF | |
8391 cat confdefs.h >>conftest.$ac_ext | |
8392 cat >>conftest.$ac_ext <<_ACEOF | |
8393 /* end confdefs.h. */ | |
8394 #include <time.h> | |
8395 | |
8396 int | |
8397 main () | |
8398 { | |
8399 #ifndef tzname | |
8400 (void) tzname; | |
8401 #endif | |
8402 | |
8403 ; | |
8404 return 0; | |
8405 } | |
8406 _ACEOF | |
8407 rm -f conftest.$ac_objext | |
8408 if { (ac_try="$ac_compile" | |
8409 case "(($ac_try" in | |
8410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8411 *) ac_try_echo=$ac_try;; | |
8412 esac | |
8413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8414 $as_echo "$ac_try_echo") >&5 | |
8415 (eval "$ac_compile") 2>conftest.er1 | |
8416 ac_status=$? | |
8417 grep -v '^ *+' conftest.er1 >conftest.err | |
8418 rm -f conftest.er1 | |
8419 cat conftest.err >&5 | |
8420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8421 (exit $ac_status); } && { | |
8422 test -z "$ac_c_werror_flag" || | |
8423 test ! -s conftest.err | |
8424 } && test -s conftest.$ac_objext; then | |
8425 ac_cv_have_decl_tzname=yes | |
8426 else | |
8427 $as_echo "$as_me: failed program was:" >&5 | |
8428 sed 's/^/| /' conftest.$ac_ext >&5 | |
8429 | |
8430 ac_cv_have_decl_tzname=no | |
8431 fi | |
8432 | |
8433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8434 fi | |
8435 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | |
8436 $as_echo "$ac_cv_have_decl_tzname" >&6; } | |
8437 if test $ac_cv_have_decl_tzname = yes; then | |
6665 | 8438 |
6666 cat >>confdefs.h <<_ACEOF | 8439 cat >>confdefs.h <<_ACEOF |
6667 #define HAVE_DECL_TZNAME $ac_have_decl | 8440 #define HAVE_DECL_TZNAME 1 |
6668 _ACEOF | 8441 _ACEOF |
6669 | 8442 |
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 | 8443 |
8444 else | |
8445 cat >>confdefs.h <<_ACEOF | |
8446 #define HAVE_DECL_TZNAME 0 | |
8447 _ACEOF | |
8448 | |
8449 | |
8450 fi | |
8451 | |
8452 | |
8453 { $as_echo "$as_me:$LINENO: checking for tzname" >&5 | |
6671 $as_echo_n "checking for tzname... " >&6; } | 8454 $as_echo_n "checking for tzname... " >&6; } |
6672 if test "${ac_cv_var_tzname+set}" = set; then : | 8455 if test "${ac_cv_var_tzname+set}" = set; then |
6673 $as_echo_n "(cached) " >&6 | 8456 $as_echo_n "(cached) " >&6 |
6674 else | 8457 else |
6675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8458 cat >conftest.$ac_ext <<_ACEOF |
8459 /* confdefs.h. */ | |
8460 _ACEOF | |
8461 cat confdefs.h >>conftest.$ac_ext | |
8462 cat >>conftest.$ac_ext <<_ACEOF | |
6676 /* end confdefs.h. */ | 8463 /* end confdefs.h. */ |
6677 #include <time.h> | 8464 #include <time.h> |
6678 #if !HAVE_DECL_TZNAME | 8465 #if !HAVE_DECL_TZNAME |
6679 extern char *tzname[]; | 8466 extern char *tzname[]; |
6680 #endif | 8467 #endif |
6685 return tzname[0][0]; | 8472 return tzname[0][0]; |
6686 ; | 8473 ; |
6687 return 0; | 8474 return 0; |
6688 } | 8475 } |
6689 _ACEOF | 8476 _ACEOF |
6690 if ac_fn_c_try_link "$LINENO"; then : | 8477 rm -f conftest.$ac_objext conftest$ac_exeext |
8478 if { (ac_try="$ac_link" | |
8479 case "(($ac_try" in | |
8480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8481 *) ac_try_echo=$ac_try;; | |
8482 esac | |
8483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8484 $as_echo "$ac_try_echo") >&5 | |
8485 (eval "$ac_link") 2>conftest.er1 | |
8486 ac_status=$? | |
8487 grep -v '^ *+' conftest.er1 >conftest.err | |
8488 rm -f conftest.er1 | |
8489 cat conftest.err >&5 | |
8490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8491 (exit $ac_status); } && { | |
8492 test -z "$ac_c_werror_flag" || | |
8493 test ! -s conftest.err | |
8494 } && test -s conftest$ac_exeext && { | |
8495 test "$cross_compiling" = yes || | |
8496 $as_test_x conftest$ac_exeext | |
8497 }; then | |
6691 ac_cv_var_tzname=yes | 8498 ac_cv_var_tzname=yes |
6692 else | 8499 else |
6693 ac_cv_var_tzname=no | 8500 $as_echo "$as_me: failed program was:" >&5 |
6694 fi | 8501 sed 's/^/| /' conftest.$ac_ext >&5 |
6695 rm -f core conftest.err conftest.$ac_objext \ | 8502 |
6696 conftest$ac_exeext conftest.$ac_ext | 8503 ac_cv_var_tzname=no |
6697 fi | 8504 fi |
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 | 8505 |
8506 rm -rf conftest.dSYM | |
8507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
8508 conftest$ac_exeext conftest.$ac_ext | |
8509 fi | |
8510 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 | |
6699 $as_echo "$ac_cv_var_tzname" >&6; } | 8511 $as_echo "$ac_cv_var_tzname" >&6; } |
6700 if test $ac_cv_var_tzname = yes; then | 8512 if test $ac_cv_var_tzname = yes; then |
6701 | 8513 |
6702 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h | 8514 cat >>confdefs.h <<\_ACEOF |
8515 #define HAVE_TZNAME 1 | |
8516 _ACEOF | |
6703 | 8517 |
6704 fi | 8518 fi |
6705 fi | 8519 fi |
6706 | 8520 |
6707 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> | 8521 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 |
6708 " | 8522 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } |
6709 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : | 8523 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
6710 | 8524 $as_echo_n "(cached) " >&6 |
6711 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h | 8525 else |
6712 | 8526 cat >conftest.$ac_ext <<_ACEOF |
6713 fi | 8527 /* confdefs.h. */ |
6714 | 8528 _ACEOF |
6715 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default | 8529 cat confdefs.h >>conftest.$ac_ext |
8530 cat >>conftest.$ac_ext <<_ACEOF | |
8531 /* end confdefs.h. */ | |
8532 #include <time.h> | |
8533 | |
8534 int | |
8535 main () | |
8536 { | |
8537 static struct tm ac_aggr; | |
8538 if (ac_aggr.tm_gmtoff) | |
8539 return 0; | |
8540 ; | |
8541 return 0; | |
8542 } | |
8543 _ACEOF | |
8544 rm -f conftest.$ac_objext | |
8545 if { (ac_try="$ac_compile" | |
8546 case "(($ac_try" in | |
8547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8548 *) ac_try_echo=$ac_try;; | |
8549 esac | |
8550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8551 $as_echo "$ac_try_echo") >&5 | |
8552 (eval "$ac_compile") 2>conftest.er1 | |
8553 ac_status=$? | |
8554 grep -v '^ *+' conftest.er1 >conftest.err | |
8555 rm -f conftest.er1 | |
8556 cat conftest.err >&5 | |
8557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8558 (exit $ac_status); } && { | |
8559 test -z "$ac_c_werror_flag" || | |
8560 test ! -s conftest.err | |
8561 } && test -s conftest.$ac_objext; then | |
8562 ac_cv_member_struct_tm_tm_gmtoff=yes | |
8563 else | |
8564 $as_echo "$as_me: failed program was:" >&5 | |
8565 sed 's/^/| /' conftest.$ac_ext >&5 | |
8566 | |
8567 cat >conftest.$ac_ext <<_ACEOF | |
8568 /* confdefs.h. */ | |
8569 _ACEOF | |
8570 cat confdefs.h >>conftest.$ac_ext | |
8571 cat >>conftest.$ac_ext <<_ACEOF | |
8572 /* end confdefs.h. */ | |
8573 #include <time.h> | |
8574 | |
8575 int | |
8576 main () | |
8577 { | |
8578 static struct tm ac_aggr; | |
8579 if (sizeof ac_aggr.tm_gmtoff) | |
8580 return 0; | |
8581 ; | |
8582 return 0; | |
8583 } | |
8584 _ACEOF | |
8585 rm -f conftest.$ac_objext | |
8586 if { (ac_try="$ac_compile" | |
8587 case "(($ac_try" in | |
8588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8589 *) ac_try_echo=$ac_try;; | |
8590 esac | |
8591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8592 $as_echo "$ac_try_echo") >&5 | |
8593 (eval "$ac_compile") 2>conftest.er1 | |
8594 ac_status=$? | |
8595 grep -v '^ *+' conftest.er1 >conftest.err | |
8596 rm -f conftest.er1 | |
8597 cat conftest.err >&5 | |
8598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8599 (exit $ac_status); } && { | |
8600 test -z "$ac_c_werror_flag" || | |
8601 test ! -s conftest.err | |
8602 } && test -s conftest.$ac_objext; then | |
8603 ac_cv_member_struct_tm_tm_gmtoff=yes | |
8604 else | |
8605 $as_echo "$as_me: failed program was:" >&5 | |
8606 sed 's/^/| /' conftest.$ac_ext >&5 | |
8607 | |
8608 ac_cv_member_struct_tm_tm_gmtoff=no | |
8609 fi | |
8610 | |
8611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8612 fi | |
8613 | |
8614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8615 fi | |
8616 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | |
8617 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; } | |
8618 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | |
8619 | |
8620 cat >>confdefs.h <<\_ACEOF | |
8621 #define HAVE_TM_GMTOFF 1 | |
8622 _ACEOF | |
8623 | |
8624 fi | |
8625 | |
8626 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 | |
8627 $as_echo_n "checking for struct ifreq.ifr_flags... " >&6; } | |
8628 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then | |
8629 $as_echo_n "(cached) " >&6 | |
8630 else | |
8631 cat >conftest.$ac_ext <<_ACEOF | |
8632 /* confdefs.h. */ | |
8633 _ACEOF | |
8634 cat confdefs.h >>conftest.$ac_ext | |
8635 cat >>conftest.$ac_ext <<_ACEOF | |
8636 /* end confdefs.h. */ | |
8637 $ac_includes_default | |
6716 #if HAVE_SYS_SOCKET_H | 8638 #if HAVE_SYS_SOCKET_H |
6717 #include <sys/socket.h> | 8639 #include <sys/socket.h> |
6718 #endif | 8640 #endif |
6719 #if HAVE_NET_IF_H | 8641 #if HAVE_NET_IF_H |
6720 #include <net/if.h> | 8642 #include <net/if.h> |
6721 #endif | 8643 #endif |
6722 " | 8644 |
6723 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : | 8645 int |
6724 | 8646 main () |
6725 cat >>confdefs.h <<_ACEOF | 8647 { |
6726 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 8648 static struct ifreq ac_aggr; |
6727 _ACEOF | 8649 if (ac_aggr.ifr_flags) |
6728 | 8650 return 0; |
6729 | 8651 ; |
6730 fi | 8652 return 0; |
6731 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default | 8653 } |
8654 _ACEOF | |
8655 rm -f conftest.$ac_objext | |
8656 if { (ac_try="$ac_compile" | |
8657 case "(($ac_try" in | |
8658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8659 *) ac_try_echo=$ac_try;; | |
8660 esac | |
8661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8662 $as_echo "$ac_try_echo") >&5 | |
8663 (eval "$ac_compile") 2>conftest.er1 | |
8664 ac_status=$? | |
8665 grep -v '^ *+' conftest.er1 >conftest.err | |
8666 rm -f conftest.er1 | |
8667 cat conftest.err >&5 | |
8668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8669 (exit $ac_status); } && { | |
8670 test -z "$ac_c_werror_flag" || | |
8671 test ! -s conftest.err | |
8672 } && test -s conftest.$ac_objext; then | |
8673 ac_cv_member_struct_ifreq_ifr_flags=yes | |
8674 else | |
8675 $as_echo "$as_me: failed program was:" >&5 | |
8676 sed 's/^/| /' conftest.$ac_ext >&5 | |
8677 | |
8678 cat >conftest.$ac_ext <<_ACEOF | |
8679 /* confdefs.h. */ | |
8680 _ACEOF | |
8681 cat confdefs.h >>conftest.$ac_ext | |
8682 cat >>conftest.$ac_ext <<_ACEOF | |
8683 /* end confdefs.h. */ | |
8684 $ac_includes_default | |
6732 #if HAVE_SYS_SOCKET_H | 8685 #if HAVE_SYS_SOCKET_H |
6733 #include <sys/socket.h> | 8686 #include <sys/socket.h> |
6734 #endif | 8687 #endif |
6735 #if HAVE_NET_IF_H | 8688 #if HAVE_NET_IF_H |
6736 #include <net/if.h> | 8689 #include <net/if.h> |
6737 #endif | 8690 #endif |
6738 " | 8691 |
6739 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : | 8692 int |
8693 main () | |
8694 { | |
8695 static struct ifreq ac_aggr; | |
8696 if (sizeof ac_aggr.ifr_flags) | |
8697 return 0; | |
8698 ; | |
8699 return 0; | |
8700 } | |
8701 _ACEOF | |
8702 rm -f conftest.$ac_objext | |
8703 if { (ac_try="$ac_compile" | |
8704 case "(($ac_try" in | |
8705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8706 *) ac_try_echo=$ac_try;; | |
8707 esac | |
8708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8709 $as_echo "$ac_try_echo") >&5 | |
8710 (eval "$ac_compile") 2>conftest.er1 | |
8711 ac_status=$? | |
8712 grep -v '^ *+' conftest.er1 >conftest.err | |
8713 rm -f conftest.er1 | |
8714 cat conftest.err >&5 | |
8715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8716 (exit $ac_status); } && { | |
8717 test -z "$ac_c_werror_flag" || | |
8718 test ! -s conftest.err | |
8719 } && test -s conftest.$ac_objext; then | |
8720 ac_cv_member_struct_ifreq_ifr_flags=yes | |
8721 else | |
8722 $as_echo "$as_me: failed program was:" >&5 | |
8723 sed 's/^/| /' conftest.$ac_ext >&5 | |
8724 | |
8725 ac_cv_member_struct_ifreq_ifr_flags=no | |
8726 fi | |
8727 | |
8728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8729 fi | |
8730 | |
8731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8732 fi | |
8733 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | |
8734 $as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; } | |
8735 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then | |
6740 | 8736 |
6741 cat >>confdefs.h <<_ACEOF | 8737 cat >>confdefs.h <<_ACEOF |
6742 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 8738 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
6743 _ACEOF | 8739 _ACEOF |
6744 | 8740 |
6745 | 8741 |
6746 fi | 8742 fi |
6747 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default | 8743 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 |
8744 $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; } | |
8745 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then | |
8746 $as_echo_n "(cached) " >&6 | |
8747 else | |
8748 cat >conftest.$ac_ext <<_ACEOF | |
8749 /* confdefs.h. */ | |
8750 _ACEOF | |
8751 cat confdefs.h >>conftest.$ac_ext | |
8752 cat >>conftest.$ac_ext <<_ACEOF | |
8753 /* end confdefs.h. */ | |
8754 $ac_includes_default | |
6748 #if HAVE_SYS_SOCKET_H | 8755 #if HAVE_SYS_SOCKET_H |
6749 #include <sys/socket.h> | 8756 #include <sys/socket.h> |
6750 #endif | 8757 #endif |
6751 #if HAVE_NET_IF_H | 8758 #if HAVE_NET_IF_H |
6752 #include <net/if.h> | 8759 #include <net/if.h> |
6753 #endif | 8760 #endif |
6754 " | 8761 |
6755 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : | 8762 int |
6756 | 8763 main () |
6757 cat >>confdefs.h <<_ACEOF | 8764 { |
6758 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | 8765 static struct ifreq ac_aggr; |
6759 _ACEOF | 8766 if (ac_aggr.ifr_hwaddr) |
6760 | 8767 return 0; |
6761 | 8768 ; |
6762 fi | 8769 return 0; |
6763 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default | 8770 } |
8771 _ACEOF | |
8772 rm -f conftest.$ac_objext | |
8773 if { (ac_try="$ac_compile" | |
8774 case "(($ac_try" in | |
8775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8776 *) ac_try_echo=$ac_try;; | |
8777 esac | |
8778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8779 $as_echo "$ac_try_echo") >&5 | |
8780 (eval "$ac_compile") 2>conftest.er1 | |
8781 ac_status=$? | |
8782 grep -v '^ *+' conftest.er1 >conftest.err | |
8783 rm -f conftest.er1 | |
8784 cat conftest.err >&5 | |
8785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8786 (exit $ac_status); } && { | |
8787 test -z "$ac_c_werror_flag" || | |
8788 test ! -s conftest.err | |
8789 } && test -s conftest.$ac_objext; then | |
8790 ac_cv_member_struct_ifreq_ifr_hwaddr=yes | |
8791 else | |
8792 $as_echo "$as_me: failed program was:" >&5 | |
8793 sed 's/^/| /' conftest.$ac_ext >&5 | |
8794 | |
8795 cat >conftest.$ac_ext <<_ACEOF | |
8796 /* confdefs.h. */ | |
8797 _ACEOF | |
8798 cat confdefs.h >>conftest.$ac_ext | |
8799 cat >>conftest.$ac_ext <<_ACEOF | |
8800 /* end confdefs.h. */ | |
8801 $ac_includes_default | |
6764 #if HAVE_SYS_SOCKET_H | 8802 #if HAVE_SYS_SOCKET_H |
6765 #include <sys/socket.h> | 8803 #include <sys/socket.h> |
6766 #endif | 8804 #endif |
6767 #if HAVE_NET_IF_H | 8805 #if HAVE_NET_IF_H |
6768 #include <net/if.h> | 8806 #include <net/if.h> |
6769 #endif | 8807 #endif |
6770 " | 8808 |
6771 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : | 8809 int |
8810 main () | |
8811 { | |
8812 static struct ifreq ac_aggr; | |
8813 if (sizeof ac_aggr.ifr_hwaddr) | |
8814 return 0; | |
8815 ; | |
8816 return 0; | |
8817 } | |
8818 _ACEOF | |
8819 rm -f conftest.$ac_objext | |
8820 if { (ac_try="$ac_compile" | |
8821 case "(($ac_try" in | |
8822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8823 *) ac_try_echo=$ac_try;; | |
8824 esac | |
8825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8826 $as_echo "$ac_try_echo") >&5 | |
8827 (eval "$ac_compile") 2>conftest.er1 | |
8828 ac_status=$? | |
8829 grep -v '^ *+' conftest.er1 >conftest.err | |
8830 rm -f conftest.er1 | |
8831 cat conftest.err >&5 | |
8832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8833 (exit $ac_status); } && { | |
8834 test -z "$ac_c_werror_flag" || | |
8835 test ! -s conftest.err | |
8836 } && test -s conftest.$ac_objext; then | |
8837 ac_cv_member_struct_ifreq_ifr_hwaddr=yes | |
8838 else | |
8839 $as_echo "$as_me: failed program was:" >&5 | |
8840 sed 's/^/| /' conftest.$ac_ext >&5 | |
8841 | |
8842 ac_cv_member_struct_ifreq_ifr_hwaddr=no | |
8843 fi | |
8844 | |
8845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8846 fi | |
8847 | |
8848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8849 fi | |
8850 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | |
8851 $as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } | |
8852 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then | |
6772 | 8853 |
6773 cat >>confdefs.h <<_ACEOF | 8854 cat >>confdefs.h <<_ACEOF |
6774 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | 8855 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
6775 _ACEOF | 8856 _ACEOF |
6776 | 8857 |
6777 | 8858 |
6778 fi | 8859 fi |
6779 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default | 8860 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 |
8861 $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; } | |
8862 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then | |
8863 $as_echo_n "(cached) " >&6 | |
8864 else | |
8865 cat >conftest.$ac_ext <<_ACEOF | |
8866 /* confdefs.h. */ | |
8867 _ACEOF | |
8868 cat confdefs.h >>conftest.$ac_ext | |
8869 cat >>conftest.$ac_ext <<_ACEOF | |
8870 /* end confdefs.h. */ | |
8871 $ac_includes_default | |
6780 #if HAVE_SYS_SOCKET_H | 8872 #if HAVE_SYS_SOCKET_H |
6781 #include <sys/socket.h> | 8873 #include <sys/socket.h> |
6782 #endif | 8874 #endif |
6783 #if HAVE_NET_IF_H | 8875 #if HAVE_NET_IF_H |
6784 #include <net/if.h> | 8876 #include <net/if.h> |
6785 #endif | 8877 #endif |
6786 " | 8878 |
6787 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : | 8879 int |
8880 main () | |
8881 { | |
8882 static struct ifreq ac_aggr; | |
8883 if (ac_aggr.ifr_netmask) | |
8884 return 0; | |
8885 ; | |
8886 return 0; | |
8887 } | |
8888 _ACEOF | |
8889 rm -f conftest.$ac_objext | |
8890 if { (ac_try="$ac_compile" | |
8891 case "(($ac_try" in | |
8892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8893 *) ac_try_echo=$ac_try;; | |
8894 esac | |
8895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8896 $as_echo "$ac_try_echo") >&5 | |
8897 (eval "$ac_compile") 2>conftest.er1 | |
8898 ac_status=$? | |
8899 grep -v '^ *+' conftest.er1 >conftest.err | |
8900 rm -f conftest.er1 | |
8901 cat conftest.err >&5 | |
8902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8903 (exit $ac_status); } && { | |
8904 test -z "$ac_c_werror_flag" || | |
8905 test ! -s conftest.err | |
8906 } && test -s conftest.$ac_objext; then | |
8907 ac_cv_member_struct_ifreq_ifr_netmask=yes | |
8908 else | |
8909 $as_echo "$as_me: failed program was:" >&5 | |
8910 sed 's/^/| /' conftest.$ac_ext >&5 | |
8911 | |
8912 cat >conftest.$ac_ext <<_ACEOF | |
8913 /* confdefs.h. */ | |
8914 _ACEOF | |
8915 cat confdefs.h >>conftest.$ac_ext | |
8916 cat >>conftest.$ac_ext <<_ACEOF | |
8917 /* end confdefs.h. */ | |
8918 $ac_includes_default | |
8919 #if HAVE_SYS_SOCKET_H | |
8920 #include <sys/socket.h> | |
8921 #endif | |
8922 #if HAVE_NET_IF_H | |
8923 #include <net/if.h> | |
8924 #endif | |
8925 | |
8926 int | |
8927 main () | |
8928 { | |
8929 static struct ifreq ac_aggr; | |
8930 if (sizeof ac_aggr.ifr_netmask) | |
8931 return 0; | |
8932 ; | |
8933 return 0; | |
8934 } | |
8935 _ACEOF | |
8936 rm -f conftest.$ac_objext | |
8937 if { (ac_try="$ac_compile" | |
8938 case "(($ac_try" in | |
8939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8940 *) ac_try_echo=$ac_try;; | |
8941 esac | |
8942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
8943 $as_echo "$ac_try_echo") >&5 | |
8944 (eval "$ac_compile") 2>conftest.er1 | |
8945 ac_status=$? | |
8946 grep -v '^ *+' conftest.er1 >conftest.err | |
8947 rm -f conftest.er1 | |
8948 cat conftest.err >&5 | |
8949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8950 (exit $ac_status); } && { | |
8951 test -z "$ac_c_werror_flag" || | |
8952 test ! -s conftest.err | |
8953 } && test -s conftest.$ac_objext; then | |
8954 ac_cv_member_struct_ifreq_ifr_netmask=yes | |
8955 else | |
8956 $as_echo "$as_me: failed program was:" >&5 | |
8957 sed 's/^/| /' conftest.$ac_ext >&5 | |
8958 | |
8959 ac_cv_member_struct_ifreq_ifr_netmask=no | |
8960 fi | |
8961 | |
8962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8963 fi | |
8964 | |
8965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8966 fi | |
8967 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | |
8968 $as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } | |
8969 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then | |
8970 | |
8971 cat >>confdefs.h <<_ACEOF | |
8972 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | |
8973 _ACEOF | |
8974 | |
8975 | |
8976 fi | |
8977 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 | |
8978 $as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; } | |
8979 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then | |
8980 $as_echo_n "(cached) " >&6 | |
8981 else | |
8982 cat >conftest.$ac_ext <<_ACEOF | |
8983 /* confdefs.h. */ | |
8984 _ACEOF | |
8985 cat confdefs.h >>conftest.$ac_ext | |
8986 cat >>conftest.$ac_ext <<_ACEOF | |
8987 /* end confdefs.h. */ | |
8988 $ac_includes_default | |
8989 #if HAVE_SYS_SOCKET_H | |
8990 #include <sys/socket.h> | |
8991 #endif | |
8992 #if HAVE_NET_IF_H | |
8993 #include <net/if.h> | |
8994 #endif | |
8995 | |
8996 int | |
8997 main () | |
8998 { | |
8999 static struct ifreq ac_aggr; | |
9000 if (ac_aggr.ifr_broadaddr) | |
9001 return 0; | |
9002 ; | |
9003 return 0; | |
9004 } | |
9005 _ACEOF | |
9006 rm -f conftest.$ac_objext | |
9007 if { (ac_try="$ac_compile" | |
9008 case "(($ac_try" in | |
9009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9010 *) ac_try_echo=$ac_try;; | |
9011 esac | |
9012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9013 $as_echo "$ac_try_echo") >&5 | |
9014 (eval "$ac_compile") 2>conftest.er1 | |
9015 ac_status=$? | |
9016 grep -v '^ *+' conftest.er1 >conftest.err | |
9017 rm -f conftest.er1 | |
9018 cat conftest.err >&5 | |
9019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9020 (exit $ac_status); } && { | |
9021 test -z "$ac_c_werror_flag" || | |
9022 test ! -s conftest.err | |
9023 } && test -s conftest.$ac_objext; then | |
9024 ac_cv_member_struct_ifreq_ifr_broadaddr=yes | |
9025 else | |
9026 $as_echo "$as_me: failed program was:" >&5 | |
9027 sed 's/^/| /' conftest.$ac_ext >&5 | |
9028 | |
9029 cat >conftest.$ac_ext <<_ACEOF | |
9030 /* confdefs.h. */ | |
9031 _ACEOF | |
9032 cat confdefs.h >>conftest.$ac_ext | |
9033 cat >>conftest.$ac_ext <<_ACEOF | |
9034 /* end confdefs.h. */ | |
9035 $ac_includes_default | |
9036 #if HAVE_SYS_SOCKET_H | |
9037 #include <sys/socket.h> | |
9038 #endif | |
9039 #if HAVE_NET_IF_H | |
9040 #include <net/if.h> | |
9041 #endif | |
9042 | |
9043 int | |
9044 main () | |
9045 { | |
9046 static struct ifreq ac_aggr; | |
9047 if (sizeof ac_aggr.ifr_broadaddr) | |
9048 return 0; | |
9049 ; | |
9050 return 0; | |
9051 } | |
9052 _ACEOF | |
9053 rm -f conftest.$ac_objext | |
9054 if { (ac_try="$ac_compile" | |
9055 case "(($ac_try" in | |
9056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9057 *) ac_try_echo=$ac_try;; | |
9058 esac | |
9059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9060 $as_echo "$ac_try_echo") >&5 | |
9061 (eval "$ac_compile") 2>conftest.er1 | |
9062 ac_status=$? | |
9063 grep -v '^ *+' conftest.er1 >conftest.err | |
9064 rm -f conftest.er1 | |
9065 cat conftest.err >&5 | |
9066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9067 (exit $ac_status); } && { | |
9068 test -z "$ac_c_werror_flag" || | |
9069 test ! -s conftest.err | |
9070 } && test -s conftest.$ac_objext; then | |
9071 ac_cv_member_struct_ifreq_ifr_broadaddr=yes | |
9072 else | |
9073 $as_echo "$as_me: failed program was:" >&5 | |
9074 sed 's/^/| /' conftest.$ac_ext >&5 | |
9075 | |
9076 ac_cv_member_struct_ifreq_ifr_broadaddr=no | |
9077 fi | |
9078 | |
9079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
9080 fi | |
9081 | |
9082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
9083 fi | |
9084 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | |
9085 $as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } | |
9086 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then | |
9087 | |
9088 cat >>confdefs.h <<_ACEOF | |
9089 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | |
9090 _ACEOF | |
9091 | |
9092 | |
9093 fi | |
9094 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 | |
9095 $as_echo_n "checking for struct ifreq.ifr_addr... " >&6; } | |
9096 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then | |
9097 $as_echo_n "(cached) " >&6 | |
9098 else | |
9099 cat >conftest.$ac_ext <<_ACEOF | |
9100 /* confdefs.h. */ | |
9101 _ACEOF | |
9102 cat confdefs.h >>conftest.$ac_ext | |
9103 cat >>conftest.$ac_ext <<_ACEOF | |
9104 /* end confdefs.h. */ | |
9105 $ac_includes_default | |
9106 #if HAVE_SYS_SOCKET_H | |
9107 #include <sys/socket.h> | |
9108 #endif | |
9109 #if HAVE_NET_IF_H | |
9110 #include <net/if.h> | |
9111 #endif | |
9112 | |
9113 int | |
9114 main () | |
9115 { | |
9116 static struct ifreq ac_aggr; | |
9117 if (ac_aggr.ifr_addr) | |
9118 return 0; | |
9119 ; | |
9120 return 0; | |
9121 } | |
9122 _ACEOF | |
9123 rm -f conftest.$ac_objext | |
9124 if { (ac_try="$ac_compile" | |
9125 case "(($ac_try" in | |
9126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9127 *) ac_try_echo=$ac_try;; | |
9128 esac | |
9129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9130 $as_echo "$ac_try_echo") >&5 | |
9131 (eval "$ac_compile") 2>conftest.er1 | |
9132 ac_status=$? | |
9133 grep -v '^ *+' conftest.er1 >conftest.err | |
9134 rm -f conftest.er1 | |
9135 cat conftest.err >&5 | |
9136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9137 (exit $ac_status); } && { | |
9138 test -z "$ac_c_werror_flag" || | |
9139 test ! -s conftest.err | |
9140 } && test -s conftest.$ac_objext; then | |
9141 ac_cv_member_struct_ifreq_ifr_addr=yes | |
9142 else | |
9143 $as_echo "$as_me: failed program was:" >&5 | |
9144 sed 's/^/| /' conftest.$ac_ext >&5 | |
9145 | |
9146 cat >conftest.$ac_ext <<_ACEOF | |
9147 /* confdefs.h. */ | |
9148 _ACEOF | |
9149 cat confdefs.h >>conftest.$ac_ext | |
9150 cat >>conftest.$ac_ext <<_ACEOF | |
9151 /* end confdefs.h. */ | |
9152 $ac_includes_default | |
9153 #if HAVE_SYS_SOCKET_H | |
9154 #include <sys/socket.h> | |
9155 #endif | |
9156 #if HAVE_NET_IF_H | |
9157 #include <net/if.h> | |
9158 #endif | |
9159 | |
9160 int | |
9161 main () | |
9162 { | |
9163 static struct ifreq ac_aggr; | |
9164 if (sizeof ac_aggr.ifr_addr) | |
9165 return 0; | |
9166 ; | |
9167 return 0; | |
9168 } | |
9169 _ACEOF | |
9170 rm -f conftest.$ac_objext | |
9171 if { (ac_try="$ac_compile" | |
9172 case "(($ac_try" in | |
9173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9174 *) ac_try_echo=$ac_try;; | |
9175 esac | |
9176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9177 $as_echo "$ac_try_echo") >&5 | |
9178 (eval "$ac_compile") 2>conftest.er1 | |
9179 ac_status=$? | |
9180 grep -v '^ *+' conftest.er1 >conftest.err | |
9181 rm -f conftest.er1 | |
9182 cat conftest.err >&5 | |
9183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9184 (exit $ac_status); } && { | |
9185 test -z "$ac_c_werror_flag" || | |
9186 test ! -s conftest.err | |
9187 } && test -s conftest.$ac_objext; then | |
9188 ac_cv_member_struct_ifreq_ifr_addr=yes | |
9189 else | |
9190 $as_echo "$as_me: failed program was:" >&5 | |
9191 sed 's/^/| /' conftest.$ac_ext >&5 | |
9192 | |
9193 ac_cv_member_struct_ifreq_ifr_addr=no | |
9194 fi | |
9195 | |
9196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
9197 fi | |
9198 | |
9199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
9200 fi | |
9201 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | |
9202 $as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; } | |
9203 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then | |
6788 | 9204 |
6789 cat >>confdefs.h <<_ACEOF | 9205 cat >>confdefs.h <<_ACEOF |
6790 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 9206 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
6791 _ACEOF | 9207 _ACEOF |
6792 | 9208 |
6793 | 9209 |
6794 fi | 9210 fi |
6795 | 9211 |
6796 | 9212 |
6797 | 9213 |
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 | 9214 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 |
6799 $as_echo_n "checking for function prototypes... " >&6; } | 9215 $as_echo_n "checking for function prototypes... " >&6; } |
6800 if test "$ac_cv_prog_cc_c89" != no; then | 9216 if test "$ac_cv_prog_cc_c89" != no; then |
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9217 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
6802 $as_echo "yes" >&6; } | 9218 $as_echo "yes" >&6; } |
6803 | 9219 |
6804 $as_echo "#define PROTOTYPES 1" >>confdefs.h | 9220 cat >>confdefs.h <<\_ACEOF |
6805 | 9221 #define PROTOTYPES 1 |
6806 | 9222 _ACEOF |
6807 $as_echo "#define __PROTOTYPES 1" >>confdefs.h | 9223 |
6808 | 9224 |
6809 else | 9225 cat >>confdefs.h <<\_ACEOF |
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9226 #define __PROTOTYPES 1 |
9227 _ACEOF | |
9228 | |
9229 else | |
9230 { $as_echo "$as_me:$LINENO: result: no" >&5 | |
6811 $as_echo "no" >&6; } | 9231 $as_echo "no" >&6; } |
6812 fi | 9232 fi |
6813 | 9233 |
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 | 9234 { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 |
6815 $as_echo_n "checking for working volatile... " >&6; } | 9235 $as_echo_n "checking for working volatile... " >&6; } |
6816 if test "${ac_cv_c_volatile+set}" = set; then : | 9236 if test "${ac_cv_c_volatile+set}" = set; then |
6817 $as_echo_n "(cached) " >&6 | 9237 $as_echo_n "(cached) " >&6 |
6818 else | 9238 else |
6819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9239 cat >conftest.$ac_ext <<_ACEOF |
9240 /* confdefs.h. */ | |
9241 _ACEOF | |
9242 cat confdefs.h >>conftest.$ac_ext | |
9243 cat >>conftest.$ac_ext <<_ACEOF | |
6820 /* end confdefs.h. */ | 9244 /* end confdefs.h. */ |
6821 | 9245 |
6822 int | 9246 int |
6823 main () | 9247 main () |
6824 { | 9248 { |
6828 return !x && !y; | 9252 return !x && !y; |
6829 ; | 9253 ; |
6830 return 0; | 9254 return 0; |
6831 } | 9255 } |
6832 _ACEOF | 9256 _ACEOF |
6833 if ac_fn_c_try_compile "$LINENO"; then : | 9257 rm -f conftest.$ac_objext |
9258 if { (ac_try="$ac_compile" | |
9259 case "(($ac_try" in | |
9260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9261 *) ac_try_echo=$ac_try;; | |
9262 esac | |
9263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9264 $as_echo "$ac_try_echo") >&5 | |
9265 (eval "$ac_compile") 2>conftest.er1 | |
9266 ac_status=$? | |
9267 grep -v '^ *+' conftest.er1 >conftest.err | |
9268 rm -f conftest.er1 | |
9269 cat conftest.err >&5 | |
9270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9271 (exit $ac_status); } && { | |
9272 test -z "$ac_c_werror_flag" || | |
9273 test ! -s conftest.err | |
9274 } && test -s conftest.$ac_objext; then | |
6834 ac_cv_c_volatile=yes | 9275 ac_cv_c_volatile=yes |
6835 else | 9276 else |
6836 ac_cv_c_volatile=no | 9277 $as_echo "$as_me: failed program was:" >&5 |
6837 fi | 9278 sed 's/^/| /' conftest.$ac_ext >&5 |
9279 | |
9280 ac_cv_c_volatile=no | |
9281 fi | |
9282 | |
6838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6839 fi | 9284 fi |
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 | 9285 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 |
6841 $as_echo "$ac_cv_c_volatile" >&6; } | 9286 $as_echo "$ac_cv_c_volatile" >&6; } |
6842 if test $ac_cv_c_volatile = no; then | 9287 if test $ac_cv_c_volatile = no; then |
6843 | 9288 |
6844 $as_echo "#define volatile /**/" >>confdefs.h | 9289 cat >>confdefs.h <<\_ACEOF |
6845 | 9290 #define volatile /**/ |
6846 fi | 9291 _ACEOF |
6847 | 9292 |
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 | 9293 fi |
9294 | |
9295 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | |
6849 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | 9296 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
6850 if test "${ac_cv_c_const+set}" = set; then : | 9297 if test "${ac_cv_c_const+set}" = set; then |
6851 $as_echo_n "(cached) " >&6 | 9298 $as_echo_n "(cached) " >&6 |
6852 else | 9299 else |
6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9300 cat >conftest.$ac_ext <<_ACEOF |
9301 /* confdefs.h. */ | |
9302 _ACEOF | |
9303 cat confdefs.h >>conftest.$ac_ext | |
9304 cat >>conftest.$ac_ext <<_ACEOF | |
6854 /* end confdefs.h. */ | 9305 /* end confdefs.h. */ |
6855 | 9306 |
6856 int | 9307 int |
6857 main () | 9308 main () |
6858 { | 9309 { |
6908 | 9359 |
6909 ; | 9360 ; |
6910 return 0; | 9361 return 0; |
6911 } | 9362 } |
6912 _ACEOF | 9363 _ACEOF |
6913 if ac_fn_c_try_compile "$LINENO"; then : | 9364 rm -f conftest.$ac_objext |
9365 if { (ac_try="$ac_compile" | |
9366 case "(($ac_try" in | |
9367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9368 *) ac_try_echo=$ac_try;; | |
9369 esac | |
9370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9371 $as_echo "$ac_try_echo") >&5 | |
9372 (eval "$ac_compile") 2>conftest.er1 | |
9373 ac_status=$? | |
9374 grep -v '^ *+' conftest.er1 >conftest.err | |
9375 rm -f conftest.er1 | |
9376 cat conftest.err >&5 | |
9377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9378 (exit $ac_status); } && { | |
9379 test -z "$ac_c_werror_flag" || | |
9380 test ! -s conftest.err | |
9381 } && test -s conftest.$ac_objext; then | |
6914 ac_cv_c_const=yes | 9382 ac_cv_c_const=yes |
6915 else | 9383 else |
6916 ac_cv_c_const=no | 9384 $as_echo "$as_me: failed program was:" >&5 |
6917 fi | 9385 sed 's/^/| /' conftest.$ac_ext >&5 |
9386 | |
9387 ac_cv_c_const=no | |
9388 fi | |
9389 | |
6918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6919 fi | 9391 fi |
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 | 9392 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
6921 $as_echo "$ac_cv_c_const" >&6; } | 9393 $as_echo "$ac_cv_c_const" >&6; } |
6922 if test $ac_cv_c_const = no; then | 9394 if test $ac_cv_c_const = no; then |
6923 | 9395 |
6924 $as_echo "#define const /**/" >>confdefs.h | 9396 cat >>confdefs.h <<\_ACEOF |
6925 | 9397 #define const /**/ |
6926 fi | 9398 _ACEOF |
6927 | 9399 |
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 | 9400 fi |
9401 | |
9402 { $as_echo "$as_me:$LINENO: checking for void * support" >&5 | |
6929 $as_echo_n "checking for void * support... " >&6; } | 9403 $as_echo_n "checking for void * support... " >&6; } |
6930 if test "${emacs_cv_void_star+set}" = set; then : | 9404 if test "${emacs_cv_void_star+set}" = set; then |
6931 $as_echo_n "(cached) " >&6 | 9405 $as_echo_n "(cached) " >&6 |
6932 else | 9406 else |
6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9407 cat >conftest.$ac_ext <<_ACEOF |
9408 /* confdefs.h. */ | |
9409 _ACEOF | |
9410 cat confdefs.h >>conftest.$ac_ext | |
9411 cat >>conftest.$ac_ext <<_ACEOF | |
6934 /* end confdefs.h. */ | 9412 /* end confdefs.h. */ |
6935 | 9413 |
6936 int | 9414 int |
6937 main () | 9415 main () |
6938 { | 9416 { |
6939 void * foo; | 9417 void * foo; |
6940 ; | 9418 ; |
6941 return 0; | 9419 return 0; |
6942 } | 9420 } |
6943 _ACEOF | 9421 _ACEOF |
6944 if ac_fn_c_try_compile "$LINENO"; then : | 9422 rm -f conftest.$ac_objext |
9423 if { (ac_try="$ac_compile" | |
9424 case "(($ac_try" in | |
9425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9426 *) ac_try_echo=$ac_try;; | |
9427 esac | |
9428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9429 $as_echo "$ac_try_echo") >&5 | |
9430 (eval "$ac_compile") 2>conftest.er1 | |
9431 ac_status=$? | |
9432 grep -v '^ *+' conftest.er1 >conftest.err | |
9433 rm -f conftest.er1 | |
9434 cat conftest.err >&5 | |
9435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9436 (exit $ac_status); } && { | |
9437 test -z "$ac_c_werror_flag" || | |
9438 test ! -s conftest.err | |
9439 } && test -s conftest.$ac_objext; then | |
6945 emacs_cv_void_star=yes | 9440 emacs_cv_void_star=yes |
6946 else | 9441 else |
6947 emacs_cv_void_star=no | 9442 $as_echo "$as_me: failed program was:" >&5 |
6948 fi | 9443 sed 's/^/| /' conftest.$ac_ext >&5 |
9444 | |
9445 emacs_cv_void_star=no | |
9446 fi | |
9447 | |
6949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6950 fi | 9449 fi |
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5 | 9450 { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 |
6952 $as_echo "$emacs_cv_void_star" >&6; } | 9451 $as_echo "$emacs_cv_void_star" >&6; } |
6953 if test $emacs_cv_void_star = yes; then | 9452 if test $emacs_cv_void_star = yes; then |
6954 $as_echo "#define POINTER_TYPE void" >>confdefs.h | 9453 cat >>confdefs.h <<\_ACEOF |
6955 | 9454 #define POINTER_TYPE void |
6956 else | 9455 _ACEOF |
6957 $as_echo "#define POINTER_TYPE char" >>confdefs.h | 9456 |
6958 | 9457 else |
6959 fi | 9458 cat >>confdefs.h <<\_ACEOF |
6960 | 9459 #define POINTER_TYPE char |
6961 | 9460 _ACEOF |
6962 | 9461 |
6963 | 9462 fi |
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 9463 |
9464 | |
9465 | |
9466 | |
9467 | |
9468 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
6965 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 9469 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6966 set x ${MAKE-make} | 9470 set x ${MAKE-make} |
6967 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 9471 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6968 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 9472 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
6969 $as_echo_n "(cached) " >&6 | 9473 $as_echo_n "(cached) " >&6 |
6970 else | 9474 else |
6971 cat >conftest.make <<\_ACEOF | 9475 cat >conftest.make <<\_ACEOF |
6972 SHELL = /bin/sh | 9476 SHELL = /bin/sh |
6973 all: | 9477 all: |
6981 eval ac_cv_prog_make_${ac_make}_set=no;; | 9485 eval ac_cv_prog_make_${ac_make}_set=no;; |
6982 esac | 9486 esac |
6983 rm -f conftest.make | 9487 rm -f conftest.make |
6984 fi | 9488 fi |
6985 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 9489 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9490 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
6987 $as_echo "yes" >&6; } | 9491 $as_echo "yes" >&6; } |
6988 SET_MAKE= | 9492 SET_MAKE= |
6989 else | 9493 else |
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9494 { $as_echo "$as_me:$LINENO: result: no" >&5 |
6991 $as_echo "no" >&6; } | 9495 $as_echo "no" >&6; } |
6992 SET_MAKE="MAKE=${MAKE-make}" | 9496 SET_MAKE="MAKE=${MAKE-make}" |
6993 fi | 9497 fi |
6994 | 9498 |
6995 | 9499 |
6996 if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then | 9500 if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then |
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5 | 9501 { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5 |
6998 $as_echo_n "checking whether we are using GNU Make... " >&6; } | 9502 $as_echo_n "checking whether we are using GNU Make... " >&6; } |
6999 HAVE_GNU_MAKE=no | 9503 HAVE_GNU_MAKE=no |
7000 testval=`make --version 2>/dev/null | grep 'GNU Make'` | 9504 testval=`make --version 2>/dev/null | grep 'GNU Make'` |
7001 if test "x$testval" != x; then | 9505 if test "x$testval" != x; then |
7002 HAVE_GNU_MAKE=yes | 9506 HAVE_GNU_MAKE=yes |
7003 else | 9507 else |
7004 ac_enable_autodepend=no | 9508 ac_enable_autodepend=no |
7005 fi | 9509 fi |
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5 | 9510 { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5 |
7007 $as_echo "$HAVE_GNU_MAKE" >&6; } | 9511 $as_echo "$HAVE_GNU_MAKE" >&6; } |
7008 if test $HAVE_GNU_MAKE = yes; then | 9512 if test $HAVE_GNU_MAKE = yes; then |
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 | 9513 { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5 |
7010 $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } | 9514 $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } |
7011 SAVE_CFLAGS="$CFLAGS" | 9515 SAVE_CFLAGS="$CFLAGS" |
7012 CFLAGS="$CFLAGS -MMD -MF deps.d" | 9516 CFLAGS="$CFLAGS -MMD -MF deps.d" |
7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9517 cat >conftest.$ac_ext <<_ACEOF |
9518 /* confdefs.h. */ | |
9519 _ACEOF | |
9520 cat confdefs.h >>conftest.$ac_ext | |
9521 cat >>conftest.$ac_ext <<_ACEOF | |
7014 /* end confdefs.h. */ | 9522 /* end confdefs.h. */ |
7015 | 9523 |
7016 int | 9524 int |
7017 main () | 9525 main () |
7018 { | 9526 { |
7019 | 9527 |
7020 ; | 9528 ; |
7021 return 0; | 9529 return 0; |
7022 } | 9530 } |
7023 _ACEOF | 9531 _ACEOF |
7024 if ac_fn_c_try_compile "$LINENO"; then : | 9532 rm -f conftest.$ac_objext |
7025 | 9533 if { (ac_try="$ac_compile" |
7026 else | 9534 case "(($ac_try" in |
7027 ac_enable_autodepend=no | 9535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7028 fi | 9536 *) ac_try_echo=$ac_try;; |
9537 esac | |
9538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9539 $as_echo "$ac_try_echo") >&5 | |
9540 (eval "$ac_compile") 2>conftest.er1 | |
9541 ac_status=$? | |
9542 grep -v '^ *+' conftest.er1 >conftest.err | |
9543 rm -f conftest.er1 | |
9544 cat conftest.err >&5 | |
9545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9546 (exit $ac_status); } && { | |
9547 test -z "$ac_c_werror_flag" || | |
9548 test ! -s conftest.err | |
9549 } && test -s conftest.$ac_objext; then | |
9550 : | |
9551 else | |
9552 $as_echo "$as_me: failed program was:" >&5 | |
9553 sed 's/^/| /' conftest.$ac_ext >&5 | |
9554 | |
9555 ac_enable_autodepend=no | |
9556 fi | |
9557 | |
7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7030 CFLAGS="$SAVE_CFLAGS" | 9559 CFLAGS="$SAVE_CFLAGS" |
7031 test -f deps.d || ac_enable_autodepend=no | 9560 test -f deps.d || ac_enable_autodepend=no |
7032 rm -rf deps.d | 9561 rm -rf deps.d |
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5 | 9562 { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5 |
7034 $as_echo "$ac_enable_autodepend" >&6; } | 9563 $as_echo "$ac_enable_autodepend" >&6; } |
7035 fi | 9564 fi |
7036 if test $ac_enable_autodepend = yes; then | 9565 if test $ac_enable_autodepend = yes; then |
7037 | 9566 |
7038 $as_echo "#define AUTO_DEPEND 1" >>confdefs.h | 9567 cat >>confdefs.h <<\_ACEOF |
9568 #define AUTO_DEPEND 1 | |
9569 _ACEOF | |
7039 | 9570 |
7040 fi | 9571 fi |
7041 fi | 9572 fi |
7042 | 9573 |
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 | 9574 { $as_echo "$as_me:$LINENO: checking for long file names" >&5 |
7044 $as_echo_n "checking for long file names... " >&6; } | 9575 $as_echo_n "checking for long file names... " >&6; } |
7045 if test "${ac_cv_sys_long_file_names+set}" = set; then : | 9576 if test "${ac_cv_sys_long_file_names+set}" = set; then |
7046 $as_echo_n "(cached) " >&6 | 9577 $as_echo_n "(cached) " >&6 |
7047 else | 9578 else |
7048 ac_cv_sys_long_file_names=yes | 9579 ac_cv_sys_long_file_names=yes |
7049 # Test for long file names in all the places we know might matter: | 9580 # Test for long file names in all the places we know might matter: |
7050 # . the current directory, where building will happen | 9581 # . the current directory, where building will happen |
7070 ac_cv_sys_long_file_names=no | 9601 ac_cv_sys_long_file_names=no |
7071 rm -f -r "$ac_xdir" 2>/dev/null | 9602 rm -f -r "$ac_xdir" 2>/dev/null |
7072 test $ac_cv_sys_long_file_names = no && break | 9603 test $ac_cv_sys_long_file_names = no && break |
7073 done | 9604 done |
7074 fi | 9605 fi |
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 | 9606 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 |
7076 $as_echo "$ac_cv_sys_long_file_names" >&6; } | 9607 $as_echo "$ac_cv_sys_long_file_names" >&6; } |
7077 if test $ac_cv_sys_long_file_names = yes; then | 9608 if test $ac_cv_sys_long_file_names = yes; then |
7078 | 9609 |
7079 $as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h | 9610 cat >>confdefs.h <<\_ACEOF |
9611 #define HAVE_LONG_FILE_NAMES 1 | |
9612 _ACEOF | |
7080 | 9613 |
7081 fi | 9614 fi |
7082 | 9615 |
7083 | 9616 |
7084 #### Choose a window system. | 9617 #### Choose a window system. |
7085 | 9618 |
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 | 9619 { $as_echo "$as_me:$LINENO: checking for X" >&5 |
7087 $as_echo_n "checking for X... " >&6; } | 9620 $as_echo_n "checking for X... " >&6; } |
7088 | 9621 |
7089 | 9622 |
7090 # Check whether --with-x was given. | 9623 # Check whether --with-x was given. |
7091 if test "${with_x+set}" = set; then : | 9624 if test "${with_x+set}" = set; then |
7092 withval=$with_x; | 9625 withval=$with_x; |
7093 fi | 9626 fi |
7094 | 9627 |
7095 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. | 9628 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
7096 if test "x$with_x" = xno; then | 9629 if test "x$with_x" = xno; then |
7097 # The user explicitly disabled X. | 9630 # The user explicitly disabled X. |
7098 have_x=disabled | 9631 have_x=disabled |
7099 else | 9632 else |
7100 case $x_includes,$x_libraries in #( | 9633 case $x_includes,$x_libraries in #( |
7101 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( | 9634 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
7102 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 9635 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
9636 { (exit 1); exit 1; }; };; #( | |
9637 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then | |
7103 $as_echo_n "(cached) " >&6 | 9638 $as_echo_n "(cached) " >&6 |
7104 else | 9639 else |
7105 # One or both of the vars are not set, and there is no cached value. | 9640 # One or both of the vars are not set, and there is no cached value. |
7106 ac_x_includes=no ac_x_libraries=no | 9641 ac_x_includes=no ac_x_libraries=no |
7107 rm -f -r conftest.dir | 9642 rm -f -r conftest.dir |
7133 case $ac_im_incroot in | 9668 case $ac_im_incroot in |
7134 /usr/include) ac_x_includes= ;; | 9669 /usr/include) ac_x_includes= ;; |
7135 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 9670 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
7136 esac | 9671 esac |
7137 case $ac_im_usrlibdir in | 9672 case $ac_im_usrlibdir in |
7138 /usr/lib | /usr/lib64 | /lib | /lib64) ;; | 9673 /usr/lib | /lib) ;; |
7139 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 9674 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
7140 esac | 9675 esac |
7141 fi | 9676 fi |
7142 cd .. | 9677 cd .. |
7143 rm -f -r conftest.dir | 9678 rm -f -r conftest.dir |
7145 | 9680 |
7146 # Standard set of common directories for X headers. | 9681 # Standard set of common directories for X headers. |
7147 # Check X11 before X11Rn because it is often a symlink to the current release. | 9682 # Check X11 before X11Rn because it is often a symlink to the current release. |
7148 ac_x_header_dirs=' | 9683 ac_x_header_dirs=' |
7149 /usr/X11/include | 9684 /usr/X11/include |
7150 /usr/X11R7/include | |
7151 /usr/X11R6/include | 9685 /usr/X11R6/include |
7152 /usr/X11R5/include | 9686 /usr/X11R5/include |
7153 /usr/X11R4/include | 9687 /usr/X11R4/include |
7154 | 9688 |
7155 /usr/include/X11 | 9689 /usr/include/X11 |
7156 /usr/include/X11R7 | |
7157 /usr/include/X11R6 | 9690 /usr/include/X11R6 |
7158 /usr/include/X11R5 | 9691 /usr/include/X11R5 |
7159 /usr/include/X11R4 | 9692 /usr/include/X11R4 |
7160 | 9693 |
7161 /usr/local/X11/include | 9694 /usr/local/X11/include |
7162 /usr/local/X11R7/include | |
7163 /usr/local/X11R6/include | 9695 /usr/local/X11R6/include |
7164 /usr/local/X11R5/include | 9696 /usr/local/X11R5/include |
7165 /usr/local/X11R4/include | 9697 /usr/local/X11R4/include |
7166 | 9698 |
7167 /usr/local/include/X11 | 9699 /usr/local/include/X11 |
7168 /usr/local/include/X11R7 | |
7169 /usr/local/include/X11R6 | 9700 /usr/local/include/X11R6 |
7170 /usr/local/include/X11R5 | 9701 /usr/local/include/X11R5 |
7171 /usr/local/include/X11R4 | 9702 /usr/local/include/X11R4 |
7172 | 9703 |
7173 /usr/X386/include | 9704 /usr/X386/include |
7185 /usr/openwin/share/include' | 9716 /usr/openwin/share/include' |
7186 | 9717 |
7187 if test "$ac_x_includes" = no; then | 9718 if test "$ac_x_includes" = no; then |
7188 # Guess where to find include files, by looking for Xlib.h. | 9719 # Guess where to find include files, by looking for Xlib.h. |
7189 # First, try using that file with no special directory specified. | 9720 # First, try using that file with no special directory specified. |
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9721 cat >conftest.$ac_ext <<_ACEOF |
9722 /* confdefs.h. */ | |
9723 _ACEOF | |
9724 cat confdefs.h >>conftest.$ac_ext | |
9725 cat >>conftest.$ac_ext <<_ACEOF | |
7191 /* end confdefs.h. */ | 9726 /* end confdefs.h. */ |
7192 #include <X11/Xlib.h> | 9727 #include <X11/Xlib.h> |
7193 _ACEOF | 9728 _ACEOF |
7194 if ac_fn_c_try_cpp "$LINENO"; then : | 9729 if { (ac_try="$ac_cpp conftest.$ac_ext" |
9730 case "(($ac_try" in | |
9731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9732 *) ac_try_echo=$ac_try;; | |
9733 esac | |
9734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9735 $as_echo "$ac_try_echo") >&5 | |
9736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
9737 ac_status=$? | |
9738 grep -v '^ *+' conftest.er1 >conftest.err | |
9739 rm -f conftest.er1 | |
9740 cat conftest.err >&5 | |
9741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9742 (exit $ac_status); } >/dev/null && { | |
9743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
9744 test ! -s conftest.err | |
9745 }; then | |
7195 # We can compile using X headers with no special include directory. | 9746 # We can compile using X headers with no special include directory. |
7196 ac_x_includes= | 9747 ac_x_includes= |
7197 else | 9748 else |
9749 $as_echo "$as_me: failed program was:" >&5 | |
9750 sed 's/^/| /' conftest.$ac_ext >&5 | |
9751 | |
7198 for ac_dir in $ac_x_header_dirs; do | 9752 for ac_dir in $ac_x_header_dirs; do |
7199 if test -r "$ac_dir/X11/Xlib.h"; then | 9753 if test -r "$ac_dir/X11/Xlib.h"; then |
7200 ac_x_includes=$ac_dir | 9754 ac_x_includes=$ac_dir |
7201 break | 9755 break |
7202 fi | 9756 fi |
7203 done | 9757 done |
7204 fi | 9758 fi |
9759 | |
7205 rm -f conftest.err conftest.$ac_ext | 9760 rm -f conftest.err conftest.$ac_ext |
7206 fi # $ac_x_includes = no | 9761 fi # $ac_x_includes = no |
7207 | 9762 |
7208 if test "$ac_x_libraries" = no; then | 9763 if test "$ac_x_libraries" = no; then |
7209 # Check for the libraries. | 9764 # Check for the libraries. |
7210 # See if we find them without any special options. | 9765 # See if we find them without any special options. |
7211 # Don't add to $LIBS permanently. | 9766 # Don't add to $LIBS permanently. |
7212 ac_save_LIBS=$LIBS | 9767 ac_save_LIBS=$LIBS |
7213 LIBS="-lX11 $LIBS" | 9768 LIBS="-lX11 $LIBS" |
7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9769 cat >conftest.$ac_ext <<_ACEOF |
9770 /* confdefs.h. */ | |
9771 _ACEOF | |
9772 cat confdefs.h >>conftest.$ac_ext | |
9773 cat >>conftest.$ac_ext <<_ACEOF | |
7215 /* end confdefs.h. */ | 9774 /* end confdefs.h. */ |
7216 #include <X11/Xlib.h> | 9775 #include <X11/Xlib.h> |
7217 int | 9776 int |
7218 main () | 9777 main () |
7219 { | 9778 { |
7220 XrmInitialize () | 9779 XrmInitialize () |
7221 ; | 9780 ; |
7222 return 0; | 9781 return 0; |
7223 } | 9782 } |
7224 _ACEOF | 9783 _ACEOF |
7225 if ac_fn_c_try_link "$LINENO"; then : | 9784 rm -f conftest.$ac_objext conftest$ac_exeext |
9785 if { (ac_try="$ac_link" | |
9786 case "(($ac_try" in | |
9787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9788 *) ac_try_echo=$ac_try;; | |
9789 esac | |
9790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9791 $as_echo "$ac_try_echo") >&5 | |
9792 (eval "$ac_link") 2>conftest.er1 | |
9793 ac_status=$? | |
9794 grep -v '^ *+' conftest.er1 >conftest.err | |
9795 rm -f conftest.er1 | |
9796 cat conftest.err >&5 | |
9797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9798 (exit $ac_status); } && { | |
9799 test -z "$ac_c_werror_flag" || | |
9800 test ! -s conftest.err | |
9801 } && test -s conftest$ac_exeext && { | |
9802 test "$cross_compiling" = yes || | |
9803 $as_test_x conftest$ac_exeext | |
9804 }; then | |
7226 LIBS=$ac_save_LIBS | 9805 LIBS=$ac_save_LIBS |
7227 # We can link X programs with no special library path. | 9806 # We can link X programs with no special library path. |
7228 ac_x_libraries= | 9807 ac_x_libraries= |
7229 else | 9808 else |
7230 LIBS=$ac_save_LIBS | 9809 $as_echo "$as_me: failed program was:" >&5 |
9810 sed 's/^/| /' conftest.$ac_ext >&5 | |
9811 | |
9812 LIBS=$ac_save_LIBS | |
7231 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 9813 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
7232 do | 9814 do |
7233 # Don't even attempt the hair of trying to link an X program! | 9815 # Don't even attempt the hair of trying to link an X program! |
7234 for ac_extension in a so sl dylib la dll; do | 9816 for ac_extension in a so sl dylib la dll; do |
7235 if test -r "$ac_dir/libX11.$ac_extension"; then | 9817 if test -r "$ac_dir/libX11.$ac_extension"; then |
7237 break 2 | 9819 break 2 |
7238 fi | 9820 fi |
7239 done | 9821 done |
7240 done | 9822 done |
7241 fi | 9823 fi |
7242 rm -f core conftest.err conftest.$ac_objext \ | 9824 |
7243 conftest$ac_exeext conftest.$ac_ext | 9825 rm -rf conftest.dSYM |
9826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
9827 conftest$ac_exeext conftest.$ac_ext | |
7244 fi # $ac_x_libraries = no | 9828 fi # $ac_x_libraries = no |
7245 | 9829 |
7246 case $ac_x_includes,$ac_x_libraries in #( | 9830 case $ac_x_includes,$ac_x_libraries in #( |
7247 no,* | *,no | *\'*) | 9831 no,* | *,no | *\'*) |
7248 # Didn't find X, or a directory has "'" in its name. | 9832 # Didn't find X, or a directory has "'" in its name. |
7259 esac | 9843 esac |
7260 eval "$ac_cv_have_x" | 9844 eval "$ac_cv_have_x" |
7261 fi # $with_x != no | 9845 fi # $with_x != no |
7262 | 9846 |
7263 if test "$have_x" != yes; then | 9847 if test "$have_x" != yes; then |
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 | 9848 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 |
7265 $as_echo "$have_x" >&6; } | 9849 $as_echo "$have_x" >&6; } |
7266 no_x=yes | 9850 no_x=yes |
7267 else | 9851 else |
7268 # If each of the values was on the command line, it overrides each guess. | 9852 # If each of the values was on the command line, it overrides each guess. |
7269 test "x$x_includes" = xNONE && x_includes=$ac_x_includes | 9853 test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
7270 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | 9854 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
7271 # Update the cache value to reflect the command line values. | 9855 # Update the cache value to reflect the command line values. |
7272 ac_cv_have_x="have_x=yes\ | 9856 ac_cv_have_x="have_x=yes\ |
7273 ac_x_includes='$x_includes'\ | 9857 ac_x_includes='$x_includes'\ |
7274 ac_x_libraries='$x_libraries'" | 9858 ac_x_libraries='$x_libraries'" |
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 | 9859 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
7276 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } | 9860 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
7277 fi | 9861 fi |
7278 | 9862 |
7279 if test "$no_x" = yes; then | 9863 if test "$no_x" = yes; then |
7280 window_system=none | 9864 window_system=none |
7380 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9964 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
7381 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9965 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
7382 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 9966 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
7383 LIB_STANDARD= | 9967 LIB_STANDARD= |
7384 fi | 9968 fi |
7385 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 9969 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then |
7386 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 9970 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 |
9971 $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | |
9972 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | |
9973 $as_echo_n "(cached) " >&6 | |
9974 fi | |
9975 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | |
9976 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | |
9977 else | |
9978 # Is the header compilable? | |
9979 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5 | |
9980 $as_echo_n "checking AppKit/AppKit.h usability... " >&6; } | |
9981 cat >conftest.$ac_ext <<_ACEOF | |
9982 /* confdefs.h. */ | |
9983 _ACEOF | |
9984 cat confdefs.h >>conftest.$ac_ext | |
9985 cat >>conftest.$ac_ext <<_ACEOF | |
9986 /* end confdefs.h. */ | |
9987 $ac_includes_default | |
9988 #include <AppKit/AppKit.h> | |
9989 _ACEOF | |
9990 rm -f conftest.$ac_objext | |
9991 if { (ac_try="$ac_compile" | |
9992 case "(($ac_try" in | |
9993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9994 *) ac_try_echo=$ac_try;; | |
9995 esac | |
9996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
9997 $as_echo "$ac_try_echo") >&5 | |
9998 (eval "$ac_compile") 2>conftest.er1 | |
9999 ac_status=$? | |
10000 grep -v '^ *+' conftest.er1 >conftest.err | |
10001 rm -f conftest.er1 | |
10002 cat conftest.err >&5 | |
10003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10004 (exit $ac_status); } && { | |
10005 test -z "$ac_c_werror_flag" || | |
10006 test ! -s conftest.err | |
10007 } && test -s conftest.$ac_objext; then | |
10008 ac_header_compiler=yes | |
10009 else | |
10010 $as_echo "$as_me: failed program was:" >&5 | |
10011 sed 's/^/| /' conftest.$ac_ext >&5 | |
10012 | |
10013 ac_header_compiler=no | |
10014 fi | |
10015 | |
10016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
10017 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
10018 $as_echo "$ac_header_compiler" >&6; } | |
10019 | |
10020 # Is the header present? | |
10021 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5 | |
10022 $as_echo_n "checking AppKit/AppKit.h presence... " >&6; } | |
10023 cat >conftest.$ac_ext <<_ACEOF | |
10024 /* confdefs.h. */ | |
10025 _ACEOF | |
10026 cat confdefs.h >>conftest.$ac_ext | |
10027 cat >>conftest.$ac_ext <<_ACEOF | |
10028 /* end confdefs.h. */ | |
10029 #include <AppKit/AppKit.h> | |
10030 _ACEOF | |
10031 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
10032 case "(($ac_try" in | |
10033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10034 *) ac_try_echo=$ac_try;; | |
10035 esac | |
10036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10037 $as_echo "$ac_try_echo") >&5 | |
10038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
10039 ac_status=$? | |
10040 grep -v '^ *+' conftest.er1 >conftest.err | |
10041 rm -f conftest.er1 | |
10042 cat conftest.err >&5 | |
10043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10044 (exit $ac_status); } >/dev/null && { | |
10045 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
10046 test ! -s conftest.err | |
10047 }; then | |
10048 ac_header_preproc=yes | |
10049 else | |
10050 $as_echo "$as_me: failed program was:" >&5 | |
10051 sed 's/^/| /' conftest.$ac_ext >&5 | |
10052 | |
10053 ac_header_preproc=no | |
10054 fi | |
10055 | |
10056 rm -f conftest.err conftest.$ac_ext | |
10057 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
10058 $as_echo "$ac_header_preproc" >&6; } | |
10059 | |
10060 # So? What about this header? | |
10061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
10062 yes:no: ) | |
10063 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
10064 $as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
10065 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5 | |
10066 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;} | |
10067 ac_header_preproc=yes | |
10068 ;; | |
10069 no:yes:* ) | |
10070 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5 | |
10071 $as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;} | |
10072 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5 | |
10073 $as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;} | |
10074 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5 | |
10075 $as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;} | |
10076 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5 | |
10077 $as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
10078 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5 | |
10079 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;} | |
10080 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5 | |
10081 $as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;} | |
10082 | |
10083 ;; | |
10084 esac | |
10085 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 | |
10086 $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | |
10087 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | |
10088 $as_echo_n "(cached) " >&6 | |
10089 else | |
10090 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc | |
10091 fi | |
10092 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | |
10093 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | |
10094 | |
10095 fi | |
10096 if test $ac_cv_header_AppKit_AppKit_h = yes; then | |
7387 HAVE_NS=yes | 10097 HAVE_NS=yes |
7388 else | 10098 else |
7389 as_fn_error "\`--with-ns' was specified, but the include | 10099 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include |
7390 files are missing or cannot be compiled." "$LINENO" 5 | 10100 files are missing or cannot be compiled." >&5 |
10101 $as_echo "$as_me: error: \`--with-ns' was specified, but the include | |
10102 files are missing or cannot be compiled." >&2;} | |
10103 { (exit 1); exit 1; }; } | |
7391 fi | 10104 fi |
7392 | 10105 |
7393 | 10106 |
7394 NS_HAVE_NSINTEGER=yes | 10107 NS_HAVE_NSINTEGER=yes |
7395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10108 cat >conftest.$ac_ext <<_ACEOF |
10109 /* confdefs.h. */ | |
10110 _ACEOF | |
10111 cat confdefs.h >>conftest.$ac_ext | |
10112 cat >>conftest.$ac_ext <<_ACEOF | |
7396 /* end confdefs.h. */ | 10113 /* end confdefs.h. */ |
7397 #include <Foundation/NSObjCRuntime.h> | 10114 #include <Foundation/NSObjCRuntime.h> |
7398 int | 10115 int |
7399 main () | 10116 main () |
7400 { | 10117 { |
7401 NSInteger i; | 10118 NSInteger i; |
7402 ; | 10119 ; |
7403 return 0; | 10120 return 0; |
7404 } | 10121 } |
7405 _ACEOF | 10122 _ACEOF |
7406 if ac_fn_c_try_compile "$LINENO"; then : | 10123 rm -f conftest.$ac_objext |
10124 if { (ac_try="$ac_compile" | |
10125 case "(($ac_try" in | |
10126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10127 *) ac_try_echo=$ac_try;; | |
10128 esac | |
10129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10130 $as_echo "$ac_try_echo") >&5 | |
10131 (eval "$ac_compile") 2>conftest.er1 | |
10132 ac_status=$? | |
10133 grep -v '^ *+' conftest.er1 >conftest.err | |
10134 rm -f conftest.er1 | |
10135 cat conftest.err >&5 | |
10136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10137 (exit $ac_status); } && { | |
10138 test -z "$ac_c_werror_flag" || | |
10139 test ! -s conftest.err | |
10140 } && test -s conftest.$ac_objext; then | |
7407 ns_have_nsinteger=yes | 10141 ns_have_nsinteger=yes |
7408 else | 10142 else |
7409 ns_have_nsinteger=no | 10143 $as_echo "$as_me: failed program was:" >&5 |
7410 fi | 10144 sed 's/^/| /' conftest.$ac_ext >&5 |
10145 | |
10146 ns_have_nsinteger=no | |
10147 fi | |
10148 | |
7411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7412 if test $ns_have_nsinteger = no; then | 10150 if test $ns_have_nsinteger = no; then |
7413 NS_HAVE_NSINTEGER=no | 10151 NS_HAVE_NSINTEGER=no |
7414 fi | 10152 fi |
7415 fi | 10153 fi |
7456 esac | 10194 esac |
7457 | 10195 |
7458 if test "$window_system" = none && test "X$with_x" != "Xno"; then | 10196 if test "$window_system" = none && test "X$with_x" != "Xno"; then |
7459 # Extract the first word of "X", so it can be a program name with args. | 10197 # Extract the first word of "X", so it can be a program name with args. |
7460 set dummy X; ac_word=$2 | 10198 set dummy X; ac_word=$2 |
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 10199 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7462 $as_echo_n "checking for $ac_word... " >&6; } | 10200 $as_echo_n "checking for $ac_word... " >&6; } |
7463 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : | 10201 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then |
7464 $as_echo_n "(cached) " >&6 | 10202 $as_echo_n "(cached) " >&6 |
7465 else | 10203 else |
7466 if test -n "$HAVE_XSERVER"; then | 10204 if test -n "$HAVE_XSERVER"; then |
7467 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. | 10205 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. |
7468 else | 10206 else |
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 10207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7470 for as_dir in $PATH | 10208 for as_dir in $PATH |
7471 do | 10209 do |
7472 IFS=$as_save_IFS | 10210 IFS=$as_save_IFS |
7473 test -z "$as_dir" && as_dir=. | 10211 test -z "$as_dir" && as_dir=. |
7474 for ac_exec_ext in '' $ac_executable_extensions; do | 10212 for ac_exec_ext in '' $ac_executable_extensions; do |
7475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 10213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7476 ac_cv_prog_HAVE_XSERVER="true" | 10214 ac_cv_prog_HAVE_XSERVER="true" |
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 10215 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7478 break 2 | 10216 break 2 |
7479 fi | 10217 fi |
7480 done | 10218 done |
7481 done | 10219 done |
7482 IFS=$as_save_IFS | 10220 IFS=$as_save_IFS |
7483 | 10221 |
7484 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" | 10222 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" |
7485 fi | 10223 fi |
7486 fi | 10224 fi |
7487 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER | 10225 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER |
7488 if test -n "$HAVE_XSERVER"; then | 10226 if test -n "$HAVE_XSERVER"; then |
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5 | 10227 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 |
7490 $as_echo "$HAVE_XSERVER" >&6; } | 10228 $as_echo "$HAVE_XSERVER" >&6; } |
7491 else | 10229 else |
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 10230 { $as_echo "$as_me:$LINENO: result: no" >&5 |
7493 $as_echo "no" >&6; } | 10231 $as_echo "no" >&6; } |
7494 fi | 10232 fi |
7495 | 10233 |
7496 | 10234 |
7497 if test "$HAVE_XSERVER" = true || | 10235 if test "$HAVE_XSERVER" = true || |
7498 test -n "$DISPLAY" || | 10236 test -n "$DISPLAY" || |
7499 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 10237 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
7500 as_fn_error "You seem to be running X, but no X development libraries | 10238 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries |
7501 were found. You should install the relevant development files for X | 10239 were found. You should install the relevant development files for X |
7502 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 10240 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
7503 sure you have development files for image handling, i.e. | 10241 sure you have development files for image handling, i.e. |
7504 tiff, gif, jpeg, png and xpm. | 10242 tiff, gif, jpeg, png and xpm. |
7505 If you are sure you want Emacs compiled without X window support, pass | 10243 If you are sure you want Emacs compiled without X window support, pass |
7506 --without-x | 10244 --without-x |
7507 to configure." "$LINENO" 5 | 10245 to configure." >&5 |
10246 $as_echo "$as_me: error: You seem to be running X, but no X development libraries | |
10247 were found. You should install the relevant development files for X | |
10248 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | |
10249 sure you have development files for image handling, i.e. | |
10250 tiff, gif, jpeg, png and xpm. | |
10251 If you are sure you want Emacs compiled without X window support, pass | |
10252 --without-x | |
10253 to configure." >&2;} | |
10254 { (exit 1); exit 1; }; } | |
7508 fi | 10255 fi |
7509 fi | 10256 fi |
7510 | 10257 |
7511 ### If we're using X11, we should use the X menu package. | 10258 ### If we're using X11, we should use the X menu package. |
7512 HAVE_MENUS=no | 10259 HAVE_MENUS=no |
7516 | 10263 |
7517 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 10264 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
7518 # Assume not, until told otherwise. | 10265 # Assume not, until told otherwise. |
7519 GNU_MALLOC=yes | 10266 GNU_MALLOC=yes |
7520 doug_lea_malloc=yes | 10267 doug_lea_malloc=yes |
7521 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" | 10268 { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 |
7522 if test "x$ac_cv_func_malloc_get_state" = x""yes; then : | 10269 $as_echo_n "checking for malloc_get_state... " >&6; } |
7523 | 10270 if test "${ac_cv_func_malloc_get_state+set}" = set; then |
10271 $as_echo_n "(cached) " >&6 | |
10272 else | |
10273 cat >conftest.$ac_ext <<_ACEOF | |
10274 /* confdefs.h. */ | |
10275 _ACEOF | |
10276 cat confdefs.h >>conftest.$ac_ext | |
10277 cat >>conftest.$ac_ext <<_ACEOF | |
10278 /* end confdefs.h. */ | |
10279 /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state. | |
10280 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
10281 #define malloc_get_state innocuous_malloc_get_state | |
10282 | |
10283 /* System header to define __stub macros and hopefully few prototypes, | |
10284 which can conflict with char malloc_get_state (); below. | |
10285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
10286 <limits.h> exists even on freestanding compilers. */ | |
10287 | |
10288 #ifdef __STDC__ | |
10289 # include <limits.h> | |
10290 #else | |
10291 # include <assert.h> | |
10292 #endif | |
10293 | |
10294 #undef malloc_get_state | |
10295 | |
10296 /* Override any GCC internal prototype to avoid an error. | |
10297 Use char because int might match the return type of a GCC | |
10298 builtin and then its argument prototype would still apply. */ | |
10299 #ifdef __cplusplus | |
10300 extern "C" | |
10301 #endif | |
10302 char malloc_get_state (); | |
10303 /* The GNU C library defines this for functions which it implements | |
10304 to always fail with ENOSYS. Some functions are actually named | |
10305 something starting with __ and the normal name is an alias. */ | |
10306 #if defined __stub_malloc_get_state || defined __stub___malloc_get_state | |
10307 choke me | |
10308 #endif | |
10309 | |
10310 int | |
10311 main () | |
10312 { | |
10313 return malloc_get_state (); | |
10314 ; | |
10315 return 0; | |
10316 } | |
10317 _ACEOF | |
10318 rm -f conftest.$ac_objext conftest$ac_exeext | |
10319 if { (ac_try="$ac_link" | |
10320 case "(($ac_try" in | |
10321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10322 *) ac_try_echo=$ac_try;; | |
10323 esac | |
10324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10325 $as_echo "$ac_try_echo") >&5 | |
10326 (eval "$ac_link") 2>conftest.er1 | |
10327 ac_status=$? | |
10328 grep -v '^ *+' conftest.er1 >conftest.err | |
10329 rm -f conftest.er1 | |
10330 cat conftest.err >&5 | |
10331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10332 (exit $ac_status); } && { | |
10333 test -z "$ac_c_werror_flag" || | |
10334 test ! -s conftest.err | |
10335 } && test -s conftest$ac_exeext && { | |
10336 test "$cross_compiling" = yes || | |
10337 $as_test_x conftest$ac_exeext | |
10338 }; then | |
10339 ac_cv_func_malloc_get_state=yes | |
10340 else | |
10341 $as_echo "$as_me: failed program was:" >&5 | |
10342 sed 's/^/| /' conftest.$ac_ext >&5 | |
10343 | |
10344 ac_cv_func_malloc_get_state=no | |
10345 fi | |
10346 | |
10347 rm -rf conftest.dSYM | |
10348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10349 conftest$ac_exeext conftest.$ac_ext | |
10350 fi | |
10351 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | |
10352 $as_echo "$ac_cv_func_malloc_get_state" >&6; } | |
10353 if test $ac_cv_func_malloc_get_state = yes; then | |
10354 : | |
7524 else | 10355 else |
7525 doug_lea_malloc=no | 10356 doug_lea_malloc=no |
7526 fi | 10357 fi |
7527 | 10358 |
7528 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" | 10359 { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 |
7529 if test "x$ac_cv_func_malloc_set_state" = x""yes; then : | 10360 $as_echo_n "checking for malloc_set_state... " >&6; } |
7530 | 10361 if test "${ac_cv_func_malloc_set_state+set}" = set; then |
10362 $as_echo_n "(cached) " >&6 | |
10363 else | |
10364 cat >conftest.$ac_ext <<_ACEOF | |
10365 /* confdefs.h. */ | |
10366 _ACEOF | |
10367 cat confdefs.h >>conftest.$ac_ext | |
10368 cat >>conftest.$ac_ext <<_ACEOF | |
10369 /* end confdefs.h. */ | |
10370 /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state. | |
10371 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
10372 #define malloc_set_state innocuous_malloc_set_state | |
10373 | |
10374 /* System header to define __stub macros and hopefully few prototypes, | |
10375 which can conflict with char malloc_set_state (); below. | |
10376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
10377 <limits.h> exists even on freestanding compilers. */ | |
10378 | |
10379 #ifdef __STDC__ | |
10380 # include <limits.h> | |
10381 #else | |
10382 # include <assert.h> | |
10383 #endif | |
10384 | |
10385 #undef malloc_set_state | |
10386 | |
10387 /* Override any GCC internal prototype to avoid an error. | |
10388 Use char because int might match the return type of a GCC | |
10389 builtin and then its argument prototype would still apply. */ | |
10390 #ifdef __cplusplus | |
10391 extern "C" | |
10392 #endif | |
10393 char malloc_set_state (); | |
10394 /* The GNU C library defines this for functions which it implements | |
10395 to always fail with ENOSYS. Some functions are actually named | |
10396 something starting with __ and the normal name is an alias. */ | |
10397 #if defined __stub_malloc_set_state || defined __stub___malloc_set_state | |
10398 choke me | |
10399 #endif | |
10400 | |
10401 int | |
10402 main () | |
10403 { | |
10404 return malloc_set_state (); | |
10405 ; | |
10406 return 0; | |
10407 } | |
10408 _ACEOF | |
10409 rm -f conftest.$ac_objext conftest$ac_exeext | |
10410 if { (ac_try="$ac_link" | |
10411 case "(($ac_try" in | |
10412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10413 *) ac_try_echo=$ac_try;; | |
10414 esac | |
10415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10416 $as_echo "$ac_try_echo") >&5 | |
10417 (eval "$ac_link") 2>conftest.er1 | |
10418 ac_status=$? | |
10419 grep -v '^ *+' conftest.er1 >conftest.err | |
10420 rm -f conftest.er1 | |
10421 cat conftest.err >&5 | |
10422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10423 (exit $ac_status); } && { | |
10424 test -z "$ac_c_werror_flag" || | |
10425 test ! -s conftest.err | |
10426 } && test -s conftest$ac_exeext && { | |
10427 test "$cross_compiling" = yes || | |
10428 $as_test_x conftest$ac_exeext | |
10429 }; then | |
10430 ac_cv_func_malloc_set_state=yes | |
10431 else | |
10432 $as_echo "$as_me: failed program was:" >&5 | |
10433 sed 's/^/| /' conftest.$ac_ext >&5 | |
10434 | |
10435 ac_cv_func_malloc_set_state=no | |
10436 fi | |
10437 | |
10438 rm -rf conftest.dSYM | |
10439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10440 conftest$ac_exeext conftest.$ac_ext | |
10441 fi | |
10442 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | |
10443 $as_echo "$ac_cv_func_malloc_set_state" >&6; } | |
10444 if test $ac_cv_func_malloc_set_state = yes; then | |
10445 : | |
7531 else | 10446 else |
7532 doug_lea_malloc=no | 10447 doug_lea_malloc=no |
7533 fi | 10448 fi |
7534 | 10449 |
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 | 10450 { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 |
7536 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } | 10451 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } |
7537 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : | 10452 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
7538 $as_echo_n "(cached) " >&6 | 10453 $as_echo_n "(cached) " >&6 |
7539 else | 10454 else |
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10455 cat >conftest.$ac_ext <<_ACEOF |
10456 /* confdefs.h. */ | |
10457 _ACEOF | |
10458 cat confdefs.h >>conftest.$ac_ext | |
10459 cat >>conftest.$ac_ext <<_ACEOF | |
7541 /* end confdefs.h. */ | 10460 /* end confdefs.h. */ |
7542 extern void (* __after_morecore_hook)(); | 10461 extern void (* __after_morecore_hook)(); |
7543 int | 10462 int |
7544 main () | 10463 main () |
7545 { | 10464 { |
7546 __after_morecore_hook = 0 | 10465 __after_morecore_hook = 0 |
7547 ; | 10466 ; |
7548 return 0; | 10467 return 0; |
7549 } | 10468 } |
7550 _ACEOF | 10469 _ACEOF |
7551 if ac_fn_c_try_link "$LINENO"; then : | 10470 rm -f conftest.$ac_objext conftest$ac_exeext |
10471 if { (ac_try="$ac_link" | |
10472 case "(($ac_try" in | |
10473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10474 *) ac_try_echo=$ac_try;; | |
10475 esac | |
10476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10477 $as_echo "$ac_try_echo") >&5 | |
10478 (eval "$ac_link") 2>conftest.er1 | |
10479 ac_status=$? | |
10480 grep -v '^ *+' conftest.er1 >conftest.err | |
10481 rm -f conftest.er1 | |
10482 cat conftest.err >&5 | |
10483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10484 (exit $ac_status); } && { | |
10485 test -z "$ac_c_werror_flag" || | |
10486 test ! -s conftest.err | |
10487 } && test -s conftest$ac_exeext && { | |
10488 test "$cross_compiling" = yes || | |
10489 $as_test_x conftest$ac_exeext | |
10490 }; then | |
7552 emacs_cv_var___after_morecore_hook=yes | 10491 emacs_cv_var___after_morecore_hook=yes |
7553 else | 10492 else |
7554 emacs_cv_var___after_morecore_hook=no | 10493 $as_echo "$as_me: failed program was:" >&5 |
7555 fi | 10494 sed 's/^/| /' conftest.$ac_ext >&5 |
7556 rm -f core conftest.err conftest.$ac_objext \ | 10495 |
7557 conftest$ac_exeext conftest.$ac_ext | 10496 emacs_cv_var___after_morecore_hook=no |
7558 fi | 10497 fi |
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5 | 10498 |
10499 rm -rf conftest.dSYM | |
10500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10501 conftest$ac_exeext conftest.$ac_ext | |
10502 fi | |
10503 { $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 | |
7560 $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } | 10504 $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } |
7561 if test $emacs_cv_var___after_morecore_hook = no; then | 10505 if test $emacs_cv_var___after_morecore_hook = no; then |
7562 doug_lea_malloc=no | 10506 doug_lea_malloc=no |
7563 fi | 10507 fi |
7564 if test "${system_malloc}" = "yes"; then | 10508 if test "${system_malloc}" = "yes"; then |
7570 if test "$GNU_MALLOC" = yes ; then | 10514 if test "$GNU_MALLOC" = yes ; then |
7571 GNU_MALLOC_reason=" | 10515 GNU_MALLOC_reason=" |
7572 (Using Doug Lea's new malloc from the GNU C Library.)" | 10516 (Using Doug Lea's new malloc from the GNU C Library.)" |
7573 fi | 10517 fi |
7574 | 10518 |
7575 $as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h | 10519 cat >>confdefs.h <<\_ACEOF |
10520 #define DOUG_LEA_MALLOC 1 | |
10521 _ACEOF | |
7576 | 10522 |
7577 fi | 10523 fi |
7578 | 10524 |
7579 if test x"${REL_ALLOC}" = x; then | 10525 if test x"${REL_ALLOC}" = x; then |
7580 REL_ALLOC=${GNU_MALLOC} | 10526 REL_ALLOC=${GNU_MALLOC} |
7581 fi | 10527 fi |
7582 | 10528 |
7583 | 10529 |
7584 | 10530 |
7585 | 10531 |
7586 | 10532 for ac_header in stdlib.h unistd.h |
7587 for ac_header in $ac_header_list | 10533 do |
7588 do : | 10534 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7590 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 10536 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7591 " | 10537 $as_echo_n "checking for $ac_header... " >&6; } |
7592 eval as_val=\$$as_ac_Header | 10538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7593 if test "x$as_val" = x""yes; then : | 10539 $as_echo_n "(cached) " >&6 |
10540 fi | |
10541 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
10542 $as_echo "$as_val"'` | |
10543 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10544 $as_echo "$ac_res" >&6; } | |
10545 else | |
10546 # Is the header compilable? | |
10547 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
10548 $as_echo_n "checking $ac_header usability... " >&6; } | |
10549 cat >conftest.$ac_ext <<_ACEOF | |
10550 /* confdefs.h. */ | |
10551 _ACEOF | |
10552 cat confdefs.h >>conftest.$ac_ext | |
10553 cat >>conftest.$ac_ext <<_ACEOF | |
10554 /* end confdefs.h. */ | |
10555 $ac_includes_default | |
10556 #include <$ac_header> | |
10557 _ACEOF | |
10558 rm -f conftest.$ac_objext | |
10559 if { (ac_try="$ac_compile" | |
10560 case "(($ac_try" in | |
10561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10562 *) ac_try_echo=$ac_try;; | |
10563 esac | |
10564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10565 $as_echo "$ac_try_echo") >&5 | |
10566 (eval "$ac_compile") 2>conftest.er1 | |
10567 ac_status=$? | |
10568 grep -v '^ *+' conftest.er1 >conftest.err | |
10569 rm -f conftest.er1 | |
10570 cat conftest.err >&5 | |
10571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10572 (exit $ac_status); } && { | |
10573 test -z "$ac_c_werror_flag" || | |
10574 test ! -s conftest.err | |
10575 } && test -s conftest.$ac_objext; then | |
10576 ac_header_compiler=yes | |
10577 else | |
10578 $as_echo "$as_me: failed program was:" >&5 | |
10579 sed 's/^/| /' conftest.$ac_ext >&5 | |
10580 | |
10581 ac_header_compiler=no | |
10582 fi | |
10583 | |
10584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
10585 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
10586 $as_echo "$ac_header_compiler" >&6; } | |
10587 | |
10588 # Is the header present? | |
10589 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
10590 $as_echo_n "checking $ac_header presence... " >&6; } | |
10591 cat >conftest.$ac_ext <<_ACEOF | |
10592 /* confdefs.h. */ | |
10593 _ACEOF | |
10594 cat confdefs.h >>conftest.$ac_ext | |
10595 cat >>conftest.$ac_ext <<_ACEOF | |
10596 /* end confdefs.h. */ | |
10597 #include <$ac_header> | |
10598 _ACEOF | |
10599 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
10600 case "(($ac_try" in | |
10601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10602 *) ac_try_echo=$ac_try;; | |
10603 esac | |
10604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10605 $as_echo "$ac_try_echo") >&5 | |
10606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
10607 ac_status=$? | |
10608 grep -v '^ *+' conftest.er1 >conftest.err | |
10609 rm -f conftest.er1 | |
10610 cat conftest.err >&5 | |
10611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10612 (exit $ac_status); } >/dev/null && { | |
10613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
10614 test ! -s conftest.err | |
10615 }; then | |
10616 ac_header_preproc=yes | |
10617 else | |
10618 $as_echo "$as_me: failed program was:" >&5 | |
10619 sed 's/^/| /' conftest.$ac_ext >&5 | |
10620 | |
10621 ac_header_preproc=no | |
10622 fi | |
10623 | |
10624 rm -f conftest.err conftest.$ac_ext | |
10625 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
10626 $as_echo "$ac_header_preproc" >&6; } | |
10627 | |
10628 # So? What about this header? | |
10629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
10630 yes:no: ) | |
10631 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
10632 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
10633 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
10634 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
10635 ac_header_preproc=yes | |
10636 ;; | |
10637 no:yes:* ) | |
10638 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
10639 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
10640 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
10641 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
10642 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
10643 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
10644 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
10645 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
10646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
10647 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
10648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
10649 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
10650 | |
10651 ;; | |
10652 esac | |
10653 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
10654 $as_echo_n "checking for $ac_header... " >&6; } | |
10655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
10656 $as_echo_n "(cached) " >&6 | |
10657 else | |
10658 eval "$as_ac_Header=\$ac_header_preproc" | |
10659 fi | |
10660 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
10661 $as_echo "$as_val"'` | |
10662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10663 $as_echo "$ac_res" >&6; } | |
10664 | |
10665 fi | |
10666 if test `eval 'as_val=${'$as_ac_Header'} | |
10667 $as_echo "$as_val"'` = yes; then | |
7594 cat >>confdefs.h <<_ACEOF | 10668 cat >>confdefs.h <<_ACEOF |
7595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7596 _ACEOF | 10670 _ACEOF |
7597 | 10671 |
7598 fi | 10672 fi |
7599 | 10673 |
7600 done | 10674 done |
7601 | 10675 |
7602 | 10676 |
7603 | |
7604 | |
7605 | |
7606 | |
7607 | |
7608 | |
7609 for ac_func in getpagesize | 10677 for ac_func in getpagesize |
7610 do : | 10678 do |
7611 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" | 10679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7612 if test "x$ac_cv_func_getpagesize" = x""yes; then : | 10680 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10681 $as_echo_n "checking for $ac_func... " >&6; } | |
10682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
10683 $as_echo_n "(cached) " >&6 | |
10684 else | |
10685 cat >conftest.$ac_ext <<_ACEOF | |
10686 /* confdefs.h. */ | |
10687 _ACEOF | |
10688 cat confdefs.h >>conftest.$ac_ext | |
10689 cat >>conftest.$ac_ext <<_ACEOF | |
10690 /* end confdefs.h. */ | |
10691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
10692 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
10693 #define $ac_func innocuous_$ac_func | |
10694 | |
10695 /* System header to define __stub macros and hopefully few prototypes, | |
10696 which can conflict with char $ac_func (); below. | |
10697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
10698 <limits.h> exists even on freestanding compilers. */ | |
10699 | |
10700 #ifdef __STDC__ | |
10701 # include <limits.h> | |
10702 #else | |
10703 # include <assert.h> | |
10704 #endif | |
10705 | |
10706 #undef $ac_func | |
10707 | |
10708 /* Override any GCC internal prototype to avoid an error. | |
10709 Use char because int might match the return type of a GCC | |
10710 builtin and then its argument prototype would still apply. */ | |
10711 #ifdef __cplusplus | |
10712 extern "C" | |
10713 #endif | |
10714 char $ac_func (); | |
10715 /* The GNU C library defines this for functions which it implements | |
10716 to always fail with ENOSYS. Some functions are actually named | |
10717 something starting with __ and the normal name is an alias. */ | |
10718 #if defined __stub_$ac_func || defined __stub___$ac_func | |
10719 choke me | |
10720 #endif | |
10721 | |
10722 int | |
10723 main () | |
10724 { | |
10725 return $ac_func (); | |
10726 ; | |
10727 return 0; | |
10728 } | |
10729 _ACEOF | |
10730 rm -f conftest.$ac_objext conftest$ac_exeext | |
10731 if { (ac_try="$ac_link" | |
10732 case "(($ac_try" in | |
10733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10734 *) ac_try_echo=$ac_try;; | |
10735 esac | |
10736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10737 $as_echo "$ac_try_echo") >&5 | |
10738 (eval "$ac_link") 2>conftest.er1 | |
10739 ac_status=$? | |
10740 grep -v '^ *+' conftest.er1 >conftest.err | |
10741 rm -f conftest.er1 | |
10742 cat conftest.err >&5 | |
10743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10744 (exit $ac_status); } && { | |
10745 test -z "$ac_c_werror_flag" || | |
10746 test ! -s conftest.err | |
10747 } && test -s conftest$ac_exeext && { | |
10748 test "$cross_compiling" = yes || | |
10749 $as_test_x conftest$ac_exeext | |
10750 }; then | |
10751 eval "$as_ac_var=yes" | |
10752 else | |
10753 $as_echo "$as_me: failed program was:" >&5 | |
10754 sed 's/^/| /' conftest.$ac_ext >&5 | |
10755 | |
10756 eval "$as_ac_var=no" | |
10757 fi | |
10758 | |
10759 rm -rf conftest.dSYM | |
10760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10761 conftest$ac_exeext conftest.$ac_ext | |
10762 fi | |
10763 ac_res=`eval 'as_val=${'$as_ac_var'} | |
10764 $as_echo "$as_val"'` | |
10765 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10766 $as_echo "$ac_res" >&6; } | |
10767 if test `eval 'as_val=${'$as_ac_var'} | |
10768 $as_echo "$as_val"'` = yes; then | |
7613 cat >>confdefs.h <<_ACEOF | 10769 cat >>confdefs.h <<_ACEOF |
7614 #define HAVE_GETPAGESIZE 1 | 10770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7615 _ACEOF | 10771 _ACEOF |
7616 | 10772 |
7617 fi | 10773 fi |
7618 done | 10774 done |
7619 | 10775 |
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 | 10776 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5 |
7621 $as_echo_n "checking for working mmap... " >&6; } | 10777 $as_echo_n "checking for working mmap... " >&6; } |
7622 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : | 10778 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
7623 $as_echo_n "(cached) " >&6 | 10779 $as_echo_n "(cached) " >&6 |
7624 else | 10780 else |
7625 if test "$cross_compiling" = yes; then : | 10781 if test "$cross_compiling" = yes; then |
7626 ac_cv_func_mmap_fixed_mapped=no | 10782 ac_cv_func_mmap_fixed_mapped=no |
7627 else | 10783 else |
7628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10784 cat >conftest.$ac_ext <<_ACEOF |
10785 /* confdefs.h. */ | |
10786 _ACEOF | |
10787 cat confdefs.h >>conftest.$ac_ext | |
10788 cat >>conftest.$ac_ext <<_ACEOF | |
7629 /* end confdefs.h. */ | 10789 /* end confdefs.h. */ |
7630 $ac_includes_default | 10790 $ac_includes_default |
7631 /* malloc might have been renamed as rpl_malloc. */ | 10791 /* malloc might have been renamed as rpl_malloc. */ |
7632 #undef malloc | 10792 #undef malloc |
7633 | 10793 |
7660 char *malloc (); | 10820 char *malloc (); |
7661 #endif | 10821 #endif |
7662 | 10822 |
7663 /* This mess was copied from the GNU getpagesize.h. */ | 10823 /* This mess was copied from the GNU getpagesize.h. */ |
7664 #ifndef HAVE_GETPAGESIZE | 10824 #ifndef HAVE_GETPAGESIZE |
10825 /* Assume that all systems that can run configure have sys/param.h. */ | |
10826 # ifndef HAVE_SYS_PARAM_H | |
10827 # define HAVE_SYS_PARAM_H 1 | |
10828 # endif | |
10829 | |
7665 # ifdef _SC_PAGESIZE | 10830 # ifdef _SC_PAGESIZE |
7666 # define getpagesize() sysconf(_SC_PAGESIZE) | 10831 # define getpagesize() sysconf(_SC_PAGESIZE) |
7667 # else /* no _SC_PAGESIZE */ | 10832 # else /* no _SC_PAGESIZE */ |
7668 # ifdef HAVE_SYS_PARAM_H | 10833 # ifdef HAVE_SYS_PARAM_H |
7669 # include <sys/param.h> | 10834 # include <sys/param.h> |
7694 | 10859 |
7695 int | 10860 int |
7696 main () | 10861 main () |
7697 { | 10862 { |
7698 char *data, *data2, *data3; | 10863 char *data, *data2, *data3; |
7699 const char *cdata2; | |
7700 int i, pagesize; | 10864 int i, pagesize; |
7701 int fd, fd2; | 10865 int fd; |
7702 | 10866 |
7703 pagesize = getpagesize (); | 10867 pagesize = getpagesize (); |
7704 | 10868 |
7705 /* First, make a file with some known garbage in it. */ | 10869 /* First, make a file with some known garbage in it. */ |
7706 data = (char *) malloc (pagesize); | 10870 data = (char *) malloc (pagesize); |
7709 for (i = 0; i < pagesize; ++i) | 10873 for (i = 0; i < pagesize; ++i) |
7710 *(data + i) = rand (); | 10874 *(data + i) = rand (); |
7711 umask (0); | 10875 umask (0); |
7712 fd = creat ("conftest.mmap", 0600); | 10876 fd = creat ("conftest.mmap", 0600); |
7713 if (fd < 0) | 10877 if (fd < 0) |
7714 return 2; | 10878 return 1; |
7715 if (write (fd, data, pagesize) != pagesize) | 10879 if (write (fd, data, pagesize) != pagesize) |
7716 return 3; | 10880 return 1; |
7717 close (fd); | 10881 close (fd); |
7718 | |
7719 /* Next, check that the tail of a page is zero-filled. File must have | |
7720 non-zero length, otherwise we risk SIGBUS for entire page. */ | |
7721 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | |
7722 if (fd2 < 0) | |
7723 return 4; | |
7724 cdata2 = ""; | |
7725 if (write (fd2, cdata2, 1) != 1) | |
7726 return 5; | |
7727 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | |
7728 if (data2 == MAP_FAILED) | |
7729 return 6; | |
7730 for (i = 0; i < pagesize; ++i) | |
7731 if (*(data2 + i)) | |
7732 return 7; | |
7733 close (fd2); | |
7734 if (munmap (data2, pagesize)) | |
7735 return 8; | |
7736 | 10882 |
7737 /* Next, try to mmap the file at a fixed address which already has | 10883 /* Next, try to mmap the file at a fixed address which already has |
7738 something else allocated at it. If we can, also make sure that | 10884 something else allocated at it. If we can, also make sure that |
7739 we see the same garbage. */ | 10885 we see the same garbage. */ |
7740 fd = open ("conftest.mmap", O_RDWR); | 10886 fd = open ("conftest.mmap", O_RDWR); |
7741 if (fd < 0) | 10887 if (fd < 0) |
7742 return 9; | 10888 return 1; |
10889 data2 = (char *) malloc (2 * pagesize); | |
10890 if (!data2) | |
10891 return 1; | |
10892 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); | |
7743 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 10893 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
7744 MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 10894 MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
7745 return 10; | 10895 return 1; |
7746 for (i = 0; i < pagesize; ++i) | 10896 for (i = 0; i < pagesize; ++i) |
7747 if (*(data + i) != *(data2 + i)) | 10897 if (*(data + i) != *(data2 + i)) |
7748 return 11; | 10898 return 1; |
7749 | 10899 |
7750 /* Finally, make sure that changes to the mapped area do not | 10900 /* Finally, make sure that changes to the mapped area do not |
7751 percolate back to the file as seen by read(). (This is a bug on | 10901 percolate back to the file as seen by read(). (This is a bug on |
7752 some variants of i386 svr4.0.) */ | 10902 some variants of i386 svr4.0.) */ |
7753 for (i = 0; i < pagesize; ++i) | 10903 for (i = 0; i < pagesize; ++i) |
7754 *(data2 + i) = *(data2 + i) + 1; | 10904 *(data2 + i) = *(data2 + i) + 1; |
7755 data3 = (char *) malloc (pagesize); | 10905 data3 = (char *) malloc (pagesize); |
7756 if (!data3) | 10906 if (!data3) |
7757 return 12; | 10907 return 1; |
7758 if (read (fd, data3, pagesize) != pagesize) | 10908 if (read (fd, data3, pagesize) != pagesize) |
7759 return 13; | 10909 return 1; |
7760 for (i = 0; i < pagesize; ++i) | 10910 for (i = 0; i < pagesize; ++i) |
7761 if (*(data + i) != *(data3 + i)) | 10911 if (*(data + i) != *(data3 + i)) |
7762 return 14; | 10912 return 1; |
7763 close (fd); | 10913 close (fd); |
7764 return 0; | 10914 return 0; |
7765 } | 10915 } |
7766 _ACEOF | 10916 _ACEOF |
7767 if ac_fn_c_try_run "$LINENO"; then : | 10917 rm -f conftest$ac_exeext |
10918 if { (ac_try="$ac_link" | |
10919 case "(($ac_try" in | |
10920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10921 *) ac_try_echo=$ac_try;; | |
10922 esac | |
10923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10924 $as_echo "$ac_try_echo") >&5 | |
10925 (eval "$ac_link") 2>&5 | |
10926 ac_status=$? | |
10927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
10929 { (case "(($ac_try" in | |
10930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10931 *) ac_try_echo=$ac_try;; | |
10932 esac | |
10933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
10934 $as_echo "$ac_try_echo") >&5 | |
10935 (eval "$ac_try") 2>&5 | |
10936 ac_status=$? | |
10937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10938 (exit $ac_status); }; }; then | |
7768 ac_cv_func_mmap_fixed_mapped=yes | 10939 ac_cv_func_mmap_fixed_mapped=yes |
7769 else | 10940 else |
7770 ac_cv_func_mmap_fixed_mapped=no | 10941 $as_echo "$as_me: program exited with status $ac_status" >&5 |
7771 fi | 10942 $as_echo "$as_me: failed program was:" >&5 |
7772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 10943 sed 's/^/| /' conftest.$ac_ext >&5 |
7773 conftest.$ac_objext conftest.beam conftest.$ac_ext | 10944 |
7774 fi | 10945 ( exit $ac_status ) |
7775 | 10946 ac_cv_func_mmap_fixed_mapped=no |
7776 fi | 10947 fi |
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 10948 rm -rf conftest.dSYM |
10949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
10950 fi | |
10951 | |
10952 | |
10953 fi | |
10954 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | |
7778 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } | 10955 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
7779 if test $ac_cv_func_mmap_fixed_mapped = yes; then | 10956 if test $ac_cv_func_mmap_fixed_mapped = yes; then |
7780 | 10957 |
7781 $as_echo "#define HAVE_MMAP 1" >>confdefs.h | 10958 cat >>confdefs.h <<\_ACEOF |
7782 | 10959 #define HAVE_MMAP 1 |
7783 fi | 10960 _ACEOF |
7784 rm -f conftest.mmap conftest.txt | 10961 |
10962 fi | |
10963 rm -f conftest.mmap | |
7785 | 10964 |
7786 if test $use_mmap_for_buffers = yes; then | 10965 if test $use_mmap_for_buffers = yes; then |
7787 REL_ALLOC=no | 10966 REL_ALLOC=no |
7788 fi | 10967 fi |
7789 | 10968 |
7790 LIBS="$LIBS_SYSTEM $LIBS" | 10969 LIBS="$LIBS_SYSTEM $LIBS" |
7791 | 10970 |
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 | 10971 |
10972 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | |
7793 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | 10973 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
7794 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : | 10974 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
7795 $as_echo_n "(cached) " >&6 | 10975 $as_echo_n "(cached) " >&6 |
7796 else | 10976 else |
7797 ac_check_lib_save_LIBS=$LIBS | 10977 ac_check_lib_save_LIBS=$LIBS |
7798 LIBS="-ldnet $LIBS" | 10978 LIBS="-ldnet $LIBS" |
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10979 cat >conftest.$ac_ext <<_ACEOF |
10980 /* confdefs.h. */ | |
10981 _ACEOF | |
10982 cat confdefs.h >>conftest.$ac_ext | |
10983 cat >>conftest.$ac_ext <<_ACEOF | |
7800 /* end confdefs.h. */ | 10984 /* end confdefs.h. */ |
7801 | 10985 |
7802 /* Override any GCC internal prototype to avoid an error. | 10986 /* Override any GCC internal prototype to avoid an error. |
7803 Use char because int might match the return type of a GCC | 10987 Use char because int might match the return type of a GCC |
7804 builtin and then its argument prototype would still apply. */ | 10988 builtin and then its argument prototype would still apply. */ |
7812 return dnet_ntoa (); | 10996 return dnet_ntoa (); |
7813 ; | 10997 ; |
7814 return 0; | 10998 return 0; |
7815 } | 10999 } |
7816 _ACEOF | 11000 _ACEOF |
7817 if ac_fn_c_try_link "$LINENO"; then : | 11001 rm -f conftest.$ac_objext conftest$ac_exeext |
11002 if { (ac_try="$ac_link" | |
11003 case "(($ac_try" in | |
11004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11005 *) ac_try_echo=$ac_try;; | |
11006 esac | |
11007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11008 $as_echo "$ac_try_echo") >&5 | |
11009 (eval "$ac_link") 2>conftest.er1 | |
11010 ac_status=$? | |
11011 grep -v '^ *+' conftest.er1 >conftest.err | |
11012 rm -f conftest.er1 | |
11013 cat conftest.err >&5 | |
11014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11015 (exit $ac_status); } && { | |
11016 test -z "$ac_c_werror_flag" || | |
11017 test ! -s conftest.err | |
11018 } && test -s conftest$ac_exeext && { | |
11019 test "$cross_compiling" = yes || | |
11020 $as_test_x conftest$ac_exeext | |
11021 }; then | |
7818 ac_cv_lib_dnet_dnet_ntoa=yes | 11022 ac_cv_lib_dnet_dnet_ntoa=yes |
7819 else | 11023 else |
7820 ac_cv_lib_dnet_dnet_ntoa=no | 11024 $as_echo "$as_me: failed program was:" >&5 |
7821 fi | 11025 sed 's/^/| /' conftest.$ac_ext >&5 |
7822 rm -f core conftest.err conftest.$ac_objext \ | 11026 |
7823 conftest$ac_exeext conftest.$ac_ext | 11027 ac_cv_lib_dnet_dnet_ntoa=no |
11028 fi | |
11029 | |
11030 rm -rf conftest.dSYM | |
11031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11032 conftest$ac_exeext conftest.$ac_ext | |
7824 LIBS=$ac_check_lib_save_LIBS | 11033 LIBS=$ac_check_lib_save_LIBS |
7825 fi | 11034 fi |
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 11035 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
7827 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } | 11036 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
7828 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : | 11037 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
7829 cat >>confdefs.h <<_ACEOF | 11038 cat >>confdefs.h <<_ACEOF |
7830 #define HAVE_LIBDNET 1 | 11039 #define HAVE_LIBDNET 1 |
7831 _ACEOF | 11040 _ACEOF |
7832 | 11041 |
7833 LIBS="-ldnet $LIBS" | 11042 LIBS="-ldnet $LIBS" |
7834 | 11043 |
7835 fi | 11044 fi |
7836 | 11045 |
7837 | 11046 |
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 | 11047 { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 |
7839 $as_echo_n "checking for main in -lXbsd... " >&6; } | 11048 $as_echo_n "checking for main in -lXbsd... " >&6; } |
7840 if test "${ac_cv_lib_Xbsd_main+set}" = set; then : | 11049 if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
7841 $as_echo_n "(cached) " >&6 | 11050 $as_echo_n "(cached) " >&6 |
7842 else | 11051 else |
7843 ac_check_lib_save_LIBS=$LIBS | 11052 ac_check_lib_save_LIBS=$LIBS |
7844 LIBS="-lXbsd $LIBS" | 11053 LIBS="-lXbsd $LIBS" |
7845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11054 cat >conftest.$ac_ext <<_ACEOF |
11055 /* confdefs.h. */ | |
11056 _ACEOF | |
11057 cat confdefs.h >>conftest.$ac_ext | |
11058 cat >>conftest.$ac_ext <<_ACEOF | |
7846 /* end confdefs.h. */ | 11059 /* end confdefs.h. */ |
7847 | 11060 |
7848 | 11061 |
7849 int | 11062 int |
7850 main () | 11063 main () |
7852 return main (); | 11065 return main (); |
7853 ; | 11066 ; |
7854 return 0; | 11067 return 0; |
7855 } | 11068 } |
7856 _ACEOF | 11069 _ACEOF |
7857 if ac_fn_c_try_link "$LINENO"; then : | 11070 rm -f conftest.$ac_objext conftest$ac_exeext |
11071 if { (ac_try="$ac_link" | |
11072 case "(($ac_try" in | |
11073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11074 *) ac_try_echo=$ac_try;; | |
11075 esac | |
11076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11077 $as_echo "$ac_try_echo") >&5 | |
11078 (eval "$ac_link") 2>conftest.er1 | |
11079 ac_status=$? | |
11080 grep -v '^ *+' conftest.er1 >conftest.err | |
11081 rm -f conftest.er1 | |
11082 cat conftest.err >&5 | |
11083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11084 (exit $ac_status); } && { | |
11085 test -z "$ac_c_werror_flag" || | |
11086 test ! -s conftest.err | |
11087 } && test -s conftest$ac_exeext && { | |
11088 test "$cross_compiling" = yes || | |
11089 $as_test_x conftest$ac_exeext | |
11090 }; then | |
7858 ac_cv_lib_Xbsd_main=yes | 11091 ac_cv_lib_Xbsd_main=yes |
7859 else | 11092 else |
7860 ac_cv_lib_Xbsd_main=no | 11093 $as_echo "$as_me: failed program was:" >&5 |
7861 fi | 11094 sed 's/^/| /' conftest.$ac_ext >&5 |
7862 rm -f core conftest.err conftest.$ac_objext \ | 11095 |
7863 conftest$ac_exeext conftest.$ac_ext | 11096 ac_cv_lib_Xbsd_main=no |
11097 fi | |
11098 | |
11099 rm -rf conftest.dSYM | |
11100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11101 conftest$ac_exeext conftest.$ac_ext | |
7864 LIBS=$ac_check_lib_save_LIBS | 11102 LIBS=$ac_check_lib_save_LIBS |
7865 fi | 11103 fi |
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 | 11104 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 |
7867 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } | 11105 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } |
7868 if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : | 11106 if test $ac_cv_lib_Xbsd_main = yes; then |
7869 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 11107 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
7870 fi | 11108 fi |
7871 | 11109 |
7872 | 11110 |
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 | 11111 |
11112 { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | |
7874 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } | 11113 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
7875 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : | 11114 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
7876 $as_echo_n "(cached) " >&6 | 11115 $as_echo_n "(cached) " >&6 |
7877 else | 11116 else |
7878 ac_check_lib_save_LIBS=$LIBS | 11117 ac_check_lib_save_LIBS=$LIBS |
7879 LIBS="-lpthreads $LIBS" | 11118 LIBS="-lpthreads $LIBS" |
7880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11119 cat >conftest.$ac_ext <<_ACEOF |
11120 /* confdefs.h. */ | |
11121 _ACEOF | |
11122 cat confdefs.h >>conftest.$ac_ext | |
11123 cat >>conftest.$ac_ext <<_ACEOF | |
7881 /* end confdefs.h. */ | 11124 /* end confdefs.h. */ |
7882 | 11125 |
7883 /* Override any GCC internal prototype to avoid an error. | 11126 /* Override any GCC internal prototype to avoid an error. |
7884 Use char because int might match the return type of a GCC | 11127 Use char because int might match the return type of a GCC |
7885 builtin and then its argument prototype would still apply. */ | 11128 builtin and then its argument prototype would still apply. */ |
7893 return cma_open (); | 11136 return cma_open (); |
7894 ; | 11137 ; |
7895 return 0; | 11138 return 0; |
7896 } | 11139 } |
7897 _ACEOF | 11140 _ACEOF |
7898 if ac_fn_c_try_link "$LINENO"; then : | 11141 rm -f conftest.$ac_objext conftest$ac_exeext |
11142 if { (ac_try="$ac_link" | |
11143 case "(($ac_try" in | |
11144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11145 *) ac_try_echo=$ac_try;; | |
11146 esac | |
11147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11148 $as_echo "$ac_try_echo") >&5 | |
11149 (eval "$ac_link") 2>conftest.er1 | |
11150 ac_status=$? | |
11151 grep -v '^ *+' conftest.er1 >conftest.err | |
11152 rm -f conftest.er1 | |
11153 cat conftest.err >&5 | |
11154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11155 (exit $ac_status); } && { | |
11156 test -z "$ac_c_werror_flag" || | |
11157 test ! -s conftest.err | |
11158 } && test -s conftest$ac_exeext && { | |
11159 test "$cross_compiling" = yes || | |
11160 $as_test_x conftest$ac_exeext | |
11161 }; then | |
7899 ac_cv_lib_pthreads_cma_open=yes | 11162 ac_cv_lib_pthreads_cma_open=yes |
7900 else | 11163 else |
7901 ac_cv_lib_pthreads_cma_open=no | 11164 $as_echo "$as_me: failed program was:" >&5 |
7902 fi | 11165 sed 's/^/| /' conftest.$ac_ext >&5 |
7903 rm -f core conftest.err conftest.$ac_objext \ | 11166 |
7904 conftest$ac_exeext conftest.$ac_ext | 11167 ac_cv_lib_pthreads_cma_open=no |
11168 fi | |
11169 | |
11170 rm -rf conftest.dSYM | |
11171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11172 conftest$ac_exeext conftest.$ac_ext | |
7905 LIBS=$ac_check_lib_save_LIBS | 11173 LIBS=$ac_check_lib_save_LIBS |
7906 fi | 11174 fi |
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 | 11175 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 |
7908 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } | 11176 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } |
7909 if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : | 11177 if test $ac_cv_lib_pthreads_cma_open = yes; then |
7910 cat >>confdefs.h <<_ACEOF | 11178 cat >>confdefs.h <<_ACEOF |
7911 #define HAVE_LIBPTHREADS 1 | 11179 #define HAVE_LIBPTHREADS 1 |
7912 _ACEOF | 11180 _ACEOF |
7913 | 11181 |
7914 LIBS="-lpthreads $LIBS" | 11182 LIBS="-lpthreads $LIBS" |
7929 LIBS_SYSTEM="$LIBS_SYSTEM -lpthreads" | 11197 LIBS_SYSTEM="$LIBS_SYSTEM -lpthreads" |
7930 | 11198 |
7931 | 11199 |
7932 case ${host_os} in | 11200 case ${host_os} in |
7933 aix*) | 11201 aix*) |
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 | 11202 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 |
7935 $as_echo_n "checking for -bbigtoc option... " >&6; } | 11203 $as_echo_n "checking for -bbigtoc option... " >&6; } |
7936 if test "${gdb_cv_bigtoc+set}" = set; then : | 11204 if test "${gdb_cv_bigtoc+set}" = set; then |
7937 $as_echo_n "(cached) " >&6 | 11205 $as_echo_n "(cached) " >&6 |
7938 else | 11206 else |
7939 | 11207 |
7940 case $GCC in | 11208 case $GCC in |
7941 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; | 11209 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; |
7942 *) gdb_cv_bigtoc=-bbigtoc ;; | 11210 *) gdb_cv_bigtoc=-bbigtoc ;; |
7943 esac | 11211 esac |
7944 | 11212 |
7945 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc | 11213 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc |
7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11214 cat >conftest.$ac_ext <<_ACEOF |
11215 /* confdefs.h. */ | |
11216 _ACEOF | |
11217 cat confdefs.h >>conftest.$ac_ext | |
11218 cat >>conftest.$ac_ext <<_ACEOF | |
7947 /* end confdefs.h. */ | 11219 /* end confdefs.h. */ |
7948 | 11220 |
7949 int | 11221 int |
7950 main () | 11222 main () |
7951 { | 11223 { |
7952 int i; | 11224 int i; |
7953 ; | 11225 ; |
7954 return 0; | 11226 return 0; |
7955 } | 11227 } |
7956 _ACEOF | 11228 _ACEOF |
7957 if ac_fn_c_try_link "$LINENO"; then : | 11229 rm -f conftest.$ac_objext conftest$ac_exeext |
7958 | 11230 if { (ac_try="$ac_link" |
7959 else | 11231 case "(($ac_try" in |
7960 gdb_cv_bigtoc= | 11232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7961 fi | 11233 *) ac_try_echo=$ac_try;; |
7962 rm -f core conftest.err conftest.$ac_objext \ | 11234 esac |
7963 conftest$ac_exeext conftest.$ac_ext | 11235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7964 | 11236 $as_echo "$ac_try_echo") >&5 |
7965 fi | 11237 (eval "$ac_link") 2>conftest.er1 |
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5 | 11238 ac_status=$? |
11239 grep -v '^ *+' conftest.er1 >conftest.err | |
11240 rm -f conftest.er1 | |
11241 cat conftest.err >&5 | |
11242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11243 (exit $ac_status); } && { | |
11244 test -z "$ac_c_werror_flag" || | |
11245 test ! -s conftest.err | |
11246 } && test -s conftest$ac_exeext && { | |
11247 test "$cross_compiling" = yes || | |
11248 $as_test_x conftest$ac_exeext | |
11249 }; then | |
11250 : | |
11251 else | |
11252 $as_echo "$as_me: failed program was:" >&5 | |
11253 sed 's/^/| /' conftest.$ac_ext >&5 | |
11254 | |
11255 gdb_cv_bigtoc= | |
11256 fi | |
11257 | |
11258 rm -rf conftest.dSYM | |
11259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11260 conftest$ac_exeext conftest.$ac_ext | |
11261 | |
11262 fi | |
11263 { $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 | |
7967 $as_echo "$gdb_cv_bigtoc" >&6; } | 11264 $as_echo "$gdb_cv_bigtoc" >&6; } |
7968 ;; | 11265 ;; |
7969 esac | 11266 esac |
7970 | 11267 |
7971 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets | 11268 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets |
7989 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH | 11286 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH |
7990 export LD_RUN_PATH | 11287 export LD_RUN_PATH |
7991 fi | 11288 fi |
7992 | 11289 |
7993 if test "${opsys}" = "gnu-linux"; then | 11290 if test "${opsys}" = "gnu-linux"; then |
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5 | 11291 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 |
7995 $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } | 11292 $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } |
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11293 cat >conftest.$ac_ext <<_ACEOF |
11294 /* confdefs.h. */ | |
11295 _ACEOF | |
11296 cat confdefs.h >>conftest.$ac_ext | |
11297 cat >>conftest.$ac_ext <<_ACEOF | |
7997 /* end confdefs.h. */ | 11298 /* end confdefs.h. */ |
7998 | 11299 |
7999 int | 11300 int |
8000 main () | 11301 main () |
8001 { | 11302 { |
8002 XOpenDisplay ("foo"); | 11303 XOpenDisplay ("foo"); |
8003 ; | 11304 ; |
8004 return 0; | 11305 return 0; |
8005 } | 11306 } |
8006 _ACEOF | 11307 _ACEOF |
8007 if ac_fn_c_try_link "$LINENO"; then : | 11308 rm -f conftest.$ac_objext conftest$ac_exeext |
11309 if { (ac_try="$ac_link" | |
11310 case "(($ac_try" in | |
11311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11312 *) ac_try_echo=$ac_try;; | |
11313 esac | |
11314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11315 $as_echo "$ac_try_echo") >&5 | |
11316 (eval "$ac_link") 2>conftest.er1 | |
11317 ac_status=$? | |
11318 grep -v '^ *+' conftest.er1 >conftest.err | |
11319 rm -f conftest.er1 | |
11320 cat conftest.err >&5 | |
11321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11322 (exit $ac_status); } && { | |
11323 test -z "$ac_c_werror_flag" || | |
11324 test ! -s conftest.err | |
11325 } && test -s conftest$ac_exeext && { | |
11326 test "$cross_compiling" = yes || | |
11327 $as_test_x conftest$ac_exeext | |
11328 }; then | |
8008 xlinux_first_failure=no | 11329 xlinux_first_failure=no |
8009 else | 11330 else |
8010 xlinux_first_failure=yes | 11331 $as_echo "$as_me: failed program was:" >&5 |
8011 fi | 11332 sed 's/^/| /' conftest.$ac_ext >&5 |
8012 rm -f core conftest.err conftest.$ac_objext \ | 11333 |
8013 conftest$ac_exeext conftest.$ac_ext | 11334 xlinux_first_failure=yes |
11335 fi | |
11336 | |
11337 rm -rf conftest.dSYM | |
11338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11339 conftest$ac_exeext conftest.$ac_ext | |
8014 if test "${xlinux_first_failure}" = "yes"; then | 11340 if test "${xlinux_first_failure}" = "yes"; then |
8015 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 11341 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
8016 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" | 11342 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" |
8017 OLD_CPPFLAGS="$CPPFLAGS" | 11343 OLD_CPPFLAGS="$CPPFLAGS" |
8018 OLD_LIBS="$LIBS" | 11344 OLD_LIBS="$LIBS" |
8019 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 11345 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
8020 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 11346 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
8021 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 11347 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
8022 LIBS="$LIBS -b i486-linuxaout" | 11348 LIBS="$LIBS -b i486-linuxaout" |
8023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11349 cat >conftest.$ac_ext <<_ACEOF |
11350 /* confdefs.h. */ | |
11351 _ACEOF | |
11352 cat confdefs.h >>conftest.$ac_ext | |
11353 cat >>conftest.$ac_ext <<_ACEOF | |
8024 /* end confdefs.h. */ | 11354 /* end confdefs.h. */ |
8025 | 11355 |
8026 int | 11356 int |
8027 main () | 11357 main () |
8028 { | 11358 { |
8029 XOpenDisplay ("foo"); | 11359 XOpenDisplay ("foo"); |
8030 ; | 11360 ; |
8031 return 0; | 11361 return 0; |
8032 } | 11362 } |
8033 _ACEOF | 11363 _ACEOF |
8034 if ac_fn_c_try_link "$LINENO"; then : | 11364 rm -f conftest.$ac_objext conftest$ac_exeext |
11365 if { (ac_try="$ac_link" | |
11366 case "(($ac_try" in | |
11367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11368 *) ac_try_echo=$ac_try;; | |
11369 esac | |
11370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11371 $as_echo "$ac_try_echo") >&5 | |
11372 (eval "$ac_link") 2>conftest.er1 | |
11373 ac_status=$? | |
11374 grep -v '^ *+' conftest.er1 >conftest.err | |
11375 rm -f conftest.er1 | |
11376 cat conftest.err >&5 | |
11377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11378 (exit $ac_status); } && { | |
11379 test -z "$ac_c_werror_flag" || | |
11380 test ! -s conftest.err | |
11381 } && test -s conftest$ac_exeext && { | |
11382 test "$cross_compiling" = yes || | |
11383 $as_test_x conftest$ac_exeext | |
11384 }; then | |
8035 xlinux_second_failure=no | 11385 xlinux_second_failure=no |
8036 else | 11386 else |
8037 xlinux_second_failure=yes | 11387 $as_echo "$as_me: failed program was:" >&5 |
8038 fi | 11388 sed 's/^/| /' conftest.$ac_ext >&5 |
8039 rm -f core conftest.err conftest.$ac_objext \ | 11389 |
8040 conftest$ac_exeext conftest.$ac_ext | 11390 xlinux_second_failure=yes |
11391 fi | |
11392 | |
11393 rm -rf conftest.dSYM | |
11394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11395 conftest$ac_exeext conftest.$ac_ext | |
8041 if test "${xlinux_second_failure}" = "yes"; then | 11396 if test "${xlinux_second_failure}" = "yes"; then |
8042 # If we get the same failure with -b, there is no use adding -b. | 11397 # If we get the same failure with -b, there is no use adding -b. |
8043 # So take it out. This plays safe. | 11398 # So take it out. This plays safe. |
8044 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" | 11399 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" |
8045 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 11400 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
8046 CPPFLAGS="$OLD_CPPFLAGS" | 11401 CPPFLAGS="$OLD_CPPFLAGS" |
8047 LIBS="$OLD_LIBS" | 11402 LIBS="$OLD_LIBS" |
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11403 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8049 $as_echo "no" >&6; } | 11404 $as_echo "no" >&6; } |
8050 else | 11405 else |
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11406 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
8052 $as_echo "yes" >&6; } | 11407 $as_echo "yes" >&6; } |
8053 fi | 11408 fi |
8054 else | 11409 else |
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11410 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8056 $as_echo "no" >&6; } | 11411 $as_echo "no" >&6; } |
8057 fi | 11412 fi |
8058 fi | 11413 fi |
8059 | 11414 |
8060 # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 11415 # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
8061 # header files included from there. | 11416 # header files included from there. |
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5 | 11417 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 |
8063 $as_echo_n "checking for Xkb... " >&6; } | 11418 $as_echo_n "checking for Xkb... " >&6; } |
8064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11419 cat >conftest.$ac_ext <<_ACEOF |
11420 /* confdefs.h. */ | |
11421 _ACEOF | |
11422 cat confdefs.h >>conftest.$ac_ext | |
11423 cat >>conftest.$ac_ext <<_ACEOF | |
8065 /* end confdefs.h. */ | 11424 /* end confdefs.h. */ |
8066 #include <X11/Xlib.h> | 11425 #include <X11/Xlib.h> |
8067 #include <X11/XKBlib.h> | 11426 #include <X11/XKBlib.h> |
8068 int | 11427 int |
8069 main () | 11428 main () |
8071 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); | 11430 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); |
8072 ; | 11431 ; |
8073 return 0; | 11432 return 0; |
8074 } | 11433 } |
8075 _ACEOF | 11434 _ACEOF |
8076 if ac_fn_c_try_link "$LINENO"; then : | 11435 rm -f conftest.$ac_objext conftest$ac_exeext |
11436 if { (ac_try="$ac_link" | |
11437 case "(($ac_try" in | |
11438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11439 *) ac_try_echo=$ac_try;; | |
11440 esac | |
11441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11442 $as_echo "$ac_try_echo") >&5 | |
11443 (eval "$ac_link") 2>conftest.er1 | |
11444 ac_status=$? | |
11445 grep -v '^ *+' conftest.er1 >conftest.err | |
11446 rm -f conftest.er1 | |
11447 cat conftest.err >&5 | |
11448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11449 (exit $ac_status); } && { | |
11450 test -z "$ac_c_werror_flag" || | |
11451 test ! -s conftest.err | |
11452 } && test -s conftest$ac_exeext && { | |
11453 test "$cross_compiling" = yes || | |
11454 $as_test_x conftest$ac_exeext | |
11455 }; then | |
8077 emacs_xkb=yes | 11456 emacs_xkb=yes |
8078 else | 11457 else |
8079 emacs_xkb=no | 11458 $as_echo "$as_me: failed program was:" >&5 |
8080 fi | 11459 sed 's/^/| /' conftest.$ac_ext >&5 |
8081 rm -f core conftest.err conftest.$ac_objext \ | 11460 |
8082 conftest$ac_exeext conftest.$ac_ext | 11461 emacs_xkb=no |
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5 | 11462 fi |
11463 | |
11464 rm -rf conftest.dSYM | |
11465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11466 conftest$ac_exeext conftest.$ac_ext | |
11467 { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | |
8084 $as_echo "$emacs_xkb" >&6; } | 11468 $as_echo "$emacs_xkb" >&6; } |
8085 if test $emacs_xkb = yes; then | 11469 if test $emacs_xkb = yes; then |
8086 | 11470 |
8087 $as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h | 11471 cat >>confdefs.h <<\_ACEOF |
11472 #define HAVE_XKBGETKEYBOARD 1 | |
11473 _ACEOF | |
8088 | 11474 |
8089 fi | 11475 fi |
8090 | 11476 |
8091 for ac_func in XrmSetDatabase XScreenResourceString \ | 11477 |
11478 | |
11479 | |
11480 | |
11481 for ac_func in XrmSetDatabase XScreenResourceString \ | |
8092 XScreenNumberOfScreen XSetWMProtocols | 11482 XScreenNumberOfScreen XSetWMProtocols |
8093 do : | 11483 do |
8094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11485 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8096 eval as_val=\$$as_ac_var | 11486 $as_echo_n "checking for $ac_func... " >&6; } |
8097 if test "x$as_val" = x""yes; then : | 11487 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11488 $as_echo_n "(cached) " >&6 | |
11489 else | |
11490 cat >conftest.$ac_ext <<_ACEOF | |
11491 /* confdefs.h. */ | |
11492 _ACEOF | |
11493 cat confdefs.h >>conftest.$ac_ext | |
11494 cat >>conftest.$ac_ext <<_ACEOF | |
11495 /* end confdefs.h. */ | |
11496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
11497 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
11498 #define $ac_func innocuous_$ac_func | |
11499 | |
11500 /* System header to define __stub macros and hopefully few prototypes, | |
11501 which can conflict with char $ac_func (); below. | |
11502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
11503 <limits.h> exists even on freestanding compilers. */ | |
11504 | |
11505 #ifdef __STDC__ | |
11506 # include <limits.h> | |
11507 #else | |
11508 # include <assert.h> | |
11509 #endif | |
11510 | |
11511 #undef $ac_func | |
11512 | |
11513 /* Override any GCC internal prototype to avoid an error. | |
11514 Use char because int might match the return type of a GCC | |
11515 builtin and then its argument prototype would still apply. */ | |
11516 #ifdef __cplusplus | |
11517 extern "C" | |
11518 #endif | |
11519 char $ac_func (); | |
11520 /* The GNU C library defines this for functions which it implements | |
11521 to always fail with ENOSYS. Some functions are actually named | |
11522 something starting with __ and the normal name is an alias. */ | |
11523 #if defined __stub_$ac_func || defined __stub___$ac_func | |
11524 choke me | |
11525 #endif | |
11526 | |
11527 int | |
11528 main () | |
11529 { | |
11530 return $ac_func (); | |
11531 ; | |
11532 return 0; | |
11533 } | |
11534 _ACEOF | |
11535 rm -f conftest.$ac_objext conftest$ac_exeext | |
11536 if { (ac_try="$ac_link" | |
11537 case "(($ac_try" in | |
11538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11539 *) ac_try_echo=$ac_try;; | |
11540 esac | |
11541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11542 $as_echo "$ac_try_echo") >&5 | |
11543 (eval "$ac_link") 2>conftest.er1 | |
11544 ac_status=$? | |
11545 grep -v '^ *+' conftest.er1 >conftest.err | |
11546 rm -f conftest.er1 | |
11547 cat conftest.err >&5 | |
11548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11549 (exit $ac_status); } && { | |
11550 test -z "$ac_c_werror_flag" || | |
11551 test ! -s conftest.err | |
11552 } && test -s conftest$ac_exeext && { | |
11553 test "$cross_compiling" = yes || | |
11554 $as_test_x conftest$ac_exeext | |
11555 }; then | |
11556 eval "$as_ac_var=yes" | |
11557 else | |
11558 $as_echo "$as_me: failed program was:" >&5 | |
11559 sed 's/^/| /' conftest.$ac_ext >&5 | |
11560 | |
11561 eval "$as_ac_var=no" | |
11562 fi | |
11563 | |
11564 rm -rf conftest.dSYM | |
11565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11566 conftest$ac_exeext conftest.$ac_ext | |
11567 fi | |
11568 ac_res=`eval 'as_val=${'$as_ac_var'} | |
11569 $as_echo "$as_val"'` | |
11570 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11571 $as_echo "$ac_res" >&6; } | |
11572 if test `eval 'as_val=${'$as_ac_var'} | |
11573 $as_echo "$as_val"'` = yes; then | |
8098 cat >>confdefs.h <<_ACEOF | 11574 cat >>confdefs.h <<_ACEOF |
8099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8100 _ACEOF | 11576 _ACEOF |
8101 | 11577 |
8102 fi | 11578 fi |
8103 done | 11579 done |
8104 | 11580 |
8105 fi | 11581 fi |
8106 | 11582 |
8107 if test "${window_system}" = "x11"; then | 11583 if test "${window_system}" = "x11"; then |
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 | 11584 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 |
8109 $as_echo_n "checking X11 version 6... " >&6; } | 11585 $as_echo_n "checking X11 version 6... " >&6; } |
8110 if test "${emacs_cv_x11_version_6+set}" = set; then : | 11586 if test "${emacs_cv_x11_version_6+set}" = set; then |
8111 $as_echo_n "(cached) " >&6 | 11587 $as_echo_n "(cached) " >&6 |
8112 else | 11588 else |
8113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11589 cat >conftest.$ac_ext <<_ACEOF |
11590 /* confdefs.h. */ | |
11591 _ACEOF | |
11592 cat confdefs.h >>conftest.$ac_ext | |
11593 cat >>conftest.$ac_ext <<_ACEOF | |
8114 /* end confdefs.h. */ | 11594 /* end confdefs.h. */ |
8115 #include <X11/Xlib.h> | 11595 #include <X11/Xlib.h> |
8116 int | 11596 int |
8117 main () | 11597 main () |
8118 { | 11598 { |
8122 | 11602 |
8123 ; | 11603 ; |
8124 return 0; | 11604 return 0; |
8125 } | 11605 } |
8126 _ACEOF | 11606 _ACEOF |
8127 if ac_fn_c_try_link "$LINENO"; then : | 11607 rm -f conftest.$ac_objext conftest$ac_exeext |
11608 if { (ac_try="$ac_link" | |
11609 case "(($ac_try" in | |
11610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11611 *) ac_try_echo=$ac_try;; | |
11612 esac | |
11613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11614 $as_echo "$ac_try_echo") >&5 | |
11615 (eval "$ac_link") 2>conftest.er1 | |
11616 ac_status=$? | |
11617 grep -v '^ *+' conftest.er1 >conftest.err | |
11618 rm -f conftest.er1 | |
11619 cat conftest.err >&5 | |
11620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11621 (exit $ac_status); } && { | |
11622 test -z "$ac_c_werror_flag" || | |
11623 test ! -s conftest.err | |
11624 } && test -s conftest$ac_exeext && { | |
11625 test "$cross_compiling" = yes || | |
11626 $as_test_x conftest$ac_exeext | |
11627 }; then | |
8128 emacs_cv_x11_version_6=yes | 11628 emacs_cv_x11_version_6=yes |
8129 else | 11629 else |
8130 emacs_cv_x11_version_6=no | 11630 $as_echo "$as_me: failed program was:" >&5 |
8131 fi | 11631 sed 's/^/| /' conftest.$ac_ext >&5 |
8132 rm -f core conftest.err conftest.$ac_objext \ | 11632 |
8133 conftest$ac_exeext conftest.$ac_ext | 11633 emacs_cv_x11_version_6=no |
11634 fi | |
11635 | |
11636 rm -rf conftest.dSYM | |
11637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11638 conftest$ac_exeext conftest.$ac_ext | |
8134 fi | 11639 fi |
8135 | 11640 |
8136 if test $emacs_cv_x11_version_6 = yes; then | 11641 if test $emacs_cv_x11_version_6 = yes; then |
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 11642 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
8138 $as_echo "6 or newer" >&6; } | 11643 $as_echo "6 or newer" >&6; } |
8139 | 11644 |
8140 $as_echo "#define HAVE_X11R6 1" >>confdefs.h | 11645 cat >>confdefs.h <<\_ACEOF |
11646 #define HAVE_X11R6 1 | |
11647 _ACEOF | |
8141 | 11648 |
8142 else | 11649 else |
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 11650 { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
8144 $as_echo "before 6" >&6; } | 11651 $as_echo "before 6" >&6; } |
8145 fi | 11652 fi |
8146 fi | 11653 fi |
8147 | 11654 |
8148 | 11655 |
8156 | 11663 |
8157 succeeded=no | 11664 succeeded=no |
8158 | 11665 |
8159 # Extract the first word of "pkg-config", so it can be a program name with args. | 11666 # Extract the first word of "pkg-config", so it can be a program name with args. |
8160 set dummy pkg-config; ac_word=$2 | 11667 set dummy pkg-config; ac_word=$2 |
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8162 $as_echo_n "checking for $ac_word... " >&6; } | 11669 $as_echo_n "checking for $ac_word... " >&6; } |
8163 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11670 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
8164 $as_echo_n "(cached) " >&6 | 11671 $as_echo_n "(cached) " >&6 |
8165 else | 11672 else |
8166 case $PKG_CONFIG in | 11673 case $PKG_CONFIG in |
8167 [\\/]* | ?:[\\/]*) | 11674 [\\/]* | ?:[\\/]*) |
8168 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 11675 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 11678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8172 for as_dir in $PATH | 11679 for as_dir in $PATH |
8173 do | 11680 do |
8174 IFS=$as_save_IFS | 11681 IFS=$as_save_IFS |
8175 test -z "$as_dir" && as_dir=. | 11682 test -z "$as_dir" && as_dir=. |
8176 for ac_exec_ext in '' $ac_executable_extensions; do | 11683 for ac_exec_ext in '' $ac_executable_extensions; do |
8177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8178 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11685 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11686 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8180 break 2 | 11687 break 2 |
8181 fi | 11688 fi |
8182 done | 11689 done |
8183 done | 11690 done |
8184 IFS=$as_save_IFS | 11691 IFS=$as_save_IFS |
8185 | 11692 |
8186 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11693 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
8187 ;; | 11694 ;; |
8188 esac | 11695 esac |
8189 fi | 11696 fi |
8190 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11697 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
8191 if test -n "$PKG_CONFIG"; then | 11698 if test -n "$PKG_CONFIG"; then |
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11699 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
8193 $as_echo "$PKG_CONFIG" >&6; } | 11700 $as_echo "$PKG_CONFIG" >&6; } |
8194 else | 11701 else |
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11702 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8196 $as_echo "no" >&6; } | 11703 $as_echo "no" >&6; } |
8197 fi | 11704 fi |
8198 | 11705 |
8199 | 11706 |
8200 | 11707 |
8201 if test "$PKG_CONFIG" = "no" ; then | 11708 if test "$PKG_CONFIG" = "no" ; then |
8202 : | 11709 : |
8203 else | 11710 else |
8204 PKG_CONFIG_MIN_VERSION=0.9.0 | 11711 PKG_CONFIG_MIN_VERSION=0.9.0 |
8205 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11712 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 | 11713 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 |
8207 $as_echo_n "checking for $RSVG_MODULE... " >&6; } | 11714 $as_echo_n "checking for $RSVG_MODULE... " >&6; } |
8208 | 11715 |
8209 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then | 11716 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then |
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11717 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
8211 $as_echo "yes" >&6; } | 11718 $as_echo "yes" >&6; } |
8212 succeeded=yes | 11719 succeeded=yes |
8213 | 11720 |
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5 | 11721 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 |
8215 $as_echo_n "checking RSVG_CFLAGS... " >&6; } | 11722 $as_echo_n "checking RSVG_CFLAGS... " >&6; } |
8216 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11723 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5 | 11724 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 |
8218 $as_echo "$RSVG_CFLAGS" >&6; } | 11725 $as_echo "$RSVG_CFLAGS" >&6; } |
8219 | 11726 |
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5 | 11727 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 |
8221 $as_echo_n "checking RSVG_LIBS... " >&6; } | 11728 $as_echo_n "checking RSVG_LIBS... " >&6; } |
8222 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11729 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5 | 11730 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 |
8224 $as_echo "$RSVG_LIBS" >&6; } | 11731 $as_echo "$RSVG_LIBS" >&6; } |
8225 else | 11732 else |
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11733 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8227 $as_echo "no" >&6; } | 11734 $as_echo "no" >&6; } |
8228 RSVG_CFLAGS="" | 11735 RSVG_CFLAGS="" |
8229 RSVG_LIBS="" | 11736 RSVG_LIBS="" |
8230 ## If we have a custom action on failure, don't print errors, but | 11737 ## If we have a custom action on failure, don't print errors, but |
8231 ## do set a variable so people can do so. | 11738 ## do set a variable so people can do so. |
8251 | 11758 |
8252 | 11759 |
8253 if test ".${RSVG_CFLAGS}" != "."; then | 11760 if test ".${RSVG_CFLAGS}" != "."; then |
8254 HAVE_RSVG=yes | 11761 HAVE_RSVG=yes |
8255 | 11762 |
8256 $as_echo "#define HAVE_RSVG 1" >>confdefs.h | 11763 cat >>confdefs.h <<\_ACEOF |
11764 #define HAVE_RSVG 1 | |
11765 _ACEOF | |
8257 | 11766 |
8258 CFLAGS="$CFLAGS $RSVG_CFLAGS" | 11767 CFLAGS="$CFLAGS $RSVG_CFLAGS" |
8259 LIBS="$RSVG_LIBS $LIBS" | 11768 LIBS="$RSVG_LIBS $LIBS" |
8260 fi | 11769 fi |
8261 fi | 11770 fi |
8271 | 11780 |
8272 succeeded=no | 11781 succeeded=no |
8273 | 11782 |
8274 # Extract the first word of "pkg-config", so it can be a program name with args. | 11783 # Extract the first word of "pkg-config", so it can be a program name with args. |
8275 set dummy pkg-config; ac_word=$2 | 11784 set dummy pkg-config; ac_word=$2 |
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11785 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8277 $as_echo_n "checking for $ac_word... " >&6; } | 11786 $as_echo_n "checking for $ac_word... " >&6; } |
8278 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11787 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
8279 $as_echo_n "(cached) " >&6 | 11788 $as_echo_n "(cached) " >&6 |
8280 else | 11789 else |
8281 case $PKG_CONFIG in | 11790 case $PKG_CONFIG in |
8282 [\\/]* | ?:[\\/]*) | 11791 [\\/]* | ?:[\\/]*) |
8283 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 11792 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 11795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8287 for as_dir in $PATH | 11796 for as_dir in $PATH |
8288 do | 11797 do |
8289 IFS=$as_save_IFS | 11798 IFS=$as_save_IFS |
8290 test -z "$as_dir" && as_dir=. | 11799 test -z "$as_dir" && as_dir=. |
8291 for ac_exec_ext in '' $ac_executable_extensions; do | 11800 for ac_exec_ext in '' $ac_executable_extensions; do |
8292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8293 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11802 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11803 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8295 break 2 | 11804 break 2 |
8296 fi | 11805 fi |
8297 done | 11806 done |
8298 done | 11807 done |
8299 IFS=$as_save_IFS | 11808 IFS=$as_save_IFS |
8300 | 11809 |
8301 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11810 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
8302 ;; | 11811 ;; |
8303 esac | 11812 esac |
8304 fi | 11813 fi |
8305 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11814 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
8306 if test -n "$PKG_CONFIG"; then | 11815 if test -n "$PKG_CONFIG"; then |
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11816 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
8308 $as_echo "$PKG_CONFIG" >&6; } | 11817 $as_echo "$PKG_CONFIG" >&6; } |
8309 else | 11818 else |
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11819 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8311 $as_echo "no" >&6; } | 11820 $as_echo "no" >&6; } |
8312 fi | 11821 fi |
8313 | 11822 |
8314 | 11823 |
8315 | 11824 |
8316 if test "$PKG_CONFIG" = "no" ; then | 11825 if test "$PKG_CONFIG" = "no" ; then |
8317 pkg_check_gtk=no | 11826 pkg_check_gtk=no |
8318 else | 11827 else |
8319 PKG_CONFIG_MIN_VERSION=0.9.0 | 11828 PKG_CONFIG_MIN_VERSION=0.9.0 |
8320 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11829 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 | 11830 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 |
8322 $as_echo_n "checking for $GTK_MODULES... " >&6; } | 11831 $as_echo_n "checking for $GTK_MODULES... " >&6; } |
8323 | 11832 |
8324 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 11833 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11834 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
8326 $as_echo "yes" >&6; } | 11835 $as_echo "yes" >&6; } |
8327 succeeded=yes | 11836 succeeded=yes |
8328 | 11837 |
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 | 11838 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 |
8330 $as_echo_n "checking GTK_CFLAGS... " >&6; } | 11839 $as_echo_n "checking GTK_CFLAGS... " >&6; } |
8331 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11840 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` |
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 | 11841 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 |
8333 $as_echo "$GTK_CFLAGS" >&6; } | 11842 $as_echo "$GTK_CFLAGS" >&6; } |
8334 | 11843 |
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 | 11844 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 |
8336 $as_echo_n "checking GTK_LIBS... " >&6; } | 11845 $as_echo_n "checking GTK_LIBS... " >&6; } |
8337 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11846 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` |
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 | 11847 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 |
8339 $as_echo "$GTK_LIBS" >&6; } | 11848 $as_echo "$GTK_LIBS" >&6; } |
8340 else | 11849 else |
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11850 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8342 $as_echo "no" >&6; } | 11851 $as_echo "no" >&6; } |
8343 GTK_CFLAGS="" | 11852 GTK_CFLAGS="" |
8344 GTK_LIBS="" | 11853 GTK_LIBS="" |
8345 ## If we have a custom action on failure, don't print errors, but | 11854 ## If we have a custom action on failure, don't print errors, but |
8346 ## do set a variable so people can do so. | 11855 ## do set a variable so people can do so. |
8361 else | 11870 else |
8362 pkg_check_gtk=no | 11871 pkg_check_gtk=no |
8363 fi | 11872 fi |
8364 | 11873 |
8365 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 11874 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8366 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 11875 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 |
11876 $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} | |
11877 { (exit 1); exit 1; }; } | |
8367 fi | 11878 fi |
8368 fi | 11879 fi |
8369 | 11880 |
8370 | 11881 |
8371 GTK_OBJ= | 11882 GTK_OBJ= |
8375 | 11886 |
8376 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" | 11887 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" |
8377 CFLAGS="$CFLAGS $GTK_CFLAGS" | 11888 CFLAGS="$CFLAGS $GTK_CFLAGS" |
8378 LIBS="$GTK_LIBS $LIBS" | 11889 LIBS="$GTK_LIBS $LIBS" |
8379 GTK_COMPILES=no | 11890 GTK_COMPILES=no |
8380 for ac_func in gtk_main | 11891 |
8381 do : | 11892 for ac_func in gtk_main |
8382 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" | 11893 do |
8383 if test "x$ac_cv_func_gtk_main" = x""yes; then : | 11894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11895 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
11896 $as_echo_n "checking for $ac_func... " >&6; } | |
11897 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
11898 $as_echo_n "(cached) " >&6 | |
11899 else | |
11900 cat >conftest.$ac_ext <<_ACEOF | |
11901 /* confdefs.h. */ | |
11902 _ACEOF | |
11903 cat confdefs.h >>conftest.$ac_ext | |
11904 cat >>conftest.$ac_ext <<_ACEOF | |
11905 /* end confdefs.h. */ | |
11906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
11907 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
11908 #define $ac_func innocuous_$ac_func | |
11909 | |
11910 /* System header to define __stub macros and hopefully few prototypes, | |
11911 which can conflict with char $ac_func (); below. | |
11912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
11913 <limits.h> exists even on freestanding compilers. */ | |
11914 | |
11915 #ifdef __STDC__ | |
11916 # include <limits.h> | |
11917 #else | |
11918 # include <assert.h> | |
11919 #endif | |
11920 | |
11921 #undef $ac_func | |
11922 | |
11923 /* Override any GCC internal prototype to avoid an error. | |
11924 Use char because int might match the return type of a GCC | |
11925 builtin and then its argument prototype would still apply. */ | |
11926 #ifdef __cplusplus | |
11927 extern "C" | |
11928 #endif | |
11929 char $ac_func (); | |
11930 /* The GNU C library defines this for functions which it implements | |
11931 to always fail with ENOSYS. Some functions are actually named | |
11932 something starting with __ and the normal name is an alias. */ | |
11933 #if defined __stub_$ac_func || defined __stub___$ac_func | |
11934 choke me | |
11935 #endif | |
11936 | |
11937 int | |
11938 main () | |
11939 { | |
11940 return $ac_func (); | |
11941 ; | |
11942 return 0; | |
11943 } | |
11944 _ACEOF | |
11945 rm -f conftest.$ac_objext conftest$ac_exeext | |
11946 if { (ac_try="$ac_link" | |
11947 case "(($ac_try" in | |
11948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11949 *) ac_try_echo=$ac_try;; | |
11950 esac | |
11951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
11952 $as_echo "$ac_try_echo") >&5 | |
11953 (eval "$ac_link") 2>conftest.er1 | |
11954 ac_status=$? | |
11955 grep -v '^ *+' conftest.er1 >conftest.err | |
11956 rm -f conftest.er1 | |
11957 cat conftest.err >&5 | |
11958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11959 (exit $ac_status); } && { | |
11960 test -z "$ac_c_werror_flag" || | |
11961 test ! -s conftest.err | |
11962 } && test -s conftest$ac_exeext && { | |
11963 test "$cross_compiling" = yes || | |
11964 $as_test_x conftest$ac_exeext | |
11965 }; then | |
11966 eval "$as_ac_var=yes" | |
11967 else | |
11968 $as_echo "$as_me: failed program was:" >&5 | |
11969 sed 's/^/| /' conftest.$ac_ext >&5 | |
11970 | |
11971 eval "$as_ac_var=no" | |
11972 fi | |
11973 | |
11974 rm -rf conftest.dSYM | |
11975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
11976 conftest$ac_exeext conftest.$ac_ext | |
11977 fi | |
11978 ac_res=`eval 'as_val=${'$as_ac_var'} | |
11979 $as_echo "$as_val"'` | |
11980 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11981 $as_echo "$ac_res" >&6; } | |
11982 if test `eval 'as_val=${'$as_ac_var'} | |
11983 $as_echo "$as_val"'` = yes; then | |
8384 cat >>confdefs.h <<_ACEOF | 11984 cat >>confdefs.h <<_ACEOF |
8385 #define HAVE_GTK_MAIN 1 | 11985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8386 _ACEOF | 11986 _ACEOF |
8387 GTK_COMPILES=yes | 11987 GTK_COMPILES=yes |
8388 fi | 11988 fi |
8389 done | 11989 done |
8390 | 11990 |
8391 if test "${GTK_COMPILES}" != "yes"; then | 11991 if test "${GTK_COMPILES}" != "yes"; then |
8392 if test "$USE_X_TOOLKIT" != "maybe"; then | 11992 if test "$USE_X_TOOLKIT" != "maybe"; then |
8393 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 11993 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 |
11994 $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} | |
11995 { (exit 1); exit 1; }; }; | |
8394 fi | 11996 fi |
8395 else | 11997 else |
8396 HAVE_GTK=yes | 11998 HAVE_GTK=yes |
8397 | 11999 |
8398 $as_echo "#define USE_GTK 1" >>confdefs.h | 12000 cat >>confdefs.h <<\_ACEOF |
12001 #define USE_GTK 1 | |
12002 _ACEOF | |
8399 | 12003 |
8400 GTK_OBJ=gtkutil.o | 12004 GTK_OBJ=gtkutil.o |
8401 USE_X_TOOLKIT=none | 12005 USE_X_TOOLKIT=none |
8402 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then | 12006 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then |
8403 : | 12007 : |
8404 else | 12008 else |
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with | 12009 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with |
8406 closing open displays. This is no problem if you just use | 12010 closing open displays. This is no problem if you just use |
8407 one display, but if you use more than one and close one of them | 12011 one display, but if you use more than one and close one of them |
8408 Emacs may crash." >&5 | 12012 Emacs may crash." >&5 |
8409 $as_echo "$as_me: WARNING: Your version of Gtk+ will have problems with | 12013 $as_echo "$as_me: WARNING: Your version of Gtk+ will have problems with |
8410 closing open displays. This is no problem if you just use | 12014 closing open displays. This is no problem if you just use |
8423 if test "$with_toolkit_scroll_bars" != no; then | 12027 if test "$with_toolkit_scroll_bars" != no; then |
8424 with_toolkit_scroll_bars=yes | 12028 with_toolkit_scroll_bars=yes |
8425 fi | 12029 fi |
8426 | 12030 |
8427 HAVE_GTK_MULTIDISPLAY=no | 12031 HAVE_GTK_MULTIDISPLAY=no |
8428 for ac_func in gdk_display_open | 12032 |
8429 do : | 12033 for ac_func in gdk_display_open |
8430 ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open" | 12034 do |
8431 if test "x$ac_cv_func_gdk_display_open" = x""yes; then : | 12035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12036 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
12037 $as_echo_n "checking for $ac_func... " >&6; } | |
12038 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
12039 $as_echo_n "(cached) " >&6 | |
12040 else | |
12041 cat >conftest.$ac_ext <<_ACEOF | |
12042 /* confdefs.h. */ | |
12043 _ACEOF | |
12044 cat confdefs.h >>conftest.$ac_ext | |
12045 cat >>conftest.$ac_ext <<_ACEOF | |
12046 /* end confdefs.h. */ | |
12047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
12048 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
12049 #define $ac_func innocuous_$ac_func | |
12050 | |
12051 /* System header to define __stub macros and hopefully few prototypes, | |
12052 which can conflict with char $ac_func (); below. | |
12053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
12054 <limits.h> exists even on freestanding compilers. */ | |
12055 | |
12056 #ifdef __STDC__ | |
12057 # include <limits.h> | |
12058 #else | |
12059 # include <assert.h> | |
12060 #endif | |
12061 | |
12062 #undef $ac_func | |
12063 | |
12064 /* Override any GCC internal prototype to avoid an error. | |
12065 Use char because int might match the return type of a GCC | |
12066 builtin and then its argument prototype would still apply. */ | |
12067 #ifdef __cplusplus | |
12068 extern "C" | |
12069 #endif | |
12070 char $ac_func (); | |
12071 /* The GNU C library defines this for functions which it implements | |
12072 to always fail with ENOSYS. Some functions are actually named | |
12073 something starting with __ and the normal name is an alias. */ | |
12074 #if defined __stub_$ac_func || defined __stub___$ac_func | |
12075 choke me | |
12076 #endif | |
12077 | |
12078 int | |
12079 main () | |
12080 { | |
12081 return $ac_func (); | |
12082 ; | |
12083 return 0; | |
12084 } | |
12085 _ACEOF | |
12086 rm -f conftest.$ac_objext conftest$ac_exeext | |
12087 if { (ac_try="$ac_link" | |
12088 case "(($ac_try" in | |
12089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12090 *) ac_try_echo=$ac_try;; | |
12091 esac | |
12092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12093 $as_echo "$ac_try_echo") >&5 | |
12094 (eval "$ac_link") 2>conftest.er1 | |
12095 ac_status=$? | |
12096 grep -v '^ *+' conftest.er1 >conftest.err | |
12097 rm -f conftest.er1 | |
12098 cat conftest.err >&5 | |
12099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12100 (exit $ac_status); } && { | |
12101 test -z "$ac_c_werror_flag" || | |
12102 test ! -s conftest.err | |
12103 } && test -s conftest$ac_exeext && { | |
12104 test "$cross_compiling" = yes || | |
12105 $as_test_x conftest$ac_exeext | |
12106 }; then | |
12107 eval "$as_ac_var=yes" | |
12108 else | |
12109 $as_echo "$as_me: failed program was:" >&5 | |
12110 sed 's/^/| /' conftest.$ac_ext >&5 | |
12111 | |
12112 eval "$as_ac_var=no" | |
12113 fi | |
12114 | |
12115 rm -rf conftest.dSYM | |
12116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12117 conftest$ac_exeext conftest.$ac_ext | |
12118 fi | |
12119 ac_res=`eval 'as_val=${'$as_ac_var'} | |
12120 $as_echo "$as_val"'` | |
12121 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12122 $as_echo "$ac_res" >&6; } | |
12123 if test `eval 'as_val=${'$as_ac_var'} | |
12124 $as_echo "$as_val"'` = yes; then | |
8432 cat >>confdefs.h <<_ACEOF | 12125 cat >>confdefs.h <<_ACEOF |
8433 #define HAVE_GDK_DISPLAY_OPEN 1 | 12126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8434 _ACEOF | 12127 _ACEOF |
8435 HAVE_GTK_MULTIDISPLAY=yes | 12128 HAVE_GTK_MULTIDISPLAY=yes |
8436 fi | 12129 fi |
8437 done | 12130 done |
8438 | 12131 |
8439 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | 12132 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then |
8440 | 12133 |
8441 $as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h | 12134 cat >>confdefs.h <<\_ACEOF |
12135 #define HAVE_GTK_MULTIDISPLAY 1 | |
12136 _ACEOF | |
8442 | 12137 |
8443 fi | 12138 fi |
8444 | 12139 |
8445 HAVE_GTK_FILE_SELECTION=no | 12140 HAVE_GTK_FILE_SELECTION=no |
8446 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default | 12141 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 |
12142 $as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; } | |
12143 if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then | |
12144 $as_echo_n "(cached) " >&6 | |
12145 else | |
12146 cat >conftest.$ac_ext <<_ACEOF | |
12147 /* confdefs.h. */ | |
12148 _ACEOF | |
12149 cat confdefs.h >>conftest.$ac_ext | |
12150 cat >>conftest.$ac_ext <<_ACEOF | |
12151 /* end confdefs.h. */ | |
12152 $ac_includes_default | |
8447 #include <gtk/gtk.h> | 12153 #include <gtk/gtk.h> |
8448 " | 12154 |
8449 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : | 12155 int |
12156 main () | |
12157 { | |
12158 #ifndef GTK_TYPE_FILE_SELECTION | |
12159 (void) GTK_TYPE_FILE_SELECTION; | |
12160 #endif | |
12161 | |
12162 ; | |
12163 return 0; | |
12164 } | |
12165 _ACEOF | |
12166 rm -f conftest.$ac_objext | |
12167 if { (ac_try="$ac_compile" | |
12168 case "(($ac_try" in | |
12169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12170 *) ac_try_echo=$ac_try;; | |
12171 esac | |
12172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12173 $as_echo "$ac_try_echo") >&5 | |
12174 (eval "$ac_compile") 2>conftest.er1 | |
12175 ac_status=$? | |
12176 grep -v '^ *+' conftest.er1 >conftest.err | |
12177 rm -f conftest.er1 | |
12178 cat conftest.err >&5 | |
12179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12180 (exit $ac_status); } && { | |
12181 test -z "$ac_c_werror_flag" || | |
12182 test ! -s conftest.err | |
12183 } && test -s conftest.$ac_objext; then | |
12184 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes | |
12185 else | |
12186 $as_echo "$as_me: failed program was:" >&5 | |
12187 sed 's/^/| /' conftest.$ac_ext >&5 | |
12188 | |
12189 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no | |
12190 fi | |
12191 | |
12192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
12193 fi | |
12194 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5 | |
12195 $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; } | |
12196 if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then | |
8450 HAVE_GTK_FILE_SELECTION=yes | 12197 HAVE_GTK_FILE_SELECTION=yes |
8451 else | 12198 else |
8452 HAVE_GTK_FILE_SELECTION=no | 12199 HAVE_GTK_FILE_SELECTION=no |
8453 fi | 12200 fi |
8454 | 12201 |
8455 if test "$HAVE_GTK_FILE_SELECTION" = yes; then | 12202 if test "$HAVE_GTK_FILE_SELECTION" = yes; then |
8456 for ac_func in gtk_file_selection_new | 12203 |
8457 do : | 12204 for ac_func in gtk_file_selection_new |
8458 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" | 12205 do |
8459 if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : | 12206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12207 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
12208 $as_echo_n "checking for $ac_func... " >&6; } | |
12209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
12210 $as_echo_n "(cached) " >&6 | |
12211 else | |
12212 cat >conftest.$ac_ext <<_ACEOF | |
12213 /* confdefs.h. */ | |
12214 _ACEOF | |
12215 cat confdefs.h >>conftest.$ac_ext | |
12216 cat >>conftest.$ac_ext <<_ACEOF | |
12217 /* end confdefs.h. */ | |
12218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
12219 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
12220 #define $ac_func innocuous_$ac_func | |
12221 | |
12222 /* System header to define __stub macros and hopefully few prototypes, | |
12223 which can conflict with char $ac_func (); below. | |
12224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
12225 <limits.h> exists even on freestanding compilers. */ | |
12226 | |
12227 #ifdef __STDC__ | |
12228 # include <limits.h> | |
12229 #else | |
12230 # include <assert.h> | |
12231 #endif | |
12232 | |
12233 #undef $ac_func | |
12234 | |
12235 /* Override any GCC internal prototype to avoid an error. | |
12236 Use char because int might match the return type of a GCC | |
12237 builtin and then its argument prototype would still apply. */ | |
12238 #ifdef __cplusplus | |
12239 extern "C" | |
12240 #endif | |
12241 char $ac_func (); | |
12242 /* The GNU C library defines this for functions which it implements | |
12243 to always fail with ENOSYS. Some functions are actually named | |
12244 something starting with __ and the normal name is an alias. */ | |
12245 #if defined __stub_$ac_func || defined __stub___$ac_func | |
12246 choke me | |
12247 #endif | |
12248 | |
12249 int | |
12250 main () | |
12251 { | |
12252 return $ac_func (); | |
12253 ; | |
12254 return 0; | |
12255 } | |
12256 _ACEOF | |
12257 rm -f conftest.$ac_objext conftest$ac_exeext | |
12258 if { (ac_try="$ac_link" | |
12259 case "(($ac_try" in | |
12260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12261 *) ac_try_echo=$ac_try;; | |
12262 esac | |
12263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12264 $as_echo "$ac_try_echo") >&5 | |
12265 (eval "$ac_link") 2>conftest.er1 | |
12266 ac_status=$? | |
12267 grep -v '^ *+' conftest.er1 >conftest.err | |
12268 rm -f conftest.er1 | |
12269 cat conftest.err >&5 | |
12270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12271 (exit $ac_status); } && { | |
12272 test -z "$ac_c_werror_flag" || | |
12273 test ! -s conftest.err | |
12274 } && test -s conftest$ac_exeext && { | |
12275 test "$cross_compiling" = yes || | |
12276 $as_test_x conftest$ac_exeext | |
12277 }; then | |
12278 eval "$as_ac_var=yes" | |
12279 else | |
12280 $as_echo "$as_me: failed program was:" >&5 | |
12281 sed 's/^/| /' conftest.$ac_ext >&5 | |
12282 | |
12283 eval "$as_ac_var=no" | |
12284 fi | |
12285 | |
12286 rm -rf conftest.dSYM | |
12287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12288 conftest$ac_exeext conftest.$ac_ext | |
12289 fi | |
12290 ac_res=`eval 'as_val=${'$as_ac_var'} | |
12291 $as_echo "$as_val"'` | |
12292 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12293 $as_echo "$ac_res" >&6; } | |
12294 if test `eval 'as_val=${'$as_ac_var'} | |
12295 $as_echo "$as_val"'` = yes; then | |
8460 cat >>confdefs.h <<_ACEOF | 12296 cat >>confdefs.h <<_ACEOF |
8461 #define HAVE_GTK_FILE_SELECTION_NEW 1 | 12297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8462 _ACEOF | 12298 _ACEOF |
8463 HAVE_GTK_FILE_SELECTION=yes | 12299 HAVE_GTK_FILE_SELECTION=yes |
8464 else | 12300 else |
8465 HAVE_GTK_FILE_SELECTION=no | 12301 HAVE_GTK_FILE_SELECTION=no |
8466 fi | 12302 fi |
8467 done | 12303 done |
8468 | 12304 |
8469 fi | 12305 fi |
8470 | 12306 |
8471 HAVE_GTK_FILE_CHOOSER=no | 12307 HAVE_GTK_FILE_CHOOSER=no |
8472 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default | 12308 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 |
12309 $as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; } | |
12310 if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then | |
12311 $as_echo_n "(cached) " >&6 | |
12312 else | |
12313 cat >conftest.$ac_ext <<_ACEOF | |
12314 /* confdefs.h. */ | |
12315 _ACEOF | |
12316 cat confdefs.h >>conftest.$ac_ext | |
12317 cat >>conftest.$ac_ext <<_ACEOF | |
12318 /* end confdefs.h. */ | |
12319 $ac_includes_default | |
8473 #include <gtk/gtk.h> | 12320 #include <gtk/gtk.h> |
8474 " | 12321 |
8475 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then : | 12322 int |
12323 main () | |
12324 { | |
12325 #ifndef GTK_TYPE_FILE_CHOOSER | |
12326 (void) GTK_TYPE_FILE_CHOOSER; | |
12327 #endif | |
12328 | |
12329 ; | |
12330 return 0; | |
12331 } | |
12332 _ACEOF | |
12333 rm -f conftest.$ac_objext | |
12334 if { (ac_try="$ac_compile" | |
12335 case "(($ac_try" in | |
12336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12337 *) ac_try_echo=$ac_try;; | |
12338 esac | |
12339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12340 $as_echo "$ac_try_echo") >&5 | |
12341 (eval "$ac_compile") 2>conftest.er1 | |
12342 ac_status=$? | |
12343 grep -v '^ *+' conftest.er1 >conftest.err | |
12344 rm -f conftest.er1 | |
12345 cat conftest.err >&5 | |
12346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12347 (exit $ac_status); } && { | |
12348 test -z "$ac_c_werror_flag" || | |
12349 test ! -s conftest.err | |
12350 } && test -s conftest.$ac_objext; then | |
12351 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes | |
12352 else | |
12353 $as_echo "$as_me: failed program was:" >&5 | |
12354 sed 's/^/| /' conftest.$ac_ext >&5 | |
12355 | |
12356 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no | |
12357 fi | |
12358 | |
12359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
12360 fi | |
12361 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5 | |
12362 $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; } | |
12363 if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then | |
8476 HAVE_GTK_FILE_CHOOSER=yes | 12364 HAVE_GTK_FILE_CHOOSER=yes |
8477 else | 12365 else |
8478 HAVE_GTK_FILE_CHOOSER=no | 12366 HAVE_GTK_FILE_CHOOSER=no |
8479 fi | 12367 fi |
8480 | 12368 |
8481 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12369 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
8482 for ac_func in gtk_file_chooser_dialog_new | 12370 |
8483 do : | 12371 for ac_func in gtk_file_chooser_dialog_new |
8484 ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new" | 12372 do |
8485 if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then : | 12373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12374 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
12375 $as_echo_n "checking for $ac_func... " >&6; } | |
12376 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
12377 $as_echo_n "(cached) " >&6 | |
12378 else | |
12379 cat >conftest.$ac_ext <<_ACEOF | |
12380 /* confdefs.h. */ | |
12381 _ACEOF | |
12382 cat confdefs.h >>conftest.$ac_ext | |
12383 cat >>conftest.$ac_ext <<_ACEOF | |
12384 /* end confdefs.h. */ | |
12385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
12386 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
12387 #define $ac_func innocuous_$ac_func | |
12388 | |
12389 /* System header to define __stub macros and hopefully few prototypes, | |
12390 which can conflict with char $ac_func (); below. | |
12391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
12392 <limits.h> exists even on freestanding compilers. */ | |
12393 | |
12394 #ifdef __STDC__ | |
12395 # include <limits.h> | |
12396 #else | |
12397 # include <assert.h> | |
12398 #endif | |
12399 | |
12400 #undef $ac_func | |
12401 | |
12402 /* Override any GCC internal prototype to avoid an error. | |
12403 Use char because int might match the return type of a GCC | |
12404 builtin and then its argument prototype would still apply. */ | |
12405 #ifdef __cplusplus | |
12406 extern "C" | |
12407 #endif | |
12408 char $ac_func (); | |
12409 /* The GNU C library defines this for functions which it implements | |
12410 to always fail with ENOSYS. Some functions are actually named | |
12411 something starting with __ and the normal name is an alias. */ | |
12412 #if defined __stub_$ac_func || defined __stub___$ac_func | |
12413 choke me | |
12414 #endif | |
12415 | |
12416 int | |
12417 main () | |
12418 { | |
12419 return $ac_func (); | |
12420 ; | |
12421 return 0; | |
12422 } | |
12423 _ACEOF | |
12424 rm -f conftest.$ac_objext conftest$ac_exeext | |
12425 if { (ac_try="$ac_link" | |
12426 case "(($ac_try" in | |
12427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12428 *) ac_try_echo=$ac_try;; | |
12429 esac | |
12430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12431 $as_echo "$ac_try_echo") >&5 | |
12432 (eval "$ac_link") 2>conftest.er1 | |
12433 ac_status=$? | |
12434 grep -v '^ *+' conftest.er1 >conftest.err | |
12435 rm -f conftest.er1 | |
12436 cat conftest.err >&5 | |
12437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12438 (exit $ac_status); } && { | |
12439 test -z "$ac_c_werror_flag" || | |
12440 test ! -s conftest.err | |
12441 } && test -s conftest$ac_exeext && { | |
12442 test "$cross_compiling" = yes || | |
12443 $as_test_x conftest$ac_exeext | |
12444 }; then | |
12445 eval "$as_ac_var=yes" | |
12446 else | |
12447 $as_echo "$as_me: failed program was:" >&5 | |
12448 sed 's/^/| /' conftest.$ac_ext >&5 | |
12449 | |
12450 eval "$as_ac_var=no" | |
12451 fi | |
12452 | |
12453 rm -rf conftest.dSYM | |
12454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12455 conftest$ac_exeext conftest.$ac_ext | |
12456 fi | |
12457 ac_res=`eval 'as_val=${'$as_ac_var'} | |
12458 $as_echo "$as_val"'` | |
12459 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12460 $as_echo "$ac_res" >&6; } | |
12461 if test `eval 'as_val=${'$as_ac_var'} | |
12462 $as_echo "$as_val"'` = yes; then | |
8486 cat >>confdefs.h <<_ACEOF | 12463 cat >>confdefs.h <<_ACEOF |
8487 #define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1 | 12464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8488 _ACEOF | 12465 _ACEOF |
8489 HAVE_GTK_FILE_CHOOSER=yes | 12466 HAVE_GTK_FILE_CHOOSER=yes |
8490 else | 12467 else |
8491 HAVE_GTK_FILE_CHOOSER=no | 12468 HAVE_GTK_FILE_CHOOSER=no |
8492 fi | 12469 fi |
8495 fi | 12472 fi |
8496 | 12473 |
8497 if test "$HAVE_GTK_FILE_SELECTION" = yes \ | 12474 if test "$HAVE_GTK_FILE_SELECTION" = yes \ |
8498 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12475 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
8499 | 12476 |
8500 $as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h | 12477 cat >>confdefs.h <<\_ACEOF |
12478 #define HAVE_GTK_FILE_BOTH 1 | |
12479 _ACEOF | |
8501 | 12480 |
8502 fi | 12481 fi |
8503 | 12482 |
8504 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12483 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
8505 HAVE_GTK_AND_PTHREAD=no | 12484 HAVE_GTK_AND_PTHREAD=no |
8506 for ac_header in pthread.h | 12485 |
8507 do : | 12486 for ac_header in pthread.h |
8508 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 12487 do |
8509 if test "x$ac_cv_header_pthread_h" = x""yes; then : | 12488 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
12490 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12491 $as_echo_n "checking for $ac_header... " >&6; } | |
12492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
12493 $as_echo_n "(cached) " >&6 | |
12494 fi | |
12495 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
12496 $as_echo "$as_val"'` | |
12497 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12498 $as_echo "$ac_res" >&6; } | |
12499 else | |
12500 # Is the header compilable? | |
12501 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
12502 $as_echo_n "checking $ac_header usability... " >&6; } | |
12503 cat >conftest.$ac_ext <<_ACEOF | |
12504 /* confdefs.h. */ | |
12505 _ACEOF | |
12506 cat confdefs.h >>conftest.$ac_ext | |
12507 cat >>conftest.$ac_ext <<_ACEOF | |
12508 /* end confdefs.h. */ | |
12509 $ac_includes_default | |
12510 #include <$ac_header> | |
12511 _ACEOF | |
12512 rm -f conftest.$ac_objext | |
12513 if { (ac_try="$ac_compile" | |
12514 case "(($ac_try" in | |
12515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12516 *) ac_try_echo=$ac_try;; | |
12517 esac | |
12518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12519 $as_echo "$ac_try_echo") >&5 | |
12520 (eval "$ac_compile") 2>conftest.er1 | |
12521 ac_status=$? | |
12522 grep -v '^ *+' conftest.er1 >conftest.err | |
12523 rm -f conftest.er1 | |
12524 cat conftest.err >&5 | |
12525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12526 (exit $ac_status); } && { | |
12527 test -z "$ac_c_werror_flag" || | |
12528 test ! -s conftest.err | |
12529 } && test -s conftest.$ac_objext; then | |
12530 ac_header_compiler=yes | |
12531 else | |
12532 $as_echo "$as_me: failed program was:" >&5 | |
12533 sed 's/^/| /' conftest.$ac_ext >&5 | |
12534 | |
12535 ac_header_compiler=no | |
12536 fi | |
12537 | |
12538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
12539 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
12540 $as_echo "$ac_header_compiler" >&6; } | |
12541 | |
12542 # Is the header present? | |
12543 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
12544 $as_echo_n "checking $ac_header presence... " >&6; } | |
12545 cat >conftest.$ac_ext <<_ACEOF | |
12546 /* confdefs.h. */ | |
12547 _ACEOF | |
12548 cat confdefs.h >>conftest.$ac_ext | |
12549 cat >>conftest.$ac_ext <<_ACEOF | |
12550 /* end confdefs.h. */ | |
12551 #include <$ac_header> | |
12552 _ACEOF | |
12553 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
12554 case "(($ac_try" in | |
12555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12556 *) ac_try_echo=$ac_try;; | |
12557 esac | |
12558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12559 $as_echo "$ac_try_echo") >&5 | |
12560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
12561 ac_status=$? | |
12562 grep -v '^ *+' conftest.er1 >conftest.err | |
12563 rm -f conftest.er1 | |
12564 cat conftest.err >&5 | |
12565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12566 (exit $ac_status); } >/dev/null && { | |
12567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
12568 test ! -s conftest.err | |
12569 }; then | |
12570 ac_header_preproc=yes | |
12571 else | |
12572 $as_echo "$as_me: failed program was:" >&5 | |
12573 sed 's/^/| /' conftest.$ac_ext >&5 | |
12574 | |
12575 ac_header_preproc=no | |
12576 fi | |
12577 | |
12578 rm -f conftest.err conftest.$ac_ext | |
12579 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
12580 $as_echo "$ac_header_preproc" >&6; } | |
12581 | |
12582 # So? What about this header? | |
12583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
12584 yes:no: ) | |
12585 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
12586 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12587 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
12588 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
12589 ac_header_preproc=yes | |
12590 ;; | |
12591 no:yes:* ) | |
12592 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
12593 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12594 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12595 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
12597 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
12598 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
12599 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
12600 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12601 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
12603 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
12604 | |
12605 ;; | |
12606 esac | |
12607 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12608 $as_echo_n "checking for $ac_header... " >&6; } | |
12609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
12610 $as_echo_n "(cached) " >&6 | |
12611 else | |
12612 eval "$as_ac_Header=\$ac_header_preproc" | |
12613 fi | |
12614 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
12615 $as_echo "$as_val"'` | |
12616 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12617 $as_echo "$ac_res" >&6; } | |
12618 | |
12619 fi | |
12620 if test `eval 'as_val=${'$as_ac_Header'} | |
12621 $as_echo "$as_val"'` = yes; then | |
8510 cat >>confdefs.h <<_ACEOF | 12622 cat >>confdefs.h <<_ACEOF |
8511 #define HAVE_PTHREAD_H 1 | 12623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8512 _ACEOF | 12624 _ACEOF |
8513 | 12625 |
8514 fi | 12626 fi |
8515 | 12627 |
8516 done | 12628 done |
8517 | 12629 |
8518 if test "$ac_cv_header_pthread_h"; then | 12630 if test "$ac_cv_header_pthread_h"; then |
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 | 12631 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 |
8520 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | 12632 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } |
8521 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | 12633 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then |
8522 $as_echo_n "(cached) " >&6 | 12634 $as_echo_n "(cached) " >&6 |
8523 else | 12635 else |
8524 ac_check_lib_save_LIBS=$LIBS | 12636 ac_check_lib_save_LIBS=$LIBS |
8525 LIBS="-lpthread $LIBS" | 12637 LIBS="-lpthread $LIBS" |
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12638 cat >conftest.$ac_ext <<_ACEOF |
12639 /* confdefs.h. */ | |
12640 _ACEOF | |
12641 cat confdefs.h >>conftest.$ac_ext | |
12642 cat >>conftest.$ac_ext <<_ACEOF | |
8527 /* end confdefs.h. */ | 12643 /* end confdefs.h. */ |
8528 | 12644 |
8529 /* Override any GCC internal prototype to avoid an error. | 12645 /* Override any GCC internal prototype to avoid an error. |
8530 Use char because int might match the return type of a GCC | 12646 Use char because int might match the return type of a GCC |
8531 builtin and then its argument prototype would still apply. */ | 12647 builtin and then its argument prototype would still apply. */ |
8539 return pthread_self (); | 12655 return pthread_self (); |
8540 ; | 12656 ; |
8541 return 0; | 12657 return 0; |
8542 } | 12658 } |
8543 _ACEOF | 12659 _ACEOF |
8544 if ac_fn_c_try_link "$LINENO"; then : | 12660 rm -f conftest.$ac_objext conftest$ac_exeext |
12661 if { (ac_try="$ac_link" | |
12662 case "(($ac_try" in | |
12663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12664 *) ac_try_echo=$ac_try;; | |
12665 esac | |
12666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12667 $as_echo "$ac_try_echo") >&5 | |
12668 (eval "$ac_link") 2>conftest.er1 | |
12669 ac_status=$? | |
12670 grep -v '^ *+' conftest.er1 >conftest.err | |
12671 rm -f conftest.er1 | |
12672 cat conftest.err >&5 | |
12673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12674 (exit $ac_status); } && { | |
12675 test -z "$ac_c_werror_flag" || | |
12676 test ! -s conftest.err | |
12677 } && test -s conftest$ac_exeext && { | |
12678 test "$cross_compiling" = yes || | |
12679 $as_test_x conftest$ac_exeext | |
12680 }; then | |
8545 ac_cv_lib_pthread_pthread_self=yes | 12681 ac_cv_lib_pthread_pthread_self=yes |
8546 else | 12682 else |
8547 ac_cv_lib_pthread_pthread_self=no | 12683 $as_echo "$as_me: failed program was:" >&5 |
8548 fi | 12684 sed 's/^/| /' conftest.$ac_ext >&5 |
8549 rm -f core conftest.err conftest.$ac_objext \ | 12685 |
8550 conftest$ac_exeext conftest.$ac_ext | 12686 ac_cv_lib_pthread_pthread_self=no |
12687 fi | |
12688 | |
12689 rm -rf conftest.dSYM | |
12690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12691 conftest$ac_exeext conftest.$ac_ext | |
8551 LIBS=$ac_check_lib_save_LIBS | 12692 LIBS=$ac_check_lib_save_LIBS |
8552 fi | 12693 fi |
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | 12694 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 |
8554 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | 12695 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } |
8555 if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | 12696 if test $ac_cv_lib_pthread_pthread_self = yes; then |
8556 HAVE_GTK_AND_PTHREAD=yes | 12697 HAVE_GTK_AND_PTHREAD=yes |
8557 fi | 12698 fi |
8558 | 12699 |
8559 fi | 12700 fi |
8560 if test "$HAVE_GTK_AND_PTHREAD" = yes; then | 12701 if test "$HAVE_GTK_AND_PTHREAD" = yes; then |
8561 case "${canonical}" in | 12702 case "${canonical}" in |
8562 *-hpux*) ;; | 12703 *-hpux*) ;; |
8563 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; | 12704 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; |
8564 esac | 12705 esac |
8565 | 12706 |
8566 $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h | 12707 cat >>confdefs.h <<\_ACEOF |
12708 #define HAVE_GTK_AND_PTHREAD 1 | |
12709 _ACEOF | |
8567 | 12710 |
8568 fi | 12711 fi |
8569 fi | 12712 fi |
8570 fi | 12713 fi |
8571 | 12714 |
8575 | 12718 |
8576 succeeded=no | 12719 succeeded=no |
8577 | 12720 |
8578 # Extract the first word of "pkg-config", so it can be a program name with args. | 12721 # Extract the first word of "pkg-config", so it can be a program name with args. |
8579 set dummy pkg-config; ac_word=$2 | 12722 set dummy pkg-config; ac_word=$2 |
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8581 $as_echo_n "checking for $ac_word... " >&6; } | 12724 $as_echo_n "checking for $ac_word... " >&6; } |
8582 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12725 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
8583 $as_echo_n "(cached) " >&6 | 12726 $as_echo_n "(cached) " >&6 |
8584 else | 12727 else |
8585 case $PKG_CONFIG in | 12728 case $PKG_CONFIG in |
8586 [\\/]* | ?:[\\/]*) | 12729 [\\/]* | ?:[\\/]*) |
8587 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 12730 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 12733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8591 for as_dir in $PATH | 12734 for as_dir in $PATH |
8592 do | 12735 do |
8593 IFS=$as_save_IFS | 12736 IFS=$as_save_IFS |
8594 test -z "$as_dir" && as_dir=. | 12737 test -z "$as_dir" && as_dir=. |
8595 for ac_exec_ext in '' $ac_executable_extensions; do | 12738 for ac_exec_ext in '' $ac_executable_extensions; do |
8596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8597 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12740 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
8598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12741 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8599 break 2 | 12742 break 2 |
8600 fi | 12743 fi |
8601 done | 12744 done |
8602 done | 12745 done |
8603 IFS=$as_save_IFS | 12746 IFS=$as_save_IFS |
8604 | 12747 |
8605 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12748 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
8606 ;; | 12749 ;; |
8607 esac | 12750 esac |
8608 fi | 12751 fi |
8609 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12752 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
8610 if test -n "$PKG_CONFIG"; then | 12753 if test -n "$PKG_CONFIG"; then |
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12754 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
8612 $as_echo "$PKG_CONFIG" >&6; } | 12755 $as_echo "$PKG_CONFIG" >&6; } |
8613 else | 12756 else |
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12757 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8615 $as_echo "no" >&6; } | 12758 $as_echo "no" >&6; } |
8616 fi | 12759 fi |
8617 | 12760 |
8618 | 12761 |
8619 | 12762 |
8620 if test "$PKG_CONFIG" = "no" ; then | 12763 if test "$PKG_CONFIG" = "no" ; then |
8621 HAVE_DBUS=no | 12764 HAVE_DBUS=no |
8622 else | 12765 else |
8623 PKG_CONFIG_MIN_VERSION=0.9.0 | 12766 PKG_CONFIG_MIN_VERSION=0.9.0 |
8624 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12767 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 | 12768 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 |
8626 $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } | 12769 $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } |
8627 | 12770 |
8628 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then | 12771 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then |
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12772 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
8630 $as_echo "yes" >&6; } | 12773 $as_echo "yes" >&6; } |
8631 succeeded=yes | 12774 succeeded=yes |
8632 | 12775 |
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 | 12776 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 |
8634 $as_echo_n "checking DBUS_CFLAGS... " >&6; } | 12777 $as_echo_n "checking DBUS_CFLAGS... " >&6; } |
8635 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12778 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 | 12779 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 |
8637 $as_echo "$DBUS_CFLAGS" >&6; } | 12780 $as_echo "$DBUS_CFLAGS" >&6; } |
8638 | 12781 |
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 | 12782 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 |
8640 $as_echo_n "checking DBUS_LIBS... " >&6; } | 12783 $as_echo_n "checking DBUS_LIBS... " >&6; } |
8641 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12784 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 | 12785 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 |
8643 $as_echo "$DBUS_LIBS" >&6; } | 12786 $as_echo "$DBUS_LIBS" >&6; } |
8644 else | 12787 else |
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12788 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8646 $as_echo "no" >&6; } | 12789 $as_echo "no" >&6; } |
8647 DBUS_CFLAGS="" | 12790 DBUS_CFLAGS="" |
8648 DBUS_LIBS="" | 12791 DBUS_LIBS="" |
8649 ## If we have a custom action on failure, don't print errors, but | 12792 ## If we have a custom action on failure, don't print errors, but |
8650 ## do set a variable so people can do so. | 12793 ## do set a variable so people can do so. |
8667 fi | 12810 fi |
8668 | 12811 |
8669 if test "$HAVE_DBUS" = yes; then | 12812 if test "$HAVE_DBUS" = yes; then |
8670 LIBS="$LIBS $DBUS_LIBS" | 12813 LIBS="$LIBS $DBUS_LIBS" |
8671 | 12814 |
8672 $as_echo "#define HAVE_DBUS 1" >>confdefs.h | 12815 cat >>confdefs.h <<\_ACEOF |
8673 | 12816 #define HAVE_DBUS 1 |
8674 for ac_func in dbus_watch_get_unix_fd | 12817 _ACEOF |
8675 do : | 12818 |
8676 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" | 12819 |
8677 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : | 12820 for ac_func in dbus_watch_get_unix_fd |
12821 do | |
12822 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
12823 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
12824 $as_echo_n "checking for $ac_func... " >&6; } | |
12825 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
12826 $as_echo_n "(cached) " >&6 | |
12827 else | |
12828 cat >conftest.$ac_ext <<_ACEOF | |
12829 /* confdefs.h. */ | |
12830 _ACEOF | |
12831 cat confdefs.h >>conftest.$ac_ext | |
12832 cat >>conftest.$ac_ext <<_ACEOF | |
12833 /* end confdefs.h. */ | |
12834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
12835 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
12836 #define $ac_func innocuous_$ac_func | |
12837 | |
12838 /* System header to define __stub macros and hopefully few prototypes, | |
12839 which can conflict with char $ac_func (); below. | |
12840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
12841 <limits.h> exists even on freestanding compilers. */ | |
12842 | |
12843 #ifdef __STDC__ | |
12844 # include <limits.h> | |
12845 #else | |
12846 # include <assert.h> | |
12847 #endif | |
12848 | |
12849 #undef $ac_func | |
12850 | |
12851 /* Override any GCC internal prototype to avoid an error. | |
12852 Use char because int might match the return type of a GCC | |
12853 builtin and then its argument prototype would still apply. */ | |
12854 #ifdef __cplusplus | |
12855 extern "C" | |
12856 #endif | |
12857 char $ac_func (); | |
12858 /* The GNU C library defines this for functions which it implements | |
12859 to always fail with ENOSYS. Some functions are actually named | |
12860 something starting with __ and the normal name is an alias. */ | |
12861 #if defined __stub_$ac_func || defined __stub___$ac_func | |
12862 choke me | |
12863 #endif | |
12864 | |
12865 int | |
12866 main () | |
12867 { | |
12868 return $ac_func (); | |
12869 ; | |
12870 return 0; | |
12871 } | |
12872 _ACEOF | |
12873 rm -f conftest.$ac_objext conftest$ac_exeext | |
12874 if { (ac_try="$ac_link" | |
12875 case "(($ac_try" in | |
12876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12877 *) ac_try_echo=$ac_try;; | |
12878 esac | |
12879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12880 $as_echo "$ac_try_echo") >&5 | |
12881 (eval "$ac_link") 2>conftest.er1 | |
12882 ac_status=$? | |
12883 grep -v '^ *+' conftest.er1 >conftest.err | |
12884 rm -f conftest.er1 | |
12885 cat conftest.err >&5 | |
12886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12887 (exit $ac_status); } && { | |
12888 test -z "$ac_c_werror_flag" || | |
12889 test ! -s conftest.err | |
12890 } && test -s conftest$ac_exeext && { | |
12891 test "$cross_compiling" = yes || | |
12892 $as_test_x conftest$ac_exeext | |
12893 }; then | |
12894 eval "$as_ac_var=yes" | |
12895 else | |
12896 $as_echo "$as_me: failed program was:" >&5 | |
12897 sed 's/^/| /' conftest.$ac_ext >&5 | |
12898 | |
12899 eval "$as_ac_var=no" | |
12900 fi | |
12901 | |
12902 rm -rf conftest.dSYM | |
12903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12904 conftest$ac_exeext conftest.$ac_ext | |
12905 fi | |
12906 ac_res=`eval 'as_val=${'$as_ac_var'} | |
12907 $as_echo "$as_val"'` | |
12908 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12909 $as_echo "$ac_res" >&6; } | |
12910 if test `eval 'as_val=${'$as_ac_var'} | |
12911 $as_echo "$as_val"'` = yes; then | |
8678 cat >>confdefs.h <<_ACEOF | 12912 cat >>confdefs.h <<_ACEOF |
8679 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 | 12913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8680 _ACEOF | 12914 _ACEOF |
8681 | 12915 |
8682 fi | 12916 fi |
8683 done | 12917 done |
8684 | 12918 |
8692 | 12926 |
8693 succeeded=no | 12927 succeeded=no |
8694 | 12928 |
8695 # Extract the first word of "pkg-config", so it can be a program name with args. | 12929 # Extract the first word of "pkg-config", so it can be a program name with args. |
8696 set dummy pkg-config; ac_word=$2 | 12930 set dummy pkg-config; ac_word=$2 |
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12931 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8698 $as_echo_n "checking for $ac_word... " >&6; } | 12932 $as_echo_n "checking for $ac_word... " >&6; } |
8699 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12933 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
8700 $as_echo_n "(cached) " >&6 | 12934 $as_echo_n "(cached) " >&6 |
8701 else | 12935 else |
8702 case $PKG_CONFIG in | 12936 case $PKG_CONFIG in |
8703 [\\/]* | ?:[\\/]*) | 12937 [\\/]* | ?:[\\/]*) |
8704 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 12938 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 12941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8708 for as_dir in $PATH | 12942 for as_dir in $PATH |
8709 do | 12943 do |
8710 IFS=$as_save_IFS | 12944 IFS=$as_save_IFS |
8711 test -z "$as_dir" && as_dir=. | 12945 test -z "$as_dir" && as_dir=. |
8712 for ac_exec_ext in '' $ac_executable_extensions; do | 12946 for ac_exec_ext in '' $ac_executable_extensions; do |
8713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8714 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12948 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
8715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12949 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8716 break 2 | 12950 break 2 |
8717 fi | 12951 fi |
8718 done | 12952 done |
8719 done | 12953 done |
8720 IFS=$as_save_IFS | 12954 IFS=$as_save_IFS |
8721 | 12955 |
8722 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12956 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
8723 ;; | 12957 ;; |
8724 esac | 12958 esac |
8725 fi | 12959 fi |
8726 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12960 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
8727 if test -n "$PKG_CONFIG"; then | 12961 if test -n "$PKG_CONFIG"; then |
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12962 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
8729 $as_echo "$PKG_CONFIG" >&6; } | 12963 $as_echo "$PKG_CONFIG" >&6; } |
8730 else | 12964 else |
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12965 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8732 $as_echo "no" >&6; } | 12966 $as_echo "no" >&6; } |
8733 fi | 12967 fi |
8734 | 12968 |
8735 | 12969 |
8736 | 12970 |
8737 if test "$PKG_CONFIG" = "no" ; then | 12971 if test "$PKG_CONFIG" = "no" ; then |
8738 HAVE_GCONF=no | 12972 HAVE_GCONF=no |
8739 else | 12973 else |
8740 PKG_CONFIG_MIN_VERSION=0.9.0 | 12974 PKG_CONFIG_MIN_VERSION=0.9.0 |
8741 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12975 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 | 12976 { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5 |
8743 $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } | 12977 $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } |
8744 | 12978 |
8745 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then | 12979 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then |
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12980 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
8747 $as_echo "yes" >&6; } | 12981 $as_echo "yes" >&6; } |
8748 succeeded=yes | 12982 succeeded=yes |
8749 | 12983 |
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5 | 12984 { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5 |
8751 $as_echo_n "checking GCONF_CFLAGS... " >&6; } | 12985 $as_echo_n "checking GCONF_CFLAGS... " >&6; } |
8752 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12986 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5 | 12987 { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5 |
8754 $as_echo "$GCONF_CFLAGS" >&6; } | 12988 $as_echo "$GCONF_CFLAGS" >&6; } |
8755 | 12989 |
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5 | 12990 { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5 |
8757 $as_echo_n "checking GCONF_LIBS... " >&6; } | 12991 $as_echo_n "checking GCONF_LIBS... " >&6; } |
8758 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12992 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5 | 12993 { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5 |
8760 $as_echo "$GCONF_LIBS" >&6; } | 12994 $as_echo "$GCONF_LIBS" >&6; } |
8761 else | 12995 else |
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12996 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8763 $as_echo "no" >&6; } | 12997 $as_echo "no" >&6; } |
8764 GCONF_CFLAGS="" | 12998 GCONF_CFLAGS="" |
8765 GCONF_LIBS="" | 12999 GCONF_LIBS="" |
8766 ## If we have a custom action on failure, don't print errors, but | 13000 ## If we have a custom action on failure, don't print errors, but |
8767 ## do set a variable so people can do so. | 13001 ## do set a variable so people can do so. |
8783 HAVE_GCONF=no | 13017 HAVE_GCONF=no |
8784 fi | 13018 fi |
8785 | 13019 |
8786 if test "$HAVE_GCONF" = yes; then | 13020 if test "$HAVE_GCONF" = yes; then |
8787 | 13021 |
8788 $as_echo "#define HAVE_GCONF 1" >>confdefs.h | 13022 cat >>confdefs.h <<\_ACEOF |
13023 #define HAVE_GCONF 1 | |
13024 _ACEOF | |
8789 | 13025 |
8790 fi | 13026 fi |
8791 fi | 13027 fi |
8792 | 13028 |
8793 HAVE_LIBSELINUX=no | 13029 HAVE_LIBSELINUX=no |
8794 LIBSELINUX_LIBS= | 13030 LIBSELINUX_LIBS= |
8795 if test "${with_selinux}" = "yes"; then | 13031 if test "${with_selinux}" = "yes"; then |
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 | 13032 { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5 |
8797 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } | 13033 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } |
8798 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : | 13034 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then |
8799 $as_echo_n "(cached) " >&6 | 13035 $as_echo_n "(cached) " >&6 |
8800 else | 13036 else |
8801 ac_check_lib_save_LIBS=$LIBS | 13037 ac_check_lib_save_LIBS=$LIBS |
8802 LIBS="-lselinux $LIBS" | 13038 LIBS="-lselinux $LIBS" |
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13039 cat >conftest.$ac_ext <<_ACEOF |
13040 /* confdefs.h. */ | |
13041 _ACEOF | |
13042 cat confdefs.h >>conftest.$ac_ext | |
13043 cat >>conftest.$ac_ext <<_ACEOF | |
8804 /* end confdefs.h. */ | 13044 /* end confdefs.h. */ |
8805 | 13045 |
8806 /* Override any GCC internal prototype to avoid an error. | 13046 /* Override any GCC internal prototype to avoid an error. |
8807 Use char because int might match the return type of a GCC | 13047 Use char because int might match the return type of a GCC |
8808 builtin and then its argument prototype would still apply. */ | 13048 builtin and then its argument prototype would still apply. */ |
8816 return lgetfilecon (); | 13056 return lgetfilecon (); |
8817 ; | 13057 ; |
8818 return 0; | 13058 return 0; |
8819 } | 13059 } |
8820 _ACEOF | 13060 _ACEOF |
8821 if ac_fn_c_try_link "$LINENO"; then : | 13061 rm -f conftest.$ac_objext conftest$ac_exeext |
13062 if { (ac_try="$ac_link" | |
13063 case "(($ac_try" in | |
13064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13065 *) ac_try_echo=$ac_try;; | |
13066 esac | |
13067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13068 $as_echo "$ac_try_echo") >&5 | |
13069 (eval "$ac_link") 2>conftest.er1 | |
13070 ac_status=$? | |
13071 grep -v '^ *+' conftest.er1 >conftest.err | |
13072 rm -f conftest.er1 | |
13073 cat conftest.err >&5 | |
13074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13075 (exit $ac_status); } && { | |
13076 test -z "$ac_c_werror_flag" || | |
13077 test ! -s conftest.err | |
13078 } && test -s conftest$ac_exeext && { | |
13079 test "$cross_compiling" = yes || | |
13080 $as_test_x conftest$ac_exeext | |
13081 }; then | |
8822 ac_cv_lib_selinux_lgetfilecon=yes | 13082 ac_cv_lib_selinux_lgetfilecon=yes |
8823 else | 13083 else |
8824 ac_cv_lib_selinux_lgetfilecon=no | 13084 $as_echo "$as_me: failed program was:" >&5 |
8825 fi | 13085 sed 's/^/| /' conftest.$ac_ext >&5 |
8826 rm -f core conftest.err conftest.$ac_objext \ | 13086 |
8827 conftest$ac_exeext conftest.$ac_ext | 13087 ac_cv_lib_selinux_lgetfilecon=no |
13088 fi | |
13089 | |
13090 rm -rf conftest.dSYM | |
13091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13092 conftest$ac_exeext conftest.$ac_ext | |
8828 LIBS=$ac_check_lib_save_LIBS | 13093 LIBS=$ac_check_lib_save_LIBS |
8829 fi | 13094 fi |
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 | 13095 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5 |
8831 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } | 13096 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } |
8832 if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : | 13097 if test $ac_cv_lib_selinux_lgetfilecon = yes; then |
8833 HAVE_LIBSELINUX=yes | 13098 HAVE_LIBSELINUX=yes |
8834 else | 13099 else |
8835 HAVE_LIBSELINUX=no | 13100 HAVE_LIBSELINUX=no |
8836 fi | 13101 fi |
8837 | 13102 |
8838 if test "$HAVE_LIBSELINUX" = yes; then | 13103 if test "$HAVE_LIBSELINUX" = yes; then |
8839 | 13104 |
8840 $as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h | 13105 cat >>confdefs.h <<\_ACEOF |
13106 #define HAVE_LIBSELINUX 1 | |
13107 _ACEOF | |
8841 | 13108 |
8842 LIBSELINUX_LIBS=-lselinux | 13109 LIBSELINUX_LIBS=-lselinux |
8843 fi | 13110 fi |
8844 fi | 13111 fi |
8845 | 13112 |
8846 | 13113 |
8847 HAVE_XAW3D=no | 13114 HAVE_XAW3D=no |
8848 LUCID_LIBW= | 13115 LUCID_LIBW= |
8849 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 13116 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
8850 if test "$with_xaw3d" != no; then | 13117 if test "$with_xaw3d" != no; then |
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 | 13118 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 |
8852 $as_echo_n "checking for xaw3d... " >&6; } | 13119 $as_echo_n "checking for xaw3d... " >&6; } |
8853 if test "${emacs_cv_xaw3d+set}" = set; then : | 13120 if test "${emacs_cv_xaw3d+set}" = set; then |
8854 $as_echo_n "(cached) " >&6 | 13121 $as_echo_n "(cached) " >&6 |
8855 else | 13122 else |
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13123 cat >conftest.$ac_ext <<_ACEOF |
13124 /* confdefs.h. */ | |
13125 _ACEOF | |
13126 cat confdefs.h >>conftest.$ac_ext | |
13127 cat >>conftest.$ac_ext <<_ACEOF | |
8857 /* end confdefs.h. */ | 13128 /* end confdefs.h. */ |
8858 | 13129 |
8859 #include <X11/Intrinsic.h> | 13130 #include <X11/Intrinsic.h> |
8860 #include <X11/Xaw3d/Simple.h> | 13131 #include <X11/Xaw3d/Simple.h> |
8861 int | 13132 int |
8864 | 13135 |
8865 ; | 13136 ; |
8866 return 0; | 13137 return 0; |
8867 } | 13138 } |
8868 _ACEOF | 13139 _ACEOF |
8869 if ac_fn_c_try_link "$LINENO"; then : | 13140 rm -f conftest.$ac_objext conftest$ac_exeext |
13141 if { (ac_try="$ac_link" | |
13142 case "(($ac_try" in | |
13143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13144 *) ac_try_echo=$ac_try;; | |
13145 esac | |
13146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13147 $as_echo "$ac_try_echo") >&5 | |
13148 (eval "$ac_link") 2>conftest.er1 | |
13149 ac_status=$? | |
13150 grep -v '^ *+' conftest.er1 >conftest.err | |
13151 rm -f conftest.er1 | |
13152 cat conftest.err >&5 | |
13153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13154 (exit $ac_status); } && { | |
13155 test -z "$ac_c_werror_flag" || | |
13156 test ! -s conftest.err | |
13157 } && test -s conftest$ac_exeext && { | |
13158 test "$cross_compiling" = yes || | |
13159 $as_test_x conftest$ac_exeext | |
13160 }; then | |
8870 emacs_cv_xaw3d=yes | 13161 emacs_cv_xaw3d=yes |
8871 else | 13162 else |
8872 emacs_cv_xaw3d=no | 13163 $as_echo "$as_me: failed program was:" >&5 |
8873 fi | 13164 sed 's/^/| /' conftest.$ac_ext >&5 |
8874 rm -f core conftest.err conftest.$ac_objext \ | 13165 |
8875 conftest$ac_exeext conftest.$ac_ext | 13166 emacs_cv_xaw3d=no |
13167 fi | |
13168 | |
13169 rm -rf conftest.dSYM | |
13170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13171 conftest$ac_exeext conftest.$ac_ext | |
8876 fi | 13172 fi |
8877 | 13173 |
8878 else | 13174 else |
8879 emacs_cv_xaw3d=no | 13175 emacs_cv_xaw3d=no |
8880 fi | 13176 fi |
8881 if test $emacs_cv_xaw3d = yes; then | 13177 if test $emacs_cv_xaw3d = yes; then |
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 13178 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
8883 $as_echo "yes; using Lucid toolkit" >&6; } | 13179 $as_echo "yes; using Lucid toolkit" >&6; } |
8884 USE_X_TOOLKIT=LUCID | 13180 USE_X_TOOLKIT=LUCID |
8885 HAVE_XAW3D=yes | 13181 HAVE_XAW3D=yes |
8886 LUCID_LIBW=-lXaw3d | 13182 LUCID_LIBW=-lXaw3d |
8887 | 13183 |
8888 $as_echo "#define HAVE_XAW3D 1" >>confdefs.h | 13184 cat >>confdefs.h <<\_ACEOF |
13185 #define HAVE_XAW3D 1 | |
13186 _ACEOF | |
8889 | 13187 |
8890 else | 13188 else |
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13189 { $as_echo "$as_me:$LINENO: result: no" >&5 |
8892 $as_echo "no" >&6; } | 13190 $as_echo "no" >&6; } |
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 | 13191 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 |
8894 $as_echo_n "checking for libXaw... " >&6; } | 13192 $as_echo_n "checking for libXaw... " >&6; } |
8895 if test "${emacs_cv_xaw+set}" = set; then : | 13193 if test "${emacs_cv_xaw+set}" = set; then |
8896 $as_echo_n "(cached) " >&6 | 13194 $as_echo_n "(cached) " >&6 |
8897 else | 13195 else |
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13196 cat >conftest.$ac_ext <<_ACEOF |
13197 /* confdefs.h. */ | |
13198 _ACEOF | |
13199 cat confdefs.h >>conftest.$ac_ext | |
13200 cat >>conftest.$ac_ext <<_ACEOF | |
8899 /* end confdefs.h. */ | 13201 /* end confdefs.h. */ |
8900 | 13202 |
8901 #include <X11/Intrinsic.h> | 13203 #include <X11/Intrinsic.h> |
8902 #include <X11/Xaw/Simple.h> | 13204 #include <X11/Xaw/Simple.h> |
8903 int | 13205 int |
8906 | 13208 |
8907 ; | 13209 ; |
8908 return 0; | 13210 return 0; |
8909 } | 13211 } |
8910 _ACEOF | 13212 _ACEOF |
8911 if ac_fn_c_try_link "$LINENO"; then : | 13213 rm -f conftest.$ac_objext conftest$ac_exeext |
13214 if { (ac_try="$ac_link" | |
13215 case "(($ac_try" in | |
13216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13217 *) ac_try_echo=$ac_try;; | |
13218 esac | |
13219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13220 $as_echo "$ac_try_echo") >&5 | |
13221 (eval "$ac_link") 2>conftest.er1 | |
13222 ac_status=$? | |
13223 grep -v '^ *+' conftest.er1 >conftest.err | |
13224 rm -f conftest.er1 | |
13225 cat conftest.err >&5 | |
13226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13227 (exit $ac_status); } && { | |
13228 test -z "$ac_c_werror_flag" || | |
13229 test ! -s conftest.err | |
13230 } && test -s conftest$ac_exeext && { | |
13231 test "$cross_compiling" = yes || | |
13232 $as_test_x conftest$ac_exeext | |
13233 }; then | |
8912 emacs_cv_xaw=yes | 13234 emacs_cv_xaw=yes |
8913 else | 13235 else |
8914 emacs_cv_xaw=no | 13236 $as_echo "$as_me: failed program was:" >&5 |
8915 fi | 13237 sed 's/^/| /' conftest.$ac_ext >&5 |
8916 rm -f core conftest.err conftest.$ac_objext \ | 13238 |
8917 conftest$ac_exeext conftest.$ac_ext | 13239 emacs_cv_xaw=no |
13240 fi | |
13241 | |
13242 rm -rf conftest.dSYM | |
13243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13244 conftest$ac_exeext conftest.$ac_ext | |
8918 fi | 13245 fi |
8919 | 13246 |
8920 if test $emacs_cv_xaw = yes; then | 13247 if test $emacs_cv_xaw = yes; then |
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 13248 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
8922 $as_echo "yes; using Lucid toolkit" >&6; } | 13249 $as_echo "yes; using Lucid toolkit" >&6; } |
8923 USE_X_TOOLKIT=LUCID | 13250 USE_X_TOOLKIT=LUCID |
8924 LUCID_LIBW=-lXaw | 13251 LUCID_LIBW=-lXaw |
8925 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 13252 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
8926 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 13253 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 |
13254 $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} | |
13255 { (exit 1); exit 1; }; } | |
8927 else | 13256 else |
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 13257 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 |
8929 $as_echo "no; do not use toolkit by default" >&6; } | 13258 $as_echo "no; do not use toolkit by default" >&6; } |
8930 USE_X_TOOLKIT=none | 13259 USE_X_TOOLKIT=none |
8931 fi | 13260 fi |
8932 fi | 13261 fi |
8933 fi | 13262 fi |
8934 | 13263 |
8935 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 13264 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
8936 | 13265 |
8937 LIBXTR6= | 13266 LIBXTR6= |
8938 if test "${USE_X_TOOLKIT}" != "none"; then | 13267 if test "${USE_X_TOOLKIT}" != "none"; then |
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 | 13268 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 |
8940 $as_echo_n "checking X11 toolkit version... " >&6; } | 13269 $as_echo_n "checking X11 toolkit version... " >&6; } |
8941 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : | 13270 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
8942 $as_echo_n "(cached) " >&6 | 13271 $as_echo_n "(cached) " >&6 |
8943 else | 13272 else |
8944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13273 cat >conftest.$ac_ext <<_ACEOF |
13274 /* confdefs.h. */ | |
13275 _ACEOF | |
13276 cat confdefs.h >>conftest.$ac_ext | |
13277 cat >>conftest.$ac_ext <<_ACEOF | |
8945 /* end confdefs.h. */ | 13278 /* end confdefs.h. */ |
8946 #include <X11/Intrinsic.h> | 13279 #include <X11/Intrinsic.h> |
8947 int | 13280 int |
8948 main () | 13281 main () |
8949 { | 13282 { |
8953 | 13286 |
8954 ; | 13287 ; |
8955 return 0; | 13288 return 0; |
8956 } | 13289 } |
8957 _ACEOF | 13290 _ACEOF |
8958 if ac_fn_c_try_link "$LINENO"; then : | 13291 rm -f conftest.$ac_objext conftest$ac_exeext |
13292 if { (ac_try="$ac_link" | |
13293 case "(($ac_try" in | |
13294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13295 *) ac_try_echo=$ac_try;; | |
13296 esac | |
13297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13298 $as_echo "$ac_try_echo") >&5 | |
13299 (eval "$ac_link") 2>conftest.er1 | |
13300 ac_status=$? | |
13301 grep -v '^ *+' conftest.er1 >conftest.err | |
13302 rm -f conftest.er1 | |
13303 cat conftest.err >&5 | |
13304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13305 (exit $ac_status); } && { | |
13306 test -z "$ac_c_werror_flag" || | |
13307 test ! -s conftest.err | |
13308 } && test -s conftest$ac_exeext && { | |
13309 test "$cross_compiling" = yes || | |
13310 $as_test_x conftest$ac_exeext | |
13311 }; then | |
8959 emacs_cv_x11_toolkit_version_6=yes | 13312 emacs_cv_x11_toolkit_version_6=yes |
8960 else | 13313 else |
8961 emacs_cv_x11_toolkit_version_6=no | 13314 $as_echo "$as_me: failed program was:" >&5 |
8962 fi | 13315 sed 's/^/| /' conftest.$ac_ext >&5 |
8963 rm -f core conftest.err conftest.$ac_objext \ | 13316 |
8964 conftest$ac_exeext conftest.$ac_ext | 13317 emacs_cv_x11_toolkit_version_6=no |
13318 fi | |
13319 | |
13320 rm -rf conftest.dSYM | |
13321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13322 conftest$ac_exeext conftest.$ac_ext | |
8965 fi | 13323 fi |
8966 | 13324 |
8967 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 13325 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
8968 if test $emacs_cv_x11_toolkit_version_6 = yes; then | 13326 if test $emacs_cv_x11_toolkit_version_6 = yes; then |
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 13327 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
8970 $as_echo "6 or newer" >&6; } | 13328 $as_echo "6 or newer" >&6; } |
8971 | 13329 |
8972 $as_echo "#define HAVE_X11XTR6 1" >>confdefs.h | 13330 cat >>confdefs.h <<\_ACEOF |
13331 #define HAVE_X11XTR6 1 | |
13332 _ACEOF | |
8973 | 13333 |
8974 LIBXTR6="-lSM -lICE" | 13334 LIBXTR6="-lSM -lICE" |
8975 case "$opsys" in | 13335 case "$opsys" in |
8976 ## Use libw.a along with X11R6 Xt. | 13336 ## Use libw.a along with X11R6 Xt. |
8977 unixware) LIBXTR6="$LIBXTR6 -lw" ;; | 13337 unixware) LIBXTR6="$LIBXTR6 -lw" ;; |
8978 esac | 13338 esac |
8979 else | 13339 else |
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 13340 { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
8981 $as_echo "before 6" >&6; } | 13341 $as_echo "before 6" >&6; } |
8982 fi | 13342 fi |
8983 | 13343 |
8984 OLDLIBS="$LIBS" | 13344 OLDLIBS="$LIBS" |
8985 if test x$HAVE_X11XTR6 = xyes; then | 13345 if test x$HAVE_X11XTR6 = xyes; then |
8986 LIBS="-lXt -lSM -lICE $LIBS" | 13346 LIBS="-lXt -lSM -lICE $LIBS" |
8987 else | 13347 else |
8988 LIBS="-lXt $LIBS" | 13348 LIBS="-lXt $LIBS" |
8989 fi | 13349 fi |
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 | 13350 |
13351 { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | |
8991 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } | 13352 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } |
8992 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : | 13353 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
8993 $as_echo_n "(cached) " >&6 | 13354 $as_echo_n "(cached) " >&6 |
8994 else | 13355 else |
8995 ac_check_lib_save_LIBS=$LIBS | 13356 ac_check_lib_save_LIBS=$LIBS |
8996 LIBS="-lXmu $LIBS" | 13357 LIBS="-lXmu $LIBS" |
8997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13358 cat >conftest.$ac_ext <<_ACEOF |
13359 /* confdefs.h. */ | |
13360 _ACEOF | |
13361 cat confdefs.h >>conftest.$ac_ext | |
13362 cat >>conftest.$ac_ext <<_ACEOF | |
8998 /* end confdefs.h. */ | 13363 /* end confdefs.h. */ |
8999 | 13364 |
9000 /* Override any GCC internal prototype to avoid an error. | 13365 /* Override any GCC internal prototype to avoid an error. |
9001 Use char because int might match the return type of a GCC | 13366 Use char because int might match the return type of a GCC |
9002 builtin and then its argument prototype would still apply. */ | 13367 builtin and then its argument prototype would still apply. */ |
9010 return XmuConvertStandardSelection (); | 13375 return XmuConvertStandardSelection (); |
9011 ; | 13376 ; |
9012 return 0; | 13377 return 0; |
9013 } | 13378 } |
9014 _ACEOF | 13379 _ACEOF |
9015 if ac_fn_c_try_link "$LINENO"; then : | 13380 rm -f conftest.$ac_objext conftest$ac_exeext |
13381 if { (ac_try="$ac_link" | |
13382 case "(($ac_try" in | |
13383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13384 *) ac_try_echo=$ac_try;; | |
13385 esac | |
13386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13387 $as_echo "$ac_try_echo") >&5 | |
13388 (eval "$ac_link") 2>conftest.er1 | |
13389 ac_status=$? | |
13390 grep -v '^ *+' conftest.er1 >conftest.err | |
13391 rm -f conftest.er1 | |
13392 cat conftest.err >&5 | |
13393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13394 (exit $ac_status); } && { | |
13395 test -z "$ac_c_werror_flag" || | |
13396 test ! -s conftest.err | |
13397 } && test -s conftest$ac_exeext && { | |
13398 test "$cross_compiling" = yes || | |
13399 $as_test_x conftest$ac_exeext | |
13400 }; then | |
9016 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 13401 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
9017 else | 13402 else |
9018 ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 13403 $as_echo "$as_me: failed program was:" >&5 |
9019 fi | 13404 sed 's/^/| /' conftest.$ac_ext >&5 |
9020 rm -f core conftest.err conftest.$ac_objext \ | 13405 |
9021 conftest$ac_exeext conftest.$ac_ext | 13406 ac_cv_lib_Xmu_XmuConvertStandardSelection=no |
13407 fi | |
13408 | |
13409 rm -rf conftest.dSYM | |
13410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13411 conftest$ac_exeext conftest.$ac_ext | |
9022 LIBS=$ac_check_lib_save_LIBS | 13412 LIBS=$ac_check_lib_save_LIBS |
9023 fi | 13413 fi |
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 13414 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
9025 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } | 13415 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
9026 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : | 13416 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
9027 cat >>confdefs.h <<_ACEOF | 13417 cat >>confdefs.h <<_ACEOF |
9028 #define HAVE_LIBXMU 1 | 13418 #define HAVE_LIBXMU 1 |
9029 _ACEOF | 13419 _ACEOF |
9030 | 13420 |
9031 LIBS="-lXmu $LIBS" | 13421 LIBS="-lXmu $LIBS" |
9046 | 13436 |
9047 | 13437 |
9048 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 13438 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
9049 if test "${HAVE_X11}" = "yes"; then | 13439 if test "${HAVE_X11}" = "yes"; then |
9050 if test "${USE_X_TOOLKIT}" != "none"; then | 13440 if test "${USE_X_TOOLKIT}" != "none"; then |
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 | 13441 |
13442 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | |
9052 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } | 13443 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
9053 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : | 13444 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
9054 $as_echo_n "(cached) " >&6 | 13445 $as_echo_n "(cached) " >&6 |
9055 else | 13446 else |
9056 ac_check_lib_save_LIBS=$LIBS | 13447 ac_check_lib_save_LIBS=$LIBS |
9057 LIBS="-lXext $LIBS" | 13448 LIBS="-lXext $LIBS" |
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13449 cat >conftest.$ac_ext <<_ACEOF |
13450 /* confdefs.h. */ | |
13451 _ACEOF | |
13452 cat confdefs.h >>conftest.$ac_ext | |
13453 cat >>conftest.$ac_ext <<_ACEOF | |
9059 /* end confdefs.h. */ | 13454 /* end confdefs.h. */ |
9060 | 13455 |
9061 /* Override any GCC internal prototype to avoid an error. | 13456 /* Override any GCC internal prototype to avoid an error. |
9062 Use char because int might match the return type of a GCC | 13457 Use char because int might match the return type of a GCC |
9063 builtin and then its argument prototype would still apply. */ | 13458 builtin and then its argument prototype would still apply. */ |
9071 return XShapeQueryExtension (); | 13466 return XShapeQueryExtension (); |
9072 ; | 13467 ; |
9073 return 0; | 13468 return 0; |
9074 } | 13469 } |
9075 _ACEOF | 13470 _ACEOF |
9076 if ac_fn_c_try_link "$LINENO"; then : | 13471 rm -f conftest.$ac_objext conftest$ac_exeext |
13472 if { (ac_try="$ac_link" | |
13473 case "(($ac_try" in | |
13474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13475 *) ac_try_echo=$ac_try;; | |
13476 esac | |
13477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13478 $as_echo "$ac_try_echo") >&5 | |
13479 (eval "$ac_link") 2>conftest.er1 | |
13480 ac_status=$? | |
13481 grep -v '^ *+' conftest.er1 >conftest.err | |
13482 rm -f conftest.er1 | |
13483 cat conftest.err >&5 | |
13484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13485 (exit $ac_status); } && { | |
13486 test -z "$ac_c_werror_flag" || | |
13487 test ! -s conftest.err | |
13488 } && test -s conftest$ac_exeext && { | |
13489 test "$cross_compiling" = yes || | |
13490 $as_test_x conftest$ac_exeext | |
13491 }; then | |
9077 ac_cv_lib_Xext_XShapeQueryExtension=yes | 13492 ac_cv_lib_Xext_XShapeQueryExtension=yes |
9078 else | 13493 else |
9079 ac_cv_lib_Xext_XShapeQueryExtension=no | 13494 $as_echo "$as_me: failed program was:" >&5 |
9080 fi | 13495 sed 's/^/| /' conftest.$ac_ext >&5 |
9081 rm -f core conftest.err conftest.$ac_objext \ | 13496 |
9082 conftest$ac_exeext conftest.$ac_ext | 13497 ac_cv_lib_Xext_XShapeQueryExtension=no |
13498 fi | |
13499 | |
13500 rm -rf conftest.dSYM | |
13501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13502 conftest$ac_exeext conftest.$ac_ext | |
9083 LIBS=$ac_check_lib_save_LIBS | 13503 LIBS=$ac_check_lib_save_LIBS |
9084 fi | 13504 fi |
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 13505 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
9086 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | 13506 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
9087 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : | 13507 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
9088 cat >>confdefs.h <<_ACEOF | 13508 cat >>confdefs.h <<_ACEOF |
9089 #define HAVE_LIBXEXT 1 | 13509 #define HAVE_LIBXEXT 1 |
9090 _ACEOF | 13510 _ACEOF |
9091 | 13511 |
9092 LIBS="-lXext $LIBS" | 13512 LIBS="-lXext $LIBS" |
9096 fi | 13516 fi |
9097 fi | 13517 fi |
9098 | 13518 |
9099 LIBXP= | 13519 LIBXP= |
9100 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13520 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 | 13521 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 |
9102 $as_echo_n "checking for Motif version 2.1... " >&6; } | 13522 $as_echo_n "checking for Motif version 2.1... " >&6; } |
9103 if test "${emacs_cv_motif_version_2_1+set}" = set; then : | 13523 if test "${emacs_cv_motif_version_2_1+set}" = set; then |
9104 $as_echo_n "(cached) " >&6 | 13524 $as_echo_n "(cached) " >&6 |
9105 else | 13525 else |
9106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13526 cat >conftest.$ac_ext <<_ACEOF |
13527 /* confdefs.h. */ | |
13528 _ACEOF | |
13529 cat confdefs.h >>conftest.$ac_ext | |
13530 cat >>conftest.$ac_ext <<_ACEOF | |
9107 /* end confdefs.h. */ | 13531 /* end confdefs.h. */ |
9108 #include <Xm/Xm.h> | 13532 #include <Xm/Xm.h> |
9109 int | 13533 int |
9110 main () | 13534 main () |
9111 { | 13535 { |
9116 #endif | 13540 #endif |
9117 ; | 13541 ; |
9118 return 0; | 13542 return 0; |
9119 } | 13543 } |
9120 _ACEOF | 13544 _ACEOF |
9121 if ac_fn_c_try_compile "$LINENO"; then : | 13545 rm -f conftest.$ac_objext |
13546 if { (ac_try="$ac_compile" | |
13547 case "(($ac_try" in | |
13548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13549 *) ac_try_echo=$ac_try;; | |
13550 esac | |
13551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13552 $as_echo "$ac_try_echo") >&5 | |
13553 (eval "$ac_compile") 2>conftest.er1 | |
13554 ac_status=$? | |
13555 grep -v '^ *+' conftest.er1 >conftest.err | |
13556 rm -f conftest.er1 | |
13557 cat conftest.err >&5 | |
13558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13559 (exit $ac_status); } && { | |
13560 test -z "$ac_c_werror_flag" || | |
13561 test ! -s conftest.err | |
13562 } && test -s conftest.$ac_objext; then | |
9122 emacs_cv_motif_version_2_1=yes | 13563 emacs_cv_motif_version_2_1=yes |
9123 else | 13564 else |
9124 emacs_cv_motif_version_2_1=no | 13565 $as_echo "$as_me: failed program was:" >&5 |
9125 fi | 13566 sed 's/^/| /' conftest.$ac_ext >&5 |
13567 | |
13568 emacs_cv_motif_version_2_1=no | |
13569 fi | |
13570 | |
9126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9127 fi | 13572 fi |
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 | 13573 { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 |
9129 $as_echo "$emacs_cv_motif_version_2_1" >&6; } | 13574 $as_echo "$emacs_cv_motif_version_2_1" >&6; } |
9130 if test $emacs_cv_motif_version_2_1 = yes; then | 13575 if test $emacs_cv_motif_version_2_1 = yes; then |
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 | 13576 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 |
9132 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } | 13577 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } |
9133 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : | 13578 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
9134 $as_echo_n "(cached) " >&6 | 13579 $as_echo_n "(cached) " >&6 |
9135 else | 13580 else |
9136 ac_check_lib_save_LIBS=$LIBS | 13581 ac_check_lib_save_LIBS=$LIBS |
9137 LIBS="-lXp $LIBS" | 13582 LIBS="-lXp $LIBS" |
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13583 cat >conftest.$ac_ext <<_ACEOF |
13584 /* confdefs.h. */ | |
13585 _ACEOF | |
13586 cat confdefs.h >>conftest.$ac_ext | |
13587 cat >>conftest.$ac_ext <<_ACEOF | |
9139 /* end confdefs.h. */ | 13588 /* end confdefs.h. */ |
9140 | 13589 |
9141 /* Override any GCC internal prototype to avoid an error. | 13590 /* Override any GCC internal prototype to avoid an error. |
9142 Use char because int might match the return type of a GCC | 13591 Use char because int might match the return type of a GCC |
9143 builtin and then its argument prototype would still apply. */ | 13592 builtin and then its argument prototype would still apply. */ |
9151 return XpCreateContext (); | 13600 return XpCreateContext (); |
9152 ; | 13601 ; |
9153 return 0; | 13602 return 0; |
9154 } | 13603 } |
9155 _ACEOF | 13604 _ACEOF |
9156 if ac_fn_c_try_link "$LINENO"; then : | 13605 rm -f conftest.$ac_objext conftest$ac_exeext |
13606 if { (ac_try="$ac_link" | |
13607 case "(($ac_try" in | |
13608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13609 *) ac_try_echo=$ac_try;; | |
13610 esac | |
13611 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13612 $as_echo "$ac_try_echo") >&5 | |
13613 (eval "$ac_link") 2>conftest.er1 | |
13614 ac_status=$? | |
13615 grep -v '^ *+' conftest.er1 >conftest.err | |
13616 rm -f conftest.er1 | |
13617 cat conftest.err >&5 | |
13618 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13619 (exit $ac_status); } && { | |
13620 test -z "$ac_c_werror_flag" || | |
13621 test ! -s conftest.err | |
13622 } && test -s conftest$ac_exeext && { | |
13623 test "$cross_compiling" = yes || | |
13624 $as_test_x conftest$ac_exeext | |
13625 }; then | |
9157 ac_cv_lib_Xp_XpCreateContext=yes | 13626 ac_cv_lib_Xp_XpCreateContext=yes |
9158 else | 13627 else |
9159 ac_cv_lib_Xp_XpCreateContext=no | 13628 $as_echo "$as_me: failed program was:" >&5 |
9160 fi | 13629 sed 's/^/| /' conftest.$ac_ext >&5 |
9161 rm -f core conftest.err conftest.$ac_objext \ | 13630 |
9162 conftest$ac_exeext conftest.$ac_ext | 13631 ac_cv_lib_Xp_XpCreateContext=no |
13632 fi | |
13633 | |
13634 rm -rf conftest.dSYM | |
13635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
13636 conftest$ac_exeext conftest.$ac_ext | |
9163 LIBS=$ac_check_lib_save_LIBS | 13637 LIBS=$ac_check_lib_save_LIBS |
9164 fi | 13638 fi |
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 13639 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
9166 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } | 13640 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } |
9167 if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : | 13641 if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
9168 LIBXP=-lXp | 13642 LIBXP=-lXp |
9169 fi | 13643 fi |
9170 | 13644 |
9171 else | 13645 else |
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 | 13646 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 |
9173 $as_echo_n "checking for LessTif where some systems put it... " >&6; } | 13647 $as_echo_n "checking for LessTif where some systems put it... " >&6; } |
9174 if test "${emacs_cv_lesstif+set}" = set; then : | 13648 if test "${emacs_cv_lesstif+set}" = set; then |
9175 $as_echo_n "(cached) " >&6 | 13649 $as_echo_n "(cached) " >&6 |
9176 else | 13650 else |
9177 # We put this in CFLAGS temporarily to precede other -I options | 13651 # We put this in CFLAGS temporarily to precede other -I options |
9178 # that might be in CFLAGS temporarily. | 13652 # that might be in CFLAGS temporarily. |
9179 # We put this in CPPFLAGS where it precedes the other -I options. | 13653 # We put this in CPPFLAGS where it precedes the other -I options. |
9180 OLD_CPPFLAGS=$CPPFLAGS | 13654 OLD_CPPFLAGS=$CPPFLAGS |
9181 OLD_CFLAGS=$CFLAGS | 13655 OLD_CFLAGS=$CFLAGS |
9182 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" | 13656 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" |
9183 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" | 13657 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" |
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13658 cat >conftest.$ac_ext <<_ACEOF |
13659 /* confdefs.h. */ | |
13660 _ACEOF | |
13661 cat confdefs.h >>conftest.$ac_ext | |
13662 cat >>conftest.$ac_ext <<_ACEOF | |
9185 /* end confdefs.h. */ | 13663 /* end confdefs.h. */ |
9186 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> | 13664 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> |
9187 int | 13665 int |
9188 main () | 13666 main () |
9189 { | 13667 { |
9190 int x = 5; | 13668 int x = 5; |
9191 ; | 13669 ; |
9192 return 0; | 13670 return 0; |
9193 } | 13671 } |
9194 _ACEOF | 13672 _ACEOF |
9195 if ac_fn_c_try_compile "$LINENO"; then : | 13673 rm -f conftest.$ac_objext |
13674 if { (ac_try="$ac_compile" | |
13675 case "(($ac_try" in | |
13676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13677 *) ac_try_echo=$ac_try;; | |
13678 esac | |
13679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13680 $as_echo "$ac_try_echo") >&5 | |
13681 (eval "$ac_compile") 2>conftest.er1 | |
13682 ac_status=$? | |
13683 grep -v '^ *+' conftest.er1 >conftest.err | |
13684 rm -f conftest.er1 | |
13685 cat conftest.err >&5 | |
13686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13687 (exit $ac_status); } && { | |
13688 test -z "$ac_c_werror_flag" || | |
13689 test ! -s conftest.err | |
13690 } && test -s conftest.$ac_objext; then | |
9196 emacs_cv_lesstif=yes | 13691 emacs_cv_lesstif=yes |
9197 else | 13692 else |
9198 emacs_cv_lesstif=no | 13693 $as_echo "$as_me: failed program was:" >&5 |
9199 fi | 13694 sed 's/^/| /' conftest.$ac_ext >&5 |
13695 | |
13696 emacs_cv_lesstif=no | |
13697 fi | |
13698 | |
9200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9201 fi | 13700 fi |
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5 | 13701 { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 |
9203 $as_echo "$emacs_cv_lesstif" >&6; } | 13702 $as_echo "$emacs_cv_lesstif" >&6; } |
9204 if test $emacs_cv_lesstif = yes; then | 13703 if test $emacs_cv_lesstif = yes; then |
9205 # Make sure this -I option remains in CPPFLAGS after it is set | 13704 # Make sure this -I option remains in CPPFLAGS after it is set |
9206 # back to REAL_CPPFLAGS. | 13705 # back to REAL_CPPFLAGS. |
9207 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not | 13706 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not |
9215 fi | 13714 fi |
9216 fi | 13715 fi |
9217 fi | 13716 fi |
9218 | 13717 |
9219 | 13718 |
13719 | |
9220 USE_TOOLKIT_SCROLL_BARS=no | 13720 USE_TOOLKIT_SCROLL_BARS=no |
9221 if test "${with_toolkit_scroll_bars}" != "no"; then | 13721 if test "${with_toolkit_scroll_bars}" != "no"; then |
9222 if test "${USE_X_TOOLKIT}" != "none"; then | 13722 if test "${USE_X_TOOLKIT}" != "none"; then |
9223 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13723 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
9224 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13724 cat >>confdefs.h <<\_ACEOF |
13725 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13726 _ACEOF | |
9225 | 13727 |
9226 HAVE_XAW3D=no | 13728 HAVE_XAW3D=no |
9227 USE_TOOLKIT_SCROLL_BARS=yes | 13729 USE_TOOLKIT_SCROLL_BARS=yes |
9228 elif test "${HAVE_XAW3D}" = "yes"; then | 13730 elif test "${HAVE_XAW3D}" = "yes"; then |
9229 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13731 cat >>confdefs.h <<\_ACEOF |
13732 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13733 _ACEOF | |
9230 | 13734 |
9231 USE_TOOLKIT_SCROLL_BARS=yes | 13735 USE_TOOLKIT_SCROLL_BARS=yes |
9232 fi | 13736 fi |
9233 elif test "${HAVE_GTK}" = "yes"; then | 13737 elif test "${HAVE_GTK}" = "yes"; then |
9234 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13738 cat >>confdefs.h <<\_ACEOF |
13739 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13740 _ACEOF | |
9235 | 13741 |
9236 USE_TOOLKIT_SCROLL_BARS=yes | 13742 USE_TOOLKIT_SCROLL_BARS=yes |
9237 elif test "${HAVE_NS}" = "yes"; then | 13743 elif test "${HAVE_NS}" = "yes"; then |
9238 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13744 cat >>confdefs.h <<\_ACEOF |
13745 #define USE_TOOLKIT_SCROLL_BARS 1 | |
13746 _ACEOF | |
9239 | 13747 |
9240 USE_TOOLKIT_SCROLL_BARS=yes | 13748 USE_TOOLKIT_SCROLL_BARS=yes |
9241 fi | 13749 fi |
9242 fi | 13750 fi |
9243 | 13751 |
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13752 cat >conftest.$ac_ext <<_ACEOF |
13753 /* confdefs.h. */ | |
13754 _ACEOF | |
13755 cat confdefs.h >>conftest.$ac_ext | |
13756 cat >>conftest.$ac_ext <<_ACEOF | |
9245 /* end confdefs.h. */ | 13757 /* end confdefs.h. */ |
9246 | 13758 |
9247 #include <X11/Xlib.h> | 13759 #include <X11/Xlib.h> |
9248 #include <X11/Xresource.h> | 13760 #include <X11/Xresource.h> |
9249 int | 13761 int |
9252 XIMProc callback; | 13764 XIMProc callback; |
9253 ; | 13765 ; |
9254 return 0; | 13766 return 0; |
9255 } | 13767 } |
9256 _ACEOF | 13768 _ACEOF |
9257 if ac_fn_c_try_compile "$LINENO"; then : | 13769 rm -f conftest.$ac_objext |
13770 if { (ac_try="$ac_compile" | |
13771 case "(($ac_try" in | |
13772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13773 *) ac_try_echo=$ac_try;; | |
13774 esac | |
13775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
13776 $as_echo "$ac_try_echo") >&5 | |
13777 (eval "$ac_compile") 2>conftest.er1 | |
13778 ac_status=$? | |
13779 grep -v '^ *+' conftest.er1 >conftest.err | |
13780 rm -f conftest.er1 | |
13781 cat conftest.err >&5 | |
13782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
13783 (exit $ac_status); } && { | |
13784 test -z "$ac_c_werror_flag" || | |
13785 test ! -s conftest.err | |
13786 } && test -s conftest.$ac_objext; then | |
9258 HAVE_XIM=yes | 13787 HAVE_XIM=yes |
9259 | 13788 |
9260 $as_echo "#define HAVE_XIM 1" >>confdefs.h | 13789 cat >>confdefs.h <<\_ACEOF |
9261 | 13790 #define HAVE_XIM 1 |
9262 else | 13791 _ACEOF |
9263 HAVE_XIM=no | 13792 |
9264 fi | 13793 else |
13794 $as_echo "$as_me: failed program was:" >&5 | |
13795 sed 's/^/| /' conftest.$ac_ext >&5 | |
13796 | |
13797 HAVE_XIM=no | |
13798 fi | |
13799 | |
9265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9266 | 13801 |
9267 | 13802 |
9268 if test "${with_xim}" != "no"; then | 13803 if test "${with_xim}" != "no"; then |
9269 | 13804 |
9270 $as_echo "#define USE_XIM 1" >>confdefs.h | 13805 cat >>confdefs.h <<\_ACEOF |
13806 #define USE_XIM 1 | |
13807 _ACEOF | |
9271 | 13808 |
9272 fi | 13809 fi |
9273 | 13810 |
9274 | 13811 |
9275 if test "${HAVE_XIM}" != "no"; then | 13812 if test "${HAVE_XIM}" != "no"; then |
9276 late_CFLAGS=$CFLAGS | 13813 late_CFLAGS=$CFLAGS |
9277 if test "$GCC" = yes; then | 13814 if test "$GCC" = yes; then |
9278 CFLAGS="$CFLAGS --pedantic-errors" | 13815 CFLAGS="$CFLAGS --pedantic-errors" |
9279 fi | 13816 fi |
9280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13817 cat >conftest.$ac_ext <<_ACEOF |
13818 /* confdefs.h. */ | |
13819 _ACEOF | |
13820 cat confdefs.h >>conftest.$ac_ext | |
13821 cat >>conftest.$ac_ext <<_ACEOF | |
9281 /* end confdefs.h. */ | 13822 /* end confdefs.h. */ |
9282 | 13823 |
9283 #include <X11/Xlib.h> | 13824 #include <X11/Xlib.h> |
9284 #include <X11/Xresource.h> | 13825 #include <X11/Xresource.h> |
9285 int | 13826 int |
9301 client_data); | 13842 client_data); |
9302 ; | 13843 ; |
9303 return 0; | 13844 return 0; |
9304 } | 13845 } |
9305 _ACEOF | 13846 _ACEOF |
9306 if ac_fn_c_try_compile "$LINENO"; then : | 13847 rm -f conftest.$ac_objext |
13848 if { (ac_try="$ac_compile" | |
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_compile") 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_objext; then | |
9307 emacs_cv_arg6_star=yes | 13865 emacs_cv_arg6_star=yes |
9308 fi | 13866 else |
13867 $as_echo "$as_me: failed program was:" >&5 | |
13868 sed 's/^/| /' conftest.$ac_ext >&5 | |
13869 | |
13870 | |
13871 fi | |
13872 | |
9309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9310 if test "$emacs_cv_arg6_star" = yes; then | 13874 |
9311 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h | 13875 if test "$emacs_cv_arg6_star" = yes; then |
13876 cat >>confdefs.h <<\_ACEOF | |
13877 #define XRegisterIMInstantiateCallback_arg6 XPointer* | |
13878 _ACEOF | |
9312 | 13879 |
9313 else | 13880 else |
9314 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h | 13881 cat >>confdefs.h <<\_ACEOF |
13882 #define XRegisterIMInstantiateCallback_arg6 XPointer | |
13883 _ACEOF | |
9315 | 13884 |
9316 fi | 13885 fi |
9317 CFLAGS=$late_CFLAGS | 13886 CFLAGS=$late_CFLAGS |
9318 fi | 13887 fi |
9319 | 13888 |
9326 | 13895 |
9327 succeeded=no | 13896 succeeded=no |
9328 | 13897 |
9329 # Extract the first word of "pkg-config", so it can be a program name with args. | 13898 # Extract the first word of "pkg-config", so it can be a program name with args. |
9330 set dummy pkg-config; ac_word=$2 | 13899 set dummy pkg-config; ac_word=$2 |
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 13900 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9332 $as_echo_n "checking for $ac_word... " >&6; } | 13901 $as_echo_n "checking for $ac_word... " >&6; } |
9333 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 13902 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
9334 $as_echo_n "(cached) " >&6 | 13903 $as_echo_n "(cached) " >&6 |
9335 else | 13904 else |
9336 case $PKG_CONFIG in | 13905 case $PKG_CONFIG in |
9337 [\\/]* | ?:[\\/]*) | 13906 [\\/]* | ?:[\\/]*) |
9338 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 13907 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 13910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9342 for as_dir in $PATH | 13911 for as_dir in $PATH |
9343 do | 13912 do |
9344 IFS=$as_save_IFS | 13913 IFS=$as_save_IFS |
9345 test -z "$as_dir" && as_dir=. | 13914 test -z "$as_dir" && as_dir=. |
9346 for ac_exec_ext in '' $ac_executable_extensions; do | 13915 for ac_exec_ext in '' $ac_executable_extensions; do |
9347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 13916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9348 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 13917 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
9349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 13918 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9350 break 2 | 13919 break 2 |
9351 fi | 13920 fi |
9352 done | 13921 done |
9353 done | 13922 done |
9354 IFS=$as_save_IFS | 13923 IFS=$as_save_IFS |
9355 | 13924 |
9356 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 13925 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
9357 ;; | 13926 ;; |
9358 esac | 13927 esac |
9359 fi | 13928 fi |
9360 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 13929 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
9361 if test -n "$PKG_CONFIG"; then | 13930 if test -n "$PKG_CONFIG"; then |
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 13931 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
9363 $as_echo "$PKG_CONFIG" >&6; } | 13932 $as_echo "$PKG_CONFIG" >&6; } |
9364 else | 13933 else |
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13934 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9366 $as_echo "no" >&6; } | 13935 $as_echo "no" >&6; } |
9367 fi | 13936 fi |
9368 | 13937 |
9369 | 13938 |
9370 | 13939 |
9371 if test "$PKG_CONFIG" = "no" ; then | 13940 if test "$PKG_CONFIG" = "no" ; then |
9372 HAVE_FC=no | 13941 HAVE_FC=no |
9373 else | 13942 else |
9374 PKG_CONFIG_MIN_VERSION=0.9.0 | 13943 PKG_CONFIG_MIN_VERSION=0.9.0 |
9375 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13944 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 | 13945 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 |
9377 $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } | 13946 $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } |
9378 | 13947 |
9379 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then | 13948 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then |
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13949 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
9381 $as_echo "yes" >&6; } | 13950 $as_echo "yes" >&6; } |
9382 succeeded=yes | 13951 succeeded=yes |
9383 | 13952 |
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5 | 13953 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 |
9385 $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } | 13954 $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } |
9386 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13955 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5 | 13956 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 |
9388 $as_echo "$FONTCONFIG_CFLAGS" >&6; } | 13957 $as_echo "$FONTCONFIG_CFLAGS" >&6; } |
9389 | 13958 |
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5 | 13959 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 |
9391 $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } | 13960 $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } |
9392 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13961 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5 | 13962 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 |
9394 $as_echo "$FONTCONFIG_LIBS" >&6; } | 13963 $as_echo "$FONTCONFIG_LIBS" >&6; } |
9395 else | 13964 else |
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13965 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9397 $as_echo "no" >&6; } | 13966 $as_echo "no" >&6; } |
9398 FONTCONFIG_CFLAGS="" | 13967 FONTCONFIG_CFLAGS="" |
9399 FONTCONFIG_LIBS="" | 13968 FONTCONFIG_LIBS="" |
9400 ## If we have a custom action on failure, don't print errors, but | 13969 ## If we have a custom action on failure, don't print errors, but |
9401 ## do set a variable so people can do so. | 13970 ## do set a variable so people can do so. |
9428 | 13997 |
9429 succeeded=no | 13998 succeeded=no |
9430 | 13999 |
9431 # Extract the first word of "pkg-config", so it can be a program name with args. | 14000 # Extract the first word of "pkg-config", so it can be a program name with args. |
9432 set dummy pkg-config; ac_word=$2 | 14001 set dummy pkg-config; ac_word=$2 |
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14002 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9434 $as_echo_n "checking for $ac_word... " >&6; } | 14003 $as_echo_n "checking for $ac_word... " >&6; } |
9435 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14004 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
9436 $as_echo_n "(cached) " >&6 | 14005 $as_echo_n "(cached) " >&6 |
9437 else | 14006 else |
9438 case $PKG_CONFIG in | 14007 case $PKG_CONFIG in |
9439 [\\/]* | ?:[\\/]*) | 14008 [\\/]* | ?:[\\/]*) |
9440 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 14009 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 14012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9444 for as_dir in $PATH | 14013 for as_dir in $PATH |
9445 do | 14014 do |
9446 IFS=$as_save_IFS | 14015 IFS=$as_save_IFS |
9447 test -z "$as_dir" && as_dir=. | 14016 test -z "$as_dir" && as_dir=. |
9448 for ac_exec_ext in '' $ac_executable_extensions; do | 14017 for ac_exec_ext in '' $ac_executable_extensions; do |
9449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9450 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14019 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
9451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14020 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9452 break 2 | 14021 break 2 |
9453 fi | 14022 fi |
9454 done | 14023 done |
9455 done | 14024 done |
9456 IFS=$as_save_IFS | 14025 IFS=$as_save_IFS |
9457 | 14026 |
9458 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14027 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
9459 ;; | 14028 ;; |
9460 esac | 14029 esac |
9461 fi | 14030 fi |
9462 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14031 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
9463 if test -n "$PKG_CONFIG"; then | 14032 if test -n "$PKG_CONFIG"; then |
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14033 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
9465 $as_echo "$PKG_CONFIG" >&6; } | 14034 $as_echo "$PKG_CONFIG" >&6; } |
9466 else | 14035 else |
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14036 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9468 $as_echo "no" >&6; } | 14037 $as_echo "no" >&6; } |
9469 fi | 14038 fi |
9470 | 14039 |
9471 | 14040 |
9472 | 14041 |
9473 if test "$PKG_CONFIG" = "no" ; then | 14042 if test "$PKG_CONFIG" = "no" ; then |
9474 HAVE_XFT=no | 14043 HAVE_XFT=no |
9475 else | 14044 else |
9476 PKG_CONFIG_MIN_VERSION=0.9.0 | 14045 PKG_CONFIG_MIN_VERSION=0.9.0 |
9477 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14046 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 | 14047 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 |
9479 $as_echo_n "checking for xft >= 0.13.0... " >&6; } | 14048 $as_echo_n "checking for xft >= 0.13.0... " >&6; } |
9480 | 14049 |
9481 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then | 14050 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then |
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14051 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
9483 $as_echo "yes" >&6; } | 14052 $as_echo "yes" >&6; } |
9484 succeeded=yes | 14053 succeeded=yes |
9485 | 14054 |
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5 | 14055 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 |
9487 $as_echo_n "checking XFT_CFLAGS... " >&6; } | 14056 $as_echo_n "checking XFT_CFLAGS... " >&6; } |
9488 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 14057 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5 | 14058 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 |
9490 $as_echo "$XFT_CFLAGS" >&6; } | 14059 $as_echo "$XFT_CFLAGS" >&6; } |
9491 | 14060 |
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5 | 14061 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 |
9493 $as_echo_n "checking XFT_LIBS... " >&6; } | 14062 $as_echo_n "checking XFT_LIBS... " >&6; } |
9494 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 14063 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5 | 14064 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 |
9496 $as_echo "$XFT_LIBS" >&6; } | 14065 $as_echo "$XFT_LIBS" >&6; } |
9497 else | 14066 else |
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14067 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9499 $as_echo "no" >&6; } | 14068 $as_echo "no" >&6; } |
9500 XFT_CFLAGS="" | 14069 XFT_CFLAGS="" |
9501 XFT_LIBS="" | 14070 XFT_LIBS="" |
9502 ## If we have a custom action on failure, don't print errors, but | 14071 ## If we have a custom action on failure, don't print errors, but |
9503 ## do set a variable so people can do so. | 14072 ## do set a variable so people can do so. |
9520 fi | 14089 fi |
9521 | 14090 |
9522 ## Because xftfont.c uses XRenderQueryExtension, we also | 14091 ## Because xftfont.c uses XRenderQueryExtension, we also |
9523 ## need to link to -lXrender. | 14092 ## need to link to -lXrender. |
9524 HAVE_XRENDER=no | 14093 HAVE_XRENDER=no |
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 | 14094 { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 |
9526 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } | 14095 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } |
9527 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : | 14096 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then |
9528 $as_echo_n "(cached) " >&6 | 14097 $as_echo_n "(cached) " >&6 |
9529 else | 14098 else |
9530 ac_check_lib_save_LIBS=$LIBS | 14099 ac_check_lib_save_LIBS=$LIBS |
9531 LIBS="-lXrender $LIBS" | 14100 LIBS="-lXrender $LIBS" |
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14101 cat >conftest.$ac_ext <<_ACEOF |
14102 /* confdefs.h. */ | |
14103 _ACEOF | |
14104 cat confdefs.h >>conftest.$ac_ext | |
14105 cat >>conftest.$ac_ext <<_ACEOF | |
9533 /* end confdefs.h. */ | 14106 /* end confdefs.h. */ |
9534 | 14107 |
9535 /* Override any GCC internal prototype to avoid an error. | 14108 /* Override any GCC internal prototype to avoid an error. |
9536 Use char because int might match the return type of a GCC | 14109 Use char because int might match the return type of a GCC |
9537 builtin and then its argument prototype would still apply. */ | 14110 builtin and then its argument prototype would still apply. */ |
9545 return XRenderQueryExtension (); | 14118 return XRenderQueryExtension (); |
9546 ; | 14119 ; |
9547 return 0; | 14120 return 0; |
9548 } | 14121 } |
9549 _ACEOF | 14122 _ACEOF |
9550 if ac_fn_c_try_link "$LINENO"; then : | 14123 rm -f conftest.$ac_objext conftest$ac_exeext |
14124 if { (ac_try="$ac_link" | |
14125 case "(($ac_try" in | |
14126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14127 *) ac_try_echo=$ac_try;; | |
14128 esac | |
14129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14130 $as_echo "$ac_try_echo") >&5 | |
14131 (eval "$ac_link") 2>conftest.er1 | |
14132 ac_status=$? | |
14133 grep -v '^ *+' conftest.er1 >conftest.err | |
14134 rm -f conftest.er1 | |
14135 cat conftest.err >&5 | |
14136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14137 (exit $ac_status); } && { | |
14138 test -z "$ac_c_werror_flag" || | |
14139 test ! -s conftest.err | |
14140 } && test -s conftest$ac_exeext && { | |
14141 test "$cross_compiling" = yes || | |
14142 $as_test_x conftest$ac_exeext | |
14143 }; then | |
9551 ac_cv_lib_Xrender_XRenderQueryExtension=yes | 14144 ac_cv_lib_Xrender_XRenderQueryExtension=yes |
9552 else | 14145 else |
9553 ac_cv_lib_Xrender_XRenderQueryExtension=no | 14146 $as_echo "$as_me: failed program was:" >&5 |
9554 fi | 14147 sed 's/^/| /' conftest.$ac_ext >&5 |
9555 rm -f core conftest.err conftest.$ac_objext \ | 14148 |
9556 conftest$ac_exeext conftest.$ac_ext | 14149 ac_cv_lib_Xrender_XRenderQueryExtension=no |
14150 fi | |
14151 | |
14152 rm -rf conftest.dSYM | |
14153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
14154 conftest$ac_exeext conftest.$ac_ext | |
9557 LIBS=$ac_check_lib_save_LIBS | 14155 LIBS=$ac_check_lib_save_LIBS |
9558 fi | 14156 fi |
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 | 14157 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 |
9560 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } | 14158 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } |
9561 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : | 14159 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then |
9562 HAVE_XRENDER=yes | 14160 HAVE_XRENDER=yes |
9563 fi | 14161 fi |
9564 | 14162 |
9565 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then | 14163 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then |
9566 OLD_CPPFLAGS="$CPPFLAGS" | 14164 OLD_CPPFLAGS="$CPPFLAGS" |
9568 OLD_LIBS="$LIBS" | 14166 OLD_LIBS="$LIBS" |
9569 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" | 14167 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
9570 CFLAGS="$CFLAGS $XFT_CFLAGS" | 14168 CFLAGS="$CFLAGS $XFT_CFLAGS" |
9571 XFT_LIBS="-lXrender $XFT_LIBS" | 14169 XFT_LIBS="-lXrender $XFT_LIBS" |
9572 LIBS="$XFT_LIBS $LIBS" | 14170 LIBS="$XFT_LIBS $LIBS" |
9573 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" | 14171 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
9574 if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : | 14172 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 | 14173 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } |
14174 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | |
14175 $as_echo_n "(cached) " >&6 | |
14176 fi | |
14177 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | |
14178 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | |
14179 else | |
14180 # Is the header compilable? | |
14181 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5 | |
14182 $as_echo_n "checking X11/Xft/Xft.h usability... " >&6; } | |
14183 cat >conftest.$ac_ext <<_ACEOF | |
14184 /* confdefs.h. */ | |
14185 _ACEOF | |
14186 cat confdefs.h >>conftest.$ac_ext | |
14187 cat >>conftest.$ac_ext <<_ACEOF | |
14188 /* end confdefs.h. */ | |
14189 $ac_includes_default | |
14190 #include <X11/Xft/Xft.h> | |
14191 _ACEOF | |
14192 rm -f conftest.$ac_objext | |
14193 if { (ac_try="$ac_compile" | |
14194 case "(($ac_try" in | |
14195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14196 *) ac_try_echo=$ac_try;; | |
14197 esac | |
14198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14199 $as_echo "$ac_try_echo") >&5 | |
14200 (eval "$ac_compile") 2>conftest.er1 | |
14201 ac_status=$? | |
14202 grep -v '^ *+' conftest.er1 >conftest.err | |
14203 rm -f conftest.er1 | |
14204 cat conftest.err >&5 | |
14205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14206 (exit $ac_status); } && { | |
14207 test -z "$ac_c_werror_flag" || | |
14208 test ! -s conftest.err | |
14209 } && test -s conftest.$ac_objext; then | |
14210 ac_header_compiler=yes | |
14211 else | |
14212 $as_echo "$as_me: failed program was:" >&5 | |
14213 sed 's/^/| /' conftest.$ac_ext >&5 | |
14214 | |
14215 ac_header_compiler=no | |
14216 fi | |
14217 | |
14218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
14219 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14220 $as_echo "$ac_header_compiler" >&6; } | |
14221 | |
14222 # Is the header present? | |
14223 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5 | |
14224 $as_echo_n "checking X11/Xft/Xft.h presence... " >&6; } | |
14225 cat >conftest.$ac_ext <<_ACEOF | |
14226 /* confdefs.h. */ | |
14227 _ACEOF | |
14228 cat confdefs.h >>conftest.$ac_ext | |
14229 cat >>conftest.$ac_ext <<_ACEOF | |
14230 /* end confdefs.h. */ | |
14231 #include <X11/Xft/Xft.h> | |
14232 _ACEOF | |
14233 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
14234 case "(($ac_try" in | |
14235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14236 *) ac_try_echo=$ac_try;; | |
14237 esac | |
14238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14239 $as_echo "$ac_try_echo") >&5 | |
14240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14241 ac_status=$? | |
14242 grep -v '^ *+' conftest.er1 >conftest.err | |
14243 rm -f conftest.er1 | |
14244 cat conftest.err >&5 | |
14245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14246 (exit $ac_status); } >/dev/null && { | |
14247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
14248 test ! -s conftest.err | |
14249 }; then | |
14250 ac_header_preproc=yes | |
14251 else | |
14252 $as_echo "$as_me: failed program was:" >&5 | |
14253 sed 's/^/| /' conftest.$ac_ext >&5 | |
14254 | |
14255 ac_header_preproc=no | |
14256 fi | |
14257 | |
14258 rm -f conftest.err conftest.$ac_ext | |
14259 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
14260 $as_echo "$ac_header_preproc" >&6; } | |
14261 | |
14262 # So? What about this header? | |
14263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
14264 yes:no: ) | |
14265 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
14266 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14267 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5 | |
14268 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;} | |
14269 ac_header_preproc=yes | |
14270 ;; | |
14271 no:yes:* ) | |
14272 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 | |
14273 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} | |
14274 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 | |
14275 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} | |
14276 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5 | |
14277 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;} | |
14278 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5 | |
14279 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
14280 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 | |
14281 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} | |
14282 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5 | |
14283 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;} | |
14284 | |
14285 ;; | |
14286 esac | |
14287 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 | |
14288 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } | |
14289 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | |
14290 $as_echo_n "(cached) " >&6 | |
14291 else | |
14292 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc | |
14293 fi | |
14294 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | |
14295 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | |
14296 | |
14297 fi | |
14298 if test $ac_cv_header_X11_Xft_Xft_h = yes; then | |
14299 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 | |
9576 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } | 14300 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } |
9577 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : | 14301 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then |
9578 $as_echo_n "(cached) " >&6 | 14302 $as_echo_n "(cached) " >&6 |
9579 else | 14303 else |
9580 ac_check_lib_save_LIBS=$LIBS | 14304 ac_check_lib_save_LIBS=$LIBS |
9581 LIBS="-lXft $XFT_LIBS $LIBS" | 14305 LIBS="-lXft $XFT_LIBS $LIBS" |
9582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14306 cat >conftest.$ac_ext <<_ACEOF |
14307 /* confdefs.h. */ | |
14308 _ACEOF | |
14309 cat confdefs.h >>conftest.$ac_ext | |
14310 cat >>conftest.$ac_ext <<_ACEOF | |
9583 /* end confdefs.h. */ | 14311 /* end confdefs.h. */ |
9584 | 14312 |
9585 /* Override any GCC internal prototype to avoid an error. | 14313 /* Override any GCC internal prototype to avoid an error. |
9586 Use char because int might match the return type of a GCC | 14314 Use char because int might match the return type of a GCC |
9587 builtin and then its argument prototype would still apply. */ | 14315 builtin and then its argument prototype would still apply. */ |
9595 return XftFontOpen (); | 14323 return XftFontOpen (); |
9596 ; | 14324 ; |
9597 return 0; | 14325 return 0; |
9598 } | 14326 } |
9599 _ACEOF | 14327 _ACEOF |
9600 if ac_fn_c_try_link "$LINENO"; then : | 14328 rm -f conftest.$ac_objext conftest$ac_exeext |
14329 if { (ac_try="$ac_link" | |
14330 case "(($ac_try" in | |
14331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14332 *) ac_try_echo=$ac_try;; | |
14333 esac | |
14334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14335 $as_echo "$ac_try_echo") >&5 | |
14336 (eval "$ac_link") 2>conftest.er1 | |
14337 ac_status=$? | |
14338 grep -v '^ *+' conftest.er1 >conftest.err | |
14339 rm -f conftest.er1 | |
14340 cat conftest.err >&5 | |
14341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14342 (exit $ac_status); } && { | |
14343 test -z "$ac_c_werror_flag" || | |
14344 test ! -s conftest.err | |
14345 } && test -s conftest$ac_exeext && { | |
14346 test "$cross_compiling" = yes || | |
14347 $as_test_x conftest$ac_exeext | |
14348 }; then | |
9601 ac_cv_lib_Xft_XftFontOpen=yes | 14349 ac_cv_lib_Xft_XftFontOpen=yes |
9602 else | 14350 else |
9603 ac_cv_lib_Xft_XftFontOpen=no | 14351 $as_echo "$as_me: failed program was:" >&5 |
9604 fi | 14352 sed 's/^/| /' conftest.$ac_ext >&5 |
9605 rm -f core conftest.err conftest.$ac_objext \ | 14353 |
9606 conftest$ac_exeext conftest.$ac_ext | 14354 ac_cv_lib_Xft_XftFontOpen=no |
14355 fi | |
14356 | |
14357 rm -rf conftest.dSYM | |
14358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
14359 conftest$ac_exeext conftest.$ac_ext | |
9607 LIBS=$ac_check_lib_save_LIBS | 14360 LIBS=$ac_check_lib_save_LIBS |
9608 fi | 14361 fi |
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 | 14362 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 |
9610 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } | 14363 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } |
9611 if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : | 14364 if test $ac_cv_lib_Xft_XftFontOpen = yes; then |
9612 HAVE_XFT=yes | 14365 HAVE_XFT=yes |
9613 fi | 14366 fi |
9614 | 14367 |
9615 fi | 14368 fi |
9616 | 14369 |
9617 | 14370 |
9618 | 14371 |
9619 if test "${HAVE_XFT}" = "yes"; then | 14372 if test "${HAVE_XFT}" = "yes"; then |
9620 | 14373 |
9621 $as_echo "#define HAVE_XFT 1" >>confdefs.h | 14374 cat >>confdefs.h <<\_ACEOF |
14375 #define HAVE_XFT 1 | |
14376 _ACEOF | |
9622 | 14377 |
9623 | 14378 |
9624 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" | 14379 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" |
9625 else | 14380 else |
9626 CPPFLAGS="$OLD_CPPFLAGS" | 14381 CPPFLAGS="$OLD_CPPFLAGS" |
9645 fi | 14400 fi |
9646 | 14401 |
9647 HAVE_LIBOTF=no | 14402 HAVE_LIBOTF=no |
9648 if test "${HAVE_FREETYPE}" = "yes"; then | 14403 if test "${HAVE_FREETYPE}" = "yes"; then |
9649 | 14404 |
9650 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | 14405 cat >>confdefs.h <<\_ACEOF |
14406 #define HAVE_FREETYPE 1 | |
14407 _ACEOF | |
9651 | 14408 |
9652 if test "${with_libotf}" != "no"; then | 14409 if test "${with_libotf}" != "no"; then |
9653 | 14410 |
9654 succeeded=no | 14411 succeeded=no |
9655 | 14412 |
9656 # Extract the first word of "pkg-config", so it can be a program name with args. | 14413 # Extract the first word of "pkg-config", so it can be a program name with args. |
9657 set dummy pkg-config; ac_word=$2 | 14414 set dummy pkg-config; ac_word=$2 |
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9659 $as_echo_n "checking for $ac_word... " >&6; } | 14416 $as_echo_n "checking for $ac_word... " >&6; } |
9660 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14417 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
9661 $as_echo_n "(cached) " >&6 | 14418 $as_echo_n "(cached) " >&6 |
9662 else | 14419 else |
9663 case $PKG_CONFIG in | 14420 case $PKG_CONFIG in |
9664 [\\/]* | ?:[\\/]*) | 14421 [\\/]* | ?:[\\/]*) |
9665 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 14422 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 14425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9669 for as_dir in $PATH | 14426 for as_dir in $PATH |
9670 do | 14427 do |
9671 IFS=$as_save_IFS | 14428 IFS=$as_save_IFS |
9672 test -z "$as_dir" && as_dir=. | 14429 test -z "$as_dir" && as_dir=. |
9673 for ac_exec_ext in '' $ac_executable_extensions; do | 14430 for ac_exec_ext in '' $ac_executable_extensions; do |
9674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9675 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14432 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
9676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14433 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9677 break 2 | 14434 break 2 |
9678 fi | 14435 fi |
9679 done | 14436 done |
9680 done | 14437 done |
9681 IFS=$as_save_IFS | 14438 IFS=$as_save_IFS |
9682 | 14439 |
9683 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14440 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
9684 ;; | 14441 ;; |
9685 esac | 14442 esac |
9686 fi | 14443 fi |
9687 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14444 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
9688 if test -n "$PKG_CONFIG"; then | 14445 if test -n "$PKG_CONFIG"; then |
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14446 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
9690 $as_echo "$PKG_CONFIG" >&6; } | 14447 $as_echo "$PKG_CONFIG" >&6; } |
9691 else | 14448 else |
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14449 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9693 $as_echo "no" >&6; } | 14450 $as_echo "no" >&6; } |
9694 fi | 14451 fi |
9695 | 14452 |
9696 | 14453 |
9697 | 14454 |
9698 if test "$PKG_CONFIG" = "no" ; then | 14455 if test "$PKG_CONFIG" = "no" ; then |
9699 HAVE_LIBOTF=no | 14456 HAVE_LIBOTF=no |
9700 else | 14457 else |
9701 PKG_CONFIG_MIN_VERSION=0.9.0 | 14458 PKG_CONFIG_MIN_VERSION=0.9.0 |
9702 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14459 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 | 14460 { $as_echo "$as_me:$LINENO: checking for libotf" >&5 |
9704 $as_echo_n "checking for libotf... " >&6; } | 14461 $as_echo_n "checking for libotf... " >&6; } |
9705 | 14462 |
9706 if $PKG_CONFIG --exists "libotf" 2>&5; then | 14463 if $PKG_CONFIG --exists "libotf" 2>&5; then |
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14464 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
9708 $as_echo "yes" >&6; } | 14465 $as_echo "yes" >&6; } |
9709 succeeded=yes | 14466 succeeded=yes |
9710 | 14467 |
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5 | 14468 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 |
9712 $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } | 14469 $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } |
9713 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` | 14470 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` |
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5 | 14471 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 |
9715 $as_echo "$LIBOTF_CFLAGS" >&6; } | 14472 $as_echo "$LIBOTF_CFLAGS" >&6; } |
9716 | 14473 |
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5 | 14474 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 |
9718 $as_echo_n "checking LIBOTF_LIBS... " >&6; } | 14475 $as_echo_n "checking LIBOTF_LIBS... " >&6; } |
9719 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` | 14476 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` |
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5 | 14477 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 |
9721 $as_echo "$LIBOTF_LIBS" >&6; } | 14478 $as_echo "$LIBOTF_LIBS" >&6; } |
9722 else | 14479 else |
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14480 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9724 $as_echo "no" >&6; } | 14481 $as_echo "no" >&6; } |
9725 LIBOTF_CFLAGS="" | 14482 LIBOTF_CFLAGS="" |
9726 LIBOTF_LIBS="" | 14483 LIBOTF_LIBS="" |
9727 ## If we have a custom action on failure, don't print errors, but | 14484 ## If we have a custom action on failure, don't print errors, but |
9728 ## do set a variable so people can do so. | 14485 ## do set a variable so people can do so. |
9744 HAVE_LIBOTF=no | 14501 HAVE_LIBOTF=no |
9745 fi | 14502 fi |
9746 | 14503 |
9747 if test "$HAVE_LIBOTF" = "yes"; then | 14504 if test "$HAVE_LIBOTF" = "yes"; then |
9748 | 14505 |
9749 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h | 14506 cat >>confdefs.h <<\_ACEOF |
9750 | 14507 #define HAVE_LIBOTF 1 |
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 | 14508 _ACEOF |
14509 | |
14510 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 | |
9752 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } | 14511 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } |
9753 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : | 14512 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then |
9754 $as_echo_n "(cached) " >&6 | 14513 $as_echo_n "(cached) " >&6 |
9755 else | 14514 else |
9756 ac_check_lib_save_LIBS=$LIBS | 14515 ac_check_lib_save_LIBS=$LIBS |
9757 LIBS="-lotf $LIBS" | 14516 LIBS="-lotf $LIBS" |
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14517 cat >conftest.$ac_ext <<_ACEOF |
14518 /* confdefs.h. */ | |
14519 _ACEOF | |
14520 cat confdefs.h >>conftest.$ac_ext | |
14521 cat >>conftest.$ac_ext <<_ACEOF | |
9759 /* end confdefs.h. */ | 14522 /* end confdefs.h. */ |
9760 | 14523 |
9761 /* Override any GCC internal prototype to avoid an error. | 14524 /* Override any GCC internal prototype to avoid an error. |
9762 Use char because int might match the return type of a GCC | 14525 Use char because int might match the return type of a GCC |
9763 builtin and then its argument prototype would still apply. */ | 14526 builtin and then its argument prototype would still apply. */ |
9771 return OTF_get_variation_glyphs (); | 14534 return OTF_get_variation_glyphs (); |
9772 ; | 14535 ; |
9773 return 0; | 14536 return 0; |
9774 } | 14537 } |
9775 _ACEOF | 14538 _ACEOF |
9776 if ac_fn_c_try_link "$LINENO"; then : | 14539 rm -f conftest.$ac_objext conftest$ac_exeext |
14540 if { (ac_try="$ac_link" | |
14541 case "(($ac_try" in | |
14542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14543 *) ac_try_echo=$ac_try;; | |
14544 esac | |
14545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14546 $as_echo "$ac_try_echo") >&5 | |
14547 (eval "$ac_link") 2>conftest.er1 | |
14548 ac_status=$? | |
14549 grep -v '^ *+' conftest.er1 >conftest.err | |
14550 rm -f conftest.er1 | |
14551 cat conftest.err >&5 | |
14552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14553 (exit $ac_status); } && { | |
14554 test -z "$ac_c_werror_flag" || | |
14555 test ! -s conftest.err | |
14556 } && test -s conftest$ac_exeext && { | |
14557 test "$cross_compiling" = yes || | |
14558 $as_test_x conftest$ac_exeext | |
14559 }; then | |
9777 ac_cv_lib_otf_OTF_get_variation_glyphs=yes | 14560 ac_cv_lib_otf_OTF_get_variation_glyphs=yes |
9778 else | 14561 else |
9779 ac_cv_lib_otf_OTF_get_variation_glyphs=no | 14562 $as_echo "$as_me: failed program was:" >&5 |
9780 fi | 14563 sed 's/^/| /' conftest.$ac_ext >&5 |
9781 rm -f core conftest.err conftest.$ac_objext \ | 14564 |
9782 conftest$ac_exeext conftest.$ac_ext | 14565 ac_cv_lib_otf_OTF_get_variation_glyphs=no |
14566 fi | |
14567 | |
14568 rm -rf conftest.dSYM | |
14569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
14570 conftest$ac_exeext conftest.$ac_ext | |
9783 LIBS=$ac_check_lib_save_LIBS | 14571 LIBS=$ac_check_lib_save_LIBS |
9784 fi | 14572 fi |
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 | 14573 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 |
9786 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } | 14574 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } |
9787 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : | 14575 if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then |
9788 HAVE_OTF_GET_VARIATION_GLYPHS=yes | 14576 HAVE_OTF_GET_VARIATION_GLYPHS=yes |
9789 else | 14577 else |
9790 HAVE_OTF_GET_VARIATION_GLYPHS=no | 14578 HAVE_OTF_GET_VARIATION_GLYPHS=no |
9791 fi | 14579 fi |
9792 | 14580 |
9793 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then | 14581 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then |
9794 | 14582 |
9795 $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h | 14583 cat >>confdefs.h <<\_ACEOF |
14584 #define HAVE_OTF_GET_VARIATION_GLYPHS 1 | |
14585 _ACEOF | |
9796 | 14586 |
9797 fi | 14587 fi |
9798 fi | 14588 fi |
9799 fi | 14589 fi |
9800 fi | 14590 fi |
9805 | 14595 |
9806 succeeded=no | 14596 succeeded=no |
9807 | 14597 |
9808 # Extract the first word of "pkg-config", so it can be a program name with args. | 14598 # Extract the first word of "pkg-config", so it can be a program name with args. |
9809 set dummy pkg-config; ac_word=$2 | 14599 set dummy pkg-config; ac_word=$2 |
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14600 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9811 $as_echo_n "checking for $ac_word... " >&6; } | 14601 $as_echo_n "checking for $ac_word... " >&6; } |
9812 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14602 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
9813 $as_echo_n "(cached) " >&6 | 14603 $as_echo_n "(cached) " >&6 |
9814 else | 14604 else |
9815 case $PKG_CONFIG in | 14605 case $PKG_CONFIG in |
9816 [\\/]* | ?:[\\/]*) | 14606 [\\/]* | ?:[\\/]*) |
9817 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 14607 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 14610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9821 for as_dir in $PATH | 14611 for as_dir in $PATH |
9822 do | 14612 do |
9823 IFS=$as_save_IFS | 14613 IFS=$as_save_IFS |
9824 test -z "$as_dir" && as_dir=. | 14614 test -z "$as_dir" && as_dir=. |
9825 for ac_exec_ext in '' $ac_executable_extensions; do | 14615 for ac_exec_ext in '' $ac_executable_extensions; do |
9826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9827 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14617 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
9828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14618 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9829 break 2 | 14619 break 2 |
9830 fi | 14620 fi |
9831 done | 14621 done |
9832 done | 14622 done |
9833 IFS=$as_save_IFS | 14623 IFS=$as_save_IFS |
9834 | 14624 |
9835 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14625 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
9836 ;; | 14626 ;; |
9837 esac | 14627 esac |
9838 fi | 14628 fi |
9839 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14629 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
9840 if test -n "$PKG_CONFIG"; then | 14630 if test -n "$PKG_CONFIG"; then |
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14631 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
9842 $as_echo "$PKG_CONFIG" >&6; } | 14632 $as_echo "$PKG_CONFIG" >&6; } |
9843 else | 14633 else |
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14634 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9845 $as_echo "no" >&6; } | 14635 $as_echo "no" >&6; } |
9846 fi | 14636 fi |
9847 | 14637 |
9848 | 14638 |
9849 | 14639 |
9850 if test "$PKG_CONFIG" = "no" ; then | 14640 if test "$PKG_CONFIG" = "no" ; then |
9851 HAVE_M17N_FLT=no | 14641 HAVE_M17N_FLT=no |
9852 else | 14642 else |
9853 PKG_CONFIG_MIN_VERSION=0.9.0 | 14643 PKG_CONFIG_MIN_VERSION=0.9.0 |
9854 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14644 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 | 14645 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 |
9856 $as_echo_n "checking for m17n-flt... " >&6; } | 14646 $as_echo_n "checking for m17n-flt... " >&6; } |
9857 | 14647 |
9858 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then | 14648 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then |
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14649 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
9860 $as_echo "yes" >&6; } | 14650 $as_echo "yes" >&6; } |
9861 succeeded=yes | 14651 succeeded=yes |
9862 | 14652 |
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5 | 14653 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 |
9864 $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } | 14654 $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } |
9865 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` | 14655 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` |
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5 | 14656 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 |
9867 $as_echo "$M17N_FLT_CFLAGS" >&6; } | 14657 $as_echo "$M17N_FLT_CFLAGS" >&6; } |
9868 | 14658 |
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5 | 14659 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 |
9870 $as_echo_n "checking M17N_FLT_LIBS... " >&6; } | 14660 $as_echo_n "checking M17N_FLT_LIBS... " >&6; } |
9871 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` | 14661 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` |
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5 | 14662 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 |
9873 $as_echo "$M17N_FLT_LIBS" >&6; } | 14663 $as_echo "$M17N_FLT_LIBS" >&6; } |
9874 else | 14664 else |
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14665 { $as_echo "$as_me:$LINENO: result: no" >&5 |
9876 $as_echo "no" >&6; } | 14666 $as_echo "no" >&6; } |
9877 M17N_FLT_CFLAGS="" | 14667 M17N_FLT_CFLAGS="" |
9878 M17N_FLT_LIBS="" | 14668 M17N_FLT_LIBS="" |
9879 ## If we have a custom action on failure, don't print errors, but | 14669 ## If we have a custom action on failure, don't print errors, but |
9880 ## do set a variable so people can do so. | 14670 ## do set a variable so people can do so. |
9896 HAVE_M17N_FLT=no | 14686 HAVE_M17N_FLT=no |
9897 fi | 14687 fi |
9898 | 14688 |
9899 if test "$HAVE_M17N_FLT" = "yes"; then | 14689 if test "$HAVE_M17N_FLT" = "yes"; then |
9900 | 14690 |
9901 $as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h | 14691 cat >>confdefs.h <<\_ACEOF |
14692 #define HAVE_M17N_FLT 1 | |
14693 _ACEOF | |
9902 | 14694 |
9903 fi | 14695 fi |
9904 fi | 14696 fi |
9905 fi | 14697 fi |
9906 else | 14698 else |
9907 HAVE_XFT=no | 14699 HAVE_XFT=no |
9908 HAVE_FREETYPE=no | 14700 HAVE_FREETYPE=no |
9909 HAVE_LIBOTF=no | 14701 HAVE_LIBOTF=no |
9910 HAVE_M17N_FLT=no | 14702 HAVE_M17N_FLT=no |
9911 fi | 14703 fi |
9912 | |
9913 FONT_OBJ=xfont.o | |
9914 if test "$HAVE_XFT" = "yes"; then | |
9915 FONT_OBJ="$FONT_OBJ ftfont.o xftfont.o ftxfont.o" | |
9916 elif test "$HAVE_FREETYPE" = "yes"; then | |
9917 FONT_OBJ="$FONT_OBJ ftfont.o ftxfont.o" | |
9918 fi | |
9919 | |
9920 | 14704 |
9921 ### End of font-backend (under X11) section. | 14705 ### End of font-backend (under X11) section. |
9922 | 14706 |
9923 | 14707 |
9924 | 14708 |
9932 ### Use -lXpm if available, unless `--with-xpm=no'. | 14716 ### Use -lXpm if available, unless `--with-xpm=no'. |
9933 HAVE_XPM=no | 14717 HAVE_XPM=no |
9934 LIBXPM= | 14718 LIBXPM= |
9935 if test "${HAVE_X11}" = "yes"; then | 14719 if test "${HAVE_X11}" = "yes"; then |
9936 if test "${with_xpm}" != "no"; then | 14720 if test "${with_xpm}" != "no"; then |
9937 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" | 14721 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
9938 if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : | 14722 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 | 14723 $as_echo_n "checking for X11/xpm.h... " >&6; } |
14724 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | |
14725 $as_echo_n "(cached) " >&6 | |
14726 fi | |
14727 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | |
14728 $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | |
14729 else | |
14730 # Is the header compilable? | |
14731 { $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | |
14732 $as_echo_n "checking X11/xpm.h usability... " >&6; } | |
14733 cat >conftest.$ac_ext <<_ACEOF | |
14734 /* confdefs.h. */ | |
14735 _ACEOF | |
14736 cat confdefs.h >>conftest.$ac_ext | |
14737 cat >>conftest.$ac_ext <<_ACEOF | |
14738 /* end confdefs.h. */ | |
14739 $ac_includes_default | |
14740 #include <X11/xpm.h> | |
14741 _ACEOF | |
14742 rm -f conftest.$ac_objext | |
14743 if { (ac_try="$ac_compile" | |
14744 case "(($ac_try" in | |
14745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14746 *) ac_try_echo=$ac_try;; | |
14747 esac | |
14748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14749 $as_echo "$ac_try_echo") >&5 | |
14750 (eval "$ac_compile") 2>conftest.er1 | |
14751 ac_status=$? | |
14752 grep -v '^ *+' conftest.er1 >conftest.err | |
14753 rm -f conftest.er1 | |
14754 cat conftest.err >&5 | |
14755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14756 (exit $ac_status); } && { | |
14757 test -z "$ac_c_werror_flag" || | |
14758 test ! -s conftest.err | |
14759 } && test -s conftest.$ac_objext; then | |
14760 ac_header_compiler=yes | |
14761 else | |
14762 $as_echo "$as_me: failed program was:" >&5 | |
14763 sed 's/^/| /' conftest.$ac_ext >&5 | |
14764 | |
14765 ac_header_compiler=no | |
14766 fi | |
14767 | |
14768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
14769 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
14770 $as_echo "$ac_header_compiler" >&6; } | |
14771 | |
14772 # Is the header present? | |
14773 { $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | |
14774 $as_echo_n "checking X11/xpm.h presence... " >&6; } | |
14775 cat >conftest.$ac_ext <<_ACEOF | |
14776 /* confdefs.h. */ | |
14777 _ACEOF | |
14778 cat confdefs.h >>conftest.$ac_ext | |
14779 cat >>conftest.$ac_ext <<_ACEOF | |
14780 /* end confdefs.h. */ | |
14781 #include <X11/xpm.h> | |
14782 _ACEOF | |
14783 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
14784 case "(($ac_try" in | |
14785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14786 *) ac_try_echo=$ac_try;; | |
14787 esac | |
14788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14789 $as_echo "$ac_try_echo") >&5 | |
14790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14791 ac_status=$? | |
14792 grep -v '^ *+' conftest.er1 >conftest.err | |
14793 rm -f conftest.er1 | |
14794 cat conftest.err >&5 | |
14795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14796 (exit $ac_status); } >/dev/null && { | |
14797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
14798 test ! -s conftest.err | |
14799 }; then | |
14800 ac_header_preproc=yes | |
14801 else | |
14802 $as_echo "$as_me: failed program was:" >&5 | |
14803 sed 's/^/| /' conftest.$ac_ext >&5 | |
14804 | |
14805 ac_header_preproc=no | |
14806 fi | |
14807 | |
14808 rm -f conftest.err conftest.$ac_ext | |
14809 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
14810 $as_echo "$ac_header_preproc" >&6; } | |
14811 | |
14812 # So? What about this header? | |
14813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
14814 yes:no: ) | |
14815 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
14816 $as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14817 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5 | |
14818 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;} | |
14819 ac_header_preproc=yes | |
14820 ;; | |
14821 no:yes:* ) | |
14822 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 | |
14823 $as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} | |
14824 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 | |
14825 $as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} | |
14826 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5 | |
14827 $as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;} | |
14828 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5 | |
14829 $as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
14830 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | |
14831 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} | |
14832 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 | |
14833 $as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} | |
14834 | |
14835 ;; | |
14836 esac | |
14837 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | |
14838 $as_echo_n "checking for X11/xpm.h... " >&6; } | |
14839 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | |
14840 $as_echo_n "(cached) " >&6 | |
14841 else | |
14842 ac_cv_header_X11_xpm_h=$ac_header_preproc | |
14843 fi | |
14844 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | |
14845 $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | |
14846 | |
14847 fi | |
14848 if test $ac_cv_header_X11_xpm_h = yes; then | |
14849 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | |
9940 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } | 14850 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } |
9941 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : | 14851 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
9942 $as_echo_n "(cached) " >&6 | 14852 $as_echo_n "(cached) " >&6 |
9943 else | 14853 else |
9944 ac_check_lib_save_LIBS=$LIBS | 14854 ac_check_lib_save_LIBS=$LIBS |
9945 LIBS="-lXpm -lX11 $LIBS" | 14855 LIBS="-lXpm -lX11 $LIBS" |
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14856 cat >conftest.$ac_ext <<_ACEOF |
14857 /* confdefs.h. */ | |
14858 _ACEOF | |
14859 cat confdefs.h >>conftest.$ac_ext | |
14860 cat >>conftest.$ac_ext <<_ACEOF | |
9947 /* end confdefs.h. */ | 14861 /* end confdefs.h. */ |
9948 | 14862 |
9949 /* Override any GCC internal prototype to avoid an error. | 14863 /* Override any GCC internal prototype to avoid an error. |
9950 Use char because int might match the return type of a GCC | 14864 Use char because int might match the return type of a GCC |
9951 builtin and then its argument prototype would still apply. */ | 14865 builtin and then its argument prototype would still apply. */ |
9959 return XpmReadFileToPixmap (); | 14873 return XpmReadFileToPixmap (); |
9960 ; | 14874 ; |
9961 return 0; | 14875 return 0; |
9962 } | 14876 } |
9963 _ACEOF | 14877 _ACEOF |
9964 if ac_fn_c_try_link "$LINENO"; then : | 14878 rm -f conftest.$ac_objext conftest$ac_exeext |
14879 if { (ac_try="$ac_link" | |
14880 case "(($ac_try" in | |
14881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14882 *) ac_try_echo=$ac_try;; | |
14883 esac | |
14884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14885 $as_echo "$ac_try_echo") >&5 | |
14886 (eval "$ac_link") 2>conftest.er1 | |
14887 ac_status=$? | |
14888 grep -v '^ *+' conftest.er1 >conftest.err | |
14889 rm -f conftest.er1 | |
14890 cat conftest.err >&5 | |
14891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14892 (exit $ac_status); } && { | |
14893 test -z "$ac_c_werror_flag" || | |
14894 test ! -s conftest.err | |
14895 } && test -s conftest$ac_exeext && { | |
14896 test "$cross_compiling" = yes || | |
14897 $as_test_x conftest$ac_exeext | |
14898 }; then | |
9965 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 14899 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
9966 else | 14900 else |
9967 ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 14901 $as_echo "$as_me: failed program was:" >&5 |
9968 fi | 14902 sed 's/^/| /' conftest.$ac_ext >&5 |
9969 rm -f core conftest.err conftest.$ac_objext \ | 14903 |
9970 conftest$ac_exeext conftest.$ac_ext | 14904 ac_cv_lib_Xpm_XpmReadFileToPixmap=no |
14905 fi | |
14906 | |
14907 rm -rf conftest.dSYM | |
14908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
14909 conftest$ac_exeext conftest.$ac_ext | |
9971 LIBS=$ac_check_lib_save_LIBS | 14910 LIBS=$ac_check_lib_save_LIBS |
9972 fi | 14911 fi |
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 14912 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
9974 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } | 14913 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
9975 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : | 14914 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
9976 HAVE_XPM=yes | 14915 HAVE_XPM=yes |
9977 fi | 14916 fi |
9978 | 14917 |
9979 fi | 14918 fi |
9980 | 14919 |
9981 | 14920 |
9982 if test "${HAVE_XPM}" = "yes"; then | 14921 if test "${HAVE_XPM}" = "yes"; then |
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5 | 14922 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 |
9984 $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } | 14923 $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } |
9985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14924 cat >conftest.$ac_ext <<_ACEOF |
14925 /* confdefs.h. */ | |
14926 _ACEOF | |
14927 cat confdefs.h >>conftest.$ac_ext | |
14928 cat >>conftest.$ac_ext <<_ACEOF | |
9986 /* end confdefs.h. */ | 14929 /* end confdefs.h. */ |
9987 #include "X11/xpm.h" | 14930 #include "X11/xpm.h" |
9988 #ifndef XpmReturnAllocPixels | 14931 #ifndef XpmReturnAllocPixels |
9989 no_return_alloc_pixels | 14932 no_return_alloc_pixels |
9990 #endif | 14933 #endif |
9991 | 14934 |
9992 _ACEOF | 14935 _ACEOF |
9993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9994 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then : | 14937 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then |
9995 HAVE_XPM=no | 14938 HAVE_XPM=no |
9996 else | 14939 else |
9997 HAVE_XPM=yes | 14940 HAVE_XPM=yes |
9998 fi | 14941 fi |
9999 rm -f conftest* | 14942 rm -f conftest* |
10000 | 14943 |
10001 | 14944 |
10002 if test "${HAVE_XPM}" = "yes"; then | 14945 if test "${HAVE_XPM}" = "yes"; then |
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14946 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
10004 $as_echo "yes" >&6; } | 14947 $as_echo "yes" >&6; } |
10005 else | 14948 else |
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14949 { $as_echo "$as_me:$LINENO: result: no" >&5 |
10007 $as_echo "no" >&6; } | 14950 $as_echo "no" >&6; } |
10008 fi | 14951 fi |
10009 fi | 14952 fi |
10010 fi | 14953 fi |
10011 | 14954 |
10012 if test "${HAVE_XPM}" = "yes"; then | 14955 if test "${HAVE_XPM}" = "yes"; then |
10013 | 14956 |
10014 $as_echo "#define HAVE_XPM 1" >>confdefs.h | 14957 cat >>confdefs.h <<\_ACEOF |
14958 #define HAVE_XPM 1 | |
14959 _ACEOF | |
10015 | 14960 |
10016 LIBXPM=-lXpm | 14961 LIBXPM=-lXpm |
10017 fi | 14962 fi |
10018 fi | 14963 fi |
10019 | 14964 |
10021 ### Use -ljpeg if available, unless `--with-jpeg=no'. | 14966 ### Use -ljpeg if available, unless `--with-jpeg=no'. |
10022 HAVE_JPEG=no | 14967 HAVE_JPEG=no |
10023 LIBJPEG= | 14968 LIBJPEG= |
10024 if test "${HAVE_X11}" = "yes"; then | 14969 if test "${HAVE_X11}" = "yes"; then |
10025 if test "${with_jpeg}" != "no"; then | 14970 if test "${with_jpeg}" != "no"; then |
10026 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" | 14971 if test "${ac_cv_header_jerror_h+set}" = set; then |
10027 if test "x$ac_cv_header_jerror_h" = x""yes; then : | 14972 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 |
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 | 14973 $as_echo_n "checking for jerror.h... " >&6; } |
14974 if test "${ac_cv_header_jerror_h+set}" = set; then | |
14975 $as_echo_n "(cached) " >&6 | |
14976 fi | |
14977 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | |
14978 $as_echo "$ac_cv_header_jerror_h" >&6; } | |
14979 else | |
14980 # Is the header compilable? | |
14981 { $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5 | |
14982 $as_echo_n "checking jerror.h usability... " >&6; } | |
14983 cat >conftest.$ac_ext <<_ACEOF | |
14984 /* confdefs.h. */ | |
14985 _ACEOF | |
14986 cat confdefs.h >>conftest.$ac_ext | |
14987 cat >>conftest.$ac_ext <<_ACEOF | |
14988 /* end confdefs.h. */ | |
14989 $ac_includes_default | |
14990 #include <jerror.h> | |
14991 _ACEOF | |
14992 rm -f conftest.$ac_objext | |
14993 if { (ac_try="$ac_compile" | |
14994 case "(($ac_try" in | |
14995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14996 *) ac_try_echo=$ac_try;; | |
14997 esac | |
14998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14999 $as_echo "$ac_try_echo") >&5 | |
15000 (eval "$ac_compile") 2>conftest.er1 | |
15001 ac_status=$? | |
15002 grep -v '^ *+' conftest.er1 >conftest.err | |
15003 rm -f conftest.er1 | |
15004 cat conftest.err >&5 | |
15005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15006 (exit $ac_status); } && { | |
15007 test -z "$ac_c_werror_flag" || | |
15008 test ! -s conftest.err | |
15009 } && test -s conftest.$ac_objext; then | |
15010 ac_header_compiler=yes | |
15011 else | |
15012 $as_echo "$as_me: failed program was:" >&5 | |
15013 sed 's/^/| /' conftest.$ac_ext >&5 | |
15014 | |
15015 ac_header_compiler=no | |
15016 fi | |
15017 | |
15018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
15019 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15020 $as_echo "$ac_header_compiler" >&6; } | |
15021 | |
15022 # Is the header present? | |
15023 { $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5 | |
15024 $as_echo_n "checking jerror.h presence... " >&6; } | |
15025 cat >conftest.$ac_ext <<_ACEOF | |
15026 /* confdefs.h. */ | |
15027 _ACEOF | |
15028 cat confdefs.h >>conftest.$ac_ext | |
15029 cat >>conftest.$ac_ext <<_ACEOF | |
15030 /* end confdefs.h. */ | |
15031 #include <jerror.h> | |
15032 _ACEOF | |
15033 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15034 case "(($ac_try" in | |
15035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15036 *) ac_try_echo=$ac_try;; | |
15037 esac | |
15038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15039 $as_echo "$ac_try_echo") >&5 | |
15040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15041 ac_status=$? | |
15042 grep -v '^ *+' conftest.er1 >conftest.err | |
15043 rm -f conftest.er1 | |
15044 cat conftest.err >&5 | |
15045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15046 (exit $ac_status); } >/dev/null && { | |
15047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
15048 test ! -s conftest.err | |
15049 }; then | |
15050 ac_header_preproc=yes | |
15051 else | |
15052 $as_echo "$as_me: failed program was:" >&5 | |
15053 sed 's/^/| /' conftest.$ac_ext >&5 | |
15054 | |
15055 ac_header_preproc=no | |
15056 fi | |
15057 | |
15058 rm -f conftest.err conftest.$ac_ext | |
15059 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
15060 $as_echo "$ac_header_preproc" >&6; } | |
15061 | |
15062 # So? What about this header? | |
15063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
15064 yes:no: ) | |
15065 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15066 $as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15067 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5 | |
15068 $as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;} | |
15069 ac_header_preproc=yes | |
15070 ;; | |
15071 no:yes:* ) | |
15072 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 | |
15073 $as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} | |
15074 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 | |
15075 $as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} | |
15076 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5 | |
15077 $as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;} | |
15078 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5 | |
15079 $as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
15080 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | |
15081 $as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} | |
15082 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 | |
15083 $as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} | |
15084 | |
15085 ;; | |
15086 esac | |
15087 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 | |
15088 $as_echo_n "checking for jerror.h... " >&6; } | |
15089 if test "${ac_cv_header_jerror_h+set}" = set; then | |
15090 $as_echo_n "(cached) " >&6 | |
15091 else | |
15092 ac_cv_header_jerror_h=$ac_header_preproc | |
15093 fi | |
15094 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | |
15095 $as_echo "$ac_cv_header_jerror_h" >&6; } | |
15096 | |
15097 fi | |
15098 if test $ac_cv_header_jerror_h = yes; then | |
15099 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | |
10029 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } | 15100 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } |
10030 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : | 15101 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
10031 $as_echo_n "(cached) " >&6 | 15102 $as_echo_n "(cached) " >&6 |
10032 else | 15103 else |
10033 ac_check_lib_save_LIBS=$LIBS | 15104 ac_check_lib_save_LIBS=$LIBS |
10034 LIBS="-ljpeg $LIBS" | 15105 LIBS="-ljpeg $LIBS" |
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15106 cat >conftest.$ac_ext <<_ACEOF |
15107 /* confdefs.h. */ | |
15108 _ACEOF | |
15109 cat confdefs.h >>conftest.$ac_ext | |
15110 cat >>conftest.$ac_ext <<_ACEOF | |
10036 /* end confdefs.h. */ | 15111 /* end confdefs.h. */ |
10037 | 15112 |
10038 /* Override any GCC internal prototype to avoid an error. | 15113 /* Override any GCC internal prototype to avoid an error. |
10039 Use char because int might match the return type of a GCC | 15114 Use char because int might match the return type of a GCC |
10040 builtin and then its argument prototype would still apply. */ | 15115 builtin and then its argument prototype would still apply. */ |
10048 return jpeg_destroy_compress (); | 15123 return jpeg_destroy_compress (); |
10049 ; | 15124 ; |
10050 return 0; | 15125 return 0; |
10051 } | 15126 } |
10052 _ACEOF | 15127 _ACEOF |
10053 if ac_fn_c_try_link "$LINENO"; then : | 15128 rm -f conftest.$ac_objext conftest$ac_exeext |
15129 if { (ac_try="$ac_link" | |
15130 case "(($ac_try" in | |
15131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15132 *) ac_try_echo=$ac_try;; | |
15133 esac | |
15134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15135 $as_echo "$ac_try_echo") >&5 | |
15136 (eval "$ac_link") 2>conftest.er1 | |
15137 ac_status=$? | |
15138 grep -v '^ *+' conftest.er1 >conftest.err | |
15139 rm -f conftest.er1 | |
15140 cat conftest.err >&5 | |
15141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15142 (exit $ac_status); } && { | |
15143 test -z "$ac_c_werror_flag" || | |
15144 test ! -s conftest.err | |
15145 } && test -s conftest$ac_exeext && { | |
15146 test "$cross_compiling" = yes || | |
15147 $as_test_x conftest$ac_exeext | |
15148 }; then | |
10054 ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 15149 ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
10055 else | 15150 else |
10056 ac_cv_lib_jpeg_jpeg_destroy_compress=no | 15151 $as_echo "$as_me: failed program was:" >&5 |
10057 fi | 15152 sed 's/^/| /' conftest.$ac_ext >&5 |
10058 rm -f core conftest.err conftest.$ac_objext \ | 15153 |
10059 conftest$ac_exeext conftest.$ac_ext | 15154 ac_cv_lib_jpeg_jpeg_destroy_compress=no |
15155 fi | |
15156 | |
15157 rm -rf conftest.dSYM | |
15158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15159 conftest$ac_exeext conftest.$ac_ext | |
10060 LIBS=$ac_check_lib_save_LIBS | 15160 LIBS=$ac_check_lib_save_LIBS |
10061 fi | 15161 fi |
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 15162 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
10063 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } | 15163 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
10064 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : | 15164 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
10065 HAVE_JPEG=yes | 15165 HAVE_JPEG=yes |
10066 fi | 15166 fi |
10067 | 15167 |
10068 fi | 15168 fi |
10069 | 15169 |
10070 | 15170 |
10071 fi | 15171 fi |
10072 | 15172 |
10073 if test "${HAVE_JPEG}" = "yes"; then | 15173 |
10074 $as_echo "#define HAVE_JPEG 1" >>confdefs.h | 15174 if test "${HAVE_JPEG}" = "yes"; then |
10075 | 15175 cat >>confdefs.h <<\_ACEOF |
10076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15176 #define HAVE_JPEG 1 |
15177 _ACEOF | |
15178 | |
15179 cat >conftest.$ac_ext <<_ACEOF | |
15180 /* confdefs.h. */ | |
15181 _ACEOF | |
15182 cat confdefs.h >>conftest.$ac_ext | |
15183 cat >>conftest.$ac_ext <<_ACEOF | |
10077 /* end confdefs.h. */ | 15184 /* end confdefs.h. */ |
10078 #include <jpeglib.h> | 15185 #include <jpeglib.h> |
10079 version=JPEG_LIB_VERSION | 15186 version=JPEG_LIB_VERSION |
10080 | 15187 |
10081 _ACEOF | 15188 _ACEOF |
10082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10083 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then : | 15190 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then |
10084 $as_echo "#define HAVE_JPEG 1" >>confdefs.h | 15191 cat >>confdefs.h <<\_ACEOF |
10085 | 15192 #define HAVE_JPEG 1 |
10086 else | 15193 _ACEOF |
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5 | 15194 |
15195 else | |
15196 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 | |
10088 $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} | 15197 $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} |
10089 HAVE_JPEG=no | 15198 HAVE_JPEG=no |
10090 fi | 15199 fi |
10091 rm -f conftest* | 15200 rm -f conftest* |
10092 | 15201 |
10102 LIBPNG= | 15211 LIBPNG= |
10103 if test "${HAVE_X11}" = "yes"; then | 15212 if test "${HAVE_X11}" = "yes"; then |
10104 if test "${with_png}" != "no"; then | 15213 if test "${with_png}" != "no"; then |
10105 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h | 15214 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h |
10106 # in /usr/include/libpng. | 15215 # in /usr/include/libpng. |
10107 for ac_header in png.h libpng/png.h | 15216 |
10108 do : | 15217 |
10109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 15218 for ac_header in png.h libpng/png.h |
10110 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 15219 do |
10111 eval as_val=\$$as_ac_Header | 15220 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10112 if test "x$as_val" = x""yes; then : | 15221 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
15222 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
15223 $as_echo_n "checking for $ac_header... " >&6; } | |
15224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
15225 $as_echo_n "(cached) " >&6 | |
15226 fi | |
15227 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
15228 $as_echo "$as_val"'` | |
15229 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
15230 $as_echo "$ac_res" >&6; } | |
15231 else | |
15232 # Is the header compilable? | |
15233 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
15234 $as_echo_n "checking $ac_header usability... " >&6; } | |
15235 cat >conftest.$ac_ext <<_ACEOF | |
15236 /* confdefs.h. */ | |
15237 _ACEOF | |
15238 cat confdefs.h >>conftest.$ac_ext | |
15239 cat >>conftest.$ac_ext <<_ACEOF | |
15240 /* end confdefs.h. */ | |
15241 $ac_includes_default | |
15242 #include <$ac_header> | |
15243 _ACEOF | |
15244 rm -f conftest.$ac_objext | |
15245 if { (ac_try="$ac_compile" | |
15246 case "(($ac_try" in | |
15247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15248 *) ac_try_echo=$ac_try;; | |
15249 esac | |
15250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15251 $as_echo "$ac_try_echo") >&5 | |
15252 (eval "$ac_compile") 2>conftest.er1 | |
15253 ac_status=$? | |
15254 grep -v '^ *+' conftest.er1 >conftest.err | |
15255 rm -f conftest.er1 | |
15256 cat conftest.err >&5 | |
15257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15258 (exit $ac_status); } && { | |
15259 test -z "$ac_c_werror_flag" || | |
15260 test ! -s conftest.err | |
15261 } && test -s conftest.$ac_objext; then | |
15262 ac_header_compiler=yes | |
15263 else | |
15264 $as_echo "$as_me: failed program was:" >&5 | |
15265 sed 's/^/| /' conftest.$ac_ext >&5 | |
15266 | |
15267 ac_header_compiler=no | |
15268 fi | |
15269 | |
15270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
15271 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15272 $as_echo "$ac_header_compiler" >&6; } | |
15273 | |
15274 # Is the header present? | |
15275 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
15276 $as_echo_n "checking $ac_header presence... " >&6; } | |
15277 cat >conftest.$ac_ext <<_ACEOF | |
15278 /* confdefs.h. */ | |
15279 _ACEOF | |
15280 cat confdefs.h >>conftest.$ac_ext | |
15281 cat >>conftest.$ac_ext <<_ACEOF | |
15282 /* end confdefs.h. */ | |
15283 #include <$ac_header> | |
15284 _ACEOF | |
15285 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15286 case "(($ac_try" in | |
15287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15288 *) ac_try_echo=$ac_try;; | |
15289 esac | |
15290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15291 $as_echo "$ac_try_echo") >&5 | |
15292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15293 ac_status=$? | |
15294 grep -v '^ *+' conftest.er1 >conftest.err | |
15295 rm -f conftest.er1 | |
15296 cat conftest.err >&5 | |
15297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15298 (exit $ac_status); } >/dev/null && { | |
15299 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
15300 test ! -s conftest.err | |
15301 }; then | |
15302 ac_header_preproc=yes | |
15303 else | |
15304 $as_echo "$as_me: failed program was:" >&5 | |
15305 sed 's/^/| /' conftest.$ac_ext >&5 | |
15306 | |
15307 ac_header_preproc=no | |
15308 fi | |
15309 | |
15310 rm -f conftest.err conftest.$ac_ext | |
15311 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
15312 $as_echo "$ac_header_preproc" >&6; } | |
15313 | |
15314 # So? What about this header? | |
15315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
15316 yes:no: ) | |
15317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15318 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15319 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
15320 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
15321 ac_header_preproc=yes | |
15322 ;; | |
15323 no:yes:* ) | |
15324 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
15325 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
15326 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
15327 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
15328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
15329 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
15330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
15331 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
15332 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
15333 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
15334 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
15335 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
15336 | |
15337 ;; | |
15338 esac | |
15339 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
15340 $as_echo_n "checking for $ac_header... " >&6; } | |
15341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
15342 $as_echo_n "(cached) " >&6 | |
15343 else | |
15344 eval "$as_ac_Header=\$ac_header_preproc" | |
15345 fi | |
15346 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
15347 $as_echo "$as_val"'` | |
15348 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
15349 $as_echo "$ac_res" >&6; } | |
15350 | |
15351 fi | |
15352 if test `eval 'as_val=${'$as_ac_Header'} | |
15353 $as_echo "$as_val"'` = yes; then | |
10113 cat >>confdefs.h <<_ACEOF | 15354 cat >>confdefs.h <<_ACEOF |
10114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 15355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10115 _ACEOF | 15356 _ACEOF |
10116 | 15357 |
10117 fi | 15358 fi |
10118 | 15359 |
10119 done | 15360 done |
10120 | 15361 |
10121 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 15362 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 | 15363 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 |
10123 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } | 15364 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } |
10124 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : | 15365 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
10125 $as_echo_n "(cached) " >&6 | 15366 $as_echo_n "(cached) " >&6 |
10126 else | 15367 else |
10127 ac_check_lib_save_LIBS=$LIBS | 15368 ac_check_lib_save_LIBS=$LIBS |
10128 LIBS="-lpng -lz -lm $LIBS" | 15369 LIBS="-lpng -lz -lm $LIBS" |
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15370 cat >conftest.$ac_ext <<_ACEOF |
15371 /* confdefs.h. */ | |
15372 _ACEOF | |
15373 cat confdefs.h >>conftest.$ac_ext | |
15374 cat >>conftest.$ac_ext <<_ACEOF | |
10130 /* end confdefs.h. */ | 15375 /* end confdefs.h. */ |
10131 | 15376 |
10132 /* Override any GCC internal prototype to avoid an error. | 15377 /* Override any GCC internal prototype to avoid an error. |
10133 Use char because int might match the return type of a GCC | 15378 Use char because int might match the return type of a GCC |
10134 builtin and then its argument prototype would still apply. */ | 15379 builtin and then its argument prototype would still apply. */ |
10142 return png_get_channels (); | 15387 return png_get_channels (); |
10143 ; | 15388 ; |
10144 return 0; | 15389 return 0; |
10145 } | 15390 } |
10146 _ACEOF | 15391 _ACEOF |
10147 if ac_fn_c_try_link "$LINENO"; then : | 15392 rm -f conftest.$ac_objext conftest$ac_exeext |
15393 if { (ac_try="$ac_link" | |
15394 case "(($ac_try" in | |
15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15396 *) ac_try_echo=$ac_try;; | |
15397 esac | |
15398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15399 $as_echo "$ac_try_echo") >&5 | |
15400 (eval "$ac_link") 2>conftest.er1 | |
15401 ac_status=$? | |
15402 grep -v '^ *+' conftest.er1 >conftest.err | |
15403 rm -f conftest.er1 | |
15404 cat conftest.err >&5 | |
15405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15406 (exit $ac_status); } && { | |
15407 test -z "$ac_c_werror_flag" || | |
15408 test ! -s conftest.err | |
15409 } && test -s conftest$ac_exeext && { | |
15410 test "$cross_compiling" = yes || | |
15411 $as_test_x conftest$ac_exeext | |
15412 }; then | |
10148 ac_cv_lib_png_png_get_channels=yes | 15413 ac_cv_lib_png_png_get_channels=yes |
10149 else | 15414 else |
10150 ac_cv_lib_png_png_get_channels=no | 15415 $as_echo "$as_me: failed program was:" >&5 |
10151 fi | 15416 sed 's/^/| /' conftest.$ac_ext >&5 |
10152 rm -f core conftest.err conftest.$ac_objext \ | 15417 |
10153 conftest$ac_exeext conftest.$ac_ext | 15418 ac_cv_lib_png_png_get_channels=no |
15419 fi | |
15420 | |
15421 rm -rf conftest.dSYM | |
15422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15423 conftest$ac_exeext conftest.$ac_ext | |
10154 LIBS=$ac_check_lib_save_LIBS | 15424 LIBS=$ac_check_lib_save_LIBS |
10155 fi | 15425 fi |
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 | 15426 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 |
10157 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } | 15427 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } |
10158 if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : | 15428 if test $ac_cv_lib_png_png_get_channels = yes; then |
10159 HAVE_PNG=yes | 15429 HAVE_PNG=yes |
10160 fi | 15430 fi |
10161 | 15431 |
10162 fi | 15432 fi |
10163 fi | 15433 fi |
10164 | 15434 |
10165 if test "${HAVE_PNG}" = "yes"; then | 15435 if test "${HAVE_PNG}" = "yes"; then |
10166 | 15436 |
10167 $as_echo "#define HAVE_PNG 1" >>confdefs.h | 15437 cat >>confdefs.h <<\_ACEOF |
15438 #define HAVE_PNG 1 | |
15439 _ACEOF | |
10168 | 15440 |
10169 LIBPNG="-lpng -lz -lm" | 15441 LIBPNG="-lpng -lz -lm" |
10170 fi | 15442 fi |
10171 fi | 15443 fi |
10172 | 15444 |
10174 ### Use -ltiff if available, unless `--with-tiff=no'. | 15446 ### Use -ltiff if available, unless `--with-tiff=no'. |
10175 HAVE_TIFF=no | 15447 HAVE_TIFF=no |
10176 LIBTIFF= | 15448 LIBTIFF= |
10177 if test "${HAVE_X11}" = "yes"; then | 15449 if test "${HAVE_X11}" = "yes"; then |
10178 if test "${with_tiff}" != "no"; then | 15450 if test "${with_tiff}" != "no"; then |
10179 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" | 15451 if test "${ac_cv_header_tiffio_h+set}" = set; then |
10180 if test "x$ac_cv_header_tiffio_h" = x""yes; then : | 15452 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
15453 $as_echo_n "checking for tiffio.h... " >&6; } | |
15454 if test "${ac_cv_header_tiffio_h+set}" = set; then | |
15455 $as_echo_n "(cached) " >&6 | |
15456 fi | |
15457 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | |
15458 $as_echo "$ac_cv_header_tiffio_h" >&6; } | |
15459 else | |
15460 # Is the header compilable? | |
15461 { $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | |
15462 $as_echo_n "checking tiffio.h usability... " >&6; } | |
15463 cat >conftest.$ac_ext <<_ACEOF | |
15464 /* confdefs.h. */ | |
15465 _ACEOF | |
15466 cat confdefs.h >>conftest.$ac_ext | |
15467 cat >>conftest.$ac_ext <<_ACEOF | |
15468 /* end confdefs.h. */ | |
15469 $ac_includes_default | |
15470 #include <tiffio.h> | |
15471 _ACEOF | |
15472 rm -f conftest.$ac_objext | |
15473 if { (ac_try="$ac_compile" | |
15474 case "(($ac_try" in | |
15475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15476 *) ac_try_echo=$ac_try;; | |
15477 esac | |
15478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15479 $as_echo "$ac_try_echo") >&5 | |
15480 (eval "$ac_compile") 2>conftest.er1 | |
15481 ac_status=$? | |
15482 grep -v '^ *+' conftest.er1 >conftest.err | |
15483 rm -f conftest.er1 | |
15484 cat conftest.err >&5 | |
15485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15486 (exit $ac_status); } && { | |
15487 test -z "$ac_c_werror_flag" || | |
15488 test ! -s conftest.err | |
15489 } && test -s conftest.$ac_objext; then | |
15490 ac_header_compiler=yes | |
15491 else | |
15492 $as_echo "$as_me: failed program was:" >&5 | |
15493 sed 's/^/| /' conftest.$ac_ext >&5 | |
15494 | |
15495 ac_header_compiler=no | |
15496 fi | |
15497 | |
15498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
15499 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15500 $as_echo "$ac_header_compiler" >&6; } | |
15501 | |
15502 # Is the header present? | |
15503 { $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | |
15504 $as_echo_n "checking tiffio.h presence... " >&6; } | |
15505 cat >conftest.$ac_ext <<_ACEOF | |
15506 /* confdefs.h. */ | |
15507 _ACEOF | |
15508 cat confdefs.h >>conftest.$ac_ext | |
15509 cat >>conftest.$ac_ext <<_ACEOF | |
15510 /* end confdefs.h. */ | |
15511 #include <tiffio.h> | |
15512 _ACEOF | |
15513 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15514 case "(($ac_try" in | |
15515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15516 *) ac_try_echo=$ac_try;; | |
15517 esac | |
15518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15519 $as_echo "$ac_try_echo") >&5 | |
15520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15521 ac_status=$? | |
15522 grep -v '^ *+' conftest.er1 >conftest.err | |
15523 rm -f conftest.er1 | |
15524 cat conftest.err >&5 | |
15525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15526 (exit $ac_status); } >/dev/null && { | |
15527 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
15528 test ! -s conftest.err | |
15529 }; then | |
15530 ac_header_preproc=yes | |
15531 else | |
15532 $as_echo "$as_me: failed program was:" >&5 | |
15533 sed 's/^/| /' conftest.$ac_ext >&5 | |
15534 | |
15535 ac_header_preproc=no | |
15536 fi | |
15537 | |
15538 rm -f conftest.err conftest.$ac_ext | |
15539 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
15540 $as_echo "$ac_header_preproc" >&6; } | |
15541 | |
15542 # So? What about this header? | |
15543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
15544 yes:no: ) | |
15545 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15546 $as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15547 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 | |
15548 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} | |
15549 ac_header_preproc=yes | |
15550 ;; | |
15551 no:yes:* ) | |
15552 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 | |
15553 $as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} | |
15554 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 | |
15555 $as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} | |
15556 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 | |
15557 $as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} | |
15558 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 | |
15559 $as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
15560 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | |
15561 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | |
15562 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 | |
15563 $as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} | |
15564 | |
15565 ;; | |
15566 esac | |
15567 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 | |
15568 $as_echo_n "checking for tiffio.h... " >&6; } | |
15569 if test "${ac_cv_header_tiffio_h+set}" = set; then | |
15570 $as_echo_n "(cached) " >&6 | |
15571 else | |
15572 ac_cv_header_tiffio_h=$ac_header_preproc | |
15573 fi | |
15574 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | |
15575 $as_echo "$ac_cv_header_tiffio_h" >&6; } | |
15576 | |
15577 fi | |
15578 if test $ac_cv_header_tiffio_h = yes; then | |
10181 tifflibs="-lz -lm" | 15579 tifflibs="-lz -lm" |
10182 # At least one tiff package requires the jpeg library. | 15580 # At least one tiff package requires the jpeg library. |
10183 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 15581 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 | 15582 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 |
10185 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } | 15583 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } |
10186 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : | 15584 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
10187 $as_echo_n "(cached) " >&6 | 15585 $as_echo_n "(cached) " >&6 |
10188 else | 15586 else |
10189 ac_check_lib_save_LIBS=$LIBS | 15587 ac_check_lib_save_LIBS=$LIBS |
10190 LIBS="-ltiff $tifflibs $LIBS" | 15588 LIBS="-ltiff $tifflibs $LIBS" |
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15589 cat >conftest.$ac_ext <<_ACEOF |
15590 /* confdefs.h. */ | |
15591 _ACEOF | |
15592 cat confdefs.h >>conftest.$ac_ext | |
15593 cat >>conftest.$ac_ext <<_ACEOF | |
10192 /* end confdefs.h. */ | 15594 /* end confdefs.h. */ |
10193 | 15595 |
10194 /* Override any GCC internal prototype to avoid an error. | 15596 /* Override any GCC internal prototype to avoid an error. |
10195 Use char because int might match the return type of a GCC | 15597 Use char because int might match the return type of a GCC |
10196 builtin and then its argument prototype would still apply. */ | 15598 builtin and then its argument prototype would still apply. */ |
10204 return TIFFGetVersion (); | 15606 return TIFFGetVersion (); |
10205 ; | 15607 ; |
10206 return 0; | 15608 return 0; |
10207 } | 15609 } |
10208 _ACEOF | 15610 _ACEOF |
10209 if ac_fn_c_try_link "$LINENO"; then : | 15611 rm -f conftest.$ac_objext conftest$ac_exeext |
15612 if { (ac_try="$ac_link" | |
15613 case "(($ac_try" in | |
15614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15615 *) ac_try_echo=$ac_try;; | |
15616 esac | |
15617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15618 $as_echo "$ac_try_echo") >&5 | |
15619 (eval "$ac_link") 2>conftest.er1 | |
15620 ac_status=$? | |
15621 grep -v '^ *+' conftest.er1 >conftest.err | |
15622 rm -f conftest.er1 | |
15623 cat conftest.err >&5 | |
15624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15625 (exit $ac_status); } && { | |
15626 test -z "$ac_c_werror_flag" || | |
15627 test ! -s conftest.err | |
15628 } && test -s conftest$ac_exeext && { | |
15629 test "$cross_compiling" = yes || | |
15630 $as_test_x conftest$ac_exeext | |
15631 }; then | |
10210 ac_cv_lib_tiff_TIFFGetVersion=yes | 15632 ac_cv_lib_tiff_TIFFGetVersion=yes |
10211 else | 15633 else |
10212 ac_cv_lib_tiff_TIFFGetVersion=no | 15634 $as_echo "$as_me: failed program was:" >&5 |
10213 fi | 15635 sed 's/^/| /' conftest.$ac_ext >&5 |
10214 rm -f core conftest.err conftest.$ac_objext \ | 15636 |
10215 conftest$ac_exeext conftest.$ac_ext | 15637 ac_cv_lib_tiff_TIFFGetVersion=no |
15638 fi | |
15639 | |
15640 rm -rf conftest.dSYM | |
15641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15642 conftest$ac_exeext conftest.$ac_ext | |
10216 LIBS=$ac_check_lib_save_LIBS | 15643 LIBS=$ac_check_lib_save_LIBS |
10217 fi | 15644 fi |
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 15645 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
10219 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } | 15646 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
10220 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : | 15647 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
10221 HAVE_TIFF=yes | 15648 HAVE_TIFF=yes |
10222 fi | 15649 fi |
10223 | 15650 |
10224 fi | 15651 fi |
10225 | 15652 |
10226 | 15653 |
10227 fi | 15654 fi |
10228 | 15655 |
10229 if test "${HAVE_TIFF}" = "yes"; then | 15656 if test "${HAVE_TIFF}" = "yes"; then |
10230 | 15657 |
10231 $as_echo "#define HAVE_TIFF 1" >>confdefs.h | 15658 cat >>confdefs.h <<\_ACEOF |
15659 #define HAVE_TIFF 1 | |
15660 _ACEOF | |
10232 | 15661 |
10233 LIBTIFF=-ltiff | 15662 LIBTIFF=-ltiff |
10234 fi | 15663 fi |
10235 fi | 15664 fi |
10236 | 15665 |
10237 | 15666 |
10238 ### Use -lgif or -lungif if available, unless `--with-gif=no'. | 15667 ### Use -lgif or -lungif if available, unless `--with-gif=no'. |
10239 HAVE_GIF=no | 15668 HAVE_GIF=no |
10240 LIBGIF= | 15669 LIBGIF= |
10241 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | 15670 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then |
10242 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" | 15671 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
10243 if test "x$ac_cv_header_gif_lib_h" = x""yes; then : | 15672 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
15673 $as_echo_n "checking for gif_lib.h... " >&6; } | |
15674 if test "${ac_cv_header_gif_lib_h+set}" = set; then | |
15675 $as_echo_n "(cached) " >&6 | |
15676 fi | |
15677 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | |
15678 $as_echo "$ac_cv_header_gif_lib_h" >&6; } | |
15679 else | |
15680 # Is the header compilable? | |
15681 { $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | |
15682 $as_echo_n "checking gif_lib.h usability... " >&6; } | |
15683 cat >conftest.$ac_ext <<_ACEOF | |
15684 /* confdefs.h. */ | |
15685 _ACEOF | |
15686 cat confdefs.h >>conftest.$ac_ext | |
15687 cat >>conftest.$ac_ext <<_ACEOF | |
15688 /* end confdefs.h. */ | |
15689 $ac_includes_default | |
15690 #include <gif_lib.h> | |
15691 _ACEOF | |
15692 rm -f conftest.$ac_objext | |
15693 if { (ac_try="$ac_compile" | |
15694 case "(($ac_try" in | |
15695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15696 *) ac_try_echo=$ac_try;; | |
15697 esac | |
15698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15699 $as_echo "$ac_try_echo") >&5 | |
15700 (eval "$ac_compile") 2>conftest.er1 | |
15701 ac_status=$? | |
15702 grep -v '^ *+' conftest.er1 >conftest.err | |
15703 rm -f conftest.er1 | |
15704 cat conftest.err >&5 | |
15705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15706 (exit $ac_status); } && { | |
15707 test -z "$ac_c_werror_flag" || | |
15708 test ! -s conftest.err | |
15709 } && test -s conftest.$ac_objext; then | |
15710 ac_header_compiler=yes | |
15711 else | |
15712 $as_echo "$as_me: failed program was:" >&5 | |
15713 sed 's/^/| /' conftest.$ac_ext >&5 | |
15714 | |
15715 ac_header_compiler=no | |
15716 fi | |
15717 | |
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
15719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
15720 $as_echo "$ac_header_compiler" >&6; } | |
15721 | |
15722 # Is the header present? | |
15723 { $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | |
15724 $as_echo_n "checking gif_lib.h presence... " >&6; } | |
15725 cat >conftest.$ac_ext <<_ACEOF | |
15726 /* confdefs.h. */ | |
15727 _ACEOF | |
15728 cat confdefs.h >>conftest.$ac_ext | |
15729 cat >>conftest.$ac_ext <<_ACEOF | |
15730 /* end confdefs.h. */ | |
15731 #include <gif_lib.h> | |
15732 _ACEOF | |
15733 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15734 case "(($ac_try" in | |
15735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15736 *) ac_try_echo=$ac_try;; | |
15737 esac | |
15738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15739 $as_echo "$ac_try_echo") >&5 | |
15740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15741 ac_status=$? | |
15742 grep -v '^ *+' conftest.er1 >conftest.err | |
15743 rm -f conftest.er1 | |
15744 cat conftest.err >&5 | |
15745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15746 (exit $ac_status); } >/dev/null && { | |
15747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
15748 test ! -s conftest.err | |
15749 }; then | |
15750 ac_header_preproc=yes | |
15751 else | |
15752 $as_echo "$as_me: failed program was:" >&5 | |
15753 sed 's/^/| /' conftest.$ac_ext >&5 | |
15754 | |
15755 ac_header_preproc=no | |
15756 fi | |
15757 | |
15758 rm -f conftest.err conftest.$ac_ext | |
15759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
15760 $as_echo "$ac_header_preproc" >&6; } | |
15761 | |
15762 # So? What about this header? | |
15763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
15764 yes:no: ) | |
15765 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
15766 $as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15767 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 | |
15768 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} | |
15769 ac_header_preproc=yes | |
15770 ;; | |
15771 no:yes:* ) | |
15772 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 | |
15773 $as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} | |
15774 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 | |
15775 $as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} | |
15776 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 | |
15777 $as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} | |
15778 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 | |
15779 $as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
15780 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | |
15781 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} | |
15782 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 | |
15783 $as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} | |
15784 | |
15785 ;; | |
15786 esac | |
15787 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | |
15788 $as_echo_n "checking for gif_lib.h... " >&6; } | |
15789 if test "${ac_cv_header_gif_lib_h+set}" = set; then | |
15790 $as_echo_n "(cached) " >&6 | |
15791 else | |
15792 ac_cv_header_gif_lib_h=$ac_header_preproc | |
15793 fi | |
15794 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | |
15795 $as_echo "$ac_cv_header_gif_lib_h" >&6; } | |
15796 | |
15797 fi | |
15798 if test $ac_cv_header_gif_lib_h = yes; then | |
10244 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 15799 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
10245 # Earlier versions can crash Emacs. | 15800 # Earlier versions can crash Emacs. |
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 | 15801 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 |
10247 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } | 15802 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } |
10248 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : | 15803 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then |
10249 $as_echo_n "(cached) " >&6 | 15804 $as_echo_n "(cached) " >&6 |
10250 else | 15805 else |
10251 ac_check_lib_save_LIBS=$LIBS | 15806 ac_check_lib_save_LIBS=$LIBS |
10252 LIBS="-lgif $LIBS" | 15807 LIBS="-lgif $LIBS" |
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15808 cat >conftest.$ac_ext <<_ACEOF |
15809 /* confdefs.h. */ | |
15810 _ACEOF | |
15811 cat confdefs.h >>conftest.$ac_ext | |
15812 cat >>conftest.$ac_ext <<_ACEOF | |
10254 /* end confdefs.h. */ | 15813 /* end confdefs.h. */ |
10255 | 15814 |
10256 /* Override any GCC internal prototype to avoid an error. | 15815 /* Override any GCC internal prototype to avoid an error. |
10257 Use char because int might match the return type of a GCC | 15816 Use char because int might match the return type of a GCC |
10258 builtin and then its argument prototype would still apply. */ | 15817 builtin and then its argument prototype would still apply. */ |
10266 return EGifPutExtensionLast (); | 15825 return EGifPutExtensionLast (); |
10267 ; | 15826 ; |
10268 return 0; | 15827 return 0; |
10269 } | 15828 } |
10270 _ACEOF | 15829 _ACEOF |
10271 if ac_fn_c_try_link "$LINENO"; then : | 15830 rm -f conftest.$ac_objext conftest$ac_exeext |
15831 if { (ac_try="$ac_link" | |
15832 case "(($ac_try" in | |
15833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15834 *) ac_try_echo=$ac_try;; | |
15835 esac | |
15836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15837 $as_echo "$ac_try_echo") >&5 | |
15838 (eval "$ac_link") 2>conftest.er1 | |
15839 ac_status=$? | |
15840 grep -v '^ *+' conftest.er1 >conftest.err | |
15841 rm -f conftest.er1 | |
15842 cat conftest.err >&5 | |
15843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15844 (exit $ac_status); } && { | |
15845 test -z "$ac_c_werror_flag" || | |
15846 test ! -s conftest.err | |
15847 } && test -s conftest$ac_exeext && { | |
15848 test "$cross_compiling" = yes || | |
15849 $as_test_x conftest$ac_exeext | |
15850 }; then | |
10272 ac_cv_lib_gif_EGifPutExtensionLast=yes | 15851 ac_cv_lib_gif_EGifPutExtensionLast=yes |
10273 else | 15852 else |
10274 ac_cv_lib_gif_EGifPutExtensionLast=no | 15853 $as_echo "$as_me: failed program was:" >&5 |
10275 fi | 15854 sed 's/^/| /' conftest.$ac_ext >&5 |
10276 rm -f core conftest.err conftest.$ac_objext \ | 15855 |
10277 conftest$ac_exeext conftest.$ac_ext | 15856 ac_cv_lib_gif_EGifPutExtensionLast=no |
15857 fi | |
15858 | |
15859 rm -rf conftest.dSYM | |
15860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15861 conftest$ac_exeext conftest.$ac_ext | |
10278 LIBS=$ac_check_lib_save_LIBS | 15862 LIBS=$ac_check_lib_save_LIBS |
10279 fi | 15863 fi |
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 15864 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
10281 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 15865 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
10282 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : | 15866 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then |
10283 HAVE_GIF=yes | 15867 HAVE_GIF=yes |
10284 else | 15868 else |
10285 HAVE_GIF=maybe | 15869 HAVE_GIF=maybe |
10286 fi | 15870 fi |
10287 | 15871 |
10291 | 15875 |
10292 if test "$HAVE_GIF" = yes; then | 15876 if test "$HAVE_GIF" = yes; then |
10293 LIBGIF=-lgif | 15877 LIBGIF=-lgif |
10294 elif test "$HAVE_GIF" = maybe; then | 15878 elif test "$HAVE_GIF" = maybe; then |
10295 # If gif_lib.h but no libgif, try libungif. | 15879 # If gif_lib.h but no libgif, try libungif. |
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 | 15880 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
10297 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } | 15881 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } |
10298 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : | 15882 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
10299 $as_echo_n "(cached) " >&6 | 15883 $as_echo_n "(cached) " >&6 |
10300 else | 15884 else |
10301 ac_check_lib_save_LIBS=$LIBS | 15885 ac_check_lib_save_LIBS=$LIBS |
10302 LIBS="-lungif $LIBS" | 15886 LIBS="-lungif $LIBS" |
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15887 cat >conftest.$ac_ext <<_ACEOF |
15888 /* confdefs.h. */ | |
15889 _ACEOF | |
15890 cat confdefs.h >>conftest.$ac_ext | |
15891 cat >>conftest.$ac_ext <<_ACEOF | |
10304 /* end confdefs.h. */ | 15892 /* end confdefs.h. */ |
10305 | 15893 |
10306 /* Override any GCC internal prototype to avoid an error. | 15894 /* Override any GCC internal prototype to avoid an error. |
10307 Use char because int might match the return type of a GCC | 15895 Use char because int might match the return type of a GCC |
10308 builtin and then its argument prototype would still apply. */ | 15896 builtin and then its argument prototype would still apply. */ |
10316 return EGifPutExtensionLast (); | 15904 return EGifPutExtensionLast (); |
10317 ; | 15905 ; |
10318 return 0; | 15906 return 0; |
10319 } | 15907 } |
10320 _ACEOF | 15908 _ACEOF |
10321 if ac_fn_c_try_link "$LINENO"; then : | 15909 rm -f conftest.$ac_objext conftest$ac_exeext |
15910 if { (ac_try="$ac_link" | |
15911 case "(($ac_try" in | |
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15913 *) ac_try_echo=$ac_try;; | |
15914 esac | |
15915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15916 $as_echo "$ac_try_echo") >&5 | |
15917 (eval "$ac_link") 2>conftest.er1 | |
15918 ac_status=$? | |
15919 grep -v '^ *+' conftest.er1 >conftest.err | |
15920 rm -f conftest.er1 | |
15921 cat conftest.err >&5 | |
15922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15923 (exit $ac_status); } && { | |
15924 test -z "$ac_c_werror_flag" || | |
15925 test ! -s conftest.err | |
15926 } && test -s conftest$ac_exeext && { | |
15927 test "$cross_compiling" = yes || | |
15928 $as_test_x conftest$ac_exeext | |
15929 }; then | |
10322 ac_cv_lib_ungif_EGifPutExtensionLast=yes | 15930 ac_cv_lib_ungif_EGifPutExtensionLast=yes |
10323 else | 15931 else |
10324 ac_cv_lib_ungif_EGifPutExtensionLast=no | 15932 $as_echo "$as_me: failed program was:" >&5 |
10325 fi | 15933 sed 's/^/| /' conftest.$ac_ext >&5 |
10326 rm -f core conftest.err conftest.$ac_objext \ | 15934 |
10327 conftest$ac_exeext conftest.$ac_ext | 15935 ac_cv_lib_ungif_EGifPutExtensionLast=no |
15936 fi | |
15937 | |
15938 rm -rf conftest.dSYM | |
15939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
15940 conftest$ac_exeext conftest.$ac_ext | |
10328 LIBS=$ac_check_lib_save_LIBS | 15941 LIBS=$ac_check_lib_save_LIBS |
10329 fi | 15942 fi |
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 15943 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
10331 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 15944 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
10332 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : | 15945 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
10333 HAVE_GIF=yes | 15946 HAVE_GIF=yes |
10334 else | 15947 else |
10335 HAVE_GIF=no | 15948 HAVE_GIF=no |
10336 fi | 15949 fi |
10337 | 15950 |
10338 test "$HAVE_GIF" = yes && LIBGIF=-lungif | 15951 test "$HAVE_GIF" = yes && LIBGIF=-lungif |
10339 fi | 15952 fi |
10340 | 15953 |
10341 if test "${HAVE_GIF}" = "yes"; then | 15954 if test "${HAVE_GIF}" = "yes"; then |
10342 | 15955 |
10343 $as_echo "#define HAVE_GIF 1" >>confdefs.h | 15956 cat >>confdefs.h <<\_ACEOF |
15957 #define HAVE_GIF 1 | |
15958 _ACEOF | |
10344 | 15959 |
10345 fi | 15960 fi |
10346 fi | 15961 fi |
10347 | 15962 |
10348 | 15963 |
10359 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 15974 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
10360 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 15975 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
10361 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 15976 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
10362 | 15977 |
10363 if test "X${MISSING}" != X; then | 15978 if test "X${MISSING}" != X; then |
10364 as_fn_error "The following required libraries were not found: | 15979 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: |
10365 $MISSING | 15980 $MISSING |
10366 Maybe some development libraries/packages are missing? | 15981 Maybe some development libraries/packages are missing? |
10367 If you don't want to link with them give | 15982 If you don't want to link with them give |
10368 $WITH_NO | 15983 $WITH_NO |
10369 as options to configure" "$LINENO" 5 | 15984 as options to configure" >&5 |
15985 $as_echo "$as_me: error: The following required libraries were not found: | |
15986 $MISSING | |
15987 Maybe some development libraries/packages are missing? | |
15988 If you don't want to link with them give | |
15989 $WITH_NO | |
15990 as options to configure" >&2;} | |
15991 { (exit 1); exit 1; }; } | |
10370 fi | 15992 fi |
10371 fi | 15993 fi |
10372 | 15994 |
10373 ### Use -lgpm if available, unless `--with-gpm=no'. | 15995 ### Use -lgpm if available, unless `--with-gpm=no'. |
10374 HAVE_GPM=no | 15996 HAVE_GPM=no |
10375 LIBGPM= | 15997 LIBGPM= |
10376 MOUSE_SUPPORT= | 15998 MOUSE_SUPPORT= |
10377 if test "${with_gpm}" != "no"; then | 15999 if test "${with_gpm}" != "no"; then |
10378 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" | 16000 if test "${ac_cv_header_gpm_h+set}" = set; then |
10379 if test "x$ac_cv_header_gpm_h" = x""yes; then : | 16001 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 |
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 | 16002 $as_echo_n "checking for gpm.h... " >&6; } |
16003 if test "${ac_cv_header_gpm_h+set}" = set; then | |
16004 $as_echo_n "(cached) " >&6 | |
16005 fi | |
16006 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | |
16007 $as_echo "$ac_cv_header_gpm_h" >&6; } | |
16008 else | |
16009 # Is the header compilable? | |
16010 { $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5 | |
16011 $as_echo_n "checking gpm.h usability... " >&6; } | |
16012 cat >conftest.$ac_ext <<_ACEOF | |
16013 /* confdefs.h. */ | |
16014 _ACEOF | |
16015 cat confdefs.h >>conftest.$ac_ext | |
16016 cat >>conftest.$ac_ext <<_ACEOF | |
16017 /* end confdefs.h. */ | |
16018 $ac_includes_default | |
16019 #include <gpm.h> | |
16020 _ACEOF | |
16021 rm -f conftest.$ac_objext | |
16022 if { (ac_try="$ac_compile" | |
16023 case "(($ac_try" in | |
16024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16025 *) ac_try_echo=$ac_try;; | |
16026 esac | |
16027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16028 $as_echo "$ac_try_echo") >&5 | |
16029 (eval "$ac_compile") 2>conftest.er1 | |
16030 ac_status=$? | |
16031 grep -v '^ *+' conftest.er1 >conftest.err | |
16032 rm -f conftest.er1 | |
16033 cat conftest.err >&5 | |
16034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16035 (exit $ac_status); } && { | |
16036 test -z "$ac_c_werror_flag" || | |
16037 test ! -s conftest.err | |
16038 } && test -s conftest.$ac_objext; then | |
16039 ac_header_compiler=yes | |
16040 else | |
16041 $as_echo "$as_me: failed program was:" >&5 | |
16042 sed 's/^/| /' conftest.$ac_ext >&5 | |
16043 | |
16044 ac_header_compiler=no | |
16045 fi | |
16046 | |
16047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
16048 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
16049 $as_echo "$ac_header_compiler" >&6; } | |
16050 | |
16051 # Is the header present? | |
16052 { $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5 | |
16053 $as_echo_n "checking gpm.h presence... " >&6; } | |
16054 cat >conftest.$ac_ext <<_ACEOF | |
16055 /* confdefs.h. */ | |
16056 _ACEOF | |
16057 cat confdefs.h >>conftest.$ac_ext | |
16058 cat >>conftest.$ac_ext <<_ACEOF | |
16059 /* end confdefs.h. */ | |
16060 #include <gpm.h> | |
16061 _ACEOF | |
16062 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
16063 case "(($ac_try" in | |
16064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16065 *) ac_try_echo=$ac_try;; | |
16066 esac | |
16067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16068 $as_echo "$ac_try_echo") >&5 | |
16069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16070 ac_status=$? | |
16071 grep -v '^ *+' conftest.er1 >conftest.err | |
16072 rm -f conftest.er1 | |
16073 cat conftest.err >&5 | |
16074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16075 (exit $ac_status); } >/dev/null && { | |
16076 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
16077 test ! -s conftest.err | |
16078 }; then | |
16079 ac_header_preproc=yes | |
16080 else | |
16081 $as_echo "$as_me: failed program was:" >&5 | |
16082 sed 's/^/| /' conftest.$ac_ext >&5 | |
16083 | |
16084 ac_header_preproc=no | |
16085 fi | |
16086 | |
16087 rm -f conftest.err conftest.$ac_ext | |
16088 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
16089 $as_echo "$ac_header_preproc" >&6; } | |
16090 | |
16091 # So? What about this header? | |
16092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
16093 yes:no: ) | |
16094 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
16095 $as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
16096 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5 | |
16097 $as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;} | |
16098 ac_header_preproc=yes | |
16099 ;; | |
16100 no:yes:* ) | |
16101 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5 | |
16102 $as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;} | |
16103 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5 | |
16104 $as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;} | |
16105 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5 | |
16106 $as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;} | |
16107 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5 | |
16108 $as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
16109 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5 | |
16110 $as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;} | |
16111 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5 | |
16112 $as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;} | |
16113 | |
16114 ;; | |
16115 esac | |
16116 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 | |
16117 $as_echo_n "checking for gpm.h... " >&6; } | |
16118 if test "${ac_cv_header_gpm_h+set}" = set; then | |
16119 $as_echo_n "(cached) " >&6 | |
16120 else | |
16121 ac_cv_header_gpm_h=$ac_header_preproc | |
16122 fi | |
16123 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | |
16124 $as_echo "$ac_cv_header_gpm_h" >&6; } | |
16125 | |
16126 fi | |
16127 if test $ac_cv_header_gpm_h = yes; then | |
16128 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 | |
10381 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } | 16129 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } |
10382 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : | 16130 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then |
10383 $as_echo_n "(cached) " >&6 | 16131 $as_echo_n "(cached) " >&6 |
10384 else | 16132 else |
10385 ac_check_lib_save_LIBS=$LIBS | 16133 ac_check_lib_save_LIBS=$LIBS |
10386 LIBS="-lgpm $LIBS" | 16134 LIBS="-lgpm $LIBS" |
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16135 cat >conftest.$ac_ext <<_ACEOF |
16136 /* confdefs.h. */ | |
16137 _ACEOF | |
16138 cat confdefs.h >>conftest.$ac_ext | |
16139 cat >>conftest.$ac_ext <<_ACEOF | |
10388 /* end confdefs.h. */ | 16140 /* end confdefs.h. */ |
10389 | 16141 |
10390 /* Override any GCC internal prototype to avoid an error. | 16142 /* Override any GCC internal prototype to avoid an error. |
10391 Use char because int might match the return type of a GCC | 16143 Use char because int might match the return type of a GCC |
10392 builtin and then its argument prototype would still apply. */ | 16144 builtin and then its argument prototype would still apply. */ |
10400 return Gpm_Open (); | 16152 return Gpm_Open (); |
10401 ; | 16153 ; |
10402 return 0; | 16154 return 0; |
10403 } | 16155 } |
10404 _ACEOF | 16156 _ACEOF |
10405 if ac_fn_c_try_link "$LINENO"; then : | 16157 rm -f conftest.$ac_objext conftest$ac_exeext |
16158 if { (ac_try="$ac_link" | |
16159 case "(($ac_try" in | |
16160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16161 *) ac_try_echo=$ac_try;; | |
16162 esac | |
16163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16164 $as_echo "$ac_try_echo") >&5 | |
16165 (eval "$ac_link") 2>conftest.er1 | |
16166 ac_status=$? | |
16167 grep -v '^ *+' conftest.er1 >conftest.err | |
16168 rm -f conftest.er1 | |
16169 cat conftest.err >&5 | |
16170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16171 (exit $ac_status); } && { | |
16172 test -z "$ac_c_werror_flag" || | |
16173 test ! -s conftest.err | |
16174 } && test -s conftest$ac_exeext && { | |
16175 test "$cross_compiling" = yes || | |
16176 $as_test_x conftest$ac_exeext | |
16177 }; then | |
10406 ac_cv_lib_gpm_Gpm_Open=yes | 16178 ac_cv_lib_gpm_Gpm_Open=yes |
10407 else | 16179 else |
10408 ac_cv_lib_gpm_Gpm_Open=no | 16180 $as_echo "$as_me: failed program was:" >&5 |
10409 fi | 16181 sed 's/^/| /' conftest.$ac_ext >&5 |
10410 rm -f core conftest.err conftest.$ac_objext \ | 16182 |
10411 conftest$ac_exeext conftest.$ac_ext | 16183 ac_cv_lib_gpm_Gpm_Open=no |
16184 fi | |
16185 | |
16186 rm -rf conftest.dSYM | |
16187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16188 conftest$ac_exeext conftest.$ac_ext | |
10412 LIBS=$ac_check_lib_save_LIBS | 16189 LIBS=$ac_check_lib_save_LIBS |
10413 fi | 16190 fi |
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 | 16191 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
10415 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } | 16192 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } |
10416 if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : | 16193 if test $ac_cv_lib_gpm_Gpm_Open = yes; then |
10417 HAVE_GPM=yes | 16194 HAVE_GPM=yes |
10418 fi | 16195 fi |
10419 | 16196 |
10420 fi | 16197 fi |
10421 | 16198 |
10422 | 16199 |
10423 | 16200 |
10424 if test "${HAVE_GPM}" = "yes"; then | 16201 if test "${HAVE_GPM}" = "yes"; then |
10425 | 16202 |
10426 $as_echo "#define HAVE_GPM 1" >>confdefs.h | 16203 cat >>confdefs.h <<\_ACEOF |
16204 #define HAVE_GPM 1 | |
16205 _ACEOF | |
10427 | 16206 |
10428 LIBGPM=-lgpm | 16207 LIBGPM=-lgpm |
10429 ## May be reset below. | 16208 ## May be reset below. |
10430 MOUSE_SUPPORT="\$(GPM_MOUSE_SUPPORT)" | 16209 MOUSE_SUPPORT="\$(GPM_MOUSE_SUPPORT)" |
10431 fi | 16210 fi |
10432 fi | 16211 fi |
10433 | 16212 |
10434 | 16213 |
10435 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" | 16214 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
10436 if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : | 16215 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
10437 | 16216 $as_echo_n "checking for malloc/malloc.h... " >&6; } |
10438 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h | 16217 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
16218 $as_echo_n "(cached) " >&6 | |
16219 fi | |
16220 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | |
16221 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | |
16222 else | |
16223 # Is the header compilable? | |
16224 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 | |
16225 $as_echo_n "checking malloc/malloc.h usability... " >&6; } | |
16226 cat >conftest.$ac_ext <<_ACEOF | |
16227 /* confdefs.h. */ | |
16228 _ACEOF | |
16229 cat confdefs.h >>conftest.$ac_ext | |
16230 cat >>conftest.$ac_ext <<_ACEOF | |
16231 /* end confdefs.h. */ | |
16232 $ac_includes_default | |
16233 #include <malloc/malloc.h> | |
16234 _ACEOF | |
16235 rm -f conftest.$ac_objext | |
16236 if { (ac_try="$ac_compile" | |
16237 case "(($ac_try" in | |
16238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16239 *) ac_try_echo=$ac_try;; | |
16240 esac | |
16241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16242 $as_echo "$ac_try_echo") >&5 | |
16243 (eval "$ac_compile") 2>conftest.er1 | |
16244 ac_status=$? | |
16245 grep -v '^ *+' conftest.er1 >conftest.err | |
16246 rm -f conftest.er1 | |
16247 cat conftest.err >&5 | |
16248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16249 (exit $ac_status); } && { | |
16250 test -z "$ac_c_werror_flag" || | |
16251 test ! -s conftest.err | |
16252 } && test -s conftest.$ac_objext; then | |
16253 ac_header_compiler=yes | |
16254 else | |
16255 $as_echo "$as_me: failed program was:" >&5 | |
16256 sed 's/^/| /' conftest.$ac_ext >&5 | |
16257 | |
16258 ac_header_compiler=no | |
16259 fi | |
16260 | |
16261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
16262 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
16263 $as_echo "$ac_header_compiler" >&6; } | |
16264 | |
16265 # Is the header present? | |
16266 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 | |
16267 $as_echo_n "checking malloc/malloc.h presence... " >&6; } | |
16268 cat >conftest.$ac_ext <<_ACEOF | |
16269 /* confdefs.h. */ | |
16270 _ACEOF | |
16271 cat confdefs.h >>conftest.$ac_ext | |
16272 cat >>conftest.$ac_ext <<_ACEOF | |
16273 /* end confdefs.h. */ | |
16274 #include <malloc/malloc.h> | |
16275 _ACEOF | |
16276 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
16277 case "(($ac_try" in | |
16278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16279 *) ac_try_echo=$ac_try;; | |
16280 esac | |
16281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16282 $as_echo "$ac_try_echo") >&5 | |
16283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16284 ac_status=$? | |
16285 grep -v '^ *+' conftest.er1 >conftest.err | |
16286 rm -f conftest.er1 | |
16287 cat conftest.err >&5 | |
16288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16289 (exit $ac_status); } >/dev/null && { | |
16290 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
16291 test ! -s conftest.err | |
16292 }; then | |
16293 ac_header_preproc=yes | |
16294 else | |
16295 $as_echo "$as_me: failed program was:" >&5 | |
16296 sed 's/^/| /' conftest.$ac_ext >&5 | |
16297 | |
16298 ac_header_preproc=no | |
16299 fi | |
16300 | |
16301 rm -f conftest.err conftest.$ac_ext | |
16302 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
16303 $as_echo "$ac_header_preproc" >&6; } | |
16304 | |
16305 # So? What about this header? | |
16306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
16307 yes:no: ) | |
16308 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
16309 $as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
16310 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5 | |
16311 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;} | |
16312 ac_header_preproc=yes | |
16313 ;; | |
16314 no:yes:* ) | |
16315 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5 | |
16316 $as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;} | |
16317 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5 | |
16318 $as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;} | |
16319 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5 | |
16320 $as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;} | |
16321 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5 | |
16322 $as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
16323 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 | |
16324 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} | |
16325 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 | |
16326 $as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} | |
16327 | |
16328 ;; | |
16329 esac | |
16330 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | |
16331 $as_echo_n "checking for malloc/malloc.h... " >&6; } | |
16332 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | |
16333 $as_echo_n "(cached) " >&6 | |
16334 else | |
16335 ac_cv_header_malloc_malloc_h=$ac_header_preproc | |
16336 fi | |
16337 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | |
16338 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | |
16339 | |
16340 fi | |
16341 if test $ac_cv_header_malloc_malloc_h = yes; then | |
16342 | |
16343 cat >>confdefs.h <<\_ACEOF | |
16344 #define HAVE_MALLOC_MALLOC_H 1 | |
16345 _ACEOF | |
10439 | 16346 |
10440 fi | 16347 fi |
10441 | 16348 |
10442 | 16349 |
10443 | 16350 |
10444 C_SWITCH_X_SYSTEM= | 16351 C_SWITCH_X_SYSTEM= |
10445 ### Use NeXTstep API to implement GUI. | 16352 ### Use NeXTstep API to implement GUI. |
10446 if test "${HAVE_NS}" = "yes"; then | 16353 if test "${HAVE_NS}" = "yes"; then |
10447 | 16354 |
10448 $as_echo "#define HAVE_NS 1" >>confdefs.h | 16355 cat >>confdefs.h <<\_ACEOF |
16356 #define HAVE_NS 1 | |
16357 _ACEOF | |
10449 | 16358 |
10450 if test "${NS_IMPL_COCOA}" = "yes"; then | 16359 if test "${NS_IMPL_COCOA}" = "yes"; then |
10451 | 16360 |
10452 $as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h | 16361 cat >>confdefs.h <<\_ACEOF |
16362 #define NS_IMPL_COCOA 1 | |
16363 _ACEOF | |
10453 | 16364 |
10454 GNU_OBJC_CFLAGS= | 16365 GNU_OBJC_CFLAGS= |
10455 fi | 16366 fi |
10456 if test "${NS_IMPL_GNUSTEP}" = "yes"; then | 16367 if test "${NS_IMPL_GNUSTEP}" = "yes"; then |
10457 | 16368 |
10458 $as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h | 16369 cat >>confdefs.h <<\_ACEOF |
16370 #define NS_IMPL_GNUSTEP 1 | |
16371 _ACEOF | |
10459 | 16372 |
10460 # See also .m.o rule in Makefile.in */ | 16373 # See also .m.o rule in Makefile.in */ |
10461 # FIXME: are all these flags really needed? Document here why. */ | 16374 # FIXME: are all these flags really needed? Document here why. */ |
10462 C_SWITCH_X_SYSTEM="-D_REENTRANT -fPIC -fno-strict-aliasing" | 16375 C_SWITCH_X_SYSTEM="-D_REENTRANT -fPIC -fno-strict-aliasing" |
10463 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" | 16376 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" |
10464 fi | 16377 fi |
10465 if test "${NS_HAVE_NSINTEGER}" = "yes"; then | 16378 if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
10466 | 16379 |
10467 $as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h | 16380 cat >>confdefs.h <<\_ACEOF |
16381 #define NS_HAVE_NSINTEGER 1 | |
16382 _ACEOF | |
10468 | 16383 |
10469 fi | 16384 fi |
10470 # We also have mouse menus. | 16385 # We also have mouse menus. |
10471 HAVE_MENUS=yes | 16386 HAVE_MENUS=yes |
10472 OTHER_FILES=ns-app | 16387 OTHER_FILES=ns-app |
10475 | 16390 |
10476 ### Use session management (-lSM -lICE) if available | 16391 ### Use session management (-lSM -lICE) if available |
10477 HAVE_X_SM=no | 16392 HAVE_X_SM=no |
10478 LIBXSM= | 16393 LIBXSM= |
10479 if test "${HAVE_X11}" = "yes"; then | 16394 if test "${HAVE_X11}" = "yes"; then |
10480 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" | 16395 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
10481 if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : | 16396 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 | 16397 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } |
16398 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | |
16399 $as_echo_n "(cached) " >&6 | |
16400 fi | |
16401 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | |
16402 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | |
16403 else | |
16404 # Is the header compilable? | |
16405 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | |
16406 $as_echo_n "checking X11/SM/SMlib.h usability... " >&6; } | |
16407 cat >conftest.$ac_ext <<_ACEOF | |
16408 /* confdefs.h. */ | |
16409 _ACEOF | |
16410 cat confdefs.h >>conftest.$ac_ext | |
16411 cat >>conftest.$ac_ext <<_ACEOF | |
16412 /* end confdefs.h. */ | |
16413 $ac_includes_default | |
16414 #include <X11/SM/SMlib.h> | |
16415 _ACEOF | |
16416 rm -f conftest.$ac_objext | |
16417 if { (ac_try="$ac_compile" | |
16418 case "(($ac_try" in | |
16419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16420 *) ac_try_echo=$ac_try;; | |
16421 esac | |
16422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16423 $as_echo "$ac_try_echo") >&5 | |
16424 (eval "$ac_compile") 2>conftest.er1 | |
16425 ac_status=$? | |
16426 grep -v '^ *+' conftest.er1 >conftest.err | |
16427 rm -f conftest.er1 | |
16428 cat conftest.err >&5 | |
16429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16430 (exit $ac_status); } && { | |
16431 test -z "$ac_c_werror_flag" || | |
16432 test ! -s conftest.err | |
16433 } && test -s conftest.$ac_objext; then | |
16434 ac_header_compiler=yes | |
16435 else | |
16436 $as_echo "$as_me: failed program was:" >&5 | |
16437 sed 's/^/| /' conftest.$ac_ext >&5 | |
16438 | |
16439 ac_header_compiler=no | |
16440 fi | |
16441 | |
16442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
16443 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
16444 $as_echo "$ac_header_compiler" >&6; } | |
16445 | |
16446 # Is the header present? | |
16447 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | |
16448 $as_echo_n "checking X11/SM/SMlib.h presence... " >&6; } | |
16449 cat >conftest.$ac_ext <<_ACEOF | |
16450 /* confdefs.h. */ | |
16451 _ACEOF | |
16452 cat confdefs.h >>conftest.$ac_ext | |
16453 cat >>conftest.$ac_ext <<_ACEOF | |
16454 /* end confdefs.h. */ | |
16455 #include <X11/SM/SMlib.h> | |
16456 _ACEOF | |
16457 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
16458 case "(($ac_try" in | |
16459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16460 *) ac_try_echo=$ac_try;; | |
16461 esac | |
16462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16463 $as_echo "$ac_try_echo") >&5 | |
16464 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16465 ac_status=$? | |
16466 grep -v '^ *+' conftest.er1 >conftest.err | |
16467 rm -f conftest.er1 | |
16468 cat conftest.err >&5 | |
16469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16470 (exit $ac_status); } >/dev/null && { | |
16471 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
16472 test ! -s conftest.err | |
16473 }; then | |
16474 ac_header_preproc=yes | |
16475 else | |
16476 $as_echo "$as_me: failed program was:" >&5 | |
16477 sed 's/^/| /' conftest.$ac_ext >&5 | |
16478 | |
16479 ac_header_preproc=no | |
16480 fi | |
16481 | |
16482 rm -f conftest.err conftest.$ac_ext | |
16483 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
16484 $as_echo "$ac_header_preproc" >&6; } | |
16485 | |
16486 # So? What about this header? | |
16487 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
16488 yes:no: ) | |
16489 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
16490 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
16491 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5 | |
16492 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;} | |
16493 ac_header_preproc=yes | |
16494 ;; | |
16495 no:yes:* ) | |
16496 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 | |
16497 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} | |
16498 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 | |
16499 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} | |
16500 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5 | |
16501 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;} | |
16502 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5 | |
16503 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
16504 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | |
16505 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} | |
16506 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 | |
16507 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} | |
16508 | |
16509 ;; | |
16510 esac | |
16511 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | |
16512 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } | |
16513 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | |
16514 $as_echo_n "(cached) " >&6 | |
16515 else | |
16516 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | |
16517 fi | |
16518 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | |
16519 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | |
16520 | |
16521 fi | |
16522 if test $ac_cv_header_X11_SM_SMlib_h = yes; then | |
16523 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | |
10483 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } | 16524 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } |
10484 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : | 16525 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then |
10485 $as_echo_n "(cached) " >&6 | 16526 $as_echo_n "(cached) " >&6 |
10486 else | 16527 else |
10487 ac_check_lib_save_LIBS=$LIBS | 16528 ac_check_lib_save_LIBS=$LIBS |
10488 LIBS="-lSM -lICE $LIBS" | 16529 LIBS="-lSM -lICE $LIBS" |
10489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16530 cat >conftest.$ac_ext <<_ACEOF |
16531 /* confdefs.h. */ | |
16532 _ACEOF | |
16533 cat confdefs.h >>conftest.$ac_ext | |
16534 cat >>conftest.$ac_ext <<_ACEOF | |
10490 /* end confdefs.h. */ | 16535 /* end confdefs.h. */ |
10491 | 16536 |
10492 /* Override any GCC internal prototype to avoid an error. | 16537 /* Override any GCC internal prototype to avoid an error. |
10493 Use char because int might match the return type of a GCC | 16538 Use char because int might match the return type of a GCC |
10494 builtin and then its argument prototype would still apply. */ | 16539 builtin and then its argument prototype would still apply. */ |
10502 return SmcOpenConnection (); | 16547 return SmcOpenConnection (); |
10503 ; | 16548 ; |
10504 return 0; | 16549 return 0; |
10505 } | 16550 } |
10506 _ACEOF | 16551 _ACEOF |
10507 if ac_fn_c_try_link "$LINENO"; then : | 16552 rm -f conftest.$ac_objext conftest$ac_exeext |
16553 if { (ac_try="$ac_link" | |
16554 case "(($ac_try" in | |
16555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16556 *) ac_try_echo=$ac_try;; | |
16557 esac | |
16558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16559 $as_echo "$ac_try_echo") >&5 | |
16560 (eval "$ac_link") 2>conftest.er1 | |
16561 ac_status=$? | |
16562 grep -v '^ *+' conftest.er1 >conftest.err | |
16563 rm -f conftest.er1 | |
16564 cat conftest.err >&5 | |
16565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16566 (exit $ac_status); } && { | |
16567 test -z "$ac_c_werror_flag" || | |
16568 test ! -s conftest.err | |
16569 } && test -s conftest$ac_exeext && { | |
16570 test "$cross_compiling" = yes || | |
16571 $as_test_x conftest$ac_exeext | |
16572 }; then | |
10508 ac_cv_lib_SM_SmcOpenConnection=yes | 16573 ac_cv_lib_SM_SmcOpenConnection=yes |
10509 else | 16574 else |
10510 ac_cv_lib_SM_SmcOpenConnection=no | 16575 $as_echo "$as_me: failed program was:" >&5 |
10511 fi | 16576 sed 's/^/| /' conftest.$ac_ext >&5 |
10512 rm -f core conftest.err conftest.$ac_objext \ | 16577 |
10513 conftest$ac_exeext conftest.$ac_ext | 16578 ac_cv_lib_SM_SmcOpenConnection=no |
16579 fi | |
16580 | |
16581 rm -rf conftest.dSYM | |
16582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16583 conftest$ac_exeext conftest.$ac_ext | |
10514 LIBS=$ac_check_lib_save_LIBS | 16584 LIBS=$ac_check_lib_save_LIBS |
10515 fi | 16585 fi |
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 16586 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
10517 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } | 16587 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
10518 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : | 16588 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then |
10519 HAVE_X_SM=yes | 16589 HAVE_X_SM=yes |
10520 fi | 16590 fi |
10521 | 16591 |
10522 fi | 16592 fi |
10523 | 16593 |
10524 | 16594 |
10525 | 16595 |
10526 if test "${HAVE_X_SM}" = "yes"; then | 16596 if test "${HAVE_X_SM}" = "yes"; then |
10527 | 16597 |
10528 $as_echo "#define HAVE_X_SM 1" >>confdefs.h | 16598 cat >>confdefs.h <<\_ACEOF |
16599 #define HAVE_X_SM 1 | |
16600 _ACEOF | |
10529 | 16601 |
10530 LIBXSM="-lSM -lICE" | 16602 LIBXSM="-lSM -lICE" |
10531 case "$LIBS" in | 16603 case "$LIBS" in |
10532 *-lSM*) ;; | 16604 *-lSM*) ;; |
10533 *) LIBS="$LIBXSM $LIBS" ;; | 16605 *) LIBS="$LIBXSM $LIBS" ;; |
10535 fi | 16607 fi |
10536 fi | 16608 fi |
10537 | 16609 |
10538 | 16610 |
10539 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 16611 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 | 16612 { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 |
10541 $as_echo_n "checking whether netdb declares h_errno... " >&6; } | 16613 $as_echo_n "checking whether netdb declares h_errno... " >&6; } |
10542 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : | 16614 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
10543 $as_echo_n "(cached) " >&6 | 16615 $as_echo_n "(cached) " >&6 |
10544 else | 16616 else |
10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16617 cat >conftest.$ac_ext <<_ACEOF |
16618 /* confdefs.h. */ | |
16619 _ACEOF | |
16620 cat confdefs.h >>conftest.$ac_ext | |
16621 cat >>conftest.$ac_ext <<_ACEOF | |
10546 /* end confdefs.h. */ | 16622 /* end confdefs.h. */ |
10547 #include <netdb.h> | 16623 #include <netdb.h> |
10548 int | 16624 int |
10549 main () | 16625 main () |
10550 { | 16626 { |
10551 return h_errno; | 16627 return h_errno; |
10552 ; | 16628 ; |
10553 return 0; | 16629 return 0; |
10554 } | 16630 } |
10555 _ACEOF | 16631 _ACEOF |
10556 if ac_fn_c_try_link "$LINENO"; then : | 16632 rm -f conftest.$ac_objext conftest$ac_exeext |
16633 if { (ac_try="$ac_link" | |
16634 case "(($ac_try" in | |
16635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16636 *) ac_try_echo=$ac_try;; | |
16637 esac | |
16638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16639 $as_echo "$ac_try_echo") >&5 | |
16640 (eval "$ac_link") 2>conftest.er1 | |
16641 ac_status=$? | |
16642 grep -v '^ *+' conftest.er1 >conftest.err | |
16643 rm -f conftest.er1 | |
16644 cat conftest.err >&5 | |
16645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16646 (exit $ac_status); } && { | |
16647 test -z "$ac_c_werror_flag" || | |
16648 test ! -s conftest.err | |
16649 } && test -s conftest$ac_exeext && { | |
16650 test "$cross_compiling" = yes || | |
16651 $as_test_x conftest$ac_exeext | |
16652 }; then | |
10557 emacs_cv_netdb_declares_h_errno=yes | 16653 emacs_cv_netdb_declares_h_errno=yes |
10558 else | 16654 else |
10559 emacs_cv_netdb_declares_h_errno=no | 16655 $as_echo "$as_me: failed program was:" >&5 |
10560 fi | 16656 sed 's/^/| /' conftest.$ac_ext >&5 |
10561 rm -f core conftest.err conftest.$ac_objext \ | 16657 |
10562 conftest$ac_exeext conftest.$ac_ext | 16658 emacs_cv_netdb_declares_h_errno=no |
10563 fi | 16659 fi |
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5 | 16660 |
16661 rm -rf conftest.dSYM | |
16662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16663 conftest$ac_exeext conftest.$ac_ext | |
16664 fi | |
16665 { $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 | |
10565 $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } | 16666 $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } |
10566 if test $emacs_cv_netdb_declares_h_errno = yes; then | 16667 if test $emacs_cv_netdb_declares_h_errno = yes; then |
10567 | 16668 |
10568 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h | 16669 cat >>confdefs.h <<\_ACEOF |
16670 #define HAVE_H_ERRNO 1 | |
16671 _ACEOF | |
10569 | 16672 |
10570 fi | 16673 fi |
10571 | 16674 |
10572 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 16675 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
10573 # for constant arguments. Useless! | 16676 # for constant arguments. Useless! |
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 | 16677 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
10575 $as_echo_n "checking for working alloca.h... " >&6; } | 16678 $as_echo_n "checking for working alloca.h... " >&6; } |
10576 if test "${ac_cv_working_alloca_h+set}" = set; then : | 16679 if test "${ac_cv_working_alloca_h+set}" = set; then |
10577 $as_echo_n "(cached) " >&6 | 16680 $as_echo_n "(cached) " >&6 |
10578 else | 16681 else |
10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16682 cat >conftest.$ac_ext <<_ACEOF |
16683 /* confdefs.h. */ | |
16684 _ACEOF | |
16685 cat confdefs.h >>conftest.$ac_ext | |
16686 cat >>conftest.$ac_ext <<_ACEOF | |
10580 /* end confdefs.h. */ | 16687 /* end confdefs.h. */ |
10581 #include <alloca.h> | 16688 #include <alloca.h> |
10582 int | 16689 int |
10583 main () | 16690 main () |
10584 { | 16691 { |
10586 if (p) return 0; | 16693 if (p) return 0; |
10587 ; | 16694 ; |
10588 return 0; | 16695 return 0; |
10589 } | 16696 } |
10590 _ACEOF | 16697 _ACEOF |
10591 if ac_fn_c_try_link "$LINENO"; then : | 16698 rm -f conftest.$ac_objext conftest$ac_exeext |
16699 if { (ac_try="$ac_link" | |
16700 case "(($ac_try" in | |
16701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16702 *) ac_try_echo=$ac_try;; | |
16703 esac | |
16704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16705 $as_echo "$ac_try_echo") >&5 | |
16706 (eval "$ac_link") 2>conftest.er1 | |
16707 ac_status=$? | |
16708 grep -v '^ *+' conftest.er1 >conftest.err | |
16709 rm -f conftest.er1 | |
16710 cat conftest.err >&5 | |
16711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16712 (exit $ac_status); } && { | |
16713 test -z "$ac_c_werror_flag" || | |
16714 test ! -s conftest.err | |
16715 } && test -s conftest$ac_exeext && { | |
16716 test "$cross_compiling" = yes || | |
16717 $as_test_x conftest$ac_exeext | |
16718 }; then | |
10592 ac_cv_working_alloca_h=yes | 16719 ac_cv_working_alloca_h=yes |
10593 else | 16720 else |
10594 ac_cv_working_alloca_h=no | 16721 $as_echo "$as_me: failed program was:" >&5 |
10595 fi | 16722 sed 's/^/| /' conftest.$ac_ext >&5 |
10596 rm -f core conftest.err conftest.$ac_objext \ | 16723 |
10597 conftest$ac_exeext conftest.$ac_ext | 16724 ac_cv_working_alloca_h=no |
10598 fi | 16725 fi |
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 | 16726 |
16727 rm -rf conftest.dSYM | |
16728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16729 conftest$ac_exeext conftest.$ac_ext | |
16730 fi | |
16731 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | |
10600 $as_echo "$ac_cv_working_alloca_h" >&6; } | 16732 $as_echo "$ac_cv_working_alloca_h" >&6; } |
10601 if test $ac_cv_working_alloca_h = yes; then | 16733 if test $ac_cv_working_alloca_h = yes; then |
10602 | 16734 |
10603 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h | 16735 cat >>confdefs.h <<\_ACEOF |
10604 | 16736 #define HAVE_ALLOCA_H 1 |
10605 fi | 16737 _ACEOF |
10606 | 16738 |
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 | 16739 fi |
16740 | |
16741 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 | |
10608 $as_echo_n "checking for alloca... " >&6; } | 16742 $as_echo_n "checking for alloca... " >&6; } |
10609 if test "${ac_cv_func_alloca_works+set}" = set; then : | 16743 if test "${ac_cv_func_alloca_works+set}" = set; then |
10610 $as_echo_n "(cached) " >&6 | 16744 $as_echo_n "(cached) " >&6 |
10611 else | 16745 else |
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16746 cat >conftest.$ac_ext <<_ACEOF |
16747 /* confdefs.h. */ | |
16748 _ACEOF | |
16749 cat confdefs.h >>conftest.$ac_ext | |
16750 cat >>conftest.$ac_ext <<_ACEOF | |
10613 /* end confdefs.h. */ | 16751 /* end confdefs.h. */ |
10614 #ifdef __GNUC__ | 16752 #ifdef __GNUC__ |
10615 # define alloca __builtin_alloca | 16753 # define alloca __builtin_alloca |
10616 #else | 16754 #else |
10617 # ifdef _MSC_VER | 16755 # ifdef _MSC_VER |
10639 if (p) return 0; | 16777 if (p) return 0; |
10640 ; | 16778 ; |
10641 return 0; | 16779 return 0; |
10642 } | 16780 } |
10643 _ACEOF | 16781 _ACEOF |
10644 if ac_fn_c_try_link "$LINENO"; then : | 16782 rm -f conftest.$ac_objext conftest$ac_exeext |
16783 if { (ac_try="$ac_link" | |
16784 case "(($ac_try" in | |
16785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16786 *) ac_try_echo=$ac_try;; | |
16787 esac | |
16788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16789 $as_echo "$ac_try_echo") >&5 | |
16790 (eval "$ac_link") 2>conftest.er1 | |
16791 ac_status=$? | |
16792 grep -v '^ *+' conftest.er1 >conftest.err | |
16793 rm -f conftest.er1 | |
16794 cat conftest.err >&5 | |
16795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16796 (exit $ac_status); } && { | |
16797 test -z "$ac_c_werror_flag" || | |
16798 test ! -s conftest.err | |
16799 } && test -s conftest$ac_exeext && { | |
16800 test "$cross_compiling" = yes || | |
16801 $as_test_x conftest$ac_exeext | |
16802 }; then | |
10645 ac_cv_func_alloca_works=yes | 16803 ac_cv_func_alloca_works=yes |
10646 else | 16804 else |
10647 ac_cv_func_alloca_works=no | 16805 $as_echo "$as_me: failed program was:" >&5 |
10648 fi | 16806 sed 's/^/| /' conftest.$ac_ext >&5 |
10649 rm -f core conftest.err conftest.$ac_objext \ | 16807 |
10650 conftest$ac_exeext conftest.$ac_ext | 16808 ac_cv_func_alloca_works=no |
10651 fi | 16809 fi |
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 | 16810 |
16811 rm -rf conftest.dSYM | |
16812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16813 conftest$ac_exeext conftest.$ac_ext | |
16814 fi | |
16815 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | |
10653 $as_echo "$ac_cv_func_alloca_works" >&6; } | 16816 $as_echo "$ac_cv_func_alloca_works" >&6; } |
10654 | 16817 |
10655 if test $ac_cv_func_alloca_works = yes; then | 16818 if test $ac_cv_func_alloca_works = yes; then |
10656 | 16819 |
10657 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h | 16820 cat >>confdefs.h <<\_ACEOF |
16821 #define HAVE_ALLOCA 1 | |
16822 _ACEOF | |
10658 | 16823 |
10659 else | 16824 else |
10660 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 16825 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
10661 # that cause trouble. Some versions do not even contain alloca or | 16826 # that cause trouble. Some versions do not even contain alloca or |
10662 # contain a buggy version. If you still want to use their alloca, | 16827 # contain a buggy version. If you still want to use their alloca, |
10663 # use ar to extract alloca.o from them instead of compiling alloca.c. | 16828 # use ar to extract alloca.o from them instead of compiling alloca.c. |
10664 | 16829 |
10665 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 16830 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
10666 | 16831 |
10667 $as_echo "#define C_ALLOCA 1" >>confdefs.h | 16832 cat >>confdefs.h <<\_ACEOF |
10668 | 16833 #define C_ALLOCA 1 |
10669 | 16834 _ACEOF |
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 | 16835 |
16836 | |
16837 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | |
10671 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 16838 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
10672 if test "${ac_cv_os_cray+set}" = set; then : | 16839 if test "${ac_cv_os_cray+set}" = set; then |
10673 $as_echo_n "(cached) " >&6 | 16840 $as_echo_n "(cached) " >&6 |
10674 else | 16841 else |
10675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16842 cat >conftest.$ac_ext <<_ACEOF |
16843 /* confdefs.h. */ | |
16844 _ACEOF | |
16845 cat confdefs.h >>conftest.$ac_ext | |
16846 cat >>conftest.$ac_ext <<_ACEOF | |
10676 /* end confdefs.h. */ | 16847 /* end confdefs.h. */ |
10677 #if defined CRAY && ! defined CRAY2 | 16848 #if defined CRAY && ! defined CRAY2 |
10678 webecray | 16849 webecray |
10679 #else | 16850 #else |
10680 wenotbecray | 16851 wenotbecray |
10681 #endif | 16852 #endif |
10682 | 16853 |
10683 _ACEOF | 16854 _ACEOF |
10684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 16855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10685 $EGREP "webecray" >/dev/null 2>&1; then : | 16856 $EGREP "webecray" >/dev/null 2>&1; then |
10686 ac_cv_os_cray=yes | 16857 ac_cv_os_cray=yes |
10687 else | 16858 else |
10688 ac_cv_os_cray=no | 16859 ac_cv_os_cray=no |
10689 fi | 16860 fi |
10690 rm -f conftest* | 16861 rm -f conftest* |
10691 | 16862 |
10692 fi | 16863 fi |
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 | 16864 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
10694 $as_echo "$ac_cv_os_cray" >&6; } | 16865 $as_echo "$ac_cv_os_cray" >&6; } |
10695 if test $ac_cv_os_cray = yes; then | 16866 if test $ac_cv_os_cray = yes; then |
10696 for ac_func in _getb67 GETB67 getb67; do | 16867 for ac_func in _getb67 GETB67 getb67; do |
10697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 16869 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10699 eval as_val=\$$as_ac_var | 16870 $as_echo_n "checking for $ac_func... " >&6; } |
10700 if test "x$as_val" = x""yes; then : | 16871 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
16872 $as_echo_n "(cached) " >&6 | |
16873 else | |
16874 cat >conftest.$ac_ext <<_ACEOF | |
16875 /* confdefs.h. */ | |
16876 _ACEOF | |
16877 cat confdefs.h >>conftest.$ac_ext | |
16878 cat >>conftest.$ac_ext <<_ACEOF | |
16879 /* end confdefs.h. */ | |
16880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
16881 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
16882 #define $ac_func innocuous_$ac_func | |
16883 | |
16884 /* System header to define __stub macros and hopefully few prototypes, | |
16885 which can conflict with char $ac_func (); below. | |
16886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
16887 <limits.h> exists even on freestanding compilers. */ | |
16888 | |
16889 #ifdef __STDC__ | |
16890 # include <limits.h> | |
16891 #else | |
16892 # include <assert.h> | |
16893 #endif | |
16894 | |
16895 #undef $ac_func | |
16896 | |
16897 /* Override any GCC internal prototype to avoid an error. | |
16898 Use char because int might match the return type of a GCC | |
16899 builtin and then its argument prototype would still apply. */ | |
16900 #ifdef __cplusplus | |
16901 extern "C" | |
16902 #endif | |
16903 char $ac_func (); | |
16904 /* The GNU C library defines this for functions which it implements | |
16905 to always fail with ENOSYS. Some functions are actually named | |
16906 something starting with __ and the normal name is an alias. */ | |
16907 #if defined __stub_$ac_func || defined __stub___$ac_func | |
16908 choke me | |
16909 #endif | |
16910 | |
16911 int | |
16912 main () | |
16913 { | |
16914 return $ac_func (); | |
16915 ; | |
16916 return 0; | |
16917 } | |
16918 _ACEOF | |
16919 rm -f conftest.$ac_objext conftest$ac_exeext | |
16920 if { (ac_try="$ac_link" | |
16921 case "(($ac_try" in | |
16922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16923 *) ac_try_echo=$ac_try;; | |
16924 esac | |
16925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
16926 $as_echo "$ac_try_echo") >&5 | |
16927 (eval "$ac_link") 2>conftest.er1 | |
16928 ac_status=$? | |
16929 grep -v '^ *+' conftest.er1 >conftest.err | |
16930 rm -f conftest.er1 | |
16931 cat conftest.err >&5 | |
16932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16933 (exit $ac_status); } && { | |
16934 test -z "$ac_c_werror_flag" || | |
16935 test ! -s conftest.err | |
16936 } && test -s conftest$ac_exeext && { | |
16937 test "$cross_compiling" = yes || | |
16938 $as_test_x conftest$ac_exeext | |
16939 }; then | |
16940 eval "$as_ac_var=yes" | |
16941 else | |
16942 $as_echo "$as_me: failed program was:" >&5 | |
16943 sed 's/^/| /' conftest.$ac_ext >&5 | |
16944 | |
16945 eval "$as_ac_var=no" | |
16946 fi | |
16947 | |
16948 rm -rf conftest.dSYM | |
16949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
16950 conftest$ac_exeext conftest.$ac_ext | |
16951 fi | |
16952 ac_res=`eval 'as_val=${'$as_ac_var'} | |
16953 $as_echo "$as_val"'` | |
16954 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
16955 $as_echo "$ac_res" >&6; } | |
16956 if test `eval 'as_val=${'$as_ac_var'} | |
16957 $as_echo "$as_val"'` = yes; then | |
10701 | 16958 |
10702 cat >>confdefs.h <<_ACEOF | 16959 cat >>confdefs.h <<_ACEOF |
10703 #define CRAY_STACKSEG_END $ac_func | 16960 #define CRAY_STACKSEG_END $ac_func |
10704 _ACEOF | 16961 _ACEOF |
10705 | 16962 |
10707 fi | 16964 fi |
10708 | 16965 |
10709 done | 16966 done |
10710 fi | 16967 fi |
10711 | 16968 |
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 | 16969 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
10713 $as_echo_n "checking stack direction for C alloca... " >&6; } | 16970 $as_echo_n "checking stack direction for C alloca... " >&6; } |
10714 if test "${ac_cv_c_stack_direction+set}" = set; then : | 16971 if test "${ac_cv_c_stack_direction+set}" = set; then |
10715 $as_echo_n "(cached) " >&6 | 16972 $as_echo_n "(cached) " >&6 |
10716 else | 16973 else |
10717 if test "$cross_compiling" = yes; then : | 16974 if test "$cross_compiling" = yes; then |
10718 ac_cv_c_stack_direction=0 | 16975 ac_cv_c_stack_direction=0 |
10719 else | 16976 else |
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16977 cat >conftest.$ac_ext <<_ACEOF |
16978 /* confdefs.h. */ | |
16979 _ACEOF | |
16980 cat confdefs.h >>conftest.$ac_ext | |
16981 cat >>conftest.$ac_ext <<_ACEOF | |
10721 /* end confdefs.h. */ | 16982 /* end confdefs.h. */ |
10722 $ac_includes_default | 16983 $ac_includes_default |
10723 int | 16984 int |
10724 find_stack_direction () | 16985 find_stack_direction () |
10725 { | 16986 { |
10738 main () | 16999 main () |
10739 { | 17000 { |
10740 return find_stack_direction () < 0; | 17001 return find_stack_direction () < 0; |
10741 } | 17002 } |
10742 _ACEOF | 17003 _ACEOF |
10743 if ac_fn_c_try_run "$LINENO"; then : | 17004 rm -f conftest$ac_exeext |
17005 if { (ac_try="$ac_link" | |
17006 case "(($ac_try" in | |
17007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17008 *) ac_try_echo=$ac_try;; | |
17009 esac | |
17010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17011 $as_echo "$ac_try_echo") >&5 | |
17012 (eval "$ac_link") 2>&5 | |
17013 ac_status=$? | |
17014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
17016 { (case "(($ac_try" in | |
17017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17018 *) ac_try_echo=$ac_try;; | |
17019 esac | |
17020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17021 $as_echo "$ac_try_echo") >&5 | |
17022 (eval "$ac_try") 2>&5 | |
17023 ac_status=$? | |
17024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17025 (exit $ac_status); }; }; then | |
10744 ac_cv_c_stack_direction=1 | 17026 ac_cv_c_stack_direction=1 |
10745 else | 17027 else |
10746 ac_cv_c_stack_direction=-1 | 17028 $as_echo "$as_me: program exited with status $ac_status" >&5 |
10747 fi | 17029 $as_echo "$as_me: failed program was:" >&5 |
10748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 17030 sed 's/^/| /' conftest.$ac_ext >&5 |
10749 conftest.$ac_objext conftest.beam conftest.$ac_ext | 17031 |
10750 fi | 17032 ( exit $ac_status ) |
10751 | 17033 ac_cv_c_stack_direction=-1 |
10752 fi | 17034 fi |
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 | 17035 rm -rf conftest.dSYM |
17036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
17037 fi | |
17038 | |
17039 | |
17040 fi | |
17041 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | |
10754 $as_echo "$ac_cv_c_stack_direction" >&6; } | 17042 $as_echo "$ac_cv_c_stack_direction" >&6; } |
17043 | |
10755 cat >>confdefs.h <<_ACEOF | 17044 cat >>confdefs.h <<_ACEOF |
10756 #define STACK_DIRECTION $ac_cv_c_stack_direction | 17045 #define STACK_DIRECTION $ac_cv_c_stack_direction |
10757 _ACEOF | 17046 _ACEOF |
10758 | 17047 |
10759 | 17048 |
10760 fi | 17049 fi |
10761 | 17050 |
10762 | 17051 |
10763 if test x"$ac_cv_func_alloca_works" != xyes; then | 17052 if test x"$ac_cv_func_alloca_works" != xyes; then |
10764 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 | 17053 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 |
17054 $as_echo "$as_me: error: a system implementation of alloca is required " >&2;} | |
17055 { (exit 1); exit 1; }; } | |
10765 fi | 17056 fi |
10766 | 17057 |
10767 # fmod, logb, and frexp are found in -lm on most systems. | 17058 # fmod, logb, and frexp are found in -lm on most systems. |
10768 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 17059 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 17060 |
17061 { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | |
10770 $as_echo_n "checking for sqrt in -lm... " >&6; } | 17062 $as_echo_n "checking for sqrt in -lm... " >&6; } |
10771 if test "${ac_cv_lib_m_sqrt+set}" = set; then : | 17063 if test "${ac_cv_lib_m_sqrt+set}" = set; then |
10772 $as_echo_n "(cached) " >&6 | 17064 $as_echo_n "(cached) " >&6 |
10773 else | 17065 else |
10774 ac_check_lib_save_LIBS=$LIBS | 17066 ac_check_lib_save_LIBS=$LIBS |
10775 LIBS="-lm $LIBS" | 17067 LIBS="-lm $LIBS" |
10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17068 cat >conftest.$ac_ext <<_ACEOF |
17069 /* confdefs.h. */ | |
17070 _ACEOF | |
17071 cat confdefs.h >>conftest.$ac_ext | |
17072 cat >>conftest.$ac_ext <<_ACEOF | |
10777 /* end confdefs.h. */ | 17073 /* end confdefs.h. */ |
10778 | 17074 |
10779 /* Override any GCC internal prototype to avoid an error. | 17075 /* Override any GCC internal prototype to avoid an error. |
10780 Use char because int might match the return type of a GCC | 17076 Use char because int might match the return type of a GCC |
10781 builtin and then its argument prototype would still apply. */ | 17077 builtin and then its argument prototype would still apply. */ |
10789 return sqrt (); | 17085 return sqrt (); |
10790 ; | 17086 ; |
10791 return 0; | 17087 return 0; |
10792 } | 17088 } |
10793 _ACEOF | 17089 _ACEOF |
10794 if ac_fn_c_try_link "$LINENO"; then : | 17090 rm -f conftest.$ac_objext conftest$ac_exeext |
17091 if { (ac_try="$ac_link" | |
17092 case "(($ac_try" in | |
17093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17094 *) ac_try_echo=$ac_try;; | |
17095 esac | |
17096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17097 $as_echo "$ac_try_echo") >&5 | |
17098 (eval "$ac_link") 2>conftest.er1 | |
17099 ac_status=$? | |
17100 grep -v '^ *+' conftest.er1 >conftest.err | |
17101 rm -f conftest.er1 | |
17102 cat conftest.err >&5 | |
17103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17104 (exit $ac_status); } && { | |
17105 test -z "$ac_c_werror_flag" || | |
17106 test ! -s conftest.err | |
17107 } && test -s conftest$ac_exeext && { | |
17108 test "$cross_compiling" = yes || | |
17109 $as_test_x conftest$ac_exeext | |
17110 }; then | |
10795 ac_cv_lib_m_sqrt=yes | 17111 ac_cv_lib_m_sqrt=yes |
10796 else | 17112 else |
10797 ac_cv_lib_m_sqrt=no | 17113 $as_echo "$as_me: failed program was:" >&5 |
10798 fi | 17114 sed 's/^/| /' conftest.$ac_ext >&5 |
10799 rm -f core conftest.err conftest.$ac_objext \ | 17115 |
10800 conftest$ac_exeext conftest.$ac_ext | 17116 ac_cv_lib_m_sqrt=no |
17117 fi | |
17118 | |
17119 rm -rf conftest.dSYM | |
17120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
17121 conftest$ac_exeext conftest.$ac_ext | |
10801 LIBS=$ac_check_lib_save_LIBS | 17122 LIBS=$ac_check_lib_save_LIBS |
10802 fi | 17123 fi |
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 | 17124 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 |
10804 $as_echo "$ac_cv_lib_m_sqrt" >&6; } | 17125 $as_echo "$ac_cv_lib_m_sqrt" >&6; } |
10805 if test "x$ac_cv_lib_m_sqrt" = x""yes; then : | 17126 if test $ac_cv_lib_m_sqrt = yes; then |
10806 cat >>confdefs.h <<_ACEOF | 17127 cat >>confdefs.h <<_ACEOF |
10807 #define HAVE_LIBM 1 | 17128 #define HAVE_LIBM 1 |
10808 _ACEOF | 17129 _ACEOF |
10809 | 17130 |
10810 LIBS="-lm $LIBS" | 17131 LIBS="-lm $LIBS" |
10812 fi | 17133 fi |
10813 | 17134 |
10814 | 17135 |
10815 # Check for mail-locking functions in a "mail" library. Probably this should | 17136 # Check for mail-locking functions in a "mail" library. Probably this should |
10816 # have the same check as for liblockfile below. | 17137 # have the same check as for liblockfile below. |
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 | 17138 { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 |
10818 $as_echo_n "checking for maillock in -lmail... " >&6; } | 17139 $as_echo_n "checking for maillock in -lmail... " >&6; } |
10819 if test "${ac_cv_lib_mail_maillock+set}" = set; then : | 17140 if test "${ac_cv_lib_mail_maillock+set}" = set; then |
10820 $as_echo_n "(cached) " >&6 | 17141 $as_echo_n "(cached) " >&6 |
10821 else | 17142 else |
10822 ac_check_lib_save_LIBS=$LIBS | 17143 ac_check_lib_save_LIBS=$LIBS |
10823 LIBS="-lmail $LIBS" | 17144 LIBS="-lmail $LIBS" |
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17145 cat >conftest.$ac_ext <<_ACEOF |
17146 /* confdefs.h. */ | |
17147 _ACEOF | |
17148 cat confdefs.h >>conftest.$ac_ext | |
17149 cat >>conftest.$ac_ext <<_ACEOF | |
10825 /* end confdefs.h. */ | 17150 /* end confdefs.h. */ |
10826 | 17151 |
10827 /* Override any GCC internal prototype to avoid an error. | 17152 /* Override any GCC internal prototype to avoid an error. |
10828 Use char because int might match the return type of a GCC | 17153 Use char because int might match the return type of a GCC |
10829 builtin and then its argument prototype would still apply. */ | 17154 builtin and then its argument prototype would still apply. */ |
10837 return maillock (); | 17162 return maillock (); |
10838 ; | 17163 ; |
10839 return 0; | 17164 return 0; |
10840 } | 17165 } |
10841 _ACEOF | 17166 _ACEOF |
10842 if ac_fn_c_try_link "$LINENO"; then : | 17167 rm -f conftest.$ac_objext conftest$ac_exeext |
17168 if { (ac_try="$ac_link" | |
17169 case "(($ac_try" in | |
17170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17171 *) ac_try_echo=$ac_try;; | |
17172 esac | |
17173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17174 $as_echo "$ac_try_echo") >&5 | |
17175 (eval "$ac_link") 2>conftest.er1 | |
17176 ac_status=$? | |
17177 grep -v '^ *+' conftest.er1 >conftest.err | |
17178 rm -f conftest.er1 | |
17179 cat conftest.err >&5 | |
17180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17181 (exit $ac_status); } && { | |
17182 test -z "$ac_c_werror_flag" || | |
17183 test ! -s conftest.err | |
17184 } && test -s conftest$ac_exeext && { | |
17185 test "$cross_compiling" = yes || | |
17186 $as_test_x conftest$ac_exeext | |
17187 }; then | |
10843 ac_cv_lib_mail_maillock=yes | 17188 ac_cv_lib_mail_maillock=yes |
10844 else | 17189 else |
10845 ac_cv_lib_mail_maillock=no | 17190 $as_echo "$as_me: failed program was:" >&5 |
10846 fi | 17191 sed 's/^/| /' conftest.$ac_ext >&5 |
10847 rm -f core conftest.err conftest.$ac_objext \ | 17192 |
10848 conftest$ac_exeext conftest.$ac_ext | 17193 ac_cv_lib_mail_maillock=no |
17194 fi | |
17195 | |
17196 rm -rf conftest.dSYM | |
17197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
17198 conftest$ac_exeext conftest.$ac_ext | |
10849 LIBS=$ac_check_lib_save_LIBS | 17199 LIBS=$ac_check_lib_save_LIBS |
10850 fi | 17200 fi |
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 | 17201 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 |
10852 $as_echo "$ac_cv_lib_mail_maillock" >&6; } | 17202 $as_echo "$ac_cv_lib_mail_maillock" >&6; } |
10853 if test "x$ac_cv_lib_mail_maillock" = x""yes; then : | 17203 if test $ac_cv_lib_mail_maillock = yes; then |
10854 have_mail=yes | 17204 have_mail=yes |
10855 else | 17205 else |
10856 have_mail=no | 17206 have_mail=no |
10857 fi | 17207 fi |
10858 | 17208 |
10859 if test $have_mail = yes; then | 17209 if test $have_mail = yes; then |
10860 LIBS_MAIL=-lmail | 17210 LIBS_MAIL=-lmail |
10861 LIBS="$LIBS_MAIL $LIBS" | 17211 LIBS="$LIBS_MAIL $LIBS" |
10862 | 17212 |
10863 $as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h | 17213 cat >>confdefs.h <<\_ACEOF |
17214 #define HAVE_LIBMAIL 1 | |
17215 _ACEOF | |
10864 | 17216 |
10865 else | 17217 else |
10866 LIBS_MAIL= | 17218 LIBS_MAIL= |
10867 fi | 17219 fi |
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 | 17220 { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 |
10869 $as_echo_n "checking for maillock in -llockfile... " >&6; } | 17221 $as_echo_n "checking for maillock in -llockfile... " >&6; } |
10870 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : | 17222 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
10871 $as_echo_n "(cached) " >&6 | 17223 $as_echo_n "(cached) " >&6 |
10872 else | 17224 else |
10873 ac_check_lib_save_LIBS=$LIBS | 17225 ac_check_lib_save_LIBS=$LIBS |
10874 LIBS="-llockfile $LIBS" | 17226 LIBS="-llockfile $LIBS" |
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17227 cat >conftest.$ac_ext <<_ACEOF |
17228 /* confdefs.h. */ | |
17229 _ACEOF | |
17230 cat confdefs.h >>conftest.$ac_ext | |
17231 cat >>conftest.$ac_ext <<_ACEOF | |
10876 /* end confdefs.h. */ | 17232 /* end confdefs.h. */ |
10877 | 17233 |
10878 /* Override any GCC internal prototype to avoid an error. | 17234 /* Override any GCC internal prototype to avoid an error. |
10879 Use char because int might match the return type of a GCC | 17235 Use char because int might match the return type of a GCC |
10880 builtin and then its argument prototype would still apply. */ | 17236 builtin and then its argument prototype would still apply. */ |
10888 return maillock (); | 17244 return maillock (); |
10889 ; | 17245 ; |
10890 return 0; | 17246 return 0; |
10891 } | 17247 } |
10892 _ACEOF | 17248 _ACEOF |
10893 if ac_fn_c_try_link "$LINENO"; then : | 17249 rm -f conftest.$ac_objext conftest$ac_exeext |
17250 if { (ac_try="$ac_link" | |
17251 case "(($ac_try" in | |
17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17253 *) ac_try_echo=$ac_try;; | |
17254 esac | |
17255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17256 $as_echo "$ac_try_echo") >&5 | |
17257 (eval "$ac_link") 2>conftest.er1 | |
17258 ac_status=$? | |
17259 grep -v '^ *+' conftest.er1 >conftest.err | |
17260 rm -f conftest.er1 | |
17261 cat conftest.err >&5 | |
17262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17263 (exit $ac_status); } && { | |
17264 test -z "$ac_c_werror_flag" || | |
17265 test ! -s conftest.err | |
17266 } && test -s conftest$ac_exeext && { | |
17267 test "$cross_compiling" = yes || | |
17268 $as_test_x conftest$ac_exeext | |
17269 }; then | |
10894 ac_cv_lib_lockfile_maillock=yes | 17270 ac_cv_lib_lockfile_maillock=yes |
10895 else | 17271 else |
10896 ac_cv_lib_lockfile_maillock=no | 17272 $as_echo "$as_me: failed program was:" >&5 |
10897 fi | 17273 sed 's/^/| /' conftest.$ac_ext >&5 |
10898 rm -f core conftest.err conftest.$ac_objext \ | 17274 |
10899 conftest$ac_exeext conftest.$ac_ext | 17275 ac_cv_lib_lockfile_maillock=no |
17276 fi | |
17277 | |
17278 rm -rf conftest.dSYM | |
17279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
17280 conftest$ac_exeext conftest.$ac_ext | |
10900 LIBS=$ac_check_lib_save_LIBS | 17281 LIBS=$ac_check_lib_save_LIBS |
10901 fi | 17282 fi |
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 | 17283 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 |
10903 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } | 17284 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } |
10904 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : | 17285 if test $ac_cv_lib_lockfile_maillock = yes; then |
10905 have_lockfile=yes | 17286 have_lockfile=yes |
10906 else | 17287 else |
10907 have_lockfile=no | 17288 have_lockfile=no |
10908 fi | 17289 fi |
10909 | 17290 |
10910 if test $have_lockfile = yes; then | 17291 if test $have_lockfile = yes; then |
10911 LIBS_MAIL=-llockfile | 17292 LIBS_MAIL=-llockfile |
10912 LIBS="$LIBS_MAIL $LIBS" | 17293 LIBS="$LIBS_MAIL $LIBS" |
10913 | 17294 |
10914 $as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h | 17295 cat >>confdefs.h <<\_ACEOF |
17296 #define HAVE_LIBLOCKFILE 1 | |
17297 _ACEOF | |
10915 | 17298 |
10916 else | 17299 else |
10917 # If we have the shared liblockfile, assume we must use it for mail | 17300 # If we have the shared liblockfile, assume we must use it for mail |
10918 # locking (e.g. Debian). If we couldn't link against liblockfile | 17301 # locking (e.g. Debian). If we couldn't link against liblockfile |
10919 # (no liblockfile.a installed), ensure that we don't need to. | 17302 # (no liblockfile.a installed), ensure that we don't need to. |
10920 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 17303 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
10921 set dummy liblockfile.so; ac_word=$2 | 17304 set dummy liblockfile.so; ac_word=$2 |
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 17305 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
10923 $as_echo_n "checking for $ac_word... " >&6; } | 17306 $as_echo_n "checking for $ac_word... " >&6; } |
10924 if test "${ac_cv_prog_liblockfile+set}" = set; then : | 17307 if test "${ac_cv_prog_liblockfile+set}" = set; then |
10925 $as_echo_n "(cached) " >&6 | 17308 $as_echo_n "(cached) " >&6 |
10926 else | 17309 else |
10927 if test -n "$liblockfile"; then | 17310 if test -n "$liblockfile"; then |
10928 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 17311 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
10929 else | 17312 else |
10931 as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" | 17314 as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" |
10932 for as_dir in $as_dummy | 17315 for as_dir in $as_dummy |
10933 do | 17316 do |
10934 IFS=$as_save_IFS | 17317 IFS=$as_save_IFS |
10935 test -z "$as_dir" && as_dir=. | 17318 test -z "$as_dir" && as_dir=. |
10936 for ac_exec_ext in '' $ac_executable_extensions; do | 17319 for ac_exec_ext in '' $ac_executable_extensions; do |
10937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 17320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
10938 ac_cv_prog_liblockfile="yes" | 17321 ac_cv_prog_liblockfile="yes" |
10939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17322 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
10940 break 2 | 17323 break 2 |
10941 fi | 17324 fi |
10942 done | 17325 done |
10943 done | 17326 done |
10944 IFS=$as_save_IFS | 17327 IFS=$as_save_IFS |
10945 | 17328 |
10946 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 17329 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
10947 fi | 17330 fi |
10948 fi | 17331 fi |
10949 liblockfile=$ac_cv_prog_liblockfile | 17332 liblockfile=$ac_cv_prog_liblockfile |
10950 if test -n "$liblockfile"; then | 17333 if test -n "$liblockfile"; then |
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5 | 17334 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 |
10952 $as_echo "$liblockfile" >&6; } | 17335 $as_echo "$liblockfile" >&6; } |
10953 else | 17336 else |
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 17337 { $as_echo "$as_me:$LINENO: result: no" >&5 |
10955 $as_echo "no" >&6; } | 17338 $as_echo "no" >&6; } |
10956 fi | 17339 fi |
10957 | 17340 |
10958 | 17341 |
10959 if test $ac_cv_prog_liblockfile = yes; then | 17342 if test $ac_cv_prog_liblockfile = yes; then |
10960 as_fn_error "Shared liblockfile found but can't link against it. | 17343 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. |
10961 This probably means that movemail could lose mail. | 17344 This probably means that movemail could lose mail. |
10962 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 17345 There may be a \`development' package to install containing liblockfile." >&5 |
17346 $as_echo "$as_me: error: Shared liblockfile found but can't link against it. | |
17347 This probably means that movemail could lose mail. | |
17348 There may be a \`development' package to install containing liblockfile." >&2;} | |
17349 { (exit 1); exit 1; }; } | |
10963 fi | 17350 fi |
10964 fi | 17351 fi |
17352 | |
10965 for ac_func in touchlock | 17353 for ac_func in touchlock |
10966 do : | 17354 do |
10967 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" | 17355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10968 if test "x$ac_cv_func_touchlock" = x""yes; then : | 17356 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
17357 $as_echo_n "checking for $ac_func... " >&6; } | |
17358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
17359 $as_echo_n "(cached) " >&6 | |
17360 else | |
17361 cat >conftest.$ac_ext <<_ACEOF | |
17362 /* confdefs.h. */ | |
17363 _ACEOF | |
17364 cat confdefs.h >>conftest.$ac_ext | |
17365 cat >>conftest.$ac_ext <<_ACEOF | |
17366 /* end confdefs.h. */ | |
17367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
17368 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
17369 #define $ac_func innocuous_$ac_func | |
17370 | |
17371 /* System header to define __stub macros and hopefully few prototypes, | |
17372 which can conflict with char $ac_func (); below. | |
17373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
17374 <limits.h> exists even on freestanding compilers. */ | |
17375 | |
17376 #ifdef __STDC__ | |
17377 # include <limits.h> | |
17378 #else | |
17379 # include <assert.h> | |
17380 #endif | |
17381 | |
17382 #undef $ac_func | |
17383 | |
17384 /* Override any GCC internal prototype to avoid an error. | |
17385 Use char because int might match the return type of a GCC | |
17386 builtin and then its argument prototype would still apply. */ | |
17387 #ifdef __cplusplus | |
17388 extern "C" | |
17389 #endif | |
17390 char $ac_func (); | |
17391 /* The GNU C library defines this for functions which it implements | |
17392 to always fail with ENOSYS. Some functions are actually named | |
17393 something starting with __ and the normal name is an alias. */ | |
17394 #if defined __stub_$ac_func || defined __stub___$ac_func | |
17395 choke me | |
17396 #endif | |
17397 | |
17398 int | |
17399 main () | |
17400 { | |
17401 return $ac_func (); | |
17402 ; | |
17403 return 0; | |
17404 } | |
17405 _ACEOF | |
17406 rm -f conftest.$ac_objext conftest$ac_exeext | |
17407 if { (ac_try="$ac_link" | |
17408 case "(($ac_try" in | |
17409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17410 *) ac_try_echo=$ac_try;; | |
17411 esac | |
17412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17413 $as_echo "$ac_try_echo") >&5 | |
17414 (eval "$ac_link") 2>conftest.er1 | |
17415 ac_status=$? | |
17416 grep -v '^ *+' conftest.er1 >conftest.err | |
17417 rm -f conftest.er1 | |
17418 cat conftest.err >&5 | |
17419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17420 (exit $ac_status); } && { | |
17421 test -z "$ac_c_werror_flag" || | |
17422 test ! -s conftest.err | |
17423 } && test -s conftest$ac_exeext && { | |
17424 test "$cross_compiling" = yes || | |
17425 $as_test_x conftest$ac_exeext | |
17426 }; then | |
17427 eval "$as_ac_var=yes" | |
17428 else | |
17429 $as_echo "$as_me: failed program was:" >&5 | |
17430 sed 's/^/| /' conftest.$ac_ext >&5 | |
17431 | |
17432 eval "$as_ac_var=no" | |
17433 fi | |
17434 | |
17435 rm -rf conftest.dSYM | |
17436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
17437 conftest$ac_exeext conftest.$ac_ext | |
17438 fi | |
17439 ac_res=`eval 'as_val=${'$as_ac_var'} | |
17440 $as_echo "$as_val"'` | |
17441 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17442 $as_echo "$ac_res" >&6; } | |
17443 if test `eval 'as_val=${'$as_ac_var'} | |
17444 $as_echo "$as_val"'` = yes; then | |
10969 cat >>confdefs.h <<_ACEOF | 17445 cat >>confdefs.h <<_ACEOF |
10970 #define HAVE_TOUCHLOCK 1 | 17446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10971 _ACEOF | 17447 _ACEOF |
10972 | 17448 |
10973 fi | 17449 fi |
10974 done | 17450 done |
10975 | 17451 |
17452 | |
10976 for ac_header in maillock.h | 17453 for ac_header in maillock.h |
10977 do : | 17454 do |
10978 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" | 17455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10979 if test "x$ac_cv_header_maillock_h" = x""yes; then : | 17456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17457 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17458 $as_echo_n "checking for $ac_header... " >&6; } | |
17459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
17460 $as_echo_n "(cached) " >&6 | |
17461 fi | |
17462 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17463 $as_echo "$as_val"'` | |
17464 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17465 $as_echo "$ac_res" >&6; } | |
17466 else | |
17467 # Is the header compilable? | |
17468 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
17469 $as_echo_n "checking $ac_header usability... " >&6; } | |
17470 cat >conftest.$ac_ext <<_ACEOF | |
17471 /* confdefs.h. */ | |
17472 _ACEOF | |
17473 cat confdefs.h >>conftest.$ac_ext | |
17474 cat >>conftest.$ac_ext <<_ACEOF | |
17475 /* end confdefs.h. */ | |
17476 $ac_includes_default | |
17477 #include <$ac_header> | |
17478 _ACEOF | |
17479 rm -f conftest.$ac_objext | |
17480 if { (ac_try="$ac_compile" | |
17481 case "(($ac_try" in | |
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17483 *) ac_try_echo=$ac_try;; | |
17484 esac | |
17485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17486 $as_echo "$ac_try_echo") >&5 | |
17487 (eval "$ac_compile") 2>conftest.er1 | |
17488 ac_status=$? | |
17489 grep -v '^ *+' conftest.er1 >conftest.err | |
17490 rm -f conftest.er1 | |
17491 cat conftest.err >&5 | |
17492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17493 (exit $ac_status); } && { | |
17494 test -z "$ac_c_werror_flag" || | |
17495 test ! -s conftest.err | |
17496 } && test -s conftest.$ac_objext; then | |
17497 ac_header_compiler=yes | |
17498 else | |
17499 $as_echo "$as_me: failed program was:" >&5 | |
17500 sed 's/^/| /' conftest.$ac_ext >&5 | |
17501 | |
17502 ac_header_compiler=no | |
17503 fi | |
17504 | |
17505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
17506 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
17507 $as_echo "$ac_header_compiler" >&6; } | |
17508 | |
17509 # Is the header present? | |
17510 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
17511 $as_echo_n "checking $ac_header presence... " >&6; } | |
17512 cat >conftest.$ac_ext <<_ACEOF | |
17513 /* confdefs.h. */ | |
17514 _ACEOF | |
17515 cat confdefs.h >>conftest.$ac_ext | |
17516 cat >>conftest.$ac_ext <<_ACEOF | |
17517 /* end confdefs.h. */ | |
17518 #include <$ac_header> | |
17519 _ACEOF | |
17520 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
17521 case "(($ac_try" in | |
17522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17523 *) ac_try_echo=$ac_try;; | |
17524 esac | |
17525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17526 $as_echo "$ac_try_echo") >&5 | |
17527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
17528 ac_status=$? | |
17529 grep -v '^ *+' conftest.er1 >conftest.err | |
17530 rm -f conftest.er1 | |
17531 cat conftest.err >&5 | |
17532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17533 (exit $ac_status); } >/dev/null && { | |
17534 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
17535 test ! -s conftest.err | |
17536 }; then | |
17537 ac_header_preproc=yes | |
17538 else | |
17539 $as_echo "$as_me: failed program was:" >&5 | |
17540 sed 's/^/| /' conftest.$ac_ext >&5 | |
17541 | |
17542 ac_header_preproc=no | |
17543 fi | |
17544 | |
17545 rm -f conftest.err conftest.$ac_ext | |
17546 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
17547 $as_echo "$ac_header_preproc" >&6; } | |
17548 | |
17549 # So? What about this header? | |
17550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
17551 yes:no: ) | |
17552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
17553 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
17554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
17555 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
17556 ac_header_preproc=yes | |
17557 ;; | |
17558 no:yes:* ) | |
17559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
17560 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
17561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
17562 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
17563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
17564 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
17565 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
17566 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
17567 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
17568 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
17569 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
17570 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
17571 | |
17572 ;; | |
17573 esac | |
17574 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17575 $as_echo_n "checking for $ac_header... " >&6; } | |
17576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
17577 $as_echo_n "(cached) " >&6 | |
17578 else | |
17579 eval "$as_ac_Header=\$ac_header_preproc" | |
17580 fi | |
17581 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17582 $as_echo "$as_val"'` | |
17583 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17584 $as_echo "$ac_res" >&6; } | |
17585 | |
17586 fi | |
17587 if test `eval 'as_val=${'$as_ac_Header'} | |
17588 $as_echo "$as_val"'` = yes; then | |
10980 cat >>confdefs.h <<_ACEOF | 17589 cat >>confdefs.h <<_ACEOF |
10981 #define HAVE_MAILLOCK_H 1 | 17590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10982 _ACEOF | 17591 _ACEOF |
10983 | 17592 |
10984 fi | 17593 fi |
10985 | 17594 |
10986 done | 17595 done |
11019 esac | 17628 esac |
11020 | 17629 |
11021 BLESSMAIL_TARGET= | 17630 BLESSMAIL_TARGET= |
11022 case "$mail_lock" in | 17631 case "$mail_lock" in |
11023 flock) | 17632 flock) |
11024 $as_echo "#define MAIL_USE_FLOCK 1" >>confdefs.h | 17633 cat >>confdefs.h <<\_ACEOF |
17634 #define MAIL_USE_FLOCK 1 | |
17635 _ACEOF | |
11025 ;; | 17636 ;; |
11026 | 17637 |
11027 lockf) | 17638 lockf) |
11028 $as_echo "#define MAIL_USE_LOCKF 1" >>confdefs.h | 17639 cat >>confdefs.h <<\_ACEOF |
17640 #define MAIL_USE_LOCKF 1 | |
17641 _ACEOF | |
11029 ;; | 17642 ;; |
11030 | 17643 |
11031 *) BLESSMAIL_TARGET="need-blessmail" ;; | 17644 *) BLESSMAIL_TARGET="need-blessmail" ;; |
11032 esac | 17645 esac |
17646 | |
17647 | |
17648 | |
17649 | |
17650 | |
17651 | |
17652 | |
17653 | |
17654 | |
17655 | |
17656 | |
17657 | |
17658 | |
17659 | |
17660 | |
17661 | |
17662 | |
17663 | |
17664 | |
17665 | |
17666 | |
17667 | |
17668 | |
17669 | |
17670 | |
17671 | |
17672 | |
17673 | |
17674 | |
17675 | |
17676 | |
17677 | |
17678 | |
17679 | |
17680 | |
17681 | |
17682 | |
17683 | |
17684 | |
17685 | |
17686 | |
17687 | |
17688 | |
17689 | |
17690 | |
17691 | |
17692 | |
17693 | |
17694 | |
17695 | |
17696 | |
17697 | |
17698 | |
17699 | |
17700 | |
17701 | |
17702 | |
17703 | |
17704 | |
17705 | |
17706 | |
17707 | |
17708 | |
17709 | |
17710 | |
17711 | |
17712 | |
17713 | |
17714 | |
17715 | |
17716 | |
17717 | |
17718 | |
11033 | 17719 |
11034 | 17720 |
11035 | 17721 |
11036 for ac_func in gethostname getdomainname dup2 \ | 17722 for ac_func in gethostname getdomainname dup2 \ |
11037 rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ | 17723 rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ |
11041 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ | 17727 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ |
11042 sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 17728 sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
11043 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ | 17729 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ |
11044 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 17730 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
11045 cfmakeraw cfsetspeed isnan copysign | 17731 cfmakeraw cfsetspeed isnan copysign |
11046 do : | 17732 do |
11047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11048 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17734 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11049 eval as_val=\$$as_ac_var | 17735 $as_echo_n "checking for $ac_func... " >&6; } |
11050 if test "x$as_val" = x""yes; then : | 17736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
17737 $as_echo_n "(cached) " >&6 | |
17738 else | |
17739 cat >conftest.$ac_ext <<_ACEOF | |
17740 /* confdefs.h. */ | |
17741 _ACEOF | |
17742 cat confdefs.h >>conftest.$ac_ext | |
17743 cat >>conftest.$ac_ext <<_ACEOF | |
17744 /* end confdefs.h. */ | |
17745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
17746 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
17747 #define $ac_func innocuous_$ac_func | |
17748 | |
17749 /* System header to define __stub macros and hopefully few prototypes, | |
17750 which can conflict with char $ac_func (); below. | |
17751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
17752 <limits.h> exists even on freestanding compilers. */ | |
17753 | |
17754 #ifdef __STDC__ | |
17755 # include <limits.h> | |
17756 #else | |
17757 # include <assert.h> | |
17758 #endif | |
17759 | |
17760 #undef $ac_func | |
17761 | |
17762 /* Override any GCC internal prototype to avoid an error. | |
17763 Use char because int might match the return type of a GCC | |
17764 builtin and then its argument prototype would still apply. */ | |
17765 #ifdef __cplusplus | |
17766 extern "C" | |
17767 #endif | |
17768 char $ac_func (); | |
17769 /* The GNU C library defines this for functions which it implements | |
17770 to always fail with ENOSYS. Some functions are actually named | |
17771 something starting with __ and the normal name is an alias. */ | |
17772 #if defined __stub_$ac_func || defined __stub___$ac_func | |
17773 choke me | |
17774 #endif | |
17775 | |
17776 int | |
17777 main () | |
17778 { | |
17779 return $ac_func (); | |
17780 ; | |
17781 return 0; | |
17782 } | |
17783 _ACEOF | |
17784 rm -f conftest.$ac_objext conftest$ac_exeext | |
17785 if { (ac_try="$ac_link" | |
17786 case "(($ac_try" in | |
17787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17788 *) ac_try_echo=$ac_try;; | |
17789 esac | |
17790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17791 $as_echo "$ac_try_echo") >&5 | |
17792 (eval "$ac_link") 2>conftest.er1 | |
17793 ac_status=$? | |
17794 grep -v '^ *+' conftest.er1 >conftest.err | |
17795 rm -f conftest.er1 | |
17796 cat conftest.err >&5 | |
17797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17798 (exit $ac_status); } && { | |
17799 test -z "$ac_c_werror_flag" || | |
17800 test ! -s conftest.err | |
17801 } && test -s conftest$ac_exeext && { | |
17802 test "$cross_compiling" = yes || | |
17803 $as_test_x conftest$ac_exeext | |
17804 }; then | |
17805 eval "$as_ac_var=yes" | |
17806 else | |
17807 $as_echo "$as_me: failed program was:" >&5 | |
17808 sed 's/^/| /' conftest.$ac_ext >&5 | |
17809 | |
17810 eval "$as_ac_var=no" | |
17811 fi | |
17812 | |
17813 rm -rf conftest.dSYM | |
17814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
17815 conftest$ac_exeext conftest.$ac_ext | |
17816 fi | |
17817 ac_res=`eval 'as_val=${'$as_ac_var'} | |
17818 $as_echo "$as_val"'` | |
17819 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17820 $as_echo "$ac_res" >&6; } | |
17821 if test `eval 'as_val=${'$as_ac_var'} | |
17822 $as_echo "$as_val"'` = yes; then | |
11051 cat >>confdefs.h <<_ACEOF | 17823 cat >>confdefs.h <<_ACEOF |
11052 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11053 _ACEOF | 17825 _ACEOF |
11054 | 17826 |
11055 fi | 17827 fi |
11056 done | 17828 done |
11057 | 17829 |
11058 | 17830 |
17831 | |
11059 for ac_header in sys/un.h | 17832 for ac_header in sys/un.h |
11060 do : | 17833 do |
11061 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" | 17834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11062 if test "x$ac_cv_header_sys_un_h" = x""yes; then : | 17835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17836 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17837 $as_echo_n "checking for $ac_header... " >&6; } | |
17838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
17839 $as_echo_n "(cached) " >&6 | |
17840 fi | |
17841 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17842 $as_echo "$as_val"'` | |
17843 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17844 $as_echo "$ac_res" >&6; } | |
17845 else | |
17846 # Is the header compilable? | |
17847 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
17848 $as_echo_n "checking $ac_header usability... " >&6; } | |
17849 cat >conftest.$ac_ext <<_ACEOF | |
17850 /* confdefs.h. */ | |
17851 _ACEOF | |
17852 cat confdefs.h >>conftest.$ac_ext | |
17853 cat >>conftest.$ac_ext <<_ACEOF | |
17854 /* end confdefs.h. */ | |
17855 $ac_includes_default | |
17856 #include <$ac_header> | |
17857 _ACEOF | |
17858 rm -f conftest.$ac_objext | |
17859 if { (ac_try="$ac_compile" | |
17860 case "(($ac_try" in | |
17861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17862 *) ac_try_echo=$ac_try;; | |
17863 esac | |
17864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17865 $as_echo "$ac_try_echo") >&5 | |
17866 (eval "$ac_compile") 2>conftest.er1 | |
17867 ac_status=$? | |
17868 grep -v '^ *+' conftest.er1 >conftest.err | |
17869 rm -f conftest.er1 | |
17870 cat conftest.err >&5 | |
17871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17872 (exit $ac_status); } && { | |
17873 test -z "$ac_c_werror_flag" || | |
17874 test ! -s conftest.err | |
17875 } && test -s conftest.$ac_objext; then | |
17876 ac_header_compiler=yes | |
17877 else | |
17878 $as_echo "$as_me: failed program was:" >&5 | |
17879 sed 's/^/| /' conftest.$ac_ext >&5 | |
17880 | |
17881 ac_header_compiler=no | |
17882 fi | |
17883 | |
17884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
17885 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
17886 $as_echo "$ac_header_compiler" >&6; } | |
17887 | |
17888 # Is the header present? | |
17889 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
17890 $as_echo_n "checking $ac_header presence... " >&6; } | |
17891 cat >conftest.$ac_ext <<_ACEOF | |
17892 /* confdefs.h. */ | |
17893 _ACEOF | |
17894 cat confdefs.h >>conftest.$ac_ext | |
17895 cat >>conftest.$ac_ext <<_ACEOF | |
17896 /* end confdefs.h. */ | |
17897 #include <$ac_header> | |
17898 _ACEOF | |
17899 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
17900 case "(($ac_try" in | |
17901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17902 *) ac_try_echo=$ac_try;; | |
17903 esac | |
17904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
17905 $as_echo "$ac_try_echo") >&5 | |
17906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
17907 ac_status=$? | |
17908 grep -v '^ *+' conftest.er1 >conftest.err | |
17909 rm -f conftest.er1 | |
17910 cat conftest.err >&5 | |
17911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17912 (exit $ac_status); } >/dev/null && { | |
17913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
17914 test ! -s conftest.err | |
17915 }; then | |
17916 ac_header_preproc=yes | |
17917 else | |
17918 $as_echo "$as_me: failed program was:" >&5 | |
17919 sed 's/^/| /' conftest.$ac_ext >&5 | |
17920 | |
17921 ac_header_preproc=no | |
17922 fi | |
17923 | |
17924 rm -f conftest.err conftest.$ac_ext | |
17925 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
17926 $as_echo "$ac_header_preproc" >&6; } | |
17927 | |
17928 # So? What about this header? | |
17929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
17930 yes:no: ) | |
17931 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
17932 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
17933 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
17934 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
17935 ac_header_preproc=yes | |
17936 ;; | |
17937 no:yes:* ) | |
17938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
17939 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
17940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
17941 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
17942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
17943 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
17944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
17945 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
17946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
17947 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
17948 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
17949 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
17950 | |
17951 ;; | |
17952 esac | |
17953 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
17954 $as_echo_n "checking for $ac_header... " >&6; } | |
17955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
17956 $as_echo_n "(cached) " >&6 | |
17957 else | |
17958 eval "$as_ac_Header=\$ac_header_preproc" | |
17959 fi | |
17960 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17961 $as_echo "$as_val"'` | |
17962 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17963 $as_echo "$ac_res" >&6; } | |
17964 | |
17965 fi | |
17966 if test `eval 'as_val=${'$as_ac_Header'} | |
17967 $as_echo "$as_val"'` = yes; then | |
11063 cat >>confdefs.h <<_ACEOF | 17968 cat >>confdefs.h <<_ACEOF |
11064 #define HAVE_SYS_UN_H 1 | 17969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11065 _ACEOF | 17970 _ACEOF |
11066 | 17971 |
11067 fi | 17972 fi |
11068 | 17973 |
11069 done | 17974 done |
11071 | 17976 |
11072 | 17977 |
11073 | 17978 |
11074 | 17979 |
11075 | 17980 |
11076 | 17981 for ac_header in $ac_header_list |
11077 for ac_func in $ac_func_list | 17982 do |
11078 do : | 17983 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17984 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17985 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11081 eval as_val=\$$as_ac_var | 17986 $as_echo_n "checking for $ac_header... " >&6; } |
11082 if test "x$as_val" = x""yes; then : | 17987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17988 $as_echo_n "(cached) " >&6 | |
17989 fi | |
17990 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
17991 $as_echo "$as_val"'` | |
17992 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
17993 $as_echo "$ac_res" >&6; } | |
17994 else | |
17995 # Is the header compilable? | |
17996 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
17997 $as_echo_n "checking $ac_header usability... " >&6; } | |
17998 cat >conftest.$ac_ext <<_ACEOF | |
17999 /* confdefs.h. */ | |
18000 _ACEOF | |
18001 cat confdefs.h >>conftest.$ac_ext | |
18002 cat >>conftest.$ac_ext <<_ACEOF | |
18003 /* end confdefs.h. */ | |
18004 $ac_includes_default | |
18005 #include <$ac_header> | |
18006 _ACEOF | |
18007 rm -f conftest.$ac_objext | |
18008 if { (ac_try="$ac_compile" | |
18009 case "(($ac_try" in | |
18010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18011 *) ac_try_echo=$ac_try;; | |
18012 esac | |
18013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18014 $as_echo "$ac_try_echo") >&5 | |
18015 (eval "$ac_compile") 2>conftest.er1 | |
18016 ac_status=$? | |
18017 grep -v '^ *+' conftest.er1 >conftest.err | |
18018 rm -f conftest.er1 | |
18019 cat conftest.err >&5 | |
18020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18021 (exit $ac_status); } && { | |
18022 test -z "$ac_c_werror_flag" || | |
18023 test ! -s conftest.err | |
18024 } && test -s conftest.$ac_objext; then | |
18025 ac_header_compiler=yes | |
18026 else | |
18027 $as_echo "$as_me: failed program was:" >&5 | |
18028 sed 's/^/| /' conftest.$ac_ext >&5 | |
18029 | |
18030 ac_header_compiler=no | |
18031 fi | |
18032 | |
18033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
18034 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
18035 $as_echo "$ac_header_compiler" >&6; } | |
18036 | |
18037 # Is the header present? | |
18038 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
18039 $as_echo_n "checking $ac_header presence... " >&6; } | |
18040 cat >conftest.$ac_ext <<_ACEOF | |
18041 /* confdefs.h. */ | |
18042 _ACEOF | |
18043 cat confdefs.h >>conftest.$ac_ext | |
18044 cat >>conftest.$ac_ext <<_ACEOF | |
18045 /* end confdefs.h. */ | |
18046 #include <$ac_header> | |
18047 _ACEOF | |
18048 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
18049 case "(($ac_try" in | |
18050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18051 *) ac_try_echo=$ac_try;; | |
18052 esac | |
18053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18054 $as_echo "$ac_try_echo") >&5 | |
18055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
18056 ac_status=$? | |
18057 grep -v '^ *+' conftest.er1 >conftest.err | |
18058 rm -f conftest.er1 | |
18059 cat conftest.err >&5 | |
18060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18061 (exit $ac_status); } >/dev/null && { | |
18062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
18063 test ! -s conftest.err | |
18064 }; then | |
18065 ac_header_preproc=yes | |
18066 else | |
18067 $as_echo "$as_me: failed program was:" >&5 | |
18068 sed 's/^/| /' conftest.$ac_ext >&5 | |
18069 | |
18070 ac_header_preproc=no | |
18071 fi | |
18072 | |
18073 rm -f conftest.err conftest.$ac_ext | |
18074 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
18075 $as_echo "$ac_header_preproc" >&6; } | |
18076 | |
18077 # So? What about this header? | |
18078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
18079 yes:no: ) | |
18080 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
18081 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
18082 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
18083 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
18084 ac_header_preproc=yes | |
18085 ;; | |
18086 no:yes:* ) | |
18087 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
18088 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
18089 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
18090 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
18091 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
18092 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
18093 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
18094 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
18095 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
18096 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
18097 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
18098 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
18099 | |
18100 ;; | |
18101 esac | |
18102 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
18103 $as_echo_n "checking for $ac_header... " >&6; } | |
18104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
18105 $as_echo_n "(cached) " >&6 | |
18106 else | |
18107 eval "$as_ac_Header=\$ac_header_preproc" | |
18108 fi | |
18109 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
18110 $as_echo "$as_val"'` | |
18111 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
18112 $as_echo "$ac_res" >&6; } | |
18113 | |
18114 fi | |
18115 if test `eval 'as_val=${'$as_ac_Header'} | |
18116 $as_echo "$as_val"'` = yes; then | |
18117 cat >>confdefs.h <<_ACEOF | |
18118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
18119 _ACEOF | |
18120 | |
18121 fi | |
18122 | |
18123 done | |
18124 | |
18125 | |
18126 | |
18127 | |
18128 | |
18129 | |
18130 | |
18131 | |
18132 | |
18133 for ac_func in $ac_func_list | |
18134 do | |
18135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
18136 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
18137 $as_echo_n "checking for $ac_func... " >&6; } | |
18138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
18139 $as_echo_n "(cached) " >&6 | |
18140 else | |
18141 cat >conftest.$ac_ext <<_ACEOF | |
18142 /* confdefs.h. */ | |
18143 _ACEOF | |
18144 cat confdefs.h >>conftest.$ac_ext | |
18145 cat >>conftest.$ac_ext <<_ACEOF | |
18146 /* end confdefs.h. */ | |
18147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
18148 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
18149 #define $ac_func innocuous_$ac_func | |
18150 | |
18151 /* System header to define __stub macros and hopefully few prototypes, | |
18152 which can conflict with char $ac_func (); below. | |
18153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18154 <limits.h> exists even on freestanding compilers. */ | |
18155 | |
18156 #ifdef __STDC__ | |
18157 # include <limits.h> | |
18158 #else | |
18159 # include <assert.h> | |
18160 #endif | |
18161 | |
18162 #undef $ac_func | |
18163 | |
18164 /* Override any GCC internal prototype to avoid an error. | |
18165 Use char because int might match the return type of a GCC | |
18166 builtin and then its argument prototype would still apply. */ | |
18167 #ifdef __cplusplus | |
18168 extern "C" | |
18169 #endif | |
18170 char $ac_func (); | |
18171 /* The GNU C library defines this for functions which it implements | |
18172 to always fail with ENOSYS. Some functions are actually named | |
18173 something starting with __ and the normal name is an alias. */ | |
18174 #if defined __stub_$ac_func || defined __stub___$ac_func | |
18175 choke me | |
18176 #endif | |
18177 | |
18178 int | |
18179 main () | |
18180 { | |
18181 return $ac_func (); | |
18182 ; | |
18183 return 0; | |
18184 } | |
18185 _ACEOF | |
18186 rm -f conftest.$ac_objext conftest$ac_exeext | |
18187 if { (ac_try="$ac_link" | |
18188 case "(($ac_try" in | |
18189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18190 *) ac_try_echo=$ac_try;; | |
18191 esac | |
18192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18193 $as_echo "$ac_try_echo") >&5 | |
18194 (eval "$ac_link") 2>conftest.er1 | |
18195 ac_status=$? | |
18196 grep -v '^ *+' conftest.er1 >conftest.err | |
18197 rm -f conftest.er1 | |
18198 cat conftest.err >&5 | |
18199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18200 (exit $ac_status); } && { | |
18201 test -z "$ac_c_werror_flag" || | |
18202 test ! -s conftest.err | |
18203 } && test -s conftest$ac_exeext && { | |
18204 test "$cross_compiling" = yes || | |
18205 $as_test_x conftest$ac_exeext | |
18206 }; then | |
18207 eval "$as_ac_var=yes" | |
18208 else | |
18209 $as_echo "$as_me: failed program was:" >&5 | |
18210 sed 's/^/| /' conftest.$ac_ext >&5 | |
18211 | |
18212 eval "$as_ac_var=no" | |
18213 fi | |
18214 | |
18215 rm -rf conftest.dSYM | |
18216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18217 conftest$ac_exeext conftest.$ac_ext | |
18218 fi | |
18219 ac_res=`eval 'as_val=${'$as_ac_var'} | |
18220 $as_echo "$as_val"'` | |
18221 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
18222 $as_echo "$ac_res" >&6; } | |
18223 if test `eval 'as_val=${'$as_ac_var'} | |
18224 $as_echo "$as_val"'` = yes; then | |
11083 cat >>confdefs.h <<_ACEOF | 18225 cat >>confdefs.h <<_ACEOF |
11084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11085 _ACEOF | 18227 _ACEOF |
11086 | 18228 |
11087 fi | 18229 fi |
11089 | 18231 |
11090 | 18232 |
11091 | 18233 |
11092 | 18234 |
11093 | 18235 |
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 | 18236 |
18237 | |
18238 | |
18239 | |
18240 | |
18241 | |
18242 | |
18243 | |
18244 | |
18245 | |
18246 | |
18247 | |
18248 { $as_echo "$as_me:$LINENO: checking for working mktime" >&5 | |
11095 $as_echo_n "checking for working mktime... " >&6; } | 18249 $as_echo_n "checking for working mktime... " >&6; } |
11096 if test "${ac_cv_func_working_mktime+set}" = set; then : | 18250 if test "${ac_cv_func_working_mktime+set}" = set; then |
11097 $as_echo_n "(cached) " >&6 | 18251 $as_echo_n "(cached) " >&6 |
11098 else | 18252 else |
11099 if test "$cross_compiling" = yes; then : | 18253 if test "$cross_compiling" = yes; then |
11100 ac_cv_func_working_mktime=no | 18254 ac_cv_func_working_mktime=no |
11101 else | 18255 else |
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18256 cat >conftest.$ac_ext <<_ACEOF |
18257 /* confdefs.h. */ | |
18258 _ACEOF | |
18259 cat confdefs.h >>conftest.$ac_ext | |
18260 cat >>conftest.$ac_ext <<_ACEOF | |
11103 /* end confdefs.h. */ | 18261 /* end confdefs.h. */ |
11104 /* Test program from Paul Eggert and Tony Leneis. */ | 18262 /* Test program from Paul Eggert and Tony Leneis. */ |
11105 #ifdef TIME_WITH_SYS_TIME | 18263 #ifdef TIME_WITH_SYS_TIME |
11106 # include <sys/time.h> | 18264 # include <sys/time.h> |
11107 # include <time.h> | 18265 # include <time.h> |
11294 return 1; | 18452 return 1; |
11295 } | 18453 } |
11296 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 18454 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |
11297 } | 18455 } |
11298 _ACEOF | 18456 _ACEOF |
11299 if ac_fn_c_try_run "$LINENO"; then : | 18457 rm -f conftest$ac_exeext |
18458 if { (ac_try="$ac_link" | |
18459 case "(($ac_try" in | |
18460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18461 *) ac_try_echo=$ac_try;; | |
18462 esac | |
18463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18464 $as_echo "$ac_try_echo") >&5 | |
18465 (eval "$ac_link") 2>&5 | |
18466 ac_status=$? | |
18467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
18469 { (case "(($ac_try" in | |
18470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18471 *) ac_try_echo=$ac_try;; | |
18472 esac | |
18473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18474 $as_echo "$ac_try_echo") >&5 | |
18475 (eval "$ac_try") 2>&5 | |
18476 ac_status=$? | |
18477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18478 (exit $ac_status); }; }; then | |
11300 ac_cv_func_working_mktime=yes | 18479 ac_cv_func_working_mktime=yes |
11301 else | 18480 else |
11302 ac_cv_func_working_mktime=no | 18481 $as_echo "$as_me: program exited with status $ac_status" >&5 |
11303 fi | 18482 $as_echo "$as_me: failed program was:" >&5 |
11304 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 18483 sed 's/^/| /' conftest.$ac_ext >&5 |
11305 conftest.$ac_objext conftest.beam conftest.$ac_ext | 18484 |
11306 fi | 18485 ( exit $ac_status ) |
11307 | 18486 ac_cv_func_working_mktime=no |
11308 fi | 18487 fi |
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 | 18488 rm -rf conftest.dSYM |
18489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
18490 fi | |
18491 | |
18492 | |
18493 fi | |
18494 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 | |
11310 $as_echo "$ac_cv_func_working_mktime" >&6; } | 18495 $as_echo "$ac_cv_func_working_mktime" >&6; } |
11311 if test $ac_cv_func_working_mktime = no; then | 18496 if test $ac_cv_func_working_mktime = no; then |
11312 case " $LIBOBJS " in | 18497 case " $LIBOBJS " in |
11313 *" mktime.$ac_objext "* ) ;; | 18498 *" mktime.$ac_objext "* ) ;; |
11314 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" | 18499 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" |
11317 | 18502 |
11318 fi | 18503 fi |
11319 | 18504 |
11320 if test "$ac_cv_func_working_mktime" = no; then | 18505 if test "$ac_cv_func_working_mktime" = no; then |
11321 | 18506 |
11322 $as_echo "#define BROKEN_MKTIME 1" >>confdefs.h | 18507 cat >>confdefs.h <<\_ACEOF |
18508 #define BROKEN_MKTIME 1 | |
18509 _ACEOF | |
11323 | 18510 |
11324 fi | 18511 fi |
11325 | 18512 |
11326 ac_have_func=no # yes means we've found a way to get the load average. | 18513 ac_have_func=no # yes means we've found a way to get the load average. |
11327 | 18514 |
11328 # Make sure getloadavg.c is where it belongs, at configure-time. | 18515 # Make sure getloadavg.c is where it belongs, at configure-time. |
11329 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 18516 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
11330 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 18517 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 |
18518 $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} | |
18519 { (exit 1); exit 1; }; } | |
11331 | 18520 |
11332 ac_save_LIBS=$LIBS | 18521 ac_save_LIBS=$LIBS |
11333 | 18522 |
11334 # Check for getloadavg, but be sure not to touch the cache variable. | 18523 # Check for getloadavg, but be sure not to touch the cache variable. |
11335 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 18524 ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 |
11336 if test "x$ac_cv_func_getloadavg" = x""yes; then : | 18525 $as_echo_n "checking for getloadavg... " >&6; } |
18526 if test "${ac_cv_func_getloadavg+set}" = set; then | |
18527 $as_echo_n "(cached) " >&6 | |
18528 else | |
18529 cat >conftest.$ac_ext <<_ACEOF | |
18530 /* confdefs.h. */ | |
18531 _ACEOF | |
18532 cat confdefs.h >>conftest.$ac_ext | |
18533 cat >>conftest.$ac_ext <<_ACEOF | |
18534 /* end confdefs.h. */ | |
18535 /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg. | |
18536 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
18537 #define getloadavg innocuous_getloadavg | |
18538 | |
18539 /* System header to define __stub macros and hopefully few prototypes, | |
18540 which can conflict with char getloadavg (); below. | |
18541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18542 <limits.h> exists even on freestanding compilers. */ | |
18543 | |
18544 #ifdef __STDC__ | |
18545 # include <limits.h> | |
18546 #else | |
18547 # include <assert.h> | |
18548 #endif | |
18549 | |
18550 #undef getloadavg | |
18551 | |
18552 /* Override any GCC internal prototype to avoid an error. | |
18553 Use char because int might match the return type of a GCC | |
18554 builtin and then its argument prototype would still apply. */ | |
18555 #ifdef __cplusplus | |
18556 extern "C" | |
18557 #endif | |
18558 char getloadavg (); | |
18559 /* The GNU C library defines this for functions which it implements | |
18560 to always fail with ENOSYS. Some functions are actually named | |
18561 something starting with __ and the normal name is an alias. */ | |
18562 #if defined __stub_getloadavg || defined __stub___getloadavg | |
18563 choke me | |
18564 #endif | |
18565 | |
18566 int | |
18567 main () | |
18568 { | |
18569 return getloadavg (); | |
18570 ; | |
18571 return 0; | |
18572 } | |
18573 _ACEOF | |
18574 rm -f conftest.$ac_objext conftest$ac_exeext | |
18575 if { (ac_try="$ac_link" | |
18576 case "(($ac_try" in | |
18577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18578 *) ac_try_echo=$ac_try;; | |
18579 esac | |
18580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18581 $as_echo "$ac_try_echo") >&5 | |
18582 (eval "$ac_link") 2>conftest.er1 | |
18583 ac_status=$? | |
18584 grep -v '^ *+' conftest.er1 >conftest.err | |
18585 rm -f conftest.er1 | |
18586 cat conftest.err >&5 | |
18587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18588 (exit $ac_status); } && { | |
18589 test -z "$ac_c_werror_flag" || | |
18590 test ! -s conftest.err | |
18591 } && test -s conftest$ac_exeext && { | |
18592 test "$cross_compiling" = yes || | |
18593 $as_test_x conftest$ac_exeext | |
18594 }; then | |
18595 ac_cv_func_getloadavg=yes | |
18596 else | |
18597 $as_echo "$as_me: failed program was:" >&5 | |
18598 sed 's/^/| /' conftest.$ac_ext >&5 | |
18599 | |
18600 ac_cv_func_getloadavg=no | |
18601 fi | |
18602 | |
18603 rm -rf conftest.dSYM | |
18604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18605 conftest$ac_exeext conftest.$ac_ext | |
18606 fi | |
18607 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | |
18608 $as_echo "$ac_cv_func_getloadavg" >&6; } | |
18609 if test $ac_cv_func_getloadavg = yes; then | |
11337 exit 0 | 18610 exit 0 |
11338 else | 18611 else |
11339 exit 1 | 18612 exit 1 |
11340 fi | 18613 fi |
11341 ) && ac_have_func=yes | 18614 ) && ac_have_func=yes |
11342 | 18615 |
11343 # On HPUX9, an unprivileged user can get load averages through this function. | 18616 # On HPUX9, an unprivileged user can get load averages through this function. |
18617 | |
11344 for ac_func in pstat_getdynamic | 18618 for ac_func in pstat_getdynamic |
11345 do : | 18619 do |
11346 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" | 18620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11347 if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : | 18621 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18622 $as_echo_n "checking for $ac_func... " >&6; } | |
18623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
18624 $as_echo_n "(cached) " >&6 | |
18625 else | |
18626 cat >conftest.$ac_ext <<_ACEOF | |
18627 /* confdefs.h. */ | |
18628 _ACEOF | |
18629 cat confdefs.h >>conftest.$ac_ext | |
18630 cat >>conftest.$ac_ext <<_ACEOF | |
18631 /* end confdefs.h. */ | |
18632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
18633 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
18634 #define $ac_func innocuous_$ac_func | |
18635 | |
18636 /* System header to define __stub macros and hopefully few prototypes, | |
18637 which can conflict with char $ac_func (); below. | |
18638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18639 <limits.h> exists even on freestanding compilers. */ | |
18640 | |
18641 #ifdef __STDC__ | |
18642 # include <limits.h> | |
18643 #else | |
18644 # include <assert.h> | |
18645 #endif | |
18646 | |
18647 #undef $ac_func | |
18648 | |
18649 /* Override any GCC internal prototype to avoid an error. | |
18650 Use char because int might match the return type of a GCC | |
18651 builtin and then its argument prototype would still apply. */ | |
18652 #ifdef __cplusplus | |
18653 extern "C" | |
18654 #endif | |
18655 char $ac_func (); | |
18656 /* The GNU C library defines this for functions which it implements | |
18657 to always fail with ENOSYS. Some functions are actually named | |
18658 something starting with __ and the normal name is an alias. */ | |
18659 #if defined __stub_$ac_func || defined __stub___$ac_func | |
18660 choke me | |
18661 #endif | |
18662 | |
18663 int | |
18664 main () | |
18665 { | |
18666 return $ac_func (); | |
18667 ; | |
18668 return 0; | |
18669 } | |
18670 _ACEOF | |
18671 rm -f conftest.$ac_objext conftest$ac_exeext | |
18672 if { (ac_try="$ac_link" | |
18673 case "(($ac_try" in | |
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18675 *) ac_try_echo=$ac_try;; | |
18676 esac | |
18677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18678 $as_echo "$ac_try_echo") >&5 | |
18679 (eval "$ac_link") 2>conftest.er1 | |
18680 ac_status=$? | |
18681 grep -v '^ *+' conftest.er1 >conftest.err | |
18682 rm -f conftest.er1 | |
18683 cat conftest.err >&5 | |
18684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18685 (exit $ac_status); } && { | |
18686 test -z "$ac_c_werror_flag" || | |
18687 test ! -s conftest.err | |
18688 } && test -s conftest$ac_exeext && { | |
18689 test "$cross_compiling" = yes || | |
18690 $as_test_x conftest$ac_exeext | |
18691 }; then | |
18692 eval "$as_ac_var=yes" | |
18693 else | |
18694 $as_echo "$as_me: failed program was:" >&5 | |
18695 sed 's/^/| /' conftest.$ac_ext >&5 | |
18696 | |
18697 eval "$as_ac_var=no" | |
18698 fi | |
18699 | |
18700 rm -rf conftest.dSYM | |
18701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18702 conftest$ac_exeext conftest.$ac_ext | |
18703 fi | |
18704 ac_res=`eval 'as_val=${'$as_ac_var'} | |
18705 $as_echo "$as_val"'` | |
18706 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
18707 $as_echo "$ac_res" >&6; } | |
18708 if test `eval 'as_val=${'$as_ac_var'} | |
18709 $as_echo "$as_val"'` = yes; then | |
11348 cat >>confdefs.h <<_ACEOF | 18710 cat >>confdefs.h <<_ACEOF |
11349 #define HAVE_PSTAT_GETDYNAMIC 1 | 18711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11350 _ACEOF | 18712 _ACEOF |
11351 | 18713 |
11352 fi | 18714 fi |
11353 done | 18715 done |
11354 | 18716 |
11355 | 18717 |
11356 # Solaris has libkstat which does not require root. | 18718 # Solaris has libkstat which does not require root. |
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 | 18719 |
18720 { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | |
11358 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } | 18721 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } |
11359 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : | 18722 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
11360 $as_echo_n "(cached) " >&6 | 18723 $as_echo_n "(cached) " >&6 |
11361 else | 18724 else |
11362 ac_check_lib_save_LIBS=$LIBS | 18725 ac_check_lib_save_LIBS=$LIBS |
11363 LIBS="-lkstat $LIBS" | 18726 LIBS="-lkstat $LIBS" |
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18727 cat >conftest.$ac_ext <<_ACEOF |
18728 /* confdefs.h. */ | |
18729 _ACEOF | |
18730 cat confdefs.h >>conftest.$ac_ext | |
18731 cat >>conftest.$ac_ext <<_ACEOF | |
11365 /* end confdefs.h. */ | 18732 /* end confdefs.h. */ |
11366 | 18733 |
11367 /* Override any GCC internal prototype to avoid an error. | 18734 /* Override any GCC internal prototype to avoid an error. |
11368 Use char because int might match the return type of a GCC | 18735 Use char because int might match the return type of a GCC |
11369 builtin and then its argument prototype would still apply. */ | 18736 builtin and then its argument prototype would still apply. */ |
11377 return kstat_open (); | 18744 return kstat_open (); |
11378 ; | 18745 ; |
11379 return 0; | 18746 return 0; |
11380 } | 18747 } |
11381 _ACEOF | 18748 _ACEOF |
11382 if ac_fn_c_try_link "$LINENO"; then : | 18749 rm -f conftest.$ac_objext conftest$ac_exeext |
18750 if { (ac_try="$ac_link" | |
18751 case "(($ac_try" in | |
18752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18753 *) ac_try_echo=$ac_try;; | |
18754 esac | |
18755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18756 $as_echo "$ac_try_echo") >&5 | |
18757 (eval "$ac_link") 2>conftest.er1 | |
18758 ac_status=$? | |
18759 grep -v '^ *+' conftest.er1 >conftest.err | |
18760 rm -f conftest.er1 | |
18761 cat conftest.err >&5 | |
18762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18763 (exit $ac_status); } && { | |
18764 test -z "$ac_c_werror_flag" || | |
18765 test ! -s conftest.err | |
18766 } && test -s conftest$ac_exeext && { | |
18767 test "$cross_compiling" = yes || | |
18768 $as_test_x conftest$ac_exeext | |
18769 }; then | |
11383 ac_cv_lib_kstat_kstat_open=yes | 18770 ac_cv_lib_kstat_kstat_open=yes |
11384 else | 18771 else |
11385 ac_cv_lib_kstat_kstat_open=no | 18772 $as_echo "$as_me: failed program was:" >&5 |
11386 fi | 18773 sed 's/^/| /' conftest.$ac_ext >&5 |
11387 rm -f core conftest.err conftest.$ac_objext \ | 18774 |
11388 conftest$ac_exeext conftest.$ac_ext | 18775 ac_cv_lib_kstat_kstat_open=no |
18776 fi | |
18777 | |
18778 rm -rf conftest.dSYM | |
18779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18780 conftest$ac_exeext conftest.$ac_ext | |
11389 LIBS=$ac_check_lib_save_LIBS | 18781 LIBS=$ac_check_lib_save_LIBS |
11390 fi | 18782 fi |
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 | 18783 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 |
11392 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } | 18784 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } |
11393 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : | 18785 if test $ac_cv_lib_kstat_kstat_open = yes; then |
11394 cat >>confdefs.h <<_ACEOF | 18786 cat >>confdefs.h <<_ACEOF |
11395 #define HAVE_LIBKSTAT 1 | 18787 #define HAVE_LIBKSTAT 1 |
11396 _ACEOF | 18788 _ACEOF |
11397 | 18789 |
11398 LIBS="-lkstat $LIBS" | 18790 LIBS="-lkstat $LIBS" |
11404 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 18796 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
11405 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 18797 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
11406 # to get the right answer into the cache. | 18798 # to get the right answer into the cache. |
11407 # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 18799 # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
11408 if test $ac_have_func = no; then | 18800 if test $ac_have_func = no; then |
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 | 18801 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 |
11410 $as_echo_n "checking for elf_begin in -lelf... " >&6; } | 18802 $as_echo_n "checking for elf_begin in -lelf... " >&6; } |
11411 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : | 18803 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
11412 $as_echo_n "(cached) " >&6 | 18804 $as_echo_n "(cached) " >&6 |
11413 else | 18805 else |
11414 ac_check_lib_save_LIBS=$LIBS | 18806 ac_check_lib_save_LIBS=$LIBS |
11415 LIBS="-lelf $LIBS" | 18807 LIBS="-lelf $LIBS" |
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18808 cat >conftest.$ac_ext <<_ACEOF |
18809 /* confdefs.h. */ | |
18810 _ACEOF | |
18811 cat confdefs.h >>conftest.$ac_ext | |
18812 cat >>conftest.$ac_ext <<_ACEOF | |
11417 /* end confdefs.h. */ | 18813 /* end confdefs.h. */ |
11418 | 18814 |
11419 /* Override any GCC internal prototype to avoid an error. | 18815 /* Override any GCC internal prototype to avoid an error. |
11420 Use char because int might match the return type of a GCC | 18816 Use char because int might match the return type of a GCC |
11421 builtin and then its argument prototype would still apply. */ | 18817 builtin and then its argument prototype would still apply. */ |
11429 return elf_begin (); | 18825 return elf_begin (); |
11430 ; | 18826 ; |
11431 return 0; | 18827 return 0; |
11432 } | 18828 } |
11433 _ACEOF | 18829 _ACEOF |
11434 if ac_fn_c_try_link "$LINENO"; then : | 18830 rm -f conftest.$ac_objext conftest$ac_exeext |
18831 if { (ac_try="$ac_link" | |
18832 case "(($ac_try" in | |
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18834 *) ac_try_echo=$ac_try;; | |
18835 esac | |
18836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18837 $as_echo "$ac_try_echo") >&5 | |
18838 (eval "$ac_link") 2>conftest.er1 | |
18839 ac_status=$? | |
18840 grep -v '^ *+' conftest.er1 >conftest.err | |
18841 rm -f conftest.er1 | |
18842 cat conftest.err >&5 | |
18843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18844 (exit $ac_status); } && { | |
18845 test -z "$ac_c_werror_flag" || | |
18846 test ! -s conftest.err | |
18847 } && test -s conftest$ac_exeext && { | |
18848 test "$cross_compiling" = yes || | |
18849 $as_test_x conftest$ac_exeext | |
18850 }; then | |
11435 ac_cv_lib_elf_elf_begin=yes | 18851 ac_cv_lib_elf_elf_begin=yes |
11436 else | 18852 else |
11437 ac_cv_lib_elf_elf_begin=no | 18853 $as_echo "$as_me: failed program was:" >&5 |
11438 fi | 18854 sed 's/^/| /' conftest.$ac_ext >&5 |
11439 rm -f core conftest.err conftest.$ac_objext \ | 18855 |
11440 conftest$ac_exeext conftest.$ac_ext | 18856 ac_cv_lib_elf_elf_begin=no |
18857 fi | |
18858 | |
18859 rm -rf conftest.dSYM | |
18860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18861 conftest$ac_exeext conftest.$ac_ext | |
11441 LIBS=$ac_check_lib_save_LIBS | 18862 LIBS=$ac_check_lib_save_LIBS |
11442 fi | 18863 fi |
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 | 18864 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 |
11444 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } | 18865 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
11445 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : | 18866 if test $ac_cv_lib_elf_elf_begin = yes; then |
11446 LIBS="-lelf $LIBS" | 18867 LIBS="-lelf $LIBS" |
11447 fi | 18868 fi |
11448 | 18869 |
11449 fi | 18870 fi |
11450 if test $ac_have_func = no; then | 18871 if test $ac_have_func = no; then |
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 | 18872 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 |
11452 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } | 18873 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } |
11453 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : | 18874 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
11454 $as_echo_n "(cached) " >&6 | 18875 $as_echo_n "(cached) " >&6 |
11455 else | 18876 else |
11456 ac_check_lib_save_LIBS=$LIBS | 18877 ac_check_lib_save_LIBS=$LIBS |
11457 LIBS="-lkvm $LIBS" | 18878 LIBS="-lkvm $LIBS" |
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18879 cat >conftest.$ac_ext <<_ACEOF |
18880 /* confdefs.h. */ | |
18881 _ACEOF | |
18882 cat confdefs.h >>conftest.$ac_ext | |
18883 cat >>conftest.$ac_ext <<_ACEOF | |
11459 /* end confdefs.h. */ | 18884 /* end confdefs.h. */ |
11460 | 18885 |
11461 /* Override any GCC internal prototype to avoid an error. | 18886 /* Override any GCC internal prototype to avoid an error. |
11462 Use char because int might match the return type of a GCC | 18887 Use char because int might match the return type of a GCC |
11463 builtin and then its argument prototype would still apply. */ | 18888 builtin and then its argument prototype would still apply. */ |
11471 return kvm_open (); | 18896 return kvm_open (); |
11472 ; | 18897 ; |
11473 return 0; | 18898 return 0; |
11474 } | 18899 } |
11475 _ACEOF | 18900 _ACEOF |
11476 if ac_fn_c_try_link "$LINENO"; then : | 18901 rm -f conftest.$ac_objext conftest$ac_exeext |
18902 if { (ac_try="$ac_link" | |
18903 case "(($ac_try" in | |
18904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18905 *) ac_try_echo=$ac_try;; | |
18906 esac | |
18907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18908 $as_echo "$ac_try_echo") >&5 | |
18909 (eval "$ac_link") 2>conftest.er1 | |
18910 ac_status=$? | |
18911 grep -v '^ *+' conftest.er1 >conftest.err | |
18912 rm -f conftest.er1 | |
18913 cat conftest.err >&5 | |
18914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18915 (exit $ac_status); } && { | |
18916 test -z "$ac_c_werror_flag" || | |
18917 test ! -s conftest.err | |
18918 } && test -s conftest$ac_exeext && { | |
18919 test "$cross_compiling" = yes || | |
18920 $as_test_x conftest$ac_exeext | |
18921 }; then | |
11477 ac_cv_lib_kvm_kvm_open=yes | 18922 ac_cv_lib_kvm_kvm_open=yes |
11478 else | 18923 else |
11479 ac_cv_lib_kvm_kvm_open=no | 18924 $as_echo "$as_me: failed program was:" >&5 |
11480 fi | 18925 sed 's/^/| /' conftest.$ac_ext >&5 |
11481 rm -f core conftest.err conftest.$ac_objext \ | 18926 |
11482 conftest$ac_exeext conftest.$ac_ext | 18927 ac_cv_lib_kvm_kvm_open=no |
18928 fi | |
18929 | |
18930 rm -rf conftest.dSYM | |
18931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
18932 conftest$ac_exeext conftest.$ac_ext | |
11483 LIBS=$ac_check_lib_save_LIBS | 18933 LIBS=$ac_check_lib_save_LIBS |
11484 fi | 18934 fi |
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 | 18935 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 |
11486 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } | 18936 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } |
11487 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : | 18937 if test $ac_cv_lib_kvm_kvm_open = yes; then |
11488 LIBS="-lkvm $LIBS" | 18938 LIBS="-lkvm $LIBS" |
11489 fi | 18939 fi |
11490 | 18940 |
11491 # Check for the 4.4BSD definition of getloadavg. | 18941 # Check for the 4.4BSD definition of getloadavg. |
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 | 18942 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 |
11493 $as_echo_n "checking for getloadavg in -lutil... " >&6; } | 18943 $as_echo_n "checking for getloadavg in -lutil... " >&6; } |
11494 if test "${ac_cv_lib_util_getloadavg+set}" = set; then : | 18944 if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
11495 $as_echo_n "(cached) " >&6 | 18945 $as_echo_n "(cached) " >&6 |
11496 else | 18946 else |
11497 ac_check_lib_save_LIBS=$LIBS | 18947 ac_check_lib_save_LIBS=$LIBS |
11498 LIBS="-lutil $LIBS" | 18948 LIBS="-lutil $LIBS" |
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18949 cat >conftest.$ac_ext <<_ACEOF |
18950 /* confdefs.h. */ | |
18951 _ACEOF | |
18952 cat confdefs.h >>conftest.$ac_ext | |
18953 cat >>conftest.$ac_ext <<_ACEOF | |
11500 /* end confdefs.h. */ | 18954 /* end confdefs.h. */ |
11501 | 18955 |
11502 /* Override any GCC internal prototype to avoid an error. | 18956 /* Override any GCC internal prototype to avoid an error. |
11503 Use char because int might match the return type of a GCC | 18957 Use char because int might match the return type of a GCC |
11504 builtin and then its argument prototype would still apply. */ | 18958 builtin and then its argument prototype would still apply. */ |
11512 return getloadavg (); | 18966 return getloadavg (); |
11513 ; | 18967 ; |
11514 return 0; | 18968 return 0; |
11515 } | 18969 } |
11516 _ACEOF | 18970 _ACEOF |
11517 if ac_fn_c_try_link "$LINENO"; then : | 18971 rm -f conftest.$ac_objext conftest$ac_exeext |
18972 if { (ac_try="$ac_link" | |
18973 case "(($ac_try" in | |
18974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18975 *) ac_try_echo=$ac_try;; | |
18976 esac | |
18977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18978 $as_echo "$ac_try_echo") >&5 | |
18979 (eval "$ac_link") 2>conftest.er1 | |
18980 ac_status=$? | |
18981 grep -v '^ *+' conftest.er1 >conftest.err | |
18982 rm -f conftest.er1 | |
18983 cat conftest.err >&5 | |
18984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18985 (exit $ac_status); } && { | |
18986 test -z "$ac_c_werror_flag" || | |
18987 test ! -s conftest.err | |
18988 } && test -s conftest$ac_exeext && { | |
18989 test "$cross_compiling" = yes || | |
18990 $as_test_x conftest$ac_exeext | |
18991 }; then | |
11518 ac_cv_lib_util_getloadavg=yes | 18992 ac_cv_lib_util_getloadavg=yes |
11519 else | 18993 else |
11520 ac_cv_lib_util_getloadavg=no | 18994 $as_echo "$as_me: failed program was:" >&5 |
11521 fi | 18995 sed 's/^/| /' conftest.$ac_ext >&5 |
11522 rm -f core conftest.err conftest.$ac_objext \ | 18996 |
11523 conftest$ac_exeext conftest.$ac_ext | 18997 ac_cv_lib_util_getloadavg=no |
18998 fi | |
18999 | |
19000 rm -rf conftest.dSYM | |
19001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
19002 conftest$ac_exeext conftest.$ac_ext | |
11524 LIBS=$ac_check_lib_save_LIBS | 19003 LIBS=$ac_check_lib_save_LIBS |
11525 fi | 19004 fi |
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 | 19005 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 |
11527 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } | 19006 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } |
11528 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : | 19007 if test $ac_cv_lib_util_getloadavg = yes; then |
11529 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 19008 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
11530 fi | 19009 fi |
11531 | 19010 |
11532 fi | 19011 fi |
11533 | 19012 |
11534 if test $ac_have_func = no; then | 19013 if test $ac_have_func = no; then |
11535 # There is a commonly available library for RS/6000 AIX. | 19014 # There is a commonly available library for RS/6000 AIX. |
11536 # Since it is not a standard part of AIX, it might be installed locally. | 19015 # Since it is not a standard part of AIX, it might be installed locally. |
11537 ac_getloadavg_LIBS=$LIBS | 19016 ac_getloadavg_LIBS=$LIBS |
11538 LIBS="-L/usr/local/lib $LIBS" | 19017 LIBS="-L/usr/local/lib $LIBS" |
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 | 19018 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 |
11540 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } | 19019 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } |
11541 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : | 19020 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
11542 $as_echo_n "(cached) " >&6 | 19021 $as_echo_n "(cached) " >&6 |
11543 else | 19022 else |
11544 ac_check_lib_save_LIBS=$LIBS | 19023 ac_check_lib_save_LIBS=$LIBS |
11545 LIBS="-lgetloadavg $LIBS" | 19024 LIBS="-lgetloadavg $LIBS" |
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19025 cat >conftest.$ac_ext <<_ACEOF |
19026 /* confdefs.h. */ | |
19027 _ACEOF | |
19028 cat confdefs.h >>conftest.$ac_ext | |
19029 cat >>conftest.$ac_ext <<_ACEOF | |
11547 /* end confdefs.h. */ | 19030 /* end confdefs.h. */ |
11548 | 19031 |
11549 /* Override any GCC internal prototype to avoid an error. | 19032 /* Override any GCC internal prototype to avoid an error. |
11550 Use char because int might match the return type of a GCC | 19033 Use char because int might match the return type of a GCC |
11551 builtin and then its argument prototype would still apply. */ | 19034 builtin and then its argument prototype would still apply. */ |
11559 return getloadavg (); | 19042 return getloadavg (); |
11560 ; | 19043 ; |
11561 return 0; | 19044 return 0; |
11562 } | 19045 } |
11563 _ACEOF | 19046 _ACEOF |
11564 if ac_fn_c_try_link "$LINENO"; then : | 19047 rm -f conftest.$ac_objext conftest$ac_exeext |
19048 if { (ac_try="$ac_link" | |
19049 case "(($ac_try" in | |
19050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19051 *) ac_try_echo=$ac_try;; | |
19052 esac | |
19053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19054 $as_echo "$ac_try_echo") >&5 | |
19055 (eval "$ac_link") 2>conftest.er1 | |
19056 ac_status=$? | |
19057 grep -v '^ *+' conftest.er1 >conftest.err | |
19058 rm -f conftest.er1 | |
19059 cat conftest.err >&5 | |
19060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19061 (exit $ac_status); } && { | |
19062 test -z "$ac_c_werror_flag" || | |
19063 test ! -s conftest.err | |
19064 } && test -s conftest$ac_exeext && { | |
19065 test "$cross_compiling" = yes || | |
19066 $as_test_x conftest$ac_exeext | |
19067 }; then | |
11565 ac_cv_lib_getloadavg_getloadavg=yes | 19068 ac_cv_lib_getloadavg_getloadavg=yes |
11566 else | 19069 else |
11567 ac_cv_lib_getloadavg_getloadavg=no | 19070 $as_echo "$as_me: failed program was:" >&5 |
11568 fi | 19071 sed 's/^/| /' conftest.$ac_ext >&5 |
11569 rm -f core conftest.err conftest.$ac_objext \ | 19072 |
11570 conftest$ac_exeext conftest.$ac_ext | 19073 ac_cv_lib_getloadavg_getloadavg=no |
19074 fi | |
19075 | |
19076 rm -rf conftest.dSYM | |
19077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
19078 conftest$ac_exeext conftest.$ac_ext | |
11571 LIBS=$ac_check_lib_save_LIBS | 19079 LIBS=$ac_check_lib_save_LIBS |
11572 fi | 19080 fi |
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 19081 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
11574 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } | 19082 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } |
11575 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : | 19083 if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
11576 LIBS="-lgetloadavg $LIBS" | 19084 LIBS="-lgetloadavg $LIBS" |
11577 else | 19085 else |
11578 LIBS=$ac_getloadavg_LIBS | 19086 LIBS=$ac_getloadavg_LIBS |
11579 fi | 19087 fi |
11580 | 19088 |
11581 fi | 19089 fi |
11582 | 19090 |
11583 # Make sure it is really in the library, if we think we found it, | 19091 # Make sure it is really in the library, if we think we found it, |
11584 # otherwise set up the replacement function. | 19092 # otherwise set up the replacement function. |
19093 | |
11585 for ac_func in getloadavg | 19094 for ac_func in getloadavg |
11586 do : | 19095 do |
11587 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 19096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11588 if test "x$ac_cv_func_getloadavg" = x""yes; then : | 19097 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
19098 $as_echo_n "checking for $ac_func... " >&6; } | |
19099 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
19100 $as_echo_n "(cached) " >&6 | |
19101 else | |
19102 cat >conftest.$ac_ext <<_ACEOF | |
19103 /* confdefs.h. */ | |
19104 _ACEOF | |
19105 cat confdefs.h >>conftest.$ac_ext | |
19106 cat >>conftest.$ac_ext <<_ACEOF | |
19107 /* end confdefs.h. */ | |
19108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
19109 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
19110 #define $ac_func innocuous_$ac_func | |
19111 | |
19112 /* System header to define __stub macros and hopefully few prototypes, | |
19113 which can conflict with char $ac_func (); below. | |
19114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
19115 <limits.h> exists even on freestanding compilers. */ | |
19116 | |
19117 #ifdef __STDC__ | |
19118 # include <limits.h> | |
19119 #else | |
19120 # include <assert.h> | |
19121 #endif | |
19122 | |
19123 #undef $ac_func | |
19124 | |
19125 /* Override any GCC internal prototype to avoid an error. | |
19126 Use char because int might match the return type of a GCC | |
19127 builtin and then its argument prototype would still apply. */ | |
19128 #ifdef __cplusplus | |
19129 extern "C" | |
19130 #endif | |
19131 char $ac_func (); | |
19132 /* The GNU C library defines this for functions which it implements | |
19133 to always fail with ENOSYS. Some functions are actually named | |
19134 something starting with __ and the normal name is an alias. */ | |
19135 #if defined __stub_$ac_func || defined __stub___$ac_func | |
19136 choke me | |
19137 #endif | |
19138 | |
19139 int | |
19140 main () | |
19141 { | |
19142 return $ac_func (); | |
19143 ; | |
19144 return 0; | |
19145 } | |
19146 _ACEOF | |
19147 rm -f conftest.$ac_objext conftest$ac_exeext | |
19148 if { (ac_try="$ac_link" | |
19149 case "(($ac_try" in | |
19150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19151 *) ac_try_echo=$ac_try;; | |
19152 esac | |
19153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19154 $as_echo "$ac_try_echo") >&5 | |
19155 (eval "$ac_link") 2>conftest.er1 | |
19156 ac_status=$? | |
19157 grep -v '^ *+' conftest.er1 >conftest.err | |
19158 rm -f conftest.er1 | |
19159 cat conftest.err >&5 | |
19160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19161 (exit $ac_status); } && { | |
19162 test -z "$ac_c_werror_flag" || | |
19163 test ! -s conftest.err | |
19164 } && test -s conftest$ac_exeext && { | |
19165 test "$cross_compiling" = yes || | |
19166 $as_test_x conftest$ac_exeext | |
19167 }; then | |
19168 eval "$as_ac_var=yes" | |
19169 else | |
19170 $as_echo "$as_me: failed program was:" >&5 | |
19171 sed 's/^/| /' conftest.$ac_ext >&5 | |
19172 | |
19173 eval "$as_ac_var=no" | |
19174 fi | |
19175 | |
19176 rm -rf conftest.dSYM | |
19177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
19178 conftest$ac_exeext conftest.$ac_ext | |
19179 fi | |
19180 ac_res=`eval 'as_val=${'$as_ac_var'} | |
19181 $as_echo "$as_val"'` | |
19182 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
19183 $as_echo "$ac_res" >&6; } | |
19184 if test `eval 'as_val=${'$as_ac_var'} | |
19185 $as_echo "$as_val"'` = yes; then | |
11589 cat >>confdefs.h <<_ACEOF | 19186 cat >>confdefs.h <<_ACEOF |
11590 #define HAVE_GETLOADAVG 1 | 19187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11591 _ACEOF | 19188 _ACEOF |
11592 | 19189 |
11593 else | 19190 else |
11594 case " $LIBOBJS " in | 19191 case " $LIBOBJS " in |
11595 *" getloadavg.$ac_objext "* ) ;; | 19192 *" getloadavg.$ac_objext "* ) ;; |
11596 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" | 19193 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" |
11597 ;; | 19194 ;; |
11598 esac | 19195 esac |
11599 | 19196 |
11600 | 19197 |
11601 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h | 19198 cat >>confdefs.h <<\_ACEOF |
19199 #define C_GETLOADAVG 1 | |
19200 _ACEOF | |
11602 | 19201 |
11603 # Figure out what our getloadavg.c needs. | 19202 # Figure out what our getloadavg.c needs. |
11604 ac_have_func=no | 19203 ac_have_func=no |
11605 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" | 19204 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
11606 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : | 19205 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
19206 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | |
19207 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | |
19208 $as_echo_n "(cached) " >&6 | |
19209 fi | |
19210 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | |
19211 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | |
19212 else | |
19213 # Is the header compilable? | |
19214 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | |
19215 $as_echo_n "checking sys/dg_sys_info.h usability... " >&6; } | |
19216 cat >conftest.$ac_ext <<_ACEOF | |
19217 /* confdefs.h. */ | |
19218 _ACEOF | |
19219 cat confdefs.h >>conftest.$ac_ext | |
19220 cat >>conftest.$ac_ext <<_ACEOF | |
19221 /* end confdefs.h. */ | |
19222 $ac_includes_default | |
19223 #include <sys/dg_sys_info.h> | |
19224 _ACEOF | |
19225 rm -f conftest.$ac_objext | |
19226 if { (ac_try="$ac_compile" | |
19227 case "(($ac_try" in | |
19228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19229 *) ac_try_echo=$ac_try;; | |
19230 esac | |
19231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19232 $as_echo "$ac_try_echo") >&5 | |
19233 (eval "$ac_compile") 2>conftest.er1 | |
19234 ac_status=$? | |
19235 grep -v '^ *+' conftest.er1 >conftest.err | |
19236 rm -f conftest.er1 | |
19237 cat conftest.err >&5 | |
19238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19239 (exit $ac_status); } && { | |
19240 test -z "$ac_c_werror_flag" || | |
19241 test ! -s conftest.err | |
19242 } && test -s conftest.$ac_objext; then | |
19243 ac_header_compiler=yes | |
19244 else | |
19245 $as_echo "$as_me: failed program was:" >&5 | |
19246 sed 's/^/| /' conftest.$ac_ext >&5 | |
19247 | |
19248 ac_header_compiler=no | |
19249 fi | |
19250 | |
19251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19252 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19253 $as_echo "$ac_header_compiler" >&6; } | |
19254 | |
19255 # Is the header present? | |
19256 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | |
19257 $as_echo_n "checking sys/dg_sys_info.h presence... " >&6; } | |
19258 cat >conftest.$ac_ext <<_ACEOF | |
19259 /* confdefs.h. */ | |
19260 _ACEOF | |
19261 cat confdefs.h >>conftest.$ac_ext | |
19262 cat >>conftest.$ac_ext <<_ACEOF | |
19263 /* end confdefs.h. */ | |
19264 #include <sys/dg_sys_info.h> | |
19265 _ACEOF | |
19266 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
19267 case "(($ac_try" in | |
19268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19269 *) ac_try_echo=$ac_try;; | |
19270 esac | |
19271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19272 $as_echo "$ac_try_echo") >&5 | |
19273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19274 ac_status=$? | |
19275 grep -v '^ *+' conftest.er1 >conftest.err | |
19276 rm -f conftest.er1 | |
19277 cat conftest.err >&5 | |
19278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19279 (exit $ac_status); } >/dev/null && { | |
19280 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
19281 test ! -s conftest.err | |
19282 }; then | |
19283 ac_header_preproc=yes | |
19284 else | |
19285 $as_echo "$as_me: failed program was:" >&5 | |
19286 sed 's/^/| /' conftest.$ac_ext >&5 | |
19287 | |
19288 ac_header_preproc=no | |
19289 fi | |
19290 | |
19291 rm -f conftest.err conftest.$ac_ext | |
19292 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19293 $as_echo "$ac_header_preproc" >&6; } | |
19294 | |
19295 # So? What about this header? | |
19296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
19297 yes:no: ) | |
19298 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19299 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19300 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5 | |
19301 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;} | |
19302 ac_header_preproc=yes | |
19303 ;; | |
19304 no:yes:* ) | |
19305 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 | |
19306 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} | |
19307 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 | |
19308 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} | |
19309 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5 | |
19310 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;} | |
19311 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5 | |
19312 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
19313 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | |
19314 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} | |
19315 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 | |
19316 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} | |
19317 | |
19318 ;; | |
19319 esac | |
19320 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | |
19321 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | |
19322 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | |
19323 $as_echo_n "(cached) " >&6 | |
19324 else | |
19325 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | |
19326 fi | |
19327 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | |
19328 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | |
19329 | |
19330 fi | |
19331 if test $ac_cv_header_sys_dg_sys_info_h = yes; then | |
11607 ac_have_func=yes | 19332 ac_have_func=yes |
11608 | 19333 |
11609 $as_echo "#define DGUX 1" >>confdefs.h | 19334 cat >>confdefs.h <<\_ACEOF |
11610 | 19335 #define DGUX 1 |
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 | 19336 _ACEOF |
19337 | |
19338 | |
19339 { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 | |
11612 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } | 19340 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } |
11613 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : | 19341 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
11614 $as_echo_n "(cached) " >&6 | 19342 $as_echo_n "(cached) " >&6 |
11615 else | 19343 else |
11616 ac_check_lib_save_LIBS=$LIBS | 19344 ac_check_lib_save_LIBS=$LIBS |
11617 LIBS="-ldgc $LIBS" | 19345 LIBS="-ldgc $LIBS" |
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19346 cat >conftest.$ac_ext <<_ACEOF |
19347 /* confdefs.h. */ | |
19348 _ACEOF | |
19349 cat confdefs.h >>conftest.$ac_ext | |
19350 cat >>conftest.$ac_ext <<_ACEOF | |
11619 /* end confdefs.h. */ | 19351 /* end confdefs.h. */ |
11620 | 19352 |
11621 /* Override any GCC internal prototype to avoid an error. | 19353 /* Override any GCC internal prototype to avoid an error. |
11622 Use char because int might match the return type of a GCC | 19354 Use char because int might match the return type of a GCC |
11623 builtin and then its argument prototype would still apply. */ | 19355 builtin and then its argument prototype would still apply. */ |
11631 return dg_sys_info (); | 19363 return dg_sys_info (); |
11632 ; | 19364 ; |
11633 return 0; | 19365 return 0; |
11634 } | 19366 } |
11635 _ACEOF | 19367 _ACEOF |
11636 if ac_fn_c_try_link "$LINENO"; then : | 19368 rm -f conftest.$ac_objext conftest$ac_exeext |
19369 if { (ac_try="$ac_link" | |
19370 case "(($ac_try" in | |
19371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19372 *) ac_try_echo=$ac_try;; | |
19373 esac | |
19374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19375 $as_echo "$ac_try_echo") >&5 | |
19376 (eval "$ac_link") 2>conftest.er1 | |
19377 ac_status=$? | |
19378 grep -v '^ *+' conftest.er1 >conftest.err | |
19379 rm -f conftest.er1 | |
19380 cat conftest.err >&5 | |
19381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19382 (exit $ac_status); } && { | |
19383 test -z "$ac_c_werror_flag" || | |
19384 test ! -s conftest.err | |
19385 } && test -s conftest$ac_exeext && { | |
19386 test "$cross_compiling" = yes || | |
19387 $as_test_x conftest$ac_exeext | |
19388 }; then | |
11637 ac_cv_lib_dgc_dg_sys_info=yes | 19389 ac_cv_lib_dgc_dg_sys_info=yes |
11638 else | 19390 else |
11639 ac_cv_lib_dgc_dg_sys_info=no | 19391 $as_echo "$as_me: failed program was:" >&5 |
11640 fi | 19392 sed 's/^/| /' conftest.$ac_ext >&5 |
11641 rm -f core conftest.err conftest.$ac_objext \ | 19393 |
11642 conftest$ac_exeext conftest.$ac_ext | 19394 ac_cv_lib_dgc_dg_sys_info=no |
19395 fi | |
19396 | |
19397 rm -rf conftest.dSYM | |
19398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
19399 conftest$ac_exeext conftest.$ac_ext | |
11643 LIBS=$ac_check_lib_save_LIBS | 19400 LIBS=$ac_check_lib_save_LIBS |
11644 fi | 19401 fi |
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 19402 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
11646 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } | 19403 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } |
11647 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : | 19404 if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
11648 cat >>confdefs.h <<_ACEOF | 19405 cat >>confdefs.h <<_ACEOF |
11649 #define HAVE_LIBDGC 1 | 19406 #define HAVE_LIBDGC 1 |
11650 _ACEOF | 19407 _ACEOF |
11651 | 19408 |
11652 LIBS="-ldgc $LIBS" | 19409 LIBS="-ldgc $LIBS" |
11655 | 19412 |
11656 fi | 19413 fi |
11657 | 19414 |
11658 | 19415 |
11659 | 19416 |
11660 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" | 19417 if test "${ac_cv_header_locale_h+set}" = set; then |
11661 if test "x$ac_cv_header_locale_h" = x""yes; then : | 19418 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 |
11662 | 19419 $as_echo_n "checking for locale.h... " >&6; } |
11663 fi | 19420 if test "${ac_cv_header_locale_h+set}" = set; then |
19421 $as_echo_n "(cached) " >&6 | |
19422 fi | |
19423 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | |
19424 $as_echo "$ac_cv_header_locale_h" >&6; } | |
19425 else | |
19426 # Is the header compilable? | |
19427 { $as_echo "$as_me:$LINENO: checking locale.h usability" >&5 | |
19428 $as_echo_n "checking locale.h usability... " >&6; } | |
19429 cat >conftest.$ac_ext <<_ACEOF | |
19430 /* confdefs.h. */ | |
19431 _ACEOF | |
19432 cat confdefs.h >>conftest.$ac_ext | |
19433 cat >>conftest.$ac_ext <<_ACEOF | |
19434 /* end confdefs.h. */ | |
19435 $ac_includes_default | |
19436 #include <locale.h> | |
19437 _ACEOF | |
19438 rm -f conftest.$ac_objext | |
19439 if { (ac_try="$ac_compile" | |
19440 case "(($ac_try" in | |
19441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19442 *) ac_try_echo=$ac_try;; | |
19443 esac | |
19444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19445 $as_echo "$ac_try_echo") >&5 | |
19446 (eval "$ac_compile") 2>conftest.er1 | |
19447 ac_status=$? | |
19448 grep -v '^ *+' conftest.er1 >conftest.err | |
19449 rm -f conftest.er1 | |
19450 cat conftest.err >&5 | |
19451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19452 (exit $ac_status); } && { | |
19453 test -z "$ac_c_werror_flag" || | |
19454 test ! -s conftest.err | |
19455 } && test -s conftest.$ac_objext; then | |
19456 ac_header_compiler=yes | |
19457 else | |
19458 $as_echo "$as_me: failed program was:" >&5 | |
19459 sed 's/^/| /' conftest.$ac_ext >&5 | |
19460 | |
19461 ac_header_compiler=no | |
19462 fi | |
19463 | |
19464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19465 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19466 $as_echo "$ac_header_compiler" >&6; } | |
19467 | |
19468 # Is the header present? | |
19469 { $as_echo "$as_me:$LINENO: checking locale.h presence" >&5 | |
19470 $as_echo_n "checking locale.h presence... " >&6; } | |
19471 cat >conftest.$ac_ext <<_ACEOF | |
19472 /* confdefs.h. */ | |
19473 _ACEOF | |
19474 cat confdefs.h >>conftest.$ac_ext | |
19475 cat >>conftest.$ac_ext <<_ACEOF | |
19476 /* end confdefs.h. */ | |
19477 #include <locale.h> | |
19478 _ACEOF | |
19479 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
19480 case "(($ac_try" in | |
19481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19482 *) ac_try_echo=$ac_try;; | |
19483 esac | |
19484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19485 $as_echo "$ac_try_echo") >&5 | |
19486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19487 ac_status=$? | |
19488 grep -v '^ *+' conftest.er1 >conftest.err | |
19489 rm -f conftest.er1 | |
19490 cat conftest.err >&5 | |
19491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19492 (exit $ac_status); } >/dev/null && { | |
19493 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
19494 test ! -s conftest.err | |
19495 }; then | |
19496 ac_header_preproc=yes | |
19497 else | |
19498 $as_echo "$as_me: failed program was:" >&5 | |
19499 sed 's/^/| /' conftest.$ac_ext >&5 | |
19500 | |
19501 ac_header_preproc=no | |
19502 fi | |
19503 | |
19504 rm -f conftest.err conftest.$ac_ext | |
19505 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19506 $as_echo "$ac_header_preproc" >&6; } | |
19507 | |
19508 # So? What about this header? | |
19509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
19510 yes:no: ) | |
19511 { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19512 $as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19513 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5 | |
19514 $as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;} | |
19515 ac_header_preproc=yes | |
19516 ;; | |
19517 no:yes:* ) | |
19518 { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 | |
19519 $as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} | |
19520 { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 | |
19521 $as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} | |
19522 { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5 | |
19523 $as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;} | |
19524 { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5 | |
19525 $as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
19526 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | |
19527 $as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} | |
19528 { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 | |
19529 $as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} | |
19530 | |
19531 ;; | |
19532 esac | |
19533 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 | |
19534 $as_echo_n "checking for locale.h... " >&6; } | |
19535 if test "${ac_cv_header_locale_h+set}" = set; then | |
19536 $as_echo_n "(cached) " >&6 | |
19537 else | |
19538 ac_cv_header_locale_h=$ac_header_preproc | |
19539 fi | |
19540 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | |
19541 $as_echo "$ac_cv_header_locale_h" >&6; } | |
19542 | |
19543 fi | |
19544 | |
11664 | 19545 |
11665 | 19546 |
11666 for ac_func in setlocale | 19547 for ac_func in setlocale |
11667 do : | 19548 do |
11668 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" | 19549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11669 if test "x$ac_cv_func_setlocale" = x""yes; then : | 19550 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
19551 $as_echo_n "checking for $ac_func... " >&6; } | |
19552 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
19553 $as_echo_n "(cached) " >&6 | |
19554 else | |
19555 cat >conftest.$ac_ext <<_ACEOF | |
19556 /* confdefs.h. */ | |
19557 _ACEOF | |
19558 cat confdefs.h >>conftest.$ac_ext | |
19559 cat >>conftest.$ac_ext <<_ACEOF | |
19560 /* end confdefs.h. */ | |
19561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
19562 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
19563 #define $ac_func innocuous_$ac_func | |
19564 | |
19565 /* System header to define __stub macros and hopefully few prototypes, | |
19566 which can conflict with char $ac_func (); below. | |
19567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
19568 <limits.h> exists even on freestanding compilers. */ | |
19569 | |
19570 #ifdef __STDC__ | |
19571 # include <limits.h> | |
19572 #else | |
19573 # include <assert.h> | |
19574 #endif | |
19575 | |
19576 #undef $ac_func | |
19577 | |
19578 /* Override any GCC internal prototype to avoid an error. | |
19579 Use char because int might match the return type of a GCC | |
19580 builtin and then its argument prototype would still apply. */ | |
19581 #ifdef __cplusplus | |
19582 extern "C" | |
19583 #endif | |
19584 char $ac_func (); | |
19585 /* The GNU C library defines this for functions which it implements | |
19586 to always fail with ENOSYS. Some functions are actually named | |
19587 something starting with __ and the normal name is an alias. */ | |
19588 #if defined __stub_$ac_func || defined __stub___$ac_func | |
19589 choke me | |
19590 #endif | |
19591 | |
19592 int | |
19593 main () | |
19594 { | |
19595 return $ac_func (); | |
19596 ; | |
19597 return 0; | |
19598 } | |
19599 _ACEOF | |
19600 rm -f conftest.$ac_objext conftest$ac_exeext | |
19601 if { (ac_try="$ac_link" | |
19602 case "(($ac_try" in | |
19603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19604 *) ac_try_echo=$ac_try;; | |
19605 esac | |
19606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19607 $as_echo "$ac_try_echo") >&5 | |
19608 (eval "$ac_link") 2>conftest.er1 | |
19609 ac_status=$? | |
19610 grep -v '^ *+' conftest.er1 >conftest.err | |
19611 rm -f conftest.er1 | |
19612 cat conftest.err >&5 | |
19613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19614 (exit $ac_status); } && { | |
19615 test -z "$ac_c_werror_flag" || | |
19616 test ! -s conftest.err | |
19617 } && test -s conftest$ac_exeext && { | |
19618 test "$cross_compiling" = yes || | |
19619 $as_test_x conftest$ac_exeext | |
19620 }; then | |
19621 eval "$as_ac_var=yes" | |
19622 else | |
19623 $as_echo "$as_me: failed program was:" >&5 | |
19624 sed 's/^/| /' conftest.$ac_ext >&5 | |
19625 | |
19626 eval "$as_ac_var=no" | |
19627 fi | |
19628 | |
19629 rm -rf conftest.dSYM | |
19630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
19631 conftest$ac_exeext conftest.$ac_ext | |
19632 fi | |
19633 ac_res=`eval 'as_val=${'$as_ac_var'} | |
19634 $as_echo "$as_val"'` | |
19635 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
19636 $as_echo "$ac_res" >&6; } | |
19637 if test `eval 'as_val=${'$as_ac_var'} | |
19638 $as_echo "$as_val"'` = yes; then | |
11670 cat >>confdefs.h <<_ACEOF | 19639 cat >>confdefs.h <<_ACEOF |
11671 #define HAVE_SETLOCALE 1 | 19640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11672 _ACEOF | 19641 _ACEOF |
11673 | 19642 |
11674 fi | 19643 fi |
11675 done | 19644 done |
11676 | 19645 |
11679 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because | 19648 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because |
11680 # Irix 4.0.5F has the header but not the library. | 19649 # Irix 4.0.5F has the header but not the library. |
11681 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | 19650 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then |
11682 ac_have_func=yes | 19651 ac_have_func=yes |
11683 | 19652 |
11684 $as_echo "#define SVR4 1" >>confdefs.h | 19653 cat >>confdefs.h <<\_ACEOF |
19654 #define SVR4 1 | |
19655 _ACEOF | |
11685 | 19656 |
11686 fi | 19657 fi |
11687 | 19658 |
11688 if test $ac_have_func = no; then | 19659 if test $ac_have_func = no; then |
11689 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" | 19660 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
11690 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : | 19661 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
19662 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | |
19663 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | |
19664 $as_echo_n "(cached) " >&6 | |
19665 fi | |
19666 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | |
19667 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | |
19668 else | |
19669 # Is the header compilable? | |
19670 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | |
19671 $as_echo_n "checking inq_stats/cpustats.h usability... " >&6; } | |
19672 cat >conftest.$ac_ext <<_ACEOF | |
19673 /* confdefs.h. */ | |
19674 _ACEOF | |
19675 cat confdefs.h >>conftest.$ac_ext | |
19676 cat >>conftest.$ac_ext <<_ACEOF | |
19677 /* end confdefs.h. */ | |
19678 $ac_includes_default | |
19679 #include <inq_stats/cpustats.h> | |
19680 _ACEOF | |
19681 rm -f conftest.$ac_objext | |
19682 if { (ac_try="$ac_compile" | |
19683 case "(($ac_try" in | |
19684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19685 *) ac_try_echo=$ac_try;; | |
19686 esac | |
19687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19688 $as_echo "$ac_try_echo") >&5 | |
19689 (eval "$ac_compile") 2>conftest.er1 | |
19690 ac_status=$? | |
19691 grep -v '^ *+' conftest.er1 >conftest.err | |
19692 rm -f conftest.er1 | |
19693 cat conftest.err >&5 | |
19694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19695 (exit $ac_status); } && { | |
19696 test -z "$ac_c_werror_flag" || | |
19697 test ! -s conftest.err | |
19698 } && test -s conftest.$ac_objext; then | |
19699 ac_header_compiler=yes | |
19700 else | |
19701 $as_echo "$as_me: failed program was:" >&5 | |
19702 sed 's/^/| /' conftest.$ac_ext >&5 | |
19703 | |
19704 ac_header_compiler=no | |
19705 fi | |
19706 | |
19707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19708 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19709 $as_echo "$ac_header_compiler" >&6; } | |
19710 | |
19711 # Is the header present? | |
19712 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | |
19713 $as_echo_n "checking inq_stats/cpustats.h presence... " >&6; } | |
19714 cat >conftest.$ac_ext <<_ACEOF | |
19715 /* confdefs.h. */ | |
19716 _ACEOF | |
19717 cat confdefs.h >>conftest.$ac_ext | |
19718 cat >>conftest.$ac_ext <<_ACEOF | |
19719 /* end confdefs.h. */ | |
19720 #include <inq_stats/cpustats.h> | |
19721 _ACEOF | |
19722 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
19723 case "(($ac_try" in | |
19724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19725 *) ac_try_echo=$ac_try;; | |
19726 esac | |
19727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19728 $as_echo "$ac_try_echo") >&5 | |
19729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19730 ac_status=$? | |
19731 grep -v '^ *+' conftest.er1 >conftest.err | |
19732 rm -f conftest.er1 | |
19733 cat conftest.err >&5 | |
19734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19735 (exit $ac_status); } >/dev/null && { | |
19736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
19737 test ! -s conftest.err | |
19738 }; then | |
19739 ac_header_preproc=yes | |
19740 else | |
19741 $as_echo "$as_me: failed program was:" >&5 | |
19742 sed 's/^/| /' conftest.$ac_ext >&5 | |
19743 | |
19744 ac_header_preproc=no | |
19745 fi | |
19746 | |
19747 rm -f conftest.err conftest.$ac_ext | |
19748 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19749 $as_echo "$ac_header_preproc" >&6; } | |
19750 | |
19751 # So? What about this header? | |
19752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
19753 yes:no: ) | |
19754 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19755 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19756 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5 | |
19757 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;} | |
19758 ac_header_preproc=yes | |
19759 ;; | |
19760 no:yes:* ) | |
19761 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 | |
19762 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} | |
19763 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 | |
19764 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} | |
19765 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5 | |
19766 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;} | |
19767 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | |
19768 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
19769 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | |
19770 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} | |
19771 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 | |
19772 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} | |
19773 | |
19774 ;; | |
19775 esac | |
19776 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | |
19777 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | |
19778 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | |
19779 $as_echo_n "(cached) " >&6 | |
19780 else | |
19781 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | |
19782 fi | |
19783 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | |
19784 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | |
19785 | |
19786 fi | |
19787 if test $ac_cv_header_inq_stats_cpustats_h = yes; then | |
11691 ac_have_func=yes | 19788 ac_have_func=yes |
11692 | 19789 |
11693 $as_echo "#define UMAX 1" >>confdefs.h | 19790 cat >>confdefs.h <<\_ACEOF |
11694 | 19791 #define UMAX 1 |
11695 | 19792 _ACEOF |
11696 $as_echo "#define UMAX4_3 1" >>confdefs.h | 19793 |
19794 | |
19795 cat >>confdefs.h <<\_ACEOF | |
19796 #define UMAX4_3 1 | |
19797 _ACEOF | |
11697 | 19798 |
11698 fi | 19799 fi |
11699 | 19800 |
11700 | 19801 |
11701 fi | 19802 fi |
11702 | 19803 |
11703 if test $ac_have_func = no; then | 19804 if test $ac_have_func = no; then |
11704 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" | 19805 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
11705 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : | 19806 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
11706 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h | 19807 $as_echo_n "checking for sys/cpustats.h... " >&6; } |
19808 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | |
19809 $as_echo_n "(cached) " >&6 | |
19810 fi | |
19811 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | |
19812 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | |
19813 else | |
19814 # Is the header compilable? | |
19815 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | |
19816 $as_echo_n "checking sys/cpustats.h usability... " >&6; } | |
19817 cat >conftest.$ac_ext <<_ACEOF | |
19818 /* confdefs.h. */ | |
19819 _ACEOF | |
19820 cat confdefs.h >>conftest.$ac_ext | |
19821 cat >>conftest.$ac_ext <<_ACEOF | |
19822 /* end confdefs.h. */ | |
19823 $ac_includes_default | |
19824 #include <sys/cpustats.h> | |
19825 _ACEOF | |
19826 rm -f conftest.$ac_objext | |
19827 if { (ac_try="$ac_compile" | |
19828 case "(($ac_try" in | |
19829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19830 *) ac_try_echo=$ac_try;; | |
19831 esac | |
19832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19833 $as_echo "$ac_try_echo") >&5 | |
19834 (eval "$ac_compile") 2>conftest.er1 | |
19835 ac_status=$? | |
19836 grep -v '^ *+' conftest.er1 >conftest.err | |
19837 rm -f conftest.er1 | |
19838 cat conftest.err >&5 | |
19839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19840 (exit $ac_status); } && { | |
19841 test -z "$ac_c_werror_flag" || | |
19842 test ! -s conftest.err | |
19843 } && test -s conftest.$ac_objext; then | |
19844 ac_header_compiler=yes | |
19845 else | |
19846 $as_echo "$as_me: failed program was:" >&5 | |
19847 sed 's/^/| /' conftest.$ac_ext >&5 | |
19848 | |
19849 ac_header_compiler=no | |
19850 fi | |
19851 | |
19852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19853 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19854 $as_echo "$ac_header_compiler" >&6; } | |
19855 | |
19856 # Is the header present? | |
19857 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | |
19858 $as_echo_n "checking sys/cpustats.h presence... " >&6; } | |
19859 cat >conftest.$ac_ext <<_ACEOF | |
19860 /* confdefs.h. */ | |
19861 _ACEOF | |
19862 cat confdefs.h >>conftest.$ac_ext | |
19863 cat >>conftest.$ac_ext <<_ACEOF | |
19864 /* end confdefs.h. */ | |
19865 #include <sys/cpustats.h> | |
19866 _ACEOF | |
19867 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
19868 case "(($ac_try" in | |
19869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19870 *) ac_try_echo=$ac_try;; | |
19871 esac | |
19872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19873 $as_echo "$ac_try_echo") >&5 | |
19874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19875 ac_status=$? | |
19876 grep -v '^ *+' conftest.er1 >conftest.err | |
19877 rm -f conftest.er1 | |
19878 cat conftest.err >&5 | |
19879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19880 (exit $ac_status); } >/dev/null && { | |
19881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
19882 test ! -s conftest.err | |
19883 }; then | |
19884 ac_header_preproc=yes | |
19885 else | |
19886 $as_echo "$as_me: failed program was:" >&5 | |
19887 sed 's/^/| /' conftest.$ac_ext >&5 | |
19888 | |
19889 ac_header_preproc=no | |
19890 fi | |
19891 | |
19892 rm -f conftest.err conftest.$ac_ext | |
19893 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
19894 $as_echo "$ac_header_preproc" >&6; } | |
19895 | |
19896 # So? What about this header? | |
19897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
19898 yes:no: ) | |
19899 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
19900 $as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
19901 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5 | |
19902 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;} | |
19903 ac_header_preproc=yes | |
19904 ;; | |
19905 no:yes:* ) | |
19906 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 | |
19907 $as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} | |
19908 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 | |
19909 $as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} | |
19910 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5 | |
19911 $as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;} | |
19912 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | |
19913 $as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
19914 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | |
19915 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} | |
19916 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 | |
19917 $as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} | |
19918 | |
19919 ;; | |
19920 esac | |
19921 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | |
19922 $as_echo_n "checking for sys/cpustats.h... " >&6; } | |
19923 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | |
19924 $as_echo_n "(cached) " >&6 | |
19925 else | |
19926 ac_cv_header_sys_cpustats_h=$ac_header_preproc | |
19927 fi | |
19928 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | |
19929 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | |
19930 | |
19931 fi | |
19932 if test $ac_cv_header_sys_cpustats_h = yes; then | |
19933 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | |
19934 #define UMAX 1 | |
19935 _ACEOF | |
11707 | 19936 |
11708 fi | 19937 fi |
11709 | 19938 |
11710 | 19939 |
11711 fi | 19940 fi |
11712 | 19941 |
11713 if test $ac_have_func = no; then | 19942 if test $ac_have_func = no; then |
11714 for ac_header in mach/mach.h | 19943 |
11715 do : | 19944 for ac_header in mach/mach.h |
11716 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" | 19945 do |
11717 if test "x$ac_cv_header_mach_mach_h" = x""yes; then : | 19946 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
19948 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
19949 $as_echo_n "checking for $ac_header... " >&6; } | |
19950 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
19951 $as_echo_n "(cached) " >&6 | |
19952 fi | |
19953 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
19954 $as_echo "$as_val"'` | |
19955 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
19956 $as_echo "$ac_res" >&6; } | |
19957 else | |
19958 # Is the header compilable? | |
19959 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
19960 $as_echo_n "checking $ac_header usability... " >&6; } | |
19961 cat >conftest.$ac_ext <<_ACEOF | |
19962 /* confdefs.h. */ | |
19963 _ACEOF | |
19964 cat confdefs.h >>conftest.$ac_ext | |
19965 cat >>conftest.$ac_ext <<_ACEOF | |
19966 /* end confdefs.h. */ | |
19967 $ac_includes_default | |
19968 #include <$ac_header> | |
19969 _ACEOF | |
19970 rm -f conftest.$ac_objext | |
19971 if { (ac_try="$ac_compile" | |
19972 case "(($ac_try" in | |
19973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19974 *) ac_try_echo=$ac_try;; | |
19975 esac | |
19976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19977 $as_echo "$ac_try_echo") >&5 | |
19978 (eval "$ac_compile") 2>conftest.er1 | |
19979 ac_status=$? | |
19980 grep -v '^ *+' conftest.er1 >conftest.err | |
19981 rm -f conftest.er1 | |
19982 cat conftest.err >&5 | |
19983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19984 (exit $ac_status); } && { | |
19985 test -z "$ac_c_werror_flag" || | |
19986 test ! -s conftest.err | |
19987 } && test -s conftest.$ac_objext; then | |
19988 ac_header_compiler=yes | |
19989 else | |
19990 $as_echo "$as_me: failed program was:" >&5 | |
19991 sed 's/^/| /' conftest.$ac_ext >&5 | |
19992 | |
19993 ac_header_compiler=no | |
19994 fi | |
19995 | |
19996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19997 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
19998 $as_echo "$ac_header_compiler" >&6; } | |
19999 | |
20000 # Is the header present? | |
20001 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
20002 $as_echo_n "checking $ac_header presence... " >&6; } | |
20003 cat >conftest.$ac_ext <<_ACEOF | |
20004 /* confdefs.h. */ | |
20005 _ACEOF | |
20006 cat confdefs.h >>conftest.$ac_ext | |
20007 cat >>conftest.$ac_ext <<_ACEOF | |
20008 /* end confdefs.h. */ | |
20009 #include <$ac_header> | |
20010 _ACEOF | |
20011 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
20012 case "(($ac_try" in | |
20013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20014 *) ac_try_echo=$ac_try;; | |
20015 esac | |
20016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20017 $as_echo "$ac_try_echo") >&5 | |
20018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
20019 ac_status=$? | |
20020 grep -v '^ *+' conftest.er1 >conftest.err | |
20021 rm -f conftest.er1 | |
20022 cat conftest.err >&5 | |
20023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20024 (exit $ac_status); } >/dev/null && { | |
20025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
20026 test ! -s conftest.err | |
20027 }; then | |
20028 ac_header_preproc=yes | |
20029 else | |
20030 $as_echo "$as_me: failed program was:" >&5 | |
20031 sed 's/^/| /' conftest.$ac_ext >&5 | |
20032 | |
20033 ac_header_preproc=no | |
20034 fi | |
20035 | |
20036 rm -f conftest.err conftest.$ac_ext | |
20037 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
20038 $as_echo "$ac_header_preproc" >&6; } | |
20039 | |
20040 # So? What about this header? | |
20041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
20042 yes:no: ) | |
20043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
20044 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
20045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
20046 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
20047 ac_header_preproc=yes | |
20048 ;; | |
20049 no:yes:* ) | |
20050 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
20051 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
20052 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
20053 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
20054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
20055 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
20056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
20057 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
20058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
20059 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
20060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
20061 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
20062 | |
20063 ;; | |
20064 esac | |
20065 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
20066 $as_echo_n "checking for $ac_header... " >&6; } | |
20067 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
20068 $as_echo_n "(cached) " >&6 | |
20069 else | |
20070 eval "$as_ac_Header=\$ac_header_preproc" | |
20071 fi | |
20072 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
20073 $as_echo "$as_val"'` | |
20074 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20075 $as_echo "$ac_res" >&6; } | |
20076 | |
20077 fi | |
20078 if test `eval 'as_val=${'$as_ac_Header'} | |
20079 $as_echo "$as_val"'` = yes; then | |
11718 cat >>confdefs.h <<_ACEOF | 20080 cat >>confdefs.h <<_ACEOF |
11719 #define HAVE_MACH_MACH_H 1 | 20081 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11720 _ACEOF | 20082 _ACEOF |
11721 | 20083 |
11722 fi | 20084 fi |
11723 | 20085 |
11724 done | 20086 done |
11725 | 20087 |
11726 fi | 20088 fi |
11727 | 20089 |
20090 | |
11728 for ac_header in nlist.h | 20091 for ac_header in nlist.h |
11729 do : | 20092 do |
11730 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" | 20093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11731 if test "x$ac_cv_header_nlist_h" = x""yes; then : | 20094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20095 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
20096 $as_echo_n "checking for $ac_header... " >&6; } | |
20097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
20098 $as_echo_n "(cached) " >&6 | |
20099 fi | |
20100 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
20101 $as_echo "$as_val"'` | |
20102 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20103 $as_echo "$ac_res" >&6; } | |
20104 else | |
20105 # Is the header compilable? | |
20106 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
20107 $as_echo_n "checking $ac_header usability... " >&6; } | |
20108 cat >conftest.$ac_ext <<_ACEOF | |
20109 /* confdefs.h. */ | |
20110 _ACEOF | |
20111 cat confdefs.h >>conftest.$ac_ext | |
20112 cat >>conftest.$ac_ext <<_ACEOF | |
20113 /* end confdefs.h. */ | |
20114 $ac_includes_default | |
20115 #include <$ac_header> | |
20116 _ACEOF | |
20117 rm -f conftest.$ac_objext | |
20118 if { (ac_try="$ac_compile" | |
20119 case "(($ac_try" in | |
20120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20121 *) ac_try_echo=$ac_try;; | |
20122 esac | |
20123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20124 $as_echo "$ac_try_echo") >&5 | |
20125 (eval "$ac_compile") 2>conftest.er1 | |
20126 ac_status=$? | |
20127 grep -v '^ *+' conftest.er1 >conftest.err | |
20128 rm -f conftest.er1 | |
20129 cat conftest.err >&5 | |
20130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20131 (exit $ac_status); } && { | |
20132 test -z "$ac_c_werror_flag" || | |
20133 test ! -s conftest.err | |
20134 } && test -s conftest.$ac_objext; then | |
20135 ac_header_compiler=yes | |
20136 else | |
20137 $as_echo "$as_me: failed program was:" >&5 | |
20138 sed 's/^/| /' conftest.$ac_ext >&5 | |
20139 | |
20140 ac_header_compiler=no | |
20141 fi | |
20142 | |
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
20144 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
20145 $as_echo "$ac_header_compiler" >&6; } | |
20146 | |
20147 # Is the header present? | |
20148 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
20149 $as_echo_n "checking $ac_header presence... " >&6; } | |
20150 cat >conftest.$ac_ext <<_ACEOF | |
20151 /* confdefs.h. */ | |
20152 _ACEOF | |
20153 cat confdefs.h >>conftest.$ac_ext | |
20154 cat >>conftest.$ac_ext <<_ACEOF | |
20155 /* end confdefs.h. */ | |
20156 #include <$ac_header> | |
20157 _ACEOF | |
20158 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
20159 case "(($ac_try" in | |
20160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20161 *) ac_try_echo=$ac_try;; | |
20162 esac | |
20163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20164 $as_echo "$ac_try_echo") >&5 | |
20165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
20166 ac_status=$? | |
20167 grep -v '^ *+' conftest.er1 >conftest.err | |
20168 rm -f conftest.er1 | |
20169 cat conftest.err >&5 | |
20170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20171 (exit $ac_status); } >/dev/null && { | |
20172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
20173 test ! -s conftest.err | |
20174 }; then | |
20175 ac_header_preproc=yes | |
20176 else | |
20177 $as_echo "$as_me: failed program was:" >&5 | |
20178 sed 's/^/| /' conftest.$ac_ext >&5 | |
20179 | |
20180 ac_header_preproc=no | |
20181 fi | |
20182 | |
20183 rm -f conftest.err conftest.$ac_ext | |
20184 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
20185 $as_echo "$ac_header_preproc" >&6; } | |
20186 | |
20187 # So? What about this header? | |
20188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
20189 yes:no: ) | |
20190 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
20191 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
20192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
20193 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
20194 ac_header_preproc=yes | |
20195 ;; | |
20196 no:yes:* ) | |
20197 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
20198 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
20199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
20200 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
20201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
20202 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
20203 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
20204 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
20205 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
20206 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
20207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
20208 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
20209 | |
20210 ;; | |
20211 esac | |
20212 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
20213 $as_echo_n "checking for $ac_header... " >&6; } | |
20214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
20215 $as_echo_n "(cached) " >&6 | |
20216 else | |
20217 eval "$as_ac_Header=\$ac_header_preproc" | |
20218 fi | |
20219 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
20220 $as_echo "$as_val"'` | |
20221 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20222 $as_echo "$ac_res" >&6; } | |
20223 | |
20224 fi | |
20225 if test `eval 'as_val=${'$as_ac_Header'} | |
20226 $as_echo "$as_val"'` = yes; then | |
11732 cat >>confdefs.h <<_ACEOF | 20227 cat >>confdefs.h <<_ACEOF |
11733 #define HAVE_NLIST_H 1 | 20228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11734 _ACEOF | 20229 _ACEOF |
11735 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> | 20230 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 |
11736 " | 20231 $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } |
11737 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : | 20232 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then |
20233 $as_echo_n "(cached) " >&6 | |
20234 else | |
20235 cat >conftest.$ac_ext <<_ACEOF | |
20236 /* confdefs.h. */ | |
20237 _ACEOF | |
20238 cat confdefs.h >>conftest.$ac_ext | |
20239 cat >>conftest.$ac_ext <<_ACEOF | |
20240 /* end confdefs.h. */ | |
20241 #include <nlist.h> | |
20242 | |
20243 int | |
20244 main () | |
20245 { | |
20246 static struct nlist ac_aggr; | |
20247 if (ac_aggr.n_un.n_name) | |
20248 return 0; | |
20249 ; | |
20250 return 0; | |
20251 } | |
20252 _ACEOF | |
20253 rm -f conftest.$ac_objext | |
20254 if { (ac_try="$ac_compile" | |
20255 case "(($ac_try" in | |
20256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20257 *) ac_try_echo=$ac_try;; | |
20258 esac | |
20259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20260 $as_echo "$ac_try_echo") >&5 | |
20261 (eval "$ac_compile") 2>conftest.er1 | |
20262 ac_status=$? | |
20263 grep -v '^ *+' conftest.er1 >conftest.err | |
20264 rm -f conftest.er1 | |
20265 cat conftest.err >&5 | |
20266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20267 (exit $ac_status); } && { | |
20268 test -z "$ac_c_werror_flag" || | |
20269 test ! -s conftest.err | |
20270 } && test -s conftest.$ac_objext; then | |
20271 ac_cv_member_struct_nlist_n_un_n_name=yes | |
20272 else | |
20273 $as_echo "$as_me: failed program was:" >&5 | |
20274 sed 's/^/| /' conftest.$ac_ext >&5 | |
20275 | |
20276 cat >conftest.$ac_ext <<_ACEOF | |
20277 /* confdefs.h. */ | |
20278 _ACEOF | |
20279 cat confdefs.h >>conftest.$ac_ext | |
20280 cat >>conftest.$ac_ext <<_ACEOF | |
20281 /* end confdefs.h. */ | |
20282 #include <nlist.h> | |
20283 | |
20284 int | |
20285 main () | |
20286 { | |
20287 static struct nlist ac_aggr; | |
20288 if (sizeof ac_aggr.n_un.n_name) | |
20289 return 0; | |
20290 ; | |
20291 return 0; | |
20292 } | |
20293 _ACEOF | |
20294 rm -f conftest.$ac_objext | |
20295 if { (ac_try="$ac_compile" | |
20296 case "(($ac_try" in | |
20297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20298 *) ac_try_echo=$ac_try;; | |
20299 esac | |
20300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20301 $as_echo "$ac_try_echo") >&5 | |
20302 (eval "$ac_compile") 2>conftest.er1 | |
20303 ac_status=$? | |
20304 grep -v '^ *+' conftest.er1 >conftest.err | |
20305 rm -f conftest.er1 | |
20306 cat conftest.err >&5 | |
20307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20308 (exit $ac_status); } && { | |
20309 test -z "$ac_c_werror_flag" || | |
20310 test ! -s conftest.err | |
20311 } && test -s conftest.$ac_objext; then | |
20312 ac_cv_member_struct_nlist_n_un_n_name=yes | |
20313 else | |
20314 $as_echo "$as_me: failed program was:" >&5 | |
20315 sed 's/^/| /' conftest.$ac_ext >&5 | |
20316 | |
20317 ac_cv_member_struct_nlist_n_un_n_name=no | |
20318 fi | |
20319 | |
20320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
20321 fi | |
20322 | |
20323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
20324 fi | |
20325 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | |
20326 $as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; } | |
20327 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | |
11738 | 20328 |
11739 cat >>confdefs.h <<_ACEOF | 20329 cat >>confdefs.h <<_ACEOF |
11740 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 20330 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
11741 _ACEOF | 20331 _ACEOF |
11742 | 20332 |
11743 | 20333 |
11744 $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h | 20334 cat >>confdefs.h <<\_ACEOF |
20335 #define NLIST_NAME_UNION 1 | |
20336 _ACEOF | |
11745 | 20337 |
11746 fi | 20338 fi |
11747 | 20339 |
11748 | 20340 |
11749 fi | 20341 fi |
11753 fi | 20345 fi |
11754 done | 20346 done |
11755 | 20347 |
11756 | 20348 |
11757 # Some definitions of getloadavg require that the program be installed setgid. | 20349 # Some definitions of getloadavg require that the program be installed setgid. |
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 | 20350 { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 |
11759 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } | 20351 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } |
11760 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : | 20352 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
11761 $as_echo_n "(cached) " >&6 | 20353 $as_echo_n "(cached) " >&6 |
11762 else | 20354 else |
11763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20355 cat >conftest.$ac_ext <<_ACEOF |
20356 /* confdefs.h. */ | |
20357 _ACEOF | |
20358 cat confdefs.h >>conftest.$ac_ext | |
20359 cat >>conftest.$ac_ext <<_ACEOF | |
11764 /* end confdefs.h. */ | 20360 /* end confdefs.h. */ |
11765 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" | 20361 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" |
11766 #ifdef LDAV_PRIVILEGED | 20362 #ifdef LDAV_PRIVILEGED |
11767 Yowza Am I SETGID yet | 20363 Yowza Am I SETGID yet |
11768 #endif | 20364 #endif |
11769 _ACEOF | 20365 _ACEOF |
11770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 20366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11771 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then : | 20367 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then |
11772 ac_cv_func_getloadavg_setgid=yes | 20368 ac_cv_func_getloadavg_setgid=yes |
11773 else | 20369 else |
11774 ac_cv_func_getloadavg_setgid=no | 20370 ac_cv_func_getloadavg_setgid=no |
11775 fi | 20371 fi |
11776 rm -f conftest* | 20372 rm -f conftest* |
11777 | 20373 |
11778 fi | 20374 fi |
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5 | 20375 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 |
11780 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } | 20376 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } |
11781 if test $ac_cv_func_getloadavg_setgid = yes; then | 20377 if test $ac_cv_func_getloadavg_setgid = yes; then |
11782 NEED_SETGID=true | 20378 NEED_SETGID=true |
11783 | 20379 |
11784 $as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h | 20380 cat >>confdefs.h <<\_ACEOF |
20381 #define GETLOADAVG_PRIVILEGED 1 | |
20382 _ACEOF | |
11785 | 20383 |
11786 else | 20384 else |
11787 NEED_SETGID=false | 20385 NEED_SETGID=false |
11788 fi | 20386 fi |
11789 | 20387 |
11790 if test $ac_cv_func_getloadavg_setgid = yes; then | 20388 if test $ac_cv_func_getloadavg_setgid = yes; then |
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 | 20389 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 |
11792 $as_echo_n "checking group of /dev/kmem... " >&6; } | 20390 $as_echo_n "checking group of /dev/kmem... " >&6; } |
11793 if test "${ac_cv_group_kmem+set}" = set; then : | 20391 if test "${ac_cv_group_kmem+set}" = set; then |
11794 $as_echo_n "(cached) " >&6 | 20392 $as_echo_n "(cached) " >&6 |
11795 else | 20393 else |
11796 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 20394 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
11797 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 20395 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
11798 # If we got an error (system does not support symlinks), try without -L. | 20396 # If we got an error (system does not support symlinks), try without -L. |
11801 | sed -ne 's/[ ][ ]*/ /g; | 20399 | sed -ne 's/[ ][ ]*/ /g; |
11802 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; | 20400 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; |
11803 / /s/.* //;p;'` | 20401 / /s/.* //;p;'` |
11804 | 20402 |
11805 fi | 20403 fi |
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5 | 20404 { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 |
11807 $as_echo "$ac_cv_group_kmem" >&6; } | 20405 $as_echo "$ac_cv_group_kmem" >&6; } |
11808 KMEM_GROUP=$ac_cv_group_kmem | 20406 KMEM_GROUP=$ac_cv_group_kmem |
11809 fi | 20407 fi |
11810 if test "x$ac_save_LIBS" = x; then | 20408 if test "x$ac_save_LIBS" = x; then |
11811 GETLOADAVG_LIBS=$LIBS | 20409 GETLOADAVG_LIBS=$LIBS |
11814 fi | 20412 fi |
11815 LIBS=$ac_save_LIBS | 20413 LIBS=$ac_save_LIBS |
11816 | 20414 |
11817 | 20415 |
11818 | 20416 |
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 20417 { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
11820 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } | 20418 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } |
11821 if test "${ac_cv_sys_largefile_source+set}" = set; then : | 20419 if test "${ac_cv_sys_largefile_source+set}" = set; then |
11822 $as_echo_n "(cached) " >&6 | 20420 $as_echo_n "(cached) " >&6 |
11823 else | 20421 else |
11824 while :; do | 20422 while :; do |
11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20423 cat >conftest.$ac_ext <<_ACEOF |
20424 /* confdefs.h. */ | |
20425 _ACEOF | |
20426 cat confdefs.h >>conftest.$ac_ext | |
20427 cat >>conftest.$ac_ext <<_ACEOF | |
11826 /* end confdefs.h. */ | 20428 /* end confdefs.h. */ |
11827 #include <sys/types.h> /* for off_t */ | 20429 #include <sys/types.h> /* for off_t */ |
11828 #include <stdio.h> | 20430 #include <stdio.h> |
11829 int | 20431 int |
11830 main () | 20432 main () |
11833 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | 20435 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); |
11834 ; | 20436 ; |
11835 return 0; | 20437 return 0; |
11836 } | 20438 } |
11837 _ACEOF | 20439 _ACEOF |
11838 if ac_fn_c_try_link "$LINENO"; then : | 20440 rm -f conftest.$ac_objext conftest$ac_exeext |
20441 if { (ac_try="$ac_link" | |
20442 case "(($ac_try" in | |
20443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20444 *) ac_try_echo=$ac_try;; | |
20445 esac | |
20446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20447 $as_echo "$ac_try_echo") >&5 | |
20448 (eval "$ac_link") 2>conftest.er1 | |
20449 ac_status=$? | |
20450 grep -v '^ *+' conftest.er1 >conftest.err | |
20451 rm -f conftest.er1 | |
20452 cat conftest.err >&5 | |
20453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20454 (exit $ac_status); } && { | |
20455 test -z "$ac_c_werror_flag" || | |
20456 test ! -s conftest.err | |
20457 } && test -s conftest$ac_exeext && { | |
20458 test "$cross_compiling" = yes || | |
20459 $as_test_x conftest$ac_exeext | |
20460 }; then | |
11839 ac_cv_sys_largefile_source=no; break | 20461 ac_cv_sys_largefile_source=no; break |
11840 fi | 20462 else |
11841 rm -f core conftest.err conftest.$ac_objext \ | 20463 $as_echo "$as_me: failed program was:" >&5 |
11842 conftest$ac_exeext conftest.$ac_ext | 20464 sed 's/^/| /' conftest.$ac_ext >&5 |
11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20465 |
20466 | |
20467 fi | |
20468 | |
20469 rm -rf conftest.dSYM | |
20470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20471 conftest$ac_exeext conftest.$ac_ext | |
20472 cat >conftest.$ac_ext <<_ACEOF | |
20473 /* confdefs.h. */ | |
20474 _ACEOF | |
20475 cat confdefs.h >>conftest.$ac_ext | |
20476 cat >>conftest.$ac_ext <<_ACEOF | |
11844 /* end confdefs.h. */ | 20477 /* end confdefs.h. */ |
11845 #define _LARGEFILE_SOURCE 1 | 20478 #define _LARGEFILE_SOURCE 1 |
11846 #include <sys/types.h> /* for off_t */ | 20479 #include <sys/types.h> /* for off_t */ |
11847 #include <stdio.h> | 20480 #include <stdio.h> |
11848 int | 20481 int |
11852 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | 20485 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); |
11853 ; | 20486 ; |
11854 return 0; | 20487 return 0; |
11855 } | 20488 } |
11856 _ACEOF | 20489 _ACEOF |
11857 if ac_fn_c_try_link "$LINENO"; then : | 20490 rm -f conftest.$ac_objext conftest$ac_exeext |
20491 if { (ac_try="$ac_link" | |
20492 case "(($ac_try" in | |
20493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20494 *) ac_try_echo=$ac_try;; | |
20495 esac | |
20496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20497 $as_echo "$ac_try_echo") >&5 | |
20498 (eval "$ac_link") 2>conftest.er1 | |
20499 ac_status=$? | |
20500 grep -v '^ *+' conftest.er1 >conftest.err | |
20501 rm -f conftest.er1 | |
20502 cat conftest.err >&5 | |
20503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20504 (exit $ac_status); } && { | |
20505 test -z "$ac_c_werror_flag" || | |
20506 test ! -s conftest.err | |
20507 } && test -s conftest$ac_exeext && { | |
20508 test "$cross_compiling" = yes || | |
20509 $as_test_x conftest$ac_exeext | |
20510 }; then | |
11858 ac_cv_sys_largefile_source=1; break | 20511 ac_cv_sys_largefile_source=1; break |
11859 fi | 20512 else |
11860 rm -f core conftest.err conftest.$ac_objext \ | 20513 $as_echo "$as_me: failed program was:" >&5 |
11861 conftest$ac_exeext conftest.$ac_ext | 20514 sed 's/^/| /' conftest.$ac_ext >&5 |
20515 | |
20516 | |
20517 fi | |
20518 | |
20519 rm -rf conftest.dSYM | |
20520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20521 conftest$ac_exeext conftest.$ac_ext | |
11862 ac_cv_sys_largefile_source=unknown | 20522 ac_cv_sys_largefile_source=unknown |
11863 break | 20523 break |
11864 done | 20524 done |
11865 fi | 20525 fi |
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 | 20526 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 |
11867 $as_echo "$ac_cv_sys_largefile_source" >&6; } | 20527 $as_echo "$ac_cv_sys_largefile_source" >&6; } |
11868 case $ac_cv_sys_largefile_source in #( | 20528 case $ac_cv_sys_largefile_source in #( |
11869 no | unknown) ;; | 20529 no | unknown) ;; |
11870 *) | 20530 *) |
11871 cat >>confdefs.h <<_ACEOF | 20531 cat >>confdefs.h <<_ACEOF |
11878 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | 20538 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug |
11879 # in glibc 2.1.3, but that breaks too many other things. | 20539 # in glibc 2.1.3, but that breaks too many other things. |
11880 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 20540 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
11881 if test $ac_cv_sys_largefile_source != unknown; then | 20541 if test $ac_cv_sys_largefile_source != unknown; then |
11882 | 20542 |
11883 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h | 20543 cat >>confdefs.h <<\_ACEOF |
20544 #define HAVE_FSEEKO 1 | |
20545 _ACEOF | |
11884 | 20546 |
11885 fi | 20547 fi |
11886 | 20548 |
11887 | 20549 |
11888 # Configure getopt. | 20550 # Configure getopt. |
11906 | 20568 |
11907 | 20569 |
11908 | 20570 |
11909 | 20571 |
11910 GETOPT_H= | 20572 GETOPT_H= |
11911 for ac_header in getopt.h | 20573 |
11912 do : | 20574 for ac_header in getopt.h |
11913 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" | 20575 do |
11914 if test "x$ac_cv_header_getopt_h" = x""yes; then : | 20576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
20578 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
20579 $as_echo_n "checking for $ac_header... " >&6; } | |
20580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
20581 $as_echo_n "(cached) " >&6 | |
20582 fi | |
20583 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
20584 $as_echo "$as_val"'` | |
20585 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20586 $as_echo "$ac_res" >&6; } | |
20587 else | |
20588 # Is the header compilable? | |
20589 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
20590 $as_echo_n "checking $ac_header usability... " >&6; } | |
20591 cat >conftest.$ac_ext <<_ACEOF | |
20592 /* confdefs.h. */ | |
20593 _ACEOF | |
20594 cat confdefs.h >>conftest.$ac_ext | |
20595 cat >>conftest.$ac_ext <<_ACEOF | |
20596 /* end confdefs.h. */ | |
20597 $ac_includes_default | |
20598 #include <$ac_header> | |
20599 _ACEOF | |
20600 rm -f conftest.$ac_objext | |
20601 if { (ac_try="$ac_compile" | |
20602 case "(($ac_try" in | |
20603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20604 *) ac_try_echo=$ac_try;; | |
20605 esac | |
20606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20607 $as_echo "$ac_try_echo") >&5 | |
20608 (eval "$ac_compile") 2>conftest.er1 | |
20609 ac_status=$? | |
20610 grep -v '^ *+' conftest.er1 >conftest.err | |
20611 rm -f conftest.er1 | |
20612 cat conftest.err >&5 | |
20613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20614 (exit $ac_status); } && { | |
20615 test -z "$ac_c_werror_flag" || | |
20616 test ! -s conftest.err | |
20617 } && test -s conftest.$ac_objext; then | |
20618 ac_header_compiler=yes | |
20619 else | |
20620 $as_echo "$as_me: failed program was:" >&5 | |
20621 sed 's/^/| /' conftest.$ac_ext >&5 | |
20622 | |
20623 ac_header_compiler=no | |
20624 fi | |
20625 | |
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
20627 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
20628 $as_echo "$ac_header_compiler" >&6; } | |
20629 | |
20630 # Is the header present? | |
20631 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
20632 $as_echo_n "checking $ac_header presence... " >&6; } | |
20633 cat >conftest.$ac_ext <<_ACEOF | |
20634 /* confdefs.h. */ | |
20635 _ACEOF | |
20636 cat confdefs.h >>conftest.$ac_ext | |
20637 cat >>conftest.$ac_ext <<_ACEOF | |
20638 /* end confdefs.h. */ | |
20639 #include <$ac_header> | |
20640 _ACEOF | |
20641 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
20642 case "(($ac_try" in | |
20643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20644 *) ac_try_echo=$ac_try;; | |
20645 esac | |
20646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20647 $as_echo "$ac_try_echo") >&5 | |
20648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
20649 ac_status=$? | |
20650 grep -v '^ *+' conftest.er1 >conftest.err | |
20651 rm -f conftest.er1 | |
20652 cat conftest.err >&5 | |
20653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20654 (exit $ac_status); } >/dev/null && { | |
20655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
20656 test ! -s conftest.err | |
20657 }; then | |
20658 ac_header_preproc=yes | |
20659 else | |
20660 $as_echo "$as_me: failed program was:" >&5 | |
20661 sed 's/^/| /' conftest.$ac_ext >&5 | |
20662 | |
20663 ac_header_preproc=no | |
20664 fi | |
20665 | |
20666 rm -f conftest.err conftest.$ac_ext | |
20667 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
20668 $as_echo "$ac_header_preproc" >&6; } | |
20669 | |
20670 # So? What about this header? | |
20671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
20672 yes:no: ) | |
20673 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
20674 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
20675 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
20676 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
20677 ac_header_preproc=yes | |
20678 ;; | |
20679 no:yes:* ) | |
20680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
20681 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
20682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
20683 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
20684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
20685 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
20686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
20687 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
20688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
20689 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
20690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
20691 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
20692 | |
20693 ;; | |
20694 esac | |
20695 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
20696 $as_echo_n "checking for $ac_header... " >&6; } | |
20697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
20698 $as_echo_n "(cached) " >&6 | |
20699 else | |
20700 eval "$as_ac_Header=\$ac_header_preproc" | |
20701 fi | |
20702 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
20703 $as_echo "$as_val"'` | |
20704 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20705 $as_echo "$ac_res" >&6; } | |
20706 | |
20707 fi | |
20708 if test `eval 'as_val=${'$as_ac_Header'} | |
20709 $as_echo "$as_val"'` = yes; then | |
11915 cat >>confdefs.h <<_ACEOF | 20710 cat >>confdefs.h <<_ACEOF |
11916 #define HAVE_GETOPT_H 1 | 20711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11917 _ACEOF | 20712 _ACEOF |
11918 | 20713 |
11919 else | 20714 else |
11920 GETOPT_H=getopt.h | 20715 GETOPT_H=getopt.h |
11921 fi | 20716 fi |
11922 | 20717 |
11923 done | 20718 done |
11924 | 20719 |
11925 if test -z "$GETOPT_H"; then | 20720 if test -z "$GETOPT_H"; then |
11926 for ac_func in getopt_long_only | 20721 |
11927 do : | 20722 for ac_func in getopt_long_only |
11928 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" | 20723 do |
11929 if test "x$ac_cv_func_getopt_long_only" = x""yes; then : | 20724 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20725 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
20726 $as_echo_n "checking for $ac_func... " >&6; } | |
20727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
20728 $as_echo_n "(cached) " >&6 | |
20729 else | |
20730 cat >conftest.$ac_ext <<_ACEOF | |
20731 /* confdefs.h. */ | |
20732 _ACEOF | |
20733 cat confdefs.h >>conftest.$ac_ext | |
20734 cat >>conftest.$ac_ext <<_ACEOF | |
20735 /* end confdefs.h. */ | |
20736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
20737 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
20738 #define $ac_func innocuous_$ac_func | |
20739 | |
20740 /* System header to define __stub macros and hopefully few prototypes, | |
20741 which can conflict with char $ac_func (); below. | |
20742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
20743 <limits.h> exists even on freestanding compilers. */ | |
20744 | |
20745 #ifdef __STDC__ | |
20746 # include <limits.h> | |
20747 #else | |
20748 # include <assert.h> | |
20749 #endif | |
20750 | |
20751 #undef $ac_func | |
20752 | |
20753 /* Override any GCC internal prototype to avoid an error. | |
20754 Use char because int might match the return type of a GCC | |
20755 builtin and then its argument prototype would still apply. */ | |
20756 #ifdef __cplusplus | |
20757 extern "C" | |
20758 #endif | |
20759 char $ac_func (); | |
20760 /* The GNU C library defines this for functions which it implements | |
20761 to always fail with ENOSYS. Some functions are actually named | |
20762 something starting with __ and the normal name is an alias. */ | |
20763 #if defined __stub_$ac_func || defined __stub___$ac_func | |
20764 choke me | |
20765 #endif | |
20766 | |
20767 int | |
20768 main () | |
20769 { | |
20770 return $ac_func (); | |
20771 ; | |
20772 return 0; | |
20773 } | |
20774 _ACEOF | |
20775 rm -f conftest.$ac_objext conftest$ac_exeext | |
20776 if { (ac_try="$ac_link" | |
20777 case "(($ac_try" in | |
20778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20779 *) ac_try_echo=$ac_try;; | |
20780 esac | |
20781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20782 $as_echo "$ac_try_echo") >&5 | |
20783 (eval "$ac_link") 2>conftest.er1 | |
20784 ac_status=$? | |
20785 grep -v '^ *+' conftest.er1 >conftest.err | |
20786 rm -f conftest.er1 | |
20787 cat conftest.err >&5 | |
20788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20789 (exit $ac_status); } && { | |
20790 test -z "$ac_c_werror_flag" || | |
20791 test ! -s conftest.err | |
20792 } && test -s conftest$ac_exeext && { | |
20793 test "$cross_compiling" = yes || | |
20794 $as_test_x conftest$ac_exeext | |
20795 }; then | |
20796 eval "$as_ac_var=yes" | |
20797 else | |
20798 $as_echo "$as_me: failed program was:" >&5 | |
20799 sed 's/^/| /' conftest.$ac_ext >&5 | |
20800 | |
20801 eval "$as_ac_var=no" | |
20802 fi | |
20803 | |
20804 rm -rf conftest.dSYM | |
20805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20806 conftest$ac_exeext conftest.$ac_ext | |
20807 fi | |
20808 ac_res=`eval 'as_val=${'$as_ac_var'} | |
20809 $as_echo "$as_val"'` | |
20810 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
20811 $as_echo "$ac_res" >&6; } | |
20812 if test `eval 'as_val=${'$as_ac_var'} | |
20813 $as_echo "$as_val"'` = yes; then | |
11930 cat >>confdefs.h <<_ACEOF | 20814 cat >>confdefs.h <<_ACEOF |
11931 #define HAVE_GETOPT_LONG_ONLY 1 | 20815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11932 _ACEOF | 20816 _ACEOF |
11933 | 20817 |
11934 else | 20818 else |
11935 GETOPT_H=getopt.h | 20819 GETOPT_H=getopt.h |
11936 fi | 20820 fi |
11937 done | 20821 done |
11938 | 20822 |
11939 fi | 20823 fi |
11940 | 20824 |
11941 if test -z "$GETOPT_H"; then | 20825 if test -z "$GETOPT_H"; then |
11942 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> | 20826 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 |
11943 " | 20827 $as_echo_n "checking whether optreset is declared... " >&6; } |
11944 if test "x$ac_cv_have_decl_optreset" = x""yes; then : | 20828 if test "${ac_cv_have_decl_optreset+set}" = set; then |
20829 $as_echo_n "(cached) " >&6 | |
20830 else | |
20831 cat >conftest.$ac_ext <<_ACEOF | |
20832 /* confdefs.h. */ | |
20833 _ACEOF | |
20834 cat confdefs.h >>conftest.$ac_ext | |
20835 cat >>conftest.$ac_ext <<_ACEOF | |
20836 /* end confdefs.h. */ | |
20837 #include <getopt.h> | |
20838 | |
20839 int | |
20840 main () | |
20841 { | |
20842 #ifndef optreset | |
20843 (void) optreset; | |
20844 #endif | |
20845 | |
20846 ; | |
20847 return 0; | |
20848 } | |
20849 _ACEOF | |
20850 rm -f conftest.$ac_objext | |
20851 if { (ac_try="$ac_compile" | |
20852 case "(($ac_try" in | |
20853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20854 *) ac_try_echo=$ac_try;; | |
20855 esac | |
20856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20857 $as_echo "$ac_try_echo") >&5 | |
20858 (eval "$ac_compile") 2>conftest.er1 | |
20859 ac_status=$? | |
20860 grep -v '^ *+' conftest.er1 >conftest.err | |
20861 rm -f conftest.er1 | |
20862 cat conftest.err >&5 | |
20863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20864 (exit $ac_status); } && { | |
20865 test -z "$ac_c_werror_flag" || | |
20866 test ! -s conftest.err | |
20867 } && test -s conftest.$ac_objext; then | |
20868 ac_cv_have_decl_optreset=yes | |
20869 else | |
20870 $as_echo "$as_me: failed program was:" >&5 | |
20871 sed 's/^/| /' conftest.$ac_ext >&5 | |
20872 | |
20873 ac_cv_have_decl_optreset=no | |
20874 fi | |
20875 | |
20876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
20877 fi | |
20878 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 | |
20879 $as_echo "$ac_cv_have_decl_optreset" >&6; } | |
20880 if test $ac_cv_have_decl_optreset = yes; then | |
11945 GETOPT_H=getopt.h | 20881 GETOPT_H=getopt.h |
11946 fi | 20882 fi |
11947 | 20883 |
11948 fi | 20884 fi |
11949 | 20885 |
11950 if test -z "$GETOPT_H"; then | 20886 if test -z "$GETOPT_H"; then |
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 | 20887 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 |
11952 $as_echo_n "checking for working GNU getopt function... " >&6; } | 20888 $as_echo_n "checking for working GNU getopt function... " >&6; } |
11953 if test "${gl_cv_func_gnu_getopt+set}" = set; then : | 20889 if test "${gl_cv_func_gnu_getopt+set}" = set; then |
11954 $as_echo_n "(cached) " >&6 | 20890 $as_echo_n "(cached) " >&6 |
11955 else | 20891 else |
11956 if test "$cross_compiling" = yes; then : | 20892 if test "$cross_compiling" = yes; then |
11957 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> | 20893 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 |
11958 " | 20894 $as_echo_n "checking whether getopt_clip is declared... " >&6; } |
11959 if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : | 20895 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then |
20896 $as_echo_n "(cached) " >&6 | |
20897 else | |
20898 cat >conftest.$ac_ext <<_ACEOF | |
20899 /* confdefs.h. */ | |
20900 _ACEOF | |
20901 cat confdefs.h >>conftest.$ac_ext | |
20902 cat >>conftest.$ac_ext <<_ACEOF | |
20903 /* end confdefs.h. */ | |
20904 #include <getopt.h> | |
20905 | |
20906 int | |
20907 main () | |
20908 { | |
20909 #ifndef getopt_clip | |
20910 (void) getopt_clip; | |
20911 #endif | |
20912 | |
20913 ; | |
20914 return 0; | |
20915 } | |
20916 _ACEOF | |
20917 rm -f conftest.$ac_objext | |
20918 if { (ac_try="$ac_compile" | |
20919 case "(($ac_try" in | |
20920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20921 *) ac_try_echo=$ac_try;; | |
20922 esac | |
20923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20924 $as_echo "$ac_try_echo") >&5 | |
20925 (eval "$ac_compile") 2>conftest.er1 | |
20926 ac_status=$? | |
20927 grep -v '^ *+' conftest.er1 >conftest.err | |
20928 rm -f conftest.er1 | |
20929 cat conftest.err >&5 | |
20930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20931 (exit $ac_status); } && { | |
20932 test -z "$ac_c_werror_flag" || | |
20933 test ! -s conftest.err | |
20934 } && test -s conftest.$ac_objext; then | |
20935 ac_cv_have_decl_getopt_clip=yes | |
20936 else | |
20937 $as_echo "$as_me: failed program was:" >&5 | |
20938 sed 's/^/| /' conftest.$ac_ext >&5 | |
20939 | |
20940 ac_cv_have_decl_getopt_clip=no | |
20941 fi | |
20942 | |
20943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
20944 fi | |
20945 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 | |
20946 $as_echo "$ac_cv_have_decl_getopt_clip" >&6; } | |
20947 if test $ac_cv_have_decl_getopt_clip = yes; then | |
11960 gl_cv_func_gnu_getopt=no | 20948 gl_cv_func_gnu_getopt=no |
11961 else | 20949 else |
11962 gl_cv_func_gnu_getopt=yes | 20950 gl_cv_func_gnu_getopt=yes |
11963 fi | 20951 fi |
11964 | 20952 |
11965 else | 20953 else |
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20954 cat >conftest.$ac_ext <<_ACEOF |
20955 /* confdefs.h. */ | |
20956 _ACEOF | |
20957 cat confdefs.h >>conftest.$ac_ext | |
20958 cat >>conftest.$ac_ext <<_ACEOF | |
11967 /* end confdefs.h. */ | 20959 /* end confdefs.h. */ |
11968 #include <getopt.h> | 20960 #include <getopt.h> |
11969 int | 20961 int |
11970 main () | 20962 main () |
11971 { | 20963 { |
11978 | 20970 |
11979 ; | 20971 ; |
11980 return 0; | 20972 return 0; |
11981 } | 20973 } |
11982 _ACEOF | 20974 _ACEOF |
11983 if ac_fn_c_try_run "$LINENO"; then : | 20975 rm -f conftest$ac_exeext |
20976 if { (ac_try="$ac_link" | |
20977 case "(($ac_try" in | |
20978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20979 *) ac_try_echo=$ac_try;; | |
20980 esac | |
20981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20982 $as_echo "$ac_try_echo") >&5 | |
20983 (eval "$ac_link") 2>&5 | |
20984 ac_status=$? | |
20985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
20987 { (case "(($ac_try" in | |
20988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20989 *) ac_try_echo=$ac_try;; | |
20990 esac | |
20991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
20992 $as_echo "$ac_try_echo") >&5 | |
20993 (eval "$ac_try") 2>&5 | |
20994 ac_status=$? | |
20995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20996 (exit $ac_status); }; }; then | |
11984 gl_cv_func_gnu_getopt=yes | 20997 gl_cv_func_gnu_getopt=yes |
11985 else | 20998 else |
11986 gl_cv_func_gnu_getopt=no | 20999 $as_echo "$as_me: program exited with status $ac_status" >&5 |
11987 fi | 21000 $as_echo "$as_me: failed program was:" >&5 |
11988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 21001 sed 's/^/| /' conftest.$ac_ext >&5 |
11989 conftest.$ac_objext conftest.beam conftest.$ac_ext | 21002 |
11990 fi | 21003 ( exit $ac_status ) |
11991 | 21004 gl_cv_func_gnu_getopt=no |
11992 fi | 21005 fi |
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5 | 21006 rm -rf conftest.dSYM |
21007 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
21008 fi | |
21009 | |
21010 | |
21011 fi | |
21012 { $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 | |
11994 $as_echo "$gl_cv_func_gnu_getopt" >&6; } | 21013 $as_echo "$gl_cv_func_gnu_getopt" >&6; } |
11995 if test "$gl_cv_func_gnu_getopt" = "no"; then | 21014 if test "$gl_cv_func_gnu_getopt" = "no"; then |
11996 GETOPT_H=getopt.h | 21015 GETOPT_H=getopt.h |
11997 fi | 21016 fi |
11998 fi | 21017 fi |
11999 | 21018 |
12000 | 21019 |
12001 | 21020 |
12002 if test -n "$GETOPT_H"; then : | 21021 if test -n "$GETOPT_H"; then |
12003 | 21022 |
12004 | 21023 |
12005 GETOPT_H=getopt.h | 21024 GETOPT_H=getopt.h |
12006 | 21025 |
12007 $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h | 21026 cat >>confdefs.h <<\_ACEOF |
21027 #define __GETOPT_PREFIX rpl_ | |
21028 _ACEOF | |
12008 | 21029 |
12009 | 21030 |
12010 | 21031 |
12011 : | 21032 : |
12012 GETOPTOBJS='getopt.o getopt1.o' | 21033 GETOPTOBJS='getopt.o getopt1.o' |
12013 | 21034 |
12014 fi | 21035 fi |
12015 | 21036 |
12016 | 21037 |
12017 | 21038 |
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 | 21039 |
21040 { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | |
12019 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | 21041 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
12020 if test "${ac_cv_func_getpgrp_void+set}" = set; then : | 21042 if test "${ac_cv_func_getpgrp_void+set}" = set; then |
12021 $as_echo_n "(cached) " >&6 | 21043 $as_echo_n "(cached) " >&6 |
12022 else | 21044 else |
12023 # Use it with a single arg. | 21045 # Use it with a single arg. |
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21046 cat >conftest.$ac_ext <<_ACEOF |
21047 /* confdefs.h. */ | |
21048 _ACEOF | |
21049 cat confdefs.h >>conftest.$ac_ext | |
21050 cat >>conftest.$ac_ext <<_ACEOF | |
12025 /* end confdefs.h. */ | 21051 /* end confdefs.h. */ |
12026 $ac_includes_default | 21052 $ac_includes_default |
12027 int | 21053 int |
12028 main () | 21054 main () |
12029 { | 21055 { |
12030 getpgrp (0); | 21056 getpgrp (0); |
12031 ; | 21057 ; |
12032 return 0; | 21058 return 0; |
12033 } | 21059 } |
12034 _ACEOF | 21060 _ACEOF |
12035 if ac_fn_c_try_compile "$LINENO"; then : | 21061 rm -f conftest.$ac_objext |
21062 if { (ac_try="$ac_compile" | |
21063 case "(($ac_try" in | |
21064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21065 *) ac_try_echo=$ac_try;; | |
21066 esac | |
21067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21068 $as_echo "$ac_try_echo") >&5 | |
21069 (eval "$ac_compile") 2>conftest.er1 | |
21070 ac_status=$? | |
21071 grep -v '^ *+' conftest.er1 >conftest.err | |
21072 rm -f conftest.er1 | |
21073 cat conftest.err >&5 | |
21074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21075 (exit $ac_status); } && { | |
21076 test -z "$ac_c_werror_flag" || | |
21077 test ! -s conftest.err | |
21078 } && test -s conftest.$ac_objext; then | |
12036 ac_cv_func_getpgrp_void=no | 21079 ac_cv_func_getpgrp_void=no |
12037 else | 21080 else |
12038 ac_cv_func_getpgrp_void=yes | 21081 $as_echo "$as_me: failed program was:" >&5 |
12039 fi | 21082 sed 's/^/| /' conftest.$ac_ext >&5 |
21083 | |
21084 ac_cv_func_getpgrp_void=yes | |
21085 fi | |
21086 | |
12040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12041 | 21088 |
12042 fi | 21089 fi |
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 | 21090 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
12044 $as_echo "$ac_cv_func_getpgrp_void" >&6; } | 21091 $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
12045 if test $ac_cv_func_getpgrp_void = yes; then | 21092 if test $ac_cv_func_getpgrp_void = yes; then |
12046 | 21093 |
12047 $as_echo "#define GETPGRP_VOID 1" >>confdefs.h | 21094 cat >>confdefs.h <<\_ACEOF |
12048 | 21095 #define GETPGRP_VOID 1 |
12049 fi | 21096 _ACEOF |
21097 | |
21098 fi | |
21099 | |
12050 | 21100 |
12051 | 21101 |
12052 for ac_func in strftime | 21102 for ac_func in strftime |
12053 do : | 21103 do |
12054 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | 21104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12055 if test "x$ac_cv_func_strftime" = x""yes; then : | 21105 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21106 $as_echo_n "checking for $ac_func... " >&6; } | |
21107 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
21108 $as_echo_n "(cached) " >&6 | |
21109 else | |
21110 cat >conftest.$ac_ext <<_ACEOF | |
21111 /* confdefs.h. */ | |
21112 _ACEOF | |
21113 cat confdefs.h >>conftest.$ac_ext | |
21114 cat >>conftest.$ac_ext <<_ACEOF | |
21115 /* end confdefs.h. */ | |
21116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
21117 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21118 #define $ac_func innocuous_$ac_func | |
21119 | |
21120 /* System header to define __stub macros and hopefully few prototypes, | |
21121 which can conflict with char $ac_func (); below. | |
21122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21123 <limits.h> exists even on freestanding compilers. */ | |
21124 | |
21125 #ifdef __STDC__ | |
21126 # include <limits.h> | |
21127 #else | |
21128 # include <assert.h> | |
21129 #endif | |
21130 | |
21131 #undef $ac_func | |
21132 | |
21133 /* Override any GCC internal prototype to avoid an error. | |
21134 Use char because int might match the return type of a GCC | |
21135 builtin and then its argument prototype would still apply. */ | |
21136 #ifdef __cplusplus | |
21137 extern "C" | |
21138 #endif | |
21139 char $ac_func (); | |
21140 /* The GNU C library defines this for functions which it implements | |
21141 to always fail with ENOSYS. Some functions are actually named | |
21142 something starting with __ and the normal name is an alias. */ | |
21143 #if defined __stub_$ac_func || defined __stub___$ac_func | |
21144 choke me | |
21145 #endif | |
21146 | |
21147 int | |
21148 main () | |
21149 { | |
21150 return $ac_func (); | |
21151 ; | |
21152 return 0; | |
21153 } | |
21154 _ACEOF | |
21155 rm -f conftest.$ac_objext conftest$ac_exeext | |
21156 if { (ac_try="$ac_link" | |
21157 case "(($ac_try" in | |
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21159 *) ac_try_echo=$ac_try;; | |
21160 esac | |
21161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21162 $as_echo "$ac_try_echo") >&5 | |
21163 (eval "$ac_link") 2>conftest.er1 | |
21164 ac_status=$? | |
21165 grep -v '^ *+' conftest.er1 >conftest.err | |
21166 rm -f conftest.er1 | |
21167 cat conftest.err >&5 | |
21168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21169 (exit $ac_status); } && { | |
21170 test -z "$ac_c_werror_flag" || | |
21171 test ! -s conftest.err | |
21172 } && test -s conftest$ac_exeext && { | |
21173 test "$cross_compiling" = yes || | |
21174 $as_test_x conftest$ac_exeext | |
21175 }; then | |
21176 eval "$as_ac_var=yes" | |
21177 else | |
21178 $as_echo "$as_me: failed program was:" >&5 | |
21179 sed 's/^/| /' conftest.$ac_ext >&5 | |
21180 | |
21181 eval "$as_ac_var=no" | |
21182 fi | |
21183 | |
21184 rm -rf conftest.dSYM | |
21185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21186 conftest$ac_exeext conftest.$ac_ext | |
21187 fi | |
21188 ac_res=`eval 'as_val=${'$as_ac_var'} | |
21189 $as_echo "$as_val"'` | |
21190 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
21191 $as_echo "$ac_res" >&6; } | |
21192 if test `eval 'as_val=${'$as_ac_var'} | |
21193 $as_echo "$as_val"'` = yes; then | |
12056 cat >>confdefs.h <<_ACEOF | 21194 cat >>confdefs.h <<_ACEOF |
12057 #define HAVE_STRFTIME 1 | 21195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12058 _ACEOF | 21196 _ACEOF |
12059 | 21197 |
12060 else | 21198 else |
12061 # strftime is in -lintl on SCO UNIX. | 21199 # strftime is in -lintl on SCO UNIX. |
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 | 21200 { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
12063 $as_echo_n "checking for strftime in -lintl... " >&6; } | 21201 $as_echo_n "checking for strftime in -lintl... " >&6; } |
12064 if test "${ac_cv_lib_intl_strftime+set}" = set; then : | 21202 if test "${ac_cv_lib_intl_strftime+set}" = set; then |
12065 $as_echo_n "(cached) " >&6 | 21203 $as_echo_n "(cached) " >&6 |
12066 else | 21204 else |
12067 ac_check_lib_save_LIBS=$LIBS | 21205 ac_check_lib_save_LIBS=$LIBS |
12068 LIBS="-lintl $LIBS" | 21206 LIBS="-lintl $LIBS" |
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21207 cat >conftest.$ac_ext <<_ACEOF |
21208 /* confdefs.h. */ | |
21209 _ACEOF | |
21210 cat confdefs.h >>conftest.$ac_ext | |
21211 cat >>conftest.$ac_ext <<_ACEOF | |
12070 /* end confdefs.h. */ | 21212 /* end confdefs.h. */ |
12071 | 21213 |
12072 /* Override any GCC internal prototype to avoid an error. | 21214 /* Override any GCC internal prototype to avoid an error. |
12073 Use char because int might match the return type of a GCC | 21215 Use char because int might match the return type of a GCC |
12074 builtin and then its argument prototype would still apply. */ | 21216 builtin and then its argument prototype would still apply. */ |
12082 return strftime (); | 21224 return strftime (); |
12083 ; | 21225 ; |
12084 return 0; | 21226 return 0; |
12085 } | 21227 } |
12086 _ACEOF | 21228 _ACEOF |
12087 if ac_fn_c_try_link "$LINENO"; then : | 21229 rm -f conftest.$ac_objext conftest$ac_exeext |
21230 if { (ac_try="$ac_link" | |
21231 case "(($ac_try" in | |
21232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21233 *) ac_try_echo=$ac_try;; | |
21234 esac | |
21235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21236 $as_echo "$ac_try_echo") >&5 | |
21237 (eval "$ac_link") 2>conftest.er1 | |
21238 ac_status=$? | |
21239 grep -v '^ *+' conftest.er1 >conftest.err | |
21240 rm -f conftest.er1 | |
21241 cat conftest.err >&5 | |
21242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21243 (exit $ac_status); } && { | |
21244 test -z "$ac_c_werror_flag" || | |
21245 test ! -s conftest.err | |
21246 } && test -s conftest$ac_exeext && { | |
21247 test "$cross_compiling" = yes || | |
21248 $as_test_x conftest$ac_exeext | |
21249 }; then | |
12088 ac_cv_lib_intl_strftime=yes | 21250 ac_cv_lib_intl_strftime=yes |
12089 else | 21251 else |
12090 ac_cv_lib_intl_strftime=no | 21252 $as_echo "$as_me: failed program was:" >&5 |
12091 fi | 21253 sed 's/^/| /' conftest.$ac_ext >&5 |
12092 rm -f core conftest.err conftest.$ac_objext \ | 21254 |
12093 conftest$ac_exeext conftest.$ac_ext | 21255 ac_cv_lib_intl_strftime=no |
21256 fi | |
21257 | |
21258 rm -rf conftest.dSYM | |
21259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21260 conftest$ac_exeext conftest.$ac_ext | |
12094 LIBS=$ac_check_lib_save_LIBS | 21261 LIBS=$ac_check_lib_save_LIBS |
12095 fi | 21262 fi |
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 | 21263 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
12097 $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 21264 $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
12098 if test "x$ac_cv_lib_intl_strftime" = x""yes; then : | 21265 if test $ac_cv_lib_intl_strftime = yes; then |
12099 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | 21266 cat >>confdefs.h <<\_ACEOF |
21267 #define HAVE_STRFTIME 1 | |
21268 _ACEOF | |
12100 | 21269 |
12101 LIBS="-lintl $LIBS" | 21270 LIBS="-lintl $LIBS" |
12102 fi | 21271 fi |
12103 | 21272 |
12104 fi | 21273 fi |
12105 done | 21274 done |
12106 | 21275 |
12107 | 21276 |
12108 # UNIX98 PTYs. | 21277 # UNIX98 PTYs. |
21278 | |
12109 for ac_func in grantpt | 21279 for ac_func in grantpt |
12110 do : | 21280 do |
12111 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" | 21281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12112 if test "x$ac_cv_func_grantpt" = x""yes; then : | 21282 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21283 $as_echo_n "checking for $ac_func... " >&6; } | |
21284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
21285 $as_echo_n "(cached) " >&6 | |
21286 else | |
21287 cat >conftest.$ac_ext <<_ACEOF | |
21288 /* confdefs.h. */ | |
21289 _ACEOF | |
21290 cat confdefs.h >>conftest.$ac_ext | |
21291 cat >>conftest.$ac_ext <<_ACEOF | |
21292 /* end confdefs.h. */ | |
21293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
21294 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21295 #define $ac_func innocuous_$ac_func | |
21296 | |
21297 /* System header to define __stub macros and hopefully few prototypes, | |
21298 which can conflict with char $ac_func (); below. | |
21299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21300 <limits.h> exists even on freestanding compilers. */ | |
21301 | |
21302 #ifdef __STDC__ | |
21303 # include <limits.h> | |
21304 #else | |
21305 # include <assert.h> | |
21306 #endif | |
21307 | |
21308 #undef $ac_func | |
21309 | |
21310 /* Override any GCC internal prototype to avoid an error. | |
21311 Use char because int might match the return type of a GCC | |
21312 builtin and then its argument prototype would still apply. */ | |
21313 #ifdef __cplusplus | |
21314 extern "C" | |
21315 #endif | |
21316 char $ac_func (); | |
21317 /* The GNU C library defines this for functions which it implements | |
21318 to always fail with ENOSYS. Some functions are actually named | |
21319 something starting with __ and the normal name is an alias. */ | |
21320 #if defined __stub_$ac_func || defined __stub___$ac_func | |
21321 choke me | |
21322 #endif | |
21323 | |
21324 int | |
21325 main () | |
21326 { | |
21327 return $ac_func (); | |
21328 ; | |
21329 return 0; | |
21330 } | |
21331 _ACEOF | |
21332 rm -f conftest.$ac_objext conftest$ac_exeext | |
21333 if { (ac_try="$ac_link" | |
21334 case "(($ac_try" in | |
21335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21336 *) ac_try_echo=$ac_try;; | |
21337 esac | |
21338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21339 $as_echo "$ac_try_echo") >&5 | |
21340 (eval "$ac_link") 2>conftest.er1 | |
21341 ac_status=$? | |
21342 grep -v '^ *+' conftest.er1 >conftest.err | |
21343 rm -f conftest.er1 | |
21344 cat conftest.err >&5 | |
21345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21346 (exit $ac_status); } && { | |
21347 test -z "$ac_c_werror_flag" || | |
21348 test ! -s conftest.err | |
21349 } && test -s conftest$ac_exeext && { | |
21350 test "$cross_compiling" = yes || | |
21351 $as_test_x conftest$ac_exeext | |
21352 }; then | |
21353 eval "$as_ac_var=yes" | |
21354 else | |
21355 $as_echo "$as_me: failed program was:" >&5 | |
21356 sed 's/^/| /' conftest.$ac_ext >&5 | |
21357 | |
21358 eval "$as_ac_var=no" | |
21359 fi | |
21360 | |
21361 rm -rf conftest.dSYM | |
21362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21363 conftest$ac_exeext conftest.$ac_ext | |
21364 fi | |
21365 ac_res=`eval 'as_val=${'$as_ac_var'} | |
21366 $as_echo "$as_val"'` | |
21367 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
21368 $as_echo "$ac_res" >&6; } | |
21369 if test `eval 'as_val=${'$as_ac_var'} | |
21370 $as_echo "$as_val"'` = yes; then | |
12113 cat >>confdefs.h <<_ACEOF | 21371 cat >>confdefs.h <<_ACEOF |
12114 #define HAVE_GRANTPT 1 | 21372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12115 _ACEOF | 21373 _ACEOF |
12116 | 21374 |
12117 fi | 21375 fi |
12118 done | 21376 done |
12119 | 21377 |
12120 | 21378 |
12121 # PTY-related GNU extensions. | 21379 # PTY-related GNU extensions. |
21380 | |
12122 for ac_func in getpt | 21381 for ac_func in getpt |
12123 do : | 21382 do |
12124 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" | 21383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12125 if test "x$ac_cv_func_getpt" = x""yes; then : | 21384 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21385 $as_echo_n "checking for $ac_func... " >&6; } | |
21386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
21387 $as_echo_n "(cached) " >&6 | |
21388 else | |
21389 cat >conftest.$ac_ext <<_ACEOF | |
21390 /* confdefs.h. */ | |
21391 _ACEOF | |
21392 cat confdefs.h >>conftest.$ac_ext | |
21393 cat >>conftest.$ac_ext <<_ACEOF | |
21394 /* end confdefs.h. */ | |
21395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
21396 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21397 #define $ac_func innocuous_$ac_func | |
21398 | |
21399 /* System header to define __stub macros and hopefully few prototypes, | |
21400 which can conflict with char $ac_func (); below. | |
21401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21402 <limits.h> exists even on freestanding compilers. */ | |
21403 | |
21404 #ifdef __STDC__ | |
21405 # include <limits.h> | |
21406 #else | |
21407 # include <assert.h> | |
21408 #endif | |
21409 | |
21410 #undef $ac_func | |
21411 | |
21412 /* Override any GCC internal prototype to avoid an error. | |
21413 Use char because int might match the return type of a GCC | |
21414 builtin and then its argument prototype would still apply. */ | |
21415 #ifdef __cplusplus | |
21416 extern "C" | |
21417 #endif | |
21418 char $ac_func (); | |
21419 /* The GNU C library defines this for functions which it implements | |
21420 to always fail with ENOSYS. Some functions are actually named | |
21421 something starting with __ and the normal name is an alias. */ | |
21422 #if defined __stub_$ac_func || defined __stub___$ac_func | |
21423 choke me | |
21424 #endif | |
21425 | |
21426 int | |
21427 main () | |
21428 { | |
21429 return $ac_func (); | |
21430 ; | |
21431 return 0; | |
21432 } | |
21433 _ACEOF | |
21434 rm -f conftest.$ac_objext conftest$ac_exeext | |
21435 if { (ac_try="$ac_link" | |
21436 case "(($ac_try" in | |
21437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21438 *) ac_try_echo=$ac_try;; | |
21439 esac | |
21440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21441 $as_echo "$ac_try_echo") >&5 | |
21442 (eval "$ac_link") 2>conftest.er1 | |
21443 ac_status=$? | |
21444 grep -v '^ *+' conftest.er1 >conftest.err | |
21445 rm -f conftest.er1 | |
21446 cat conftest.err >&5 | |
21447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21448 (exit $ac_status); } && { | |
21449 test -z "$ac_c_werror_flag" || | |
21450 test ! -s conftest.err | |
21451 } && test -s conftest$ac_exeext && { | |
21452 test "$cross_compiling" = yes || | |
21453 $as_test_x conftest$ac_exeext | |
21454 }; then | |
21455 eval "$as_ac_var=yes" | |
21456 else | |
21457 $as_echo "$as_me: failed program was:" >&5 | |
21458 sed 's/^/| /' conftest.$ac_ext >&5 | |
21459 | |
21460 eval "$as_ac_var=no" | |
21461 fi | |
21462 | |
21463 rm -rf conftest.dSYM | |
21464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21465 conftest$ac_exeext conftest.$ac_ext | |
21466 fi | |
21467 ac_res=`eval 'as_val=${'$as_ac_var'} | |
21468 $as_echo "$as_val"'` | |
21469 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
21470 $as_echo "$ac_res" >&6; } | |
21471 if test `eval 'as_val=${'$as_ac_var'} | |
21472 $as_echo "$as_val"'` = yes; then | |
12126 cat >>confdefs.h <<_ACEOF | 21473 cat >>confdefs.h <<_ACEOF |
12127 #define HAVE_GETPT 1 | 21474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12128 _ACEOF | 21475 _ACEOF |
12129 | 21476 |
12130 fi | 21477 fi |
12131 done | 21478 done |
12132 | 21479 |
12135 # That is because we have not set up to link ncurses in lib-src. | 21482 # That is because we have not set up to link ncurses in lib-src. |
12136 # It's better to believe a function is not available | 21483 # It's better to believe a function is not available |
12137 # than to expect to find it in ncurses. | 21484 # than to expect to find it in ncurses. |
12138 # Also we need tputs and friends to be able to build at all. | 21485 # Also we need tputs and friends to be able to build at all. |
12139 have_tputs_et_al=true | 21486 have_tputs_et_al=true |
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 | 21487 { $as_echo "$as_me:$LINENO: checking for library containing tputs" >&5 |
12141 $as_echo_n "checking for library containing tputs... " >&6; } | 21488 $as_echo_n "checking for library containing tputs... " >&6; } |
12142 if test "${ac_cv_search_tputs+set}" = set; then : | 21489 if test "${ac_cv_search_tputs+set}" = set; then |
12143 $as_echo_n "(cached) " >&6 | 21490 $as_echo_n "(cached) " >&6 |
12144 else | 21491 else |
12145 ac_func_search_save_LIBS=$LIBS | 21492 ac_func_search_save_LIBS=$LIBS |
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21493 cat >conftest.$ac_ext <<_ACEOF |
21494 /* confdefs.h. */ | |
21495 _ACEOF | |
21496 cat confdefs.h >>conftest.$ac_ext | |
21497 cat >>conftest.$ac_ext <<_ACEOF | |
12147 /* end confdefs.h. */ | 21498 /* end confdefs.h. */ |
12148 | 21499 |
12149 /* Override any GCC internal prototype to avoid an error. | 21500 /* Override any GCC internal prototype to avoid an error. |
12150 Use char because int might match the return type of a GCC | 21501 Use char because int might match the return type of a GCC |
12151 builtin and then its argument prototype would still apply. */ | 21502 builtin and then its argument prototype would still apply. */ |
12166 ac_res="none required" | 21517 ac_res="none required" |
12167 else | 21518 else |
12168 ac_res=-l$ac_lib | 21519 ac_res=-l$ac_lib |
12169 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 21520 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
12170 fi | 21521 fi |
12171 if ac_fn_c_try_link "$LINENO"; then : | 21522 rm -f conftest.$ac_objext conftest$ac_exeext |
21523 if { (ac_try="$ac_link" | |
21524 case "(($ac_try" in | |
21525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21526 *) ac_try_echo=$ac_try;; | |
21527 esac | |
21528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21529 $as_echo "$ac_try_echo") >&5 | |
21530 (eval "$ac_link") 2>conftest.er1 | |
21531 ac_status=$? | |
21532 grep -v '^ *+' conftest.er1 >conftest.err | |
21533 rm -f conftest.er1 | |
21534 cat conftest.err >&5 | |
21535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21536 (exit $ac_status); } && { | |
21537 test -z "$ac_c_werror_flag" || | |
21538 test ! -s conftest.err | |
21539 } && test -s conftest$ac_exeext && { | |
21540 test "$cross_compiling" = yes || | |
21541 $as_test_x conftest$ac_exeext | |
21542 }; then | |
12172 ac_cv_search_tputs=$ac_res | 21543 ac_cv_search_tputs=$ac_res |
12173 fi | 21544 else |
12174 rm -f core conftest.err conftest.$ac_objext \ | 21545 $as_echo "$as_me: failed program was:" >&5 |
12175 conftest$ac_exeext | 21546 sed 's/^/| /' conftest.$ac_ext >&5 |
12176 if test "${ac_cv_search_tputs+set}" = set; then : | 21547 |
21548 | |
21549 fi | |
21550 | |
21551 rm -rf conftest.dSYM | |
21552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21553 conftest$ac_exeext | |
21554 if test "${ac_cv_search_tputs+set}" = set; then | |
12177 break | 21555 break |
12178 fi | 21556 fi |
12179 done | 21557 done |
12180 if test "${ac_cv_search_tputs+set}" = set; then : | 21558 if test "${ac_cv_search_tputs+set}" = set; then |
12181 | 21559 : |
12182 else | 21560 else |
12183 ac_cv_search_tputs=no | 21561 ac_cv_search_tputs=no |
12184 fi | 21562 fi |
12185 rm conftest.$ac_ext | 21563 rm conftest.$ac_ext |
12186 LIBS=$ac_func_search_save_LIBS | 21564 LIBS=$ac_func_search_save_LIBS |
12187 fi | 21565 fi |
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5 | 21566 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tputs" >&5 |
12189 $as_echo "$ac_cv_search_tputs" >&6; } | 21567 $as_echo "$ac_cv_search_tputs" >&6; } |
12190 ac_res=$ac_cv_search_tputs | 21568 ac_res=$ac_cv_search_tputs |
12191 if test "$ac_res" != no; then : | 21569 if test "$ac_res" != no; then |
12192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 21570 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
12193 | 21571 |
12194 else | 21572 else |
12195 have_tputs_et_al=false | 21573 have_tputs_et_al=false |
12196 fi | 21574 fi |
12197 | 21575 |
12198 if test "$have_tputs_et_al" != true; then | 21576 if test "$have_tputs_et_al" != true; then |
12199 as_fn_error "I couldn't find termcap functions (tputs and friends). | 21577 { { $as_echo "$as_me:$LINENO: error: I couldn't find termcap functions (tputs and friends). |
12200 Maybe some development libraries/packages are missing? Try installing | 21578 Maybe some development libraries/packages are missing? Try installing |
12201 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 21579 libncurses-dev(el), libterminfo-dev(el) or similar." >&5 |
21580 $as_echo "$as_me: error: I couldn't find termcap functions (tputs and friends). | |
21581 Maybe some development libraries/packages are missing? Try installing | |
21582 libncurses-dev(el), libterminfo-dev(el) or similar." >&2;} | |
21583 { (exit 1); exit 1; }; } | |
12202 fi | 21584 fi |
12203 # Must define this when any termcap library is found. | 21585 # Must define this when any termcap library is found. |
12204 | 21586 |
12205 $as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h | 21587 cat >>confdefs.h <<\_ACEOF |
21588 #define HAVE_LIBNCURSES 1 | |
21589 _ACEOF | |
12206 | 21590 |
12207 ## FIXME This was the cpp logic, but I am not sure it is right. | 21591 ## FIXME This was the cpp logic, but I am not sure it is right. |
12208 ## The above test has not necessarily found libncurses. | 21592 ## The above test has not necessarily found libncurses. |
12209 HAVE_LIBNCURSES=yes | 21593 HAVE_LIBNCURSES=yes |
12210 | 21594 |
12232 LIBS_TERMCAP="-lncurses" | 21616 LIBS_TERMCAP="-lncurses" |
12233 fi | 21617 fi |
12234 ;; | 21618 ;; |
12235 | 21619 |
12236 freebsd) | 21620 freebsd) |
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 | 21621 { $as_echo "$as_me:$LINENO: checking whether FreeBSD is new enough to use terminfo" >&5 |
12238 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } | 21622 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } |
12239 if test "${emacs_cv_freebsd_terminfo+set}" = set; then : | 21623 if test "${emacs_cv_freebsd_terminfo+set}" = set; then |
12240 $as_echo_n "(cached) " >&6 | 21624 $as_echo_n "(cached) " >&6 |
12241 else | 21625 else |
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21626 cat >conftest.$ac_ext <<_ACEOF |
21627 /* confdefs.h. */ | |
21628 _ACEOF | |
21629 cat confdefs.h >>conftest.$ac_ext | |
21630 cat >>conftest.$ac_ext <<_ACEOF | |
12243 /* end confdefs.h. */ | 21631 /* end confdefs.h. */ |
12244 #include <osreldate.h> | 21632 #include <osreldate.h> |
12245 int | 21633 int |
12246 main () | 21634 main () |
12247 { | 21635 { |
12251 | 21639 |
12252 ; | 21640 ; |
12253 return 0; | 21641 return 0; |
12254 } | 21642 } |
12255 _ACEOF | 21643 _ACEOF |
12256 if ac_fn_c_try_link "$LINENO"; then : | 21644 rm -f conftest.$ac_objext conftest$ac_exeext |
21645 if { (ac_try="$ac_link" | |
21646 case "(($ac_try" in | |
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21648 *) ac_try_echo=$ac_try;; | |
21649 esac | |
21650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21651 $as_echo "$ac_try_echo") >&5 | |
21652 (eval "$ac_link") 2>conftest.er1 | |
21653 ac_status=$? | |
21654 grep -v '^ *+' conftest.er1 >conftest.err | |
21655 rm -f conftest.er1 | |
21656 cat conftest.err >&5 | |
21657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21658 (exit $ac_status); } && { | |
21659 test -z "$ac_c_werror_flag" || | |
21660 test ! -s conftest.err | |
21661 } && test -s conftest$ac_exeext && { | |
21662 test "$cross_compiling" = yes || | |
21663 $as_test_x conftest$ac_exeext | |
21664 }; then | |
12257 emacs_cv_freebsd_terminfo=yes | 21665 emacs_cv_freebsd_terminfo=yes |
12258 else | 21666 else |
12259 emacs_cv_freebsd_terminfo=no | 21667 $as_echo "$as_me: failed program was:" >&5 |
12260 fi | 21668 sed 's/^/| /' conftest.$ac_ext >&5 |
12261 rm -f core conftest.err conftest.$ac_objext \ | 21669 |
12262 conftest$ac_exeext conftest.$ac_ext | 21670 emacs_cv_freebsd_terminfo=no |
12263 fi | 21671 fi |
12264 | 21672 |
12265 | 21673 rm -rf conftest.dSYM |
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_freebsd_terminfo" >&5 | 21674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21675 conftest$ac_exeext conftest.$ac_ext | |
21676 fi | |
21677 | |
21678 | |
21679 { $as_echo "$as_me:$LINENO: result: $emacs_cv_freebsd_terminfo" >&5 | |
12267 $as_echo "$emacs_cv_freebsd_terminfo" >&6; } | 21680 $as_echo "$emacs_cv_freebsd_terminfo" >&6; } |
12268 | 21681 |
12269 if test $emacs_cv_freebsd_terminfo = yes; then | 21682 if test $emacs_cv_freebsd_terminfo = yes; then |
12270 TERMINFO=yes | 21683 TERMINFO=yes |
12271 LIBS_TERMCAP="-lncurses" | 21684 LIBS_TERMCAP="-lncurses" |
12289 esac | 21702 esac |
12290 | 21703 |
12291 TERMCAP_OBJ=tparam.o | 21704 TERMCAP_OBJ=tparam.o |
12292 if test $TERMINFO = yes; then | 21705 if test $TERMINFO = yes; then |
12293 | 21706 |
12294 $as_echo "#define TERMINFO 1" >>confdefs.h | 21707 cat >>confdefs.h <<\_ACEOF |
21708 #define TERMINFO 1 | |
21709 _ACEOF | |
12295 | 21710 |
12296 | 21711 |
12297 ## Default used to be -ltermcap. Add a case above if need something else. | 21712 ## Default used to be -ltermcap. Add a case above if need something else. |
12298 test "x$LIBS_TERMCAP" = "x" && LIBS_TERMCAP="-lcurses" | 21713 test "x$LIBS_TERMCAP" = "x" && LIBS_TERMCAP="-lcurses" |
12299 | 21714 |
12303 | 21718 |
12304 | 21719 |
12305 | 21720 |
12306 # Do we have res_init, for detecting changes in /etc/resolv.conf? | 21721 # Do we have res_init, for detecting changes in /etc/resolv.conf? |
12307 resolv=no | 21722 resolv=no |
12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21723 cat >conftest.$ac_ext <<_ACEOF |
21724 /* confdefs.h. */ | |
21725 _ACEOF | |
21726 cat confdefs.h >>conftest.$ac_ext | |
21727 cat >>conftest.$ac_ext <<_ACEOF | |
12309 /* end confdefs.h. */ | 21728 /* end confdefs.h. */ |
12310 #include <netinet/in.h> | 21729 #include <netinet/in.h> |
12311 #include <arpa/nameser.h> | 21730 #include <arpa/nameser.h> |
12312 #include <resolv.h> | 21731 #include <resolv.h> |
12313 int | 21732 int |
12316 return res_init(); | 21735 return res_init(); |
12317 ; | 21736 ; |
12318 return 0; | 21737 return 0; |
12319 } | 21738 } |
12320 _ACEOF | 21739 _ACEOF |
12321 if ac_fn_c_try_link "$LINENO"; then : | 21740 rm -f conftest.$ac_objext conftest$ac_exeext |
21741 if { (ac_try="$ac_link" | |
21742 case "(($ac_try" in | |
21743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21744 *) ac_try_echo=$ac_try;; | |
21745 esac | |
21746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21747 $as_echo "$ac_try_echo") >&5 | |
21748 (eval "$ac_link") 2>conftest.er1 | |
21749 ac_status=$? | |
21750 grep -v '^ *+' conftest.er1 >conftest.err | |
21751 rm -f conftest.er1 | |
21752 cat conftest.err >&5 | |
21753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21754 (exit $ac_status); } && { | |
21755 test -z "$ac_c_werror_flag" || | |
21756 test ! -s conftest.err | |
21757 } && test -s conftest$ac_exeext && { | |
21758 test "$cross_compiling" = yes || | |
21759 $as_test_x conftest$ac_exeext | |
21760 }; then | |
12322 have_res_init=yes | 21761 have_res_init=yes |
12323 else | 21762 else |
12324 have_res_init=no | 21763 $as_echo "$as_me: failed program was:" >&5 |
12325 fi | 21764 sed 's/^/| /' conftest.$ac_ext >&5 |
12326 rm -f core conftest.err conftest.$ac_objext \ | 21765 |
12327 conftest$ac_exeext conftest.$ac_ext | 21766 have_res_init=no |
21767 fi | |
21768 | |
21769 rm -rf conftest.dSYM | |
21770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21771 conftest$ac_exeext conftest.$ac_ext | |
12328 if test "$have_res_init" = no; then | 21772 if test "$have_res_init" = no; then |
12329 OLIBS="$LIBS" | 21773 OLIBS="$LIBS" |
12330 LIBS="$LIBS -lresolv" | 21774 LIBS="$LIBS -lresolv" |
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5 | 21775 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 |
12332 $as_echo_n "checking for res_init with -lresolv... " >&6; } | 21776 $as_echo_n "checking for res_init with -lresolv... " >&6; } |
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21777 cat >conftest.$ac_ext <<_ACEOF |
21778 /* confdefs.h. */ | |
21779 _ACEOF | |
21780 cat confdefs.h >>conftest.$ac_ext | |
21781 cat >>conftest.$ac_ext <<_ACEOF | |
12334 /* end confdefs.h. */ | 21782 /* end confdefs.h. */ |
12335 #include <netinet/in.h> | 21783 #include <netinet/in.h> |
12336 #include <arpa/nameser.h> | 21784 #include <arpa/nameser.h> |
12337 #include <resolv.h> | 21785 #include <resolv.h> |
12338 int | 21786 int |
12341 return res_init(); | 21789 return res_init(); |
12342 ; | 21790 ; |
12343 return 0; | 21791 return 0; |
12344 } | 21792 } |
12345 _ACEOF | 21793 _ACEOF |
12346 if ac_fn_c_try_link "$LINENO"; then : | 21794 rm -f conftest.$ac_objext conftest$ac_exeext |
21795 if { (ac_try="$ac_link" | |
21796 case "(($ac_try" in | |
21797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21798 *) ac_try_echo=$ac_try;; | |
21799 esac | |
21800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21801 $as_echo "$ac_try_echo") >&5 | |
21802 (eval "$ac_link") 2>conftest.er1 | |
21803 ac_status=$? | |
21804 grep -v '^ *+' conftest.er1 >conftest.err | |
21805 rm -f conftest.er1 | |
21806 cat conftest.err >&5 | |
21807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21808 (exit $ac_status); } && { | |
21809 test -z "$ac_c_werror_flag" || | |
21810 test ! -s conftest.err | |
21811 } && test -s conftest$ac_exeext && { | |
21812 test "$cross_compiling" = yes || | |
21813 $as_test_x conftest$ac_exeext | |
21814 }; then | |
12347 have_res_init=yes | 21815 have_res_init=yes |
12348 else | 21816 else |
12349 have_res_init=no | 21817 $as_echo "$as_me: failed program was:" >&5 |
12350 fi | 21818 sed 's/^/| /' conftest.$ac_ext >&5 |
12351 rm -f core conftest.err conftest.$ac_objext \ | 21819 |
12352 conftest$ac_exeext conftest.$ac_ext | 21820 have_res_init=no |
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5 | 21821 fi |
21822 | |
21823 rm -rf conftest.dSYM | |
21824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21825 conftest$ac_exeext conftest.$ac_ext | |
21826 { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5 | |
12354 $as_echo "$have_res_init" >&6; } | 21827 $as_echo "$have_res_init" >&6; } |
12355 if test "$have_res_init" = yes ; then | 21828 if test "$have_res_init" = yes ; then |
12356 resolv=yes | 21829 resolv=yes |
12357 fi | 21830 fi |
12358 LIBS="$OLIBS" | 21831 LIBS="$OLIBS" |
12359 fi | 21832 fi |
12360 | 21833 |
12361 if test "$have_res_init" = yes; then | 21834 if test "$have_res_init" = yes; then |
12362 | 21835 |
12363 $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h | 21836 cat >>confdefs.h <<\_ACEOF |
21837 #define HAVE_RES_INIT 1 | |
21838 _ACEOF | |
12364 | 21839 |
12365 fi | 21840 fi |
12366 | 21841 |
12367 # Do we need the Hesiod library to provide the support routines? | 21842 # Do we need the Hesiod library to provide the support routines? |
12368 LIBHESIOD= | 21843 LIBHESIOD= |
12369 if test "$with_hesiod" != no ; then | 21844 if test "$with_hesiod" != no ; then |
12370 # Don't set $LIBS here -- see comments above. FIXME which comments? | 21845 # Don't set $LIBS here -- see comments above. FIXME which comments? |
12371 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" | 21846 { $as_echo "$as_me:$LINENO: checking for res_send" >&5 |
12372 if test "x$ac_cv_func_res_send" = x""yes; then : | 21847 $as_echo_n "checking for res_send... " >&6; } |
12373 | 21848 if test "${ac_cv_func_res_send+set}" = set; then |
12374 else | 21849 $as_echo_n "(cached) " >&6 |
12375 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" | 21850 else |
12376 if test "x$ac_cv_func___res_send" = x""yes; then : | 21851 cat >conftest.$ac_ext <<_ACEOF |
12377 | 21852 /* confdefs.h. */ |
12378 else | 21853 _ACEOF |
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 | 21854 cat confdefs.h >>conftest.$ac_ext |
21855 cat >>conftest.$ac_ext <<_ACEOF | |
21856 /* end confdefs.h. */ | |
21857 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send. | |
21858 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21859 #define res_send innocuous_res_send | |
21860 | |
21861 /* System header to define __stub macros and hopefully few prototypes, | |
21862 which can conflict with char res_send (); below. | |
21863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21864 <limits.h> exists even on freestanding compilers. */ | |
21865 | |
21866 #ifdef __STDC__ | |
21867 # include <limits.h> | |
21868 #else | |
21869 # include <assert.h> | |
21870 #endif | |
21871 | |
21872 #undef res_send | |
21873 | |
21874 /* Override any GCC internal prototype to avoid an error. | |
21875 Use char because int might match the return type of a GCC | |
21876 builtin and then its argument prototype would still apply. */ | |
21877 #ifdef __cplusplus | |
21878 extern "C" | |
21879 #endif | |
21880 char res_send (); | |
21881 /* The GNU C library defines this for functions which it implements | |
21882 to always fail with ENOSYS. Some functions are actually named | |
21883 something starting with __ and the normal name is an alias. */ | |
21884 #if defined __stub_res_send || defined __stub___res_send | |
21885 choke me | |
21886 #endif | |
21887 | |
21888 int | |
21889 main () | |
21890 { | |
21891 return res_send (); | |
21892 ; | |
21893 return 0; | |
21894 } | |
21895 _ACEOF | |
21896 rm -f conftest.$ac_objext conftest$ac_exeext | |
21897 if { (ac_try="$ac_link" | |
21898 case "(($ac_try" in | |
21899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21900 *) ac_try_echo=$ac_try;; | |
21901 esac | |
21902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21903 $as_echo "$ac_try_echo") >&5 | |
21904 (eval "$ac_link") 2>conftest.er1 | |
21905 ac_status=$? | |
21906 grep -v '^ *+' conftest.er1 >conftest.err | |
21907 rm -f conftest.er1 | |
21908 cat conftest.err >&5 | |
21909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21910 (exit $ac_status); } && { | |
21911 test -z "$ac_c_werror_flag" || | |
21912 test ! -s conftest.err | |
21913 } && test -s conftest$ac_exeext && { | |
21914 test "$cross_compiling" = yes || | |
21915 $as_test_x conftest$ac_exeext | |
21916 }; then | |
21917 ac_cv_func_res_send=yes | |
21918 else | |
21919 $as_echo "$as_me: failed program was:" >&5 | |
21920 sed 's/^/| /' conftest.$ac_ext >&5 | |
21921 | |
21922 ac_cv_func_res_send=no | |
21923 fi | |
21924 | |
21925 rm -rf conftest.dSYM | |
21926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21927 conftest$ac_exeext conftest.$ac_ext | |
21928 fi | |
21929 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | |
21930 $as_echo "$ac_cv_func_res_send" >&6; } | |
21931 if test $ac_cv_func_res_send = yes; then | |
21932 : | |
21933 else | |
21934 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5 | |
21935 $as_echo_n "checking for __res_send... " >&6; } | |
21936 if test "${ac_cv_func___res_send+set}" = set; then | |
21937 $as_echo_n "(cached) " >&6 | |
21938 else | |
21939 cat >conftest.$ac_ext <<_ACEOF | |
21940 /* confdefs.h. */ | |
21941 _ACEOF | |
21942 cat confdefs.h >>conftest.$ac_ext | |
21943 cat >>conftest.$ac_ext <<_ACEOF | |
21944 /* end confdefs.h. */ | |
21945 /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send. | |
21946 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21947 #define __res_send innocuous___res_send | |
21948 | |
21949 /* System header to define __stub macros and hopefully few prototypes, | |
21950 which can conflict with char __res_send (); below. | |
21951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
21952 <limits.h> exists even on freestanding compilers. */ | |
21953 | |
21954 #ifdef __STDC__ | |
21955 # include <limits.h> | |
21956 #else | |
21957 # include <assert.h> | |
21958 #endif | |
21959 | |
21960 #undef __res_send | |
21961 | |
21962 /* Override any GCC internal prototype to avoid an error. | |
21963 Use char because int might match the return type of a GCC | |
21964 builtin and then its argument prototype would still apply. */ | |
21965 #ifdef __cplusplus | |
21966 extern "C" | |
21967 #endif | |
21968 char __res_send (); | |
21969 /* The GNU C library defines this for functions which it implements | |
21970 to always fail with ENOSYS. Some functions are actually named | |
21971 something starting with __ and the normal name is an alias. */ | |
21972 #if defined __stub___res_send || defined __stub_____res_send | |
21973 choke me | |
21974 #endif | |
21975 | |
21976 int | |
21977 main () | |
21978 { | |
21979 return __res_send (); | |
21980 ; | |
21981 return 0; | |
21982 } | |
21983 _ACEOF | |
21984 rm -f conftest.$ac_objext conftest$ac_exeext | |
21985 if { (ac_try="$ac_link" | |
21986 case "(($ac_try" in | |
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21988 *) ac_try_echo=$ac_try;; | |
21989 esac | |
21990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
21991 $as_echo "$ac_try_echo") >&5 | |
21992 (eval "$ac_link") 2>conftest.er1 | |
21993 ac_status=$? | |
21994 grep -v '^ *+' conftest.er1 >conftest.err | |
21995 rm -f conftest.er1 | |
21996 cat conftest.err >&5 | |
21997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21998 (exit $ac_status); } && { | |
21999 test -z "$ac_c_werror_flag" || | |
22000 test ! -s conftest.err | |
22001 } && test -s conftest$ac_exeext && { | |
22002 test "$cross_compiling" = yes || | |
22003 $as_test_x conftest$ac_exeext | |
22004 }; then | |
22005 ac_cv_func___res_send=yes | |
22006 else | |
22007 $as_echo "$as_me: failed program was:" >&5 | |
22008 sed 's/^/| /' conftest.$ac_ext >&5 | |
22009 | |
22010 ac_cv_func___res_send=no | |
22011 fi | |
22012 | |
22013 rm -rf conftest.dSYM | |
22014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22015 conftest$ac_exeext conftest.$ac_ext | |
22016 fi | |
22017 { $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | |
22018 $as_echo "$ac_cv_func___res_send" >&6; } | |
22019 if test $ac_cv_func___res_send = yes; then | |
22020 : | |
22021 else | |
22022 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 | |
12380 $as_echo_n "checking for res_send in -lresolv... " >&6; } | 22023 $as_echo_n "checking for res_send in -lresolv... " >&6; } |
12381 if test "${ac_cv_lib_resolv_res_send+set}" = set; then : | 22024 if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
12382 $as_echo_n "(cached) " >&6 | 22025 $as_echo_n "(cached) " >&6 |
12383 else | 22026 else |
12384 ac_check_lib_save_LIBS=$LIBS | 22027 ac_check_lib_save_LIBS=$LIBS |
12385 LIBS="-lresolv $LIBS" | 22028 LIBS="-lresolv $LIBS" |
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22029 cat >conftest.$ac_ext <<_ACEOF |
22030 /* confdefs.h. */ | |
22031 _ACEOF | |
22032 cat confdefs.h >>conftest.$ac_ext | |
22033 cat >>conftest.$ac_ext <<_ACEOF | |
12387 /* end confdefs.h. */ | 22034 /* end confdefs.h. */ |
12388 | 22035 |
12389 /* Override any GCC internal prototype to avoid an error. | 22036 /* Override any GCC internal prototype to avoid an error. |
12390 Use char because int might match the return type of a GCC | 22037 Use char because int might match the return type of a GCC |
12391 builtin and then its argument prototype would still apply. */ | 22038 builtin and then its argument prototype would still apply. */ |
12399 return res_send (); | 22046 return res_send (); |
12400 ; | 22047 ; |
12401 return 0; | 22048 return 0; |
12402 } | 22049 } |
12403 _ACEOF | 22050 _ACEOF |
12404 if ac_fn_c_try_link "$LINENO"; then : | 22051 rm -f conftest.$ac_objext conftest$ac_exeext |
22052 if { (ac_try="$ac_link" | |
22053 case "(($ac_try" in | |
22054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22055 *) ac_try_echo=$ac_try;; | |
22056 esac | |
22057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22058 $as_echo "$ac_try_echo") >&5 | |
22059 (eval "$ac_link") 2>conftest.er1 | |
22060 ac_status=$? | |
22061 grep -v '^ *+' conftest.er1 >conftest.err | |
22062 rm -f conftest.er1 | |
22063 cat conftest.err >&5 | |
22064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22065 (exit $ac_status); } && { | |
22066 test -z "$ac_c_werror_flag" || | |
22067 test ! -s conftest.err | |
22068 } && test -s conftest$ac_exeext && { | |
22069 test "$cross_compiling" = yes || | |
22070 $as_test_x conftest$ac_exeext | |
22071 }; then | |
12405 ac_cv_lib_resolv_res_send=yes | 22072 ac_cv_lib_resolv_res_send=yes |
12406 else | 22073 else |
12407 ac_cv_lib_resolv_res_send=no | 22074 $as_echo "$as_me: failed program was:" >&5 |
12408 fi | 22075 sed 's/^/| /' conftest.$ac_ext >&5 |
12409 rm -f core conftest.err conftest.$ac_objext \ | 22076 |
12410 conftest$ac_exeext conftest.$ac_ext | 22077 ac_cv_lib_resolv_res_send=no |
22078 fi | |
22079 | |
22080 rm -rf conftest.dSYM | |
22081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22082 conftest$ac_exeext conftest.$ac_ext | |
12411 LIBS=$ac_check_lib_save_LIBS | 22083 LIBS=$ac_check_lib_save_LIBS |
12412 fi | 22084 fi |
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 | 22085 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 |
12414 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } | 22086 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } |
12415 if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : | 22087 if test $ac_cv_lib_resolv_res_send = yes; then |
12416 resolv=yes | 22088 resolv=yes |
12417 else | 22089 else |
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 | 22090 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 |
12419 $as_echo_n "checking for __res_send in -lresolv... " >&6; } | 22091 $as_echo_n "checking for __res_send in -lresolv... " >&6; } |
12420 if test "${ac_cv_lib_resolv___res_send+set}" = set; then : | 22092 if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
12421 $as_echo_n "(cached) " >&6 | 22093 $as_echo_n "(cached) " >&6 |
12422 else | 22094 else |
12423 ac_check_lib_save_LIBS=$LIBS | 22095 ac_check_lib_save_LIBS=$LIBS |
12424 LIBS="-lresolv $LIBS" | 22096 LIBS="-lresolv $LIBS" |
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22097 cat >conftest.$ac_ext <<_ACEOF |
22098 /* confdefs.h. */ | |
22099 _ACEOF | |
22100 cat confdefs.h >>conftest.$ac_ext | |
22101 cat >>conftest.$ac_ext <<_ACEOF | |
12426 /* end confdefs.h. */ | 22102 /* end confdefs.h. */ |
12427 | 22103 |
12428 /* Override any GCC internal prototype to avoid an error. | 22104 /* Override any GCC internal prototype to avoid an error. |
12429 Use char because int might match the return type of a GCC | 22105 Use char because int might match the return type of a GCC |
12430 builtin and then its argument prototype would still apply. */ | 22106 builtin and then its argument prototype would still apply. */ |
12438 return __res_send (); | 22114 return __res_send (); |
12439 ; | 22115 ; |
12440 return 0; | 22116 return 0; |
12441 } | 22117 } |
12442 _ACEOF | 22118 _ACEOF |
12443 if ac_fn_c_try_link "$LINENO"; then : | 22119 rm -f conftest.$ac_objext conftest$ac_exeext |
22120 if { (ac_try="$ac_link" | |
22121 case "(($ac_try" in | |
22122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22123 *) ac_try_echo=$ac_try;; | |
22124 esac | |
22125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22126 $as_echo "$ac_try_echo") >&5 | |
22127 (eval "$ac_link") 2>conftest.er1 | |
22128 ac_status=$? | |
22129 grep -v '^ *+' conftest.er1 >conftest.err | |
22130 rm -f conftest.er1 | |
22131 cat conftest.err >&5 | |
22132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22133 (exit $ac_status); } && { | |
22134 test -z "$ac_c_werror_flag" || | |
22135 test ! -s conftest.err | |
22136 } && test -s conftest$ac_exeext && { | |
22137 test "$cross_compiling" = yes || | |
22138 $as_test_x conftest$ac_exeext | |
22139 }; then | |
12444 ac_cv_lib_resolv___res_send=yes | 22140 ac_cv_lib_resolv___res_send=yes |
12445 else | 22141 else |
12446 ac_cv_lib_resolv___res_send=no | 22142 $as_echo "$as_me: failed program was:" >&5 |
12447 fi | 22143 sed 's/^/| /' conftest.$ac_ext >&5 |
12448 rm -f core conftest.err conftest.$ac_objext \ | 22144 |
12449 conftest$ac_exeext conftest.$ac_ext | 22145 ac_cv_lib_resolv___res_send=no |
22146 fi | |
22147 | |
22148 rm -rf conftest.dSYM | |
22149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22150 conftest$ac_exeext conftest.$ac_ext | |
12450 LIBS=$ac_check_lib_save_LIBS | 22151 LIBS=$ac_check_lib_save_LIBS |
12451 fi | 22152 fi |
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 | 22153 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 |
12453 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } | 22154 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } |
12454 if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : | 22155 if test $ac_cv_lib_resolv___res_send = yes; then |
12455 resolv=yes | 22156 resolv=yes |
12456 fi | 22157 fi |
12457 | 22158 |
12458 fi | 22159 fi |
12459 | 22160 |
12464 if test "$resolv" = yes ; then | 22165 if test "$resolv" = yes ; then |
12465 RESOLVLIB=-lresolv | 22166 RESOLVLIB=-lresolv |
12466 else | 22167 else |
12467 RESOLVLIB= | 22168 RESOLVLIB= |
12468 fi | 22169 fi |
12469 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" | 22170 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 |
12470 if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : | 22171 $as_echo_n "checking for hes_getmailhost... " >&6; } |
12471 | 22172 if test "${ac_cv_func_hes_getmailhost+set}" = set; then |
12472 else | 22173 $as_echo_n "(cached) " >&6 |
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 | 22174 else |
22175 cat >conftest.$ac_ext <<_ACEOF | |
22176 /* confdefs.h. */ | |
22177 _ACEOF | |
22178 cat confdefs.h >>conftest.$ac_ext | |
22179 cat >>conftest.$ac_ext <<_ACEOF | |
22180 /* end confdefs.h. */ | |
22181 /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost. | |
22182 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
22183 #define hes_getmailhost innocuous_hes_getmailhost | |
22184 | |
22185 /* System header to define __stub macros and hopefully few prototypes, | |
22186 which can conflict with char hes_getmailhost (); below. | |
22187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
22188 <limits.h> exists even on freestanding compilers. */ | |
22189 | |
22190 #ifdef __STDC__ | |
22191 # include <limits.h> | |
22192 #else | |
22193 # include <assert.h> | |
22194 #endif | |
22195 | |
22196 #undef hes_getmailhost | |
22197 | |
22198 /* Override any GCC internal prototype to avoid an error. | |
22199 Use char because int might match the return type of a GCC | |
22200 builtin and then its argument prototype would still apply. */ | |
22201 #ifdef __cplusplus | |
22202 extern "C" | |
22203 #endif | |
22204 char hes_getmailhost (); | |
22205 /* The GNU C library defines this for functions which it implements | |
22206 to always fail with ENOSYS. Some functions are actually named | |
22207 something starting with __ and the normal name is an alias. */ | |
22208 #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost | |
22209 choke me | |
22210 #endif | |
22211 | |
22212 int | |
22213 main () | |
22214 { | |
22215 return hes_getmailhost (); | |
22216 ; | |
22217 return 0; | |
22218 } | |
22219 _ACEOF | |
22220 rm -f conftest.$ac_objext conftest$ac_exeext | |
22221 if { (ac_try="$ac_link" | |
22222 case "(($ac_try" in | |
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22224 *) ac_try_echo=$ac_try;; | |
22225 esac | |
22226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22227 $as_echo "$ac_try_echo") >&5 | |
22228 (eval "$ac_link") 2>conftest.er1 | |
22229 ac_status=$? | |
22230 grep -v '^ *+' conftest.er1 >conftest.err | |
22231 rm -f conftest.er1 | |
22232 cat conftest.err >&5 | |
22233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22234 (exit $ac_status); } && { | |
22235 test -z "$ac_c_werror_flag" || | |
22236 test ! -s conftest.err | |
22237 } && test -s conftest$ac_exeext && { | |
22238 test "$cross_compiling" = yes || | |
22239 $as_test_x conftest$ac_exeext | |
22240 }; then | |
22241 ac_cv_func_hes_getmailhost=yes | |
22242 else | |
22243 $as_echo "$as_me: failed program was:" >&5 | |
22244 sed 's/^/| /' conftest.$ac_ext >&5 | |
22245 | |
22246 ac_cv_func_hes_getmailhost=no | |
22247 fi | |
22248 | |
22249 rm -rf conftest.dSYM | |
22250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22251 conftest$ac_exeext conftest.$ac_ext | |
22252 fi | |
22253 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | |
22254 $as_echo "$ac_cv_func_hes_getmailhost" >&6; } | |
22255 if test $ac_cv_func_hes_getmailhost = yes; then | |
22256 : | |
22257 else | |
22258 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 | |
12474 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } | 22259 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } |
12475 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : | 22260 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
12476 $as_echo_n "(cached) " >&6 | 22261 $as_echo_n "(cached) " >&6 |
12477 else | 22262 else |
12478 ac_check_lib_save_LIBS=$LIBS | 22263 ac_check_lib_save_LIBS=$LIBS |
12479 LIBS="-lhesiod $RESOLVLIB $LIBS" | 22264 LIBS="-lhesiod $RESOLVLIB $LIBS" |
12480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22265 cat >conftest.$ac_ext <<_ACEOF |
22266 /* confdefs.h. */ | |
22267 _ACEOF | |
22268 cat confdefs.h >>conftest.$ac_ext | |
22269 cat >>conftest.$ac_ext <<_ACEOF | |
12481 /* end confdefs.h. */ | 22270 /* end confdefs.h. */ |
12482 | 22271 |
12483 /* Override any GCC internal prototype to avoid an error. | 22272 /* Override any GCC internal prototype to avoid an error. |
12484 Use char because int might match the return type of a GCC | 22273 Use char because int might match the return type of a GCC |
12485 builtin and then its argument prototype would still apply. */ | 22274 builtin and then its argument prototype would still apply. */ |
12493 return hes_getmailhost (); | 22282 return hes_getmailhost (); |
12494 ; | 22283 ; |
12495 return 0; | 22284 return 0; |
12496 } | 22285 } |
12497 _ACEOF | 22286 _ACEOF |
12498 if ac_fn_c_try_link "$LINENO"; then : | 22287 rm -f conftest.$ac_objext conftest$ac_exeext |
22288 if { (ac_try="$ac_link" | |
22289 case "(($ac_try" in | |
22290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22291 *) ac_try_echo=$ac_try;; | |
22292 esac | |
22293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22294 $as_echo "$ac_try_echo") >&5 | |
22295 (eval "$ac_link") 2>conftest.er1 | |
22296 ac_status=$? | |
22297 grep -v '^ *+' conftest.er1 >conftest.err | |
22298 rm -f conftest.er1 | |
22299 cat conftest.err >&5 | |
22300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22301 (exit $ac_status); } && { | |
22302 test -z "$ac_c_werror_flag" || | |
22303 test ! -s conftest.err | |
22304 } && test -s conftest$ac_exeext && { | |
22305 test "$cross_compiling" = yes || | |
22306 $as_test_x conftest$ac_exeext | |
22307 }; then | |
12499 ac_cv_lib_hesiod_hes_getmailhost=yes | 22308 ac_cv_lib_hesiod_hes_getmailhost=yes |
12500 else | 22309 else |
12501 ac_cv_lib_hesiod_hes_getmailhost=no | 22310 $as_echo "$as_me: failed program was:" >&5 |
12502 fi | 22311 sed 's/^/| /' conftest.$ac_ext >&5 |
12503 rm -f core conftest.err conftest.$ac_objext \ | 22312 |
12504 conftest$ac_exeext conftest.$ac_ext | 22313 ac_cv_lib_hesiod_hes_getmailhost=no |
22314 fi | |
22315 | |
22316 rm -rf conftest.dSYM | |
22317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22318 conftest$ac_exeext conftest.$ac_ext | |
12505 LIBS=$ac_check_lib_save_LIBS | 22319 LIBS=$ac_check_lib_save_LIBS |
12506 fi | 22320 fi |
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 22321 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
12508 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } | 22322 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
12509 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : | 22323 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
12510 hesiod=yes | 22324 hesiod=yes |
12511 else | 22325 else |
12512 : | 22326 : |
12513 fi | 22327 fi |
12514 | 22328 |
12515 fi | 22329 fi |
12516 | 22330 |
12517 | 22331 |
12518 if test x"$hesiod" = xyes; then | 22332 if test x"$hesiod" = xyes; then |
12519 | 22333 |
12520 $as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h | 22334 cat >>confdefs.h <<\_ACEOF |
22335 #define HAVE_LIBHESIOD 1 | |
22336 _ACEOF | |
12521 | 22337 |
12522 LIBHESIOD=-lhesiod | 22338 LIBHESIOD=-lhesiod |
12523 fi | 22339 fi |
12524 fi | 22340 fi |
12525 | 22341 |
12526 | 22342 |
12527 # Do we need libresolv (due to res_init or Hesiod)? | 22343 # Do we need libresolv (due to res_init or Hesiod)? |
12528 if test "$resolv" = yes ; then | 22344 if test "$resolv" = yes ; then |
12529 | 22345 |
12530 $as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h | 22346 cat >>confdefs.h <<\_ACEOF |
22347 #define HAVE_LIBRESOLV 1 | |
22348 _ACEOF | |
12531 | 22349 |
12532 LIBRESOLV=-lresolv | 22350 LIBRESOLV=-lresolv |
12533 else | 22351 else |
12534 LIBRESOLV= | 22352 LIBRESOLV= |
12535 fi | 22353 fi |
12541 KRB5LIB= | 22359 KRB5LIB= |
12542 DESLIB= | 22360 DESLIB= |
12543 KRB4LIB= | 22361 KRB4LIB= |
12544 | 22362 |
12545 if test "${with_kerberos}" != no; then | 22363 if test "${with_kerberos}" != no; then |
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 | 22364 { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
12547 $as_echo_n "checking for com_err in -lcom_err... " >&6; } | 22365 $as_echo_n "checking for com_err in -lcom_err... " >&6; } |
12548 if test "${ac_cv_lib_com_err_com_err+set}" = set; then : | 22366 if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
12549 $as_echo_n "(cached) " >&6 | 22367 $as_echo_n "(cached) " >&6 |
12550 else | 22368 else |
12551 ac_check_lib_save_LIBS=$LIBS | 22369 ac_check_lib_save_LIBS=$LIBS |
12552 LIBS="-lcom_err $LIBS" | 22370 LIBS="-lcom_err $LIBS" |
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22371 cat >conftest.$ac_ext <<_ACEOF |
22372 /* confdefs.h. */ | |
22373 _ACEOF | |
22374 cat confdefs.h >>conftest.$ac_ext | |
22375 cat >>conftest.$ac_ext <<_ACEOF | |
12554 /* end confdefs.h. */ | 22376 /* end confdefs.h. */ |
12555 | 22377 |
12556 /* Override any GCC internal prototype to avoid an error. | 22378 /* Override any GCC internal prototype to avoid an error. |
12557 Use char because int might match the return type of a GCC | 22379 Use char because int might match the return type of a GCC |
12558 builtin and then its argument prototype would still apply. */ | 22380 builtin and then its argument prototype would still apply. */ |
12566 return com_err (); | 22388 return com_err (); |
12567 ; | 22389 ; |
12568 return 0; | 22390 return 0; |
12569 } | 22391 } |
12570 _ACEOF | 22392 _ACEOF |
12571 if ac_fn_c_try_link "$LINENO"; then : | 22393 rm -f conftest.$ac_objext conftest$ac_exeext |
22394 if { (ac_try="$ac_link" | |
22395 case "(($ac_try" in | |
22396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22397 *) ac_try_echo=$ac_try;; | |
22398 esac | |
22399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22400 $as_echo "$ac_try_echo") >&5 | |
22401 (eval "$ac_link") 2>conftest.er1 | |
22402 ac_status=$? | |
22403 grep -v '^ *+' conftest.er1 >conftest.err | |
22404 rm -f conftest.er1 | |
22405 cat conftest.err >&5 | |
22406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22407 (exit $ac_status); } && { | |
22408 test -z "$ac_c_werror_flag" || | |
22409 test ! -s conftest.err | |
22410 } && test -s conftest$ac_exeext && { | |
22411 test "$cross_compiling" = yes || | |
22412 $as_test_x conftest$ac_exeext | |
22413 }; then | |
12572 ac_cv_lib_com_err_com_err=yes | 22414 ac_cv_lib_com_err_com_err=yes |
12573 else | 22415 else |
12574 ac_cv_lib_com_err_com_err=no | 22416 $as_echo "$as_me: failed program was:" >&5 |
12575 fi | 22417 sed 's/^/| /' conftest.$ac_ext >&5 |
12576 rm -f core conftest.err conftest.$ac_objext \ | 22418 |
12577 conftest$ac_exeext conftest.$ac_ext | 22419 ac_cv_lib_com_err_com_err=no |
22420 fi | |
22421 | |
22422 rm -rf conftest.dSYM | |
22423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22424 conftest$ac_exeext conftest.$ac_ext | |
12578 LIBS=$ac_check_lib_save_LIBS | 22425 LIBS=$ac_check_lib_save_LIBS |
12579 fi | 22426 fi |
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 | 22427 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
12581 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } | 22428 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } |
12582 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : | 22429 if test $ac_cv_lib_com_err_com_err = yes; then |
12583 have_com_err=yes | 22430 have_com_err=yes |
12584 else | 22431 else |
12585 have_com_err=no | 22432 have_com_err=no |
12586 fi | 22433 fi |
12587 | 22434 |
12588 if test $have_com_err = yes; then | 22435 if test $have_com_err = yes; then |
12589 COM_ERRLIB=-lcom_err | 22436 COM_ERRLIB=-lcom_err |
12590 LIBS="$COM_ERRLIB $LIBS" | 22437 LIBS="$COM_ERRLIB $LIBS" |
12591 | 22438 |
12592 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h | 22439 cat >>confdefs.h <<\_ACEOF |
22440 #define HAVE_LIBCOM_ERR 1 | |
22441 _ACEOF | |
12593 | 22442 |
12594 fi | 22443 fi |
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 22444 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
12596 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } | 22445 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } |
12597 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : | 22446 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
12598 $as_echo_n "(cached) " >&6 | 22447 $as_echo_n "(cached) " >&6 |
12599 else | 22448 else |
12600 ac_check_lib_save_LIBS=$LIBS | 22449 ac_check_lib_save_LIBS=$LIBS |
12601 LIBS="-lcrypto $LIBS" | 22450 LIBS="-lcrypto $LIBS" |
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22451 cat >conftest.$ac_ext <<_ACEOF |
22452 /* confdefs.h. */ | |
22453 _ACEOF | |
22454 cat confdefs.h >>conftest.$ac_ext | |
22455 cat >>conftest.$ac_ext <<_ACEOF | |
12603 /* end confdefs.h. */ | 22456 /* end confdefs.h. */ |
12604 | 22457 |
12605 /* Override any GCC internal prototype to avoid an error. | 22458 /* Override any GCC internal prototype to avoid an error. |
12606 Use char because int might match the return type of a GCC | 22459 Use char because int might match the return type of a GCC |
12607 builtin and then its argument prototype would still apply. */ | 22460 builtin and then its argument prototype would still apply. */ |
12615 return mit_des_cbc_encrypt (); | 22468 return mit_des_cbc_encrypt (); |
12616 ; | 22469 ; |
12617 return 0; | 22470 return 0; |
12618 } | 22471 } |
12619 _ACEOF | 22472 _ACEOF |
12620 if ac_fn_c_try_link "$LINENO"; then : | 22473 rm -f conftest.$ac_objext conftest$ac_exeext |
22474 if { (ac_try="$ac_link" | |
22475 case "(($ac_try" in | |
22476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22477 *) ac_try_echo=$ac_try;; | |
22478 esac | |
22479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22480 $as_echo "$ac_try_echo") >&5 | |
22481 (eval "$ac_link") 2>conftest.er1 | |
22482 ac_status=$? | |
22483 grep -v '^ *+' conftest.er1 >conftest.err | |
22484 rm -f conftest.er1 | |
22485 cat conftest.err >&5 | |
22486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22487 (exit $ac_status); } && { | |
22488 test -z "$ac_c_werror_flag" || | |
22489 test ! -s conftest.err | |
22490 } && test -s conftest$ac_exeext && { | |
22491 test "$cross_compiling" = yes || | |
22492 $as_test_x conftest$ac_exeext | |
22493 }; then | |
12621 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 22494 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
12622 else | 22495 else |
12623 ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 22496 $as_echo "$as_me: failed program was:" >&5 |
12624 fi | 22497 sed 's/^/| /' conftest.$ac_ext >&5 |
12625 rm -f core conftest.err conftest.$ac_objext \ | 22498 |
12626 conftest$ac_exeext conftest.$ac_ext | 22499 ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
22500 fi | |
22501 | |
22502 rm -rf conftest.dSYM | |
22503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22504 conftest$ac_exeext conftest.$ac_ext | |
12627 LIBS=$ac_check_lib_save_LIBS | 22505 LIBS=$ac_check_lib_save_LIBS |
12628 fi | 22506 fi |
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 22507 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
12630 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } | 22508 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
12631 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : | 22509 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
12632 have_crypto=yes | 22510 have_crypto=yes |
12633 else | 22511 else |
12634 have_crypto=no | 22512 have_crypto=no |
12635 fi | 22513 fi |
12636 | 22514 |
12637 if test $have_crypto = yes; then | 22515 if test $have_crypto = yes; then |
12638 CRYPTOLIB=-lcrypto | 22516 CRYPTOLIB=-lcrypto |
12639 LIBS="$CRYPTOLIB $LIBS" | 22517 LIBS="$CRYPTOLIB $LIBS" |
12640 | 22518 |
12641 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h | 22519 cat >>confdefs.h <<\_ACEOF |
22520 #define HAVE_LIBCRYPTO 1 | |
22521 _ACEOF | |
12642 | 22522 |
12643 fi | 22523 fi |
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 22524 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
12645 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } | 22525 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } |
12646 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : | 22526 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
12647 $as_echo_n "(cached) " >&6 | 22527 $as_echo_n "(cached) " >&6 |
12648 else | 22528 else |
12649 ac_check_lib_save_LIBS=$LIBS | 22529 ac_check_lib_save_LIBS=$LIBS |
12650 LIBS="-lk5crypto $LIBS" | 22530 LIBS="-lk5crypto $LIBS" |
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22531 cat >conftest.$ac_ext <<_ACEOF |
22532 /* confdefs.h. */ | |
22533 _ACEOF | |
22534 cat confdefs.h >>conftest.$ac_ext | |
22535 cat >>conftest.$ac_ext <<_ACEOF | |
12652 /* end confdefs.h. */ | 22536 /* end confdefs.h. */ |
12653 | 22537 |
12654 /* Override any GCC internal prototype to avoid an error. | 22538 /* Override any GCC internal prototype to avoid an error. |
12655 Use char because int might match the return type of a GCC | 22539 Use char because int might match the return type of a GCC |
12656 builtin and then its argument prototype would still apply. */ | 22540 builtin and then its argument prototype would still apply. */ |
12664 return mit_des_cbc_encrypt (); | 22548 return mit_des_cbc_encrypt (); |
12665 ; | 22549 ; |
12666 return 0; | 22550 return 0; |
12667 } | 22551 } |
12668 _ACEOF | 22552 _ACEOF |
12669 if ac_fn_c_try_link "$LINENO"; then : | 22553 rm -f conftest.$ac_objext conftest$ac_exeext |
22554 if { (ac_try="$ac_link" | |
22555 case "(($ac_try" in | |
22556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22557 *) ac_try_echo=$ac_try;; | |
22558 esac | |
22559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22560 $as_echo "$ac_try_echo") >&5 | |
22561 (eval "$ac_link") 2>conftest.er1 | |
22562 ac_status=$? | |
22563 grep -v '^ *+' conftest.er1 >conftest.err | |
22564 rm -f conftest.er1 | |
22565 cat conftest.err >&5 | |
22566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22567 (exit $ac_status); } && { | |
22568 test -z "$ac_c_werror_flag" || | |
22569 test ! -s conftest.err | |
22570 } && test -s conftest$ac_exeext && { | |
22571 test "$cross_compiling" = yes || | |
22572 $as_test_x conftest$ac_exeext | |
22573 }; then | |
12670 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 22574 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
12671 else | 22575 else |
12672 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 22576 $as_echo "$as_me: failed program was:" >&5 |
12673 fi | 22577 sed 's/^/| /' conftest.$ac_ext >&5 |
12674 rm -f core conftest.err conftest.$ac_objext \ | 22578 |
12675 conftest$ac_exeext conftest.$ac_ext | 22579 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
22580 fi | |
22581 | |
22582 rm -rf conftest.dSYM | |
22583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22584 conftest$ac_exeext conftest.$ac_ext | |
12676 LIBS=$ac_check_lib_save_LIBS | 22585 LIBS=$ac_check_lib_save_LIBS |
12677 fi | 22586 fi |
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 22587 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
12679 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } | 22588 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
12680 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : | 22589 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
12681 have_k5crypto=yes | 22590 have_k5crypto=yes |
12682 else | 22591 else |
12683 have_k5crypto=no | 22592 have_k5crypto=no |
12684 fi | 22593 fi |
12685 | 22594 |
12686 if test $have_k5crypto = yes; then | 22595 if test $have_k5crypto = yes; then |
12687 CRYPTOLIB=-lk5crypto | 22596 CRYPTOLIB=-lk5crypto |
12688 LIBS="$CRYPTOLIB $LIBS" | 22597 LIBS="$CRYPTOLIB $LIBS" |
12689 | 22598 |
12690 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h | 22599 cat >>confdefs.h <<\_ACEOF |
22600 #define HAVE_LIBK5CRYPTO 1 | |
22601 _ACEOF | |
12691 | 22602 |
12692 fi | 22603 fi |
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 | 22604 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 |
12694 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } | 22605 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } |
12695 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : | 22606 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
12696 $as_echo_n "(cached) " >&6 | 22607 $as_echo_n "(cached) " >&6 |
12697 else | 22608 else |
12698 ac_check_lib_save_LIBS=$LIBS | 22609 ac_check_lib_save_LIBS=$LIBS |
12699 LIBS="-lkrb5 $LIBS" | 22610 LIBS="-lkrb5 $LIBS" |
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22611 cat >conftest.$ac_ext <<_ACEOF |
22612 /* confdefs.h. */ | |
22613 _ACEOF | |
22614 cat confdefs.h >>conftest.$ac_ext | |
22615 cat >>conftest.$ac_ext <<_ACEOF | |
12701 /* end confdefs.h. */ | 22616 /* end confdefs.h. */ |
12702 | 22617 |
12703 /* Override any GCC internal prototype to avoid an error. | 22618 /* Override any GCC internal prototype to avoid an error. |
12704 Use char because int might match the return type of a GCC | 22619 Use char because int might match the return type of a GCC |
12705 builtin and then its argument prototype would still apply. */ | 22620 builtin and then its argument prototype would still apply. */ |
12713 return krb5_init_context (); | 22628 return krb5_init_context (); |
12714 ; | 22629 ; |
12715 return 0; | 22630 return 0; |
12716 } | 22631 } |
12717 _ACEOF | 22632 _ACEOF |
12718 if ac_fn_c_try_link "$LINENO"; then : | 22633 rm -f conftest.$ac_objext conftest$ac_exeext |
22634 if { (ac_try="$ac_link" | |
22635 case "(($ac_try" in | |
22636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22637 *) ac_try_echo=$ac_try;; | |
22638 esac | |
22639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22640 $as_echo "$ac_try_echo") >&5 | |
22641 (eval "$ac_link") 2>conftest.er1 | |
22642 ac_status=$? | |
22643 grep -v '^ *+' conftest.er1 >conftest.err | |
22644 rm -f conftest.er1 | |
22645 cat conftest.err >&5 | |
22646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22647 (exit $ac_status); } && { | |
22648 test -z "$ac_c_werror_flag" || | |
22649 test ! -s conftest.err | |
22650 } && test -s conftest$ac_exeext && { | |
22651 test "$cross_compiling" = yes || | |
22652 $as_test_x conftest$ac_exeext | |
22653 }; then | |
12719 ac_cv_lib_krb5_krb5_init_context=yes | 22654 ac_cv_lib_krb5_krb5_init_context=yes |
12720 else | 22655 else |
12721 ac_cv_lib_krb5_krb5_init_context=no | 22656 $as_echo "$as_me: failed program was:" >&5 |
12722 fi | 22657 sed 's/^/| /' conftest.$ac_ext >&5 |
12723 rm -f core conftest.err conftest.$ac_objext \ | 22658 |
12724 conftest$ac_exeext conftest.$ac_ext | 22659 ac_cv_lib_krb5_krb5_init_context=no |
22660 fi | |
22661 | |
22662 rm -rf conftest.dSYM | |
22663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22664 conftest$ac_exeext conftest.$ac_ext | |
12725 LIBS=$ac_check_lib_save_LIBS | 22665 LIBS=$ac_check_lib_save_LIBS |
12726 fi | 22666 fi |
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 22667 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
12728 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } | 22668 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } |
12729 if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : | 22669 if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
12730 have_krb5=yes | 22670 have_krb5=yes |
12731 else | 22671 else |
12732 have_krb5=no | 22672 have_krb5=no |
12733 fi | 22673 fi |
12734 | 22674 |
12735 if test $have_krb5=yes; then | 22675 if test $have_krb5=yes; then |
12736 KRB5LIB=-lkrb5 | 22676 KRB5LIB=-lkrb5 |
12737 LIBS="$KRB5LIB $LIBS" | 22677 LIBS="$KRB5LIB $LIBS" |
12738 | 22678 |
12739 $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h | 22679 cat >>confdefs.h <<\_ACEOF |
22680 #define HAVE_LIBKRB5 1 | |
22681 _ACEOF | |
12740 | 22682 |
12741 fi | 22683 fi |
12742 if test "${with_kerberos5}" = no; then | 22684 if test "${with_kerberos5}" = no; then |
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 | 22685 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
12744 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } | 22686 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } |
12745 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : | 22687 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
12746 $as_echo_n "(cached) " >&6 | 22688 $as_echo_n "(cached) " >&6 |
12747 else | 22689 else |
12748 ac_check_lib_save_LIBS=$LIBS | 22690 ac_check_lib_save_LIBS=$LIBS |
12749 LIBS="-ldes425 $LIBS" | 22691 LIBS="-ldes425 $LIBS" |
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22692 cat >conftest.$ac_ext <<_ACEOF |
22693 /* confdefs.h. */ | |
22694 _ACEOF | |
22695 cat confdefs.h >>conftest.$ac_ext | |
22696 cat >>conftest.$ac_ext <<_ACEOF | |
12751 /* end confdefs.h. */ | 22697 /* end confdefs.h. */ |
12752 | 22698 |
12753 /* Override any GCC internal prototype to avoid an error. | 22699 /* Override any GCC internal prototype to avoid an error. |
12754 Use char because int might match the return type of a GCC | 22700 Use char because int might match the return type of a GCC |
12755 builtin and then its argument prototype would still apply. */ | 22701 builtin and then its argument prototype would still apply. */ |
12763 return des_cbc_encrypt (); | 22709 return des_cbc_encrypt (); |
12764 ; | 22710 ; |
12765 return 0; | 22711 return 0; |
12766 } | 22712 } |
12767 _ACEOF | 22713 _ACEOF |
12768 if ac_fn_c_try_link "$LINENO"; then : | 22714 rm -f conftest.$ac_objext conftest$ac_exeext |
22715 if { (ac_try="$ac_link" | |
22716 case "(($ac_try" in | |
22717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22718 *) ac_try_echo=$ac_try;; | |
22719 esac | |
22720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22721 $as_echo "$ac_try_echo") >&5 | |
22722 (eval "$ac_link") 2>conftest.er1 | |
22723 ac_status=$? | |
22724 grep -v '^ *+' conftest.er1 >conftest.err | |
22725 rm -f conftest.er1 | |
22726 cat conftest.err >&5 | |
22727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22728 (exit $ac_status); } && { | |
22729 test -z "$ac_c_werror_flag" || | |
22730 test ! -s conftest.err | |
22731 } && test -s conftest$ac_exeext && { | |
22732 test "$cross_compiling" = yes || | |
22733 $as_test_x conftest$ac_exeext | |
22734 }; then | |
12769 ac_cv_lib_des425_des_cbc_encrypt=yes | 22735 ac_cv_lib_des425_des_cbc_encrypt=yes |
12770 else | 22736 else |
12771 ac_cv_lib_des425_des_cbc_encrypt=no | 22737 $as_echo "$as_me: failed program was:" >&5 |
12772 fi | 22738 sed 's/^/| /' conftest.$ac_ext >&5 |
12773 rm -f core conftest.err conftest.$ac_objext \ | 22739 |
12774 conftest$ac_exeext conftest.$ac_ext | 22740 ac_cv_lib_des425_des_cbc_encrypt=no |
22741 fi | |
22742 | |
22743 rm -rf conftest.dSYM | |
22744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22745 conftest$ac_exeext conftest.$ac_ext | |
12775 LIBS=$ac_check_lib_save_LIBS | 22746 LIBS=$ac_check_lib_save_LIBS |
12776 fi | 22747 fi |
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 22748 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
12778 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } | 22749 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
12779 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : | 22750 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
12780 have_des425=yes | 22751 have_des425=yes |
12781 else | 22752 else |
12782 have_des425=no | 22753 have_des425=no |
12783 fi | 22754 fi |
12784 | 22755 |
12785 if test $have_des425 = yes; then | 22756 if test $have_des425 = yes; then |
12786 DESLIB=-ldes425 | 22757 DESLIB=-ldes425 |
12787 LIBS="$DESLIB $LIBS" | 22758 LIBS="$DESLIB $LIBS" |
12788 | 22759 |
12789 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h | 22760 cat >>confdefs.h <<\_ACEOF |
22761 #define HAVE_LIBDES425 1 | |
22762 _ACEOF | |
12790 | 22763 |
12791 else | 22764 else |
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 | 22765 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
12793 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } | 22766 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } |
12794 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : | 22767 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
12795 $as_echo_n "(cached) " >&6 | 22768 $as_echo_n "(cached) " >&6 |
12796 else | 22769 else |
12797 ac_check_lib_save_LIBS=$LIBS | 22770 ac_check_lib_save_LIBS=$LIBS |
12798 LIBS="-ldes $LIBS" | 22771 LIBS="-ldes $LIBS" |
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22772 cat >conftest.$ac_ext <<_ACEOF |
22773 /* confdefs.h. */ | |
22774 _ACEOF | |
22775 cat confdefs.h >>conftest.$ac_ext | |
22776 cat >>conftest.$ac_ext <<_ACEOF | |
12800 /* end confdefs.h. */ | 22777 /* end confdefs.h. */ |
12801 | 22778 |
12802 /* Override any GCC internal prototype to avoid an error. | 22779 /* Override any GCC internal prototype to avoid an error. |
12803 Use char because int might match the return type of a GCC | 22780 Use char because int might match the return type of a GCC |
12804 builtin and then its argument prototype would still apply. */ | 22781 builtin and then its argument prototype would still apply. */ |
12812 return des_cbc_encrypt (); | 22789 return des_cbc_encrypt (); |
12813 ; | 22790 ; |
12814 return 0; | 22791 return 0; |
12815 } | 22792 } |
12816 _ACEOF | 22793 _ACEOF |
12817 if ac_fn_c_try_link "$LINENO"; then : | 22794 rm -f conftest.$ac_objext conftest$ac_exeext |
22795 if { (ac_try="$ac_link" | |
22796 case "(($ac_try" in | |
22797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22798 *) ac_try_echo=$ac_try;; | |
22799 esac | |
22800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22801 $as_echo "$ac_try_echo") >&5 | |
22802 (eval "$ac_link") 2>conftest.er1 | |
22803 ac_status=$? | |
22804 grep -v '^ *+' conftest.er1 >conftest.err | |
22805 rm -f conftest.er1 | |
22806 cat conftest.err >&5 | |
22807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22808 (exit $ac_status); } && { | |
22809 test -z "$ac_c_werror_flag" || | |
22810 test ! -s conftest.err | |
22811 } && test -s conftest$ac_exeext && { | |
22812 test "$cross_compiling" = yes || | |
22813 $as_test_x conftest$ac_exeext | |
22814 }; then | |
12818 ac_cv_lib_des_des_cbc_encrypt=yes | 22815 ac_cv_lib_des_des_cbc_encrypt=yes |
12819 else | 22816 else |
12820 ac_cv_lib_des_des_cbc_encrypt=no | 22817 $as_echo "$as_me: failed program was:" >&5 |
12821 fi | 22818 sed 's/^/| /' conftest.$ac_ext >&5 |
12822 rm -f core conftest.err conftest.$ac_objext \ | 22819 |
12823 conftest$ac_exeext conftest.$ac_ext | 22820 ac_cv_lib_des_des_cbc_encrypt=no |
22821 fi | |
22822 | |
22823 rm -rf conftest.dSYM | |
22824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22825 conftest$ac_exeext conftest.$ac_ext | |
12824 LIBS=$ac_check_lib_save_LIBS | 22826 LIBS=$ac_check_lib_save_LIBS |
12825 fi | 22827 fi |
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 22828 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
12827 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 22829 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
12828 if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : | 22830 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
12829 have_des=yes | 22831 have_des=yes |
12830 else | 22832 else |
12831 have_des=no | 22833 have_des=no |
12832 fi | 22834 fi |
12833 | 22835 |
12834 if test $have_des = yes; then | 22836 if test $have_des = yes; then |
12835 DESLIB=-ldes | 22837 DESLIB=-ldes |
12836 LIBS="$DESLIB $LIBS" | 22838 LIBS="$DESLIB $LIBS" |
12837 | 22839 |
12838 $as_echo "#define HAVE_LIBDES 1" >>confdefs.h | 22840 cat >>confdefs.h <<\_ACEOF |
22841 #define HAVE_LIBDES 1 | |
22842 _ACEOF | |
12839 | 22843 |
12840 fi | 22844 fi |
12841 fi | 22845 fi |
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 | 22846 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 |
12843 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } | 22847 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } |
12844 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : | 22848 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
12845 $as_echo_n "(cached) " >&6 | 22849 $as_echo_n "(cached) " >&6 |
12846 else | 22850 else |
12847 ac_check_lib_save_LIBS=$LIBS | 22851 ac_check_lib_save_LIBS=$LIBS |
12848 LIBS="-lkrb4 $LIBS" | 22852 LIBS="-lkrb4 $LIBS" |
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22853 cat >conftest.$ac_ext <<_ACEOF |
22854 /* confdefs.h. */ | |
22855 _ACEOF | |
22856 cat confdefs.h >>conftest.$ac_ext | |
22857 cat >>conftest.$ac_ext <<_ACEOF | |
12850 /* end confdefs.h. */ | 22858 /* end confdefs.h. */ |
12851 | 22859 |
12852 /* Override any GCC internal prototype to avoid an error. | 22860 /* Override any GCC internal prototype to avoid an error. |
12853 Use char because int might match the return type of a GCC | 22861 Use char because int might match the return type of a GCC |
12854 builtin and then its argument prototype would still apply. */ | 22862 builtin and then its argument prototype would still apply. */ |
12862 return krb_get_cred (); | 22870 return krb_get_cred (); |
12863 ; | 22871 ; |
12864 return 0; | 22872 return 0; |
12865 } | 22873 } |
12866 _ACEOF | 22874 _ACEOF |
12867 if ac_fn_c_try_link "$LINENO"; then : | 22875 rm -f conftest.$ac_objext conftest$ac_exeext |
22876 if { (ac_try="$ac_link" | |
22877 case "(($ac_try" in | |
22878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22879 *) ac_try_echo=$ac_try;; | |
22880 esac | |
22881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22882 $as_echo "$ac_try_echo") >&5 | |
22883 (eval "$ac_link") 2>conftest.er1 | |
22884 ac_status=$? | |
22885 grep -v '^ *+' conftest.er1 >conftest.err | |
22886 rm -f conftest.er1 | |
22887 cat conftest.err >&5 | |
22888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22889 (exit $ac_status); } && { | |
22890 test -z "$ac_c_werror_flag" || | |
22891 test ! -s conftest.err | |
22892 } && test -s conftest$ac_exeext && { | |
22893 test "$cross_compiling" = yes || | |
22894 $as_test_x conftest$ac_exeext | |
22895 }; then | |
12868 ac_cv_lib_krb4_krb_get_cred=yes | 22896 ac_cv_lib_krb4_krb_get_cred=yes |
12869 else | 22897 else |
12870 ac_cv_lib_krb4_krb_get_cred=no | 22898 $as_echo "$as_me: failed program was:" >&5 |
12871 fi | 22899 sed 's/^/| /' conftest.$ac_ext >&5 |
12872 rm -f core conftest.err conftest.$ac_objext \ | 22900 |
12873 conftest$ac_exeext conftest.$ac_ext | 22901 ac_cv_lib_krb4_krb_get_cred=no |
22902 fi | |
22903 | |
22904 rm -rf conftest.dSYM | |
22905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22906 conftest$ac_exeext conftest.$ac_ext | |
12874 LIBS=$ac_check_lib_save_LIBS | 22907 LIBS=$ac_check_lib_save_LIBS |
12875 fi | 22908 fi |
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 22909 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
12877 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } | 22910 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } |
12878 if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : | 22911 if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
12879 have_krb4=yes | 22912 have_krb4=yes |
12880 else | 22913 else |
12881 have_krb4=no | 22914 have_krb4=no |
12882 fi | 22915 fi |
12883 | 22916 |
12884 if test $have_krb4 = yes; then | 22917 if test $have_krb4 = yes; then |
12885 KRB4LIB=-lkrb4 | 22918 KRB4LIB=-lkrb4 |
12886 LIBS="$KRB4LIB $LIBS" | 22919 LIBS="$KRB4LIB $LIBS" |
12887 | 22920 |
12888 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h | 22921 cat >>confdefs.h <<\_ACEOF |
22922 #define HAVE_LIBKRB4 1 | |
22923 _ACEOF | |
12889 | 22924 |
12890 else | 22925 else |
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 | 22926 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 |
12892 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } | 22927 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } |
12893 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : | 22928 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
12894 $as_echo_n "(cached) " >&6 | 22929 $as_echo_n "(cached) " >&6 |
12895 else | 22930 else |
12896 ac_check_lib_save_LIBS=$LIBS | 22931 ac_check_lib_save_LIBS=$LIBS |
12897 LIBS="-lkrb $LIBS" | 22932 LIBS="-lkrb $LIBS" |
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22933 cat >conftest.$ac_ext <<_ACEOF |
22934 /* confdefs.h. */ | |
22935 _ACEOF | |
22936 cat confdefs.h >>conftest.$ac_ext | |
22937 cat >>conftest.$ac_ext <<_ACEOF | |
12899 /* end confdefs.h. */ | 22938 /* end confdefs.h. */ |
12900 | 22939 |
12901 /* Override any GCC internal prototype to avoid an error. | 22940 /* Override any GCC internal prototype to avoid an error. |
12902 Use char because int might match the return type of a GCC | 22941 Use char because int might match the return type of a GCC |
12903 builtin and then its argument prototype would still apply. */ | 22942 builtin and then its argument prototype would still apply. */ |
12911 return krb_get_cred (); | 22950 return krb_get_cred (); |
12912 ; | 22951 ; |
12913 return 0; | 22952 return 0; |
12914 } | 22953 } |
12915 _ACEOF | 22954 _ACEOF |
12916 if ac_fn_c_try_link "$LINENO"; then : | 22955 rm -f conftest.$ac_objext conftest$ac_exeext |
22956 if { (ac_try="$ac_link" | |
22957 case "(($ac_try" in | |
22958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22959 *) ac_try_echo=$ac_try;; | |
22960 esac | |
22961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
22962 $as_echo "$ac_try_echo") >&5 | |
22963 (eval "$ac_link") 2>conftest.er1 | |
22964 ac_status=$? | |
22965 grep -v '^ *+' conftest.er1 >conftest.err | |
22966 rm -f conftest.er1 | |
22967 cat conftest.err >&5 | |
22968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22969 (exit $ac_status); } && { | |
22970 test -z "$ac_c_werror_flag" || | |
22971 test ! -s conftest.err | |
22972 } && test -s conftest$ac_exeext && { | |
22973 test "$cross_compiling" = yes || | |
22974 $as_test_x conftest$ac_exeext | |
22975 }; then | |
12917 ac_cv_lib_krb_krb_get_cred=yes | 22976 ac_cv_lib_krb_krb_get_cred=yes |
12918 else | 22977 else |
12919 ac_cv_lib_krb_krb_get_cred=no | 22978 $as_echo "$as_me: failed program was:" >&5 |
12920 fi | 22979 sed 's/^/| /' conftest.$ac_ext >&5 |
12921 rm -f core conftest.err conftest.$ac_objext \ | 22980 |
12922 conftest$ac_exeext conftest.$ac_ext | 22981 ac_cv_lib_krb_krb_get_cred=no |
22982 fi | |
22983 | |
22984 rm -rf conftest.dSYM | |
22985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
22986 conftest$ac_exeext conftest.$ac_ext | |
12923 LIBS=$ac_check_lib_save_LIBS | 22987 LIBS=$ac_check_lib_save_LIBS |
12924 fi | 22988 fi |
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 22989 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
12926 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } | 22990 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } |
12927 if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : | 22991 if test $ac_cv_lib_krb_krb_get_cred = yes; then |
12928 have_krb=yes | 22992 have_krb=yes |
12929 else | 22993 else |
12930 have_krb=no | 22994 have_krb=no |
12931 fi | 22995 fi |
12932 | 22996 |
12933 if test $have_krb = yes; then | 22997 if test $have_krb = yes; then |
12934 KRB4LIB=-lkrb | 22998 KRB4LIB=-lkrb |
12935 LIBS="$KRB4LIB $LIBS" | 22999 LIBS="$KRB4LIB $LIBS" |
12936 | 23000 |
12937 $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h | 23001 cat >>confdefs.h <<\_ACEOF |
23002 #define HAVE_LIBKRB 1 | |
23003 _ACEOF | |
12938 | 23004 |
12939 fi | 23005 fi |
12940 fi | 23006 fi |
12941 fi | 23007 fi |
12942 | 23008 |
12943 if test "${with_kerberos5}" != no; then | 23009 if test "${with_kerberos5}" != no; then |
12944 for ac_header in krb5.h | 23010 |
12945 do : | 23011 for ac_header in krb5.h |
12946 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" | 23012 do |
12947 if test "x$ac_cv_header_krb5_h" = x""yes; then : | 23013 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23015 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23016 $as_echo_n "checking for $ac_header... " >&6; } | |
23017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23018 $as_echo_n "(cached) " >&6 | |
23019 fi | |
23020 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23021 $as_echo "$as_val"'` | |
23022 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23023 $as_echo "$ac_res" >&6; } | |
23024 else | |
23025 # Is the header compilable? | |
23026 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23027 $as_echo_n "checking $ac_header usability... " >&6; } | |
23028 cat >conftest.$ac_ext <<_ACEOF | |
23029 /* confdefs.h. */ | |
23030 _ACEOF | |
23031 cat confdefs.h >>conftest.$ac_ext | |
23032 cat >>conftest.$ac_ext <<_ACEOF | |
23033 /* end confdefs.h. */ | |
23034 $ac_includes_default | |
23035 #include <$ac_header> | |
23036 _ACEOF | |
23037 rm -f conftest.$ac_objext | |
23038 if { (ac_try="$ac_compile" | |
23039 case "(($ac_try" in | |
23040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23041 *) ac_try_echo=$ac_try;; | |
23042 esac | |
23043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23044 $as_echo "$ac_try_echo") >&5 | |
23045 (eval "$ac_compile") 2>conftest.er1 | |
23046 ac_status=$? | |
23047 grep -v '^ *+' conftest.er1 >conftest.err | |
23048 rm -f conftest.er1 | |
23049 cat conftest.err >&5 | |
23050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23051 (exit $ac_status); } && { | |
23052 test -z "$ac_c_werror_flag" || | |
23053 test ! -s conftest.err | |
23054 } && test -s conftest.$ac_objext; then | |
23055 ac_header_compiler=yes | |
23056 else | |
23057 $as_echo "$as_me: failed program was:" >&5 | |
23058 sed 's/^/| /' conftest.$ac_ext >&5 | |
23059 | |
23060 ac_header_compiler=no | |
23061 fi | |
23062 | |
23063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23064 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23065 $as_echo "$ac_header_compiler" >&6; } | |
23066 | |
23067 # Is the header present? | |
23068 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23069 $as_echo_n "checking $ac_header presence... " >&6; } | |
23070 cat >conftest.$ac_ext <<_ACEOF | |
23071 /* confdefs.h. */ | |
23072 _ACEOF | |
23073 cat confdefs.h >>conftest.$ac_ext | |
23074 cat >>conftest.$ac_ext <<_ACEOF | |
23075 /* end confdefs.h. */ | |
23076 #include <$ac_header> | |
23077 _ACEOF | |
23078 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23079 case "(($ac_try" in | |
23080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23081 *) ac_try_echo=$ac_try;; | |
23082 esac | |
23083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23084 $as_echo "$ac_try_echo") >&5 | |
23085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23086 ac_status=$? | |
23087 grep -v '^ *+' conftest.er1 >conftest.err | |
23088 rm -f conftest.er1 | |
23089 cat conftest.err >&5 | |
23090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23091 (exit $ac_status); } >/dev/null && { | |
23092 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23093 test ! -s conftest.err | |
23094 }; then | |
23095 ac_header_preproc=yes | |
23096 else | |
23097 $as_echo "$as_me: failed program was:" >&5 | |
23098 sed 's/^/| /' conftest.$ac_ext >&5 | |
23099 | |
23100 ac_header_preproc=no | |
23101 fi | |
23102 | |
23103 rm -f conftest.err conftest.$ac_ext | |
23104 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23105 $as_echo "$ac_header_preproc" >&6; } | |
23106 | |
23107 # So? What about this header? | |
23108 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23109 yes:no: ) | |
23110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23111 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23113 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23114 ac_header_preproc=yes | |
23115 ;; | |
23116 no:yes:* ) | |
23117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23118 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23120 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23122 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23124 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23126 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23127 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23128 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23129 | |
23130 ;; | |
23131 esac | |
23132 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23133 $as_echo_n "checking for $ac_header... " >&6; } | |
23134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23135 $as_echo_n "(cached) " >&6 | |
23136 else | |
23137 eval "$as_ac_Header=\$ac_header_preproc" | |
23138 fi | |
23139 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23140 $as_echo "$as_val"'` | |
23141 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23142 $as_echo "$ac_res" >&6; } | |
23143 | |
23144 fi | |
23145 if test `eval 'as_val=${'$as_ac_Header'} | |
23146 $as_echo "$as_val"'` = yes; then | |
12948 cat >>confdefs.h <<_ACEOF | 23147 cat >>confdefs.h <<_ACEOF |
12949 #define HAVE_KRB5_H 1 | 23148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12950 _ACEOF | 23149 _ACEOF |
12951 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> | 23150 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 |
12952 " | 23151 $as_echo_n "checking for krb5_error.text... " >&6; } |
12953 if test "x$ac_cv_member_krb5_error_text" = x""yes; then : | 23152 if test "${ac_cv_member_krb5_error_text+set}" = set; then |
23153 $as_echo_n "(cached) " >&6 | |
23154 else | |
23155 cat >conftest.$ac_ext <<_ACEOF | |
23156 /* confdefs.h. */ | |
23157 _ACEOF | |
23158 cat confdefs.h >>conftest.$ac_ext | |
23159 cat >>conftest.$ac_ext <<_ACEOF | |
23160 /* end confdefs.h. */ | |
23161 #include <krb5.h> | |
23162 | |
23163 int | |
23164 main () | |
23165 { | |
23166 static krb5_error ac_aggr; | |
23167 if (ac_aggr.text) | |
23168 return 0; | |
23169 ; | |
23170 return 0; | |
23171 } | |
23172 _ACEOF | |
23173 rm -f conftest.$ac_objext | |
23174 if { (ac_try="$ac_compile" | |
23175 case "(($ac_try" in | |
23176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23177 *) ac_try_echo=$ac_try;; | |
23178 esac | |
23179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23180 $as_echo "$ac_try_echo") >&5 | |
23181 (eval "$ac_compile") 2>conftest.er1 | |
23182 ac_status=$? | |
23183 grep -v '^ *+' conftest.er1 >conftest.err | |
23184 rm -f conftest.er1 | |
23185 cat conftest.err >&5 | |
23186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23187 (exit $ac_status); } && { | |
23188 test -z "$ac_c_werror_flag" || | |
23189 test ! -s conftest.err | |
23190 } && test -s conftest.$ac_objext; then | |
23191 ac_cv_member_krb5_error_text=yes | |
23192 else | |
23193 $as_echo "$as_me: failed program was:" >&5 | |
23194 sed 's/^/| /' conftest.$ac_ext >&5 | |
23195 | |
23196 cat >conftest.$ac_ext <<_ACEOF | |
23197 /* confdefs.h. */ | |
23198 _ACEOF | |
23199 cat confdefs.h >>conftest.$ac_ext | |
23200 cat >>conftest.$ac_ext <<_ACEOF | |
23201 /* end confdefs.h. */ | |
23202 #include <krb5.h> | |
23203 | |
23204 int | |
23205 main () | |
23206 { | |
23207 static krb5_error ac_aggr; | |
23208 if (sizeof ac_aggr.text) | |
23209 return 0; | |
23210 ; | |
23211 return 0; | |
23212 } | |
23213 _ACEOF | |
23214 rm -f conftest.$ac_objext | |
23215 if { (ac_try="$ac_compile" | |
23216 case "(($ac_try" in | |
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23218 *) ac_try_echo=$ac_try;; | |
23219 esac | |
23220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23221 $as_echo "$ac_try_echo") >&5 | |
23222 (eval "$ac_compile") 2>conftest.er1 | |
23223 ac_status=$? | |
23224 grep -v '^ *+' conftest.er1 >conftest.err | |
23225 rm -f conftest.er1 | |
23226 cat conftest.err >&5 | |
23227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23228 (exit $ac_status); } && { | |
23229 test -z "$ac_c_werror_flag" || | |
23230 test ! -s conftest.err | |
23231 } && test -s conftest.$ac_objext; then | |
23232 ac_cv_member_krb5_error_text=yes | |
23233 else | |
23234 $as_echo "$as_me: failed program was:" >&5 | |
23235 sed 's/^/| /' conftest.$ac_ext >&5 | |
23236 | |
23237 ac_cv_member_krb5_error_text=no | |
23238 fi | |
23239 | |
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23241 fi | |
23242 | |
23243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23244 fi | |
23245 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 | |
23246 $as_echo "$ac_cv_member_krb5_error_text" >&6; } | |
23247 if test $ac_cv_member_krb5_error_text = yes; then | |
12954 | 23248 |
12955 cat >>confdefs.h <<_ACEOF | 23249 cat >>confdefs.h <<_ACEOF |
12956 #define HAVE_KRB5_ERROR_TEXT 1 | 23250 #define HAVE_KRB5_ERROR_TEXT 1 |
12957 _ACEOF | 23251 _ACEOF |
12958 | 23252 |
12959 | 23253 |
12960 fi | 23254 fi |
12961 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> | 23255 { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 |
12962 " | 23256 $as_echo_n "checking for krb5_error.e_text... " >&6; } |
12963 if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : | 23257 if test "${ac_cv_member_krb5_error_e_text+set}" = set; then |
23258 $as_echo_n "(cached) " >&6 | |
23259 else | |
23260 cat >conftest.$ac_ext <<_ACEOF | |
23261 /* confdefs.h. */ | |
23262 _ACEOF | |
23263 cat confdefs.h >>conftest.$ac_ext | |
23264 cat >>conftest.$ac_ext <<_ACEOF | |
23265 /* end confdefs.h. */ | |
23266 #include <krb5.h> | |
23267 | |
23268 int | |
23269 main () | |
23270 { | |
23271 static krb5_error ac_aggr; | |
23272 if (ac_aggr.e_text) | |
23273 return 0; | |
23274 ; | |
23275 return 0; | |
23276 } | |
23277 _ACEOF | |
23278 rm -f conftest.$ac_objext | |
23279 if { (ac_try="$ac_compile" | |
23280 case "(($ac_try" in | |
23281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23282 *) ac_try_echo=$ac_try;; | |
23283 esac | |
23284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23285 $as_echo "$ac_try_echo") >&5 | |
23286 (eval "$ac_compile") 2>conftest.er1 | |
23287 ac_status=$? | |
23288 grep -v '^ *+' conftest.er1 >conftest.err | |
23289 rm -f conftest.er1 | |
23290 cat conftest.err >&5 | |
23291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23292 (exit $ac_status); } && { | |
23293 test -z "$ac_c_werror_flag" || | |
23294 test ! -s conftest.err | |
23295 } && test -s conftest.$ac_objext; then | |
23296 ac_cv_member_krb5_error_e_text=yes | |
23297 else | |
23298 $as_echo "$as_me: failed program was:" >&5 | |
23299 sed 's/^/| /' conftest.$ac_ext >&5 | |
23300 | |
23301 cat >conftest.$ac_ext <<_ACEOF | |
23302 /* confdefs.h. */ | |
23303 _ACEOF | |
23304 cat confdefs.h >>conftest.$ac_ext | |
23305 cat >>conftest.$ac_ext <<_ACEOF | |
23306 /* end confdefs.h. */ | |
23307 #include <krb5.h> | |
23308 | |
23309 int | |
23310 main () | |
23311 { | |
23312 static krb5_error ac_aggr; | |
23313 if (sizeof ac_aggr.e_text) | |
23314 return 0; | |
23315 ; | |
23316 return 0; | |
23317 } | |
23318 _ACEOF | |
23319 rm -f conftest.$ac_objext | |
23320 if { (ac_try="$ac_compile" | |
23321 case "(($ac_try" in | |
23322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23323 *) ac_try_echo=$ac_try;; | |
23324 esac | |
23325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23326 $as_echo "$ac_try_echo") >&5 | |
23327 (eval "$ac_compile") 2>conftest.er1 | |
23328 ac_status=$? | |
23329 grep -v '^ *+' conftest.er1 >conftest.err | |
23330 rm -f conftest.er1 | |
23331 cat conftest.err >&5 | |
23332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23333 (exit $ac_status); } && { | |
23334 test -z "$ac_c_werror_flag" || | |
23335 test ! -s conftest.err | |
23336 } && test -s conftest.$ac_objext; then | |
23337 ac_cv_member_krb5_error_e_text=yes | |
23338 else | |
23339 $as_echo "$as_me: failed program was:" >&5 | |
23340 sed 's/^/| /' conftest.$ac_ext >&5 | |
23341 | |
23342 ac_cv_member_krb5_error_e_text=no | |
23343 fi | |
23344 | |
23345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23346 fi | |
23347 | |
23348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23349 fi | |
23350 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 | |
23351 $as_echo "$ac_cv_member_krb5_error_e_text" >&6; } | |
23352 if test $ac_cv_member_krb5_error_e_text = yes; then | |
12964 | 23353 |
12965 cat >>confdefs.h <<_ACEOF | 23354 cat >>confdefs.h <<_ACEOF |
12966 #define HAVE_KRB5_ERROR_E_TEXT 1 | 23355 #define HAVE_KRB5_ERROR_E_TEXT 1 |
12967 _ACEOF | 23356 _ACEOF |
12968 | 23357 |
12972 fi | 23361 fi |
12973 | 23362 |
12974 done | 23363 done |
12975 | 23364 |
12976 else | 23365 else |
12977 for ac_header in des.h | 23366 |
12978 do : | 23367 for ac_header in des.h |
12979 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" | 23368 do |
12980 if test "x$ac_cv_header_des_h" = x""yes; then : | 23369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23371 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23372 $as_echo_n "checking for $ac_header... " >&6; } | |
23373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23374 $as_echo_n "(cached) " >&6 | |
23375 fi | |
23376 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23377 $as_echo "$as_val"'` | |
23378 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23379 $as_echo "$ac_res" >&6; } | |
23380 else | |
23381 # Is the header compilable? | |
23382 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23383 $as_echo_n "checking $ac_header usability... " >&6; } | |
23384 cat >conftest.$ac_ext <<_ACEOF | |
23385 /* confdefs.h. */ | |
23386 _ACEOF | |
23387 cat confdefs.h >>conftest.$ac_ext | |
23388 cat >>conftest.$ac_ext <<_ACEOF | |
23389 /* end confdefs.h. */ | |
23390 $ac_includes_default | |
23391 #include <$ac_header> | |
23392 _ACEOF | |
23393 rm -f conftest.$ac_objext | |
23394 if { (ac_try="$ac_compile" | |
23395 case "(($ac_try" in | |
23396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23397 *) ac_try_echo=$ac_try;; | |
23398 esac | |
23399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23400 $as_echo "$ac_try_echo") >&5 | |
23401 (eval "$ac_compile") 2>conftest.er1 | |
23402 ac_status=$? | |
23403 grep -v '^ *+' conftest.er1 >conftest.err | |
23404 rm -f conftest.er1 | |
23405 cat conftest.err >&5 | |
23406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23407 (exit $ac_status); } && { | |
23408 test -z "$ac_c_werror_flag" || | |
23409 test ! -s conftest.err | |
23410 } && test -s conftest.$ac_objext; then | |
23411 ac_header_compiler=yes | |
23412 else | |
23413 $as_echo "$as_me: failed program was:" >&5 | |
23414 sed 's/^/| /' conftest.$ac_ext >&5 | |
23415 | |
23416 ac_header_compiler=no | |
23417 fi | |
23418 | |
23419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23420 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23421 $as_echo "$ac_header_compiler" >&6; } | |
23422 | |
23423 # Is the header present? | |
23424 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23425 $as_echo_n "checking $ac_header presence... " >&6; } | |
23426 cat >conftest.$ac_ext <<_ACEOF | |
23427 /* confdefs.h. */ | |
23428 _ACEOF | |
23429 cat confdefs.h >>conftest.$ac_ext | |
23430 cat >>conftest.$ac_ext <<_ACEOF | |
23431 /* end confdefs.h. */ | |
23432 #include <$ac_header> | |
23433 _ACEOF | |
23434 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23435 case "(($ac_try" in | |
23436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23437 *) ac_try_echo=$ac_try;; | |
23438 esac | |
23439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23440 $as_echo "$ac_try_echo") >&5 | |
23441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23442 ac_status=$? | |
23443 grep -v '^ *+' conftest.er1 >conftest.err | |
23444 rm -f conftest.er1 | |
23445 cat conftest.err >&5 | |
23446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23447 (exit $ac_status); } >/dev/null && { | |
23448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23449 test ! -s conftest.err | |
23450 }; then | |
23451 ac_header_preproc=yes | |
23452 else | |
23453 $as_echo "$as_me: failed program was:" >&5 | |
23454 sed 's/^/| /' conftest.$ac_ext >&5 | |
23455 | |
23456 ac_header_preproc=no | |
23457 fi | |
23458 | |
23459 rm -f conftest.err conftest.$ac_ext | |
23460 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23461 $as_echo "$ac_header_preproc" >&6; } | |
23462 | |
23463 # So? What about this header? | |
23464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23465 yes:no: ) | |
23466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23467 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23469 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23470 ac_header_preproc=yes | |
23471 ;; | |
23472 no:yes:* ) | |
23473 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23474 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23475 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23476 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23477 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23478 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23479 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23480 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23481 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23482 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23483 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23484 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23485 | |
23486 ;; | |
23487 esac | |
23488 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23489 $as_echo_n "checking for $ac_header... " >&6; } | |
23490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23491 $as_echo_n "(cached) " >&6 | |
23492 else | |
23493 eval "$as_ac_Header=\$ac_header_preproc" | |
23494 fi | |
23495 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23496 $as_echo "$as_val"'` | |
23497 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23498 $as_echo "$ac_res" >&6; } | |
23499 | |
23500 fi | |
23501 if test `eval 'as_val=${'$as_ac_Header'} | |
23502 $as_echo "$as_val"'` = yes; then | |
12981 cat >>confdefs.h <<_ACEOF | 23503 cat >>confdefs.h <<_ACEOF |
12982 #define HAVE_DES_H 1 | 23504 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12983 _ACEOF | 23505 _ACEOF |
12984 | 23506 |
12985 else | 23507 else |
12986 for ac_header in kerberosIV/des.h | 23508 |
12987 do : | 23509 for ac_header in kerberosIV/des.h |
12988 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" | 23510 do |
12989 if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : | 23511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23513 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23514 $as_echo_n "checking for $ac_header... " >&6; } | |
23515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23516 $as_echo_n "(cached) " >&6 | |
23517 fi | |
23518 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23519 $as_echo "$as_val"'` | |
23520 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23521 $as_echo "$ac_res" >&6; } | |
23522 else | |
23523 # Is the header compilable? | |
23524 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23525 $as_echo_n "checking $ac_header usability... " >&6; } | |
23526 cat >conftest.$ac_ext <<_ACEOF | |
23527 /* confdefs.h. */ | |
23528 _ACEOF | |
23529 cat confdefs.h >>conftest.$ac_ext | |
23530 cat >>conftest.$ac_ext <<_ACEOF | |
23531 /* end confdefs.h. */ | |
23532 $ac_includes_default | |
23533 #include <$ac_header> | |
23534 _ACEOF | |
23535 rm -f conftest.$ac_objext | |
23536 if { (ac_try="$ac_compile" | |
23537 case "(($ac_try" in | |
23538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23539 *) ac_try_echo=$ac_try;; | |
23540 esac | |
23541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23542 $as_echo "$ac_try_echo") >&5 | |
23543 (eval "$ac_compile") 2>conftest.er1 | |
23544 ac_status=$? | |
23545 grep -v '^ *+' conftest.er1 >conftest.err | |
23546 rm -f conftest.er1 | |
23547 cat conftest.err >&5 | |
23548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23549 (exit $ac_status); } && { | |
23550 test -z "$ac_c_werror_flag" || | |
23551 test ! -s conftest.err | |
23552 } && test -s conftest.$ac_objext; then | |
23553 ac_header_compiler=yes | |
23554 else | |
23555 $as_echo "$as_me: failed program was:" >&5 | |
23556 sed 's/^/| /' conftest.$ac_ext >&5 | |
23557 | |
23558 ac_header_compiler=no | |
23559 fi | |
23560 | |
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23562 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23563 $as_echo "$ac_header_compiler" >&6; } | |
23564 | |
23565 # Is the header present? | |
23566 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23567 $as_echo_n "checking $ac_header presence... " >&6; } | |
23568 cat >conftest.$ac_ext <<_ACEOF | |
23569 /* confdefs.h. */ | |
23570 _ACEOF | |
23571 cat confdefs.h >>conftest.$ac_ext | |
23572 cat >>conftest.$ac_ext <<_ACEOF | |
23573 /* end confdefs.h. */ | |
23574 #include <$ac_header> | |
23575 _ACEOF | |
23576 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23577 case "(($ac_try" in | |
23578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23579 *) ac_try_echo=$ac_try;; | |
23580 esac | |
23581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23582 $as_echo "$ac_try_echo") >&5 | |
23583 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23584 ac_status=$? | |
23585 grep -v '^ *+' conftest.er1 >conftest.err | |
23586 rm -f conftest.er1 | |
23587 cat conftest.err >&5 | |
23588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23589 (exit $ac_status); } >/dev/null && { | |
23590 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23591 test ! -s conftest.err | |
23592 }; then | |
23593 ac_header_preproc=yes | |
23594 else | |
23595 $as_echo "$as_me: failed program was:" >&5 | |
23596 sed 's/^/| /' conftest.$ac_ext >&5 | |
23597 | |
23598 ac_header_preproc=no | |
23599 fi | |
23600 | |
23601 rm -f conftest.err conftest.$ac_ext | |
23602 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23603 $as_echo "$ac_header_preproc" >&6; } | |
23604 | |
23605 # So? What about this header? | |
23606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23607 yes:no: ) | |
23608 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23609 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23611 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23612 ac_header_preproc=yes | |
23613 ;; | |
23614 no:yes:* ) | |
23615 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23616 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23617 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23618 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23619 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23620 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23621 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23622 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23624 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23626 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23627 | |
23628 ;; | |
23629 esac | |
23630 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23631 $as_echo_n "checking for $ac_header... " >&6; } | |
23632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23633 $as_echo_n "(cached) " >&6 | |
23634 else | |
23635 eval "$as_ac_Header=\$ac_header_preproc" | |
23636 fi | |
23637 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23638 $as_echo "$as_val"'` | |
23639 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23640 $as_echo "$ac_res" >&6; } | |
23641 | |
23642 fi | |
23643 if test `eval 'as_val=${'$as_ac_Header'} | |
23644 $as_echo "$as_val"'` = yes; then | |
12990 cat >>confdefs.h <<_ACEOF | 23645 cat >>confdefs.h <<_ACEOF |
12991 #define HAVE_KERBEROSIV_DES_H 1 | 23646 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12992 _ACEOF | 23647 _ACEOF |
12993 | 23648 |
12994 else | 23649 else |
12995 for ac_header in kerberos/des.h | 23650 |
12996 do : | 23651 for ac_header in kerberos/des.h |
12997 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" | 23652 do |
12998 if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : | 23653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23655 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23656 $as_echo_n "checking for $ac_header... " >&6; } | |
23657 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23658 $as_echo_n "(cached) " >&6 | |
23659 fi | |
23660 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23661 $as_echo "$as_val"'` | |
23662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23663 $as_echo "$ac_res" >&6; } | |
23664 else | |
23665 # Is the header compilable? | |
23666 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23667 $as_echo_n "checking $ac_header usability... " >&6; } | |
23668 cat >conftest.$ac_ext <<_ACEOF | |
23669 /* confdefs.h. */ | |
23670 _ACEOF | |
23671 cat confdefs.h >>conftest.$ac_ext | |
23672 cat >>conftest.$ac_ext <<_ACEOF | |
23673 /* end confdefs.h. */ | |
23674 $ac_includes_default | |
23675 #include <$ac_header> | |
23676 _ACEOF | |
23677 rm -f conftest.$ac_objext | |
23678 if { (ac_try="$ac_compile" | |
23679 case "(($ac_try" in | |
23680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23681 *) ac_try_echo=$ac_try;; | |
23682 esac | |
23683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23684 $as_echo "$ac_try_echo") >&5 | |
23685 (eval "$ac_compile") 2>conftest.er1 | |
23686 ac_status=$? | |
23687 grep -v '^ *+' conftest.er1 >conftest.err | |
23688 rm -f conftest.er1 | |
23689 cat conftest.err >&5 | |
23690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23691 (exit $ac_status); } && { | |
23692 test -z "$ac_c_werror_flag" || | |
23693 test ! -s conftest.err | |
23694 } && test -s conftest.$ac_objext; then | |
23695 ac_header_compiler=yes | |
23696 else | |
23697 $as_echo "$as_me: failed program was:" >&5 | |
23698 sed 's/^/| /' conftest.$ac_ext >&5 | |
23699 | |
23700 ac_header_compiler=no | |
23701 fi | |
23702 | |
23703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23704 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23705 $as_echo "$ac_header_compiler" >&6; } | |
23706 | |
23707 # Is the header present? | |
23708 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23709 $as_echo_n "checking $ac_header presence... " >&6; } | |
23710 cat >conftest.$ac_ext <<_ACEOF | |
23711 /* confdefs.h. */ | |
23712 _ACEOF | |
23713 cat confdefs.h >>conftest.$ac_ext | |
23714 cat >>conftest.$ac_ext <<_ACEOF | |
23715 /* end confdefs.h. */ | |
23716 #include <$ac_header> | |
23717 _ACEOF | |
23718 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23719 case "(($ac_try" in | |
23720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23721 *) ac_try_echo=$ac_try;; | |
23722 esac | |
23723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23724 $as_echo "$ac_try_echo") >&5 | |
23725 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23726 ac_status=$? | |
23727 grep -v '^ *+' conftest.er1 >conftest.err | |
23728 rm -f conftest.er1 | |
23729 cat conftest.err >&5 | |
23730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23731 (exit $ac_status); } >/dev/null && { | |
23732 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23733 test ! -s conftest.err | |
23734 }; then | |
23735 ac_header_preproc=yes | |
23736 else | |
23737 $as_echo "$as_me: failed program was:" >&5 | |
23738 sed 's/^/| /' conftest.$ac_ext >&5 | |
23739 | |
23740 ac_header_preproc=no | |
23741 fi | |
23742 | |
23743 rm -f conftest.err conftest.$ac_ext | |
23744 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23745 $as_echo "$ac_header_preproc" >&6; } | |
23746 | |
23747 # So? What about this header? | |
23748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23749 yes:no: ) | |
23750 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23751 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23752 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23753 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23754 ac_header_preproc=yes | |
23755 ;; | |
23756 no:yes:* ) | |
23757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23758 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23760 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23762 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23764 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23766 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23768 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23769 | |
23770 ;; | |
23771 esac | |
23772 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23773 $as_echo_n "checking for $ac_header... " >&6; } | |
23774 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23775 $as_echo_n "(cached) " >&6 | |
23776 else | |
23777 eval "$as_ac_Header=\$ac_header_preproc" | |
23778 fi | |
23779 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23780 $as_echo "$as_val"'` | |
23781 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23782 $as_echo "$ac_res" >&6; } | |
23783 | |
23784 fi | |
23785 if test `eval 'as_val=${'$as_ac_Header'} | |
23786 $as_echo "$as_val"'` = yes; then | |
12999 cat >>confdefs.h <<_ACEOF | 23787 cat >>confdefs.h <<_ACEOF |
13000 #define HAVE_KERBEROS_DES_H 1 | 23788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13001 _ACEOF | 23789 _ACEOF |
13002 | 23790 |
13003 fi | 23791 fi |
13004 | 23792 |
13005 done | 23793 done |
13010 | 23798 |
13011 fi | 23799 fi |
13012 | 23800 |
13013 done | 23801 done |
13014 | 23802 |
13015 for ac_header in krb.h | 23803 |
13016 do : | 23804 for ac_header in krb.h |
13017 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" | 23805 do |
13018 if test "x$ac_cv_header_krb_h" = x""yes; then : | 23806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23808 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23809 $as_echo_n "checking for $ac_header... " >&6; } | |
23810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23811 $as_echo_n "(cached) " >&6 | |
23812 fi | |
23813 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23814 $as_echo "$as_val"'` | |
23815 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23816 $as_echo "$ac_res" >&6; } | |
23817 else | |
23818 # Is the header compilable? | |
23819 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23820 $as_echo_n "checking $ac_header usability... " >&6; } | |
23821 cat >conftest.$ac_ext <<_ACEOF | |
23822 /* confdefs.h. */ | |
23823 _ACEOF | |
23824 cat confdefs.h >>conftest.$ac_ext | |
23825 cat >>conftest.$ac_ext <<_ACEOF | |
23826 /* end confdefs.h. */ | |
23827 $ac_includes_default | |
23828 #include <$ac_header> | |
23829 _ACEOF | |
23830 rm -f conftest.$ac_objext | |
23831 if { (ac_try="$ac_compile" | |
23832 case "(($ac_try" in | |
23833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23834 *) ac_try_echo=$ac_try;; | |
23835 esac | |
23836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23837 $as_echo "$ac_try_echo") >&5 | |
23838 (eval "$ac_compile") 2>conftest.er1 | |
23839 ac_status=$? | |
23840 grep -v '^ *+' conftest.er1 >conftest.err | |
23841 rm -f conftest.er1 | |
23842 cat conftest.err >&5 | |
23843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23844 (exit $ac_status); } && { | |
23845 test -z "$ac_c_werror_flag" || | |
23846 test ! -s conftest.err | |
23847 } && test -s conftest.$ac_objext; then | |
23848 ac_header_compiler=yes | |
23849 else | |
23850 $as_echo "$as_me: failed program was:" >&5 | |
23851 sed 's/^/| /' conftest.$ac_ext >&5 | |
23852 | |
23853 ac_header_compiler=no | |
23854 fi | |
23855 | |
23856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23857 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
23858 $as_echo "$ac_header_compiler" >&6; } | |
23859 | |
23860 # Is the header present? | |
23861 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
23862 $as_echo_n "checking $ac_header presence... " >&6; } | |
23863 cat >conftest.$ac_ext <<_ACEOF | |
23864 /* confdefs.h. */ | |
23865 _ACEOF | |
23866 cat confdefs.h >>conftest.$ac_ext | |
23867 cat >>conftest.$ac_ext <<_ACEOF | |
23868 /* end confdefs.h. */ | |
23869 #include <$ac_header> | |
23870 _ACEOF | |
23871 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
23872 case "(($ac_try" in | |
23873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23874 *) ac_try_echo=$ac_try;; | |
23875 esac | |
23876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23877 $as_echo "$ac_try_echo") >&5 | |
23878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23879 ac_status=$? | |
23880 grep -v '^ *+' conftest.er1 >conftest.err | |
23881 rm -f conftest.er1 | |
23882 cat conftest.err >&5 | |
23883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23884 (exit $ac_status); } >/dev/null && { | |
23885 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
23886 test ! -s conftest.err | |
23887 }; then | |
23888 ac_header_preproc=yes | |
23889 else | |
23890 $as_echo "$as_me: failed program was:" >&5 | |
23891 sed 's/^/| /' conftest.$ac_ext >&5 | |
23892 | |
23893 ac_header_preproc=no | |
23894 fi | |
23895 | |
23896 rm -f conftest.err conftest.$ac_ext | |
23897 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
23898 $as_echo "$ac_header_preproc" >&6; } | |
23899 | |
23900 # So? What about this header? | |
23901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
23902 yes:no: ) | |
23903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
23904 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
23905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
23906 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
23907 ac_header_preproc=yes | |
23908 ;; | |
23909 no:yes:* ) | |
23910 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
23911 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
23912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
23913 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
23914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
23915 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
23916 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
23917 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
23918 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
23919 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
23920 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
23921 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
23922 | |
23923 ;; | |
23924 esac | |
23925 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23926 $as_echo_n "checking for $ac_header... " >&6; } | |
23927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23928 $as_echo_n "(cached) " >&6 | |
23929 else | |
23930 eval "$as_ac_Header=\$ac_header_preproc" | |
23931 fi | |
23932 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23933 $as_echo "$as_val"'` | |
23934 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23935 $as_echo "$ac_res" >&6; } | |
23936 | |
23937 fi | |
23938 if test `eval 'as_val=${'$as_ac_Header'} | |
23939 $as_echo "$as_val"'` = yes; then | |
13019 cat >>confdefs.h <<_ACEOF | 23940 cat >>confdefs.h <<_ACEOF |
13020 #define HAVE_KRB_H 1 | 23941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13021 _ACEOF | 23942 _ACEOF |
13022 | 23943 |
13023 else | 23944 else |
13024 for ac_header in kerberosIV/krb.h | 23945 |
13025 do : | 23946 for ac_header in kerberosIV/krb.h |
13026 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" | 23947 do |
13027 if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : | 23948 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23950 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
23951 $as_echo_n "checking for $ac_header... " >&6; } | |
23952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
23953 $as_echo_n "(cached) " >&6 | |
23954 fi | |
23955 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
23956 $as_echo "$as_val"'` | |
23957 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
23958 $as_echo "$ac_res" >&6; } | |
23959 else | |
23960 # Is the header compilable? | |
23961 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
23962 $as_echo_n "checking $ac_header usability... " >&6; } | |
23963 cat >conftest.$ac_ext <<_ACEOF | |
23964 /* confdefs.h. */ | |
23965 _ACEOF | |
23966 cat confdefs.h >>conftest.$ac_ext | |
23967 cat >>conftest.$ac_ext <<_ACEOF | |
23968 /* end confdefs.h. */ | |
23969 $ac_includes_default | |
23970 #include <$ac_header> | |
23971 _ACEOF | |
23972 rm -f conftest.$ac_objext | |
23973 if { (ac_try="$ac_compile" | |
23974 case "(($ac_try" in | |
23975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23976 *) ac_try_echo=$ac_try;; | |
23977 esac | |
23978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
23979 $as_echo "$ac_try_echo") >&5 | |
23980 (eval "$ac_compile") 2>conftest.er1 | |
23981 ac_status=$? | |
23982 grep -v '^ *+' conftest.er1 >conftest.err | |
23983 rm -f conftest.er1 | |
23984 cat conftest.err >&5 | |
23985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
23986 (exit $ac_status); } && { | |
23987 test -z "$ac_c_werror_flag" || | |
23988 test ! -s conftest.err | |
23989 } && test -s conftest.$ac_objext; then | |
23990 ac_header_compiler=yes | |
23991 else | |
23992 $as_echo "$as_me: failed program was:" >&5 | |
23993 sed 's/^/| /' conftest.$ac_ext >&5 | |
23994 | |
23995 ac_header_compiler=no | |
23996 fi | |
23997 | |
23998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23999 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24000 $as_echo "$ac_header_compiler" >&6; } | |
24001 | |
24002 # Is the header present? | |
24003 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
24004 $as_echo_n "checking $ac_header presence... " >&6; } | |
24005 cat >conftest.$ac_ext <<_ACEOF | |
24006 /* confdefs.h. */ | |
24007 _ACEOF | |
24008 cat confdefs.h >>conftest.$ac_ext | |
24009 cat >>conftest.$ac_ext <<_ACEOF | |
24010 /* end confdefs.h. */ | |
24011 #include <$ac_header> | |
24012 _ACEOF | |
24013 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
24014 case "(($ac_try" in | |
24015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24016 *) ac_try_echo=$ac_try;; | |
24017 esac | |
24018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24019 $as_echo "$ac_try_echo") >&5 | |
24020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24021 ac_status=$? | |
24022 grep -v '^ *+' conftest.er1 >conftest.err | |
24023 rm -f conftest.er1 | |
24024 cat conftest.err >&5 | |
24025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24026 (exit $ac_status); } >/dev/null && { | |
24027 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
24028 test ! -s conftest.err | |
24029 }; then | |
24030 ac_header_preproc=yes | |
24031 else | |
24032 $as_echo "$as_me: failed program was:" >&5 | |
24033 sed 's/^/| /' conftest.$ac_ext >&5 | |
24034 | |
24035 ac_header_preproc=no | |
24036 fi | |
24037 | |
24038 rm -f conftest.err conftest.$ac_ext | |
24039 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
24040 $as_echo "$ac_header_preproc" >&6; } | |
24041 | |
24042 # So? What about this header? | |
24043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
24044 yes:no: ) | |
24045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
24046 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
24047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
24048 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
24049 ac_header_preproc=yes | |
24050 ;; | |
24051 no:yes:* ) | |
24052 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
24053 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
24054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
24055 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
24056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
24057 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
24058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
24059 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
24060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
24061 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
24062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
24063 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
24064 | |
24065 ;; | |
24066 esac | |
24067 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
24068 $as_echo_n "checking for $ac_header... " >&6; } | |
24069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24070 $as_echo_n "(cached) " >&6 | |
24071 else | |
24072 eval "$as_ac_Header=\$ac_header_preproc" | |
24073 fi | |
24074 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
24075 $as_echo "$as_val"'` | |
24076 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24077 $as_echo "$ac_res" >&6; } | |
24078 | |
24079 fi | |
24080 if test `eval 'as_val=${'$as_ac_Header'} | |
24081 $as_echo "$as_val"'` = yes; then | |
13028 cat >>confdefs.h <<_ACEOF | 24082 cat >>confdefs.h <<_ACEOF |
13029 #define HAVE_KERBEROSIV_KRB_H 1 | 24083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13030 _ACEOF | 24084 _ACEOF |
13031 | 24085 |
13032 else | 24086 else |
13033 for ac_header in kerberos/krb.h | 24087 |
13034 do : | 24088 for ac_header in kerberos/krb.h |
13035 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" | 24089 do |
13036 if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : | 24090 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
24091 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24092 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
24093 $as_echo_n "checking for $ac_header... " >&6; } | |
24094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24095 $as_echo_n "(cached) " >&6 | |
24096 fi | |
24097 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
24098 $as_echo "$as_val"'` | |
24099 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24100 $as_echo "$ac_res" >&6; } | |
24101 else | |
24102 # Is the header compilable? | |
24103 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
24104 $as_echo_n "checking $ac_header usability... " >&6; } | |
24105 cat >conftest.$ac_ext <<_ACEOF | |
24106 /* confdefs.h. */ | |
24107 _ACEOF | |
24108 cat confdefs.h >>conftest.$ac_ext | |
24109 cat >>conftest.$ac_ext <<_ACEOF | |
24110 /* end confdefs.h. */ | |
24111 $ac_includes_default | |
24112 #include <$ac_header> | |
24113 _ACEOF | |
24114 rm -f conftest.$ac_objext | |
24115 if { (ac_try="$ac_compile" | |
24116 case "(($ac_try" in | |
24117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24118 *) ac_try_echo=$ac_try;; | |
24119 esac | |
24120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24121 $as_echo "$ac_try_echo") >&5 | |
24122 (eval "$ac_compile") 2>conftest.er1 | |
24123 ac_status=$? | |
24124 grep -v '^ *+' conftest.er1 >conftest.err | |
24125 rm -f conftest.er1 | |
24126 cat conftest.err >&5 | |
24127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24128 (exit $ac_status); } && { | |
24129 test -z "$ac_c_werror_flag" || | |
24130 test ! -s conftest.err | |
24131 } && test -s conftest.$ac_objext; then | |
24132 ac_header_compiler=yes | |
24133 else | |
24134 $as_echo "$as_me: failed program was:" >&5 | |
24135 sed 's/^/| /' conftest.$ac_ext >&5 | |
24136 | |
24137 ac_header_compiler=no | |
24138 fi | |
24139 | |
24140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
24141 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24142 $as_echo "$ac_header_compiler" >&6; } | |
24143 | |
24144 # Is the header present? | |
24145 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
24146 $as_echo_n "checking $ac_header presence... " >&6; } | |
24147 cat >conftest.$ac_ext <<_ACEOF | |
24148 /* confdefs.h. */ | |
24149 _ACEOF | |
24150 cat confdefs.h >>conftest.$ac_ext | |
24151 cat >>conftest.$ac_ext <<_ACEOF | |
24152 /* end confdefs.h. */ | |
24153 #include <$ac_header> | |
24154 _ACEOF | |
24155 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
24156 case "(($ac_try" in | |
24157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24158 *) ac_try_echo=$ac_try;; | |
24159 esac | |
24160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24161 $as_echo "$ac_try_echo") >&5 | |
24162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24163 ac_status=$? | |
24164 grep -v '^ *+' conftest.er1 >conftest.err | |
24165 rm -f conftest.er1 | |
24166 cat conftest.err >&5 | |
24167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24168 (exit $ac_status); } >/dev/null && { | |
24169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
24170 test ! -s conftest.err | |
24171 }; then | |
24172 ac_header_preproc=yes | |
24173 else | |
24174 $as_echo "$as_me: failed program was:" >&5 | |
24175 sed 's/^/| /' conftest.$ac_ext >&5 | |
24176 | |
24177 ac_header_preproc=no | |
24178 fi | |
24179 | |
24180 rm -f conftest.err conftest.$ac_ext | |
24181 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
24182 $as_echo "$ac_header_preproc" >&6; } | |
24183 | |
24184 # So? What about this header? | |
24185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
24186 yes:no: ) | |
24187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
24188 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
24189 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
24190 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
24191 ac_header_preproc=yes | |
24192 ;; | |
24193 no:yes:* ) | |
24194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
24195 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
24196 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
24197 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
24198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
24199 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
24200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
24201 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
24202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
24203 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
24204 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
24205 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
24206 | |
24207 ;; | |
24208 esac | |
24209 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
24210 $as_echo_n "checking for $ac_header... " >&6; } | |
24211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24212 $as_echo_n "(cached) " >&6 | |
24213 else | |
24214 eval "$as_ac_Header=\$ac_header_preproc" | |
24215 fi | |
24216 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
24217 $as_echo "$as_val"'` | |
24218 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24219 $as_echo "$ac_res" >&6; } | |
24220 | |
24221 fi | |
24222 if test `eval 'as_val=${'$as_ac_Header'} | |
24223 $as_echo "$as_val"'` = yes; then | |
13037 cat >>confdefs.h <<_ACEOF | 24224 cat >>confdefs.h <<_ACEOF |
13038 #define HAVE_KERBEROS_KRB_H 1 | 24225 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13039 _ACEOF | 24226 _ACEOF |
13040 | 24227 |
13041 fi | 24228 fi |
13042 | 24229 |
13043 done | 24230 done |
13049 fi | 24236 fi |
13050 | 24237 |
13051 done | 24238 done |
13052 | 24239 |
13053 fi | 24240 fi |
13054 for ac_header in com_err.h | 24241 |
13055 do : | 24242 for ac_header in com_err.h |
13056 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" | 24243 do |
13057 if test "x$ac_cv_header_com_err_h" = x""yes; then : | 24244 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
24245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24246 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
24247 $as_echo_n "checking for $ac_header... " >&6; } | |
24248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24249 $as_echo_n "(cached) " >&6 | |
24250 fi | |
24251 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
24252 $as_echo "$as_val"'` | |
24253 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24254 $as_echo "$ac_res" >&6; } | |
24255 else | |
24256 # Is the header compilable? | |
24257 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
24258 $as_echo_n "checking $ac_header usability... " >&6; } | |
24259 cat >conftest.$ac_ext <<_ACEOF | |
24260 /* confdefs.h. */ | |
24261 _ACEOF | |
24262 cat confdefs.h >>conftest.$ac_ext | |
24263 cat >>conftest.$ac_ext <<_ACEOF | |
24264 /* end confdefs.h. */ | |
24265 $ac_includes_default | |
24266 #include <$ac_header> | |
24267 _ACEOF | |
24268 rm -f conftest.$ac_objext | |
24269 if { (ac_try="$ac_compile" | |
24270 case "(($ac_try" in | |
24271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24272 *) ac_try_echo=$ac_try;; | |
24273 esac | |
24274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24275 $as_echo "$ac_try_echo") >&5 | |
24276 (eval "$ac_compile") 2>conftest.er1 | |
24277 ac_status=$? | |
24278 grep -v '^ *+' conftest.er1 >conftest.err | |
24279 rm -f conftest.er1 | |
24280 cat conftest.err >&5 | |
24281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24282 (exit $ac_status); } && { | |
24283 test -z "$ac_c_werror_flag" || | |
24284 test ! -s conftest.err | |
24285 } && test -s conftest.$ac_objext; then | |
24286 ac_header_compiler=yes | |
24287 else | |
24288 $as_echo "$as_me: failed program was:" >&5 | |
24289 sed 's/^/| /' conftest.$ac_ext >&5 | |
24290 | |
24291 ac_header_compiler=no | |
24292 fi | |
24293 | |
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
24295 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24296 $as_echo "$ac_header_compiler" >&6; } | |
24297 | |
24298 # Is the header present? | |
24299 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
24300 $as_echo_n "checking $ac_header presence... " >&6; } | |
24301 cat >conftest.$ac_ext <<_ACEOF | |
24302 /* confdefs.h. */ | |
24303 _ACEOF | |
24304 cat confdefs.h >>conftest.$ac_ext | |
24305 cat >>conftest.$ac_ext <<_ACEOF | |
24306 /* end confdefs.h. */ | |
24307 #include <$ac_header> | |
24308 _ACEOF | |
24309 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
24310 case "(($ac_try" in | |
24311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24312 *) ac_try_echo=$ac_try;; | |
24313 esac | |
24314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24315 $as_echo "$ac_try_echo") >&5 | |
24316 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24317 ac_status=$? | |
24318 grep -v '^ *+' conftest.er1 >conftest.err | |
24319 rm -f conftest.er1 | |
24320 cat conftest.err >&5 | |
24321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24322 (exit $ac_status); } >/dev/null && { | |
24323 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
24324 test ! -s conftest.err | |
24325 }; then | |
24326 ac_header_preproc=yes | |
24327 else | |
24328 $as_echo "$as_me: failed program was:" >&5 | |
24329 sed 's/^/| /' conftest.$ac_ext >&5 | |
24330 | |
24331 ac_header_preproc=no | |
24332 fi | |
24333 | |
24334 rm -f conftest.err conftest.$ac_ext | |
24335 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
24336 $as_echo "$ac_header_preproc" >&6; } | |
24337 | |
24338 # So? What about this header? | |
24339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
24340 yes:no: ) | |
24341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
24342 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
24343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
24344 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
24345 ac_header_preproc=yes | |
24346 ;; | |
24347 no:yes:* ) | |
24348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
24349 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
24350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
24351 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
24352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
24353 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
24354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
24355 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
24356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
24357 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
24358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
24359 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
24360 | |
24361 ;; | |
24362 esac | |
24363 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
24364 $as_echo_n "checking for $ac_header... " >&6; } | |
24365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
24366 $as_echo_n "(cached) " >&6 | |
24367 else | |
24368 eval "$as_ac_Header=\$ac_header_preproc" | |
24369 fi | |
24370 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
24371 $as_echo "$as_val"'` | |
24372 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24373 $as_echo "$ac_res" >&6; } | |
24374 | |
24375 fi | |
24376 if test `eval 'as_val=${'$as_ac_Header'} | |
24377 $as_echo "$as_val"'` = yes; then | |
13058 cat >>confdefs.h <<_ACEOF | 24378 cat >>confdefs.h <<_ACEOF |
13059 #define HAVE_COM_ERR_H 1 | 24379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13060 _ACEOF | 24380 _ACEOF |
13061 | 24381 |
13062 fi | 24382 fi |
13063 | 24383 |
13064 done | 24384 done |
13071 | 24391 |
13072 | 24392 |
13073 | 24393 |
13074 # Solaris requires -lintl if you want strerror (which calls dgettext) | 24394 # Solaris requires -lintl if you want strerror (which calls dgettext) |
13075 # to return localized messages. | 24395 # to return localized messages. |
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 | 24396 |
24397 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | |
13077 $as_echo_n "checking for dgettext in -lintl... " >&6; } | 24398 $as_echo_n "checking for dgettext in -lintl... " >&6; } |
13078 if test "${ac_cv_lib_intl_dgettext+set}" = set; then : | 24399 if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
13079 $as_echo_n "(cached) " >&6 | 24400 $as_echo_n "(cached) " >&6 |
13080 else | 24401 else |
13081 ac_check_lib_save_LIBS=$LIBS | 24402 ac_check_lib_save_LIBS=$LIBS |
13082 LIBS="-lintl $LIBS" | 24403 LIBS="-lintl $LIBS" |
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24404 cat >conftest.$ac_ext <<_ACEOF |
24405 /* confdefs.h. */ | |
24406 _ACEOF | |
24407 cat confdefs.h >>conftest.$ac_ext | |
24408 cat >>conftest.$ac_ext <<_ACEOF | |
13084 /* end confdefs.h. */ | 24409 /* end confdefs.h. */ |
13085 | 24410 |
13086 /* Override any GCC internal prototype to avoid an error. | 24411 /* Override any GCC internal prototype to avoid an error. |
13087 Use char because int might match the return type of a GCC | 24412 Use char because int might match the return type of a GCC |
13088 builtin and then its argument prototype would still apply. */ | 24413 builtin and then its argument prototype would still apply. */ |
13096 return dgettext (); | 24421 return dgettext (); |
13097 ; | 24422 ; |
13098 return 0; | 24423 return 0; |
13099 } | 24424 } |
13100 _ACEOF | 24425 _ACEOF |
13101 if ac_fn_c_try_link "$LINENO"; then : | 24426 rm -f conftest.$ac_objext conftest$ac_exeext |
24427 if { (ac_try="$ac_link" | |
24428 case "(($ac_try" in | |
24429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24430 *) ac_try_echo=$ac_try;; | |
24431 esac | |
24432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24433 $as_echo "$ac_try_echo") >&5 | |
24434 (eval "$ac_link") 2>conftest.er1 | |
24435 ac_status=$? | |
24436 grep -v '^ *+' conftest.er1 >conftest.err | |
24437 rm -f conftest.er1 | |
24438 cat conftest.err >&5 | |
24439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24440 (exit $ac_status); } && { | |
24441 test -z "$ac_c_werror_flag" || | |
24442 test ! -s conftest.err | |
24443 } && test -s conftest$ac_exeext && { | |
24444 test "$cross_compiling" = yes || | |
24445 $as_test_x conftest$ac_exeext | |
24446 }; then | |
13102 ac_cv_lib_intl_dgettext=yes | 24447 ac_cv_lib_intl_dgettext=yes |
13103 else | 24448 else |
13104 ac_cv_lib_intl_dgettext=no | 24449 $as_echo "$as_me: failed program was:" >&5 |
13105 fi | 24450 sed 's/^/| /' conftest.$ac_ext >&5 |
13106 rm -f core conftest.err conftest.$ac_objext \ | 24451 |
13107 conftest$ac_exeext conftest.$ac_ext | 24452 ac_cv_lib_intl_dgettext=no |
24453 fi | |
24454 | |
24455 rm -rf conftest.dSYM | |
24456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
24457 conftest$ac_exeext conftest.$ac_ext | |
13108 LIBS=$ac_check_lib_save_LIBS | 24458 LIBS=$ac_check_lib_save_LIBS |
13109 fi | 24459 fi |
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 | 24460 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
13111 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } | 24461 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
13112 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : | 24462 if test $ac_cv_lib_intl_dgettext = yes; then |
13113 cat >>confdefs.h <<_ACEOF | 24463 cat >>confdefs.h <<_ACEOF |
13114 #define HAVE_LIBINTL 1 | 24464 #define HAVE_LIBINTL 1 |
13115 _ACEOF | 24465 _ACEOF |
13116 | 24466 |
13117 LIBS="-lintl $LIBS" | 24467 LIBS="-lintl $LIBS" |
13118 | 24468 |
13119 fi | 24469 fi |
13120 | 24470 |
13121 | 24471 |
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 | 24472 { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 |
13123 $as_echo_n "checking whether localtime caches TZ... " >&6; } | 24473 $as_echo_n "checking whether localtime caches TZ... " >&6; } |
13124 if test "${emacs_cv_localtime_cache+set}" = set; then : | 24474 if test "${emacs_cv_localtime_cache+set}" = set; then |
13125 $as_echo_n "(cached) " >&6 | 24475 $as_echo_n "(cached) " >&6 |
13126 else | 24476 else |
13127 if test x$ac_cv_func_tzset = xyes; then | 24477 if test x$ac_cv_func_tzset = xyes; then |
13128 if test "$cross_compiling" = yes; then : | 24478 if test "$cross_compiling" = yes; then |
13129 # If we have tzset, assume the worst when cross-compiling. | 24479 # If we have tzset, assume the worst when cross-compiling. |
13130 emacs_cv_localtime_cache=yes | 24480 emacs_cv_localtime_cache=yes |
13131 else | 24481 else |
13132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24482 cat >conftest.$ac_ext <<_ACEOF |
24483 /* confdefs.h. */ | |
24484 _ACEOF | |
24485 cat confdefs.h >>conftest.$ac_ext | |
24486 cat >>conftest.$ac_ext <<_ACEOF | |
13133 /* end confdefs.h. */ | 24487 /* end confdefs.h. */ |
13134 #include <time.h> | 24488 #include <time.h> |
13135 extern char **environ; | 24489 extern char **environ; |
13136 unset_TZ () | 24490 unset_TZ () |
13137 { | 24491 { |
13159 if (localtime (&now)->tm_hour != hour_unset) | 24513 if (localtime (&now)->tm_hour != hour_unset) |
13160 exit (1); | 24514 exit (1); |
13161 exit (0); | 24515 exit (0); |
13162 } | 24516 } |
13163 _ACEOF | 24517 _ACEOF |
13164 if ac_fn_c_try_run "$LINENO"; then : | 24518 rm -f conftest$ac_exeext |
24519 if { (ac_try="$ac_link" | |
24520 case "(($ac_try" in | |
24521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24522 *) ac_try_echo=$ac_try;; | |
24523 esac | |
24524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24525 $as_echo "$ac_try_echo") >&5 | |
24526 (eval "$ac_link") 2>&5 | |
24527 ac_status=$? | |
24528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
24530 { (case "(($ac_try" in | |
24531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24532 *) ac_try_echo=$ac_try;; | |
24533 esac | |
24534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24535 $as_echo "$ac_try_echo") >&5 | |
24536 (eval "$ac_try") 2>&5 | |
24537 ac_status=$? | |
24538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24539 (exit $ac_status); }; }; then | |
13165 emacs_cv_localtime_cache=no | 24540 emacs_cv_localtime_cache=no |
13166 else | 24541 else |
13167 emacs_cv_localtime_cache=yes | 24542 $as_echo "$as_me: program exited with status $ac_status" >&5 |
13168 fi | 24543 $as_echo "$as_me: failed program was:" >&5 |
13169 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 24544 sed 's/^/| /' conftest.$ac_ext >&5 |
13170 conftest.$ac_objext conftest.beam conftest.$ac_ext | 24545 |
13171 fi | 24546 ( exit $ac_status ) |
24547 emacs_cv_localtime_cache=yes | |
24548 fi | |
24549 rm -rf conftest.dSYM | |
24550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
24551 fi | |
24552 | |
13172 | 24553 |
13173 else | 24554 else |
13174 # If we lack tzset, report that localtime does not cache TZ, | 24555 # If we lack tzset, report that localtime does not cache TZ, |
13175 # since we can't invalidate the cache if we don't have tzset. | 24556 # since we can't invalidate the cache if we don't have tzset. |
13176 emacs_cv_localtime_cache=no | 24557 emacs_cv_localtime_cache=no |
13177 fi | 24558 fi |
13178 fi | 24559 fi |
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5 | 24560 { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 |
13180 $as_echo "$emacs_cv_localtime_cache" >&6; } | 24561 $as_echo "$emacs_cv_localtime_cache" >&6; } |
13181 if test $emacs_cv_localtime_cache = yes; then | 24562 if test $emacs_cv_localtime_cache = yes; then |
13182 | 24563 |
13183 $as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h | 24564 cat >>confdefs.h <<\_ACEOF |
24565 #define LOCALTIME_CACHE 1 | |
24566 _ACEOF | |
13184 | 24567 |
13185 fi | 24568 fi |
13186 | 24569 |
13187 if test "x$HAVE_TIMEVAL" = xyes; then | 24570 if test "x$HAVE_TIMEVAL" = xyes; then |
13188 for ac_func in gettimeofday | 24571 |
13189 do : | 24572 for ac_func in gettimeofday |
13190 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" | 24573 do |
13191 if test "x$ac_cv_func_gettimeofday" = x""yes; then : | 24574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
24575 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
24576 $as_echo_n "checking for $ac_func... " >&6; } | |
24577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
24578 $as_echo_n "(cached) " >&6 | |
24579 else | |
24580 cat >conftest.$ac_ext <<_ACEOF | |
24581 /* confdefs.h. */ | |
24582 _ACEOF | |
24583 cat confdefs.h >>conftest.$ac_ext | |
24584 cat >>conftest.$ac_ext <<_ACEOF | |
24585 /* end confdefs.h. */ | |
24586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
24587 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
24588 #define $ac_func innocuous_$ac_func | |
24589 | |
24590 /* System header to define __stub macros and hopefully few prototypes, | |
24591 which can conflict with char $ac_func (); below. | |
24592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
24593 <limits.h> exists even on freestanding compilers. */ | |
24594 | |
24595 #ifdef __STDC__ | |
24596 # include <limits.h> | |
24597 #else | |
24598 # include <assert.h> | |
24599 #endif | |
24600 | |
24601 #undef $ac_func | |
24602 | |
24603 /* Override any GCC internal prototype to avoid an error. | |
24604 Use char because int might match the return type of a GCC | |
24605 builtin and then its argument prototype would still apply. */ | |
24606 #ifdef __cplusplus | |
24607 extern "C" | |
24608 #endif | |
24609 char $ac_func (); | |
24610 /* The GNU C library defines this for functions which it implements | |
24611 to always fail with ENOSYS. Some functions are actually named | |
24612 something starting with __ and the normal name is an alias. */ | |
24613 #if defined __stub_$ac_func || defined __stub___$ac_func | |
24614 choke me | |
24615 #endif | |
24616 | |
24617 int | |
24618 main () | |
24619 { | |
24620 return $ac_func (); | |
24621 ; | |
24622 return 0; | |
24623 } | |
24624 _ACEOF | |
24625 rm -f conftest.$ac_objext conftest$ac_exeext | |
24626 if { (ac_try="$ac_link" | |
24627 case "(($ac_try" in | |
24628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24629 *) ac_try_echo=$ac_try;; | |
24630 esac | |
24631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24632 $as_echo "$ac_try_echo") >&5 | |
24633 (eval "$ac_link") 2>conftest.er1 | |
24634 ac_status=$? | |
24635 grep -v '^ *+' conftest.er1 >conftest.err | |
24636 rm -f conftest.er1 | |
24637 cat conftest.err >&5 | |
24638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24639 (exit $ac_status); } && { | |
24640 test -z "$ac_c_werror_flag" || | |
24641 test ! -s conftest.err | |
24642 } && test -s conftest$ac_exeext && { | |
24643 test "$cross_compiling" = yes || | |
24644 $as_test_x conftest$ac_exeext | |
24645 }; then | |
24646 eval "$as_ac_var=yes" | |
24647 else | |
24648 $as_echo "$as_me: failed program was:" >&5 | |
24649 sed 's/^/| /' conftest.$ac_ext >&5 | |
24650 | |
24651 eval "$as_ac_var=no" | |
24652 fi | |
24653 | |
24654 rm -rf conftest.dSYM | |
24655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
24656 conftest$ac_exeext conftest.$ac_ext | |
24657 fi | |
24658 ac_res=`eval 'as_val=${'$as_ac_var'} | |
24659 $as_echo "$as_val"'` | |
24660 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
24661 $as_echo "$ac_res" >&6; } | |
24662 if test `eval 'as_val=${'$as_ac_var'} | |
24663 $as_echo "$as_val"'` = yes; then | |
13192 cat >>confdefs.h <<_ACEOF | 24664 cat >>confdefs.h <<_ACEOF |
13193 #define HAVE_GETTIMEOFDAY 1 | 24665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13194 _ACEOF | 24666 _ACEOF |
13195 | 24667 |
13196 fi | 24668 fi |
13197 done | 24669 done |
13198 | 24670 |
13199 if test $ac_cv_func_gettimeofday = yes; then | 24671 if test $ac_cv_func_gettimeofday = yes; then |
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 | 24672 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 |
13201 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } | 24673 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } |
13202 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : | 24674 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
13203 $as_echo_n "(cached) " >&6 | 24675 $as_echo_n "(cached) " >&6 |
13204 else | 24676 else |
13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24677 cat >conftest.$ac_ext <<_ACEOF |
24678 /* confdefs.h. */ | |
24679 _ACEOF | |
24680 cat confdefs.h >>conftest.$ac_ext | |
24681 cat >>conftest.$ac_ext <<_ACEOF | |
13206 /* end confdefs.h. */ | 24682 /* end confdefs.h. */ |
13207 | 24683 |
13208 #ifdef TIME_WITH_SYS_TIME | 24684 #ifdef TIME_WITH_SYS_TIME |
13209 #include <sys/time.h> | 24685 #include <sys/time.h> |
13210 #include <time.h> | 24686 #include <time.h> |
13222 gettimeofday (&time, 0); | 24698 gettimeofday (&time, 0); |
13223 ; | 24699 ; |
13224 return 0; | 24700 return 0; |
13225 } | 24701 } |
13226 _ACEOF | 24702 _ACEOF |
13227 if ac_fn_c_try_compile "$LINENO"; then : | 24703 rm -f conftest.$ac_objext |
24704 if { (ac_try="$ac_compile" | |
24705 case "(($ac_try" in | |
24706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24707 *) ac_try_echo=$ac_try;; | |
24708 esac | |
24709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24710 $as_echo "$ac_try_echo") >&5 | |
24711 (eval "$ac_compile") 2>conftest.er1 | |
24712 ac_status=$? | |
24713 grep -v '^ *+' conftest.er1 >conftest.err | |
24714 rm -f conftest.er1 | |
24715 cat conftest.err >&5 | |
24716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24717 (exit $ac_status); } && { | |
24718 test -z "$ac_c_werror_flag" || | |
24719 test ! -s conftest.err | |
24720 } && test -s conftest.$ac_objext; then | |
13228 emacs_cv_gettimeofday_two_arguments=yes | 24721 emacs_cv_gettimeofday_two_arguments=yes |
13229 else | 24722 else |
13230 emacs_cv_gettimeofday_two_arguments=no | 24723 $as_echo "$as_me: failed program was:" >&5 |
13231 fi | 24724 sed 's/^/| /' conftest.$ac_ext >&5 |
24725 | |
24726 emacs_cv_gettimeofday_two_arguments=no | |
24727 fi | |
24728 | |
13232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13233 fi | 24730 fi |
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 24731 { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
13235 $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } | 24732 $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } |
13236 if test $emacs_cv_gettimeofday_two_arguments = no; then | 24733 if test $emacs_cv_gettimeofday_two_arguments = no; then |
13237 | 24734 |
13238 $as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h | 24735 cat >>confdefs.h <<\_ACEOF |
24736 #define GETTIMEOFDAY_ONE_ARGUMENT 1 | |
24737 _ACEOF | |
13239 | 24738 |
13240 fi | 24739 fi |
13241 fi | 24740 fi |
13242 fi | 24741 fi |
13243 | 24742 |
13244 ok_so_far=yes | 24743 ok_so_far=yes |
13245 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" | 24744 { $as_echo "$as_me:$LINENO: checking for socket" >&5 |
13246 if test "x$ac_cv_func_socket" = x""yes; then : | 24745 $as_echo_n "checking for socket... " >&6; } |
13247 | 24746 if test "${ac_cv_func_socket+set}" = set; then |
24747 $as_echo_n "(cached) " >&6 | |
24748 else | |
24749 cat >conftest.$ac_ext <<_ACEOF | |
24750 /* confdefs.h. */ | |
24751 _ACEOF | |
24752 cat confdefs.h >>conftest.$ac_ext | |
24753 cat >>conftest.$ac_ext <<_ACEOF | |
24754 /* end confdefs.h. */ | |
24755 /* Define socket to an innocuous variant, in case <limits.h> declares socket. | |
24756 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
24757 #define socket innocuous_socket | |
24758 | |
24759 /* System header to define __stub macros and hopefully few prototypes, | |
24760 which can conflict with char socket (); below. | |
24761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
24762 <limits.h> exists even on freestanding compilers. */ | |
24763 | |
24764 #ifdef __STDC__ | |
24765 # include <limits.h> | |
24766 #else | |
24767 # include <assert.h> | |
24768 #endif | |
24769 | |
24770 #undef socket | |
24771 | |
24772 /* Override any GCC internal prototype to avoid an error. | |
24773 Use char because int might match the return type of a GCC | |
24774 builtin and then its argument prototype would still apply. */ | |
24775 #ifdef __cplusplus | |
24776 extern "C" | |
24777 #endif | |
24778 char socket (); | |
24779 /* The GNU C library defines this for functions which it implements | |
24780 to always fail with ENOSYS. Some functions are actually named | |
24781 something starting with __ and the normal name is an alias. */ | |
24782 #if defined __stub_socket || defined __stub___socket | |
24783 choke me | |
24784 #endif | |
24785 | |
24786 int | |
24787 main () | |
24788 { | |
24789 return socket (); | |
24790 ; | |
24791 return 0; | |
24792 } | |
24793 _ACEOF | |
24794 rm -f conftest.$ac_objext conftest$ac_exeext | |
24795 if { (ac_try="$ac_link" | |
24796 case "(($ac_try" in | |
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24798 *) ac_try_echo=$ac_try;; | |
24799 esac | |
24800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24801 $as_echo "$ac_try_echo") >&5 | |
24802 (eval "$ac_link") 2>conftest.er1 | |
24803 ac_status=$? | |
24804 grep -v '^ *+' conftest.er1 >conftest.err | |
24805 rm -f conftest.er1 | |
24806 cat conftest.err >&5 | |
24807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24808 (exit $ac_status); } && { | |
24809 test -z "$ac_c_werror_flag" || | |
24810 test ! -s conftest.err | |
24811 } && test -s conftest$ac_exeext && { | |
24812 test "$cross_compiling" = yes || | |
24813 $as_test_x conftest$ac_exeext | |
24814 }; then | |
24815 ac_cv_func_socket=yes | |
24816 else | |
24817 $as_echo "$as_me: failed program was:" >&5 | |
24818 sed 's/^/| /' conftest.$ac_ext >&5 | |
24819 | |
24820 ac_cv_func_socket=no | |
24821 fi | |
24822 | |
24823 rm -rf conftest.dSYM | |
24824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
24825 conftest$ac_exeext conftest.$ac_ext | |
24826 fi | |
24827 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | |
24828 $as_echo "$ac_cv_func_socket" >&6; } | |
24829 if test $ac_cv_func_socket = yes; then | |
24830 : | |
13248 else | 24831 else |
13249 ok_so_far=no | 24832 ok_so_far=no |
13250 fi | 24833 fi |
13251 | 24834 |
13252 if test $ok_so_far = yes; then | 24835 if test $ok_so_far = yes; then |
13253 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" | 24836 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
13254 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : | 24837 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
13255 | 24838 $as_echo_n "checking for netinet/in.h... " >&6; } |
24839 if test "${ac_cv_header_netinet_in_h+set}" = set; then | |
24840 $as_echo_n "(cached) " >&6 | |
24841 fi | |
24842 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | |
24843 $as_echo "$ac_cv_header_netinet_in_h" >&6; } | |
24844 else | |
24845 # Is the header compilable? | |
24846 { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | |
24847 $as_echo_n "checking netinet/in.h usability... " >&6; } | |
24848 cat >conftest.$ac_ext <<_ACEOF | |
24849 /* confdefs.h. */ | |
24850 _ACEOF | |
24851 cat confdefs.h >>conftest.$ac_ext | |
24852 cat >>conftest.$ac_ext <<_ACEOF | |
24853 /* end confdefs.h. */ | |
24854 $ac_includes_default | |
24855 #include <netinet/in.h> | |
24856 _ACEOF | |
24857 rm -f conftest.$ac_objext | |
24858 if { (ac_try="$ac_compile" | |
24859 case "(($ac_try" in | |
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24861 *) ac_try_echo=$ac_try;; | |
24862 esac | |
24863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24864 $as_echo "$ac_try_echo") >&5 | |
24865 (eval "$ac_compile") 2>conftest.er1 | |
24866 ac_status=$? | |
24867 grep -v '^ *+' conftest.er1 >conftest.err | |
24868 rm -f conftest.er1 | |
24869 cat conftest.err >&5 | |
24870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24871 (exit $ac_status); } && { | |
24872 test -z "$ac_c_werror_flag" || | |
24873 test ! -s conftest.err | |
24874 } && test -s conftest.$ac_objext; then | |
24875 ac_header_compiler=yes | |
24876 else | |
24877 $as_echo "$as_me: failed program was:" >&5 | |
24878 sed 's/^/| /' conftest.$ac_ext >&5 | |
24879 | |
24880 ac_header_compiler=no | |
24881 fi | |
24882 | |
24883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
24884 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
24885 $as_echo "$ac_header_compiler" >&6; } | |
24886 | |
24887 # Is the header present? | |
24888 { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | |
24889 $as_echo_n "checking netinet/in.h presence... " >&6; } | |
24890 cat >conftest.$ac_ext <<_ACEOF | |
24891 /* confdefs.h. */ | |
24892 _ACEOF | |
24893 cat confdefs.h >>conftest.$ac_ext | |
24894 cat >>conftest.$ac_ext <<_ACEOF | |
24895 /* end confdefs.h. */ | |
24896 #include <netinet/in.h> | |
24897 _ACEOF | |
24898 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
24899 case "(($ac_try" in | |
24900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24901 *) ac_try_echo=$ac_try;; | |
24902 esac | |
24903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
24904 $as_echo "$ac_try_echo") >&5 | |
24905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24906 ac_status=$? | |
24907 grep -v '^ *+' conftest.er1 >conftest.err | |
24908 rm -f conftest.er1 | |
24909 cat conftest.err >&5 | |
24910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
24911 (exit $ac_status); } >/dev/null && { | |
24912 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
24913 test ! -s conftest.err | |
24914 }; then | |
24915 ac_header_preproc=yes | |
24916 else | |
24917 $as_echo "$as_me: failed program was:" >&5 | |
24918 sed 's/^/| /' conftest.$ac_ext >&5 | |
24919 | |
24920 ac_header_preproc=no | |
24921 fi | |
24922 | |
24923 rm -f conftest.err conftest.$ac_ext | |
24924 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
24925 $as_echo "$ac_header_preproc" >&6; } | |
24926 | |
24927 # So? What about this header? | |
24928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
24929 yes:no: ) | |
24930 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
24931 $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
24932 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 | |
24933 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} | |
24934 ac_header_preproc=yes | |
24935 ;; | |
24936 no:yes:* ) | |
24937 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 | |
24938 $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} | |
24939 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 | |
24940 $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} | |
24941 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 | |
24942 $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} | |
24943 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 | |
24944 $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
24945 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | |
24946 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} | |
24947 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 | |
24948 $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} | |
24949 | |
24950 ;; | |
24951 esac | |
24952 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | |
24953 $as_echo_n "checking for netinet/in.h... " >&6; } | |
24954 if test "${ac_cv_header_netinet_in_h+set}" = set; then | |
24955 $as_echo_n "(cached) " >&6 | |
24956 else | |
24957 ac_cv_header_netinet_in_h=$ac_header_preproc | |
24958 fi | |
24959 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | |
24960 $as_echo "$ac_cv_header_netinet_in_h" >&6; } | |
24961 | |
24962 fi | |
24963 if test $ac_cv_header_netinet_in_h = yes; then | |
24964 : | |
13256 else | 24965 else |
13257 ok_so_far=no | 24966 ok_so_far=no |
13258 fi | 24967 fi |
13259 | 24968 |
13260 | 24969 |
13261 fi | 24970 fi |
13262 if test $ok_so_far = yes; then | 24971 if test $ok_so_far = yes; then |
13263 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" | 24972 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
13264 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : | 24973 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
13265 | 24974 $as_echo_n "checking for arpa/inet.h... " >&6; } |
24975 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | |
24976 $as_echo_n "(cached) " >&6 | |
24977 fi | |
24978 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | |
24979 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | |
24980 else | |
24981 # Is the header compilable? | |
24982 { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | |
24983 $as_echo_n "checking arpa/inet.h usability... " >&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 $ac_includes_default | |
24991 #include <arpa/inet.h> | |
24992 _ACEOF | |
24993 rm -f conftest.$ac_objext | |
24994 if { (ac_try="$ac_compile" | |
24995 case "(($ac_try" in | |
24996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24997 *) ac_try_echo=$ac_try;; | |
24998 esac | |
24999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25000 $as_echo "$ac_try_echo") >&5 | |
25001 (eval "$ac_compile") 2>conftest.er1 | |
25002 ac_status=$? | |
25003 grep -v '^ *+' conftest.er1 >conftest.err | |
25004 rm -f conftest.er1 | |
25005 cat conftest.err >&5 | |
25006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25007 (exit $ac_status); } && { | |
25008 test -z "$ac_c_werror_flag" || | |
25009 test ! -s conftest.err | |
25010 } && test -s conftest.$ac_objext; then | |
25011 ac_header_compiler=yes | |
25012 else | |
25013 $as_echo "$as_me: failed program was:" >&5 | |
25014 sed 's/^/| /' conftest.$ac_ext >&5 | |
25015 | |
25016 ac_header_compiler=no | |
25017 fi | |
25018 | |
25019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
25020 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
25021 $as_echo "$ac_header_compiler" >&6; } | |
25022 | |
25023 # Is the header present? | |
25024 { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | |
25025 $as_echo_n "checking arpa/inet.h presence... " >&6; } | |
25026 cat >conftest.$ac_ext <<_ACEOF | |
25027 /* confdefs.h. */ | |
25028 _ACEOF | |
25029 cat confdefs.h >>conftest.$ac_ext | |
25030 cat >>conftest.$ac_ext <<_ACEOF | |
25031 /* end confdefs.h. */ | |
25032 #include <arpa/inet.h> | |
25033 _ACEOF | |
25034 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
25035 case "(($ac_try" in | |
25036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25037 *) ac_try_echo=$ac_try;; | |
25038 esac | |
25039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25040 $as_echo "$ac_try_echo") >&5 | |
25041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
25042 ac_status=$? | |
25043 grep -v '^ *+' conftest.er1 >conftest.err | |
25044 rm -f conftest.er1 | |
25045 cat conftest.err >&5 | |
25046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25047 (exit $ac_status); } >/dev/null && { | |
25048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
25049 test ! -s conftest.err | |
25050 }; then | |
25051 ac_header_preproc=yes | |
25052 else | |
25053 $as_echo "$as_me: failed program was:" >&5 | |
25054 sed 's/^/| /' conftest.$ac_ext >&5 | |
25055 | |
25056 ac_header_preproc=no | |
25057 fi | |
25058 | |
25059 rm -f conftest.err conftest.$ac_ext | |
25060 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
25061 $as_echo "$ac_header_preproc" >&6; } | |
25062 | |
25063 # So? What about this header? | |
25064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
25065 yes:no: ) | |
25066 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
25067 $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
25068 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 | |
25069 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} | |
25070 ac_header_preproc=yes | |
25071 ;; | |
25072 no:yes:* ) | |
25073 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 | |
25074 $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} | |
25075 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 | |
25076 $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} | |
25077 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 | |
25078 $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} | |
25079 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 | |
25080 $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
25081 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | |
25082 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} | |
25083 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 | |
25084 $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} | |
25085 | |
25086 ;; | |
25087 esac | |
25088 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | |
25089 $as_echo_n "checking for arpa/inet.h... " >&6; } | |
25090 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | |
25091 $as_echo_n "(cached) " >&6 | |
25092 else | |
25093 ac_cv_header_arpa_inet_h=$ac_header_preproc | |
25094 fi | |
25095 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | |
25096 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | |
25097 | |
25098 fi | |
25099 if test $ac_cv_header_arpa_inet_h = yes; then | |
25100 : | |
13266 else | 25101 else |
13267 ok_so_far=no | 25102 ok_so_far=no |
13268 fi | 25103 fi |
13269 | 25104 |
13270 | 25105 |
13271 fi | 25106 fi |
13272 if test $ok_so_far = yes; then | 25107 if test $ok_so_far = yes; then |
13273 | 25108 |
13274 $as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h | 25109 cat >>confdefs.h <<\_ACEOF |
13275 | 25110 #define HAVE_INET_SOCKETS 1 |
13276 fi | 25111 _ACEOF |
25112 | |
25113 fi | |
25114 | |
13277 | 25115 |
13278 for ac_header in sys/ioctl.h | 25116 for ac_header in sys/ioctl.h |
13279 do : | 25117 do |
13280 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" | 25118 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13281 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : | 25119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25120 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
25121 $as_echo_n "checking for $ac_header... " >&6; } | |
25122 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
25123 $as_echo_n "(cached) " >&6 | |
25124 fi | |
25125 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
25126 $as_echo "$as_val"'` | |
25127 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
25128 $as_echo "$ac_res" >&6; } | |
25129 else | |
25130 # Is the header compilable? | |
25131 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
25132 $as_echo_n "checking $ac_header usability... " >&6; } | |
25133 cat >conftest.$ac_ext <<_ACEOF | |
25134 /* confdefs.h. */ | |
25135 _ACEOF | |
25136 cat confdefs.h >>conftest.$ac_ext | |
25137 cat >>conftest.$ac_ext <<_ACEOF | |
25138 /* end confdefs.h. */ | |
25139 $ac_includes_default | |
25140 #include <$ac_header> | |
25141 _ACEOF | |
25142 rm -f conftest.$ac_objext | |
25143 if { (ac_try="$ac_compile" | |
25144 case "(($ac_try" in | |
25145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25146 *) ac_try_echo=$ac_try;; | |
25147 esac | |
25148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25149 $as_echo "$ac_try_echo") >&5 | |
25150 (eval "$ac_compile") 2>conftest.er1 | |
25151 ac_status=$? | |
25152 grep -v '^ *+' conftest.er1 >conftest.err | |
25153 rm -f conftest.er1 | |
25154 cat conftest.err >&5 | |
25155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25156 (exit $ac_status); } && { | |
25157 test -z "$ac_c_werror_flag" || | |
25158 test ! -s conftest.err | |
25159 } && test -s conftest.$ac_objext; then | |
25160 ac_header_compiler=yes | |
25161 else | |
25162 $as_echo "$as_me: failed program was:" >&5 | |
25163 sed 's/^/| /' conftest.$ac_ext >&5 | |
25164 | |
25165 ac_header_compiler=no | |
25166 fi | |
25167 | |
25168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
25169 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
25170 $as_echo "$ac_header_compiler" >&6; } | |
25171 | |
25172 # Is the header present? | |
25173 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
25174 $as_echo_n "checking $ac_header presence... " >&6; } | |
25175 cat >conftest.$ac_ext <<_ACEOF | |
25176 /* confdefs.h. */ | |
25177 _ACEOF | |
25178 cat confdefs.h >>conftest.$ac_ext | |
25179 cat >>conftest.$ac_ext <<_ACEOF | |
25180 /* end confdefs.h. */ | |
25181 #include <$ac_header> | |
25182 _ACEOF | |
25183 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
25184 case "(($ac_try" in | |
25185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25186 *) ac_try_echo=$ac_try;; | |
25187 esac | |
25188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25189 $as_echo "$ac_try_echo") >&5 | |
25190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
25191 ac_status=$? | |
25192 grep -v '^ *+' conftest.er1 >conftest.err | |
25193 rm -f conftest.er1 | |
25194 cat conftest.err >&5 | |
25195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25196 (exit $ac_status); } >/dev/null && { | |
25197 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
25198 test ! -s conftest.err | |
25199 }; then | |
25200 ac_header_preproc=yes | |
25201 else | |
25202 $as_echo "$as_me: failed program was:" >&5 | |
25203 sed 's/^/| /' conftest.$ac_ext >&5 | |
25204 | |
25205 ac_header_preproc=no | |
25206 fi | |
25207 | |
25208 rm -f conftest.err conftest.$ac_ext | |
25209 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
25210 $as_echo "$ac_header_preproc" >&6; } | |
25211 | |
25212 # So? What about this header? | |
25213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
25214 yes:no: ) | |
25215 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
25216 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
25217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
25218 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
25219 ac_header_preproc=yes | |
25220 ;; | |
25221 no:yes:* ) | |
25222 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
25223 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
25224 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
25225 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
25226 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
25227 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
25228 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
25229 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
25230 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
25231 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
25232 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
25233 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
25234 | |
25235 ;; | |
25236 esac | |
25237 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
25238 $as_echo_n "checking for $ac_header... " >&6; } | |
25239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
25240 $as_echo_n "(cached) " >&6 | |
25241 else | |
25242 eval "$as_ac_Header=\$ac_header_preproc" | |
25243 fi | |
25244 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
25245 $as_echo "$as_val"'` | |
25246 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
25247 $as_echo "$ac_res" >&6; } | |
25248 | |
25249 fi | |
25250 if test `eval 'as_val=${'$as_ac_Header'} | |
25251 $as_echo "$as_val"'` = yes; then | |
13282 cat >>confdefs.h <<_ACEOF | 25252 cat >>confdefs.h <<_ACEOF |
13283 #define HAVE_SYS_IOCTL_H 1 | 25253 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13284 _ACEOF | 25254 _ACEOF |
13285 | 25255 |
13286 fi | 25256 fi |
13287 | 25257 |
13288 done | 25258 done |
13289 | 25259 |
13290 | 25260 |
13291 if test -f /usr/lpp/X11/bin/smt.exp; then | 25261 if test -f /usr/lpp/X11/bin/smt.exp; then |
13292 | 25262 |
13293 $as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h | 25263 cat >>confdefs.h <<\_ACEOF |
13294 | 25264 #define HAVE_AIX_SMT_EXP 1 |
13295 fi | 25265 _ACEOF |
13296 | 25266 |
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5 | 25267 fi |
25268 | |
25269 { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 | |
13298 $as_echo_n "checking whether system supports dynamic ptys... " >&6; } | 25270 $as_echo_n "checking whether system supports dynamic ptys... " >&6; } |
13299 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 25271 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 25272 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
13301 $as_echo "yes" >&6; } | 25273 $as_echo "yes" >&6; } |
13302 | 25274 |
13303 $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h | 25275 cat >>confdefs.h <<\_ACEOF |
13304 | 25276 #define HAVE_DEV_PTMX 1 |
13305 else | 25277 _ACEOF |
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 25278 |
25279 else | |
25280 { $as_echo "$as_me:$LINENO: result: no" >&5 | |
13307 $as_echo "no" >&6; } | 25281 $as_echo "no" >&6; } |
13308 fi | 25282 fi |
13309 | 25283 |
13310 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" | 25284 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 |
13311 if test "x$ac_cv_type_pid_t" = x""yes; then : | 25285 $as_echo_n "checking for pid_t... " >&6; } |
13312 | 25286 if test "${ac_cv_type_pid_t+set}" = set; then |
13313 else | |
13314 | |
13315 cat >>confdefs.h <<_ACEOF | |
13316 #define pid_t int | |
13317 _ACEOF | |
13318 | |
13319 fi | |
13320 | |
13321 for ac_header in vfork.h | |
13322 do : | |
13323 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" | |
13324 if test "x$ac_cv_header_vfork_h" = x""yes; then : | |
13325 cat >>confdefs.h <<_ACEOF | |
13326 #define HAVE_VFORK_H 1 | |
13327 _ACEOF | |
13328 | |
13329 fi | |
13330 | |
13331 done | |
13332 | |
13333 for ac_func in fork vfork | |
13334 do : | |
13335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
13336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
13337 eval as_val=\$$as_ac_var | |
13338 if test "x$as_val" = x""yes; then : | |
13339 cat >>confdefs.h <<_ACEOF | |
13340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
13341 _ACEOF | |
13342 | |
13343 fi | |
13344 done | |
13345 | |
13346 if test "x$ac_cv_func_fork" = xyes; then | |
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 | |
13348 $as_echo_n "checking for working fork... " >&6; } | |
13349 if test "${ac_cv_func_fork_works+set}" = set; then : | |
13350 $as_echo_n "(cached) " >&6 | 25287 $as_echo_n "(cached) " >&6 |
13351 else | 25288 else |
13352 if test "$cross_compiling" = yes; then : | 25289 ac_cv_type_pid_t=no |
13353 ac_cv_func_fork_works=cross | 25290 cat >conftest.$ac_ext <<_ACEOF |
13354 else | 25291 /* confdefs.h. */ |
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25292 _ACEOF |
25293 cat confdefs.h >>conftest.$ac_ext | |
25294 cat >>conftest.$ac_ext <<_ACEOF | |
13356 /* end confdefs.h. */ | 25295 /* end confdefs.h. */ |
13357 $ac_includes_default | 25296 $ac_includes_default |
13358 int | 25297 int |
13359 main () | 25298 main () |
13360 { | 25299 { |
13361 | 25300 if (sizeof (pid_t)) |
13362 /* By Ruediger Kuhlmann. */ | 25301 return 0; |
13363 return fork () < 0; | |
13364 | |
13365 ; | 25302 ; |
13366 return 0; | 25303 return 0; |
13367 } | 25304 } |
13368 _ACEOF | 25305 _ACEOF |
13369 if ac_fn_c_try_run "$LINENO"; then : | 25306 rm -f conftest.$ac_objext |
25307 if { (ac_try="$ac_compile" | |
25308 case "(($ac_try" in | |
25309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25310 *) ac_try_echo=$ac_try;; | |
25311 esac | |
25312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25313 $as_echo "$ac_try_echo") >&5 | |
25314 (eval "$ac_compile") 2>conftest.er1 | |
25315 ac_status=$? | |
25316 grep -v '^ *+' conftest.er1 >conftest.err | |
25317 rm -f conftest.er1 | |
25318 cat conftest.err >&5 | |
25319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25320 (exit $ac_status); } && { | |
25321 test -z "$ac_c_werror_flag" || | |
25322 test ! -s conftest.err | |
25323 } && test -s conftest.$ac_objext; then | |
25324 cat >conftest.$ac_ext <<_ACEOF | |
25325 /* confdefs.h. */ | |
25326 _ACEOF | |
25327 cat confdefs.h >>conftest.$ac_ext | |
25328 cat >>conftest.$ac_ext <<_ACEOF | |
25329 /* end confdefs.h. */ | |
25330 $ac_includes_default | |
25331 int | |
25332 main () | |
25333 { | |
25334 if (sizeof ((pid_t))) | |
25335 return 0; | |
25336 ; | |
25337 return 0; | |
25338 } | |
25339 _ACEOF | |
25340 rm -f conftest.$ac_objext | |
25341 if { (ac_try="$ac_compile" | |
25342 case "(($ac_try" in | |
25343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25344 *) ac_try_echo=$ac_try;; | |
25345 esac | |
25346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25347 $as_echo "$ac_try_echo") >&5 | |
25348 (eval "$ac_compile") 2>conftest.er1 | |
25349 ac_status=$? | |
25350 grep -v '^ *+' conftest.er1 >conftest.err | |
25351 rm -f conftest.er1 | |
25352 cat conftest.err >&5 | |
25353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25354 (exit $ac_status); } && { | |
25355 test -z "$ac_c_werror_flag" || | |
25356 test ! -s conftest.err | |
25357 } && test -s conftest.$ac_objext; then | |
25358 : | |
25359 else | |
25360 $as_echo "$as_me: failed program was:" >&5 | |
25361 sed 's/^/| /' conftest.$ac_ext >&5 | |
25362 | |
25363 ac_cv_type_pid_t=yes | |
25364 fi | |
25365 | |
25366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
25367 else | |
25368 $as_echo "$as_me: failed program was:" >&5 | |
25369 sed 's/^/| /' conftest.$ac_ext >&5 | |
25370 | |
25371 | |
25372 fi | |
25373 | |
25374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
25375 fi | |
25376 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | |
25377 $as_echo "$ac_cv_type_pid_t" >&6; } | |
25378 if test $ac_cv_type_pid_t = yes; then | |
25379 : | |
25380 else | |
25381 | |
25382 cat >>confdefs.h <<_ACEOF | |
25383 #define pid_t int | |
25384 _ACEOF | |
25385 | |
25386 fi | |
25387 | |
25388 | |
25389 for ac_header in vfork.h | |
25390 do | |
25391 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
25392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
25393 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
25394 $as_echo_n "checking for $ac_header... " >&6; } | |
25395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
25396 $as_echo_n "(cached) " >&6 | |
25397 fi | |
25398 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
25399 $as_echo "$as_val"'` | |
25400 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
25401 $as_echo "$ac_res" >&6; } | |
25402 else | |
25403 # Is the header compilable? | |
25404 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
25405 $as_echo_n "checking $ac_header usability... " >&6; } | |
25406 cat >conftest.$ac_ext <<_ACEOF | |
25407 /* confdefs.h. */ | |
25408 _ACEOF | |
25409 cat confdefs.h >>conftest.$ac_ext | |
25410 cat >>conftest.$ac_ext <<_ACEOF | |
25411 /* end confdefs.h. */ | |
25412 $ac_includes_default | |
25413 #include <$ac_header> | |
25414 _ACEOF | |
25415 rm -f conftest.$ac_objext | |
25416 if { (ac_try="$ac_compile" | |
25417 case "(($ac_try" in | |
25418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25419 *) ac_try_echo=$ac_try;; | |
25420 esac | |
25421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25422 $as_echo "$ac_try_echo") >&5 | |
25423 (eval "$ac_compile") 2>conftest.er1 | |
25424 ac_status=$? | |
25425 grep -v '^ *+' conftest.er1 >conftest.err | |
25426 rm -f conftest.er1 | |
25427 cat conftest.err >&5 | |
25428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25429 (exit $ac_status); } && { | |
25430 test -z "$ac_c_werror_flag" || | |
25431 test ! -s conftest.err | |
25432 } && test -s conftest.$ac_objext; then | |
25433 ac_header_compiler=yes | |
25434 else | |
25435 $as_echo "$as_me: failed program was:" >&5 | |
25436 sed 's/^/| /' conftest.$ac_ext >&5 | |
25437 | |
25438 ac_header_compiler=no | |
25439 fi | |
25440 | |
25441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
25442 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
25443 $as_echo "$ac_header_compiler" >&6; } | |
25444 | |
25445 # Is the header present? | |
25446 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
25447 $as_echo_n "checking $ac_header presence... " >&6; } | |
25448 cat >conftest.$ac_ext <<_ACEOF | |
25449 /* confdefs.h. */ | |
25450 _ACEOF | |
25451 cat confdefs.h >>conftest.$ac_ext | |
25452 cat >>conftest.$ac_ext <<_ACEOF | |
25453 /* end confdefs.h. */ | |
25454 #include <$ac_header> | |
25455 _ACEOF | |
25456 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
25457 case "(($ac_try" in | |
25458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25459 *) ac_try_echo=$ac_try;; | |
25460 esac | |
25461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25462 $as_echo "$ac_try_echo") >&5 | |
25463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
25464 ac_status=$? | |
25465 grep -v '^ *+' conftest.er1 >conftest.err | |
25466 rm -f conftest.er1 | |
25467 cat conftest.err >&5 | |
25468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25469 (exit $ac_status); } >/dev/null && { | |
25470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
25471 test ! -s conftest.err | |
25472 }; then | |
25473 ac_header_preproc=yes | |
25474 else | |
25475 $as_echo "$as_me: failed program was:" >&5 | |
25476 sed 's/^/| /' conftest.$ac_ext >&5 | |
25477 | |
25478 ac_header_preproc=no | |
25479 fi | |
25480 | |
25481 rm -f conftest.err conftest.$ac_ext | |
25482 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
25483 $as_echo "$ac_header_preproc" >&6; } | |
25484 | |
25485 # So? What about this header? | |
25486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
25487 yes:no: ) | |
25488 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
25489 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
25490 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
25491 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
25492 ac_header_preproc=yes | |
25493 ;; | |
25494 no:yes:* ) | |
25495 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
25496 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
25497 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
25498 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
25499 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
25500 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
25501 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
25502 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
25503 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
25504 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
25505 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
25506 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
25507 | |
25508 ;; | |
25509 esac | |
25510 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
25511 $as_echo_n "checking for $ac_header... " >&6; } | |
25512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
25513 $as_echo_n "(cached) " >&6 | |
25514 else | |
25515 eval "$as_ac_Header=\$ac_header_preproc" | |
25516 fi | |
25517 ac_res=`eval 'as_val=${'$as_ac_Header'} | |
25518 $as_echo "$as_val"'` | |
25519 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
25520 $as_echo "$ac_res" >&6; } | |
25521 | |
25522 fi | |
25523 if test `eval 'as_val=${'$as_ac_Header'} | |
25524 $as_echo "$as_val"'` = yes; then | |
25525 cat >>confdefs.h <<_ACEOF | |
25526 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
25527 _ACEOF | |
25528 | |
25529 fi | |
25530 | |
25531 done | |
25532 | |
25533 | |
25534 | |
25535 for ac_func in fork vfork | |
25536 do | |
25537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
25538 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
25539 $as_echo_n "checking for $ac_func... " >&6; } | |
25540 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
25541 $as_echo_n "(cached) " >&6 | |
25542 else | |
25543 cat >conftest.$ac_ext <<_ACEOF | |
25544 /* confdefs.h. */ | |
25545 _ACEOF | |
25546 cat confdefs.h >>conftest.$ac_ext | |
25547 cat >>conftest.$ac_ext <<_ACEOF | |
25548 /* end confdefs.h. */ | |
25549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
25550 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
25551 #define $ac_func innocuous_$ac_func | |
25552 | |
25553 /* System header to define __stub macros and hopefully few prototypes, | |
25554 which can conflict with char $ac_func (); below. | |
25555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
25556 <limits.h> exists even on freestanding compilers. */ | |
25557 | |
25558 #ifdef __STDC__ | |
25559 # include <limits.h> | |
25560 #else | |
25561 # include <assert.h> | |
25562 #endif | |
25563 | |
25564 #undef $ac_func | |
25565 | |
25566 /* Override any GCC internal prototype to avoid an error. | |
25567 Use char because int might match the return type of a GCC | |
25568 builtin and then its argument prototype would still apply. */ | |
25569 #ifdef __cplusplus | |
25570 extern "C" | |
25571 #endif | |
25572 char $ac_func (); | |
25573 /* The GNU C library defines this for functions which it implements | |
25574 to always fail with ENOSYS. Some functions are actually named | |
25575 something starting with __ and the normal name is an alias. */ | |
25576 #if defined __stub_$ac_func || defined __stub___$ac_func | |
25577 choke me | |
25578 #endif | |
25579 | |
25580 int | |
25581 main () | |
25582 { | |
25583 return $ac_func (); | |
25584 ; | |
25585 return 0; | |
25586 } | |
25587 _ACEOF | |
25588 rm -f conftest.$ac_objext conftest$ac_exeext | |
25589 if { (ac_try="$ac_link" | |
25590 case "(($ac_try" in | |
25591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25592 *) ac_try_echo=$ac_try;; | |
25593 esac | |
25594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25595 $as_echo "$ac_try_echo") >&5 | |
25596 (eval "$ac_link") 2>conftest.er1 | |
25597 ac_status=$? | |
25598 grep -v '^ *+' conftest.er1 >conftest.err | |
25599 rm -f conftest.er1 | |
25600 cat conftest.err >&5 | |
25601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25602 (exit $ac_status); } && { | |
25603 test -z "$ac_c_werror_flag" || | |
25604 test ! -s conftest.err | |
25605 } && test -s conftest$ac_exeext && { | |
25606 test "$cross_compiling" = yes || | |
25607 $as_test_x conftest$ac_exeext | |
25608 }; then | |
25609 eval "$as_ac_var=yes" | |
25610 else | |
25611 $as_echo "$as_me: failed program was:" >&5 | |
25612 sed 's/^/| /' conftest.$ac_ext >&5 | |
25613 | |
25614 eval "$as_ac_var=no" | |
25615 fi | |
25616 | |
25617 rm -rf conftest.dSYM | |
25618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
25619 conftest$ac_exeext conftest.$ac_ext | |
25620 fi | |
25621 ac_res=`eval 'as_val=${'$as_ac_var'} | |
25622 $as_echo "$as_val"'` | |
25623 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
25624 $as_echo "$ac_res" >&6; } | |
25625 if test `eval 'as_val=${'$as_ac_var'} | |
25626 $as_echo "$as_val"'` = yes; then | |
25627 cat >>confdefs.h <<_ACEOF | |
25628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
25629 _ACEOF | |
25630 | |
25631 fi | |
25632 done | |
25633 | |
25634 if test "x$ac_cv_func_fork" = xyes; then | |
25635 { $as_echo "$as_me:$LINENO: checking for working fork" >&5 | |
25636 $as_echo_n "checking for working fork... " >&6; } | |
25637 if test "${ac_cv_func_fork_works+set}" = set; then | |
25638 $as_echo_n "(cached) " >&6 | |
25639 else | |
25640 if test "$cross_compiling" = yes; then | |
25641 ac_cv_func_fork_works=cross | |
25642 else | |
25643 cat >conftest.$ac_ext <<_ACEOF | |
25644 /* confdefs.h. */ | |
25645 _ACEOF | |
25646 cat confdefs.h >>conftest.$ac_ext | |
25647 cat >>conftest.$ac_ext <<_ACEOF | |
25648 /* end confdefs.h. */ | |
25649 $ac_includes_default | |
25650 int | |
25651 main () | |
25652 { | |
25653 | |
25654 /* By Ruediger Kuhlmann. */ | |
25655 return fork () < 0; | |
25656 | |
25657 ; | |
25658 return 0; | |
25659 } | |
25660 _ACEOF | |
25661 rm -f conftest$ac_exeext | |
25662 if { (ac_try="$ac_link" | |
25663 case "(($ac_try" in | |
25664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25665 *) ac_try_echo=$ac_try;; | |
25666 esac | |
25667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25668 $as_echo "$ac_try_echo") >&5 | |
25669 (eval "$ac_link") 2>&5 | |
25670 ac_status=$? | |
25671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
25673 { (case "(($ac_try" in | |
25674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25675 *) ac_try_echo=$ac_try;; | |
25676 esac | |
25677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25678 $as_echo "$ac_try_echo") >&5 | |
25679 (eval "$ac_try") 2>&5 | |
25680 ac_status=$? | |
25681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25682 (exit $ac_status); }; }; then | |
13370 ac_cv_func_fork_works=yes | 25683 ac_cv_func_fork_works=yes |
13371 else | 25684 else |
13372 ac_cv_func_fork_works=no | 25685 $as_echo "$as_me: program exited with status $ac_status" >&5 |
13373 fi | 25686 $as_echo "$as_me: failed program was:" >&5 |
13374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25687 sed 's/^/| /' conftest.$ac_ext >&5 |
13375 conftest.$ac_objext conftest.beam conftest.$ac_ext | 25688 |
13376 fi | 25689 ( exit $ac_status ) |
13377 | 25690 ac_cv_func_fork_works=no |
13378 fi | 25691 fi |
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 | 25692 rm -rf conftest.dSYM |
25693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
25694 fi | |
25695 | |
25696 | |
25697 fi | |
25698 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 | |
13380 $as_echo "$ac_cv_func_fork_works" >&6; } | 25699 $as_echo "$ac_cv_func_fork_works" >&6; } |
13381 | 25700 |
13382 else | 25701 else |
13383 ac_cv_func_fork_works=$ac_cv_func_fork | 25702 ac_cv_func_fork_works=$ac_cv_func_fork |
13384 fi | 25703 fi |
13390 ;; | 25709 ;; |
13391 *) | 25710 *) |
13392 ac_cv_func_fork_works=yes | 25711 ac_cv_func_fork_works=yes |
13393 ;; | 25712 ;; |
13394 esac | 25713 esac |
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 25714 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
13396 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 25715 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
13397 fi | 25716 fi |
13398 ac_cv_func_vfork_works=$ac_cv_func_vfork | 25717 ac_cv_func_vfork_works=$ac_cv_func_vfork |
13399 if test "x$ac_cv_func_vfork" = xyes; then | 25718 if test "x$ac_cv_func_vfork" = xyes; then |
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 | 25719 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 |
13401 $as_echo_n "checking for working vfork... " >&6; } | 25720 $as_echo_n "checking for working vfork... " >&6; } |
13402 if test "${ac_cv_func_vfork_works+set}" = set; then : | 25721 if test "${ac_cv_func_vfork_works+set}" = set; then |
13403 $as_echo_n "(cached) " >&6 | 25722 $as_echo_n "(cached) " >&6 |
13404 else | 25723 else |
13405 if test "$cross_compiling" = yes; then : | 25724 if test "$cross_compiling" = yes; then |
13406 ac_cv_func_vfork_works=cross | 25725 ac_cv_func_vfork_works=cross |
13407 else | 25726 else |
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25727 cat >conftest.$ac_ext <<_ACEOF |
25728 /* confdefs.h. */ | |
25729 _ACEOF | |
25730 cat confdefs.h >>conftest.$ac_ext | |
25731 cat >>conftest.$ac_ext <<_ACEOF | |
13409 /* end confdefs.h. */ | 25732 /* end confdefs.h. */ |
13410 /* Thanks to Paul Eggert for this test. */ | 25733 /* Thanks to Paul Eggert for this test. */ |
13411 $ac_includes_default | 25734 $ac_includes_default |
13412 #include <sys/wait.h> | 25735 #include <sys/wait.h> |
13413 #ifdef HAVE_VFORK_H | 25736 #ifdef HAVE_VFORK_H |
13495 || fstat(fileno(stdout), &st) != 0 | 25818 || fstat(fileno(stdout), &st) != 0 |
13496 ); | 25819 ); |
13497 } | 25820 } |
13498 } | 25821 } |
13499 _ACEOF | 25822 _ACEOF |
13500 if ac_fn_c_try_run "$LINENO"; then : | 25823 rm -f conftest$ac_exeext |
25824 if { (ac_try="$ac_link" | |
25825 case "(($ac_try" in | |
25826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25827 *) ac_try_echo=$ac_try;; | |
25828 esac | |
25829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25830 $as_echo "$ac_try_echo") >&5 | |
25831 (eval "$ac_link") 2>&5 | |
25832 ac_status=$? | |
25833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
25835 { (case "(($ac_try" in | |
25836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25837 *) ac_try_echo=$ac_try;; | |
25838 esac | |
25839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25840 $as_echo "$ac_try_echo") >&5 | |
25841 (eval "$ac_try") 2>&5 | |
25842 ac_status=$? | |
25843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25844 (exit $ac_status); }; }; then | |
13501 ac_cv_func_vfork_works=yes | 25845 ac_cv_func_vfork_works=yes |
13502 else | 25846 else |
13503 ac_cv_func_vfork_works=no | 25847 $as_echo "$as_me: program exited with status $ac_status" >&5 |
13504 fi | 25848 $as_echo "$as_me: failed program was:" >&5 |
13505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25849 sed 's/^/| /' conftest.$ac_ext >&5 |
13506 conftest.$ac_objext conftest.beam conftest.$ac_ext | 25850 |
13507 fi | 25851 ( exit $ac_status ) |
13508 | 25852 ac_cv_func_vfork_works=no |
13509 fi | 25853 fi |
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 | 25854 rm -rf conftest.dSYM |
25855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
25856 fi | |
25857 | |
25858 | |
25859 fi | |
25860 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 | |
13511 $as_echo "$ac_cv_func_vfork_works" >&6; } | 25861 $as_echo "$ac_cv_func_vfork_works" >&6; } |
13512 | 25862 |
13513 fi; | 25863 fi; |
13514 if test "x$ac_cv_func_fork_works" = xcross; then | 25864 if test "x$ac_cv_func_fork_works" = xcross; then |
13515 ac_cv_func_vfork_works=$ac_cv_func_vfork | 25865 ac_cv_func_vfork_works=$ac_cv_func_vfork |
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 25866 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
13517 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} | 25867 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
13518 fi | 25868 fi |
13519 | 25869 |
13520 if test "x$ac_cv_func_vfork_works" = xyes; then | 25870 if test "x$ac_cv_func_vfork_works" = xyes; then |
13521 | 25871 |
13522 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h | 25872 cat >>confdefs.h <<\_ACEOF |
13523 | 25873 #define HAVE_WORKING_VFORK 1 |
13524 else | 25874 _ACEOF |
13525 | 25875 |
13526 $as_echo "#define vfork fork" >>confdefs.h | 25876 else |
25877 | |
25878 cat >>confdefs.h <<\_ACEOF | |
25879 #define vfork fork | |
25880 _ACEOF | |
13527 | 25881 |
13528 fi | 25882 fi |
13529 if test "x$ac_cv_func_fork_works" = xyes; then | 25883 if test "x$ac_cv_func_fork_works" = xyes; then |
13530 | 25884 |
13531 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h | 25885 cat >>confdefs.h <<\_ACEOF |
13532 | 25886 #define HAVE_WORKING_FORK 1 |
13533 fi | 25887 _ACEOF |
13534 | 25888 |
13535 | 25889 fi |
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 | 25890 |
25891 | |
25892 { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 | |
13537 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } | 25893 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } |
13538 if test "${emacs_cv_langinfo_codeset+set}" = set; then : | 25894 if test "${emacs_cv_langinfo_codeset+set}" = set; then |
13539 $as_echo_n "(cached) " >&6 | 25895 $as_echo_n "(cached) " >&6 |
13540 else | 25896 else |
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25897 cat >conftest.$ac_ext <<_ACEOF |
25898 /* confdefs.h. */ | |
25899 _ACEOF | |
25900 cat confdefs.h >>conftest.$ac_ext | |
25901 cat >>conftest.$ac_ext <<_ACEOF | |
13542 /* end confdefs.h. */ | 25902 /* end confdefs.h. */ |
13543 #include <langinfo.h> | 25903 #include <langinfo.h> |
13544 int | 25904 int |
13545 main () | 25905 main () |
13546 { | 25906 { |
13547 char* cs = nl_langinfo(CODESET); | 25907 char* cs = nl_langinfo(CODESET); |
13548 ; | 25908 ; |
13549 return 0; | 25909 return 0; |
13550 } | 25910 } |
13551 _ACEOF | 25911 _ACEOF |
13552 if ac_fn_c_try_link "$LINENO"; then : | 25912 rm -f conftest.$ac_objext conftest$ac_exeext |
25913 if { (ac_try="$ac_link" | |
25914 case "(($ac_try" in | |
25915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25916 *) ac_try_echo=$ac_try;; | |
25917 esac | |
25918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25919 $as_echo "$ac_try_echo") >&5 | |
25920 (eval "$ac_link") 2>conftest.er1 | |
25921 ac_status=$? | |
25922 grep -v '^ *+' conftest.er1 >conftest.err | |
25923 rm -f conftest.er1 | |
25924 cat conftest.err >&5 | |
25925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25926 (exit $ac_status); } && { | |
25927 test -z "$ac_c_werror_flag" || | |
25928 test ! -s conftest.err | |
25929 } && test -s conftest$ac_exeext && { | |
25930 test "$cross_compiling" = yes || | |
25931 $as_test_x conftest$ac_exeext | |
25932 }; then | |
13553 emacs_cv_langinfo_codeset=yes | 25933 emacs_cv_langinfo_codeset=yes |
13554 else | 25934 else |
13555 emacs_cv_langinfo_codeset=no | 25935 $as_echo "$as_me: failed program was:" >&5 |
13556 fi | 25936 sed 's/^/| /' conftest.$ac_ext >&5 |
13557 rm -f core conftest.err conftest.$ac_objext \ | 25937 |
13558 conftest$ac_exeext conftest.$ac_ext | 25938 emacs_cv_langinfo_codeset=no |
13559 | 25939 fi |
13560 fi | 25940 |
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5 | 25941 rm -rf conftest.dSYM |
25942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
25943 conftest$ac_exeext conftest.$ac_ext | |
25944 | |
25945 fi | |
25946 { $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 | |
13562 $as_echo "$emacs_cv_langinfo_codeset" >&6; } | 25947 $as_echo "$emacs_cv_langinfo_codeset" >&6; } |
13563 if test $emacs_cv_langinfo_codeset = yes; then | 25948 if test $emacs_cv_langinfo_codeset = yes; then |
13564 | 25949 |
13565 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h | 25950 cat >>confdefs.h <<\_ACEOF |
13566 | 25951 #define HAVE_LANGINFO_CODESET 1 |
13567 fi | 25952 _ACEOF |
13568 | 25953 |
13569 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 25954 fi |
13570 if test "x$ac_cv_type_size_t" = x""yes; then : | 25955 |
25956 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 | |
25957 $as_echo_n "checking for size_t... " >&6; } | |
25958 if test "${ac_cv_type_size_t+set}" = set; then | |
25959 $as_echo_n "(cached) " >&6 | |
25960 else | |
25961 ac_cv_type_size_t=no | |
25962 cat >conftest.$ac_ext <<_ACEOF | |
25963 /* confdefs.h. */ | |
25964 _ACEOF | |
25965 cat confdefs.h >>conftest.$ac_ext | |
25966 cat >>conftest.$ac_ext <<_ACEOF | |
25967 /* end confdefs.h. */ | |
25968 $ac_includes_default | |
25969 int | |
25970 main () | |
25971 { | |
25972 if (sizeof (size_t)) | |
25973 return 0; | |
25974 ; | |
25975 return 0; | |
25976 } | |
25977 _ACEOF | |
25978 rm -f conftest.$ac_objext | |
25979 if { (ac_try="$ac_compile" | |
25980 case "(($ac_try" in | |
25981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25982 *) ac_try_echo=$ac_try;; | |
25983 esac | |
25984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
25985 $as_echo "$ac_try_echo") >&5 | |
25986 (eval "$ac_compile") 2>conftest.er1 | |
25987 ac_status=$? | |
25988 grep -v '^ *+' conftest.er1 >conftest.err | |
25989 rm -f conftest.er1 | |
25990 cat conftest.err >&5 | |
25991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
25992 (exit $ac_status); } && { | |
25993 test -z "$ac_c_werror_flag" || | |
25994 test ! -s conftest.err | |
25995 } && test -s conftest.$ac_objext; then | |
25996 cat >conftest.$ac_ext <<_ACEOF | |
25997 /* confdefs.h. */ | |
25998 _ACEOF | |
25999 cat confdefs.h >>conftest.$ac_ext | |
26000 cat >>conftest.$ac_ext <<_ACEOF | |
26001 /* end confdefs.h. */ | |
26002 $ac_includes_default | |
26003 int | |
26004 main () | |
26005 { | |
26006 if (sizeof ((size_t))) | |
26007 return 0; | |
26008 ; | |
26009 return 0; | |
26010 } | |
26011 _ACEOF | |
26012 rm -f conftest.$ac_objext | |
26013 if { (ac_try="$ac_compile" | |
26014 case "(($ac_try" in | |
26015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
26016 *) ac_try_echo=$ac_try;; | |
26017 esac | |
26018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
26019 $as_echo "$ac_try_echo") >&5 | |
26020 (eval "$ac_compile") 2>conftest.er1 | |
26021 ac_status=$? | |
26022 grep -v '^ *+' conftest.er1 >conftest.err | |
26023 rm -f conftest.er1 | |
26024 cat conftest.err >&5 | |
26025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26026 (exit $ac_status); } && { | |
26027 test -z "$ac_c_werror_flag" || | |
26028 test ! -s conftest.err | |
26029 } && test -s conftest.$ac_objext; then | |
26030 : | |
26031 else | |
26032 $as_echo "$as_me: failed program was:" >&5 | |
26033 sed 's/^/| /' conftest.$ac_ext >&5 | |
26034 | |
26035 ac_cv_type_size_t=yes | |
26036 fi | |
26037 | |
26038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
26039 else | |
26040 $as_echo "$as_me: failed program was:" >&5 | |
26041 sed 's/^/| /' conftest.$ac_ext >&5 | |
26042 | |
26043 | |
26044 fi | |
26045 | |
26046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
26047 fi | |
26048 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | |
26049 $as_echo "$ac_cv_type_size_t" >&6; } | |
26050 if test $ac_cv_type_size_t = yes; then | |
13571 | 26051 |
13572 cat >>confdefs.h <<_ACEOF | 26052 cat >>confdefs.h <<_ACEOF |
13573 #define HAVE_SIZE_T 1 | 26053 #define HAVE_SIZE_T 1 |
13574 _ACEOF | 26054 _ACEOF |
13575 | 26055 |
13576 | 26056 |
13577 fi | 26057 fi |
13578 | 26058 |
13579 | 26059 |
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 | 26060 { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 |
13581 $as_echo_n "checking for mbstate_t... " >&6; } | 26061 $as_echo_n "checking for mbstate_t... " >&6; } |
13582 if test "${ac_cv_type_mbstate_t+set}" = set; then : | 26062 if test "${ac_cv_type_mbstate_t+set}" = set; then |
13583 $as_echo_n "(cached) " >&6 | 26063 $as_echo_n "(cached) " >&6 |
13584 else | 26064 else |
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26065 cat >conftest.$ac_ext <<_ACEOF |
26066 /* confdefs.h. */ | |
26067 _ACEOF | |
26068 cat confdefs.h >>conftest.$ac_ext | |
26069 cat >>conftest.$ac_ext <<_ACEOF | |
13586 /* end confdefs.h. */ | 26070 /* end confdefs.h. */ |
13587 $ac_includes_default | 26071 $ac_includes_default |
13588 # include <wchar.h> | 26072 # include <wchar.h> |
13589 int | 26073 int |
13590 main () | 26074 main () |
13592 mbstate_t x; return sizeof x; | 26076 mbstate_t x; return sizeof x; |
13593 ; | 26077 ; |
13594 return 0; | 26078 return 0; |
13595 } | 26079 } |
13596 _ACEOF | 26080 _ACEOF |
13597 if ac_fn_c_try_compile "$LINENO"; then : | 26081 rm -f conftest.$ac_objext |
26082 if { (ac_try="$ac_compile" | |
26083 case "(($ac_try" in | |
26084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
26085 *) ac_try_echo=$ac_try;; | |
26086 esac | |
26087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
26088 $as_echo "$ac_try_echo") >&5 | |
26089 (eval "$ac_compile") 2>conftest.er1 | |
26090 ac_status=$? | |
26091 grep -v '^ *+' conftest.er1 >conftest.err | |
26092 rm -f conftest.er1 | |
26093 cat conftest.err >&5 | |
26094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26095 (exit $ac_status); } && { | |
26096 test -z "$ac_c_werror_flag" || | |
26097 test ! -s conftest.err | |
26098 } && test -s conftest.$ac_objext; then | |
13598 ac_cv_type_mbstate_t=yes | 26099 ac_cv_type_mbstate_t=yes |
13599 else | 26100 else |
13600 ac_cv_type_mbstate_t=no | 26101 $as_echo "$as_me: failed program was:" >&5 |
13601 fi | 26102 sed 's/^/| /' conftest.$ac_ext >&5 |
26103 | |
26104 ac_cv_type_mbstate_t=no | |
26105 fi | |
26106 | |
13602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13603 fi | 26108 fi |
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 | 26109 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 |
13605 $as_echo "$ac_cv_type_mbstate_t" >&6; } | 26110 $as_echo "$ac_cv_type_mbstate_t" >&6; } |
13606 if test $ac_cv_type_mbstate_t = yes; then | 26111 if test $ac_cv_type_mbstate_t = yes; then |
13607 | 26112 |
13608 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h | 26113 cat >>confdefs.h <<\_ACEOF |
26114 #define HAVE_MBSTATE_T 1 | |
26115 _ACEOF | |
13609 | 26116 |
13610 else | 26117 else |
13611 | 26118 |
13612 $as_echo "#define mbstate_t int" >>confdefs.h | 26119 cat >>confdefs.h <<\_ACEOF |
26120 #define mbstate_t int | |
26121 _ACEOF | |
13613 | 26122 |
13614 fi | 26123 fi |
13615 | 26124 |
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 | 26125 { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 |
13617 $as_echo_n "checking for C restrict keyword... " >&6; } | 26126 $as_echo_n "checking for C restrict keyword... " >&6; } |
13618 if test "${emacs_cv_c_restrict+set}" = set; then : | 26127 if test "${emacs_cv_c_restrict+set}" = set; then |
13619 $as_echo_n "(cached) " >&6 | 26128 $as_echo_n "(cached) " >&6 |
13620 else | 26129 else |
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26130 cat >conftest.$ac_ext <<_ACEOF |
26131 /* confdefs.h. */ | |
26132 _ACEOF | |
26133 cat confdefs.h >>conftest.$ac_ext | |
26134 cat >>conftest.$ac_ext <<_ACEOF | |
13622 /* end confdefs.h. */ | 26135 /* end confdefs.h. */ |
13623 void fred (int *restrict x); | 26136 void fred (int *restrict x); |
13624 int | 26137 int |
13625 main () | 26138 main () |
13626 { | 26139 { |
13627 | 26140 |
13628 ; | 26141 ; |
13629 return 0; | 26142 return 0; |
13630 } | 26143 } |
13631 _ACEOF | 26144 _ACEOF |
13632 if ac_fn_c_try_compile "$LINENO"; then : | 26145 rm -f conftest.$ac_objext |
26146 if { (ac_try="$ac_compile" | |
26147 case "(($ac_try" in | |
26148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
26149 *) ac_try_echo=$ac_try;; | |
26150 esac | |
26151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
26152 $as_echo "$ac_try_echo") >&5 | |
26153 (eval "$ac_compile") 2>conftest.er1 | |
26154 ac_status=$? | |
26155 grep -v '^ *+' conftest.er1 >conftest.err | |
26156 rm -f conftest.er1 | |
26157 cat conftest.err >&5 | |
26158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26159 (exit $ac_status); } && { | |
26160 test -z "$ac_c_werror_flag" || | |
26161 test ! -s conftest.err | |
26162 } && test -s conftest.$ac_objext; then | |
13633 emacs_cv_c_restrict=yes | 26163 emacs_cv_c_restrict=yes |
13634 else | 26164 else |
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26165 $as_echo "$as_me: failed program was:" >&5 |
26166 sed 's/^/| /' conftest.$ac_ext >&5 | |
26167 | |
26168 cat >conftest.$ac_ext <<_ACEOF | |
26169 /* confdefs.h. */ | |
26170 _ACEOF | |
26171 cat confdefs.h >>conftest.$ac_ext | |
26172 cat >>conftest.$ac_ext <<_ACEOF | |
13636 /* end confdefs.h. */ | 26173 /* end confdefs.h. */ |
13637 void fred (int *__restrict x); | 26174 void fred (int *__restrict x); |
13638 int | 26175 int |
13639 main () | 26176 main () |
13640 { | 26177 { |
13641 | 26178 |
13642 ; | 26179 ; |
13643 return 0; | 26180 return 0; |
13644 } | 26181 } |
13645 _ACEOF | 26182 _ACEOF |
13646 if ac_fn_c_try_compile "$LINENO"; then : | 26183 rm -f conftest.$ac_objext |
26184 if { (ac_try="$ac_compile" | |
26185 case "(($ac_try" in | |
26186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
26187 *) ac_try_echo=$ac_try;; | |
26188 esac | |
26189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
26190 $as_echo "$ac_try_echo") >&5 | |
26191 (eval "$ac_compile") 2>conftest.er1 | |
26192 ac_status=$? | |
26193 grep -v '^ *+' conftest.er1 >conftest.err | |
26194 rm -f conftest.er1 | |
26195 cat conftest.err >&5 | |
26196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26197 (exit $ac_status); } && { | |
26198 test -z "$ac_c_werror_flag" || | |
26199 test ! -s conftest.err | |
26200 } && test -s conftest.$ac_objext; then | |
13647 emacs_cv_c_restrict=__restrict | 26201 emacs_cv_c_restrict=__restrict |
13648 else | 26202 else |
13649 emacs_cv_c_restrict=no | 26203 $as_echo "$as_me: failed program was:" >&5 |
13650 fi | 26204 sed 's/^/| /' conftest.$ac_ext >&5 |
26205 | |
26206 emacs_cv_c_restrict=no | |
26207 fi | |
26208 | |
13651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13652 fi | 26210 fi |
26211 | |
13653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13654 fi | 26213 fi |
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5 | 26214 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 |
13656 $as_echo "$emacs_cv_c_restrict" >&6; } | 26215 $as_echo "$emacs_cv_c_restrict" >&6; } |
13657 case "$emacs_cv_c_restrict" in | 26216 case "$emacs_cv_c_restrict" in |
13658 yes) emacs_restrict=restrict;; | 26217 yes) emacs_restrict=restrict;; |
13659 no) emacs_restrict="";; | 26218 no) emacs_restrict="";; |
13660 *) emacs_restrict="$emacs_cv_c_restrict";; | 26219 *) emacs_restrict="$emacs_cv_c_restrict";; |
13665 #define __restrict $emacs_restrict | 26224 #define __restrict $emacs_restrict |
13666 _ACEOF | 26225 _ACEOF |
13667 | 26226 |
13668 fi | 26227 fi |
13669 | 26228 |
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 | 26229 { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 |
13671 $as_echo_n "checking for C restricted array declarations... " >&6; } | 26230 $as_echo_n "checking for C restricted array declarations... " >&6; } |
13672 if test "${emacs_cv_c_restrict_arr+set}" = set; then : | 26231 if test "${emacs_cv_c_restrict_arr+set}" = set; then |
13673 $as_echo_n "(cached) " >&6 | 26232 $as_echo_n "(cached) " >&6 |
13674 else | 26233 else |
13675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26234 cat >conftest.$ac_ext <<_ACEOF |
26235 /* confdefs.h. */ | |
26236 _ACEOF | |
26237 cat confdefs.h >>conftest.$ac_ext | |
26238 cat >>conftest.$ac_ext <<_ACEOF | |
13676 /* end confdefs.h. */ | 26239 /* end confdefs.h. */ |
13677 void fred (int x[__restrict]); | 26240 void fred (int x[__restrict]); |
13678 int | 26241 int |
13679 main () | 26242 main () |
13680 { | 26243 { |
13681 | 26244 |
13682 ; | 26245 ; |
13683 return 0; | 26246 return 0; |
13684 } | 26247 } |
13685 _ACEOF | 26248 _ACEOF |
13686 if ac_fn_c_try_compile "$LINENO"; then : | 26249 rm -f conftest.$ac_objext |
26250 if { (ac_try="$ac_compile" | |
26251 case "(($ac_try" in | |
26252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
26253 *) ac_try_echo=$ac_try;; | |
26254 esac | |
26255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
26256 $as_echo "$ac_try_echo") >&5 | |
26257 (eval "$ac_compile") 2>conftest.er1 | |
26258 ac_status=$? | |
26259 grep -v '^ *+' conftest.er1 >conftest.err | |
26260 rm -f conftest.er1 | |
26261 cat conftest.err >&5 | |
26262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
26263 (exit $ac_status); } && { | |
26264 test -z "$ac_c_werror_flag" || | |
26265 test ! -s conftest.err | |
26266 } && test -s conftest.$ac_objext; then | |
13687 emacs_cv_c_restrict_arr=yes | 26267 emacs_cv_c_restrict_arr=yes |
13688 else | 26268 else |
13689 emacs_cv_c_restrict_arr=no | 26269 $as_echo "$as_me: failed program was:" >&5 |
13690 fi | 26270 sed 's/^/| /' conftest.$ac_ext >&5 |
26271 | |
26272 emacs_cv_c_restrict_arr=no | |
26273 fi | |
26274 | |
13691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13692 fi | 26276 fi |
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5 | 26277 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 |
13694 $as_echo "$emacs_cv_c_restrict_arr" >&6; } | 26278 $as_echo "$emacs_cv_c_restrict_arr" >&6; } |
13695 if test "$emacs_cv_c_restrict_arr" = yes; then | 26279 if test "$emacs_cv_c_restrict_arr" = yes; then |
13696 | 26280 |
13697 $as_echo "#define __restrict_arr __restrict" >>confdefs.h | 26281 cat >>confdefs.h <<\_ACEOF |
26282 #define __restrict_arr __restrict | |
26283 _ACEOF | |
13698 | 26284 |
13699 fi | 26285 fi |
13700 | 26286 |
13701 | 26287 |
13702 | 26288 |
13707 ## Hack to detect a buggy GCC version. | 26293 ## Hack to detect a buggy GCC version. |
13708 if test "x$GCC" = xyes \ | 26294 if test "x$GCC" = xyes \ |
13709 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ | 26295 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ |
13710 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ | 26296 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ |
13711 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then | 26297 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then |
13712 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 | 26298 { { $as_echo "$as_me:$LINENO: error: GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." >&5 |
26299 $as_echo "$as_me: error: GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." >&2;} | |
26300 { (exit 1); exit 1; }; } | |
13713 fi | 26301 fi |
13714 | 26302 |
13715 #### Find out which version of Emacs this is. | 26303 #### Find out which version of Emacs this is. |
13716 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ | 26304 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ |
13717 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 26305 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
13718 if test x"${version}" = x; then | 26306 if test x"${version}" = x; then |
13719 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 | 26307 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/src/emacs.c'." >&5 |
26308 $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/src/emacs.c'." >&2;} | |
26309 { (exit 1); exit 1; }; } | |
13720 fi | 26310 fi |
13721 if test x"${version}" != x"$PACKAGE_VERSION"; then | 26311 if test x"${version}" != x"$PACKAGE_VERSION"; then |
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 | 26312 { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 |
13723 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} | 26313 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} |
13724 fi | 26314 fi |
13725 | 26315 |
13726 ### Specify what sort of things we'll be editing into Makefile and config.h. | 26316 ### Specify what sort of things we'll be editing into Makefile and config.h. |
13727 ### Use configuration here uncanonicalized to avoid exceeding size limits. | 26317 ### Use configuration here uncanonicalized to avoid exceeding size limits. |
13791 _ACEOF | 26381 _ACEOF |
13792 | 26382 |
13793 | 26383 |
13794 XMENU_OBJ= | 26384 XMENU_OBJ= |
13795 XOBJ= | 26385 XOBJ= |
26386 FONT_OBJ= | |
13796 if test "${HAVE_X_WINDOWS}" = "yes" ; then | 26387 if test "${HAVE_X_WINDOWS}" = "yes" ; then |
13797 | 26388 |
13798 $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h | 26389 cat >>confdefs.h <<\_ACEOF |
26390 #define HAVE_X_WINDOWS 1 | |
26391 _ACEOF | |
13799 | 26392 |
13800 XMENU_OBJ=xmenu.o | 26393 XMENU_OBJ=xmenu.o |
13801 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" | 26394 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" |
13802 fi | 26395 FONT_OBJ=xfont.o |
26396 if test "$HAVE_XFT" = "yes"; then | |
26397 FONT_OBJ="$FONT_OBJ ftfont.o xftfont.o ftxfont.o" | |
26398 elif test "$HAVE_FREETYPE" = "yes"; then | |
26399 FONT_OBJ="$FONT_OBJ ftfont.o ftxfont.o" | |
26400 fi | |
26401 | |
26402 fi | |
26403 | |
13803 | 26404 |
13804 | 26405 |
13805 | 26406 |
13806 WIDGET_OBJ= | 26407 WIDGET_OBJ= |
13807 MOTIF_LIBW= | 26408 MOTIF_LIBW= |
13808 if test "${USE_X_TOOLKIT}" != "none" ; then | 26409 if test "${USE_X_TOOLKIT}" != "none" ; then |
13809 WIDGET_OBJ=widget.o | 26410 WIDGET_OBJ=widget.o |
13810 | 26411 |
13811 $as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h | 26412 cat >>confdefs.h <<\_ACEOF |
26413 #define USE_X_TOOLKIT 1 | |
26414 _ACEOF | |
13812 | 26415 |
13813 if test "${USE_X_TOOLKIT}" = "LUCID"; then | 26416 if test "${USE_X_TOOLKIT}" = "LUCID"; then |
13814 | 26417 |
13815 $as_echo "#define USE_LUCID 1" >>confdefs.h | 26418 cat >>confdefs.h <<\_ACEOF |
26419 #define USE_LUCID 1 | |
26420 _ACEOF | |
13816 | 26421 |
13817 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then | 26422 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then |
13818 | 26423 |
13819 $as_echo "#define USE_MOTIF 1" >>confdefs.h | 26424 cat >>confdefs.h <<\_ACEOF |
26425 #define USE_MOTIF 1 | |
26426 _ACEOF | |
13820 | 26427 |
13821 MOTIF_LIBW=-lXm | 26428 MOTIF_LIBW=-lXm |
13822 case "$opsys" in | 26429 case "$opsys" in |
13823 gnu-linux) | 26430 gnu-linux) |
13824 ## Paul Abrahams <abrahams at equinox.shaysnet.com> says this is needed. | 26431 ## Paul Abrahams <abrahams at equinox.shaysnet.com> says this is needed. |
13862 ## The X Menu stuff is present in the X10 distribution, but missing | 26469 ## The X Menu stuff is present in the X10 distribution, but missing |
13863 ## from X11. If we have X10, just use the installed library; | 26470 ## from X11. If we have X10, just use the installed library; |
13864 ## otherwise, use our own copy. | 26471 ## otherwise, use our own copy. |
13865 if test "${HAVE_X11}" = "yes" ; then | 26472 if test "${HAVE_X11}" = "yes" ; then |
13866 | 26473 |
13867 $as_echo "#define HAVE_X11 1" >>confdefs.h | 26474 cat >>confdefs.h <<\_ACEOF |
26475 #define HAVE_X11 1 | |
26476 _ACEOF | |
13868 | 26477 |
13869 | 26478 |
13870 if test "$USE_X_TOOLKIT" = "none"; then | 26479 if test "$USE_X_TOOLKIT" = "none"; then |
13871 OLDXMENU="\${oldXMenudir}libXMenu11.a" | 26480 OLDXMENU="\${oldXMenudir}libXMenu11.a" |
13872 else | 26481 else |
13889 | 26498 |
13890 | 26499 |
13891 | 26500 |
13892 if test "${HAVE_MENUS}" = "yes" ; then | 26501 if test "${HAVE_MENUS}" = "yes" ; then |
13893 | 26502 |
13894 $as_echo "#define HAVE_MENUS 1" >>confdefs.h | 26503 cat >>confdefs.h <<\_ACEOF |
26504 #define HAVE_MENUS 1 | |
26505 _ACEOF | |
13895 | 26506 |
13896 fi | 26507 fi |
13897 if test "${GNU_MALLOC}" = "yes" ; then | 26508 if test "${GNU_MALLOC}" = "yes" ; then |
13898 | 26509 |
13899 $as_echo "#define GNU_MALLOC 1" >>confdefs.h | 26510 cat >>confdefs.h <<\_ACEOF |
26511 #define GNU_MALLOC 1 | |
26512 _ACEOF | |
13900 | 26513 |
13901 fi | 26514 fi |
13902 if test "${REL_ALLOC}" = "yes" ; then | 26515 if test "${REL_ALLOC}" = "yes" ; then |
13903 | 26516 |
13904 $as_echo "#define REL_ALLOC 1" >>confdefs.h | 26517 cat >>confdefs.h <<\_ACEOF |
26518 #define REL_ALLOC 1 | |
26519 _ACEOF | |
13905 | 26520 |
13906 fi | 26521 fi |
13907 | 26522 |
13908 | 26523 |
13909 if test "$opsys" = "cygwin"; then | 26524 if test "$opsys" = "cygwin"; then |
13992 TOOLTIP_SUPPORT= | 26607 TOOLTIP_SUPPORT= |
13993 WINDOW_SUPPORT= | 26608 WINDOW_SUPPORT= |
13994 ## If we're using X11/GNUstep, define some consequences. | 26609 ## If we're using X11/GNUstep, define some consequences. |
13995 if test "$HAVE_X_WINDOWS" = "yes" || test "$HAVE_NS" = "yes"; then | 26610 if test "$HAVE_X_WINDOWS" = "yes" || test "$HAVE_NS" = "yes"; then |
13996 | 26611 |
13997 $as_echo "#define HAVE_WINDOW_SYSTEM 1" >>confdefs.h | 26612 cat >>confdefs.h <<\_ACEOF |
13998 | 26613 #define HAVE_WINDOW_SYSTEM 1 |
13999 | 26614 _ACEOF |
14000 $as_echo "#define HAVE_MOUSE 1" >>confdefs.h | 26615 |
26616 | |
26617 cat >>confdefs.h <<\_ACEOF | |
26618 #define HAVE_MOUSE 1 | |
26619 _ACEOF | |
14001 | 26620 |
14002 MOUSE_SUPPORT="\$(REAL_MOUSE_SUPPORT)" | 26621 MOUSE_SUPPORT="\$(REAL_MOUSE_SUPPORT)" |
14003 TOOLTIP_SUPPORT="\${lispsource}mouse.elc" | 26622 TOOLTIP_SUPPORT="\${lispsource}mouse.elc" |
14004 | 26623 |
14005 WINDOW_SUPPORT="\$(BASE_WINDOW_SUPPORT)" | 26624 WINDOW_SUPPORT="\$(BASE_WINDOW_SUPPORT)" |
14006 test "$HAVE_X_WINDOWS" = "yes" && \ | 26625 test "$HAVE_X_WINDOWS" = "yes" && \ |
14007 WINDOW_SUPPORT="$WINDOW_SUPPORT \$(X_WINDOW_SUPPORT)" | 26626 WINDOW_SUPPORT="$WINDOW_SUPPORT \$(X_WINDOW_SUPPORT)" |
14008 | 26627 |
14009 fi | 26628 fi |
26629 | |
26630 | |
14010 | 26631 |
14011 | 26632 |
14012 | 26633 |
14013 | 26634 |
14014 | 26635 |
14116 ## Check if the C preprocessor will convert `..' to `. .'. If so, set | 26737 ## Check if the C preprocessor will convert `..' to `. .'. If so, set |
14117 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile | 26738 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile |
14118 ## from Makefile.c can correctly provide the arg `-traditional' to the | 26739 ## from Makefile.c can correctly provide the arg `-traditional' to the |
14119 ## C preprocessor. | 26740 ## C preprocessor. |
14120 | 26741 |
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26742 cat >conftest.$ac_ext <<_ACEOF |
26743 /* confdefs.h. */ | |
26744 _ACEOF | |
26745 cat confdefs.h >>conftest.$ac_ext | |
26746 cat >>conftest.$ac_ext <<_ACEOF | |
14122 /* end confdefs.h. */ | 26747 /* end confdefs.h. */ |
14123 yes..yes | 26748 yes..yes |
14124 _ACEOF | 26749 _ACEOF |
14125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 26750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14126 $EGREP "yes..yes" >/dev/null 2>&1; then : | 26751 $EGREP "yes..yes" >/dev/null 2>&1; then |
14127 CPP_NEED_TRADITIONAL=no | 26752 CPP_NEED_TRADITIONAL=no |
14128 else | 26753 else |
14129 CPP_NEED_TRADITIONAL=yes | 26754 CPP_NEED_TRADITIONAL=yes |
14130 fi | 26755 fi |
14131 rm -f conftest* | 26756 rm -f conftest* |
14160 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 26785 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
14161 eval ac_val=\$$ac_var | 26786 eval ac_val=\$$ac_var |
14162 case $ac_val in #( | 26787 case $ac_val in #( |
14163 *${as_nl}*) | 26788 *${as_nl}*) |
14164 case $ac_var in #( | 26789 case $ac_var in #( |
14165 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 26790 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
14166 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 26791 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
14167 esac | 26792 esac |
14168 case $ac_var in #( | 26793 case $ac_var in #( |
14169 _ | IFS | as_nl) ;; #( | 26794 _ | IFS | as_nl) ;; #( |
14170 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 26795 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
14171 *) { eval $ac_var=; unset $ac_var;} ;; | 26796 *) $as_unset $ac_var ;; |
14172 esac ;; | 26797 esac ;; |
14173 esac | 26798 esac |
14174 done | 26799 done |
14175 | 26800 |
14176 (set) 2>&1 | | 26801 (set) 2>&1 | |
14177 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 26802 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
14178 *${as_nl}ac_space=\ *) | 26803 *${as_nl}ac_space=\ *) |
14179 # `set' does not quote correctly, so add quotes: double-quote | 26804 # `set' does not quote correctly, so add quotes (double-quote |
14180 # substitution turns \\\\ into \\, and sed turns \\ into \. | 26805 # substitution turns \\\\ into \\, and sed turns \\ into \). |
14181 sed -n \ | 26806 sed -n \ |
14182 "s/'/'\\\\''/g; | 26807 "s/'/'\\\\''/g; |
14183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 26808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
14184 ;; #( | 26809 ;; #( |
14185 *) | 26810 *) |
14198 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 26823 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
14199 :end' >>confcache | 26824 :end' >>confcache |
14200 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 26825 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
14201 if test -w "$cache_file"; then | 26826 if test -w "$cache_file"; then |
14202 test "x$cache_file" != "x/dev/null" && | 26827 test "x$cache_file" != "x/dev/null" && |
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 26828 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
14204 $as_echo "$as_me: updating cache $cache_file" >&6;} | 26829 $as_echo "$as_me: updating cache $cache_file" >&6;} |
14205 cat confcache >$cache_file | 26830 cat confcache >$cache_file |
14206 else | 26831 else |
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 26832 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
14208 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 26833 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
14209 fi | 26834 fi |
14210 fi | 26835 fi |
14211 rm -f confcache | 26836 rm -f confcache |
14212 | 26837 |
14222 # 1. Remove the extension, and $U if already installed. | 26847 # 1. Remove the extension, and $U if already installed. |
14223 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 26848 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14224 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 26849 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
14225 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 26850 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
14226 # will be set to the directory where LIBOBJS objects are built. | 26851 # will be set to the directory where LIBOBJS objects are built. |
14227 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 26852 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
14228 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 26853 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
14229 done | 26854 done |
14230 LIBOBJS=$ac_libobjs | 26855 LIBOBJS=$ac_libobjs |
14231 | 26856 |
14232 LTLIBOBJS=$ac_ltlibobjs | 26857 LTLIBOBJS=$ac_ltlibobjs |
14233 | 26858 |
14235 | 26860 |
14236 : ${CONFIG_STATUS=./config.status} | 26861 : ${CONFIG_STATUS=./config.status} |
14237 ac_write_fail=0 | 26862 ac_write_fail=0 |
14238 ac_clean_files_save=$ac_clean_files | 26863 ac_clean_files_save=$ac_clean_files |
14239 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 26864 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 26865 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
14241 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 26866 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
14242 as_write_fail=0 | 26867 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14243 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
14244 #! $SHELL | 26868 #! $SHELL |
14245 # Generated by $as_me. | 26869 # Generated by $as_me. |
14246 # Run this file to recreate the current configuration. | 26870 # Run this file to recreate the current configuration. |
14247 # Compiler output produced by configure, useful for debugging | 26871 # Compiler output produced by configure, useful for debugging |
14248 # configure, is in config.log if it exists. | 26872 # configure, is in config.log if it exists. |
14249 | 26873 |
14250 debug=false | 26874 debug=false |
14251 ac_cs_recheck=false | 26875 ac_cs_recheck=false |
14252 ac_cs_silent=false | 26876 ac_cs_silent=false |
14253 | |
14254 SHELL=\${CONFIG_SHELL-$SHELL} | 26877 SHELL=\${CONFIG_SHELL-$SHELL} |
14255 export SHELL | 26878 _ACEOF |
14256 _ASEOF | 26879 |
14257 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 26880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14258 ## -------------------- ## | 26881 ## --------------------- ## |
14259 ## M4sh Initialization. ## | 26882 ## M4sh Initialization. ## |
14260 ## -------------------- ## | 26883 ## --------------------- ## |
14261 | 26884 |
14262 # Be more Bourne compatible | 26885 # Be more Bourne compatible |
14263 DUALCASE=1; export DUALCASE # for MKS sh | 26886 DUALCASE=1; export DUALCASE # for MKS sh |
14264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 26887 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
14265 emulate sh | 26888 emulate sh |
14266 NULLCMD=: | 26889 NULLCMD=: |
14267 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 26890 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
14268 # is contrary to our usage. Disable this feature. | 26891 # is contrary to our usage. Disable this feature. |
14269 alias -g '${1+"$@"}'='"$@"' | 26892 alias -g '${1+"$@"}'='"$@"' |
14270 setopt NO_GLOB_SUBST | 26893 setopt NO_GLOB_SUBST |
14271 else | 26894 else |
14272 case `(set -o) 2>/dev/null` in #( | 26895 case `(set -o) 2>/dev/null` in |
14273 *posix*) : | 26896 *posix*) set -o posix ;; |
14274 set -o posix ;; #( | 26897 esac |
14275 *) : | 26898 |
14276 ;; | 26899 fi |
14277 esac | 26900 |
14278 fi | 26901 |
14279 | 26902 |
26903 | |
26904 # PATH needs CR | |
26905 # Avoid depending upon Character Ranges. | |
26906 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
26907 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
26908 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
26909 as_cr_digits='0123456789' | |
26910 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
14280 | 26911 |
14281 as_nl=' | 26912 as_nl=' |
14282 ' | 26913 ' |
14283 export as_nl | 26914 export as_nl |
14284 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 26915 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
14285 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 26916 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
14286 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 26917 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
14287 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 26918 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
14288 # Prefer a ksh shell builtin over an external printf program on Solaris, | 26919 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
14289 # but without wasting forks for bash or zsh. | |
14290 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
14291 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
14292 as_echo='print -r --' | |
14293 as_echo_n='print -rn --' | |
14294 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
14295 as_echo='printf %s\n' | 26920 as_echo='printf %s\n' |
14296 as_echo_n='printf %s' | 26921 as_echo_n='printf %s' |
14297 else | 26922 else |
14298 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 26923 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
14299 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 26924 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
14300 as_echo_n='/usr/ucb/echo -n' | 26925 as_echo_n='/usr/ucb/echo -n' |
14301 else | 26926 else |
14302 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 26927 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
14303 as_echo_n_body='eval | 26928 as_echo_n_body='eval |
14304 arg=$1; | 26929 arg=$1; |
14305 case $arg in #( | 26930 case $arg in |
14306 *"$as_nl"*) | 26931 *"$as_nl"*) |
14307 expr "X$arg" : "X\\(.*\\)$as_nl"; | 26932 expr "X$arg" : "X\\(.*\\)$as_nl"; |
14308 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 26933 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
14309 esac; | 26934 esac; |
14310 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 26935 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
14323 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 26948 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
14324 PATH_SEPARATOR=';' | 26949 PATH_SEPARATOR=';' |
14325 } | 26950 } |
14326 fi | 26951 fi |
14327 | 26952 |
26953 # Support unset when possible. | |
26954 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
26955 as_unset=unset | |
26956 else | |
26957 as_unset=false | |
26958 fi | |
26959 | |
14328 | 26960 |
14329 # IFS | 26961 # IFS |
14330 # We need space, tab and new line, in precisely that order. Quoting is | 26962 # We need space, tab and new line, in precisely that order. Quoting is |
14331 # there to prevent editors from complaining about space-tab. | 26963 # there to prevent editors from complaining about space-tab. |
14332 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 26964 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
14333 # splitting by setting IFS to empty value.) | 26965 # splitting by setting IFS to empty value.) |
14334 IFS=" "" $as_nl" | 26966 IFS=" "" $as_nl" |
14335 | 26967 |
14336 # Find who we are. Look in the path if we contain no directory separator. | 26968 # Find who we are. Look in the path if we contain no directory separator. |
14337 case $0 in #(( | 26969 case $0 in |
14338 *[\\/]* ) as_myself=$0 ;; | 26970 *[\\/]* ) as_myself=$0 ;; |
14339 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 26971 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14340 for as_dir in $PATH | 26972 for as_dir in $PATH |
14341 do | 26973 do |
14342 IFS=$as_save_IFS | 26974 IFS=$as_save_IFS |
14343 test -z "$as_dir" && as_dir=. | 26975 test -z "$as_dir" && as_dir=. |
14344 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 26976 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
14345 done | 26977 done |
14346 IFS=$as_save_IFS | 26978 IFS=$as_save_IFS |
14347 | 26979 |
14348 ;; | 26980 ;; |
14349 esac | 26981 esac |
14350 # We did not find ourselves, most probably we were run as `sh COMMAND' | 26982 # We did not find ourselves, most probably we were run as `sh COMMAND' |
14352 if test "x$as_myself" = x; then | 26984 if test "x$as_myself" = x; then |
14353 as_myself=$0 | 26985 as_myself=$0 |
14354 fi | 26986 fi |
14355 if test ! -f "$as_myself"; then | 26987 if test ! -f "$as_myself"; then |
14356 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 26988 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
14357 exit 1 | 26989 { (exit 1); exit 1; } |
14358 fi | 26990 fi |
14359 | 26991 |
14360 # Unset variables that we do not need and which cause bugs (e.g. in | 26992 # Work around bugs in pre-3.0 UWIN ksh. |
14361 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 26993 for as_var in ENV MAIL MAILPATH |
14362 # suppresses any "Segmentation fault" message there. '((' could | 26994 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
14363 # trigger a bug in pdksh 5.2.14. | |
14364 for as_var in BASH_ENV ENV MAIL MAILPATH | |
14365 do eval test x\${$as_var+set} = xset \ | |
14366 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
14367 done | 26995 done |
14368 PS1='$ ' | 26996 PS1='$ ' |
14369 PS2='> ' | 26997 PS2='> ' |
14370 PS4='+ ' | 26998 PS4='+ ' |
14371 | 26999 |
14373 LC_ALL=C | 27001 LC_ALL=C |
14374 export LC_ALL | 27002 export LC_ALL |
14375 LANGUAGE=C | 27003 LANGUAGE=C |
14376 export LANGUAGE | 27004 export LANGUAGE |
14377 | 27005 |
14378 # CDPATH. | 27006 # Required to use basename. |
14379 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
14380 | |
14381 | |
14382 # as_fn_error ERROR [LINENO LOG_FD] | |
14383 # --------------------------------- | |
14384 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
14385 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
14386 # script with status $?, using 1 if that was 0. | |
14387 as_fn_error () | |
14388 { | |
14389 as_status=$?; test $as_status -eq 0 && as_status=1 | |
14390 if test "$3"; then | |
14391 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
14392 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
14393 fi | |
14394 $as_echo "$as_me: error: $1" >&2 | |
14395 as_fn_exit $as_status | |
14396 } # as_fn_error | |
14397 | |
14398 | |
14399 # as_fn_set_status STATUS | |
14400 # ----------------------- | |
14401 # Set $? to STATUS, without forking. | |
14402 as_fn_set_status () | |
14403 { | |
14404 return $1 | |
14405 } # as_fn_set_status | |
14406 | |
14407 # as_fn_exit STATUS | |
14408 # ----------------- | |
14409 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
14410 as_fn_exit () | |
14411 { | |
14412 set +e | |
14413 as_fn_set_status $1 | |
14414 exit $1 | |
14415 } # as_fn_exit | |
14416 | |
14417 # as_fn_unset VAR | |
14418 # --------------- | |
14419 # Portably unset VAR. | |
14420 as_fn_unset () | |
14421 { | |
14422 { eval $1=; unset $1;} | |
14423 } | |
14424 as_unset=as_fn_unset | |
14425 # as_fn_append VAR VALUE | |
14426 # ---------------------- | |
14427 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
14428 # advantage of any shell optimizations that allow amortized linear growth over | |
14429 # repeated appends, instead of the typical quadratic growth present in naive | |
14430 # implementations. | |
14431 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
14432 eval 'as_fn_append () | |
14433 { | |
14434 eval $1+=\$2 | |
14435 }' | |
14436 else | |
14437 as_fn_append () | |
14438 { | |
14439 eval $1=\$$1\$2 | |
14440 } | |
14441 fi # as_fn_append | |
14442 | |
14443 # as_fn_arith ARG... | |
14444 # ------------------ | |
14445 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
14446 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
14447 # must be portable across $(()) and expr. | |
14448 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
14449 eval 'as_fn_arith () | |
14450 { | |
14451 as_val=$(( $* )) | |
14452 }' | |
14453 else | |
14454 as_fn_arith () | |
14455 { | |
14456 as_val=`expr "$@" || test $? -eq 1` | |
14457 } | |
14458 fi # as_fn_arith | |
14459 | |
14460 | |
14461 if expr a : '\(a\)' >/dev/null 2>&1 && | 27007 if expr a : '\(a\)' >/dev/null 2>&1 && |
14462 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 27008 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
14463 as_expr=expr | 27009 as_expr=expr |
14464 else | 27010 else |
14465 as_expr=false | 27011 as_expr=false |
14469 as_basename=basename | 27015 as_basename=basename |
14470 else | 27016 else |
14471 as_basename=false | 27017 as_basename=false |
14472 fi | 27018 fi |
14473 | 27019 |
14474 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 27020 |
14475 as_dirname=dirname | 27021 # Name of the executable. |
14476 else | |
14477 as_dirname=false | |
14478 fi | |
14479 | |
14480 as_me=`$as_basename -- "$0" || | 27022 as_me=`$as_basename -- "$0" || |
14481 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 27023 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
14482 X"$0" : 'X\(//\)$' \| \ | 27024 X"$0" : 'X\(//\)$' \| \ |
14483 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 27025 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
14484 $as_echo X/"$0" | | 27026 $as_echo X/"$0" | |
14494 s//\1/ | 27036 s//\1/ |
14495 q | 27037 q |
14496 } | 27038 } |
14497 s/.*/./; q'` | 27039 s/.*/./; q'` |
14498 | 27040 |
14499 # Avoid depending upon Character Ranges. | 27041 # CDPATH. |
14500 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 27042 $as_unset CDPATH |
14501 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 27043 |
14502 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 27044 |
14503 as_cr_digits='0123456789' | 27045 |
14504 as_cr_alnum=$as_cr_Letters$as_cr_digits | 27046 as_lineno_1=$LINENO |
27047 as_lineno_2=$LINENO | |
27048 test "x$as_lineno_1" != "x$as_lineno_2" && | |
27049 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
27050 | |
27051 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
27052 # uniformly replaced by the line number. The first 'sed' inserts a | |
27053 # line-number line after each line using $LINENO; the second 'sed' | |
27054 # does the real work. The second script uses 'N' to pair each | |
27055 # line-number line with the line containing $LINENO, and appends | |
27056 # trailing '-' during substitution so that $LINENO is not a special | |
27057 # case at line end. | |
27058 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
27059 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
27060 # E. McMahon (1931-1989) for sed's syntax. :-) | |
27061 sed -n ' | |
27062 p | |
27063 /[$]LINENO/= | |
27064 ' <$as_myself | | |
27065 sed ' | |
27066 s/[$]LINENO.*/&-/ | |
27067 t lineno | |
27068 b | |
27069 :lineno | |
27070 N | |
27071 :loop | |
27072 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
27073 t loop | |
27074 s/-\n.*// | |
27075 ' >$as_me.lineno && | |
27076 chmod +x "$as_me.lineno" || | |
27077 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
27078 { (exit 1); exit 1; }; } | |
27079 | |
27080 # Don't try to exec as it changes $[0], causing all sort of problems | |
27081 # (the dirname of $[0] is not the place where we might find the | |
27082 # original and so on. Autoconf is especially sensitive to this). | |
27083 . "./$as_me.lineno" | |
27084 # Exit status is that of the last command. | |
27085 exit | |
27086 } | |
27087 | |
27088 | |
27089 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
27090 as_dirname=dirname | |
27091 else | |
27092 as_dirname=false | |
27093 fi | |
14505 | 27094 |
14506 ECHO_C= ECHO_N= ECHO_T= | 27095 ECHO_C= ECHO_N= ECHO_T= |
14507 case `echo -n x` in #((((( | 27096 case `echo -n x` in |
14508 -n*) | 27097 -n*) |
14509 case `echo 'xy\c'` in | 27098 case `echo 'x\c'` in |
14510 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 27099 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
14511 xy) ECHO_C='\c';; | 27100 *) ECHO_C='\c';; |
14512 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
14513 ECHO_T=' ';; | |
14514 esac;; | 27101 esac;; |
14515 *) | 27102 *) |
14516 ECHO_N='-n';; | 27103 ECHO_N='-n';; |
14517 esac | 27104 esac |
27105 if expr a : '\(a\)' >/dev/null 2>&1 && | |
27106 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
27107 as_expr=expr | |
27108 else | |
27109 as_expr=false | |
27110 fi | |
14518 | 27111 |
14519 rm -f conf$$ conf$$.exe conf$$.file | 27112 rm -f conf$$ conf$$.exe conf$$.file |
14520 if test -d conf$$.dir; then | 27113 if test -d conf$$.dir; then |
14521 rm -f conf$$.dir/conf$$.file | 27114 rm -f conf$$.dir/conf$$.file |
14522 else | 27115 else |
14541 as_ln_s='cp -p' | 27134 as_ln_s='cp -p' |
14542 fi | 27135 fi |
14543 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 27136 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
14544 rmdir conf$$.dir 2>/dev/null | 27137 rmdir conf$$.dir 2>/dev/null |
14545 | 27138 |
14546 | |
14547 # as_fn_mkdir_p | |
14548 # ------------- | |
14549 # Create "$as_dir" as a directory, including parents if necessary. | |
14550 as_fn_mkdir_p () | |
14551 { | |
14552 | |
14553 case $as_dir in #( | |
14554 -*) as_dir=./$as_dir;; | |
14555 esac | |
14556 test -d "$as_dir" || eval $as_mkdir_p || { | |
14557 as_dirs= | |
14558 while :; do | |
14559 case $as_dir in #( | |
14560 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
14561 *) as_qdir=$as_dir;; | |
14562 esac | |
14563 as_dirs="'$as_qdir' $as_dirs" | |
14564 as_dir=`$as_dirname -- "$as_dir" || | |
14565 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
14566 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
14567 X"$as_dir" : 'X\(//\)$' \| \ | |
14568 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
14569 $as_echo X"$as_dir" | | |
14570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
14571 s//\1/ | |
14572 q | |
14573 } | |
14574 /^X\(\/\/\)[^/].*/{ | |
14575 s//\1/ | |
14576 q | |
14577 } | |
14578 /^X\(\/\/\)$/{ | |
14579 s//\1/ | |
14580 q | |
14581 } | |
14582 /^X\(\/\).*/{ | |
14583 s//\1/ | |
14584 q | |
14585 } | |
14586 s/.*/./; q'` | |
14587 test -d "$as_dir" && break | |
14588 done | |
14589 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
14590 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
14591 | |
14592 | |
14593 } # as_fn_mkdir_p | |
14594 if mkdir -p . 2>/dev/null; then | 27139 if mkdir -p . 2>/dev/null; then |
14595 as_mkdir_p='mkdir -p "$as_dir"' | 27140 as_mkdir_p=: |
14596 else | 27141 else |
14597 test -d ./-p && rmdir ./-p | 27142 test -d ./-p && rmdir ./-p |
14598 as_mkdir_p=false | 27143 as_mkdir_p=false |
14599 fi | 27144 fi |
14600 | 27145 |
14609 as_test_x=' | 27154 as_test_x=' |
14610 eval sh -c '\'' | 27155 eval sh -c '\'' |
14611 if test -d "$1"; then | 27156 if test -d "$1"; then |
14612 test -d "$1/."; | 27157 test -d "$1/."; |
14613 else | 27158 else |
14614 case $1 in #( | 27159 case $1 in |
14615 -*)set "./$1";; | 27160 -*)set "./$1";; |
14616 esac; | 27161 esac; |
14617 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 27162 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
14618 ???[sx]*):;;*)false;;esac;fi | 27163 ???[sx]*):;;*)false;;esac;fi |
14619 '\'' sh | 27164 '\'' sh |
14620 ' | 27165 ' |
14621 fi | 27166 fi |
14622 as_executable_p=$as_test_x | 27167 as_executable_p=$as_test_x |
14627 # Sed expression to map a string onto a valid variable name. | 27172 # Sed expression to map a string onto a valid variable name. |
14628 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 27173 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
14629 | 27174 |
14630 | 27175 |
14631 exec 6>&1 | 27176 exec 6>&1 |
14632 ## ----------------------------------- ## | 27177 |
14633 ## Main body of $CONFIG_STATUS script. ## | 27178 # Save the log message, to keep $[0] and so on meaningful, and to |
14634 ## ----------------------------------- ## | |
14635 _ASEOF | |
14636 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
14637 | |
14638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
14639 # Save the log message, to keep $0 and so on meaningful, and to | |
14640 # report actual input values of CONFIG_FILES etc. instead of their | 27179 # report actual input values of CONFIG_FILES etc. instead of their |
14641 # values after options handling. | 27180 # values after options handling. |
14642 ac_log=" | 27181 ac_log=" |
14643 This file was extended by emacs $as_me 24.0.50, which was | 27182 This file was extended by emacs $as_me 24.0.50, which was |
14644 generated by GNU Autoconf 2.65. Invocation command line was | 27183 generated by GNU Autoconf 2.62. Invocation command line was |
14645 | 27184 |
14646 CONFIG_FILES = $CONFIG_FILES | 27185 CONFIG_FILES = $CONFIG_FILES |
14647 CONFIG_HEADERS = $CONFIG_HEADERS | 27186 CONFIG_HEADERS = $CONFIG_HEADERS |
14648 CONFIG_LINKS = $CONFIG_LINKS | 27187 CONFIG_LINKS = $CONFIG_LINKS |
14649 CONFIG_COMMANDS = $CONFIG_COMMANDS | 27188 CONFIG_COMMANDS = $CONFIG_COMMANDS |
14652 on `(hostname || uname -n) 2>/dev/null | sed 1q` | 27191 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
14653 " | 27192 " |
14654 | 27193 |
14655 _ACEOF | 27194 _ACEOF |
14656 | 27195 |
14657 case $ac_config_files in *" | |
14658 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
14659 esac | |
14660 | |
14661 case $ac_config_headers in *" | |
14662 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
14663 esac | |
14664 | |
14665 | |
14666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 27196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14667 # Files that config.status was made for. | 27197 # Files that config.status was made for. |
14668 config_files="$ac_config_files" | 27198 config_files="$ac_config_files" |
14669 config_headers="$ac_config_headers" | 27199 config_headers="$ac_config_headers" |
14670 config_commands="$ac_config_commands" | 27200 config_commands="$ac_config_commands" |
14671 | 27201 |
14672 _ACEOF | 27202 _ACEOF |
14673 | 27203 |
14674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 27204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14675 ac_cs_usage="\ | 27205 ac_cs_usage="\ |
14676 \`$as_me' instantiates files and other configuration actions | 27206 \`$as_me' instantiates files from templates according to the |
14677 from templates according to the current configuration. Unless the files | 27207 current configuration. |
14678 and actions are specified as TAGs, all are instantiated by default. | 27208 |
14679 | 27209 Usage: $0 [OPTIONS] [FILE]... |
14680 Usage: $0 [OPTION]... [TAG]... | |
14681 | 27210 |
14682 -h, --help print this help, then exit | 27211 -h, --help print this help, then exit |
14683 -V, --version print version number and configuration settings, then exit | 27212 -V, --version print version number and configuration settings, then exit |
14684 --config print configuration, then exit | 27213 -q, --quiet do not print progress messages |
14685 -q, --quiet, --silent | |
14686 do not print progress messages | |
14687 -d, --debug don't remove temporary files | 27214 -d, --debug don't remove temporary files |
14688 --recheck update $as_me by reconfiguring in the same conditions | 27215 --recheck update $as_me by reconfiguring in the same conditions |
14689 --file=FILE[:TEMPLATE] | 27216 --file=FILE[:TEMPLATE] |
14690 instantiate the configuration file FILE | 27217 instantiate the configuration file FILE |
14691 --header=FILE[:TEMPLATE] | 27218 --header=FILE[:TEMPLATE] |
14692 instantiate the configuration header FILE | 27219 instantiate the configuration header FILE |
14693 | 27220 |
14694 Configuration files: | 27221 Configuration files: |
14695 $config_files | 27222 $config_files |
14696 | 27223 |
14698 $config_headers | 27225 $config_headers |
14699 | 27226 |
14700 Configuration commands: | 27227 Configuration commands: |
14701 $config_commands | 27228 $config_commands |
14702 | 27229 |
14703 Report bugs to the package provider." | 27230 Report bugs to <bug-autoconf@gnu.org>." |
14704 | 27231 |
14705 _ACEOF | 27232 _ACEOF |
14706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 27233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14707 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
14708 ac_cs_version="\\ | 27234 ac_cs_version="\\ |
14709 emacs config.status 24.0.50 | 27235 emacs config.status 24.0.50 |
14710 configured by $0, generated by GNU Autoconf 2.65, | 27236 configured by $0, generated by GNU Autoconf 2.62, |
14711 with options \\"\$ac_cs_config\\" | 27237 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
14712 | 27238 |
14713 Copyright (C) 2009 Free Software Foundation, Inc. | 27239 Copyright (C) 2008 Free Software Foundation, Inc. |
14714 This config.status script is free software; the Free Software Foundation | 27240 This config.status script is free software; the Free Software Foundation |
14715 gives unlimited permission to copy, distribute and modify it." | 27241 gives unlimited permission to copy, distribute and modify it." |
14716 | 27242 |
14717 ac_pwd='$ac_pwd' | 27243 ac_pwd='$ac_pwd' |
14718 srcdir='$srcdir' | 27244 srcdir='$srcdir' |
14742 # Handling of the options. | 27268 # Handling of the options. |
14743 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 27269 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
14744 ac_cs_recheck=: ;; | 27270 ac_cs_recheck=: ;; |
14745 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 27271 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
14746 $as_echo "$ac_cs_version"; exit ;; | 27272 $as_echo "$ac_cs_version"; exit ;; |
14747 --config | --confi | --conf | --con | --co | --c ) | |
14748 $as_echo "$ac_cs_config"; exit ;; | |
14749 --debug | --debu | --deb | --de | --d | -d ) | 27273 --debug | --debu | --deb | --de | --d | -d ) |
14750 debug=: ;; | 27274 debug=: ;; |
14751 --file | --fil | --fi | --f ) | 27275 --file | --fil | --fi | --f ) |
14752 $ac_shift | 27276 $ac_shift |
14753 case $ac_optarg in | 27277 case $ac_optarg in |
14754 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 27278 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14755 esac | 27279 esac |
14756 as_fn_append CONFIG_FILES " '$ac_optarg'" | 27280 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
14757 ac_need_defaults=false;; | 27281 ac_need_defaults=false;; |
14758 --header | --heade | --head | --hea ) | 27282 --header | --heade | --head | --hea ) |
14759 $ac_shift | 27283 $ac_shift |
14760 case $ac_optarg in | 27284 case $ac_optarg in |
14761 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 27285 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14762 esac | 27286 esac |
14763 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 27287 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
14764 ac_need_defaults=false;; | 27288 ac_need_defaults=false;; |
14765 --he | --h) | 27289 --he | --h) |
14766 # Conflict between --help and --header | 27290 # Conflict between --help and --header |
14767 as_fn_error "ambiguous option: \`$1' | 27291 { $as_echo "$as_me: error: ambiguous option: $1 |
14768 Try \`$0 --help' for more information.";; | 27292 Try \`$0 --help' for more information." >&2 |
27293 { (exit 1); exit 1; }; };; | |
14769 --help | --hel | -h ) | 27294 --help | --hel | -h ) |
14770 $as_echo "$ac_cs_usage"; exit ;; | 27295 $as_echo "$ac_cs_usage"; exit ;; |
14771 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 27296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
14772 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 27297 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
14773 ac_cs_silent=: ;; | 27298 ac_cs_silent=: ;; |
14774 | 27299 |
14775 # This is an error. | 27300 # This is an error. |
14776 -*) as_fn_error "unrecognized option: \`$1' | 27301 -*) { $as_echo "$as_me: error: unrecognized option: $1 |
14777 Try \`$0 --help' for more information." ;; | 27302 Try \`$0 --help' for more information." >&2 |
14778 | 27303 { (exit 1); exit 1; }; } ;; |
14779 *) as_fn_append ac_config_targets " $1" | 27304 |
27305 *) ac_config_targets="$ac_config_targets $1" | |
14780 ac_need_defaults=false ;; | 27306 ac_need_defaults=false ;; |
14781 | 27307 |
14782 esac | 27308 esac |
14783 shift | 27309 shift |
14784 done | 27310 done |
14839 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 27365 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
14840 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 27366 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
14841 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 27367 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
14842 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 27368 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
14843 | 27369 |
14844 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 27370 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
27371 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
27372 { (exit 1); exit 1; }; };; | |
14845 esac | 27373 esac |
14846 done | 27374 done |
14847 | 27375 |
14848 | 27376 |
14849 # If the user did not use the arguments to specify the items to instantiate, | 27377 # If the user did not use the arguments to specify the items to instantiate, |
14866 { | 27394 { |
14867 tmp= | 27395 tmp= |
14868 trap 'exit_status=$? | 27396 trap 'exit_status=$? |
14869 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 27397 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
14870 ' 0 | 27398 ' 0 |
14871 trap 'as_fn_exit 1' 1 2 13 15 | 27399 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
14872 } | 27400 } |
14873 # Create a (secure) tmp directory for tmp files. | 27401 # Create a (secure) tmp directory for tmp files. |
14874 | 27402 |
14875 { | 27403 { |
14876 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 27404 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
14877 test -n "$tmp" && test -d "$tmp" | 27405 test -n "$tmp" && test -d "$tmp" |
14878 } || | 27406 } || |
14879 { | 27407 { |
14880 tmp=./conf$$-$RANDOM | 27408 tmp=./conf$$-$RANDOM |
14881 (umask 077 && mkdir "$tmp") | 27409 (umask 077 && mkdir "$tmp") |
14882 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 27410 } || |
27411 { | |
27412 $as_echo "$as_me: cannot create a temporary directory in ." >&2 | |
27413 { (exit 1); exit 1; } | |
27414 } | |
14883 | 27415 |
14884 # Set up the scripts for CONFIG_FILES section. | 27416 # Set up the scripts for CONFIG_FILES section. |
14885 # No need to generate them if there are no CONFIG_FILES. | 27417 # No need to generate them if there are no CONFIG_FILES. |
14886 # This happens for instance with `./config.status config.h'. | 27418 # This happens for instance with `./config.status config.h'. |
14887 if test -n "$CONFIG_FILES"; then | 27419 if test -n "$CONFIG_FILES"; then |
14888 | 27420 |
14889 | 27421 |
14890 ac_cr=`echo X | tr X '\015'` | 27422 ac_cr=' |
14891 # On cygwin, bash can eat \r inside `` if the user requested igncr. | 27423 ' |
14892 # But we know of no other shell where ac_cr would be empty at this | |
14893 # point, so we can use a bashism as a fallback. | |
14894 if test "x$ac_cr" = x; then | |
14895 eval ac_cr=\$\'\\r\' | |
14896 fi | |
14897 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 27424 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
14898 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 27425 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
14899 ac_cs_awk_cr='\r' | 27426 ac_cs_awk_cr='\\r' |
14900 else | 27427 else |
14901 ac_cs_awk_cr=$ac_cr | 27428 ac_cs_awk_cr=$ac_cr |
14902 fi | 27429 fi |
14903 | 27430 |
14904 echo 'BEGIN {' >"$tmp/subs1.awk" && | 27431 echo 'BEGIN {' >"$tmp/subs1.awk" && |
14908 { | 27435 { |
14909 echo "cat >conf$$subs.awk <<_ACEOF" && | 27436 echo "cat >conf$$subs.awk <<_ACEOF" && |
14910 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 27437 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
14911 echo "_ACEOF" | 27438 echo "_ACEOF" |
14912 } >conf$$subs.sh || | 27439 } >conf$$subs.sh || |
14913 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 27440 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
27441 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
27442 { (exit 1); exit 1; }; } | |
14914 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 27443 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
14915 ac_delim='%!_!# ' | 27444 ac_delim='%!_!# ' |
14916 for ac_last_try in false false false false false :; do | 27445 for ac_last_try in false false false false false :; do |
14917 . ./conf$$subs.sh || | 27446 . ./conf$$subs.sh || |
14918 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 27447 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14919 | 27448 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14920 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 27449 { (exit 1); exit 1; }; } |
14921 if test $ac_delim_n = $ac_delim_num; then | 27450 |
27451 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then | |
14922 break | 27452 break |
14923 elif $ac_last_try; then | 27453 elif $ac_last_try; then |
14924 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 27454 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
27455 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
27456 { (exit 1); exit 1; }; } | |
14925 else | 27457 else |
14926 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 27458 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14927 fi | 27459 fi |
14928 done | 27460 done |
14929 rm -f conf$$subs.sh | 27461 rm -f conf$$subs.sh |
14941 t repl | 27473 t repl |
14942 s/'"$ac_delim"'$// | 27474 s/'"$ac_delim"'$// |
14943 t delim | 27475 t delim |
14944 :nl | 27476 :nl |
14945 h | 27477 h |
14946 s/\(.\{148\}\)..*/\1/ | 27478 s/\(.\{148\}\).*/\1/ |
14947 t more1 | 27479 t more1 |
14948 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 27480 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
14949 p | 27481 p |
14950 n | 27482 n |
14951 b repl | 27483 b repl |
14955 g | 27487 g |
14956 s/.\{148\}// | 27488 s/.\{148\}// |
14957 t nl | 27489 t nl |
14958 :delim | 27490 :delim |
14959 h | 27491 h |
14960 s/\(.\{148\}\)..*/\1/ | 27492 s/\(.\{148\}\).*/\1/ |
14961 t more2 | 27493 t more2 |
14962 s/["\\]/\\&/g; s/^/"/; s/$/"/ | 27494 s/["\\]/\\&/g; s/^/"/; s/$/"/ |
14963 p | 27495 p |
14964 b | 27496 b |
14965 :more2 | 27497 :more2 |
15008 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 27540 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
15009 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 27541 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15010 else | 27542 else |
15011 cat | 27543 cat |
15012 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 27544 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15013 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 27545 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
27546 $as_echo "$as_me: error: could not setup config files machinery" >&2;} | |
27547 { (exit 1); exit 1; }; } | |
15014 _ACEOF | 27548 _ACEOF |
15015 | 27549 |
15016 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 27550 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
15017 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 27551 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
15018 # trailing colons and then remove the whole line if VPATH becomes empty | 27552 # trailing colons and then remove the whole line if VPATH becomes empty |
15049 for ac_last_try in false false :; do | 27583 for ac_last_try in false false :; do |
15050 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 27584 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15051 if test -z "$ac_t"; then | 27585 if test -z "$ac_t"; then |
15052 break | 27586 break |
15053 elif $ac_last_try; then | 27587 elif $ac_last_try; then |
15054 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 27588 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
27589 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | |
27590 { (exit 1); exit 1; }; } | |
15055 else | 27591 else |
15056 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 27592 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15057 fi | 27593 fi |
15058 done | 27594 done |
15059 | 27595 |
15115 defundef = substr(arg[1], 2) | 27651 defundef = substr(arg[1], 2) |
15116 mac1 = arg[2] | 27652 mac1 = arg[2] |
15117 } | 27653 } |
15118 split(mac1, mac2, "(") #) | 27654 split(mac1, mac2, "(") #) |
15119 macro = mac2[1] | 27655 macro = mac2[1] |
15120 prefix = substr(line, 1, index(line, defundef) - 1) | |
15121 if (D_is_set[macro]) { | 27656 if (D_is_set[macro]) { |
15122 # Preserve the white space surrounding the "#". | 27657 # Preserve the white space surrounding the "#". |
27658 prefix = substr(line, 1, index(line, defundef) - 1) | |
15123 print prefix "define", macro P[macro] D[macro] | 27659 print prefix "define", macro P[macro] D[macro] |
15124 next | 27660 next |
15125 } else { | 27661 } else { |
15126 # Replace #undef with comments. This is necessary, for example, | 27662 # Replace #undef with comments. This is necessary, for example, |
15127 # in the case of _POSIX_SOURCE, which is predefined and required | 27663 # in the case of _POSIX_SOURCE, which is predefined and required |
15128 # on some systems where configure will not decide to define it. | 27664 # on some systems where configure will not decide to define it. |
15129 if (defundef == "undef") { | 27665 if (defundef == "undef") { |
15130 print "/*", prefix defundef, macro, "*/" | 27666 print "/*", line, "*/" |
15131 next | 27667 next |
15132 } | 27668 } |
15133 } | 27669 } |
15134 } | 27670 } |
15135 { print } | 27671 { print } |
15136 _ACAWK | 27672 _ACAWK |
15137 _ACEOF | 27673 _ACEOF |
15138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 27674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15139 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 27675 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
27676 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | |
27677 { (exit 1); exit 1; }; } | |
15140 fi # test -n "$CONFIG_HEADERS" | 27678 fi # test -n "$CONFIG_HEADERS" |
15141 | 27679 |
15142 | 27680 |
15143 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 27681 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
15144 shift | 27682 shift |
15147 case $ac_tag in | 27685 case $ac_tag in |
15148 :[FHLC]) ac_mode=$ac_tag; continue;; | 27686 :[FHLC]) ac_mode=$ac_tag; continue;; |
15149 esac | 27687 esac |
15150 case $ac_mode$ac_tag in | 27688 case $ac_mode$ac_tag in |
15151 :[FHL]*:*);; | 27689 :[FHL]*:*);; |
15152 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 27690 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
27691 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
27692 { (exit 1); exit 1; }; };; | |
15153 :[FH]-) ac_tag=-:-;; | 27693 :[FH]-) ac_tag=-:-;; |
15154 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 27694 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15155 esac | 27695 esac |
15156 ac_save_IFS=$IFS | 27696 ac_save_IFS=$IFS |
15157 IFS=: | 27697 IFS=: |
15175 test -f "$ac_f" || | 27715 test -f "$ac_f" || |
15176 case $ac_f in | 27716 case $ac_f in |
15177 [\\/$]*) false;; | 27717 [\\/$]*) false;; |
15178 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 27718 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15179 esac || | 27719 esac || |
15180 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 27720 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
27721 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
27722 { (exit 1); exit 1; }; };; | |
15181 esac | 27723 esac |
15182 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 27724 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15183 as_fn_append ac_file_inputs " '$ac_f'" | 27725 ac_file_inputs="$ac_file_inputs '$ac_f'" |
15184 done | 27726 done |
15185 | 27727 |
15186 # Let's still pretend it is `configure' which instantiates (i.e., don't | 27728 # Let's still pretend it is `configure' which instantiates (i.e., don't |
15187 # use $as_me), people would be surprised to read: | 27729 # use $as_me), people would be surprised to read: |
15188 # /* config.h. Generated by config.status. */ | 27730 # /* config.h. Generated by config.status. */ |
15189 configure_input='Generated from '` | 27731 configure_input='Generated from '` |
15190 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | 27732 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
15191 `' by configure.' | 27733 `' by configure.' |
15192 if test x"$ac_file" != x-; then | 27734 if test x"$ac_file" != x-; then |
15193 configure_input="$ac_file. $configure_input" | 27735 configure_input="$ac_file. $configure_input" |
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 27736 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
15195 $as_echo "$as_me: creating $ac_file" >&6;} | 27737 $as_echo "$as_me: creating $ac_file" >&6;} |
15196 fi | 27738 fi |
15197 # Neutralize special characters interpreted by sed in replacement strings. | 27739 # Neutralize special characters interpreted by sed in replacement strings. |
15198 case $configure_input in #( | 27740 case $configure_input in #( |
15199 *\&* | *\|* | *\\* ) | 27741 *\&* | *\|* | *\\* ) |
15202 *) ac_sed_conf_input=$configure_input;; | 27744 *) ac_sed_conf_input=$configure_input;; |
15203 esac | 27745 esac |
15204 | 27746 |
15205 case $ac_tag in | 27747 case $ac_tag in |
15206 *:-:* | *:-) cat >"$tmp/stdin" \ | 27748 *:-:* | *:-) cat >"$tmp/stdin" \ |
15207 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 27749 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27750 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27751 { (exit 1); exit 1; }; } ;; | |
15208 esac | 27752 esac |
15209 ;; | 27753 ;; |
15210 esac | 27754 esac |
15211 | 27755 |
15212 ac_dir=`$as_dirname -- "$ac_file" || | 27756 ac_dir=`$as_dirname -- "$ac_file" || |
15230 /^X\(\/\).*/{ | 27774 /^X\(\/\).*/{ |
15231 s//\1/ | 27775 s//\1/ |
15232 q | 27776 q |
15233 } | 27777 } |
15234 s/.*/./; q'` | 27778 s/.*/./; q'` |
15235 as_dir="$ac_dir"; as_fn_mkdir_p | 27779 { as_dir="$ac_dir" |
27780 case $as_dir in #( | |
27781 -*) as_dir=./$as_dir;; | |
27782 esac | |
27783 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
27784 as_dirs= | |
27785 while :; do | |
27786 case $as_dir in #( | |
27787 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
27788 *) as_qdir=$as_dir;; | |
27789 esac | |
27790 as_dirs="'$as_qdir' $as_dirs" | |
27791 as_dir=`$as_dirname -- "$as_dir" || | |
27792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
27793 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
27794 X"$as_dir" : 'X\(//\)$' \| \ | |
27795 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
27796 $as_echo X"$as_dir" | | |
27797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
27798 s//\1/ | |
27799 q | |
27800 } | |
27801 /^X\(\/\/\)[^/].*/{ | |
27802 s//\1/ | |
27803 q | |
27804 } | |
27805 /^X\(\/\/\)$/{ | |
27806 s//\1/ | |
27807 q | |
27808 } | |
27809 /^X\(\/\).*/{ | |
27810 s//\1/ | |
27811 q | |
27812 } | |
27813 s/.*/./; q'` | |
27814 test -d "$as_dir" && break | |
27815 done | |
27816 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
27817 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
27818 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
27819 { (exit 1); exit 1; }; }; } | |
15236 ac_builddir=. | 27820 ac_builddir=. |
15237 | 27821 |
15238 case "$ac_dir" in | 27822 case "$ac_dir" in |
15239 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 27823 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
15240 *) | 27824 *) |
15282 | 27866 |
15283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 27867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15284 # If the template does not know about datarootdir, expand it. | 27868 # If the template does not know about datarootdir, expand it. |
15285 # FIXME: This hack should be removed a few years after 2.60. | 27869 # FIXME: This hack should be removed a few years after 2.60. |
15286 ac_datarootdir_hack=; ac_datarootdir_seen= | 27870 ac_datarootdir_hack=; ac_datarootdir_seen= |
27871 | |
15287 ac_sed_dataroot=' | 27872 ac_sed_dataroot=' |
15288 /datarootdir/ { | 27873 /datarootdir/ { |
15289 p | 27874 p |
15290 q | 27875 q |
15291 } | 27876 } |
15292 /@datadir@/p | 27877 /@datadir@/p |
15293 /@docdir@/p | 27878 /@docdir@/p |
15294 /@infodir@/p | 27879 /@infodir@/p |
15295 /@localedir@/p | 27880 /@localedir@/p |
15296 /@mandir@/p' | 27881 /@mandir@/p |
27882 ' | |
15297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 27883 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
15298 *datarootdir*) ac_datarootdir_seen=yes;; | 27884 *datarootdir*) ac_datarootdir_seen=yes;; |
15299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 27885 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 27886 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
15301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 27887 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
15302 _ACEOF | 27888 _ACEOF |
15303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 27889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15304 ac_datarootdir_hack=' | 27890 ac_datarootdir_hack=' |
15305 s&@datadir@&$datadir&g | 27891 s&@datadir@&$datadir&g |
15306 s&@docdir@&$docdir&g | 27892 s&@docdir@&$docdir&g |
15307 s&@infodir@&$infodir&g | 27893 s&@infodir@&$infodir&g |
15308 s&@localedir@&$localedir&g | 27894 s&@localedir@&$localedir&g |
15309 s&@mandir@&$mandir&g | 27895 s&@mandir@&$mandir&g |
15310 s&\\\${datarootdir}&$datarootdir&g' ;; | 27896 s&\\\${datarootdir}&$datarootdir&g' ;; |
15311 esac | 27897 esac |
15312 _ACEOF | 27898 _ACEOF |
15313 | 27899 |
15314 # Neutralize VPATH when `$srcdir' = `.'. | 27900 # Neutralize VPATH when `$srcdir' = `.'. |
15315 # Shell code in configure.ac might set extrasub. | 27901 # Shell code in configure.ac might set extrasub. |
15333 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 27919 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
15334 s&@INSTALL@&$ac_INSTALL&;t t | 27920 s&@INSTALL@&$ac_INSTALL&;t t |
15335 $ac_datarootdir_hack | 27921 $ac_datarootdir_hack |
15336 " | 27922 " |
15337 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 27923 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
15338 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27924 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27925 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27926 { (exit 1); exit 1; }; } | |
15339 | 27927 |
15340 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 27928 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
15341 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 27929 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
15342 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 27930 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27931 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15344 which seems to be undefined. Please make sure it is defined." >&5 | 27932 which seems to be undefined. Please make sure it is defined." >&5 |
15345 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27933 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15346 which seems to be undefined. Please make sure it is defined." >&2;} | 27934 which seems to be undefined. Please make sure it is defined." >&2;} |
15347 | 27935 |
15348 rm -f "$tmp/stdin" | 27936 rm -f "$tmp/stdin" |
15349 case $ac_file in | 27937 case $ac_file in |
15350 -) cat "$tmp/out" && rm -f "$tmp/out";; | 27938 -) cat "$tmp/out" && rm -f "$tmp/out";; |
15351 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 27939 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
15352 esac \ | 27940 esac \ |
15353 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27941 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27942 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27943 { (exit 1); exit 1; }; } | |
15354 ;; | 27944 ;; |
15355 :H) | 27945 :H) |
15356 # | 27946 # |
15357 # CONFIG_HEADER | 27947 # CONFIG_HEADER |
15358 # | 27948 # |
15359 if test x"$ac_file" != x-; then | 27949 if test x"$ac_file" != x-; then |
15360 { | 27950 { |
15361 $as_echo "/* $configure_input */" \ | 27951 $as_echo "/* $configure_input */" \ |
15362 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 27952 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
15363 } >"$tmp/config.h" \ | 27953 } >"$tmp/config.h" \ |
15364 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27954 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27955 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27956 { (exit 1); exit 1; }; } | |
15365 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 27957 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 27958 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
15367 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 27959 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
15368 else | 27960 else |
15369 rm -f "$ac_file" | 27961 rm -f "$ac_file" |
15370 mv "$tmp/config.h" "$ac_file" \ | 27962 mv "$tmp/config.h" "$ac_file" \ |
15371 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27963 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
27964 $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
27965 { (exit 1); exit 1; }; } | |
15372 fi | 27966 fi |
15373 else | 27967 else |
15374 $as_echo "/* $configure_input */" \ | 27968 $as_echo "/* $configure_input */" \ |
15375 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 27969 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
15376 || as_fn_error "could not create -" "$LINENO" 5 | 27970 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
27971 $as_echo "$as_me: error: could not create -" >&2;} | |
27972 { (exit 1); exit 1; }; } | |
15377 fi | 27973 fi |
15378 ;; | 27974 ;; |
15379 | 27975 |
15380 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 27976 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
15381 $as_echo "$as_me: executing $ac_file commands" >&6;} | 27977 $as_echo "$as_me: executing $ac_file commands" >&6;} |
15382 ;; | 27978 ;; |
15383 esac | 27979 esac |
15384 | 27980 |
15385 | 27981 |
15430 | 28026 |
15431 esac | 28027 esac |
15432 done # for ac_tag | 28028 done # for ac_tag |
15433 | 28029 |
15434 | 28030 |
15435 as_fn_exit 0 | 28031 { (exit 0); exit 0; } |
15436 _ACEOF | 28032 _ACEOF |
28033 chmod +x $CONFIG_STATUS | |
15437 ac_clean_files=$ac_clean_files_save | 28034 ac_clean_files=$ac_clean_files_save |
15438 | 28035 |
15439 test $ac_write_fail = 0 || | 28036 test $ac_write_fail = 0 || |
15440 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 28037 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
28038 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | |
28039 { (exit 1); exit 1; }; } | |
15441 | 28040 |
15442 | 28041 |
15443 # configure is writing to config.log, and then calls config.status. | 28042 # configure is writing to config.log, and then calls config.status. |
15444 # config.status does its own redirection, appending to config.log. | 28043 # config.status does its own redirection, appending to config.log. |
15445 # Unfortunately, on DOS this fails, as config.log is still kept open | 28044 # Unfortunately, on DOS this fails, as config.log is still kept open |
15456 exec 5>/dev/null | 28055 exec 5>/dev/null |
15457 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 28056 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15458 exec 5>>config.log | 28057 exec 5>>config.log |
15459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 28058 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15460 # would make configure fail if this is the last instruction. | 28059 # would make configure fail if this is the last instruction. |
15461 $ac_cs_success || as_fn_exit $? | 28060 $ac_cs_success || { (exit 1); exit 1; } |
15462 fi | 28061 fi |
15463 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 28062 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 28063 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 |
15465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 28064 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} |
15466 fi | 28065 fi |
15467 | 28066 |
15468 | 28067 |