Line 0
Link Here
|
|
|
1 |
--- configure.orig 2010-03-26 19:57:34.000000000 +0100 |
2 |
+++ configure 2015-03-21 14:46:49.329315610 +0100 |
3 |
@@ -1,62 +1,83 @@ |
4 |
#! /bin/sh |
5 |
# Guess values for system-dependent variables and create Makefiles. |
6 |
-# Generated by GNU Autoconf 2.61 for ircd-hybrid 7.2.4. |
7 |
+# Generated by GNU Autoconf 2.69 for ircd-hybrid 7.2.2. |
8 |
# |
9 |
# $Id: configure.ac 715 2006-07-14 21:01:55Z michael $ |
10 |
# |
11 |
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
12 |
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
13 |
+# |
14 |
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
15 |
+# |
16 |
+# |
17 |
# This configure script is free software; the Free Software Foundation |
18 |
# gives unlimited permission to copy, distribute and modify it. |
19 |
-## --------------------- ## |
20 |
-## M4sh Initialization. ## |
21 |
-## --------------------- ## |
22 |
+## -------------------- ## |
23 |
+## M4sh Initialization. ## |
24 |
+## -------------------- ## |
25 |
|
26 |
# Be more Bourne compatible |
27 |
DUALCASE=1; export DUALCASE # for MKS sh |
28 |
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
29 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
30 |
emulate sh |
31 |
NULLCMD=: |
32 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
33 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
34 |
# is contrary to our usage. Disable this feature. |
35 |
alias -g '${1+"$@"}'='"$@"' |
36 |
setopt NO_GLOB_SUBST |
37 |
else |
38 |
- case `(set -o) 2>/dev/null` in |
39 |
- *posix*) set -o posix ;; |
40 |
+ case `(set -o) 2>/dev/null` in #( |
41 |
+ *posix*) : |
42 |
+ set -o posix ;; #( |
43 |
+ *) : |
44 |
+ ;; |
45 |
esac |
46 |
- |
47 |
fi |
48 |
|
49 |
|
50 |
- |
51 |
- |
52 |
-# PATH needs CR |
53 |
-# Avoid depending upon Character Ranges. |
54 |
-as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
55 |
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
56 |
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
57 |
-as_cr_digits='0123456789' |
58 |
-as_cr_alnum=$as_cr_Letters$as_cr_digits |
59 |
- |
60 |
-# The user is always right. |
61 |
-if test "${PATH_SEPARATOR+set}" != set; then |
62 |
- echo "#! /bin/sh" >conf$$.sh |
63 |
- echo "exit 0" >>conf$$.sh |
64 |
- chmod +x conf$$.sh |
65 |
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
66 |
- PATH_SEPARATOR=';' |
67 |
+as_nl=' |
68 |
+' |
69 |
+export as_nl |
70 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
71 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
72 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
73 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
74 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
75 |
+# but without wasting forks for bash or zsh. |
76 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
77 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
78 |
+ as_echo='print -r --' |
79 |
+ as_echo_n='print -rn --' |
80 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
81 |
+ as_echo='printf %s\n' |
82 |
+ as_echo_n='printf %s' |
83 |
+else |
84 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
85 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
86 |
+ as_echo_n='/usr/ucb/echo -n' |
87 |
else |
88 |
- PATH_SEPARATOR=: |
89 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
90 |
+ as_echo_n_body='eval |
91 |
+ arg=$1; |
92 |
+ case $arg in #( |
93 |
+ *"$as_nl"*) |
94 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
95 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
96 |
+ esac; |
97 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
98 |
+ ' |
99 |
+ export as_echo_n_body |
100 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
101 |
fi |
102 |
- rm -f conf$$.sh |
103 |
+ export as_echo_body |
104 |
+ as_echo='sh -c $as_echo_body as_echo' |
105 |
fi |
106 |
|
107 |
-# Support unset when possible. |
108 |
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
109 |
- as_unset=unset |
110 |
-else |
111 |
- as_unset=false |
112 |
+# The user is always right. |
113 |
+if test "${PATH_SEPARATOR+set}" != set; then |
114 |
+ PATH_SEPARATOR=: |
115 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
116 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
117 |
+ PATH_SEPARATOR=';' |
118 |
+ } |
119 |
fi |
120 |
|
121 |
|
122 |
@@ -65,20 +86,19 @@ |
123 |
# there to prevent editors from complaining about space-tab. |
124 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
125 |
# splitting by setting IFS to empty value.) |
126 |
-as_nl=' |
127 |
-' |
128 |
IFS=" "" $as_nl" |
129 |
|
130 |
# Find who we are. Look in the path if we contain no directory separator. |
131 |
-case $0 in |
132 |
+as_myself= |
133 |
+case $0 in #(( |
134 |
*[\\/]* ) as_myself=$0 ;; |
135 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
136 |
for as_dir in $PATH |
137 |
do |
138 |
IFS=$as_save_IFS |
139 |
test -z "$as_dir" && as_dir=. |
140 |
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
141 |
-done |
142 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
143 |
+ done |
144 |
IFS=$as_save_IFS |
145 |
|
146 |
;; |
147 |
@@ -89,354 +109,366 @@ |
148 |
as_myself=$0 |
149 |
fi |
150 |
if test ! -f "$as_myself"; then |
151 |
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
152 |
- { (exit 1); exit 1; } |
153 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
154 |
+ exit 1 |
155 |
fi |
156 |
|
157 |
-# Work around bugs in pre-3.0 UWIN ksh. |
158 |
-for as_var in ENV MAIL MAILPATH |
159 |
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
160 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
161 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
162 |
+# suppresses any "Segmentation fault" message there. '((' could |
163 |
+# trigger a bug in pdksh 5.2.14. |
164 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
165 |
+do eval test x\${$as_var+set} = xset \ |
166 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
167 |
done |
168 |
PS1='$ ' |
169 |
PS2='> ' |
170 |
PS4='+ ' |
171 |
|
172 |
# NLS nuisances. |
173 |
-for as_var in \ |
174 |
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
175 |
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
176 |
- LC_TELEPHONE LC_TIME |
177 |
-do |
178 |
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
179 |
- eval $as_var=C; export $as_var |
180 |
- else |
181 |
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
182 |
- fi |
183 |
-done |
184 |
- |
185 |
-# Required to use basename. |
186 |
-if expr a : '\(a\)' >/dev/null 2>&1 && |
187 |
- test "X`expr 00001 : '.*\(...\)'`" = X001; then |
188 |
- as_expr=expr |
189 |
-else |
190 |
- as_expr=false |
191 |
-fi |
192 |
- |
193 |
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
194 |
- as_basename=basename |
195 |
-else |
196 |
- as_basename=false |
197 |
-fi |
198 |
- |
199 |
- |
200 |
-# Name of the executable. |
201 |
-as_me=`$as_basename -- "$0" || |
202 |
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
203 |
- X"$0" : 'X\(//\)$' \| \ |
204 |
- X"$0" : 'X\(/\)' \| . 2>/dev/null || |
205 |
-echo X/"$0" | |
206 |
- sed '/^.*\/\([^/][^/]*\)\/*$/{ |
207 |
- s//\1/ |
208 |
- q |
209 |
- } |
210 |
- /^X\/\(\/\/\)$/{ |
211 |
- s//\1/ |
212 |
- q |
213 |
- } |
214 |
- /^X\/\(\/\).*/{ |
215 |
- s//\1/ |
216 |
- q |
217 |
- } |
218 |
- s/.*/./; q'` |
219 |
+LC_ALL=C |
220 |
+export LC_ALL |
221 |
+LANGUAGE=C |
222 |
+export LANGUAGE |
223 |
|
224 |
# CDPATH. |
225 |
-$as_unset CDPATH |
226 |
- |
227 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
228 |
|
229 |
+# Use a proper internal environment variable to ensure we don't fall |
230 |
+ # into an infinite loop, continuously re-executing ourselves. |
231 |
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
232 |
+ _as_can_reexec=no; export _as_can_reexec; |
233 |
+ # We cannot yet assume a decent shell, so we have to provide a |
234 |
+# neutralization value for shells without unset; and this also |
235 |
+# works around shells that cannot unset nonexistent variables. |
236 |
+# Preserve -v and -x to the replacement shell. |
237 |
+BASH_ENV=/dev/null |
238 |
+ENV=/dev/null |
239 |
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
240 |
+case $- in # (((( |
241 |
+ *v*x* | *x*v* ) as_opts=-vx ;; |
242 |
+ *v* ) as_opts=-v ;; |
243 |
+ *x* ) as_opts=-x ;; |
244 |
+ * ) as_opts= ;; |
245 |
+esac |
246 |
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
247 |
+# Admittedly, this is quite paranoid, since all the known shells bail |
248 |
+# out after a failed `exec'. |
249 |
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
250 |
+as_fn_exit 255 |
251 |
+ fi |
252 |
+ # We don't want this to propagate to other subprocesses. |
253 |
+ { _as_can_reexec=; unset _as_can_reexec;} |
254 |
if test "x$CONFIG_SHELL" = x; then |
255 |
- if (eval ":") 2>/dev/null; then |
256 |
- as_have_required=yes |
257 |
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
258 |
+ emulate sh |
259 |
+ NULLCMD=: |
260 |
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
261 |
+ # is contrary to our usage. Disable this feature. |
262 |
+ alias -g '\${1+\"\$@\"}'='\"\$@\"' |
263 |
+ setopt NO_GLOB_SUBST |
264 |
else |
265 |
- as_have_required=no |
266 |
+ case \`(set -o) 2>/dev/null\` in #( |
267 |
+ *posix*) : |
268 |
+ set -o posix ;; #( |
269 |
+ *) : |
270 |
+ ;; |
271 |
+esac |
272 |
fi |
273 |
- |
274 |
- if test $as_have_required = yes && (eval ": |
275 |
-(as_func_return () { |
276 |
- (exit \$1) |
277 |
-} |
278 |
-as_func_success () { |
279 |
- as_func_return 0 |
280 |
-} |
281 |
-as_func_failure () { |
282 |
- as_func_return 1 |
283 |
-} |
284 |
-as_func_ret_success () { |
285 |
- return 0 |
286 |
-} |
287 |
-as_func_ret_failure () { |
288 |
- return 1 |
289 |
-} |
290 |
+" |
291 |
+ as_required="as_fn_return () { (exit \$1); } |
292 |
+as_fn_success () { as_fn_return 0; } |
293 |
+as_fn_failure () { as_fn_return 1; } |
294 |
+as_fn_ret_success () { return 0; } |
295 |
+as_fn_ret_failure () { return 1; } |
296 |
|
297 |
exitcode=0 |
298 |
-if as_func_success; then |
299 |
- : |
300 |
-else |
301 |
- exitcode=1 |
302 |
- echo as_func_success failed. |
303 |
-fi |
304 |
- |
305 |
-if as_func_failure; then |
306 |
- exitcode=1 |
307 |
- echo as_func_failure succeeded. |
308 |
-fi |
309 |
- |
310 |
-if as_func_ret_success; then |
311 |
- : |
312 |
-else |
313 |
- exitcode=1 |
314 |
- echo as_func_ret_success failed. |
315 |
-fi |
316 |
- |
317 |
-if as_func_ret_failure; then |
318 |
- exitcode=1 |
319 |
- echo as_func_ret_failure succeeded. |
320 |
-fi |
321 |
- |
322 |
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
323 |
- : |
324 |
+as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
325 |
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
326 |
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
327 |
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
328 |
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
329 |
+ |
330 |
+else |
331 |
+ exitcode=1; echo positional parameters were not saved. |
332 |
+fi |
333 |
+test x\$exitcode = x0 || exit 1 |
334 |
+test -x / || exit 1" |
335 |
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
336 |
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
337 |
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
338 |
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
339 |
+test \$(( 1 + 1 )) = 2 || exit 1" |
340 |
+ if (eval "$as_required") 2>/dev/null; then : |
341 |
+ as_have_required=yes |
342 |
else |
343 |
- exitcode=1 |
344 |
- echo positional parameters were not saved. |
345 |
+ as_have_required=no |
346 |
fi |
347 |
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
348 |
|
349 |
-test \$exitcode = 0) || { (exit 1); exit 1; } |
350 |
- |
351 |
-( |
352 |
- as_lineno_1=\$LINENO |
353 |
- as_lineno_2=\$LINENO |
354 |
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
355 |
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
356 |
-") 2> /dev/null; then |
357 |
- : |
358 |
else |
359 |
- as_candidate_shells= |
360 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
361 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
362 |
+as_found=false |
363 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
364 |
do |
365 |
IFS=$as_save_IFS |
366 |
test -z "$as_dir" && as_dir=. |
367 |
- case $as_dir in |
368 |
+ as_found=: |
369 |
+ case $as_dir in #( |
370 |
/*) |
371 |
for as_base in sh bash ksh sh5; do |
372 |
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
373 |
+ # Try only shells that exist, to save several forks. |
374 |
+ as_shell=$as_dir/$as_base |
375 |
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
376 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
377 |
+ CONFIG_SHELL=$as_shell as_have_required=yes |
378 |
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
379 |
+ break 2 |
380 |
+fi |
381 |
+fi |
382 |
done;; |
383 |
esac |
384 |
+ as_found=false |
385 |
done |
386 |
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
387 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
388 |
+ CONFIG_SHELL=$SHELL as_have_required=yes |
389 |
+fi; } |
390 |
IFS=$as_save_IFS |
391 |
|
392 |
|
393 |
- for as_shell in $as_candidate_shells $SHELL; do |
394 |
- # Try only shells that exist, to save several forks. |
395 |
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
396 |
- { ("$as_shell") 2> /dev/null <<\_ASEOF |
397 |
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
398 |
- emulate sh |
399 |
- NULLCMD=: |
400 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
401 |
- # is contrary to our usage. Disable this feature. |
402 |
- alias -g '${1+"$@"}'='"$@"' |
403 |
- setopt NO_GLOB_SUBST |
404 |
-else |
405 |
- case `(set -o) 2>/dev/null` in |
406 |
- *posix*) set -o posix ;; |
407 |
-esac |
408 |
- |
409 |
+ if test "x$CONFIG_SHELL" != x; then : |
410 |
+ export CONFIG_SHELL |
411 |
+ # We cannot yet assume a decent shell, so we have to provide a |
412 |
+# neutralization value for shells without unset; and this also |
413 |
+# works around shells that cannot unset nonexistent variables. |
414 |
+# Preserve -v and -x to the replacement shell. |
415 |
+BASH_ENV=/dev/null |
416 |
+ENV=/dev/null |
417 |
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
418 |
+case $- in # (((( |
419 |
+ *v*x* | *x*v* ) as_opts=-vx ;; |
420 |
+ *v* ) as_opts=-v ;; |
421 |
+ *x* ) as_opts=-x ;; |
422 |
+ * ) as_opts= ;; |
423 |
+esac |
424 |
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
425 |
+# Admittedly, this is quite paranoid, since all the known shells bail |
426 |
+# out after a failed `exec'. |
427 |
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
428 |
+exit 255 |
429 |
+fi |
430 |
+ |
431 |
+ if test x$as_have_required = xno; then : |
432 |
+ $as_echo "$0: This script requires a shell more modern than all" |
433 |
+ $as_echo "$0: the shells that I found on your system." |
434 |
+ if test x${ZSH_VERSION+set} = xset ; then |
435 |
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
436 |
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
437 |
+ else |
438 |
+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
439 |
+$0: including any error possibly output before this |
440 |
+$0: message. Then install a modern shell, or manually run |
441 |
+$0: the script under such a shell if you do have one." |
442 |
+ fi |
443 |
+ exit 1 |
444 |
fi |
445 |
- |
446 |
- |
447 |
-: |
448 |
-_ASEOF |
449 |
-}; then |
450 |
- CONFIG_SHELL=$as_shell |
451 |
- as_have_required=yes |
452 |
- if { "$as_shell" 2> /dev/null <<\_ASEOF |
453 |
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
454 |
- emulate sh |
455 |
- NULLCMD=: |
456 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
457 |
- # is contrary to our usage. Disable this feature. |
458 |
- alias -g '${1+"$@"}'='"$@"' |
459 |
- setopt NO_GLOB_SUBST |
460 |
-else |
461 |
- case `(set -o) 2>/dev/null` in |
462 |
- *posix*) set -o posix ;; |
463 |
-esac |
464 |
- |
465 |
fi |
466 |
+fi |
467 |
+SHELL=${CONFIG_SHELL-/bin/sh} |
468 |
+export SHELL |
469 |
+# Unset more variables known to interfere with behavior of common tools. |
470 |
+CLICOLOR_FORCE= GREP_OPTIONS= |
471 |
+unset CLICOLOR_FORCE GREP_OPTIONS |
472 |
|
473 |
+## --------------------- ## |
474 |
+## M4sh Shell Functions. ## |
475 |
+## --------------------- ## |
476 |
+# as_fn_unset VAR |
477 |
+# --------------- |
478 |
+# Portably unset VAR. |
479 |
+as_fn_unset () |
480 |
+{ |
481 |
+ { eval $1=; unset $1;} |
482 |
+} |
483 |
+as_unset=as_fn_unset |
484 |
+ |
485 |
+# as_fn_set_status STATUS |
486 |
+# ----------------------- |
487 |
+# Set $? to STATUS, without forking. |
488 |
+as_fn_set_status () |
489 |
+{ |
490 |
+ return $1 |
491 |
+} # as_fn_set_status |
492 |
+ |
493 |
+# as_fn_exit STATUS |
494 |
+# ----------------- |
495 |
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
496 |
+as_fn_exit () |
497 |
+{ |
498 |
+ set +e |
499 |
+ as_fn_set_status $1 |
500 |
+ exit $1 |
501 |
+} # as_fn_exit |
502 |
+ |
503 |
+# as_fn_mkdir_p |
504 |
+# ------------- |
505 |
+# Create "$as_dir" as a directory, including parents if necessary. |
506 |
+as_fn_mkdir_p () |
507 |
+{ |
508 |
|
509 |
-: |
510 |
-(as_func_return () { |
511 |
- (exit $1) |
512 |
-} |
513 |
-as_func_success () { |
514 |
- as_func_return 0 |
515 |
-} |
516 |
-as_func_failure () { |
517 |
- as_func_return 1 |
518 |
-} |
519 |
-as_func_ret_success () { |
520 |
- return 0 |
521 |
-} |
522 |
-as_func_ret_failure () { |
523 |
- return 1 |
524 |
-} |
525 |
+ case $as_dir in #( |
526 |
+ -*) as_dir=./$as_dir;; |
527 |
+ esac |
528 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
529 |
+ as_dirs= |
530 |
+ while :; do |
531 |
+ case $as_dir in #( |
532 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
533 |
+ *) as_qdir=$as_dir;; |
534 |
+ esac |
535 |
+ as_dirs="'$as_qdir' $as_dirs" |
536 |
+ as_dir=`$as_dirname -- "$as_dir" || |
537 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
538 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
539 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
540 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
541 |
+$as_echo X"$as_dir" | |
542 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
543 |
+ s//\1/ |
544 |
+ q |
545 |
+ } |
546 |
+ /^X\(\/\/\)[^/].*/{ |
547 |
+ s//\1/ |
548 |
+ q |
549 |
+ } |
550 |
+ /^X\(\/\/\)$/{ |
551 |
+ s//\1/ |
552 |
+ q |
553 |
+ } |
554 |
+ /^X\(\/\).*/{ |
555 |
+ s//\1/ |
556 |
+ q |
557 |
+ } |
558 |
+ s/.*/./; q'` |
559 |
+ test -d "$as_dir" && break |
560 |
+ done |
561 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
562 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
563 |
|
564 |
-exitcode=0 |
565 |
-if as_func_success; then |
566 |
- : |
567 |
-else |
568 |
- exitcode=1 |
569 |
- echo as_func_success failed. |
570 |
-fi |
571 |
|
572 |
-if as_func_failure; then |
573 |
- exitcode=1 |
574 |
- echo as_func_failure succeeded. |
575 |
-fi |
576 |
+} # as_fn_mkdir_p |
577 |
|
578 |
-if as_func_ret_success; then |
579 |
- : |
580 |
+# as_fn_executable_p FILE |
581 |
+# ----------------------- |
582 |
+# Test if FILE is an executable regular file. |
583 |
+as_fn_executable_p () |
584 |
+{ |
585 |
+ test -f "$1" && test -x "$1" |
586 |
+} # as_fn_executable_p |
587 |
+# as_fn_append VAR VALUE |
588 |
+# ---------------------- |
589 |
+# Append the text in VALUE to the end of the definition contained in VAR. Take |
590 |
+# advantage of any shell optimizations that allow amortized linear growth over |
591 |
+# repeated appends, instead of the typical quadratic growth present in naive |
592 |
+# implementations. |
593 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
594 |
+ eval 'as_fn_append () |
595 |
+ { |
596 |
+ eval $1+=\$2 |
597 |
+ }' |
598 |
else |
599 |
- exitcode=1 |
600 |
- echo as_func_ret_success failed. |
601 |
-fi |
602 |
- |
603 |
-if as_func_ret_failure; then |
604 |
- exitcode=1 |
605 |
- echo as_func_ret_failure succeeded. |
606 |
-fi |
607 |
- |
608 |
-if ( set x; as_func_ret_success y && test x = "$1" ); then |
609 |
- : |
610 |
+ as_fn_append () |
611 |
+ { |
612 |
+ eval $1=\$$1\$2 |
613 |
+ } |
614 |
+fi # as_fn_append |
615 |
+ |
616 |
+# as_fn_arith ARG... |
617 |
+# ------------------ |
618 |
+# Perform arithmetic evaluation on the ARGs, and store the result in the |
619 |
+# global $as_val. Take advantage of shells that can avoid forks. The arguments |
620 |
+# must be portable across $(()) and expr. |
621 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
622 |
+ eval 'as_fn_arith () |
623 |
+ { |
624 |
+ as_val=$(( $* )) |
625 |
+ }' |
626 |
else |
627 |
- exitcode=1 |
628 |
- echo positional parameters were not saved. |
629 |
-fi |
630 |
- |
631 |
-test $exitcode = 0) || { (exit 1); exit 1; } |
632 |
- |
633 |
-( |
634 |
- as_lineno_1=$LINENO |
635 |
- as_lineno_2=$LINENO |
636 |
- test "x$as_lineno_1" != "x$as_lineno_2" && |
637 |
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
638 |
- |
639 |
-_ASEOF |
640 |
-}; then |
641 |
- break |
642 |
-fi |
643 |
- |
644 |
-fi |
645 |
- |
646 |
- done |
647 |
- |
648 |
- if test "x$CONFIG_SHELL" != x; then |
649 |
- for as_var in BASH_ENV ENV |
650 |
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
651 |
- done |
652 |
- export CONFIG_SHELL |
653 |
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
654 |
-fi |
655 |
- |
656 |
- |
657 |
- if test $as_have_required = no; then |
658 |
- echo This script requires a shell more modern than all the |
659 |
- echo shells that I found on your system. Please install a |
660 |
- echo modern shell, or manually run the script under such a |
661 |
- echo shell if you do have one. |
662 |
- { (exit 1); exit 1; } |
663 |
-fi |
664 |
- |
665 |
- |
666 |
-fi |
667 |
- |
668 |
-fi |
669 |
- |
670 |
- |
671 |
- |
672 |
-(eval "as_func_return () { |
673 |
- (exit \$1) |
674 |
-} |
675 |
-as_func_success () { |
676 |
- as_func_return 0 |
677 |
-} |
678 |
-as_func_failure () { |
679 |
- as_func_return 1 |
680 |
-} |
681 |
-as_func_ret_success () { |
682 |
- return 0 |
683 |
-} |
684 |
-as_func_ret_failure () { |
685 |
- return 1 |
686 |
-} |
687 |
+ as_fn_arith () |
688 |
+ { |
689 |
+ as_val=`expr "$@" || test $? -eq 1` |
690 |
+ } |
691 |
+fi # as_fn_arith |
692 |
+ |
693 |
+ |
694 |
+# as_fn_error STATUS ERROR [LINENO LOG_FD] |
695 |
+# ---------------------------------------- |
696 |
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
697 |
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
698 |
+# script with STATUS, using 1 if that was 0. |
699 |
+as_fn_error () |
700 |
+{ |
701 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
702 |
+ if test "$4"; then |
703 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
704 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
705 |
+ fi |
706 |
+ $as_echo "$as_me: error: $2" >&2 |
707 |
+ as_fn_exit $as_status |
708 |
+} # as_fn_error |
709 |
|
710 |
-exitcode=0 |
711 |
-if as_func_success; then |
712 |
- : |
713 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
714 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
715 |
+ as_expr=expr |
716 |
else |
717 |
- exitcode=1 |
718 |
- echo as_func_success failed. |
719 |
-fi |
720 |
- |
721 |
-if as_func_failure; then |
722 |
- exitcode=1 |
723 |
- echo as_func_failure succeeded. |
724 |
+ as_expr=false |
725 |
fi |
726 |
|
727 |
-if as_func_ret_success; then |
728 |
- : |
729 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
730 |
+ as_basename=basename |
731 |
else |
732 |
- exitcode=1 |
733 |
- echo as_func_ret_success failed. |
734 |
-fi |
735 |
- |
736 |
-if as_func_ret_failure; then |
737 |
- exitcode=1 |
738 |
- echo as_func_ret_failure succeeded. |
739 |
+ as_basename=false |
740 |
fi |
741 |
|
742 |
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
743 |
- : |
744 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
745 |
+ as_dirname=dirname |
746 |
else |
747 |
- exitcode=1 |
748 |
- echo positional parameters were not saved. |
749 |
+ as_dirname=false |
750 |
fi |
751 |
|
752 |
-test \$exitcode = 0") || { |
753 |
- echo No shell found that supports shell functions. |
754 |
- echo Please tell autoconf@gnu.org about your system, |
755 |
- echo including any error possibly output before this |
756 |
- echo message |
757 |
-} |
758 |
+as_me=`$as_basename -- "$0" || |
759 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
760 |
+ X"$0" : 'X\(//\)$' \| \ |
761 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
762 |
+$as_echo X/"$0" | |
763 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
764 |
+ s//\1/ |
765 |
+ q |
766 |
+ } |
767 |
+ /^X\/\(\/\/\)$/{ |
768 |
+ s//\1/ |
769 |
+ q |
770 |
+ } |
771 |
+ /^X\/\(\/\).*/{ |
772 |
+ s//\1/ |
773 |
+ q |
774 |
+ } |
775 |
+ s/.*/./; q'` |
776 |
|
777 |
+# Avoid depending upon Character Ranges. |
778 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
779 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
780 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
781 |
+as_cr_digits='0123456789' |
782 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
783 |
|
784 |
|
785 |
- as_lineno_1=$LINENO |
786 |
- as_lineno_2=$LINENO |
787 |
- test "x$as_lineno_1" != "x$as_lineno_2" && |
788 |
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
789 |
- |
790 |
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
791 |
- # uniformly replaced by the line number. The first 'sed' inserts a |
792 |
- # line-number line after each line using $LINENO; the second 'sed' |
793 |
- # does the real work. The second script uses 'N' to pair each |
794 |
- # line-number line with the line containing $LINENO, and appends |
795 |
- # trailing '-' during substitution so that $LINENO is not a special |
796 |
- # case at line end. |
797 |
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
798 |
- # scripts with optimization help from Paolo Bonzini. Blame Lee |
799 |
- # E. McMahon (1931-1989) for sed's syntax. :-) |
800 |
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO |
801 |
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO |
802 |
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
803 |
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
804 |
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
805 |
sed -n ' |
806 |
p |
807 |
/[$]LINENO/= |
808 |
@@ -453,9 +485,12 @@ |
809 |
s/-\n.*// |
810 |
' >$as_me.lineno && |
811 |
chmod +x "$as_me.lineno" || |
812 |
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
813 |
- { (exit 1); exit 1; }; } |
814 |
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
815 |
|
816 |
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
817 |
+ # already done that, so ensure we don't try to do so again and fall |
818 |
+ # in an infinite loop. This has already happened in practice. |
819 |
+ _as_can_reexec=no; export _as_can_reexec |
820 |
# Don't try to exec as it changes $[0], causing all sort of problems |
821 |
# (the dirname of $[0] is not the place where we might find the |
822 |
# original and so on. Autoconf is especially sensitive to this). |
823 |
@@ -464,84 +499,55 @@ |
824 |
exit |
825 |
} |
826 |
|
827 |
- |
828 |
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
829 |
- as_dirname=dirname |
830 |
-else |
831 |
- as_dirname=false |
832 |
-fi |
833 |
- |
834 |
ECHO_C= ECHO_N= ECHO_T= |
835 |
-case `echo -n x` in |
836 |
+case `echo -n x` in #((((( |
837 |
-n*) |
838 |
- case `echo 'x\c'` in |
839 |
+ case `echo 'xy\c'` in |
840 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
841 |
- *) ECHO_C='\c';; |
842 |
+ xy) ECHO_C='\c';; |
843 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
844 |
+ ECHO_T=' ';; |
845 |
esac;; |
846 |
*) |
847 |
ECHO_N='-n';; |
848 |
esac |
849 |
|
850 |
-if expr a : '\(a\)' >/dev/null 2>&1 && |
851 |
- test "X`expr 00001 : '.*\(...\)'`" = X001; then |
852 |
- as_expr=expr |
853 |
-else |
854 |
- as_expr=false |
855 |
-fi |
856 |
- |
857 |
rm -f conf$$ conf$$.exe conf$$.file |
858 |
if test -d conf$$.dir; then |
859 |
rm -f conf$$.dir/conf$$.file |
860 |
else |
861 |
rm -f conf$$.dir |
862 |
- mkdir conf$$.dir |
863 |
+ mkdir conf$$.dir 2>/dev/null |
864 |
fi |
865 |
-echo >conf$$.file |
866 |
-if ln -s conf$$.file conf$$ 2>/dev/null; then |
867 |
- as_ln_s='ln -s' |
868 |
- # ... but there are two gotchas: |
869 |
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
870 |
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
871 |
- # In both cases, we have to default to `cp -p'. |
872 |
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
873 |
- as_ln_s='cp -p' |
874 |
-elif ln conf$$.file conf$$ 2>/dev/null; then |
875 |
- as_ln_s=ln |
876 |
+if (echo >conf$$.file) 2>/dev/null; then |
877 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
878 |
+ as_ln_s='ln -s' |
879 |
+ # ... but there are two gotchas: |
880 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
881 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
882 |
+ # In both cases, we have to default to `cp -pR'. |
883 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
884 |
+ as_ln_s='cp -pR' |
885 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
886 |
+ as_ln_s=ln |
887 |
+ else |
888 |
+ as_ln_s='cp -pR' |
889 |
+ fi |
890 |
else |
891 |
- as_ln_s='cp -p' |
892 |
+ as_ln_s='cp -pR' |
893 |
fi |
894 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
895 |
rmdir conf$$.dir 2>/dev/null |
896 |
|
897 |
if mkdir -p . 2>/dev/null; then |
898 |
- as_mkdir_p=: |
899 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
900 |
else |
901 |
test -d ./-p && rmdir ./-p |
902 |
as_mkdir_p=false |
903 |
fi |
904 |
|
905 |
-if test -x / >/dev/null 2>&1; then |
906 |
- as_test_x='test -x' |
907 |
-else |
908 |
- if ls -dL / >/dev/null 2>&1; then |
909 |
- as_ls_L_option=L |
910 |
- else |
911 |
- as_ls_L_option= |
912 |
- fi |
913 |
- as_test_x=' |
914 |
- eval sh -c '\'' |
915 |
- if test -d "$1"; then |
916 |
- test -d "$1/."; |
917 |
- else |
918 |
- case $1 in |
919 |
- -*)set "./$1";; |
920 |
- esac; |
921 |
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
922 |
- ???[sx]*):;;*)false;;esac;fi |
923 |
- '\'' sh |
924 |
- ' |
925 |
-fi |
926 |
-as_executable_p=$as_test_x |
927 |
+as_test_x='test -x' |
928 |
+as_executable_p=as_fn_executable_p |
929 |
|
930 |
# Sed expression to map a string onto a valid CPP name. |
931 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
932 |
@@ -550,11 +556,11 @@ |
933 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
934 |
|
935 |
|
936 |
- |
937 |
-exec 7<&0 </dev/null 6>&1 |
938 |
+test -n "$DJDIR" || exec 7<&0 </dev/null |
939 |
+exec 6>&1 |
940 |
|
941 |
# Name of the host. |
942 |
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
943 |
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
944 |
# so uname gets run too. |
945 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
946 |
|
947 |
@@ -569,14 +575,14 @@ |
948 |
subdirs= |
949 |
MFLAGS= |
950 |
MAKEFLAGS= |
951 |
-SHELL=${CONFIG_SHELL-/bin/sh} |
952 |
|
953 |
# Identity of this package. |
954 |
PACKAGE_NAME='ircd-hybrid' |
955 |
PACKAGE_TARNAME='ircd-hybrid' |
956 |
-PACKAGE_VERSION='7.2.4' |
957 |
-PACKAGE_STRING='ircd-hybrid 7.2.4' |
958 |
+PACKAGE_VERSION='7.2.2' |
959 |
+PACKAGE_STRING='ircd-hybrid 7.2.2' |
960 |
PACKAGE_BUGREPORT='' |
961 |
+PACKAGE_URL='' |
962 |
|
963 |
ac_default_prefix=/usr/local/ircd |
964 |
# Factoring default headers for most tests. |
965 |
@@ -615,90 +621,119 @@ |
966 |
# include <unistd.h> |
967 |
#endif" |
968 |
|
969 |
-ac_subst_vars='SHELL |
970 |
-PATH_SEPARATOR |
971 |
-PACKAGE_NAME |
972 |
-PACKAGE_TARNAME |
973 |
-PACKAGE_VERSION |
974 |
-PACKAGE_STRING |
975 |
-PACKAGE_BUGREPORT |
976 |
-exec_prefix |
977 |
-prefix |
978 |
-program_transform_name |
979 |
-bindir |
980 |
-sbindir |
981 |
-libexecdir |
982 |
-datarootdir |
983 |
-datadir |
984 |
-sysconfdir |
985 |
-sharedstatedir |
986 |
-localstatedir |
987 |
-includedir |
988 |
-oldincludedir |
989 |
-docdir |
990 |
-infodir |
991 |
-htmldir |
992 |
-dvidir |
993 |
-pdfdir |
994 |
-psdir |
995 |
-libdir |
996 |
-localedir |
997 |
-mandir |
998 |
-DEFS |
999 |
-ECHO_C |
1000 |
-ECHO_N |
1001 |
-ECHO_T |
1002 |
-LIBS |
1003 |
-build_alias |
1004 |
-host_alias |
1005 |
-target_alias |
1006 |
-CC |
1007 |
-CFLAGS |
1008 |
-LDFLAGS |
1009 |
-CPPFLAGS |
1010 |
-ac_ct_CC |
1011 |
-EXEEXT |
1012 |
-OBJEXT |
1013 |
-MKDEP |
1014 |
-MAKEDEPEND |
1015 |
+ac_subst_vars='LTLIBOBJS |
1016 |
+LIBOBJS |
1017 |
+DYNLINK_C |
1018 |
+SEDOBJ |
1019 |
+IRC_CFLAGS |
1020 |
+PICFLAGS |
1021 |
+SSL_LIBS |
1022 |
+SSL_INCLUDES |
1023 |
+SSL_SRCS_ENABLE |
1024 |
+MOD_TARGET |
1025 |
+MODULES_LIBS |
1026 |
+EXAMPLE_CONF |
1027 |
+BALLOC_C |
1028 |
+CLOBBER |
1029 |
+SELECT_TYPE |
1030 |
+ZLIB_LD |
1031 |
+ENCSPEED |
1032 |
+SNPRINTF_C |
1033 |
+CRYPT_LIB |
1034 |
+CRYPT_C |
1035 |
+INET_MISC |
1036 |
+TEST |
1037 |
+LD |
1038 |
+AR |
1039 |
+SED |
1040 |
+LN |
1041 |
+MV |
1042 |
+CP |
1043 |
+RM |
1044 |
+INSTALL_DATA |
1045 |
+INSTALL_SCRIPT |
1046 |
+INSTALL_PROGRAM |
1047 |
+SET_MAKE |
1048 |
STDOUT |
1049 |
-CPP |
1050 |
-GREP |
1051 |
+MAKEDEPEND |
1052 |
+MKDEP |
1053 |
EGREP |
1054 |
-SET_MAKE |
1055 |
-INSTALL_PROGRAM |
1056 |
-INSTALL_SCRIPT |
1057 |
-INSTALL_DATA |
1058 |
-RM |
1059 |
-CP |
1060 |
-MV |
1061 |
-LN |
1062 |
-SED |
1063 |
-AR |
1064 |
-LD |
1065 |
-TEST |
1066 |
-INET_MISC |
1067 |
-CRYPT_C |
1068 |
-CRYPT_LIB |
1069 |
-SNPRINTF_C |
1070 |
-ENCSPEED |
1071 |
-ZLIB_LD |
1072 |
-SELECT_TYPE |
1073 |
-CLOBBER |
1074 |
-BALLOC_C |
1075 |
-EXAMPLE_CONF |
1076 |
-MODULES_LIBS |
1077 |
-MOD_TARGET |
1078 |
-SSL_SRCS_ENABLE |
1079 |
-SSL_INCLUDES |
1080 |
-SSL_LIBS |
1081 |
-PICFLAGS |
1082 |
-IRC_CFLAGS |
1083 |
-SEDOBJ |
1084 |
-DYNLINK_C |
1085 |
-LIBOBJS |
1086 |
-LTLIBOBJS' |
1087 |
+GREP |
1088 |
+CPP |
1089 |
+OBJEXT |
1090 |
+EXEEXT |
1091 |
+ac_ct_CC |
1092 |
+CPPFLAGS |
1093 |
+LDFLAGS |
1094 |
+CFLAGS |
1095 |
+CC |
1096 |
+target_alias |
1097 |
+host_alias |
1098 |
+build_alias |
1099 |
+LIBS |
1100 |
+ECHO_T |
1101 |
+ECHO_N |
1102 |
+ECHO_C |
1103 |
+DEFS |
1104 |
+mandir |
1105 |
+localedir |
1106 |
+libdir |
1107 |
+psdir |
1108 |
+pdfdir |
1109 |
+dvidir |
1110 |
+htmldir |
1111 |
+infodir |
1112 |
+docdir |
1113 |
+oldincludedir |
1114 |
+includedir |
1115 |
+localstatedir |
1116 |
+sharedstatedir |
1117 |
+sysconfdir |
1118 |
+datadir |
1119 |
+datarootdir |
1120 |
+libexecdir |
1121 |
+sbindir |
1122 |
+bindir |
1123 |
+program_transform_name |
1124 |
+prefix |
1125 |
+exec_prefix |
1126 |
+PACKAGE_URL |
1127 |
+PACKAGE_BUGREPORT |
1128 |
+PACKAGE_STRING |
1129 |
+PACKAGE_VERSION |
1130 |
+PACKAGE_TARNAME |
1131 |
+PACKAGE_NAME |
1132 |
+PATH_SEPARATOR |
1133 |
+SHELL' |
1134 |
ac_subst_files='' |
1135 |
+ac_user_opts=' |
1136 |
+enable_option_checking |
1137 |
+enable_openssl |
1138 |
+with_zlib_path |
1139 |
+enable_zlib |
1140 |
+enable_poll |
1141 |
+enable_select |
1142 |
+enable_kqueue |
1143 |
+enable_devpoll |
1144 |
+enable_rtsigio |
1145 |
+enable_epoll |
1146 |
+enable_clobber |
1147 |
+enable_assert |
1148 |
+enable_profile |
1149 |
+enable_efence |
1150 |
+enable_block_alloc |
1151 |
+enable_warnings |
1152 |
+enable_small_net |
1153 |
+enable_efnet |
1154 |
+enable_dalnetru |
1155 |
+enable_gline_voting |
1156 |
+enable_halfops |
1157 |
+enable_syslog |
1158 |
+with_syslog_facility |
1159 |
+with_nicklen |
1160 |
+with_topiclen |
1161 |
+enable_shared_modules |
1162 |
+' |
1163 |
ac_precious_vars='build_alias |
1164 |
host_alias |
1165 |
target_alias |
1166 |
@@ -713,6 +748,8 @@ |
1167 |
# Initialize some variables set by options. |
1168 |
ac_init_help= |
1169 |
ac_init_version=false |
1170 |
+ac_unrecognized_opts= |
1171 |
+ac_unrecognized_sep= |
1172 |
# The variables have the same names as the options, with |
1173 |
# dashes changed to underlines. |
1174 |
cache_file=/dev/null |
1175 |
@@ -768,8 +805,9 @@ |
1176 |
fi |
1177 |
|
1178 |
case $ac_option in |
1179 |
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
1180 |
- *) ac_optarg=yes ;; |
1181 |
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
1182 |
+ *=) ac_optarg= ;; |
1183 |
+ *) ac_optarg=yes ;; |
1184 |
esac |
1185 |
|
1186 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
1187 |
@@ -811,13 +849,20 @@ |
1188 |
datarootdir=$ac_optarg ;; |
1189 |
|
1190 |
-disable-* | --disable-*) |
1191 |
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1192 |
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1193 |
# Reject names that are not valid shell variable names. |
1194 |
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1195 |
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
1196 |
- { (exit 1); exit 1; }; } |
1197 |
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
1198 |
- eval enable_$ac_feature=no ;; |
1199 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1200 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
1201 |
+ ac_useropt_orig=$ac_useropt |
1202 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1203 |
+ case $ac_user_opts in |
1204 |
+ *" |
1205 |
+"enable_$ac_useropt" |
1206 |
+"*) ;; |
1207 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
1208 |
+ ac_unrecognized_sep=', ';; |
1209 |
+ esac |
1210 |
+ eval enable_$ac_useropt=no ;; |
1211 |
|
1212 |
-docdir | --docdir | --docdi | --doc | --do) |
1213 |
ac_prev=docdir ;; |
1214 |
@@ -830,13 +875,20 @@ |
1215 |
dvidir=$ac_optarg ;; |
1216 |
|
1217 |
-enable-* | --enable-*) |
1218 |
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1219 |
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1220 |
# Reject names that are not valid shell variable names. |
1221 |
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1222 |
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
1223 |
- { (exit 1); exit 1; }; } |
1224 |
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
1225 |
- eval enable_$ac_feature=\$ac_optarg ;; |
1226 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1227 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
1228 |
+ ac_useropt_orig=$ac_useropt |
1229 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1230 |
+ case $ac_user_opts in |
1231 |
+ *" |
1232 |
+"enable_$ac_useropt" |
1233 |
+"*) ;; |
1234 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
1235 |
+ ac_unrecognized_sep=', ';; |
1236 |
+ esac |
1237 |
+ eval enable_$ac_useropt=\$ac_optarg ;; |
1238 |
|
1239 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
1240 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
1241 |
@@ -1027,22 +1079,36 @@ |
1242 |
ac_init_version=: ;; |
1243 |
|
1244 |
-with-* | --with-*) |
1245 |
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1246 |
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1247 |
# Reject names that are not valid shell variable names. |
1248 |
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1249 |
- { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1250 |
- { (exit 1); exit 1; }; } |
1251 |
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1252 |
- eval with_$ac_package=\$ac_optarg ;; |
1253 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1254 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
1255 |
+ ac_useropt_orig=$ac_useropt |
1256 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1257 |
+ case $ac_user_opts in |
1258 |
+ *" |
1259 |
+"with_$ac_useropt" |
1260 |
+"*) ;; |
1261 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1262 |
+ ac_unrecognized_sep=', ';; |
1263 |
+ esac |
1264 |
+ eval with_$ac_useropt=\$ac_optarg ;; |
1265 |
|
1266 |
-without-* | --without-*) |
1267 |
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1268 |
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1269 |
# Reject names that are not valid shell variable names. |
1270 |
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1271 |
- { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1272 |
- { (exit 1); exit 1; }; } |
1273 |
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1274 |
- eval with_$ac_package=no ;; |
1275 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1276 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
1277 |
+ ac_useropt_orig=$ac_useropt |
1278 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1279 |
+ case $ac_user_opts in |
1280 |
+ *" |
1281 |
+"with_$ac_useropt" |
1282 |
+"*) ;; |
1283 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1284 |
+ ac_unrecognized_sep=', ';; |
1285 |
+ esac |
1286 |
+ eval with_$ac_useropt=no ;; |
1287 |
|
1288 |
--x) |
1289 |
# Obsolete; use --with-x. |
1290 |
@@ -1062,26 +1128,26 @@ |
1291 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1292 |
x_libraries=$ac_optarg ;; |
1293 |
|
1294 |
- -*) { echo "$as_me: error: unrecognized option: $ac_option |
1295 |
-Try \`$0 --help' for more information." >&2 |
1296 |
- { (exit 1); exit 1; }; } |
1297 |
+ -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1298 |
+Try \`$0 --help' for more information" |
1299 |
;; |
1300 |
|
1301 |
*=*) |
1302 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1303 |
# Reject names that are not valid shell variable names. |
1304 |
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1305 |
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1306 |
- { (exit 1); exit 1; }; } |
1307 |
+ case $ac_envvar in #( |
1308 |
+ '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1309 |
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1310 |
+ esac |
1311 |
eval $ac_envvar=\$ac_optarg |
1312 |
export $ac_envvar ;; |
1313 |
|
1314 |
*) |
1315 |
# FIXME: should be removed in autoconf 3.0. |
1316 |
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1317 |
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1318 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1319 |
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1320 |
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1321 |
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1322 |
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1323 |
;; |
1324 |
|
1325 |
esac |
1326 |
@@ -1089,23 +1155,36 @@ |
1327 |
|
1328 |
if test -n "$ac_prev"; then |
1329 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1330 |
- { echo "$as_me: error: missing argument to $ac_option" >&2 |
1331 |
- { (exit 1); exit 1; }; } |
1332 |
+ as_fn_error $? "missing argument to $ac_option" |
1333 |
+fi |
1334 |
+ |
1335 |
+if test -n "$ac_unrecognized_opts"; then |
1336 |
+ case $enable_option_checking in |
1337 |
+ no) ;; |
1338 |
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1339 |
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1340 |
+ esac |
1341 |
fi |
1342 |
|
1343 |
-# Be sure to have absolute directory names. |
1344 |
+# Check all directory arguments for consistency. |
1345 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1346 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
1347 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1348 |
libdir localedir mandir |
1349 |
do |
1350 |
eval ac_val=\$$ac_var |
1351 |
+ # Remove trailing slashes. |
1352 |
+ case $ac_val in |
1353 |
+ */ ) |
1354 |
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1355 |
+ eval $ac_var=\$ac_val;; |
1356 |
+ esac |
1357 |
+ # Be sure to have absolute directory names. |
1358 |
case $ac_val in |
1359 |
[\\/$]* | ?:[\\/]* ) continue;; |
1360 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1361 |
esac |
1362 |
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1363 |
- { (exit 1); exit 1; }; } |
1364 |
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1365 |
done |
1366 |
|
1367 |
# There might be people who depend on the old broken behavior: `$host' |
1368 |
@@ -1119,8 +1198,6 @@ |
1369 |
if test "x$host_alias" != x; then |
1370 |
if test "x$build_alias" = x; then |
1371 |
cross_compiling=maybe |
1372 |
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1373 |
- If a cross compiler is detected then cross compile mode will be used." >&2 |
1374 |
elif test "x$build_alias" != "x$host_alias"; then |
1375 |
cross_compiling=yes |
1376 |
fi |
1377 |
@@ -1135,23 +1212,21 @@ |
1378 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1379 |
ac_ls_di=`ls -di .` && |
1380 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1381 |
- { echo "$as_me: error: Working directory cannot be determined" >&2 |
1382 |
- { (exit 1); exit 1; }; } |
1383 |
+ as_fn_error $? "working directory cannot be determined" |
1384 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1385 |
- { echo "$as_me: error: pwd does not report name of working directory" >&2 |
1386 |
- { (exit 1); exit 1; }; } |
1387 |
+ as_fn_error $? "pwd does not report name of working directory" |
1388 |
|
1389 |
|
1390 |
# Find the source files, if location was not specified. |
1391 |
if test -z "$srcdir"; then |
1392 |
ac_srcdir_defaulted=yes |
1393 |
# Try the directory containing this script, then the parent directory. |
1394 |
- ac_confdir=`$as_dirname -- "$0" || |
1395 |
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1396 |
- X"$0" : 'X\(//\)[^/]' \| \ |
1397 |
- X"$0" : 'X\(//\)$' \| \ |
1398 |
- X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1399 |
-echo X"$0" | |
1400 |
+ ac_confdir=`$as_dirname -- "$as_myself" || |
1401 |
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1402 |
+ X"$as_myself" : 'X\(//\)[^/]' \| \ |
1403 |
+ X"$as_myself" : 'X\(//\)$' \| \ |
1404 |
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1405 |
+$as_echo X"$as_myself" | |
1406 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1407 |
s//\1/ |
1408 |
q |
1409 |
@@ -1178,13 +1253,11 @@ |
1410 |
fi |
1411 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1412 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1413 |
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1414 |
- { (exit 1); exit 1; }; } |
1415 |
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1416 |
fi |
1417 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1418 |
ac_abs_confdir=`( |
1419 |
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1420 |
- { (exit 1); exit 1; }; } |
1421 |
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1422 |
pwd)` |
1423 |
# When building in place, set srcdir=. |
1424 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1425 |
@@ -1210,7 +1283,7 @@ |
1426 |
# Omit some internal or obsolete options to make the list less imposing. |
1427 |
# This message is too long to be a string in the A/UX 3.1 sh. |
1428 |
cat <<_ACEOF |
1429 |
-\`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems. |
1430 |
+\`configure' configures ircd-hybrid 7.2.2 to adapt to many kinds of systems. |
1431 |
|
1432 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1433 |
|
1434 |
@@ -1224,7 +1297,7 @@ |
1435 |
--help=short display options specific to this package |
1436 |
--help=recursive display the short help of all the included packages |
1437 |
-V, --version display version information and exit |
1438 |
- -q, --quiet, --silent do not print \`checking...' messages |
1439 |
+ -q, --quiet, --silent do not print \`checking ...' messages |
1440 |
--cache-file=FILE cache test results in FILE [disabled] |
1441 |
-C, --config-cache alias for \`--cache-file=config.cache' |
1442 |
-n, --no-create do not create output files |
1443 |
@@ -1232,9 +1305,9 @@ |
1444 |
|
1445 |
Installation directories: |
1446 |
--prefix=PREFIX install architecture-independent files in PREFIX |
1447 |
- [$ac_default_prefix] |
1448 |
+ [$ac_default_prefix] |
1449 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1450 |
- [PREFIX] |
1451 |
+ [PREFIX] |
1452 |
|
1453 |
By default, \`make install' will install all the files in |
1454 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1455 |
@@ -1244,25 +1317,25 @@ |
1456 |
For better control, use the options below. |
1457 |
|
1458 |
Fine tuning of the installation directories: |
1459 |
- --bindir=DIR user executables [EPREFIX/bin] |
1460 |
- --sbindir=DIR system admin executables [EPREFIX/sbin] |
1461 |
- --libexecdir=DIR program executables [EPREFIX/libexec] |
1462 |
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1463 |
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1464 |
- --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1465 |
- --libdir=DIR object code libraries [EPREFIX/lib] |
1466 |
- --includedir=DIR C header files [PREFIX/include] |
1467 |
- --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1468 |
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1469 |
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1470 |
- --infodir=DIR info documentation [DATAROOTDIR/info] |
1471 |
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1472 |
- --mandir=DIR man documentation [DATAROOTDIR/man] |
1473 |
- --docdir=DIR documentation root [DATAROOTDIR/doc/ircd-hybrid] |
1474 |
- --htmldir=DIR html documentation [DOCDIR] |
1475 |
- --dvidir=DIR dvi documentation [DOCDIR] |
1476 |
- --pdfdir=DIR pdf documentation [DOCDIR] |
1477 |
- --psdir=DIR ps documentation [DOCDIR] |
1478 |
+ --bindir=DIR user executables [EPREFIX/bin] |
1479 |
+ --sbindir=DIR system admin executables [EPREFIX/sbin] |
1480 |
+ --libexecdir=DIR program executables [EPREFIX/libexec] |
1481 |
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1482 |
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1483 |
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1484 |
+ --libdir=DIR object code libraries [EPREFIX/lib] |
1485 |
+ --includedir=DIR C header files [PREFIX/include] |
1486 |
+ --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1487 |
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1488 |
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1489 |
+ --infodir=DIR info documentation [DATAROOTDIR/info] |
1490 |
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1491 |
+ --mandir=DIR man documentation [DATAROOTDIR/man] |
1492 |
+ --docdir=DIR documentation root [DATAROOTDIR/doc/ircd-hybrid] |
1493 |
+ --htmldir=DIR html documentation [DOCDIR] |
1494 |
+ --dvidir=DIR dvi documentation [DOCDIR] |
1495 |
+ --pdfdir=DIR pdf documentation [DOCDIR] |
1496 |
+ --psdir=DIR ps documentation [DOCDIR] |
1497 |
_ACEOF |
1498 |
|
1499 |
cat <<\_ACEOF |
1500 |
@@ -1271,11 +1344,12 @@ |
1501 |
|
1502 |
if test -n "$ac_init_help"; then |
1503 |
case $ac_init_help in |
1504 |
- short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";; |
1505 |
+ short | recursive ) echo "Configuration of ircd-hybrid 7.2.2:";; |
1506 |
esac |
1507 |
cat <<\_ACEOF |
1508 |
|
1509 |
Optional Features: |
1510 |
+ --disable-option-checking ignore unrecognized --enable/--with options |
1511 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1512 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1513 |
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
1514 |
@@ -1323,13 +1397,14 @@ |
1515 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1516 |
nonstandard directory <lib dir> |
1517 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1518 |
- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1519 |
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1520 |
you have headers in a nonstandard directory <include dir> |
1521 |
CPP C preprocessor |
1522 |
|
1523 |
Use these variables to override the choices made by `configure' or to help |
1524 |
it to find libraries and programs with nonstandard names/locations. |
1525 |
|
1526 |
+Report bugs to the package provider. |
1527 |
_ACEOF |
1528 |
ac_status=$? |
1529 |
fi |
1530 |
@@ -1337,15 +1412,17 @@ |
1531 |
if test "$ac_init_help" = "recursive"; then |
1532 |
# If there are subdirs, report their specific --help. |
1533 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1534 |
- test -d "$ac_dir" || continue |
1535 |
+ test -d "$ac_dir" || |
1536 |
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1537 |
+ continue |
1538 |
ac_builddir=. |
1539 |
|
1540 |
case "$ac_dir" in |
1541 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1542 |
*) |
1543 |
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1544 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1545 |
# A ".." for each directory in $ac_dir_suffix. |
1546 |
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1547 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1548 |
case $ac_top_builddir_sub in |
1549 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1550 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1551 |
@@ -1381,7 +1458,7 @@ |
1552 |
echo && |
1553 |
$SHELL "$ac_srcdir/configure" --help=recursive |
1554 |
else |
1555 |
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1556 |
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1557 |
fi || ac_status=$? |
1558 |
cd "$ac_pwd" || { ac_status=$?; break; } |
1559 |
done |
1560 |
@@ -1390,11 +1467,10 @@ |
1561 |
test -n "$ac_init_help" && exit $ac_status |
1562 |
if $ac_init_version; then |
1563 |
cat <<\_ACEOF |
1564 |
-ircd-hybrid configure 7.2.4 |
1565 |
-generated by GNU Autoconf 2.61 |
1566 |
+ircd-hybrid configure 7.2.2 |
1567 |
+generated by GNU Autoconf 2.69 |
1568 |
|
1569 |
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1570 |
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
1571 |
+Copyright (C) 2012 Free Software Foundation, Inc. |
1572 |
This configure script is free software; the Free Software Foundation |
1573 |
gives unlimited permission to copy, distribute and modify it. |
1574 |
|
1575 |
@@ -1402,6110 +1478,4225 @@ |
1576 |
_ACEOF |
1577 |
exit |
1578 |
fi |
1579 |
-cat >config.log <<_ACEOF |
1580 |
-This file contains any messages produced by compilers while |
1581 |
-running configure, to aid debugging if configure makes a mistake. |
1582 |
- |
1583 |
-It was created by ircd-hybrid $as_me 7.2.4, which was |
1584 |
-generated by GNU Autoconf 2.61. Invocation command line was |
1585 |
- |
1586 |
- $ $0 $@ |
1587 |
|
1588 |
-_ACEOF |
1589 |
-exec 5>>config.log |
1590 |
+## ------------------------ ## |
1591 |
+## Autoconf initialization. ## |
1592 |
+## ------------------------ ## |
1593 |
+ |
1594 |
+# ac_fn_c_try_compile LINENO |
1595 |
+# -------------------------- |
1596 |
+# Try to compile conftest.$ac_ext, and return whether this succeeded. |
1597 |
+ac_fn_c_try_compile () |
1598 |
{ |
1599 |
-cat <<_ASUNAME |
1600 |
-## --------- ## |
1601 |
-## Platform. ## |
1602 |
-## --------- ## |
1603 |
- |
1604 |
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1605 |
-uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1606 |
-uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1607 |
-uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1608 |
-uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1609 |
- |
1610 |
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1611 |
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1612 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1613 |
+ rm -f conftest.$ac_objext |
1614 |
+ if { { ac_try="$ac_compile" |
1615 |
+case "(($ac_try" in |
1616 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1617 |
+ *) ac_try_echo=$ac_try;; |
1618 |
+esac |
1619 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1620 |
+$as_echo "$ac_try_echo"; } >&5 |
1621 |
+ (eval "$ac_compile") 2>conftest.err |
1622 |
+ ac_status=$? |
1623 |
+ if test -s conftest.err; then |
1624 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
1625 |
+ cat conftest.er1 >&5 |
1626 |
+ mv -f conftest.er1 conftest.err |
1627 |
+ fi |
1628 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1629 |
+ test $ac_status = 0; } && { |
1630 |
+ test -z "$ac_c_werror_flag" || |
1631 |
+ test ! -s conftest.err |
1632 |
+ } && test -s conftest.$ac_objext; then : |
1633 |
+ ac_retval=0 |
1634 |
+else |
1635 |
+ $as_echo "$as_me: failed program was:" >&5 |
1636 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1637 |
|
1638 |
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1639 |
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1640 |
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1641 |
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1642 |
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1643 |
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1644 |
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1645 |
+ ac_retval=1 |
1646 |
+fi |
1647 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1648 |
+ as_fn_set_status $ac_retval |
1649 |
|
1650 |
-_ASUNAME |
1651 |
+} # ac_fn_c_try_compile |
1652 |
|
1653 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1654 |
-for as_dir in $PATH |
1655 |
-do |
1656 |
- IFS=$as_save_IFS |
1657 |
- test -z "$as_dir" && as_dir=. |
1658 |
- echo "PATH: $as_dir" |
1659 |
-done |
1660 |
-IFS=$as_save_IFS |
1661 |
+# ac_fn_c_try_cpp LINENO |
1662 |
+# ---------------------- |
1663 |
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1664 |
+ac_fn_c_try_cpp () |
1665 |
+{ |
1666 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1667 |
+ if { { ac_try="$ac_cpp conftest.$ac_ext" |
1668 |
+case "(($ac_try" in |
1669 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1670 |
+ *) ac_try_echo=$ac_try;; |
1671 |
+esac |
1672 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1673 |
+$as_echo "$ac_try_echo"; } >&5 |
1674 |
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1675 |
+ ac_status=$? |
1676 |
+ if test -s conftest.err; then |
1677 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
1678 |
+ cat conftest.er1 >&5 |
1679 |
+ mv -f conftest.er1 conftest.err |
1680 |
+ fi |
1681 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1682 |
+ test $ac_status = 0; } > conftest.i && { |
1683 |
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1684 |
+ test ! -s conftest.err |
1685 |
+ }; then : |
1686 |
+ ac_retval=0 |
1687 |
+else |
1688 |
+ $as_echo "$as_me: failed program was:" >&5 |
1689 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1690 |
|
1691 |
-} >&5 |
1692 |
+ ac_retval=1 |
1693 |
+fi |
1694 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1695 |
+ as_fn_set_status $ac_retval |
1696 |
|
1697 |
-cat >&5 <<_ACEOF |
1698 |
- |
1699 |
- |
1700 |
-## ----------- ## |
1701 |
-## Core tests. ## |
1702 |
-## ----------- ## |
1703 |
+} # ac_fn_c_try_cpp |
1704 |
|
1705 |
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1706 |
+# ------------------------------------------------------- |
1707 |
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1708 |
+# the include files in INCLUDES and setting the cache variable VAR |
1709 |
+# accordingly. |
1710 |
+ac_fn_c_check_header_mongrel () |
1711 |
+{ |
1712 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1713 |
+ if eval \${$3+:} false; then : |
1714 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1715 |
+$as_echo_n "checking for $2... " >&6; } |
1716 |
+if eval \${$3+:} false; then : |
1717 |
+ $as_echo_n "(cached) " >&6 |
1718 |
+fi |
1719 |
+eval ac_res=\$$3 |
1720 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1721 |
+$as_echo "$ac_res" >&6; } |
1722 |
+else |
1723 |
+ # Is the header compilable? |
1724 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
1725 |
+$as_echo_n "checking $2 usability... " >&6; } |
1726 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1727 |
+/* end confdefs.h. */ |
1728 |
+$4 |
1729 |
+#include <$2> |
1730 |
_ACEOF |
1731 |
+if ac_fn_c_try_compile "$LINENO"; then : |
1732 |
+ ac_header_compiler=yes |
1733 |
+else |
1734 |
+ ac_header_compiler=no |
1735 |
+fi |
1736 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1737 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
1738 |
+$as_echo "$ac_header_compiler" >&6; } |
1739 |
|
1740 |
+# Is the header present? |
1741 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
1742 |
+$as_echo_n "checking $2 presence... " >&6; } |
1743 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1744 |
+/* end confdefs.h. */ |
1745 |
+#include <$2> |
1746 |
+_ACEOF |
1747 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
1748 |
+ ac_header_preproc=yes |
1749 |
+else |
1750 |
+ ac_header_preproc=no |
1751 |
+fi |
1752 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
1753 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1754 |
+$as_echo "$ac_header_preproc" >&6; } |
1755 |
|
1756 |
-# Keep a trace of the command line. |
1757 |
-# Strip out --no-create and --no-recursion so they do not pile up. |
1758 |
-# Strip out --silent because we don't want to record it for future runs. |
1759 |
-# Also quote any args containing shell meta-characters. |
1760 |
-# Make two passes to allow for proper duplicate-argument suppression. |
1761 |
-ac_configure_args= |
1762 |
-ac_configure_args0= |
1763 |
-ac_configure_args1= |
1764 |
-ac_must_keep_next=false |
1765 |
-for ac_pass in 1 2 |
1766 |
-do |
1767 |
- for ac_arg |
1768 |
- do |
1769 |
- case $ac_arg in |
1770 |
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1771 |
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1772 |
- | -silent | --silent | --silen | --sile | --sil) |
1773 |
- continue ;; |
1774 |
- *\'*) |
1775 |
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1776 |
- esac |
1777 |
- case $ac_pass in |
1778 |
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1779 |
- 2) |
1780 |
- ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1781 |
- if test $ac_must_keep_next = true; then |
1782 |
- ac_must_keep_next=false # Got value, back to normal. |
1783 |
- else |
1784 |
- case $ac_arg in |
1785 |
- *=* | --config-cache | -C | -disable-* | --disable-* \ |
1786 |
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1787 |
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1788 |
- | -with-* | --with-* | -without-* | --without-* | --x) |
1789 |
- case "$ac_configure_args0 " in |
1790 |
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1791 |
- esac |
1792 |
- ;; |
1793 |
- -* ) ac_must_keep_next=true ;; |
1794 |
- esac |
1795 |
- fi |
1796 |
- ac_configure_args="$ac_configure_args '$ac_arg'" |
1797 |
- ;; |
1798 |
- esac |
1799 |
- done |
1800 |
-done |
1801 |
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1802 |
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1803 |
+# So? What about this header? |
1804 |
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1805 |
+ yes:no: ) |
1806 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
1807 |
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
1808 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1809 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1810 |
+ ;; |
1811 |
+ no:yes:* ) |
1812 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
1813 |
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
1814 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
1815 |
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
1816 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
1817 |
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1818 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1819 |
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1820 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1821 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1822 |
+ ;; |
1823 |
+esac |
1824 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1825 |
+$as_echo_n "checking for $2... " >&6; } |
1826 |
+if eval \${$3+:} false; then : |
1827 |
+ $as_echo_n "(cached) " >&6 |
1828 |
+else |
1829 |
+ eval "$3=\$ac_header_compiler" |
1830 |
+fi |
1831 |
+eval ac_res=\$$3 |
1832 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1833 |
+$as_echo "$ac_res" >&6; } |
1834 |
+fi |
1835 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1836 |
|
1837 |
-# When interrupted or exit'd, cleanup temporary files, and complete |
1838 |
-# config.log. We remove comments because anyway the quotes in there |
1839 |
-# would cause problems or look ugly. |
1840 |
-# WARNING: Use '\'' to represent an apostrophe within the trap. |
1841 |
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1842 |
-trap 'exit_status=$? |
1843 |
- # Save into config.log some information that might help in debugging. |
1844 |
- { |
1845 |
- echo |
1846 |
+} # ac_fn_c_check_header_mongrel |
1847 |
|
1848 |
- cat <<\_ASBOX |
1849 |
-## ---------------- ## |
1850 |
-## Cache variables. ## |
1851 |
-## ---------------- ## |
1852 |
-_ASBOX |
1853 |
- echo |
1854 |
- # The following way of writing the cache mishandles newlines in values, |
1855 |
-( |
1856 |
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1857 |
- eval ac_val=\$$ac_var |
1858 |
- case $ac_val in #( |
1859 |
- *${as_nl}*) |
1860 |
- case $ac_var in #( |
1861 |
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
1862 |
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
1863 |
- esac |
1864 |
- case $ac_var in #( |
1865 |
- _ | IFS | as_nl) ;; #( |
1866 |
- *) $as_unset $ac_var ;; |
1867 |
- esac ;; |
1868 |
- esac |
1869 |
- done |
1870 |
- (set) 2>&1 | |
1871 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1872 |
- *${as_nl}ac_space=\ *) |
1873 |
- sed -n \ |
1874 |
- "s/'\''/'\''\\\\'\'''\''/g; |
1875 |
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1876 |
- ;; #( |
1877 |
- *) |
1878 |
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1879 |
- ;; |
1880 |
- esac | |
1881 |
- sort |
1882 |
-) |
1883 |
- echo |
1884 |
+# ac_fn_c_try_run LINENO |
1885 |
+# ---------------------- |
1886 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1887 |
+# that executables *can* be run. |
1888 |
+ac_fn_c_try_run () |
1889 |
+{ |
1890 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1891 |
+ if { { ac_try="$ac_link" |
1892 |
+case "(($ac_try" in |
1893 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1894 |
+ *) ac_try_echo=$ac_try;; |
1895 |
+esac |
1896 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1897 |
+$as_echo "$ac_try_echo"; } >&5 |
1898 |
+ (eval "$ac_link") 2>&5 |
1899 |
+ ac_status=$? |
1900 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1901 |
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1902 |
+ { { case "(($ac_try" in |
1903 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1904 |
+ *) ac_try_echo=$ac_try;; |
1905 |
+esac |
1906 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1907 |
+$as_echo "$ac_try_echo"; } >&5 |
1908 |
+ (eval "$ac_try") 2>&5 |
1909 |
+ ac_status=$? |
1910 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1911 |
+ test $ac_status = 0; }; }; then : |
1912 |
+ ac_retval=0 |
1913 |
+else |
1914 |
+ $as_echo "$as_me: program exited with status $ac_status" >&5 |
1915 |
+ $as_echo "$as_me: failed program was:" >&5 |
1916 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1917 |
|
1918 |
- cat <<\_ASBOX |
1919 |
-## ----------------- ## |
1920 |
-## Output variables. ## |
1921 |
-## ----------------- ## |
1922 |
-_ASBOX |
1923 |
- echo |
1924 |
- for ac_var in $ac_subst_vars |
1925 |
- do |
1926 |
- eval ac_val=\$$ac_var |
1927 |
- case $ac_val in |
1928 |
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1929 |
- esac |
1930 |
- echo "$ac_var='\''$ac_val'\''" |
1931 |
- done | sort |
1932 |
- echo |
1933 |
+ ac_retval=$ac_status |
1934 |
+fi |
1935 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1936 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1937 |
+ as_fn_set_status $ac_retval |
1938 |
|
1939 |
- if test -n "$ac_subst_files"; then |
1940 |
- cat <<\_ASBOX |
1941 |
-## ------------------- ## |
1942 |
-## File substitutions. ## |
1943 |
-## ------------------- ## |
1944 |
-_ASBOX |
1945 |
- echo |
1946 |
- for ac_var in $ac_subst_files |
1947 |
- do |
1948 |
- eval ac_val=\$$ac_var |
1949 |
- case $ac_val in |
1950 |
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1951 |
- esac |
1952 |
- echo "$ac_var='\''$ac_val'\''" |
1953 |
- done | sort |
1954 |
- echo |
1955 |
- fi |
1956 |
+} # ac_fn_c_try_run |
1957 |
|
1958 |
- if test -s confdefs.h; then |
1959 |
- cat <<\_ASBOX |
1960 |
-## ----------- ## |
1961 |
-## confdefs.h. ## |
1962 |
-## ----------- ## |
1963 |
-_ASBOX |
1964 |
- echo |
1965 |
- cat confdefs.h |
1966 |
- echo |
1967 |
- fi |
1968 |
- test "$ac_signal" != 0 && |
1969 |
- echo "$as_me: caught signal $ac_signal" |
1970 |
- echo "$as_me: exit $exit_status" |
1971 |
- } >&5 |
1972 |
- rm -f core *.core core.conftest.* && |
1973 |
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1974 |
- exit $exit_status |
1975 |
-' 0 |
1976 |
-for ac_signal in 1 2 13 15; do |
1977 |
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1978 |
-done |
1979 |
-ac_signal=0 |
1980 |
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1981 |
+# ------------------------------------------------------- |
1982 |
+# Tests whether HEADER exists and can be compiled using the include files in |
1983 |
+# INCLUDES, setting the cache variable VAR accordingly. |
1984 |
+ac_fn_c_check_header_compile () |
1985 |
+{ |
1986 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1987 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1988 |
+$as_echo_n "checking for $2... " >&6; } |
1989 |
+if eval \${$3+:} false; then : |
1990 |
+ $as_echo_n "(cached) " >&6 |
1991 |
+else |
1992 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1993 |
+/* end confdefs.h. */ |
1994 |
+$4 |
1995 |
+#include <$2> |
1996 |
+_ACEOF |
1997 |
+if ac_fn_c_try_compile "$LINENO"; then : |
1998 |
+ eval "$3=yes" |
1999 |
+else |
2000 |
+ eval "$3=no" |
2001 |
+fi |
2002 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2003 |
+fi |
2004 |
+eval ac_res=\$$3 |
2005 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2006 |
+$as_echo "$ac_res" >&6; } |
2007 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2008 |
|
2009 |
-# confdefs.h avoids OS command line length limits that DEFS can exceed. |
2010 |
-rm -f -r conftest* confdefs.h |
2011 |
+} # ac_fn_c_check_header_compile |
2012 |
|
2013 |
-# Predefined preprocessor variables. |
2014 |
+# ac_fn_c_try_link LINENO |
2015 |
+# ----------------------- |
2016 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. |
2017 |
+ac_fn_c_try_link () |
2018 |
+{ |
2019 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2020 |
+ rm -f conftest.$ac_objext conftest$ac_exeext |
2021 |
+ if { { ac_try="$ac_link" |
2022 |
+case "(($ac_try" in |
2023 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2024 |
+ *) ac_try_echo=$ac_try;; |
2025 |
+esac |
2026 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2027 |
+$as_echo "$ac_try_echo"; } >&5 |
2028 |
+ (eval "$ac_link") 2>conftest.err |
2029 |
+ ac_status=$? |
2030 |
+ if test -s conftest.err; then |
2031 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
2032 |
+ cat conftest.er1 >&5 |
2033 |
+ mv -f conftest.er1 conftest.err |
2034 |
+ fi |
2035 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2036 |
+ test $ac_status = 0; } && { |
2037 |
+ test -z "$ac_c_werror_flag" || |
2038 |
+ test ! -s conftest.err |
2039 |
+ } && test -s conftest$ac_exeext && { |
2040 |
+ test "$cross_compiling" = yes || |
2041 |
+ test -x conftest$ac_exeext |
2042 |
+ }; then : |
2043 |
+ ac_retval=0 |
2044 |
+else |
2045 |
+ $as_echo "$as_me: failed program was:" >&5 |
2046 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
2047 |
|
2048 |
-cat >>confdefs.h <<_ACEOF |
2049 |
-#define PACKAGE_NAME "$PACKAGE_NAME" |
2050 |
-_ACEOF |
2051 |
+ ac_retval=1 |
2052 |
+fi |
2053 |
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2054 |
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2055 |
+ # interfere with the next link command; also delete a directory that is |
2056 |
+ # left behind by Apple's compiler. We do this before executing the actions. |
2057 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2058 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2059 |
+ as_fn_set_status $ac_retval |
2060 |
|
2061 |
+} # ac_fn_c_try_link |
2062 |
|
2063 |
-cat >>confdefs.h <<_ACEOF |
2064 |
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2065 |
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
2066 |
+# ------------------------------------------- |
2067 |
+# Tests whether TYPE exists after having included INCLUDES, setting cache |
2068 |
+# variable VAR accordingly. |
2069 |
+ac_fn_c_check_type () |
2070 |
+{ |
2071 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2072 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2073 |
+$as_echo_n "checking for $2... " >&6; } |
2074 |
+if eval \${$3+:} false; then : |
2075 |
+ $as_echo_n "(cached) " >&6 |
2076 |
+else |
2077 |
+ eval "$3=no" |
2078 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2079 |
+/* end confdefs.h. */ |
2080 |
+$4 |
2081 |
+int |
2082 |
+main () |
2083 |
+{ |
2084 |
+if (sizeof ($2)) |
2085 |
+ return 0; |
2086 |
+ ; |
2087 |
+ return 0; |
2088 |
+} |
2089 |
_ACEOF |
2090 |
- |
2091 |
- |
2092 |
-cat >>confdefs.h <<_ACEOF |
2093 |
-#define PACKAGE_VERSION "$PACKAGE_VERSION" |
2094 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2095 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2096 |
+/* end confdefs.h. */ |
2097 |
+$4 |
2098 |
+int |
2099 |
+main () |
2100 |
+{ |
2101 |
+if (sizeof (($2))) |
2102 |
+ return 0; |
2103 |
+ ; |
2104 |
+ return 0; |
2105 |
+} |
2106 |
_ACEOF |
2107 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2108 |
|
2109 |
+else |
2110 |
+ eval "$3=yes" |
2111 |
+fi |
2112 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2113 |
+fi |
2114 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2115 |
+fi |
2116 |
+eval ac_res=\$$3 |
2117 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2118 |
+$as_echo "$ac_res" >&6; } |
2119 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2120 |
|
2121 |
-cat >>confdefs.h <<_ACEOF |
2122 |
-#define PACKAGE_STRING "$PACKAGE_STRING" |
2123 |
-_ACEOF |
2124 |
- |
2125 |
+} # ac_fn_c_check_type |
2126 |
|
2127 |
-cat >>confdefs.h <<_ACEOF |
2128 |
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2129 |
+# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
2130 |
+# ---------------------------------------------------- |
2131 |
+# Tries to find if the field MEMBER exists in type AGGR, after including |
2132 |
+# INCLUDES, setting cache variable VAR accordingly. |
2133 |
+ac_fn_c_check_member () |
2134 |
+{ |
2135 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2136 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
2137 |
+$as_echo_n "checking for $2.$3... " >&6; } |
2138 |
+if eval \${$4+:} false; then : |
2139 |
+ $as_echo_n "(cached) " >&6 |
2140 |
+else |
2141 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2142 |
+/* end confdefs.h. */ |
2143 |
+$5 |
2144 |
+int |
2145 |
+main () |
2146 |
+{ |
2147 |
+static $2 ac_aggr; |
2148 |
+if (ac_aggr.$3) |
2149 |
+return 0; |
2150 |
+ ; |
2151 |
+ return 0; |
2152 |
+} |
2153 |
+_ACEOF |
2154 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2155 |
+ eval "$4=yes" |
2156 |
+else |
2157 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2158 |
+/* end confdefs.h. */ |
2159 |
+$5 |
2160 |
+int |
2161 |
+main () |
2162 |
+{ |
2163 |
+static $2 ac_aggr; |
2164 |
+if (sizeof ac_aggr.$3) |
2165 |
+return 0; |
2166 |
+ ; |
2167 |
+ return 0; |
2168 |
+} |
2169 |
_ACEOF |
2170 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2171 |
+ eval "$4=yes" |
2172 |
+else |
2173 |
+ eval "$4=no" |
2174 |
+fi |
2175 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2176 |
+fi |
2177 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2178 |
+fi |
2179 |
+eval ac_res=\$$4 |
2180 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2181 |
+$as_echo "$ac_res" >&6; } |
2182 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2183 |
|
2184 |
+} # ac_fn_c_check_member |
2185 |
|
2186 |
-# Let the site file select an alternate cache file if it wants to. |
2187 |
-# Prefer explicitly selected file to automatically selected ones. |
2188 |
-if test -n "$CONFIG_SITE"; then |
2189 |
- set x "$CONFIG_SITE" |
2190 |
-elif test "x$prefix" != xNONE; then |
2191 |
- set x "$prefix/share/config.site" "$prefix/etc/config.site" |
2192 |
+# ac_fn_c_check_func LINENO FUNC VAR |
2193 |
+# ---------------------------------- |
2194 |
+# Tests whether FUNC exists, setting the cache variable VAR accordingly |
2195 |
+ac_fn_c_check_func () |
2196 |
+{ |
2197 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2198 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2199 |
+$as_echo_n "checking for $2... " >&6; } |
2200 |
+if eval \${$3+:} false; then : |
2201 |
+ $as_echo_n "(cached) " >&6 |
2202 |
else |
2203 |
- set x "$ac_default_prefix/share/config.site" \ |
2204 |
- "$ac_default_prefix/etc/config.site" |
2205 |
-fi |
2206 |
-shift |
2207 |
-for ac_site_file |
2208 |
-do |
2209 |
- if test -r "$ac_site_file"; then |
2210 |
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2211 |
-echo "$as_me: loading site script $ac_site_file" >&6;} |
2212 |
- sed 's/^/| /' "$ac_site_file" >&5 |
2213 |
- . "$ac_site_file" |
2214 |
- fi |
2215 |
-done |
2216 |
- |
2217 |
-if test -r "$cache_file"; then |
2218 |
- # Some versions of bash will fail to source /dev/null (special |
2219 |
- # files actually), so we avoid doing that. |
2220 |
- if test -f "$cache_file"; then |
2221 |
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2222 |
-echo "$as_me: loading cache $cache_file" >&6;} |
2223 |
- case $cache_file in |
2224 |
- [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2225 |
- *) . "./$cache_file";; |
2226 |
- esac |
2227 |
- fi |
2228 |
-else |
2229 |
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2230 |
-echo "$as_me: creating cache $cache_file" >&6;} |
2231 |
- >$cache_file |
2232 |
-fi |
2233 |
- |
2234 |
-# Check that the precious variables saved in the cache have kept the same |
2235 |
-# value. |
2236 |
-ac_cache_corrupted=false |
2237 |
-for ac_var in $ac_precious_vars; do |
2238 |
- eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2239 |
- eval ac_new_set=\$ac_env_${ac_var}_set |
2240 |
- eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2241 |
- eval ac_new_val=\$ac_env_${ac_var}_value |
2242 |
- case $ac_old_set,$ac_new_set in |
2243 |
- set,) |
2244 |
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2245 |
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2246 |
- ac_cache_corrupted=: ;; |
2247 |
- ,set) |
2248 |
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2249 |
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2250 |
- ac_cache_corrupted=: ;; |
2251 |
- ,);; |
2252 |
- *) |
2253 |
- if test "x$ac_old_val" != "x$ac_new_val"; then |
2254 |
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
2255 |
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2256 |
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
2257 |
-echo "$as_me: former value: $ac_old_val" >&2;} |
2258 |
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
2259 |
-echo "$as_me: current value: $ac_new_val" >&2;} |
2260 |
- ac_cache_corrupted=: |
2261 |
- fi;; |
2262 |
- esac |
2263 |
- # Pass precious variables to config.status. |
2264 |
- if test "$ac_new_set" = set; then |
2265 |
- case $ac_new_val in |
2266 |
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2267 |
- *) ac_arg=$ac_var=$ac_new_val ;; |
2268 |
- esac |
2269 |
- case " $ac_configure_args " in |
2270 |
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2271 |
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2272 |
- esac |
2273 |
- fi |
2274 |
-done |
2275 |
-if $ac_cache_corrupted; then |
2276 |
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2277 |
-echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2278 |
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
2279 |
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
2280 |
- { (exit 1); exit 1; }; } |
2281 |
-fi |
2282 |
- |
2283 |
- |
2284 |
- |
2285 |
- |
2286 |
- |
2287 |
- |
2288 |
- |
2289 |
- |
2290 |
- |
2291 |
- |
2292 |
- |
2293 |
- |
2294 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2295 |
+/* end confdefs.h. */ |
2296 |
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2297 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
2298 |
+#define $2 innocuous_$2 |
2299 |
|
2300 |
+/* System header to define __stub macros and hopefully few prototypes, |
2301 |
+ which can conflict with char $2 (); below. |
2302 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2303 |
+ <limits.h> exists even on freestanding compilers. */ |
2304 |
|
2305 |
+#ifdef __STDC__ |
2306 |
+# include <limits.h> |
2307 |
+#else |
2308 |
+# include <assert.h> |
2309 |
+#endif |
2310 |
|
2311 |
+#undef $2 |
2312 |
|
2313 |
+/* Override any GCC internal prototype to avoid an error. |
2314 |
+ Use char because int might match the return type of a GCC |
2315 |
+ builtin and then its argument prototype would still apply. */ |
2316 |
+#ifdef __cplusplus |
2317 |
+extern "C" |
2318 |
+#endif |
2319 |
+char $2 (); |
2320 |
+/* The GNU C library defines this for functions which it implements |
2321 |
+ to always fail with ENOSYS. Some functions are actually named |
2322 |
+ something starting with __ and the normal name is an alias. */ |
2323 |
+#if defined __stub_$2 || defined __stub___$2 |
2324 |
+choke me |
2325 |
+#endif |
2326 |
|
2327 |
+int |
2328 |
+main () |
2329 |
+{ |
2330 |
+return $2 (); |
2331 |
+ ; |
2332 |
+ return 0; |
2333 |
+} |
2334 |
+_ACEOF |
2335 |
+if ac_fn_c_try_link "$LINENO"; then : |
2336 |
+ eval "$3=yes" |
2337 |
+else |
2338 |
+ eval "$3=no" |
2339 |
+fi |
2340 |
+rm -f core conftest.err conftest.$ac_objext \ |
2341 |
+ conftest$ac_exeext conftest.$ac_ext |
2342 |
+fi |
2343 |
+eval ac_res=\$$3 |
2344 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2345 |
+$as_echo "$ac_res" >&6; } |
2346 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2347 |
|
2348 |
+} # ac_fn_c_check_func |
2349 |
|
2350 |
+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
2351 |
+# -------------------------------------------- |
2352 |
+# Tries to find the compile-time value of EXPR in a program that includes |
2353 |
+# INCLUDES, setting VAR accordingly. Returns whether the value could be |
2354 |
+# computed |
2355 |
+ac_fn_c_compute_int () |
2356 |
+{ |
2357 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2358 |
+ if test "$cross_compiling" = yes; then |
2359 |
+ # Depending upon the size, compute the lo and hi bounds. |
2360 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2361 |
+/* end confdefs.h. */ |
2362 |
+$4 |
2363 |
+int |
2364 |
+main () |
2365 |
+{ |
2366 |
+static int test_array [1 - 2 * !(($2) >= 0)]; |
2367 |
+test_array [0] = 0; |
2368 |
+return test_array [0]; |
2369 |
|
2370 |
+ ; |
2371 |
+ return 0; |
2372 |
+} |
2373 |
+_ACEOF |
2374 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2375 |
+ ac_lo=0 ac_mid=0 |
2376 |
+ while :; do |
2377 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2378 |
+/* end confdefs.h. */ |
2379 |
+$4 |
2380 |
+int |
2381 |
+main () |
2382 |
+{ |
2383 |
+static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2384 |
+test_array [0] = 0; |
2385 |
+return test_array [0]; |
2386 |
|
2387 |
+ ; |
2388 |
+ return 0; |
2389 |
+} |
2390 |
+_ACEOF |
2391 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2392 |
+ ac_hi=$ac_mid; break |
2393 |
+else |
2394 |
+ as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
2395 |
+ if test $ac_lo -le $ac_mid; then |
2396 |
+ ac_lo= ac_hi= |
2397 |
+ break |
2398 |
+ fi |
2399 |
+ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
2400 |
+fi |
2401 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2402 |
+ done |
2403 |
+else |
2404 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2405 |
+/* end confdefs.h. */ |
2406 |
+$4 |
2407 |
+int |
2408 |
+main () |
2409 |
+{ |
2410 |
+static int test_array [1 - 2 * !(($2) < 0)]; |
2411 |
+test_array [0] = 0; |
2412 |
+return test_array [0]; |
2413 |
|
2414 |
+ ; |
2415 |
+ return 0; |
2416 |
+} |
2417 |
+_ACEOF |
2418 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2419 |
+ ac_hi=-1 ac_mid=-1 |
2420 |
+ while :; do |
2421 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2422 |
+/* end confdefs.h. */ |
2423 |
+$4 |
2424 |
+int |
2425 |
+main () |
2426 |
+{ |
2427 |
+static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
2428 |
+test_array [0] = 0; |
2429 |
+return test_array [0]; |
2430 |
|
2431 |
+ ; |
2432 |
+ return 0; |
2433 |
+} |
2434 |
+_ACEOF |
2435 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2436 |
+ ac_lo=$ac_mid; break |
2437 |
+else |
2438 |
+ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
2439 |
+ if test $ac_mid -le $ac_hi; then |
2440 |
+ ac_lo= ac_hi= |
2441 |
+ break |
2442 |
+ fi |
2443 |
+ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
2444 |
+fi |
2445 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2446 |
+ done |
2447 |
+else |
2448 |
+ ac_lo= ac_hi= |
2449 |
+fi |
2450 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2451 |
+fi |
2452 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2453 |
+# Binary search between lo and hi bounds. |
2454 |
+while test "x$ac_lo" != "x$ac_hi"; do |
2455 |
+ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
2456 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2457 |
+/* end confdefs.h. */ |
2458 |
+$4 |
2459 |
+int |
2460 |
+main () |
2461 |
+{ |
2462 |
+static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2463 |
+test_array [0] = 0; |
2464 |
+return test_array [0]; |
2465 |
|
2466 |
+ ; |
2467 |
+ return 0; |
2468 |
+} |
2469 |
+_ACEOF |
2470 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2471 |
+ ac_hi=$ac_mid |
2472 |
+else |
2473 |
+ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
2474 |
+fi |
2475 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2476 |
+done |
2477 |
+case $ac_lo in #(( |
2478 |
+?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
2479 |
+'') ac_retval=1 ;; |
2480 |
+esac |
2481 |
+ else |
2482 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2483 |
+/* end confdefs.h. */ |
2484 |
+$4 |
2485 |
+static long int longval () { return $2; } |
2486 |
+static unsigned long int ulongval () { return $2; } |
2487 |
+#include <stdio.h> |
2488 |
+#include <stdlib.h> |
2489 |
+int |
2490 |
+main () |
2491 |
+{ |
2492 |
|
2493 |
-ac_ext=c |
2494 |
-ac_cpp='$CPP $CPPFLAGS' |
2495 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2496 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2497 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2498 |
+ FILE *f = fopen ("conftest.val", "w"); |
2499 |
+ if (! f) |
2500 |
+ return 1; |
2501 |
+ if (($2) < 0) |
2502 |
+ { |
2503 |
+ long int i = longval (); |
2504 |
+ if (i != ($2)) |
2505 |
+ return 1; |
2506 |
+ fprintf (f, "%ld", i); |
2507 |
+ } |
2508 |
+ else |
2509 |
+ { |
2510 |
+ unsigned long int i = ulongval (); |
2511 |
+ if (i != ($2)) |
2512 |
+ return 1; |
2513 |
+ fprintf (f, "%lu", i); |
2514 |
+ } |
2515 |
+ /* Do not output a trailing newline, as this causes \r\n confusion |
2516 |
+ on some platforms. */ |
2517 |
+ return ferror (f) || fclose (f) != 0; |
2518 |
|
2519 |
+ ; |
2520 |
+ return 0; |
2521 |
+} |
2522 |
+_ACEOF |
2523 |
+if ac_fn_c_try_run "$LINENO"; then : |
2524 |
+ echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2525 |
+else |
2526 |
+ ac_retval=1 |
2527 |
+fi |
2528 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2529 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
2530 |
+rm -f conftest.val |
2531 |
|
2532 |
+ fi |
2533 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2534 |
+ as_fn_set_status $ac_retval |
2535 |
|
2536 |
-ac_config_headers="$ac_config_headers include/setup.h" |
2537 |
+} # ac_fn_c_compute_int |
2538 |
+cat >config.log <<_ACEOF |
2539 |
+This file contains any messages produced by compilers while |
2540 |
+running configure, to aid debugging if configure makes a mistake. |
2541 |
|
2542 |
+It was created by ircd-hybrid $as_me 7.2.2, which was |
2543 |
+generated by GNU Autoconf 2.69. Invocation command line was |
2544 |
|
2545 |
+ $ $0 $@ |
2546 |
|
2547 |
+_ACEOF |
2548 |
+exec 5>>config.log |
2549 |
+{ |
2550 |
+cat <<_ASUNAME |
2551 |
+## --------- ## |
2552 |
+## Platform. ## |
2553 |
+## --------- ## |
2554 |
|
2555 |
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
2556 |
+uname -m = `(uname -m) 2>/dev/null || echo unknown` |
2557 |
+uname -r = `(uname -r) 2>/dev/null || echo unknown` |
2558 |
+uname -s = `(uname -s) 2>/dev/null || echo unknown` |
2559 |
+uname -v = `(uname -v) 2>/dev/null || echo unknown` |
2560 |
|
2561 |
-cat >>confdefs.h <<\_ACEOF |
2562 |
-#define _GNU_SOURCE 1 |
2563 |
-_ACEOF |
2564 |
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
2565 |
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
2566 |
|
2567 |
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
2568 |
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
2569 |
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
2570 |
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
2571 |
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
2572 |
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
2573 |
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
2574 |
|
2575 |
+_ASUNAME |
2576 |
|
2577 |
-OLD_CFLAGS="$CFLAGS" |
2578 |
-ac_ext=c |
2579 |
-ac_cpp='$CPP $CPPFLAGS' |
2580 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2581 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2582 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2583 |
-if test -n "$ac_tool_prefix"; then |
2584 |
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2585 |
-set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2586 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2587 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2588 |
-if test "${ac_cv_prog_CC+set}" = set; then |
2589 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
2590 |
-else |
2591 |
- if test -n "$CC"; then |
2592 |
- ac_cv_prog_CC="$CC" # Let the user override the test. |
2593 |
-else |
2594 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2595 |
for as_dir in $PATH |
2596 |
do |
2597 |
IFS=$as_save_IFS |
2598 |
test -z "$as_dir" && as_dir=. |
2599 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
2600 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2601 |
- ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2602 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2603 |
- break 2 |
2604 |
- fi |
2605 |
-done |
2606 |
-done |
2607 |
+ $as_echo "PATH: $as_dir" |
2608 |
+ done |
2609 |
IFS=$as_save_IFS |
2610 |
|
2611 |
-fi |
2612 |
-fi |
2613 |
-CC=$ac_cv_prog_CC |
2614 |
-if test -n "$CC"; then |
2615 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
2616 |
-echo "${ECHO_T}$CC" >&6; } |
2617 |
-else |
2618 |
- { echo "$as_me:$LINENO: result: no" >&5 |
2619 |
-echo "${ECHO_T}no" >&6; } |
2620 |
-fi |
2621 |
+} >&5 |
2622 |
|
2623 |
+cat >&5 <<_ACEOF |
2624 |
|
2625 |
-fi |
2626 |
-if test -z "$ac_cv_prog_CC"; then |
2627 |
- ac_ct_CC=$CC |
2628 |
- # Extract the first word of "gcc", so it can be a program name with args. |
2629 |
-set dummy gcc; ac_word=$2 |
2630 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2631 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2632 |
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2633 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
2634 |
-else |
2635 |
- if test -n "$ac_ct_CC"; then |
2636 |
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2637 |
-else |
2638 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2639 |
-for as_dir in $PATH |
2640 |
-do |
2641 |
- IFS=$as_save_IFS |
2642 |
- test -z "$as_dir" && as_dir=. |
2643 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
2644 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2645 |
- ac_cv_prog_ac_ct_CC="gcc" |
2646 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2647 |
- break 2 |
2648 |
- fi |
2649 |
-done |
2650 |
-done |
2651 |
-IFS=$as_save_IFS |
2652 |
- |
2653 |
-fi |
2654 |
-fi |
2655 |
-ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2656 |
-if test -n "$ac_ct_CC"; then |
2657 |
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2658 |
-echo "${ECHO_T}$ac_ct_CC" >&6; } |
2659 |
-else |
2660 |
- { echo "$as_me:$LINENO: result: no" >&5 |
2661 |
-echo "${ECHO_T}no" >&6; } |
2662 |
-fi |
2663 |
- |
2664 |
- if test "x$ac_ct_CC" = x; then |
2665 |
- CC="" |
2666 |
- else |
2667 |
- case $cross_compiling:$ac_tool_warned in |
2668 |
-yes:) |
2669 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2670 |
-whose name does not start with the host triplet. If you think this |
2671 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2672 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
2673 |
-whose name does not start with the host triplet. If you think this |
2674 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
2675 |
-ac_tool_warned=yes ;; |
2676 |
-esac |
2677 |
- CC=$ac_ct_CC |
2678 |
- fi |
2679 |
-else |
2680 |
- CC="$ac_cv_prog_CC" |
2681 |
-fi |
2682 |
- |
2683 |
-if test -z "$CC"; then |
2684 |
- if test -n "$ac_tool_prefix"; then |
2685 |
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2686 |
-set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2687 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2688 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2689 |
-if test "${ac_cv_prog_CC+set}" = set; then |
2690 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
2691 |
-else |
2692 |
- if test -n "$CC"; then |
2693 |
- ac_cv_prog_CC="$CC" # Let the user override the test. |
2694 |
-else |
2695 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2696 |
-for as_dir in $PATH |
2697 |
-do |
2698 |
- IFS=$as_save_IFS |
2699 |
- test -z "$as_dir" && as_dir=. |
2700 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
2701 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2702 |
- ac_cv_prog_CC="${ac_tool_prefix}cc" |
2703 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2704 |
- break 2 |
2705 |
- fi |
2706 |
-done |
2707 |
-done |
2708 |
-IFS=$as_save_IFS |
2709 |
- |
2710 |
-fi |
2711 |
-fi |
2712 |
-CC=$ac_cv_prog_CC |
2713 |
-if test -n "$CC"; then |
2714 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
2715 |
-echo "${ECHO_T}$CC" >&6; } |
2716 |
-else |
2717 |
- { echo "$as_me:$LINENO: result: no" >&5 |
2718 |
-echo "${ECHO_T}no" >&6; } |
2719 |
-fi |
2720 |
- |
2721 |
- |
2722 |
- fi |
2723 |
-fi |
2724 |
-if test -z "$CC"; then |
2725 |
- # Extract the first word of "cc", so it can be a program name with args. |
2726 |
-set dummy cc; ac_word=$2 |
2727 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2728 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2729 |
-if test "${ac_cv_prog_CC+set}" = set; then |
2730 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
2731 |
-else |
2732 |
- if test -n "$CC"; then |
2733 |
- ac_cv_prog_CC="$CC" # Let the user override the test. |
2734 |
-else |
2735 |
- ac_prog_rejected=no |
2736 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2737 |
-for as_dir in $PATH |
2738 |
-do |
2739 |
- IFS=$as_save_IFS |
2740 |
- test -z "$as_dir" && as_dir=. |
2741 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
2742 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2743 |
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2744 |
- ac_prog_rejected=yes |
2745 |
- continue |
2746 |
- fi |
2747 |
- ac_cv_prog_CC="cc" |
2748 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2749 |
- break 2 |
2750 |
- fi |
2751 |
-done |
2752 |
-done |
2753 |
-IFS=$as_save_IFS |
2754 |
- |
2755 |
-if test $ac_prog_rejected = yes; then |
2756 |
- # We found a bogon in the path, so make sure we never use it. |
2757 |
- set dummy $ac_cv_prog_CC |
2758 |
- shift |
2759 |
- if test $# != 0; then |
2760 |
- # We chose a different compiler from the bogus one. |
2761 |
- # However, it has the same basename, so the bogon will be chosen |
2762 |
- # first if we set CC to just the basename; use the full file name. |
2763 |
- shift |
2764 |
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
2765 |
- fi |
2766 |
-fi |
2767 |
-fi |
2768 |
-fi |
2769 |
-CC=$ac_cv_prog_CC |
2770 |
-if test -n "$CC"; then |
2771 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
2772 |
-echo "${ECHO_T}$CC" >&6; } |
2773 |
-else |
2774 |
- { echo "$as_me:$LINENO: result: no" >&5 |
2775 |
-echo "${ECHO_T}no" >&6; } |
2776 |
-fi |
2777 |
- |
2778 |
- |
2779 |
-fi |
2780 |
-if test -z "$CC"; then |
2781 |
- if test -n "$ac_tool_prefix"; then |
2782 |
- for ac_prog in cl.exe |
2783 |
- do |
2784 |
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2785 |
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2786 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2787 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2788 |
-if test "${ac_cv_prog_CC+set}" = set; then |
2789 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
2790 |
-else |
2791 |
- if test -n "$CC"; then |
2792 |
- ac_cv_prog_CC="$CC" # Let the user override the test. |
2793 |
-else |
2794 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2795 |
-for as_dir in $PATH |
2796 |
-do |
2797 |
- IFS=$as_save_IFS |
2798 |
- test -z "$as_dir" && as_dir=. |
2799 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
2800 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2801 |
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2802 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2803 |
- break 2 |
2804 |
- fi |
2805 |
-done |
2806 |
-done |
2807 |
-IFS=$as_save_IFS |
2808 |
- |
2809 |
-fi |
2810 |
-fi |
2811 |
-CC=$ac_cv_prog_CC |
2812 |
-if test -n "$CC"; then |
2813 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
2814 |
-echo "${ECHO_T}$CC" >&6; } |
2815 |
-else |
2816 |
- { echo "$as_me:$LINENO: result: no" >&5 |
2817 |
-echo "${ECHO_T}no" >&6; } |
2818 |
-fi |
2819 |
- |
2820 |
- |
2821 |
- test -n "$CC" && break |
2822 |
- done |
2823 |
-fi |
2824 |
-if test -z "$CC"; then |
2825 |
- ac_ct_CC=$CC |
2826 |
- for ac_prog in cl.exe |
2827 |
-do |
2828 |
- # Extract the first word of "$ac_prog", so it can be a program name with args. |
2829 |
-set dummy $ac_prog; ac_word=$2 |
2830 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2831 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2832 |
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2833 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
2834 |
-else |
2835 |
- if test -n "$ac_ct_CC"; then |
2836 |
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2837 |
-else |
2838 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2839 |
-for as_dir in $PATH |
2840 |
-do |
2841 |
- IFS=$as_save_IFS |
2842 |
- test -z "$as_dir" && as_dir=. |
2843 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
2844 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2845 |
- ac_cv_prog_ac_ct_CC="$ac_prog" |
2846 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2847 |
- break 2 |
2848 |
- fi |
2849 |
-done |
2850 |
-done |
2851 |
-IFS=$as_save_IFS |
2852 |
- |
2853 |
-fi |
2854 |
-fi |
2855 |
-ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2856 |
-if test -n "$ac_ct_CC"; then |
2857 |
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2858 |
-echo "${ECHO_T}$ac_ct_CC" >&6; } |
2859 |
-else |
2860 |
- { echo "$as_me:$LINENO: result: no" >&5 |
2861 |
-echo "${ECHO_T}no" >&6; } |
2862 |
-fi |
2863 |
- |
2864 |
- |
2865 |
- test -n "$ac_ct_CC" && break |
2866 |
-done |
2867 |
- |
2868 |
- if test "x$ac_ct_CC" = x; then |
2869 |
- CC="" |
2870 |
- else |
2871 |
- case $cross_compiling:$ac_tool_warned in |
2872 |
-yes:) |
2873 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2874 |
-whose name does not start with the host triplet. If you think this |
2875 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2876 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
2877 |
-whose name does not start with the host triplet. If you think this |
2878 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
2879 |
-ac_tool_warned=yes ;; |
2880 |
-esac |
2881 |
- CC=$ac_ct_CC |
2882 |
- fi |
2883 |
-fi |
2884 |
- |
2885 |
-fi |
2886 |
- |
2887 |
- |
2888 |
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2889 |
-See \`config.log' for more details." >&5 |
2890 |
-echo "$as_me: error: no acceptable C compiler found in \$PATH |
2891 |
-See \`config.log' for more details." >&2;} |
2892 |
- { (exit 1); exit 1; }; } |
2893 |
- |
2894 |
-# Provide some information about the compiler. |
2895 |
-echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2896 |
-ac_compiler=`set X $ac_compile; echo $2` |
2897 |
-{ (ac_try="$ac_compiler --version >&5" |
2898 |
-case "(($ac_try" in |
2899 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2900 |
- *) ac_try_echo=$ac_try;; |
2901 |
-esac |
2902 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2903 |
- (eval "$ac_compiler --version >&5") 2>&5 |
2904 |
- ac_status=$? |
2905 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2906 |
- (exit $ac_status); } |
2907 |
-{ (ac_try="$ac_compiler -v >&5" |
2908 |
-case "(($ac_try" in |
2909 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2910 |
- *) ac_try_echo=$ac_try;; |
2911 |
-esac |
2912 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2913 |
- (eval "$ac_compiler -v >&5") 2>&5 |
2914 |
- ac_status=$? |
2915 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2916 |
- (exit $ac_status); } |
2917 |
-{ (ac_try="$ac_compiler -V >&5" |
2918 |
-case "(($ac_try" in |
2919 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2920 |
- *) ac_try_echo=$ac_try;; |
2921 |
-esac |
2922 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2923 |
- (eval "$ac_compiler -V >&5") 2>&5 |
2924 |
- ac_status=$? |
2925 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2926 |
- (exit $ac_status); } |
2927 |
- |
2928 |
-cat >conftest.$ac_ext <<_ACEOF |
2929 |
-/* confdefs.h. */ |
2930 |
-_ACEOF |
2931 |
-cat confdefs.h >>conftest.$ac_ext |
2932 |
-cat >>conftest.$ac_ext <<_ACEOF |
2933 |
-/* end confdefs.h. */ |
2934 |
- |
2935 |
-int |
2936 |
-main () |
2937 |
-{ |
2938 |
- |
2939 |
- ; |
2940 |
- return 0; |
2941 |
-} |
2942 |
-_ACEOF |
2943 |
-ac_clean_files_save=$ac_clean_files |
2944 |
-ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2945 |
-# Try to create an executable without -o first, disregard a.out. |
2946 |
-# It will help us diagnose broken compilers, and finding out an intuition |
2947 |
-# of exeext. |
2948 |
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2949 |
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
2950 |
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2951 |
-# |
2952 |
-# List of possible output files, starting from the most likely. |
2953 |
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
2954 |
-# only as a last resort. b.out is created by i960 compilers. |
2955 |
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
2956 |
-# |
2957 |
-# The IRIX 6 linker writes into existing files which may not be |
2958 |
-# executable, retaining their permissions. Remove them first so a |
2959 |
-# subsequent execution test works. |
2960 |
-ac_rmfiles= |
2961 |
-for ac_file in $ac_files |
2962 |
-do |
2963 |
- case $ac_file in |
2964 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2965 |
- * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2966 |
- esac |
2967 |
-done |
2968 |
-rm -f $ac_rmfiles |
2969 |
- |
2970 |
-if { (ac_try="$ac_link_default" |
2971 |
-case "(($ac_try" in |
2972 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2973 |
- *) ac_try_echo=$ac_try;; |
2974 |
-esac |
2975 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2976 |
- (eval "$ac_link_default") 2>&5 |
2977 |
- ac_status=$? |
2978 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2979 |
- (exit $ac_status); }; then |
2980 |
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2981 |
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2982 |
-# in a Makefile. We should not override ac_cv_exeext if it was cached, |
2983 |
-# so that the user can short-circuit this test for compilers unknown to |
2984 |
-# Autoconf. |
2985 |
-for ac_file in $ac_files '' |
2986 |
-do |
2987 |
- test -f "$ac_file" || continue |
2988 |
- case $ac_file in |
2989 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2990 |
- ;; |
2991 |
- [ab].out ) |
2992 |
- # We found the default executable, but exeext='' is most |
2993 |
- # certainly right. |
2994 |
- break;; |
2995 |
- *.* ) |
2996 |
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2997 |
- then :; else |
2998 |
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2999 |
- fi |
3000 |
- # We set ac_cv_exeext here because the later test for it is not |
3001 |
- # safe: cross compilers may not add the suffix if given an `-o' |
3002 |
- # argument, so we may need to know it at that point already. |
3003 |
- # Even if this section looks crufty: it has the advantage of |
3004 |
- # actually working. |
3005 |
- break;; |
3006 |
- * ) |
3007 |
- break;; |
3008 |
- esac |
3009 |
-done |
3010 |
-test "$ac_cv_exeext" = no && ac_cv_exeext= |
3011 |
- |
3012 |
-else |
3013 |
- ac_file='' |
3014 |
-fi |
3015 |
- |
3016 |
-{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
3017 |
-echo "${ECHO_T}$ac_file" >&6; } |
3018 |
-if test -z "$ac_file"; then |
3019 |
- echo "$as_me: failed program was:" >&5 |
3020 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3021 |
- |
3022 |
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
3023 |
-See \`config.log' for more details." >&5 |
3024 |
-echo "$as_me: error: C compiler cannot create executables |
3025 |
-See \`config.log' for more details." >&2;} |
3026 |
- { (exit 77); exit 77; }; } |
3027 |
-fi |
3028 |
- |
3029 |
-ac_exeext=$ac_cv_exeext |
3030 |
- |
3031 |
-# Check that the compiler produces executables we can run. If not, either |
3032 |
-# the compiler is broken, or we cross compile. |
3033 |
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
3034 |
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
3035 |
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
3036 |
-# If not cross compiling, check that we can run a simple program. |
3037 |
-if test "$cross_compiling" != yes; then |
3038 |
- if { ac_try='./$ac_file' |
3039 |
- { (case "(($ac_try" in |
3040 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3041 |
- *) ac_try_echo=$ac_try;; |
3042 |
-esac |
3043 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3044 |
- (eval "$ac_try") 2>&5 |
3045 |
- ac_status=$? |
3046 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3047 |
- (exit $ac_status); }; }; then |
3048 |
- cross_compiling=no |
3049 |
- else |
3050 |
- if test "$cross_compiling" = maybe; then |
3051 |
- cross_compiling=yes |
3052 |
- else |
3053 |
- { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
3054 |
-If you meant to cross compile, use \`--host'. |
3055 |
-See \`config.log' for more details." >&5 |
3056 |
-echo "$as_me: error: cannot run C compiled programs. |
3057 |
-If you meant to cross compile, use \`--host'. |
3058 |
-See \`config.log' for more details." >&2;} |
3059 |
- { (exit 1); exit 1; }; } |
3060 |
- fi |
3061 |
- fi |
3062 |
-fi |
3063 |
-{ echo "$as_me:$LINENO: result: yes" >&5 |
3064 |
-echo "${ECHO_T}yes" >&6; } |
3065 |
- |
3066 |
-rm -f a.out a.exe conftest$ac_cv_exeext b.out |
3067 |
-ac_clean_files=$ac_clean_files_save |
3068 |
-# Check that the compiler produces executables we can run. If not, either |
3069 |
-# the compiler is broken, or we cross compile. |
3070 |
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3071 |
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
3072 |
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
3073 |
-echo "${ECHO_T}$cross_compiling" >&6; } |
3074 |
- |
3075 |
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3076 |
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
3077 |
-if { (ac_try="$ac_link" |
3078 |
-case "(($ac_try" in |
3079 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3080 |
- *) ac_try_echo=$ac_try;; |
3081 |
-esac |
3082 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3083 |
- (eval "$ac_link") 2>&5 |
3084 |
- ac_status=$? |
3085 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3086 |
- (exit $ac_status); }; then |
3087 |
- # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3088 |
-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3089 |
-# work properly (i.e., refer to `conftest.exe'), while it won't with |
3090 |
-# `rm'. |
3091 |
-for ac_file in conftest.exe conftest conftest.*; do |
3092 |
- test -f "$ac_file" || continue |
3093 |
- case $ac_file in |
3094 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
3095 |
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3096 |
- break;; |
3097 |
- * ) break;; |
3098 |
- esac |
3099 |
-done |
3100 |
-else |
3101 |
- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
3102 |
-See \`config.log' for more details." >&5 |
3103 |
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
3104 |
-See \`config.log' for more details." >&2;} |
3105 |
- { (exit 1); exit 1; }; } |
3106 |
-fi |
3107 |
- |
3108 |
-rm -f conftest$ac_cv_exeext |
3109 |
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3110 |
-echo "${ECHO_T}$ac_cv_exeext" >&6; } |
3111 |
- |
3112 |
-rm -f conftest.$ac_ext |
3113 |
-EXEEXT=$ac_cv_exeext |
3114 |
-ac_exeext=$EXEEXT |
3115 |
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3116 |
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
3117 |
-if test "${ac_cv_objext+set}" = set; then |
3118 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3119 |
-else |
3120 |
- cat >conftest.$ac_ext <<_ACEOF |
3121 |
-/* confdefs.h. */ |
3122 |
-_ACEOF |
3123 |
-cat confdefs.h >>conftest.$ac_ext |
3124 |
-cat >>conftest.$ac_ext <<_ACEOF |
3125 |
-/* end confdefs.h. */ |
3126 |
- |
3127 |
-int |
3128 |
-main () |
3129 |
-{ |
3130 |
- |
3131 |
- ; |
3132 |
- return 0; |
3133 |
-} |
3134 |
-_ACEOF |
3135 |
-rm -f conftest.o conftest.obj |
3136 |
-if { (ac_try="$ac_compile" |
3137 |
-case "(($ac_try" in |
3138 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3139 |
- *) ac_try_echo=$ac_try;; |
3140 |
-esac |
3141 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3142 |
- (eval "$ac_compile") 2>&5 |
3143 |
- ac_status=$? |
3144 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3145 |
- (exit $ac_status); }; then |
3146 |
- for ac_file in conftest.o conftest.obj conftest.*; do |
3147 |
- test -f "$ac_file" || continue; |
3148 |
- case $ac_file in |
3149 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
3150 |
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3151 |
- break;; |
3152 |
- esac |
3153 |
-done |
3154 |
-else |
3155 |
- echo "$as_me: failed program was:" >&5 |
3156 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3157 |
- |
3158 |
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
3159 |
-See \`config.log' for more details." >&5 |
3160 |
-echo "$as_me: error: cannot compute suffix of object files: cannot compile |
3161 |
-See \`config.log' for more details." >&2;} |
3162 |
- { (exit 1); exit 1; }; } |
3163 |
-fi |
3164 |
- |
3165 |
-rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3166 |
-fi |
3167 |
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3168 |
-echo "${ECHO_T}$ac_cv_objext" >&6; } |
3169 |
-OBJEXT=$ac_cv_objext |
3170 |
-ac_objext=$OBJEXT |
3171 |
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3172 |
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
3173 |
-if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3174 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3175 |
-else |
3176 |
- cat >conftest.$ac_ext <<_ACEOF |
3177 |
-/* confdefs.h. */ |
3178 |
-_ACEOF |
3179 |
-cat confdefs.h >>conftest.$ac_ext |
3180 |
-cat >>conftest.$ac_ext <<_ACEOF |
3181 |
-/* end confdefs.h. */ |
3182 |
- |
3183 |
-int |
3184 |
-main () |
3185 |
-{ |
3186 |
-#ifndef __GNUC__ |
3187 |
- choke me |
3188 |
-#endif |
3189 |
- |
3190 |
- ; |
3191 |
- return 0; |
3192 |
-} |
3193 |
-_ACEOF |
3194 |
-rm -f conftest.$ac_objext |
3195 |
-if { (ac_try="$ac_compile" |
3196 |
-case "(($ac_try" in |
3197 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3198 |
- *) ac_try_echo=$ac_try;; |
3199 |
-esac |
3200 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3201 |
- (eval "$ac_compile") 2>conftest.er1 |
3202 |
- ac_status=$? |
3203 |
- grep -v '^ *+' conftest.er1 >conftest.err |
3204 |
- rm -f conftest.er1 |
3205 |
- cat conftest.err >&5 |
3206 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3207 |
- (exit $ac_status); } && { |
3208 |
- test -z "$ac_c_werror_flag" || |
3209 |
- test ! -s conftest.err |
3210 |
- } && test -s conftest.$ac_objext; then |
3211 |
- ac_compiler_gnu=yes |
3212 |
-else |
3213 |
- echo "$as_me: failed program was:" >&5 |
3214 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3215 |
- |
3216 |
- ac_compiler_gnu=no |
3217 |
-fi |
3218 |
- |
3219 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3220 |
-ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3221 |
- |
3222 |
-fi |
3223 |
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3224 |
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
3225 |
-GCC=`test $ac_compiler_gnu = yes && echo yes` |
3226 |
-ac_test_CFLAGS=${CFLAGS+set} |
3227 |
-ac_save_CFLAGS=$CFLAGS |
3228 |
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3229 |
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
3230 |
-if test "${ac_cv_prog_cc_g+set}" = set; then |
3231 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3232 |
-else |
3233 |
- ac_save_c_werror_flag=$ac_c_werror_flag |
3234 |
- ac_c_werror_flag=yes |
3235 |
- ac_cv_prog_cc_g=no |
3236 |
- CFLAGS="-g" |
3237 |
- cat >conftest.$ac_ext <<_ACEOF |
3238 |
-/* confdefs.h. */ |
3239 |
-_ACEOF |
3240 |
-cat confdefs.h >>conftest.$ac_ext |
3241 |
-cat >>conftest.$ac_ext <<_ACEOF |
3242 |
-/* end confdefs.h. */ |
3243 |
- |
3244 |
-int |
3245 |
-main () |
3246 |
-{ |
3247 |
- |
3248 |
- ; |
3249 |
- return 0; |
3250 |
-} |
3251 |
-_ACEOF |
3252 |
-rm -f conftest.$ac_objext |
3253 |
-if { (ac_try="$ac_compile" |
3254 |
-case "(($ac_try" in |
3255 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3256 |
- *) ac_try_echo=$ac_try;; |
3257 |
-esac |
3258 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3259 |
- (eval "$ac_compile") 2>conftest.er1 |
3260 |
- ac_status=$? |
3261 |
- grep -v '^ *+' conftest.er1 >conftest.err |
3262 |
- rm -f conftest.er1 |
3263 |
- cat conftest.err >&5 |
3264 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3265 |
- (exit $ac_status); } && { |
3266 |
- test -z "$ac_c_werror_flag" || |
3267 |
- test ! -s conftest.err |
3268 |
- } && test -s conftest.$ac_objext; then |
3269 |
- ac_cv_prog_cc_g=yes |
3270 |
-else |
3271 |
- echo "$as_me: failed program was:" >&5 |
3272 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3273 |
- |
3274 |
- CFLAGS="" |
3275 |
- cat >conftest.$ac_ext <<_ACEOF |
3276 |
-/* confdefs.h. */ |
3277 |
-_ACEOF |
3278 |
-cat confdefs.h >>conftest.$ac_ext |
3279 |
-cat >>conftest.$ac_ext <<_ACEOF |
3280 |
-/* end confdefs.h. */ |
3281 |
- |
3282 |
-int |
3283 |
-main () |
3284 |
-{ |
3285 |
- |
3286 |
- ; |
3287 |
- return 0; |
3288 |
-} |
3289 |
-_ACEOF |
3290 |
-rm -f conftest.$ac_objext |
3291 |
-if { (ac_try="$ac_compile" |
3292 |
-case "(($ac_try" in |
3293 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3294 |
- *) ac_try_echo=$ac_try;; |
3295 |
-esac |
3296 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3297 |
- (eval "$ac_compile") 2>conftest.er1 |
3298 |
- ac_status=$? |
3299 |
- grep -v '^ *+' conftest.er1 >conftest.err |
3300 |
- rm -f conftest.er1 |
3301 |
- cat conftest.err >&5 |
3302 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3303 |
- (exit $ac_status); } && { |
3304 |
- test -z "$ac_c_werror_flag" || |
3305 |
- test ! -s conftest.err |
3306 |
- } && test -s conftest.$ac_objext; then |
3307 |
- : |
3308 |
-else |
3309 |
- echo "$as_me: failed program was:" >&5 |
3310 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3311 |
- |
3312 |
- ac_c_werror_flag=$ac_save_c_werror_flag |
3313 |
- CFLAGS="-g" |
3314 |
- cat >conftest.$ac_ext <<_ACEOF |
3315 |
-/* confdefs.h. */ |
3316 |
-_ACEOF |
3317 |
-cat confdefs.h >>conftest.$ac_ext |
3318 |
-cat >>conftest.$ac_ext <<_ACEOF |
3319 |
-/* end confdefs.h. */ |
3320 |
- |
3321 |
-int |
3322 |
-main () |
3323 |
-{ |
3324 |
- |
3325 |
- ; |
3326 |
- return 0; |
3327 |
-} |
3328 |
-_ACEOF |
3329 |
-rm -f conftest.$ac_objext |
3330 |
-if { (ac_try="$ac_compile" |
3331 |
-case "(($ac_try" in |
3332 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3333 |
- *) ac_try_echo=$ac_try;; |
3334 |
-esac |
3335 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3336 |
- (eval "$ac_compile") 2>conftest.er1 |
3337 |
- ac_status=$? |
3338 |
- grep -v '^ *+' conftest.er1 >conftest.err |
3339 |
- rm -f conftest.er1 |
3340 |
- cat conftest.err >&5 |
3341 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3342 |
- (exit $ac_status); } && { |
3343 |
- test -z "$ac_c_werror_flag" || |
3344 |
- test ! -s conftest.err |
3345 |
- } && test -s conftest.$ac_objext; then |
3346 |
- ac_cv_prog_cc_g=yes |
3347 |
-else |
3348 |
- echo "$as_me: failed program was:" >&5 |
3349 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3350 |
- |
3351 |
- |
3352 |
-fi |
3353 |
- |
3354 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3355 |
-fi |
3356 |
- |
3357 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3358 |
-fi |
3359 |
- |
3360 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3361 |
- ac_c_werror_flag=$ac_save_c_werror_flag |
3362 |
-fi |
3363 |
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3364 |
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
3365 |
-if test "$ac_test_CFLAGS" = set; then |
3366 |
- CFLAGS=$ac_save_CFLAGS |
3367 |
-elif test $ac_cv_prog_cc_g = yes; then |
3368 |
- if test "$GCC" = yes; then |
3369 |
- CFLAGS="-g -O2" |
3370 |
- else |
3371 |
- CFLAGS="-g" |
3372 |
- fi |
3373 |
-else |
3374 |
- if test "$GCC" = yes; then |
3375 |
- CFLAGS="-O2" |
3376 |
- else |
3377 |
- CFLAGS= |
3378 |
- fi |
3379 |
-fi |
3380 |
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3381 |
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
3382 |
-if test "${ac_cv_prog_cc_c89+set}" = set; then |
3383 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3384 |
-else |
3385 |
- ac_cv_prog_cc_c89=no |
3386 |
-ac_save_CC=$CC |
3387 |
-cat >conftest.$ac_ext <<_ACEOF |
3388 |
-/* confdefs.h. */ |
3389 |
-_ACEOF |
3390 |
-cat confdefs.h >>conftest.$ac_ext |
3391 |
-cat >>conftest.$ac_ext <<_ACEOF |
3392 |
-/* end confdefs.h. */ |
3393 |
-#include <stdarg.h> |
3394 |
-#include <stdio.h> |
3395 |
-#include <sys/types.h> |
3396 |
-#include <sys/stat.h> |
3397 |
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3398 |
-struct buf { int x; }; |
3399 |
-FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3400 |
-static char *e (p, i) |
3401 |
- char **p; |
3402 |
- int i; |
3403 |
-{ |
3404 |
- return p[i]; |
3405 |
-} |
3406 |
-static char *f (char * (*g) (char **, int), char **p, ...) |
3407 |
-{ |
3408 |
- char *s; |
3409 |
- va_list v; |
3410 |
- va_start (v,p); |
3411 |
- s = g (p, va_arg (v,int)); |
3412 |
- va_end (v); |
3413 |
- return s; |
3414 |
-} |
3415 |
- |
3416 |
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3417 |
- function prototypes and stuff, but not '\xHH' hex character constants. |
3418 |
- These don't provoke an error unfortunately, instead are silently treated |
3419 |
- as 'x'. The following induces an error, until -std is added to get |
3420 |
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3421 |
- array size at least. It's necessary to write '\x00'==0 to get something |
3422 |
- that's true only with -std. */ |
3423 |
-int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3424 |
- |
3425 |
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
3426 |
- inside strings and character constants. */ |
3427 |
-#define FOO(x) 'x' |
3428 |
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
3429 |
- |
3430 |
-int test (int i, double x); |
3431 |
-struct s1 {int (*f) (int a);}; |
3432 |
-struct s2 {int (*f) (double a);}; |
3433 |
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
3434 |
-int argc; |
3435 |
-char **argv; |
3436 |
-int |
3437 |
-main () |
3438 |
-{ |
3439 |
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
3440 |
- ; |
3441 |
- return 0; |
3442 |
-} |
3443 |
-_ACEOF |
3444 |
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3445 |
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3446 |
-do |
3447 |
- CC="$ac_save_CC $ac_arg" |
3448 |
- rm -f conftest.$ac_objext |
3449 |
-if { (ac_try="$ac_compile" |
3450 |
-case "(($ac_try" in |
3451 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3452 |
- *) ac_try_echo=$ac_try;; |
3453 |
-esac |
3454 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3455 |
- (eval "$ac_compile") 2>conftest.er1 |
3456 |
- ac_status=$? |
3457 |
- grep -v '^ *+' conftest.er1 >conftest.err |
3458 |
- rm -f conftest.er1 |
3459 |
- cat conftest.err >&5 |
3460 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3461 |
- (exit $ac_status); } && { |
3462 |
- test -z "$ac_c_werror_flag" || |
3463 |
- test ! -s conftest.err |
3464 |
- } && test -s conftest.$ac_objext; then |
3465 |
- ac_cv_prog_cc_c89=$ac_arg |
3466 |
-else |
3467 |
- echo "$as_me: failed program was:" >&5 |
3468 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3469 |
- |
3470 |
- |
3471 |
-fi |
3472 |
- |
3473 |
-rm -f core conftest.err conftest.$ac_objext |
3474 |
- test "x$ac_cv_prog_cc_c89" != "xno" && break |
3475 |
-done |
3476 |
-rm -f conftest.$ac_ext |
3477 |
-CC=$ac_save_CC |
3478 |
- |
3479 |
-fi |
3480 |
-# AC_CACHE_VAL |
3481 |
-case "x$ac_cv_prog_cc_c89" in |
3482 |
- x) |
3483 |
- { echo "$as_me:$LINENO: result: none needed" >&5 |
3484 |
-echo "${ECHO_T}none needed" >&6; } ;; |
3485 |
- xno) |
3486 |
- { echo "$as_me:$LINENO: result: unsupported" >&5 |
3487 |
-echo "${ECHO_T}unsupported" >&6; } ;; |
3488 |
- *) |
3489 |
- CC="$CC $ac_cv_prog_cc_c89" |
3490 |
- { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3491 |
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
3492 |
-esac |
3493 |
- |
3494 |
- |
3495 |
-ac_ext=c |
3496 |
-ac_cpp='$CPP $CPPFLAGS' |
3497 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3498 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3499 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3500 |
- |
3501 |
-ac_ext=c |
3502 |
-ac_cpp='$CPP $CPPFLAGS' |
3503 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3504 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3505 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3506 |
- |
3507 |
- |
3508 |
-CFLAGS="$OLD_CFLAGS" |
3509 |
- |
3510 |
- |
3511 |
-if test "$ac_cv_c_compiler_gnu" != yes; then |
3512 |
- |
3513 |
-SGS=no |
3514 |
-{ echo "$as_me:$LINENO: checking $CC -version for TenDRA or MIPSpro" >&5 |
3515 |
-echo $ECHO_N "checking $CC -version for TenDRA or MIPSpro... $ECHO_C" >&6; } |
3516 |
-case `$CC -version 2>&1` in |
3517 |
-*TenDRA*) |
3518 |
- { echo "$as_me:$LINENO: result: yes, TenDRA" >&5 |
3519 |
-echo "${ECHO_T}yes, TenDRA" >&6; } |
3520 |
- IRC_CFLAGS="" |
3521 |
- CPPFLAGS="$CPPFLAGS -Ylonglong -Yansi -Ysystem" |
3522 |
- SGS=yes |
3523 |
- TenDRA=yes |
3524 |
-;; |
3525 |
-*MIPSpro*) |
3526 |
- { echo "$as_me:$LINENO: result: yes, MIPSpro" >&5 |
3527 |
-echo "${ECHO_T}yes, MIPSpro" >&6; } |
3528 |
- MIPSpro=yes |
3529 |
- SGS=yes |
3530 |
-;; |
3531 |
-*) |
3532 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3533 |
-echo "${ECHO_T}no" >&6; } |
3534 |
- TenDRA=no |
3535 |
- MIPSpro=no |
3536 |
-;; |
3537 |
-esac |
3538 |
- |
3539 |
-{ echo "$as_me:$LINENO: checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc" >&5 |
3540 |
-echo $ECHO_N "checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc... $ECHO_C" >&6; } |
3541 |
-case `$CC -V 2>&1` in |
3542 |
-*Sun*WorkShop* | *Forte*Developer* | *Sun*C*) |
3543 |
- { echo "$as_me:$LINENO: result: Sun Workshop/Forte" >&5 |
3544 |
-echo "${ECHO_T}Sun Workshop/Forte" >&6; } |
3545 |
- IRC_CFLAGS="-xO3 -xdepend -xinline=dlinkAdd,dlinkAddBefore,dlinkAddTail,dlinkDelete,dlink_list_length,dlink_node,dlinkMoveList,_MyMalloc,_MyRealloc,_MyFree,_DupString" |
3546 |
- SunWorkShop=yes |
3547 |
- SGS=yes |
3548 |
-;; |
3549 |
-*Tru64*) |
3550 |
- { echo "$as_me:$LINENO: result: Tru64 cc" >&5 |
3551 |
-echo "${ECHO_T}Tru64 cc" >&6; } |
3552 |
- IRC_CFLAGS="" |
3553 |
- CPPFLAGS="-I/usr/local/include" |
3554 |
- Tru=yes |
3555 |
-;; |
3556 |
-*HP*ANSI*) |
3557 |
- { echo "$as_me:$LINENO: result: HPUX cc" >&5 |
3558 |
-echo "${ECHO_T}HPUX cc" >&6; } |
3559 |
- HPUX=yes |
3560 |
- IRC_CFLAGS="+e" |
3561 |
-;; |
3562 |
-*) |
3563 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3564 |
-echo "${ECHO_T}no" >&6; } |
3565 |
-;; |
3566 |
-esac |
3567 |
- |
3568 |
-fi |
3569 |
- |
3570 |
-{ echo "$as_me:$LINENO: checking uname -s for Cygwin, Solaris or HPUX" >&5 |
3571 |
-echo $ECHO_N "checking uname -s for Cygwin, Solaris or HPUX... $ECHO_C" >&6; } |
3572 |
-case `uname -s` in |
3573 |
- HP-UX*) |
3574 |
- |
3575 |
- if test "$HPUX" != yes -a "$ac_cv_c_compiler_gnu" = no; then |
3576 |
- { echo "$as_me:$LINENO: result: assuming old HPUX with its own cc" >&5 |
3577 |
-echo "${ECHO_T}assuming old HPUX with its own cc" >&6; } |
3578 |
- IRC_CFLAGS="$IRC_CFLAGS +e" |
3579 |
- HPUX=yes |
3580 |
- else |
3581 |
- { echo "$as_me:$LINENO: result: already using newer HPUX" >&5 |
3582 |
-echo "${ECHO_T}already using newer HPUX" >&6; } |
3583 |
- fi |
3584 |
- ;; |
3585 |
- CYGWIN*) |
3586 |
- { echo "$as_me:$LINENO: result: Cygwin" >&5 |
3587 |
-echo "${ECHO_T}Cygwin" >&6; } |
3588 |
- CYGWIN=yes |
3589 |
- ;; |
3590 |
- SunOS*) |
3591 |
- { echo "$as_me:$LINENO: result: SunOS or Solaris" >&5 |
3592 |
-echo "${ECHO_T}SunOS or Solaris" >&6; } |
3593 |
- |
3594 |
-cat >>confdefs.h <<\_ACEOF |
3595 |
-#define __EXTENSIONS__ 1 |
3596 |
-_ACEOF |
3597 |
- |
3598 |
- ;; |
3599 |
- *) |
3600 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3601 |
-echo "${ECHO_T}no" >&6; } |
3602 |
- ;; |
3603 |
-esac |
3604 |
- |
3605 |
-if test "$ac_cv_c_compiler_gnu" = yes; then |
3606 |
- { echo "$as_me:$LINENO: checking if $CC is Apple GCC" >&5 |
3607 |
-echo $ECHO_N "checking if $CC is Apple GCC... $ECHO_C" >&6; } |
3608 |
- |
3609 |
- if expr "`$CC -v 2>&1 | tail -1`" : ".*Apple" >/dev/null; then |
3610 |
- AppleGCC=yes |
3611 |
- else |
3612 |
- AppleGCC=no |
3613 |
- fi |
3614 |
- |
3615 |
- { echo "$as_me:$LINENO: result: $AppleGCC" >&5 |
3616 |
-echo "${ECHO_T}$AppleGCC" >&6; } |
3617 |
- |
3618 |
- IRC_CFLAGS="$IRC_CFLAGS -Wall -O2" |
3619 |
-fi |
3620 |
- |
3621 |
-if test "$ac_cv_prog_cc_g" = yes; then |
3622 |
- if test "$Tru" = yes; then |
3623 |
- IRC_CFLAGS="$IRC_CFLAGS -g3" |
3624 |
- else |
3625 |
- IRC_CFLAGS="$IRC_CFLAGS -g" |
3626 |
- fi |
3627 |
-fi |
3628 |
- |
3629 |
-{ echo "$as_me:$LINENO: checking if $CC supports the SVR4 SGS interfaces" >&5 |
3630 |
-echo $ECHO_N "checking if $CC supports the SVR4 SGS interfaces... $ECHO_C" >&6; } |
3631 |
-if test "$SGS" = "yes"; then |
3632 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
3633 |
-echo "${ECHO_T}yes" >&6; } |
3634 |
-else |
3635 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3636 |
-echo "${ECHO_T}no" >&6; } |
3637 |
-fi |
3638 |
- |
3639 |
-# Extract the first word of "mkdep", so it can be a program name with args. |
3640 |
-set dummy mkdep; ac_word=$2 |
3641 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3642 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3643 |
-if test "${ac_cv_path_MKDEP+set}" = set; then |
3644 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3645 |
-else |
3646 |
- case $MKDEP in |
3647 |
- [\\/]* | ?:[\\/]*) |
3648 |
- ac_cv_path_MKDEP="$MKDEP" # Let the user override the test with a path. |
3649 |
- ;; |
3650 |
- *) |
3651 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3652 |
-for as_dir in $PATH |
3653 |
-do |
3654 |
- IFS=$as_save_IFS |
3655 |
- test -z "$as_dir" && as_dir=. |
3656 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3657 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3658 |
- ac_cv_path_MKDEP="$as_dir/$ac_word$ac_exec_ext" |
3659 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3660 |
- break 2 |
3661 |
- fi |
3662 |
-done |
3663 |
-done |
3664 |
-IFS=$as_save_IFS |
3665 |
- |
3666 |
- ;; |
3667 |
-esac |
3668 |
-fi |
3669 |
-MKDEP=$ac_cv_path_MKDEP |
3670 |
-if test -n "$MKDEP"; then |
3671 |
- { echo "$as_me:$LINENO: result: $MKDEP" >&5 |
3672 |
-echo "${ECHO_T}$MKDEP" >&6; } |
3673 |
-else |
3674 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3675 |
-echo "${ECHO_T}no" >&6; } |
3676 |
-fi |
3677 |
- |
3678 |
- |
3679 |
-# Extract the first word of "makedepend", so it can be a program name with args. |
3680 |
-set dummy makedepend; ac_word=$2 |
3681 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3682 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3683 |
-if test "${ac_cv_path_MAKEDEPEND+set}" = set; then |
3684 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3685 |
-else |
3686 |
- case $MAKEDEPEND in |
3687 |
- [\\/]* | ?:[\\/]*) |
3688 |
- ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path. |
3689 |
- ;; |
3690 |
- *) |
3691 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3692 |
-for as_dir in $PATH |
3693 |
-do |
3694 |
- IFS=$as_save_IFS |
3695 |
- test -z "$as_dir" && as_dir=. |
3696 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3697 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3698 |
- ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext" |
3699 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3700 |
- break 2 |
3701 |
- fi |
3702 |
-done |
3703 |
-done |
3704 |
-IFS=$as_save_IFS |
3705 |
- |
3706 |
- ;; |
3707 |
-esac |
3708 |
-fi |
3709 |
-MAKEDEPEND=$ac_cv_path_MAKEDEPEND |
3710 |
-if test -n "$MAKEDEPEND"; then |
3711 |
- { echo "$as_me:$LINENO: result: $MAKEDEPEND" >&5 |
3712 |
-echo "${ECHO_T}$MAKEDEPEND" >&6; } |
3713 |
-else |
3714 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3715 |
-echo "${ECHO_T}no" >&6; } |
3716 |
-fi |
3717 |
- |
3718 |
- |
3719 |
- |
3720 |
-{ echo "$as_me:$LINENO: checking how to generate dependency info" >&5 |
3721 |
-echo $ECHO_N "checking how to generate dependency info... $ECHO_C" >&6; } |
3722 |
- |
3723 |
-STDOUT="> .depend" |
3724 |
- |
3725 |
-if test "$ac_cv_c_compiler_gnu" = yes; then |
3726 |
- { echo "$as_me:$LINENO: result: gcc -MM" >&5 |
3727 |
-echo "${ECHO_T}gcc -MM" >&6; } |
3728 |
- MKDEP="$CC -MM" |
3729 |
-elif test ! -z "$MKDEP"; then |
3730 |
- { echo "$as_me:$LINENO: result: mkdep" >&5 |
3731 |
-echo "${ECHO_T}mkdep" >&6; } |
3732 |
- |
3733 |
- if test -z "$Tru"; then |
3734 |
- STDOUT="" |
3735 |
- else |
3736 |
- STDOUT=" 2> /dev/null" |
3737 |
- fi |
3738 |
-elif test "$SunWorkShop" = yes; then |
3739 |
- { echo "$as_me:$LINENO: result: $CC -xM" >&5 |
3740 |
-echo "${ECHO_T}$CC -xM" >&6; } |
3741 |
- MKDEP="$CC -xM" |
3742 |
- STDOUT="> .depend 2> /dev/null" |
3743 |
-elif test ! -z "$MAKEDEPEND"; then |
3744 |
- { echo "$as_me:$LINENO: result: makedepend" >&5 |
3745 |
-echo "${ECHO_T}makedepend" >&6; } |
3746 |
- MKDEP="$MAKEDEPEND -f-" |
3747 |
-else |
3748 |
- { echo "$as_me:$LINENO: result: nothing suitable.. forget it!" >&5 |
3749 |
-echo "${ECHO_T}nothing suitable.. forget it!" >&6; } |
3750 |
- MKDEP=":" |
3751 |
-fi |
3752 |
- |
3753 |
- |
3754 |
- |
3755 |
- |
3756 |
-{ echo "$as_me:$LINENO: checking for /dev/null" >&5 |
3757 |
-echo $ECHO_N "checking for /dev/null... $ECHO_C" >&6; } |
3758 |
-if test -c /dev/null ; then |
3759 |
- |
3760 |
-cat >>confdefs.h <<\_ACEOF |
3761 |
-#define PATH_DEVNULL "/dev/null" |
3762 |
-_ACEOF |
3763 |
- |
3764 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
3765 |
-echo "${ECHO_T}yes" >&6; } |
3766 |
-else |
3767 |
- |
3768 |
-cat >>confdefs.h <<\_ACEOF |
3769 |
-#define PATH_DEVNULL "devnull.log" |
3770 |
-_ACEOF |
3771 |
- |
3772 |
- { echo "$as_me:$LINENO: result: no - using devnull.log" >&5 |
3773 |
-echo "${ECHO_T}no - using devnull.log" >&6; } |
3774 |
-fi |
3775 |
- |
3776 |
-if test ! -z "$CFLAGS"; then |
3777 |
- IRC_CFLAGS="$IRC_CFLAGS $CFLAGS" |
3778 |
-fi |
3779 |
- |
3780 |
- |
3781 |
-{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3782 |
-echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3783 |
-if test "${ac_cv_search_strerror+set}" = set; then |
3784 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3785 |
-else |
3786 |
- ac_func_search_save_LIBS=$LIBS |
3787 |
-cat >conftest.$ac_ext <<_ACEOF |
3788 |
-/* confdefs.h. */ |
3789 |
-_ACEOF |
3790 |
-cat confdefs.h >>conftest.$ac_ext |
3791 |
-cat >>conftest.$ac_ext <<_ACEOF |
3792 |
-/* end confdefs.h. */ |
3793 |
- |
3794 |
-/* Override any GCC internal prototype to avoid an error. |
3795 |
- Use char because int might match the return type of a GCC |
3796 |
- builtin and then its argument prototype would still apply. */ |
3797 |
-#ifdef __cplusplus |
3798 |
-extern "C" |
3799 |
-#endif |
3800 |
-char strerror (); |
3801 |
-int |
3802 |
-main () |
3803 |
-{ |
3804 |
-return strerror (); |
3805 |
- ; |
3806 |
- return 0; |
3807 |
-} |
3808 |
-_ACEOF |
3809 |
-for ac_lib in '' cposix; do |
3810 |
- if test -z "$ac_lib"; then |
3811 |
- ac_res="none required" |
3812 |
- else |
3813 |
- ac_res=-l$ac_lib |
3814 |
- LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
3815 |
- fi |
3816 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
3817 |
-if { (ac_try="$ac_link" |
3818 |
-case "(($ac_try" in |
3819 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3820 |
- *) ac_try_echo=$ac_try;; |
3821 |
-esac |
3822 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3823 |
- (eval "$ac_link") 2>conftest.er1 |
3824 |
- ac_status=$? |
3825 |
- grep -v '^ *+' conftest.er1 >conftest.err |
3826 |
- rm -f conftest.er1 |
3827 |
- cat conftest.err >&5 |
3828 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3829 |
- (exit $ac_status); } && { |
3830 |
- test -z "$ac_c_werror_flag" || |
3831 |
- test ! -s conftest.err |
3832 |
- } && test -s conftest$ac_exeext && |
3833 |
- $as_test_x conftest$ac_exeext; then |
3834 |
- ac_cv_search_strerror=$ac_res |
3835 |
-else |
3836 |
- echo "$as_me: failed program was:" >&5 |
3837 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3838 |
- |
3839 |
- |
3840 |
-fi |
3841 |
- |
3842 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3843 |
- conftest$ac_exeext |
3844 |
- if test "${ac_cv_search_strerror+set}" = set; then |
3845 |
- break |
3846 |
-fi |
3847 |
-done |
3848 |
-if test "${ac_cv_search_strerror+set}" = set; then |
3849 |
- : |
3850 |
-else |
3851 |
- ac_cv_search_strerror=no |
3852 |
-fi |
3853 |
-rm conftest.$ac_ext |
3854 |
-LIBS=$ac_func_search_save_LIBS |
3855 |
-fi |
3856 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3857 |
-echo "${ECHO_T}$ac_cv_search_strerror" >&6; } |
3858 |
-ac_res=$ac_cv_search_strerror |
3859 |
-if test "$ac_res" != no; then |
3860 |
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
3861 |
- |
3862 |
-fi |
3863 |
- |
3864 |
-{ echo "$as_me:$LINENO: checking for inline" >&5 |
3865 |
-echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
3866 |
-if test "${ac_cv_c_inline+set}" = set; then |
3867 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3868 |
-else |
3869 |
- ac_cv_c_inline=no |
3870 |
-for ac_kw in inline __inline__ __inline; do |
3871 |
- cat >conftest.$ac_ext <<_ACEOF |
3872 |
-/* confdefs.h. */ |
3873 |
-_ACEOF |
3874 |
-cat confdefs.h >>conftest.$ac_ext |
3875 |
-cat >>conftest.$ac_ext <<_ACEOF |
3876 |
-/* end confdefs.h. */ |
3877 |
-#ifndef __cplusplus |
3878 |
-typedef int foo_t; |
3879 |
-static $ac_kw foo_t static_foo () {return 0; } |
3880 |
-$ac_kw foo_t foo () {return 0; } |
3881 |
-#endif |
3882 |
- |
3883 |
-_ACEOF |
3884 |
-rm -f conftest.$ac_objext |
3885 |
-if { (ac_try="$ac_compile" |
3886 |
-case "(($ac_try" in |
3887 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3888 |
- *) ac_try_echo=$ac_try;; |
3889 |
-esac |
3890 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3891 |
- (eval "$ac_compile") 2>conftest.er1 |
3892 |
- ac_status=$? |
3893 |
- grep -v '^ *+' conftest.er1 >conftest.err |
3894 |
- rm -f conftest.er1 |
3895 |
- cat conftest.err >&5 |
3896 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3897 |
- (exit $ac_status); } && { |
3898 |
- test -z "$ac_c_werror_flag" || |
3899 |
- test ! -s conftest.err |
3900 |
- } && test -s conftest.$ac_objext; then |
3901 |
- ac_cv_c_inline=$ac_kw |
3902 |
-else |
3903 |
- echo "$as_me: failed program was:" >&5 |
3904 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3905 |
- |
3906 |
- |
3907 |
-fi |
3908 |
- |
3909 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3910 |
- test "$ac_cv_c_inline" != no && break |
3911 |
-done |
3912 |
- |
3913 |
-fi |
3914 |
-{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
3915 |
-echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
3916 |
- |
3917 |
- |
3918 |
-case $ac_cv_c_inline in |
3919 |
- inline | yes) ;; |
3920 |
- *) |
3921 |
- case $ac_cv_c_inline in |
3922 |
- no) ac_val=;; |
3923 |
- *) ac_val=$ac_cv_c_inline;; |
3924 |
- esac |
3925 |
- cat >>confdefs.h <<_ACEOF |
3926 |
-#ifndef __cplusplus |
3927 |
-#define inline $ac_val |
3928 |
-#endif |
3929 |
-_ACEOF |
3930 |
- ;; |
3931 |
-esac |
3932 |
- |
3933 |
-ac_ext=c |
3934 |
-ac_cpp='$CPP $CPPFLAGS' |
3935 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3936 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3937 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3938 |
-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3939 |
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
3940 |
-# On Suns, sometimes $CPP names a directory. |
3941 |
-if test -n "$CPP" && test -d "$CPP"; then |
3942 |
- CPP= |
3943 |
-fi |
3944 |
-if test -z "$CPP"; then |
3945 |
- if test "${ac_cv_prog_CPP+set}" = set; then |
3946 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3947 |
-else |
3948 |
- # Double quotes because CPP needs to be expanded |
3949 |
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3950 |
- do |
3951 |
- ac_preproc_ok=false |
3952 |
-for ac_c_preproc_warn_flag in '' yes |
3953 |
-do |
3954 |
- # Use a header file that comes with gcc, so configuring glibc |
3955 |
- # with a fresh cross-compiler works. |
3956 |
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3957 |
- # <limits.h> exists even on freestanding compilers. |
3958 |
- # On the NeXT, cc -E runs the code through the compiler's parser, |
3959 |
- # not just through cpp. "Syntax error" is here to catch this case. |
3960 |
- cat >conftest.$ac_ext <<_ACEOF |
3961 |
-/* confdefs.h. */ |
3962 |
-_ACEOF |
3963 |
-cat confdefs.h >>conftest.$ac_ext |
3964 |
-cat >>conftest.$ac_ext <<_ACEOF |
3965 |
-/* end confdefs.h. */ |
3966 |
-#ifdef __STDC__ |
3967 |
-# include <limits.h> |
3968 |
-#else |
3969 |
-# include <assert.h> |
3970 |
-#endif |
3971 |
- Syntax error |
3972 |
-_ACEOF |
3973 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
3974 |
-case "(($ac_try" in |
3975 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3976 |
- *) ac_try_echo=$ac_try;; |
3977 |
-esac |
3978 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3979 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3980 |
- ac_status=$? |
3981 |
- grep -v '^ *+' conftest.er1 >conftest.err |
3982 |
- rm -f conftest.er1 |
3983 |
- cat conftest.err >&5 |
3984 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3985 |
- (exit $ac_status); } >/dev/null && { |
3986 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3987 |
- test ! -s conftest.err |
3988 |
- }; then |
3989 |
- : |
3990 |
-else |
3991 |
- echo "$as_me: failed program was:" >&5 |
3992 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
3993 |
- |
3994 |
- # Broken: fails on valid input. |
3995 |
-continue |
3996 |
-fi |
3997 |
- |
3998 |
-rm -f conftest.err conftest.$ac_ext |
3999 |
- |
4000 |
- # OK, works on sane cases. Now check whether nonexistent headers |
4001 |
- # can be detected and how. |
4002 |
- cat >conftest.$ac_ext <<_ACEOF |
4003 |
-/* confdefs.h. */ |
4004 |
-_ACEOF |
4005 |
-cat confdefs.h >>conftest.$ac_ext |
4006 |
-cat >>conftest.$ac_ext <<_ACEOF |
4007 |
-/* end confdefs.h. */ |
4008 |
-#include <ac_nonexistent.h> |
4009 |
-_ACEOF |
4010 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
4011 |
-case "(($ac_try" in |
4012 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4013 |
- *) ac_try_echo=$ac_try;; |
4014 |
-esac |
4015 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4016 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4017 |
- ac_status=$? |
4018 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4019 |
- rm -f conftest.er1 |
4020 |
- cat conftest.err >&5 |
4021 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4022 |
- (exit $ac_status); } >/dev/null && { |
4023 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4024 |
- test ! -s conftest.err |
4025 |
- }; then |
4026 |
- # Broken: success on invalid input. |
4027 |
-continue |
4028 |
-else |
4029 |
- echo "$as_me: failed program was:" >&5 |
4030 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4031 |
- |
4032 |
- # Passes both tests. |
4033 |
-ac_preproc_ok=: |
4034 |
-break |
4035 |
-fi |
4036 |
- |
4037 |
-rm -f conftest.err conftest.$ac_ext |
4038 |
- |
4039 |
-done |
4040 |
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4041 |
-rm -f conftest.err conftest.$ac_ext |
4042 |
-if $ac_preproc_ok; then |
4043 |
- break |
4044 |
-fi |
4045 |
- |
4046 |
- done |
4047 |
- ac_cv_prog_CPP=$CPP |
4048 |
- |
4049 |
-fi |
4050 |
- CPP=$ac_cv_prog_CPP |
4051 |
-else |
4052 |
- ac_cv_prog_CPP=$CPP |
4053 |
-fi |
4054 |
-{ echo "$as_me:$LINENO: result: $CPP" >&5 |
4055 |
-echo "${ECHO_T}$CPP" >&6; } |
4056 |
-ac_preproc_ok=false |
4057 |
-for ac_c_preproc_warn_flag in '' yes |
4058 |
-do |
4059 |
- # Use a header file that comes with gcc, so configuring glibc |
4060 |
- # with a fresh cross-compiler works. |
4061 |
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4062 |
- # <limits.h> exists even on freestanding compilers. |
4063 |
- # On the NeXT, cc -E runs the code through the compiler's parser, |
4064 |
- # not just through cpp. "Syntax error" is here to catch this case. |
4065 |
- cat >conftest.$ac_ext <<_ACEOF |
4066 |
-/* confdefs.h. */ |
4067 |
-_ACEOF |
4068 |
-cat confdefs.h >>conftest.$ac_ext |
4069 |
-cat >>conftest.$ac_ext <<_ACEOF |
4070 |
-/* end confdefs.h. */ |
4071 |
-#ifdef __STDC__ |
4072 |
-# include <limits.h> |
4073 |
-#else |
4074 |
-# include <assert.h> |
4075 |
-#endif |
4076 |
- Syntax error |
4077 |
-_ACEOF |
4078 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
4079 |
-case "(($ac_try" in |
4080 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4081 |
- *) ac_try_echo=$ac_try;; |
4082 |
-esac |
4083 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4084 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4085 |
- ac_status=$? |
4086 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4087 |
- rm -f conftest.er1 |
4088 |
- cat conftest.err >&5 |
4089 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4090 |
- (exit $ac_status); } >/dev/null && { |
4091 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4092 |
- test ! -s conftest.err |
4093 |
- }; then |
4094 |
- : |
4095 |
-else |
4096 |
- echo "$as_me: failed program was:" >&5 |
4097 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4098 |
- |
4099 |
- # Broken: fails on valid input. |
4100 |
-continue |
4101 |
-fi |
4102 |
- |
4103 |
-rm -f conftest.err conftest.$ac_ext |
4104 |
- |
4105 |
- # OK, works on sane cases. Now check whether nonexistent headers |
4106 |
- # can be detected and how. |
4107 |
- cat >conftest.$ac_ext <<_ACEOF |
4108 |
-/* confdefs.h. */ |
4109 |
-_ACEOF |
4110 |
-cat confdefs.h >>conftest.$ac_ext |
4111 |
-cat >>conftest.$ac_ext <<_ACEOF |
4112 |
-/* end confdefs.h. */ |
4113 |
-#include <ac_nonexistent.h> |
4114 |
-_ACEOF |
4115 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
4116 |
-case "(($ac_try" in |
4117 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4118 |
- *) ac_try_echo=$ac_try;; |
4119 |
-esac |
4120 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4121 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4122 |
- ac_status=$? |
4123 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4124 |
- rm -f conftest.er1 |
4125 |
- cat conftest.err >&5 |
4126 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4127 |
- (exit $ac_status); } >/dev/null && { |
4128 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4129 |
- test ! -s conftest.err |
4130 |
- }; then |
4131 |
- # Broken: success on invalid input. |
4132 |
-continue |
4133 |
-else |
4134 |
- echo "$as_me: failed program was:" >&5 |
4135 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4136 |
- |
4137 |
- # Passes both tests. |
4138 |
-ac_preproc_ok=: |
4139 |
-break |
4140 |
-fi |
4141 |
- |
4142 |
-rm -f conftest.err conftest.$ac_ext |
4143 |
- |
4144 |
-done |
4145 |
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4146 |
-rm -f conftest.err conftest.$ac_ext |
4147 |
-if $ac_preproc_ok; then |
4148 |
- : |
4149 |
-else |
4150 |
- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4151 |
-See \`config.log' for more details." >&5 |
4152 |
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4153 |
-See \`config.log' for more details." >&2;} |
4154 |
- { (exit 1); exit 1; }; } |
4155 |
-fi |
4156 |
- |
4157 |
-ac_ext=c |
4158 |
-ac_cpp='$CPP $CPPFLAGS' |
4159 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4160 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4161 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4162 |
- |
4163 |
- |
4164 |
-{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
4165 |
-echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
4166 |
-if test "${ac_cv_path_GREP+set}" = set; then |
4167 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4168 |
-else |
4169 |
- # Extract the first word of "grep ggrep" to use in msg output |
4170 |
-if test -z "$GREP"; then |
4171 |
-set dummy grep ggrep; ac_prog_name=$2 |
4172 |
-if test "${ac_cv_path_GREP+set}" = set; then |
4173 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4174 |
-else |
4175 |
- ac_path_GREP_found=false |
4176 |
-# Loop through the user's path and test for each of PROGNAME-LIST |
4177 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4178 |
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4179 |
-do |
4180 |
- IFS=$as_save_IFS |
4181 |
- test -z "$as_dir" && as_dir=. |
4182 |
- for ac_prog in grep ggrep; do |
4183 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4184 |
- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4185 |
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4186 |
- # Check for GNU ac_path_GREP and select it if it is found. |
4187 |
- # Check for GNU $ac_path_GREP |
4188 |
-case `"$ac_path_GREP" --version 2>&1` in |
4189 |
-*GNU*) |
4190 |
- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4191 |
-*) |
4192 |
- ac_count=0 |
4193 |
- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
4194 |
- while : |
4195 |
- do |
4196 |
- cat "conftest.in" "conftest.in" >"conftest.tmp" |
4197 |
- mv "conftest.tmp" "conftest.in" |
4198 |
- cp "conftest.in" "conftest.nl" |
4199 |
- echo 'GREP' >> "conftest.nl" |
4200 |
- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4201 |
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4202 |
- ac_count=`expr $ac_count + 1` |
4203 |
- if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4204 |
- # Best one so far, save it but keep looking for a better one |
4205 |
- ac_cv_path_GREP="$ac_path_GREP" |
4206 |
- ac_path_GREP_max=$ac_count |
4207 |
- fi |
4208 |
- # 10*(2^10) chars as input seems more than enough |
4209 |
- test $ac_count -gt 10 && break |
4210 |
- done |
4211 |
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4212 |
-esac |
4213 |
- |
4214 |
- |
4215 |
- $ac_path_GREP_found && break 3 |
4216 |
- done |
4217 |
-done |
4218 |
- |
4219 |
-done |
4220 |
-IFS=$as_save_IFS |
4221 |
- |
4222 |
- |
4223 |
-fi |
4224 |
- |
4225 |
-GREP="$ac_cv_path_GREP" |
4226 |
-if test -z "$GREP"; then |
4227 |
- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4228 |
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
4229 |
- { (exit 1); exit 1; }; } |
4230 |
-fi |
4231 |
- |
4232 |
-else |
4233 |
- ac_cv_path_GREP=$GREP |
4234 |
-fi |
4235 |
- |
4236 |
- |
4237 |
-fi |
4238 |
-{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
4239 |
-echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
4240 |
- GREP="$ac_cv_path_GREP" |
4241 |
- |
4242 |
- |
4243 |
-{ echo "$as_me:$LINENO: checking for egrep" >&5 |
4244 |
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
4245 |
-if test "${ac_cv_path_EGREP+set}" = set; then |
4246 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4247 |
-else |
4248 |
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4249 |
- then ac_cv_path_EGREP="$GREP -E" |
4250 |
- else |
4251 |
- # Extract the first word of "egrep" to use in msg output |
4252 |
-if test -z "$EGREP"; then |
4253 |
-set dummy egrep; ac_prog_name=$2 |
4254 |
-if test "${ac_cv_path_EGREP+set}" = set; then |
4255 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4256 |
-else |
4257 |
- ac_path_EGREP_found=false |
4258 |
-# Loop through the user's path and test for each of PROGNAME-LIST |
4259 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4260 |
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4261 |
-do |
4262 |
- IFS=$as_save_IFS |
4263 |
- test -z "$as_dir" && as_dir=. |
4264 |
- for ac_prog in egrep; do |
4265 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4266 |
- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4267 |
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4268 |
- # Check for GNU ac_path_EGREP and select it if it is found. |
4269 |
- # Check for GNU $ac_path_EGREP |
4270 |
-case `"$ac_path_EGREP" --version 2>&1` in |
4271 |
-*GNU*) |
4272 |
- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4273 |
-*) |
4274 |
- ac_count=0 |
4275 |
- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
4276 |
- while : |
4277 |
- do |
4278 |
- cat "conftest.in" "conftest.in" >"conftest.tmp" |
4279 |
- mv "conftest.tmp" "conftest.in" |
4280 |
- cp "conftest.in" "conftest.nl" |
4281 |
- echo 'EGREP' >> "conftest.nl" |
4282 |
- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4283 |
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4284 |
- ac_count=`expr $ac_count + 1` |
4285 |
- if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4286 |
- # Best one so far, save it but keep looking for a better one |
4287 |
- ac_cv_path_EGREP="$ac_path_EGREP" |
4288 |
- ac_path_EGREP_max=$ac_count |
4289 |
- fi |
4290 |
- # 10*(2^10) chars as input seems more than enough |
4291 |
- test $ac_count -gt 10 && break |
4292 |
- done |
4293 |
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4294 |
-esac |
4295 |
- |
4296 |
- |
4297 |
- $ac_path_EGREP_found && break 3 |
4298 |
- done |
4299 |
-done |
4300 |
- |
4301 |
-done |
4302 |
-IFS=$as_save_IFS |
4303 |
- |
4304 |
- |
4305 |
-fi |
4306 |
- |
4307 |
-EGREP="$ac_cv_path_EGREP" |
4308 |
-if test -z "$EGREP"; then |
4309 |
- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4310 |
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
4311 |
- { (exit 1); exit 1; }; } |
4312 |
-fi |
4313 |
- |
4314 |
-else |
4315 |
- ac_cv_path_EGREP=$EGREP |
4316 |
-fi |
4317 |
- |
4318 |
- |
4319 |
- fi |
4320 |
-fi |
4321 |
-{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
4322 |
-echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
4323 |
- EGREP="$ac_cv_path_EGREP" |
4324 |
- |
4325 |
- |
4326 |
-if test $ac_cv_c_compiler_gnu = yes; then |
4327 |
- { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 |
4328 |
-echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } |
4329 |
-if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
4330 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4331 |
-else |
4332 |
- ac_pattern="Autoconf.*'x'" |
4333 |
- cat >conftest.$ac_ext <<_ACEOF |
4334 |
-/* confdefs.h. */ |
4335 |
-_ACEOF |
4336 |
-cat confdefs.h >>conftest.$ac_ext |
4337 |
-cat >>conftest.$ac_ext <<_ACEOF |
4338 |
-/* end confdefs.h. */ |
4339 |
-#include <sgtty.h> |
4340 |
-Autoconf TIOCGETP |
4341 |
-_ACEOF |
4342 |
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4343 |
- $EGREP "$ac_pattern" >/dev/null 2>&1; then |
4344 |
- ac_cv_prog_gcc_traditional=yes |
4345 |
-else |
4346 |
- ac_cv_prog_gcc_traditional=no |
4347 |
-fi |
4348 |
-rm -f conftest* |
4349 |
- |
4350 |
- |
4351 |
- if test $ac_cv_prog_gcc_traditional = no; then |
4352 |
- cat >conftest.$ac_ext <<_ACEOF |
4353 |
-/* confdefs.h. */ |
4354 |
-_ACEOF |
4355 |
-cat confdefs.h >>conftest.$ac_ext |
4356 |
-cat >>conftest.$ac_ext <<_ACEOF |
4357 |
-/* end confdefs.h. */ |
4358 |
-#include <termio.h> |
4359 |
-Autoconf TCGETA |
4360 |
-_ACEOF |
4361 |
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4362 |
- $EGREP "$ac_pattern" >/dev/null 2>&1; then |
4363 |
- ac_cv_prog_gcc_traditional=yes |
4364 |
-fi |
4365 |
-rm -f conftest* |
4366 |
|
4367 |
- fi |
4368 |
-fi |
4369 |
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 |
4370 |
-echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } |
4371 |
- if test $ac_cv_prog_gcc_traditional = yes; then |
4372 |
- CC="$CC -traditional" |
4373 |
- fi |
4374 |
-fi |
4375 |
+## ----------- ## |
4376 |
+## Core tests. ## |
4377 |
+## ----------- ## |
4378 |
|
4379 |
-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
4380 |
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
4381 |
-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
4382 |
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
4383 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4384 |
-else |
4385 |
- cat >conftest.make <<\_ACEOF |
4386 |
-SHELL = /bin/sh |
4387 |
-all: |
4388 |
- @echo '@@@%%%=$(MAKE)=@@@%%%' |
4389 |
_ACEOF |
4390 |
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
4391 |
-case `${MAKE-make} -f conftest.make 2>/dev/null` in |
4392 |
- *@@@%%%=?*=@@@%%%*) |
4393 |
- eval ac_cv_prog_make_${ac_make}_set=yes;; |
4394 |
- *) |
4395 |
- eval ac_cv_prog_make_${ac_make}_set=no;; |
4396 |
-esac |
4397 |
-rm -f conftest.make |
4398 |
-fi |
4399 |
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
4400 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
4401 |
-echo "${ECHO_T}yes" >&6; } |
4402 |
- SET_MAKE= |
4403 |
-else |
4404 |
- { echo "$as_me:$LINENO: result: no" >&5 |
4405 |
-echo "${ECHO_T}no" >&6; } |
4406 |
- SET_MAKE="MAKE=${MAKE-make}" |
4407 |
-fi |
4408 |
- |
4409 |
-ac_aux_dir= |
4410 |
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
4411 |
- if test -f "$ac_dir/install-sh"; then |
4412 |
- ac_aux_dir=$ac_dir |
4413 |
- ac_install_sh="$ac_aux_dir/install-sh -c" |
4414 |
- break |
4415 |
- elif test -f "$ac_dir/install.sh"; then |
4416 |
- ac_aux_dir=$ac_dir |
4417 |
- ac_install_sh="$ac_aux_dir/install.sh -c" |
4418 |
- break |
4419 |
- elif test -f "$ac_dir/shtool"; then |
4420 |
- ac_aux_dir=$ac_dir |
4421 |
- ac_install_sh="$ac_aux_dir/shtool install -c" |
4422 |
- break |
4423 |
- fi |
4424 |
-done |
4425 |
-if test -z "$ac_aux_dir"; then |
4426 |
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
4427 |
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
4428 |
- { (exit 1); exit 1; }; } |
4429 |
-fi |
4430 |
- |
4431 |
-# These three variables are undocumented and unsupported, |
4432 |
-# and are intended to be withdrawn in a future Autoconf release. |
4433 |
-# They can cause serious problems if a builder's source tree is in a directory |
4434 |
-# whose full name contains unusual characters. |
4435 |
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
4436 |
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
4437 |
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
4438 |
|
4439 |
|
4440 |
-# Find a good install program. We prefer a C program (faster), |
4441 |
-# so one script is as good as another. But avoid the broken or |
4442 |
-# incompatible versions: |
4443 |
-# SysV /etc/install, /usr/sbin/install |
4444 |
-# SunOS /usr/etc/install |
4445 |
-# IRIX /sbin/install |
4446 |
-# AIX /bin/install |
4447 |
-# AmigaOS /C/install, which installs bootblocks on floppy discs |
4448 |
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
4449 |
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
4450 |
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
4451 |
-# OS/2's system install, which has a completely different semantic |
4452 |
-# ./install, which can be erroneously created by make from ./install.sh. |
4453 |
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
4454 |
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
4455 |
-if test -z "$INSTALL"; then |
4456 |
-if test "${ac_cv_path_install+set}" = set; then |
4457 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4458 |
-else |
4459 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4460 |
-for as_dir in $PATH |
4461 |
+# Keep a trace of the command line. |
4462 |
+# Strip out --no-create and --no-recursion so they do not pile up. |
4463 |
+# Strip out --silent because we don't want to record it for future runs. |
4464 |
+# Also quote any args containing shell meta-characters. |
4465 |
+# Make two passes to allow for proper duplicate-argument suppression. |
4466 |
+ac_configure_args= |
4467 |
+ac_configure_args0= |
4468 |
+ac_configure_args1= |
4469 |
+ac_must_keep_next=false |
4470 |
+for ac_pass in 1 2 |
4471 |
do |
4472 |
- IFS=$as_save_IFS |
4473 |
- test -z "$as_dir" && as_dir=. |
4474 |
- # Account for people who put trailing slashes in PATH elements. |
4475 |
-case $as_dir/ in |
4476 |
- ./ | .// | /cC/* | \ |
4477 |
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
4478 |
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
4479 |
- /usr/ucb/* ) ;; |
4480 |
- *) |
4481 |
- # OSF1 and SCO ODT 3.0 have their own names for install. |
4482 |
- # Don't use installbsd from OSF since it installs stuff as root |
4483 |
- # by default. |
4484 |
- for ac_prog in ginstall scoinst install; do |
4485 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4486 |
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
4487 |
- if test $ac_prog = install && |
4488 |
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
4489 |
- # AIX install. It has an incompatible calling convention. |
4490 |
- : |
4491 |
- elif test $ac_prog = install && |
4492 |
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
4493 |
- # program-specific install script used by HP pwplus--don't use. |
4494 |
- : |
4495 |
- else |
4496 |
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
4497 |
- break 3 |
4498 |
- fi |
4499 |
- fi |
4500 |
- done |
4501 |
- done |
4502 |
- ;; |
4503 |
-esac |
4504 |
+ for ac_arg |
4505 |
+ do |
4506 |
+ case $ac_arg in |
4507 |
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
4508 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
4509 |
+ | -silent | --silent | --silen | --sile | --sil) |
4510 |
+ continue ;; |
4511 |
+ *\'*) |
4512 |
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
4513 |
+ esac |
4514 |
+ case $ac_pass in |
4515 |
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
4516 |
+ 2) |
4517 |
+ as_fn_append ac_configure_args1 " '$ac_arg'" |
4518 |
+ if test $ac_must_keep_next = true; then |
4519 |
+ ac_must_keep_next=false # Got value, back to normal. |
4520 |
+ else |
4521 |
+ case $ac_arg in |
4522 |
+ *=* | --config-cache | -C | -disable-* | --disable-* \ |
4523 |
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
4524 |
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
4525 |
+ | -with-* | --with-* | -without-* | --without-* | --x) |
4526 |
+ case "$ac_configure_args0 " in |
4527 |
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
4528 |
+ esac |
4529 |
+ ;; |
4530 |
+ -* ) ac_must_keep_next=true ;; |
4531 |
+ esac |
4532 |
+ fi |
4533 |
+ as_fn_append ac_configure_args " '$ac_arg'" |
4534 |
+ ;; |
4535 |
+ esac |
4536 |
+ done |
4537 |
done |
4538 |
-IFS=$as_save_IFS |
4539 |
- |
4540 |
+{ ac_configure_args0=; unset ac_configure_args0;} |
4541 |
+{ ac_configure_args1=; unset ac_configure_args1;} |
4542 |
|
4543 |
-fi |
4544 |
- if test "${ac_cv_path_install+set}" = set; then |
4545 |
- INSTALL=$ac_cv_path_install |
4546 |
- else |
4547 |
- # As a last resort, use the slow shell script. Don't cache a |
4548 |
- # value for INSTALL within a source directory, because that will |
4549 |
- # break other packages using the cache if that directory is |
4550 |
- # removed, or if the value is a relative name. |
4551 |
- INSTALL=$ac_install_sh |
4552 |
- fi |
4553 |
-fi |
4554 |
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5 |
4555 |
-echo "${ECHO_T}$INSTALL" >&6; } |
4556 |
+# When interrupted or exit'd, cleanup temporary files, and complete |
4557 |
+# config.log. We remove comments because anyway the quotes in there |
4558 |
+# would cause problems or look ugly. |
4559 |
+# WARNING: Use '\'' to represent an apostrophe within the trap. |
4560 |
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
4561 |
+trap 'exit_status=$? |
4562 |
+ # Save into config.log some information that might help in debugging. |
4563 |
+ { |
4564 |
+ echo |
4565 |
|
4566 |
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
4567 |
-# It thinks the first close brace ends the variable substitution. |
4568 |
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
4569 |
+ $as_echo "## ---------------- ## |
4570 |
+## Cache variables. ## |
4571 |
+## ---------------- ##" |
4572 |
+ echo |
4573 |
+ # The following way of writing the cache mishandles newlines in values, |
4574 |
+( |
4575 |
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
4576 |
+ eval ac_val=\$$ac_var |
4577 |
+ case $ac_val in #( |
4578 |
+ *${as_nl}*) |
4579 |
+ case $ac_var in #( |
4580 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
4581 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
4582 |
+ esac |
4583 |
+ case $ac_var in #( |
4584 |
+ _ | IFS | as_nl) ;; #( |
4585 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
4586 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
4587 |
+ esac ;; |
4588 |
+ esac |
4589 |
+ done |
4590 |
+ (set) 2>&1 | |
4591 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
4592 |
+ *${as_nl}ac_space=\ *) |
4593 |
+ sed -n \ |
4594 |
+ "s/'\''/'\''\\\\'\'''\''/g; |
4595 |
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
4596 |
+ ;; #( |
4597 |
+ *) |
4598 |
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
4599 |
+ ;; |
4600 |
+ esac | |
4601 |
+ sort |
4602 |
+) |
4603 |
+ echo |
4604 |
|
4605 |
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
4606 |
+ $as_echo "## ----------------- ## |
4607 |
+## Output variables. ## |
4608 |
+## ----------------- ##" |
4609 |
+ echo |
4610 |
+ for ac_var in $ac_subst_vars |
4611 |
+ do |
4612 |
+ eval ac_val=\$$ac_var |
4613 |
+ case $ac_val in |
4614 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
4615 |
+ esac |
4616 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
4617 |
+ done | sort |
4618 |
+ echo |
4619 |
|
4620 |
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4621 |
+ if test -n "$ac_subst_files"; then |
4622 |
+ $as_echo "## ------------------- ## |
4623 |
+## File substitutions. ## |
4624 |
+## ------------------- ##" |
4625 |
+ echo |
4626 |
+ for ac_var in $ac_subst_files |
4627 |
+ do |
4628 |
+ eval ac_val=\$$ac_var |
4629 |
+ case $ac_val in |
4630 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
4631 |
+ esac |
4632 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
4633 |
+ done | sort |
4634 |
+ echo |
4635 |
+ fi |
4636 |
|
4637 |
-# Extract the first word of "rm", so it can be a program name with args. |
4638 |
-set dummy rm; ac_word=$2 |
4639 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4640 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4641 |
-if test "${ac_cv_path_RM+set}" = set; then |
4642 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4643 |
-else |
4644 |
- case $RM in |
4645 |
- [\\/]* | ?:[\\/]*) |
4646 |
- ac_cv_path_RM="$RM" # Let the user override the test with a path. |
4647 |
- ;; |
4648 |
- *) |
4649 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4650 |
-for as_dir in $PATH |
4651 |
-do |
4652 |
- IFS=$as_save_IFS |
4653 |
- test -z "$as_dir" && as_dir=. |
4654 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4655 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4656 |
- ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
4657 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4658 |
- break 2 |
4659 |
- fi |
4660 |
-done |
4661 |
+ if test -s confdefs.h; then |
4662 |
+ $as_echo "## ----------- ## |
4663 |
+## confdefs.h. ## |
4664 |
+## ----------- ##" |
4665 |
+ echo |
4666 |
+ cat confdefs.h |
4667 |
+ echo |
4668 |
+ fi |
4669 |
+ test "$ac_signal" != 0 && |
4670 |
+ $as_echo "$as_me: caught signal $ac_signal" |
4671 |
+ $as_echo "$as_me: exit $exit_status" |
4672 |
+ } >&5 |
4673 |
+ rm -f core *.core core.conftest.* && |
4674 |
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
4675 |
+ exit $exit_status |
4676 |
+' 0 |
4677 |
+for ac_signal in 1 2 13 15; do |
4678 |
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
4679 |
done |
4680 |
-IFS=$as_save_IFS |
4681 |
+ac_signal=0 |
4682 |
|
4683 |
- ;; |
4684 |
-esac |
4685 |
-fi |
4686 |
-RM=$ac_cv_path_RM |
4687 |
-if test -n "$RM"; then |
4688 |
- { echo "$as_me:$LINENO: result: $RM" >&5 |
4689 |
-echo "${ECHO_T}$RM" >&6; } |
4690 |
-else |
4691 |
- { echo "$as_me:$LINENO: result: no" >&5 |
4692 |
-echo "${ECHO_T}no" >&6; } |
4693 |
-fi |
4694 |
+# confdefs.h avoids OS command line length limits that DEFS can exceed. |
4695 |
+rm -f -r conftest* confdefs.h |
4696 |
|
4697 |
+$as_echo "/* confdefs.h */" > confdefs.h |
4698 |
|
4699 |
-# Extract the first word of "cp", so it can be a program name with args. |
4700 |
-set dummy cp; ac_word=$2 |
4701 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4702 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4703 |
-if test "${ac_cv_path_CP+set}" = set; then |
4704 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4705 |
-else |
4706 |
- case $CP in |
4707 |
- [\\/]* | ?:[\\/]*) |
4708 |
- ac_cv_path_CP="$CP" # Let the user override the test with a path. |
4709 |
- ;; |
4710 |
- *) |
4711 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4712 |
-for as_dir in $PATH |
4713 |
-do |
4714 |
- IFS=$as_save_IFS |
4715 |
- test -z "$as_dir" && as_dir=. |
4716 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4717 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4718 |
- ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
4719 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4720 |
- break 2 |
4721 |
- fi |
4722 |
-done |
4723 |
-done |
4724 |
-IFS=$as_save_IFS |
4725 |
+# Predefined preprocessor variables. |
4726 |
|
4727 |
- ;; |
4728 |
-esac |
4729 |
-fi |
4730 |
-CP=$ac_cv_path_CP |
4731 |
-if test -n "$CP"; then |
4732 |
- { echo "$as_me:$LINENO: result: $CP" >&5 |
4733 |
-echo "${ECHO_T}$CP" >&6; } |
4734 |
-else |
4735 |
- { echo "$as_me:$LINENO: result: no" >&5 |
4736 |
-echo "${ECHO_T}no" >&6; } |
4737 |
-fi |
4738 |
+cat >>confdefs.h <<_ACEOF |
4739 |
+#define PACKAGE_NAME "$PACKAGE_NAME" |
4740 |
+_ACEOF |
4741 |
|
4742 |
+cat >>confdefs.h <<_ACEOF |
4743 |
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
4744 |
+_ACEOF |
4745 |
|
4746 |
-# Extract the first word of "mv", so it can be a program name with args. |
4747 |
-set dummy mv; ac_word=$2 |
4748 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4749 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4750 |
-if test "${ac_cv_path_MV+set}" = set; then |
4751 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4752 |
-else |
4753 |
- case $MV in |
4754 |
- [\\/]* | ?:[\\/]*) |
4755 |
- ac_cv_path_MV="$MV" # Let the user override the test with a path. |
4756 |
- ;; |
4757 |
- *) |
4758 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4759 |
-for as_dir in $PATH |
4760 |
-do |
4761 |
- IFS=$as_save_IFS |
4762 |
- test -z "$as_dir" && as_dir=. |
4763 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4764 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4765 |
- ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
4766 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4767 |
- break 2 |
4768 |
- fi |
4769 |
-done |
4770 |
-done |
4771 |
-IFS=$as_save_IFS |
4772 |
+cat >>confdefs.h <<_ACEOF |
4773 |
+#define PACKAGE_VERSION "$PACKAGE_VERSION" |
4774 |
+_ACEOF |
4775 |
|
4776 |
- ;; |
4777 |
-esac |
4778 |
-fi |
4779 |
-MV=$ac_cv_path_MV |
4780 |
-if test -n "$MV"; then |
4781 |
- { echo "$as_me:$LINENO: result: $MV" >&5 |
4782 |
-echo "${ECHO_T}$MV" >&6; } |
4783 |
-else |
4784 |
- { echo "$as_me:$LINENO: result: no" >&5 |
4785 |
-echo "${ECHO_T}no" >&6; } |
4786 |
-fi |
4787 |
+cat >>confdefs.h <<_ACEOF |
4788 |
+#define PACKAGE_STRING "$PACKAGE_STRING" |
4789 |
+_ACEOF |
4790 |
|
4791 |
+cat >>confdefs.h <<_ACEOF |
4792 |
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
4793 |
+_ACEOF |
4794 |
|
4795 |
-# Extract the first word of "ln", so it can be a program name with args. |
4796 |
-set dummy ln; ac_word=$2 |
4797 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4798 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4799 |
-if test "${ac_cv_path_LN+set}" = set; then |
4800 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4801 |
+cat >>confdefs.h <<_ACEOF |
4802 |
+#define PACKAGE_URL "$PACKAGE_URL" |
4803 |
+_ACEOF |
4804 |
+ |
4805 |
+ |
4806 |
+# Let the site file select an alternate cache file if it wants to. |
4807 |
+# Prefer an explicitly selected file to automatically selected ones. |
4808 |
+ac_site_file1=NONE |
4809 |
+ac_site_file2=NONE |
4810 |
+if test -n "$CONFIG_SITE"; then |
4811 |
+ # We do not want a PATH search for config.site. |
4812 |
+ case $CONFIG_SITE in #(( |
4813 |
+ -*) ac_site_file1=./$CONFIG_SITE;; |
4814 |
+ */*) ac_site_file1=$CONFIG_SITE;; |
4815 |
+ *) ac_site_file1=./$CONFIG_SITE;; |
4816 |
+ esac |
4817 |
+elif test "x$prefix" != xNONE; then |
4818 |
+ ac_site_file1=$prefix/share/config.site |
4819 |
+ ac_site_file2=$prefix/etc/config.site |
4820 |
else |
4821 |
- case $LN in |
4822 |
- [\\/]* | ?:[\\/]*) |
4823 |
- ac_cv_path_LN="$LN" # Let the user override the test with a path. |
4824 |
- ;; |
4825 |
- *) |
4826 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4827 |
-for as_dir in $PATH |
4828 |
+ ac_site_file1=$ac_default_prefix/share/config.site |
4829 |
+ ac_site_file2=$ac_default_prefix/etc/config.site |
4830 |
+fi |
4831 |
+for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
4832 |
do |
4833 |
- IFS=$as_save_IFS |
4834 |
- test -z "$as_dir" && as_dir=. |
4835 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4836 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4837 |
- ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
4838 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4839 |
- break 2 |
4840 |
+ test "x$ac_site_file" = xNONE && continue |
4841 |
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
4842 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
4843 |
+$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
4844 |
+ sed 's/^/| /' "$ac_site_file" >&5 |
4845 |
+ . "$ac_site_file" \ |
4846 |
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4847 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4848 |
+as_fn_error $? "failed to load site script $ac_site_file |
4849 |
+See \`config.log' for more details" "$LINENO" 5; } |
4850 |
fi |
4851 |
done |
4852 |
-done |
4853 |
-IFS=$as_save_IFS |
4854 |
|
4855 |
- ;; |
4856 |
-esac |
4857 |
-fi |
4858 |
-LN=$ac_cv_path_LN |
4859 |
-if test -n "$LN"; then |
4860 |
- { echo "$as_me:$LINENO: result: $LN" >&5 |
4861 |
-echo "${ECHO_T}$LN" >&6; } |
4862 |
+if test -r "$cache_file"; then |
4863 |
+ # Some versions of bash will fail to source /dev/null (special files |
4864 |
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
4865 |
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
4866 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
4867 |
+$as_echo "$as_me: loading cache $cache_file" >&6;} |
4868 |
+ case $cache_file in |
4869 |
+ [\\/]* | ?:[\\/]* ) . "$cache_file";; |
4870 |
+ *) . "./$cache_file";; |
4871 |
+ esac |
4872 |
+ fi |
4873 |
else |
4874 |
- { echo "$as_me:$LINENO: result: no" >&5 |
4875 |
-echo "${ECHO_T}no" >&6; } |
4876 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
4877 |
+$as_echo "$as_me: creating cache $cache_file" >&6;} |
4878 |
+ >$cache_file |
4879 |
fi |
4880 |
|
4881 |
- |
4882 |
-# Extract the first word of "sed", so it can be a program name with args. |
4883 |
-set dummy sed; ac_word=$2 |
4884 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4885 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4886 |
-if test "${ac_cv_path_SED+set}" = set; then |
4887 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4888 |
-else |
4889 |
- case $SED in |
4890 |
- [\\/]* | ?:[\\/]*) |
4891 |
- ac_cv_path_SED="$SED" # Let the user override the test with a path. |
4892 |
- ;; |
4893 |
- *) |
4894 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4895 |
-for as_dir in $PATH |
4896 |
-do |
4897 |
- IFS=$as_save_IFS |
4898 |
- test -z "$as_dir" && as_dir=. |
4899 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4900 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4901 |
- ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
4902 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4903 |
- break 2 |
4904 |
+# Check that the precious variables saved in the cache have kept the same |
4905 |
+# value. |
4906 |
+ac_cache_corrupted=false |
4907 |
+for ac_var in $ac_precious_vars; do |
4908 |
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set |
4909 |
+ eval ac_new_set=\$ac_env_${ac_var}_set |
4910 |
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value |
4911 |
+ eval ac_new_val=\$ac_env_${ac_var}_value |
4912 |
+ case $ac_old_set,$ac_new_set in |
4913 |
+ set,) |
4914 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
4915 |
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
4916 |
+ ac_cache_corrupted=: ;; |
4917 |
+ ,set) |
4918 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
4919 |
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
4920 |
+ ac_cache_corrupted=: ;; |
4921 |
+ ,);; |
4922 |
+ *) |
4923 |
+ if test "x$ac_old_val" != "x$ac_new_val"; then |
4924 |
+ # differences in whitespace do not lead to failure. |
4925 |
+ ac_old_val_w=`echo x $ac_old_val` |
4926 |
+ ac_new_val_w=`echo x $ac_new_val` |
4927 |
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then |
4928 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
4929 |
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
4930 |
+ ac_cache_corrupted=: |
4931 |
+ else |
4932 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
4933 |
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
4934 |
+ eval $ac_var=\$ac_old_val |
4935 |
+ fi |
4936 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
4937 |
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
4938 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
4939 |
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
4940 |
+ fi;; |
4941 |
+ esac |
4942 |
+ # Pass precious variables to config.status. |
4943 |
+ if test "$ac_new_set" = set; then |
4944 |
+ case $ac_new_val in |
4945 |
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
4946 |
+ *) ac_arg=$ac_var=$ac_new_val ;; |
4947 |
+ esac |
4948 |
+ case " $ac_configure_args " in |
4949 |
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
4950 |
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
4951 |
+ esac |
4952 |
fi |
4953 |
done |
4954 |
-done |
4955 |
-IFS=$as_save_IFS |
4956 |
+if $ac_cache_corrupted; then |
4957 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4958 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4959 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
4960 |
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
4961 |
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
4962 |
+fi |
4963 |
+## -------------------- ## |
4964 |
+## Main body of script. ## |
4965 |
+## -------------------- ## |
4966 |
|
4967 |
- ;; |
4968 |
-esac |
4969 |
-fi |
4970 |
-SED=$ac_cv_path_SED |
4971 |
-if test -n "$SED"; then |
4972 |
- { echo "$as_me:$LINENO: result: $SED" >&5 |
4973 |
-echo "${ECHO_T}$SED" >&6; } |
4974 |
-else |
4975 |
- { echo "$as_me:$LINENO: result: no" >&5 |
4976 |
-echo "${ECHO_T}no" >&6; } |
4977 |
-fi |
4978 |
+ac_ext=c |
4979 |
+ac_cpp='$CPP $CPPFLAGS' |
4980 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4981 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4982 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4983 |
|
4984 |
|
4985 |
-# Extract the first word of "ar", so it can be a program name with args. |
4986 |
-set dummy ar; ac_word=$2 |
4987 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4988 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4989 |
-if test "${ac_cv_path_AR+set}" = set; then |
4990 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4991 |
-else |
4992 |
- case $AR in |
4993 |
- [\\/]* | ?:[\\/]*) |
4994 |
- ac_cv_path_AR="$AR" # Let the user override the test with a path. |
4995 |
- ;; |
4996 |
- *) |
4997 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4998 |
-for as_dir in $PATH |
4999 |
-do |
5000 |
- IFS=$as_save_IFS |
5001 |
- test -z "$as_dir" && as_dir=. |
5002 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
5003 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5004 |
- ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" |
5005 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5006 |
- break 2 |
5007 |
- fi |
5008 |
-done |
5009 |
-done |
5010 |
-IFS=$as_save_IFS |
5011 |
|
5012 |
- ;; |
5013 |
-esac |
5014 |
-fi |
5015 |
-AR=$ac_cv_path_AR |
5016 |
-if test -n "$AR"; then |
5017 |
- { echo "$as_me:$LINENO: result: $AR" >&5 |
5018 |
-echo "${ECHO_T}$AR" >&6; } |
5019 |
-else |
5020 |
- { echo "$as_me:$LINENO: result: no" >&5 |
5021 |
-echo "${ECHO_T}no" >&6; } |
5022 |
-fi |
5023 |
+ac_config_headers="$ac_config_headers include/setup.h" |
5024 |
|
5025 |
|
5026 |
-# Extract the first word of "ld", so it can be a program name with args. |
5027 |
-set dummy ld; ac_word=$2 |
5028 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5029 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5030 |
-if test "${ac_cv_path_LD+set}" = set; then |
5031 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5032 |
+ |
5033 |
+ |
5034 |
+ac_ext=c |
5035 |
+ac_cpp='$CPP $CPPFLAGS' |
5036 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5037 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5038 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5039 |
+if test -n "$ac_tool_prefix"; then |
5040 |
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
5041 |
+set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
5042 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5043 |
+$as_echo_n "checking for $ac_word... " >&6; } |
5044 |
+if ${ac_cv_prog_CC+:} false; then : |
5045 |
+ $as_echo_n "(cached) " >&6 |
5046 |
else |
5047 |
- case $LD in |
5048 |
- [\\/]* | ?:[\\/]*) |
5049 |
- ac_cv_path_LD="$LD" # Let the user override the test with a path. |
5050 |
- ;; |
5051 |
- *) |
5052 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5053 |
+ if test -n "$CC"; then |
5054 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
5055 |
+else |
5056 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5057 |
for as_dir in $PATH |
5058 |
do |
5059 |
IFS=$as_save_IFS |
5060 |
test -z "$as_dir" && as_dir=. |
5061 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
5062 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5063 |
- ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext" |
5064 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5065 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5066 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5067 |
+ ac_cv_prog_CC="${ac_tool_prefix}gcc" |
5068 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5069 |
break 2 |
5070 |
fi |
5071 |
done |
5072 |
-done |
5073 |
+ done |
5074 |
IFS=$as_save_IFS |
5075 |
|
5076 |
- ;; |
5077 |
-esac |
5078 |
fi |
5079 |
-LD=$ac_cv_path_LD |
5080 |
-if test -n "$LD"; then |
5081 |
- { echo "$as_me:$LINENO: result: $LD" >&5 |
5082 |
-echo "${ECHO_T}$LD" >&6; } |
5083 |
+fi |
5084 |
+CC=$ac_cv_prog_CC |
5085 |
+if test -n "$CC"; then |
5086 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
5087 |
+$as_echo "$CC" >&6; } |
5088 |
else |
5089 |
- { echo "$as_me:$LINENO: result: no" >&5 |
5090 |
-echo "${ECHO_T}no" >&6; } |
5091 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5092 |
+$as_echo "no" >&6; } |
5093 |
fi |
5094 |
|
5095 |
|
5096 |
-# Extract the first word of "test", so it can be a program name with args. |
5097 |
-set dummy test; ac_word=$2 |
5098 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5099 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5100 |
-if test "${ac_cv_path_TEST+set}" = set; then |
5101 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5102 |
+fi |
5103 |
+if test -z "$ac_cv_prog_CC"; then |
5104 |
+ ac_ct_CC=$CC |
5105 |
+ # Extract the first word of "gcc", so it can be a program name with args. |
5106 |
+set dummy gcc; ac_word=$2 |
5107 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5108 |
+$as_echo_n "checking for $ac_word... " >&6; } |
5109 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
5110 |
+ $as_echo_n "(cached) " >&6 |
5111 |
else |
5112 |
- case $TEST in |
5113 |
- [\\/]* | ?:[\\/]*) |
5114 |
- ac_cv_path_TEST="$TEST" # Let the user override the test with a path. |
5115 |
- ;; |
5116 |
- *) |
5117 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5118 |
+ if test -n "$ac_ct_CC"; then |
5119 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
5120 |
+else |
5121 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5122 |
for as_dir in $PATH |
5123 |
do |
5124 |
IFS=$as_save_IFS |
5125 |
test -z "$as_dir" && as_dir=. |
5126 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
5127 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5128 |
- ac_cv_path_TEST="$as_dir/$ac_word$ac_exec_ext" |
5129 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5130 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5131 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5132 |
+ ac_cv_prog_ac_ct_CC="gcc" |
5133 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5134 |
break 2 |
5135 |
fi |
5136 |
done |
5137 |
-done |
5138 |
+ done |
5139 |
IFS=$as_save_IFS |
5140 |
|
5141 |
- test -z "$ac_cv_path_TEST" && ac_cv_path_TEST="test" |
5142 |
- ;; |
5143 |
-esac |
5144 |
-fi |
5145 |
-TEST=$ac_cv_path_TEST |
5146 |
-if test -n "$TEST"; then |
5147 |
- { echo "$as_me:$LINENO: result: $TEST" >&5 |
5148 |
-echo "${ECHO_T}$TEST" >&6; } |
5149 |
-else |
5150 |
- { echo "$as_me:$LINENO: result: no" >&5 |
5151 |
-echo "${ECHO_T}no" >&6; } |
5152 |
fi |
5153 |
- |
5154 |
- |
5155 |
- |
5156 |
-if test "$libexecdir" = '${exec_prefix}/libexec' && |
5157 |
- test "$localstatedir" = '${prefix}/var'; then |
5158 |
- libexecdir='${bindir}' |
5159 |
- localstatedir='${prefix}' |
5160 |
fi |
5161 |
- |
5162 |
-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
5163 |
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
5164 |
-if test "${ac_cv_header_stdc+set}" = set; then |
5165 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5166 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
5167 |
+if test -n "$ac_ct_CC"; then |
5168 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
5169 |
+$as_echo "$ac_ct_CC" >&6; } |
5170 |
else |
5171 |
- cat >conftest.$ac_ext <<_ACEOF |
5172 |
-/* confdefs.h. */ |
5173 |
-_ACEOF |
5174 |
-cat confdefs.h >>conftest.$ac_ext |
5175 |
-cat >>conftest.$ac_ext <<_ACEOF |
5176 |
-/* end confdefs.h. */ |
5177 |
-#include <stdlib.h> |
5178 |
-#include <stdarg.h> |
5179 |
-#include <string.h> |
5180 |
-#include <float.h> |
5181 |
- |
5182 |
-int |
5183 |
-main () |
5184 |
-{ |
5185 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5186 |
+$as_echo "no" >&6; } |
5187 |
+fi |
5188 |
|
5189 |
- ; |
5190 |
- return 0; |
5191 |
-} |
5192 |
-_ACEOF |
5193 |
-rm -f conftest.$ac_objext |
5194 |
-if { (ac_try="$ac_compile" |
5195 |
-case "(($ac_try" in |
5196 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5197 |
- *) ac_try_echo=$ac_try;; |
5198 |
+ if test "x$ac_ct_CC" = x; then |
5199 |
+ CC="" |
5200 |
+ else |
5201 |
+ case $cross_compiling:$ac_tool_warned in |
5202 |
+yes:) |
5203 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5204 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5205 |
+ac_tool_warned=yes ;; |
5206 |
esac |
5207 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5208 |
- (eval "$ac_compile") 2>conftest.er1 |
5209 |
- ac_status=$? |
5210 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5211 |
- rm -f conftest.er1 |
5212 |
- cat conftest.err >&5 |
5213 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5214 |
- (exit $ac_status); } && { |
5215 |
- test -z "$ac_c_werror_flag" || |
5216 |
- test ! -s conftest.err |
5217 |
- } && test -s conftest.$ac_objext; then |
5218 |
- ac_cv_header_stdc=yes |
5219 |
+ CC=$ac_ct_CC |
5220 |
+ fi |
5221 |
else |
5222 |
- echo "$as_me: failed program was:" >&5 |
5223 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5224 |
- |
5225 |
- ac_cv_header_stdc=no |
5226 |
+ CC="$ac_cv_prog_CC" |
5227 |
fi |
5228 |
|
5229 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5230 |
- |
5231 |
-if test $ac_cv_header_stdc = yes; then |
5232 |
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
5233 |
- cat >conftest.$ac_ext <<_ACEOF |
5234 |
-/* confdefs.h. */ |
5235 |
-_ACEOF |
5236 |
-cat confdefs.h >>conftest.$ac_ext |
5237 |
-cat >>conftest.$ac_ext <<_ACEOF |
5238 |
-/* end confdefs.h. */ |
5239 |
-#include <string.h> |
5240 |
- |
5241 |
-_ACEOF |
5242 |
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5243 |
- $EGREP "memchr" >/dev/null 2>&1; then |
5244 |
- : |
5245 |
+if test -z "$CC"; then |
5246 |
+ if test -n "$ac_tool_prefix"; then |
5247 |
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
5248 |
+set dummy ${ac_tool_prefix}cc; ac_word=$2 |
5249 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5250 |
+$as_echo_n "checking for $ac_word... " >&6; } |
5251 |
+if ${ac_cv_prog_CC+:} false; then : |
5252 |
+ $as_echo_n "(cached) " >&6 |
5253 |
else |
5254 |
- ac_cv_header_stdc=no |
5255 |
-fi |
5256 |
-rm -f conftest* |
5257 |
+ if test -n "$CC"; then |
5258 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
5259 |
+else |
5260 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5261 |
+for as_dir in $PATH |
5262 |
+do |
5263 |
+ IFS=$as_save_IFS |
5264 |
+ test -z "$as_dir" && as_dir=. |
5265 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5266 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5267 |
+ ac_cv_prog_CC="${ac_tool_prefix}cc" |
5268 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5269 |
+ break 2 |
5270 |
+ fi |
5271 |
+done |
5272 |
+ done |
5273 |
+IFS=$as_save_IFS |
5274 |
|
5275 |
fi |
5276 |
- |
5277 |
-if test $ac_cv_header_stdc = yes; then |
5278 |
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
5279 |
- cat >conftest.$ac_ext <<_ACEOF |
5280 |
-/* confdefs.h. */ |
5281 |
-_ACEOF |
5282 |
-cat confdefs.h >>conftest.$ac_ext |
5283 |
-cat >>conftest.$ac_ext <<_ACEOF |
5284 |
-/* end confdefs.h. */ |
5285 |
-#include <stdlib.h> |
5286 |
- |
5287 |
-_ACEOF |
5288 |
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5289 |
- $EGREP "free" >/dev/null 2>&1; then |
5290 |
- : |
5291 |
+fi |
5292 |
+CC=$ac_cv_prog_CC |
5293 |
+if test -n "$CC"; then |
5294 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
5295 |
+$as_echo "$CC" >&6; } |
5296 |
else |
5297 |
- ac_cv_header_stdc=no |
5298 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5299 |
+$as_echo "no" >&6; } |
5300 |
fi |
5301 |
-rm -f conftest* |
5302 |
|
5303 |
-fi |
5304 |
|
5305 |
-if test $ac_cv_header_stdc = yes; then |
5306 |
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
5307 |
- if test "$cross_compiling" = yes; then |
5308 |
- : |
5309 |
+ fi |
5310 |
+fi |
5311 |
+if test -z "$CC"; then |
5312 |
+ # Extract the first word of "cc", so it can be a program name with args. |
5313 |
+set dummy cc; ac_word=$2 |
5314 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5315 |
+$as_echo_n "checking for $ac_word... " >&6; } |
5316 |
+if ${ac_cv_prog_CC+:} false; then : |
5317 |
+ $as_echo_n "(cached) " >&6 |
5318 |
else |
5319 |
- cat >conftest.$ac_ext <<_ACEOF |
5320 |
-/* confdefs.h. */ |
5321 |
-_ACEOF |
5322 |
-cat confdefs.h >>conftest.$ac_ext |
5323 |
-cat >>conftest.$ac_ext <<_ACEOF |
5324 |
-/* end confdefs.h. */ |
5325 |
-#include <ctype.h> |
5326 |
-#include <stdlib.h> |
5327 |
-#if ((' ' & 0x0FF) == 0x020) |
5328 |
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
5329 |
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
5330 |
-#else |
5331 |
-# define ISLOWER(c) \ |
5332 |
- (('a' <= (c) && (c) <= 'i') \ |
5333 |
- || ('j' <= (c) && (c) <= 'r') \ |
5334 |
- || ('s' <= (c) && (c) <= 'z')) |
5335 |
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
5336 |
-#endif |
5337 |
- |
5338 |
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
5339 |
-int |
5340 |
-main () |
5341 |
-{ |
5342 |
- int i; |
5343 |
- for (i = 0; i < 256; i++) |
5344 |
- if (XOR (islower (i), ISLOWER (i)) |
5345 |
- || toupper (i) != TOUPPER (i)) |
5346 |
- return 2; |
5347 |
- return 0; |
5348 |
-} |
5349 |
-_ACEOF |
5350 |
-rm -f conftest$ac_exeext |
5351 |
-if { (ac_try="$ac_link" |
5352 |
-case "(($ac_try" in |
5353 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5354 |
- *) ac_try_echo=$ac_try;; |
5355 |
-esac |
5356 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5357 |
- (eval "$ac_link") 2>&5 |
5358 |
- ac_status=$? |
5359 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5360 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5361 |
- { (case "(($ac_try" in |
5362 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5363 |
- *) ac_try_echo=$ac_try;; |
5364 |
-esac |
5365 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5366 |
- (eval "$ac_try") 2>&5 |
5367 |
- ac_status=$? |
5368 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5369 |
- (exit $ac_status); }; }; then |
5370 |
- : |
5371 |
+ if test -n "$CC"; then |
5372 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
5373 |
else |
5374 |
- echo "$as_me: program exited with status $ac_status" >&5 |
5375 |
-echo "$as_me: failed program was:" >&5 |
5376 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5377 |
+ ac_prog_rejected=no |
5378 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5379 |
+for as_dir in $PATH |
5380 |
+do |
5381 |
+ IFS=$as_save_IFS |
5382 |
+ test -z "$as_dir" && as_dir=. |
5383 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5384 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5385 |
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
5386 |
+ ac_prog_rejected=yes |
5387 |
+ continue |
5388 |
+ fi |
5389 |
+ ac_cv_prog_CC="cc" |
5390 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5391 |
+ break 2 |
5392 |
+ fi |
5393 |
+done |
5394 |
+ done |
5395 |
+IFS=$as_save_IFS |
5396 |
|
5397 |
-( exit $ac_status ) |
5398 |
-ac_cv_header_stdc=no |
5399 |
+if test $ac_prog_rejected = yes; then |
5400 |
+ # We found a bogon in the path, so make sure we never use it. |
5401 |
+ set dummy $ac_cv_prog_CC |
5402 |
+ shift |
5403 |
+ if test $# != 0; then |
5404 |
+ # We chose a different compiler from the bogus one. |
5405 |
+ # However, it has the same basename, so the bogon will be chosen |
5406 |
+ # first if we set CC to just the basename; use the full file name. |
5407 |
+ shift |
5408 |
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
5409 |
+ fi |
5410 |
fi |
5411 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5412 |
fi |
5413 |
- |
5414 |
- |
5415 |
fi |
5416 |
+CC=$ac_cv_prog_CC |
5417 |
+if test -n "$CC"; then |
5418 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
5419 |
+$as_echo "$CC" >&6; } |
5420 |
+else |
5421 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5422 |
+$as_echo "no" >&6; } |
5423 |
fi |
5424 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
5425 |
-echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
5426 |
-if test $ac_cv_header_stdc = yes; then |
5427 |
|
5428 |
-cat >>confdefs.h <<\_ACEOF |
5429 |
-#define STDC_HEADERS 1 |
5430 |
-_ACEOF |
5431 |
|
5432 |
fi |
5433 |
- |
5434 |
- |
5435 |
-# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
5436 |
- |
5437 |
- |
5438 |
- |
5439 |
- |
5440 |
- |
5441 |
- |
5442 |
- |
5443 |
- |
5444 |
- |
5445 |
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
5446 |
- inttypes.h stdint.h unistd.h |
5447 |
-do |
5448 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5449 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5450 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5451 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5452 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5453 |
+if test -z "$CC"; then |
5454 |
+ if test -n "$ac_tool_prefix"; then |
5455 |
+ for ac_prog in cl.exe |
5456 |
+ do |
5457 |
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5458 |
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5459 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5460 |
+$as_echo_n "checking for $ac_word... " >&6; } |
5461 |
+if ${ac_cv_prog_CC+:} false; then : |
5462 |
+ $as_echo_n "(cached) " >&6 |
5463 |
else |
5464 |
- cat >conftest.$ac_ext <<_ACEOF |
5465 |
-/* confdefs.h. */ |
5466 |
-_ACEOF |
5467 |
-cat confdefs.h >>conftest.$ac_ext |
5468 |
-cat >>conftest.$ac_ext <<_ACEOF |
5469 |
-/* end confdefs.h. */ |
5470 |
-$ac_includes_default |
5471 |
- |
5472 |
-#include <$ac_header> |
5473 |
-_ACEOF |
5474 |
-rm -f conftest.$ac_objext |
5475 |
-if { (ac_try="$ac_compile" |
5476 |
-case "(($ac_try" in |
5477 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5478 |
- *) ac_try_echo=$ac_try;; |
5479 |
-esac |
5480 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5481 |
- (eval "$ac_compile") 2>conftest.er1 |
5482 |
- ac_status=$? |
5483 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5484 |
- rm -f conftest.er1 |
5485 |
- cat conftest.err >&5 |
5486 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5487 |
- (exit $ac_status); } && { |
5488 |
- test -z "$ac_c_werror_flag" || |
5489 |
- test ! -s conftest.err |
5490 |
- } && test -s conftest.$ac_objext; then |
5491 |
- eval "$as_ac_Header=yes" |
5492 |
+ if test -n "$CC"; then |
5493 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
5494 |
else |
5495 |
- echo "$as_me: failed program was:" >&5 |
5496 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5497 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5498 |
+for as_dir in $PATH |
5499 |
+do |
5500 |
+ IFS=$as_save_IFS |
5501 |
+ test -z "$as_dir" && as_dir=. |
5502 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5503 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5504 |
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
5505 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5506 |
+ break 2 |
5507 |
+ fi |
5508 |
+done |
5509 |
+ done |
5510 |
+IFS=$as_save_IFS |
5511 |
|
5512 |
- eval "$as_ac_Header=no" |
5513 |
fi |
5514 |
- |
5515 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5516 |
fi |
5517 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
5518 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5519 |
-echo "${ECHO_T}$ac_res" >&6; } |
5520 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5521 |
- cat >>confdefs.h <<_ACEOF |
5522 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5523 |
-_ACEOF |
5524 |
- |
5525 |
+CC=$ac_cv_prog_CC |
5526 |
+if test -n "$CC"; then |
5527 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
5528 |
+$as_echo "$CC" >&6; } |
5529 |
+else |
5530 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5531 |
+$as_echo "no" >&6; } |
5532 |
fi |
5533 |
|
5534 |
-done |
5535 |
- |
5536 |
- |
5537 |
- |
5538 |
- |
5539 |
- |
5540 |
- |
5541 |
- |
5542 |
- |
5543 |
- |
5544 |
- |
5545 |
- |
5546 |
- |
5547 |
- |
5548 |
|
5549 |
-for ac_header in crypt.h inttypes.h stdint.h sys/resource.h sys/param.h errno.h sys/syslog.h stddef.h libgen.h sys/wait.h wait.h link.h |
5550 |
+ test -n "$CC" && break |
5551 |
+ done |
5552 |
+fi |
5553 |
+if test -z "$CC"; then |
5554 |
+ ac_ct_CC=$CC |
5555 |
+ for ac_prog in cl.exe |
5556 |
do |
5557 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5558 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5559 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5560 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5561 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5562 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5563 |
-fi |
5564 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
5565 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5566 |
-echo "${ECHO_T}$ac_res" >&6; } |
5567 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
5568 |
+set dummy $ac_prog; ac_word=$2 |
5569 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5570 |
+$as_echo_n "checking for $ac_word... " >&6; } |
5571 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
5572 |
+ $as_echo_n "(cached) " >&6 |
5573 |
else |
5574 |
- # Is the header compilable? |
5575 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5576 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
5577 |
-cat >conftest.$ac_ext <<_ACEOF |
5578 |
-/* confdefs.h. */ |
5579 |
-_ACEOF |
5580 |
-cat confdefs.h >>conftest.$ac_ext |
5581 |
-cat >>conftest.$ac_ext <<_ACEOF |
5582 |
-/* end confdefs.h. */ |
5583 |
-$ac_includes_default |
5584 |
-#include <$ac_header> |
5585 |
-_ACEOF |
5586 |
-rm -f conftest.$ac_objext |
5587 |
-if { (ac_try="$ac_compile" |
5588 |
-case "(($ac_try" in |
5589 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5590 |
- *) ac_try_echo=$ac_try;; |
5591 |
-esac |
5592 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5593 |
- (eval "$ac_compile") 2>conftest.er1 |
5594 |
- ac_status=$? |
5595 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5596 |
- rm -f conftest.er1 |
5597 |
- cat conftest.err >&5 |
5598 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5599 |
- (exit $ac_status); } && { |
5600 |
- test -z "$ac_c_werror_flag" || |
5601 |
- test ! -s conftest.err |
5602 |
- } && test -s conftest.$ac_objext; then |
5603 |
- ac_header_compiler=yes |
5604 |
+ if test -n "$ac_ct_CC"; then |
5605 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
5606 |
else |
5607 |
- echo "$as_me: failed program was:" >&5 |
5608 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5609 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5610 |
+for as_dir in $PATH |
5611 |
+do |
5612 |
+ IFS=$as_save_IFS |
5613 |
+ test -z "$as_dir" && as_dir=. |
5614 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5615 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5616 |
+ ac_cv_prog_ac_ct_CC="$ac_prog" |
5617 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5618 |
+ break 2 |
5619 |
+ fi |
5620 |
+done |
5621 |
+ done |
5622 |
+IFS=$as_save_IFS |
5623 |
|
5624 |
- ac_header_compiler=no |
5625 |
fi |
5626 |
- |
5627 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5628 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5629 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
5630 |
- |
5631 |
-# Is the header present? |
5632 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5633 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
5634 |
-cat >conftest.$ac_ext <<_ACEOF |
5635 |
-/* confdefs.h. */ |
5636 |
-_ACEOF |
5637 |
-cat confdefs.h >>conftest.$ac_ext |
5638 |
-cat >>conftest.$ac_ext <<_ACEOF |
5639 |
-/* end confdefs.h. */ |
5640 |
-#include <$ac_header> |
5641 |
-_ACEOF |
5642 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
5643 |
-case "(($ac_try" in |
5644 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5645 |
- *) ac_try_echo=$ac_try;; |
5646 |
-esac |
5647 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5648 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5649 |
- ac_status=$? |
5650 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5651 |
- rm -f conftest.er1 |
5652 |
- cat conftest.err >&5 |
5653 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5654 |
- (exit $ac_status); } >/dev/null && { |
5655 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
5656 |
- test ! -s conftest.err |
5657 |
- }; then |
5658 |
- ac_header_preproc=yes |
5659 |
+fi |
5660 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
5661 |
+if test -n "$ac_ct_CC"; then |
5662 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
5663 |
+$as_echo "$ac_ct_CC" >&6; } |
5664 |
else |
5665 |
- echo "$as_me: failed program was:" >&5 |
5666 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5667 |
- |
5668 |
- ac_header_preproc=no |
5669 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5670 |
+$as_echo "no" >&6; } |
5671 |
fi |
5672 |
|
5673 |
-rm -f conftest.err conftest.$ac_ext |
5674 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5675 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
5676 |
|
5677 |
-# So? What about this header? |
5678 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5679 |
- yes:no: ) |
5680 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5681 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5682 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5683 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5684 |
- ac_header_preproc=yes |
5685 |
- ;; |
5686 |
- no:yes:* ) |
5687 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5688 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5689 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5690 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5691 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5692 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5693 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5694 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5695 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5696 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5697 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5698 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5699 |
+ test -n "$ac_ct_CC" && break |
5700 |
+done |
5701 |
|
5702 |
- ;; |
5703 |
+ if test "x$ac_ct_CC" = x; then |
5704 |
+ CC="" |
5705 |
+ else |
5706 |
+ case $cross_compiling:$ac_tool_warned in |
5707 |
+yes:) |
5708 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5709 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5710 |
+ac_tool_warned=yes ;; |
5711 |
esac |
5712 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5713 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5714 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5715 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5716 |
-else |
5717 |
- eval "$as_ac_Header=\$ac_header_preproc" |
5718 |
-fi |
5719 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
5720 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5721 |
-echo "${ECHO_T}$ac_res" >&6; } |
5722 |
- |
5723 |
+ CC=$ac_ct_CC |
5724 |
+ fi |
5725 |
fi |
5726 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5727 |
- cat >>confdefs.h <<_ACEOF |
5728 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5729 |
-_ACEOF |
5730 |
|
5731 |
fi |
5732 |
|
5733 |
-done |
5734 |
|
5735 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5736 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5737 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
5738 |
+See \`config.log' for more details" "$LINENO" 5; } |
5739 |
|
5740 |
+# Provide some information about the compiler. |
5741 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
5742 |
+set X $ac_compile |
5743 |
+ac_compiler=$2 |
5744 |
+for ac_option in --version -v -V -qversion; do |
5745 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
5746 |
+case "(($ac_try" in |
5747 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5748 |
+ *) ac_try_echo=$ac_try;; |
5749 |
+esac |
5750 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
5751 |
+$as_echo "$ac_try_echo"; } >&5 |
5752 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
5753 |
+ ac_status=$? |
5754 |
+ if test -s conftest.err; then |
5755 |
+ sed '10a\ |
5756 |
+... rest of stderr output deleted ... |
5757 |
+ 10q' conftest.err >conftest.er1 |
5758 |
+ cat conftest.er1 >&5 |
5759 |
+ fi |
5760 |
+ rm -f conftest.er1 conftest.err |
5761 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5762 |
+ test $ac_status = 0; } |
5763 |
+done |
5764 |
|
5765 |
-{ echo "$as_me:$LINENO: checking for library containing socket" >&5 |
5766 |
-echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; } |
5767 |
-if test "${ac_cv_search_socket+set}" = set; then |
5768 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5769 |
-else |
5770 |
- ac_func_search_save_LIBS=$LIBS |
5771 |
-cat >conftest.$ac_ext <<_ACEOF |
5772 |
-/* confdefs.h. */ |
5773 |
-_ACEOF |
5774 |
-cat confdefs.h >>conftest.$ac_ext |
5775 |
-cat >>conftest.$ac_ext <<_ACEOF |
5776 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5777 |
/* end confdefs.h. */ |
5778 |
|
5779 |
-/* Override any GCC internal prototype to avoid an error. |
5780 |
- Use char because int might match the return type of a GCC |
5781 |
- builtin and then its argument prototype would still apply. */ |
5782 |
-#ifdef __cplusplus |
5783 |
-extern "C" |
5784 |
-#endif |
5785 |
-char socket (); |
5786 |
int |
5787 |
main () |
5788 |
{ |
5789 |
-return socket (); |
5790 |
+ |
5791 |
; |
5792 |
return 0; |
5793 |
} |
5794 |
_ACEOF |
5795 |
-for ac_lib in '' socket; do |
5796 |
- if test -z "$ac_lib"; then |
5797 |
- ac_res="none required" |
5798 |
- else |
5799 |
- ac_res=-l$ac_lib |
5800 |
- LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
5801 |
- fi |
5802 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
5803 |
-if { (ac_try="$ac_link" |
5804 |
+ac_clean_files_save=$ac_clean_files |
5805 |
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
5806 |
+# Try to create an executable without -o first, disregard a.out. |
5807 |
+# It will help us diagnose broken compilers, and finding out an intuition |
5808 |
+# of exeext. |
5809 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
5810 |
+$as_echo_n "checking whether the C compiler works... " >&6; } |
5811 |
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
5812 |
+ |
5813 |
+# The possible output files: |
5814 |
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
5815 |
+ |
5816 |
+ac_rmfiles= |
5817 |
+for ac_file in $ac_files |
5818 |
+do |
5819 |
+ case $ac_file in |
5820 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
5821 |
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
5822 |
+ esac |
5823 |
+done |
5824 |
+rm -f $ac_rmfiles |
5825 |
+ |
5826 |
+if { { ac_try="$ac_link_default" |
5827 |
case "(($ac_try" in |
5828 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5829 |
*) ac_try_echo=$ac_try;; |
5830 |
esac |
5831 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5832 |
- (eval "$ac_link") 2>conftest.er1 |
5833 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
5834 |
+$as_echo "$ac_try_echo"; } >&5 |
5835 |
+ (eval "$ac_link_default") 2>&5 |
5836 |
ac_status=$? |
5837 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5838 |
- rm -f conftest.er1 |
5839 |
- cat conftest.err >&5 |
5840 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5841 |
- (exit $ac_status); } && { |
5842 |
- test -z "$ac_c_werror_flag" || |
5843 |
- test ! -s conftest.err |
5844 |
- } && test -s conftest$ac_exeext && |
5845 |
- $as_test_x conftest$ac_exeext; then |
5846 |
- ac_cv_search_socket=$ac_res |
5847 |
-else |
5848 |
- echo "$as_me: failed program was:" >&5 |
5849 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5850 |
- |
5851 |
- |
5852 |
-fi |
5853 |
- |
5854 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5855 |
- conftest$ac_exeext |
5856 |
- if test "${ac_cv_search_socket+set}" = set; then |
5857 |
- break |
5858 |
-fi |
5859 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5860 |
+ test $ac_status = 0; }; then : |
5861 |
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
5862 |
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
5863 |
+# in a Makefile. We should not override ac_cv_exeext if it was cached, |
5864 |
+# so that the user can short-circuit this test for compilers unknown to |
5865 |
+# Autoconf. |
5866 |
+for ac_file in $ac_files '' |
5867 |
+do |
5868 |
+ test -f "$ac_file" || continue |
5869 |
+ case $ac_file in |
5870 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
5871 |
+ ;; |
5872 |
+ [ab].out ) |
5873 |
+ # We found the default executable, but exeext='' is most |
5874 |
+ # certainly right. |
5875 |
+ break;; |
5876 |
+ *.* ) |
5877 |
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
5878 |
+ then :; else |
5879 |
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
5880 |
+ fi |
5881 |
+ # We set ac_cv_exeext here because the later test for it is not |
5882 |
+ # safe: cross compilers may not add the suffix if given an `-o' |
5883 |
+ # argument, so we may need to know it at that point already. |
5884 |
+ # Even if this section looks crufty: it has the advantage of |
5885 |
+ # actually working. |
5886 |
+ break;; |
5887 |
+ * ) |
5888 |
+ break;; |
5889 |
+ esac |
5890 |
done |
5891 |
-if test "${ac_cv_search_socket+set}" = set; then |
5892 |
- : |
5893 |
-else |
5894 |
- ac_cv_search_socket=no |
5895 |
-fi |
5896 |
-rm conftest.$ac_ext |
5897 |
-LIBS=$ac_func_search_save_LIBS |
5898 |
-fi |
5899 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 |
5900 |
-echo "${ECHO_T}$ac_cv_search_socket" >&6; } |
5901 |
-ac_res=$ac_cv_search_socket |
5902 |
-if test "$ac_res" != no; then |
5903 |
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
5904 |
+test "$ac_cv_exeext" = no && ac_cv_exeext= |
5905 |
|
5906 |
else |
5907 |
- { { echo "$as_me:$LINENO: error: You have no socket()! Aborting." >&5 |
5908 |
-echo "$as_me: error: You have no socket()! Aborting." >&2;} |
5909 |
- { (exit 1); exit 1; }; } |
5910 |
+ ac_file='' |
5911 |
fi |
5912 |
+if test -z "$ac_file"; then : |
5913 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5914 |
+$as_echo "no" >&6; } |
5915 |
+$as_echo "$as_me: failed program was:" >&5 |
5916 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
5917 |
+ |
5918 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5919 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5920 |
+as_fn_error 77 "C compiler cannot create executables |
5921 |
+See \`config.log' for more details" "$LINENO" 5; } |
5922 |
+else |
5923 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5924 |
+$as_echo "yes" >&6; } |
5925 |
+fi |
5926 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
5927 |
+$as_echo_n "checking for C compiler default output file name... " >&6; } |
5928 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
5929 |
+$as_echo "$ac_file" >&6; } |
5930 |
+ac_exeext=$ac_cv_exeext |
5931 |
|
5932 |
- |
5933 |
-{ echo "$as_me:$LINENO: checking for library containing inet_aton" >&5 |
5934 |
-echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; } |
5935 |
-if test "${ac_cv_search_inet_aton+set}" = set; then |
5936 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5937 |
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
5938 |
+ac_clean_files=$ac_clean_files_save |
5939 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
5940 |
+$as_echo_n "checking for suffix of executables... " >&6; } |
5941 |
+if { { ac_try="$ac_link" |
5942 |
+case "(($ac_try" in |
5943 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5944 |
+ *) ac_try_echo=$ac_try;; |
5945 |
+esac |
5946 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
5947 |
+$as_echo "$ac_try_echo"; } >&5 |
5948 |
+ (eval "$ac_link") 2>&5 |
5949 |
+ ac_status=$? |
5950 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5951 |
+ test $ac_status = 0; }; then : |
5952 |
+ # If both `conftest.exe' and `conftest' are `present' (well, observable) |
5953 |
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
5954 |
+# work properly (i.e., refer to `conftest.exe'), while it won't with |
5955 |
+# `rm'. |
5956 |
+for ac_file in conftest.exe conftest conftest.*; do |
5957 |
+ test -f "$ac_file" || continue |
5958 |
+ case $ac_file in |
5959 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
5960 |
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
5961 |
+ break;; |
5962 |
+ * ) break;; |
5963 |
+ esac |
5964 |
+done |
5965 |
else |
5966 |
- ac_func_search_save_LIBS=$LIBS |
5967 |
-cat >conftest.$ac_ext <<_ACEOF |
5968 |
-/* confdefs.h. */ |
5969 |
-_ACEOF |
5970 |
-cat confdefs.h >>conftest.$ac_ext |
5971 |
-cat >>conftest.$ac_ext <<_ACEOF |
5972 |
-/* end confdefs.h. */ |
5973 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5974 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5975 |
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
5976 |
+See \`config.log' for more details" "$LINENO" 5; } |
5977 |
+fi |
5978 |
+rm -f conftest conftest$ac_cv_exeext |
5979 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
5980 |
+$as_echo "$ac_cv_exeext" >&6; } |
5981 |
|
5982 |
-/* Override any GCC internal prototype to avoid an error. |
5983 |
- Use char because int might match the return type of a GCC |
5984 |
- builtin and then its argument prototype would still apply. */ |
5985 |
-#ifdef __cplusplus |
5986 |
-extern "C" |
5987 |
-#endif |
5988 |
-char inet_aton (); |
5989 |
+rm -f conftest.$ac_ext |
5990 |
+EXEEXT=$ac_cv_exeext |
5991 |
+ac_exeext=$EXEEXT |
5992 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5993 |
+/* end confdefs.h. */ |
5994 |
+#include <stdio.h> |
5995 |
int |
5996 |
main () |
5997 |
{ |
5998 |
-return inet_aton (); |
5999 |
+FILE *f = fopen ("conftest.out", "w"); |
6000 |
+ return ferror (f) || fclose (f) != 0; |
6001 |
+ |
6002 |
; |
6003 |
return 0; |
6004 |
} |
6005 |
_ACEOF |
6006 |
-for ac_lib in '' resolv; do |
6007 |
- if test -z "$ac_lib"; then |
6008 |
- ac_res="none required" |
6009 |
- else |
6010 |
- ac_res=-l$ac_lib |
6011 |
- LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
6012 |
- fi |
6013 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
6014 |
-if { (ac_try="$ac_link" |
6015 |
+ac_clean_files="$ac_clean_files conftest.out" |
6016 |
+# Check that the compiler produces executables we can run. If not, either |
6017 |
+# the compiler is broken, or we cross compile. |
6018 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
6019 |
+$as_echo_n "checking whether we are cross compiling... " >&6; } |
6020 |
+if test "$cross_compiling" != yes; then |
6021 |
+ { { ac_try="$ac_link" |
6022 |
case "(($ac_try" in |
6023 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6024 |
*) ac_try_echo=$ac_try;; |
6025 |
esac |
6026 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6027 |
- (eval "$ac_link") 2>conftest.er1 |
6028 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
6029 |
+$as_echo "$ac_try_echo"; } >&5 |
6030 |
+ (eval "$ac_link") 2>&5 |
6031 |
ac_status=$? |
6032 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6033 |
- rm -f conftest.er1 |
6034 |
- cat conftest.err >&5 |
6035 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6036 |
- (exit $ac_status); } && { |
6037 |
- test -z "$ac_c_werror_flag" || |
6038 |
- test ! -s conftest.err |
6039 |
- } && test -s conftest$ac_exeext && |
6040 |
- $as_test_x conftest$ac_exeext; then |
6041 |
- ac_cv_search_inet_aton=$ac_res |
6042 |
-else |
6043 |
- echo "$as_me: failed program was:" >&5 |
6044 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6045 |
- |
6046 |
- |
6047 |
-fi |
6048 |
- |
6049 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6050 |
- conftest$ac_exeext |
6051 |
- if test "${ac_cv_search_inet_aton+set}" = set; then |
6052 |
- break |
6053 |
-fi |
6054 |
-done |
6055 |
-if test "${ac_cv_search_inet_aton+set}" = set; then |
6056 |
- : |
6057 |
-else |
6058 |
- ac_cv_search_inet_aton=no |
6059 |
-fi |
6060 |
-rm conftest.$ac_ext |
6061 |
-LIBS=$ac_func_search_save_LIBS |
6062 |
-fi |
6063 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5 |
6064 |
-echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; } |
6065 |
-ac_res=$ac_cv_search_inet_aton |
6066 |
-if test "$ac_res" != no; then |
6067 |
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
6068 |
- |
6069 |
-else |
6070 |
- inet_misc=1; |
6071 |
-cat >>confdefs.h <<\_ACEOF |
6072 |
-#define NO_INET_ATON 1 |
6073 |
-_ACEOF |
6074 |
- |
6075 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6076 |
+ test $ac_status = 0; } |
6077 |
+ if { ac_try='./conftest$ac_cv_exeext' |
6078 |
+ { { case "(($ac_try" in |
6079 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6080 |
+ *) ac_try_echo=$ac_try;; |
6081 |
+esac |
6082 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
6083 |
+$as_echo "$ac_try_echo"; } >&5 |
6084 |
+ (eval "$ac_try") 2>&5 |
6085 |
+ ac_status=$? |
6086 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6087 |
+ test $ac_status = 0; }; }; then |
6088 |
+ cross_compiling=no |
6089 |
+ else |
6090 |
+ if test "$cross_compiling" = maybe; then |
6091 |
+ cross_compiling=yes |
6092 |
+ else |
6093 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6094 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6095 |
+as_fn_error $? "cannot run C compiled programs. |
6096 |
+If you meant to cross compile, use \`--host'. |
6097 |
+See \`config.log' for more details" "$LINENO" 5; } |
6098 |
+ fi |
6099 |
+ fi |
6100 |
fi |
6101 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
6102 |
+$as_echo "$cross_compiling" >&6; } |
6103 |
|
6104 |
-{ echo "$as_me:$LINENO: checking for library containing inet_pton" >&5 |
6105 |
-echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6; } |
6106 |
-if test "${ac_cv_search_inet_pton+set}" = set; then |
6107 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6108 |
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
6109 |
+ac_clean_files=$ac_clean_files_save |
6110 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
6111 |
+$as_echo_n "checking for suffix of object files... " >&6; } |
6112 |
+if ${ac_cv_objext+:} false; then : |
6113 |
+ $as_echo_n "(cached) " >&6 |
6114 |
else |
6115 |
- ac_func_search_save_LIBS=$LIBS |
6116 |
-cat >conftest.$ac_ext <<_ACEOF |
6117 |
-/* confdefs.h. */ |
6118 |
-_ACEOF |
6119 |
-cat confdefs.h >>conftest.$ac_ext |
6120 |
-cat >>conftest.$ac_ext <<_ACEOF |
6121 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6122 |
/* end confdefs.h. */ |
6123 |
|
6124 |
-/* Override any GCC internal prototype to avoid an error. |
6125 |
- Use char because int might match the return type of a GCC |
6126 |
- builtin and then its argument prototype would still apply. */ |
6127 |
-#ifdef __cplusplus |
6128 |
-extern "C" |
6129 |
-#endif |
6130 |
-char inet_pton (); |
6131 |
int |
6132 |
main () |
6133 |
{ |
6134 |
-return inet_pton (); |
6135 |
+ |
6136 |
; |
6137 |
return 0; |
6138 |
} |
6139 |
_ACEOF |
6140 |
-for ac_lib in '' resolv nsl; do |
6141 |
- if test -z "$ac_lib"; then |
6142 |
- ac_res="none required" |
6143 |
- else |
6144 |
- ac_res=-l$ac_lib |
6145 |
- LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
6146 |
- fi |
6147 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
6148 |
-if { (ac_try="$ac_link" |
6149 |
+rm -f conftest.o conftest.obj |
6150 |
+if { { ac_try="$ac_compile" |
6151 |
case "(($ac_try" in |
6152 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6153 |
*) ac_try_echo=$ac_try;; |
6154 |
esac |
6155 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6156 |
- (eval "$ac_link") 2>conftest.er1 |
6157 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
6158 |
+$as_echo "$ac_try_echo"; } >&5 |
6159 |
+ (eval "$ac_compile") 2>&5 |
6160 |
ac_status=$? |
6161 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6162 |
- rm -f conftest.er1 |
6163 |
- cat conftest.err >&5 |
6164 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6165 |
- (exit $ac_status); } && { |
6166 |
- test -z "$ac_c_werror_flag" || |
6167 |
- test ! -s conftest.err |
6168 |
- } && test -s conftest$ac_exeext && |
6169 |
- $as_test_x conftest$ac_exeext; then |
6170 |
- ac_cv_search_inet_pton=$ac_res |
6171 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6172 |
+ test $ac_status = 0; }; then : |
6173 |
+ for ac_file in conftest.o conftest.obj conftest.*; do |
6174 |
+ test -f "$ac_file" || continue; |
6175 |
+ case $ac_file in |
6176 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
6177 |
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
6178 |
+ break;; |
6179 |
+ esac |
6180 |
+done |
6181 |
else |
6182 |
- echo "$as_me: failed program was:" >&5 |
6183 |
+ $as_echo "$as_me: failed program was:" >&5 |
6184 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6185 |
|
6186 |
- |
6187 |
-fi |
6188 |
- |
6189 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6190 |
- conftest$ac_exeext |
6191 |
- if test "${ac_cv_search_inet_pton+set}" = set; then |
6192 |
- break |
6193 |
-fi |
6194 |
-done |
6195 |
-if test "${ac_cv_search_inet_pton+set}" = set; then |
6196 |
- : |
6197 |
-else |
6198 |
- ac_cv_search_inet_pton=no |
6199 |
-fi |
6200 |
-rm conftest.$ac_ext |
6201 |
-LIBS=$ac_func_search_save_LIBS |
6202 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6203 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6204 |
+as_fn_error $? "cannot compute suffix of object files: cannot compile |
6205 |
+See \`config.log' for more details" "$LINENO" 5; } |
6206 |
fi |
6207 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5 |
6208 |
-echo "${ECHO_T}$ac_cv_search_inet_pton" >&6; } |
6209 |
-ac_res=$ac_cv_search_inet_pton |
6210 |
-if test "$ac_res" != no; then |
6211 |
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
6212 |
- |
6213 |
-else |
6214 |
- inet_misc=1; |
6215 |
-cat >>confdefs.h <<\_ACEOF |
6216 |
-#define NO_INET_PTON 1 |
6217 |
-_ACEOF |
6218 |
- |
6219 |
+rm -f conftest.$ac_cv_objext conftest.$ac_ext |
6220 |
fi |
6221 |
- |
6222 |
-{ echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5 |
6223 |
-echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6; } |
6224 |
-if test "${ac_cv_search_inet_ntop+set}" = set; then |
6225 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6226 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
6227 |
+$as_echo "$ac_cv_objext" >&6; } |
6228 |
+OBJEXT=$ac_cv_objext |
6229 |
+ac_objext=$OBJEXT |
6230 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
6231 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
6232 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
6233 |
+ $as_echo_n "(cached) " >&6 |
6234 |
else |
6235 |
- ac_func_search_save_LIBS=$LIBS |
6236 |
-cat >conftest.$ac_ext <<_ACEOF |
6237 |
-/* confdefs.h. */ |
6238 |
-_ACEOF |
6239 |
-cat confdefs.h >>conftest.$ac_ext |
6240 |
-cat >>conftest.$ac_ext <<_ACEOF |
6241 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6242 |
/* end confdefs.h. */ |
6243 |
|
6244 |
-/* Override any GCC internal prototype to avoid an error. |
6245 |
- Use char because int might match the return type of a GCC |
6246 |
- builtin and then its argument prototype would still apply. */ |
6247 |
-#ifdef __cplusplus |
6248 |
-extern "C" |
6249 |
-#endif |
6250 |
-char inet_ntop (); |
6251 |
int |
6252 |
main () |
6253 |
{ |
6254 |
-return inet_ntop (); |
6255 |
+#ifndef __GNUC__ |
6256 |
+ choke me |
6257 |
+#endif |
6258 |
+ |
6259 |
; |
6260 |
return 0; |
6261 |
} |
6262 |
_ACEOF |
6263 |
-for ac_lib in '' resolv nsl; do |
6264 |
- if test -z "$ac_lib"; then |
6265 |
- ac_res="none required" |
6266 |
- else |
6267 |
- ac_res=-l$ac_lib |
6268 |
- LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
6269 |
- fi |
6270 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
6271 |
-if { (ac_try="$ac_link" |
6272 |
-case "(($ac_try" in |
6273 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6274 |
- *) ac_try_echo=$ac_try;; |
6275 |
-esac |
6276 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6277 |
- (eval "$ac_link") 2>conftest.er1 |
6278 |
- ac_status=$? |
6279 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6280 |
- rm -f conftest.er1 |
6281 |
- cat conftest.err >&5 |
6282 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6283 |
- (exit $ac_status); } && { |
6284 |
- test -z "$ac_c_werror_flag" || |
6285 |
- test ! -s conftest.err |
6286 |
- } && test -s conftest$ac_exeext && |
6287 |
- $as_test_x conftest$ac_exeext; then |
6288 |
- ac_cv_search_inet_ntop=$ac_res |
6289 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6290 |
+ ac_compiler_gnu=yes |
6291 |
else |
6292 |
- echo "$as_me: failed program was:" >&5 |
6293 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6294 |
- |
6295 |
- |
6296 |
+ ac_compiler_gnu=no |
6297 |
fi |
6298 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6299 |
+ac_cv_c_compiler_gnu=$ac_compiler_gnu |
6300 |
|
6301 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6302 |
- conftest$ac_exeext |
6303 |
- if test "${ac_cv_search_inet_ntop+set}" = set; then |
6304 |
- break |
6305 |
fi |
6306 |
-done |
6307 |
-if test "${ac_cv_search_inet_ntop+set}" = set; then |
6308 |
- : |
6309 |
-else |
6310 |
- ac_cv_search_inet_ntop=no |
6311 |
-fi |
6312 |
-rm conftest.$ac_ext |
6313 |
-LIBS=$ac_func_search_save_LIBS |
6314 |
-fi |
6315 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5 |
6316 |
-echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6; } |
6317 |
-ac_res=$ac_cv_search_inet_ntop |
6318 |
-if test "$ac_res" != no; then |
6319 |
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
6320 |
- |
6321 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
6322 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
6323 |
+if test $ac_compiler_gnu = yes; then |
6324 |
+ GCC=yes |
6325 |
else |
6326 |
- inet_misc=1; |
6327 |
-cat >>confdefs.h <<\_ACEOF |
6328 |
-#define NO_INET_NTOP 1 |
6329 |
-_ACEOF |
6330 |
- |
6331 |
-fi |
6332 |
- |
6333 |
- |
6334 |
-if test "$inet_misc" = 1; then |
6335 |
- INET_MISC=inet_misc.c |
6336 |
- |
6337 |
+ GCC= |
6338 |
fi |
6339 |
- |
6340 |
-{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 |
6341 |
-echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; } |
6342 |
-if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then |
6343 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6344 |
+ac_test_CFLAGS=${CFLAGS+set} |
6345 |
+ac_save_CFLAGS=$CFLAGS |
6346 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
6347 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
6348 |
+if ${ac_cv_prog_cc_g+:} false; then : |
6349 |
+ $as_echo_n "(cached) " >&6 |
6350 |
else |
6351 |
- cat >conftest.$ac_ext <<_ACEOF |
6352 |
-/* confdefs.h. */ |
6353 |
-_ACEOF |
6354 |
-cat confdefs.h >>conftest.$ac_ext |
6355 |
-cat >>conftest.$ac_ext <<_ACEOF |
6356 |
+ ac_save_c_werror_flag=$ac_c_werror_flag |
6357 |
+ ac_c_werror_flag=yes |
6358 |
+ ac_cv_prog_cc_g=no |
6359 |
+ CFLAGS="-g" |
6360 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6361 |
/* end confdefs.h. */ |
6362 |
-#include <sys/types.h> |
6363 |
-#include <sys/socket.h> |
6364 |
|
6365 |
- |
6366 |
-typedef struct sockaddr_storage ac__type_new_; |
6367 |
int |
6368 |
main () |
6369 |
{ |
6370 |
-if ((ac__type_new_ *) 0) |
6371 |
- return 0; |
6372 |
-if (sizeof (ac__type_new_)) |
6373 |
- return 0; |
6374 |
+ |
6375 |
; |
6376 |
return 0; |
6377 |
} |
6378 |
_ACEOF |
6379 |
-rm -f conftest.$ac_objext |
6380 |
-if { (ac_try="$ac_compile" |
6381 |
-case "(($ac_try" in |
6382 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6383 |
- *) ac_try_echo=$ac_try;; |
6384 |
-esac |
6385 |
-eval "echo \"\$as_me:$LINENO: $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 |
- 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 |
6396 |
- ac_cv_type_struct_sockaddr_storage=yes |
6397 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6398 |
+ ac_cv_prog_cc_g=yes |
6399 |
else |
6400 |
- echo "$as_me: failed program was:" >&5 |
6401 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6402 |
- |
6403 |
- ac_cv_type_struct_sockaddr_storage=no |
6404 |
-fi |
6405 |
+ CFLAGS="" |
6406 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6407 |
+/* end confdefs.h. */ |
6408 |
|
6409 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6410 |
-fi |
6411 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5 |
6412 |
-echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; } |
6413 |
-if test $ac_cv_type_struct_sockaddr_storage = yes; then |
6414 |
+int |
6415 |
+main () |
6416 |
+{ |
6417 |
|
6418 |
-cat >>confdefs.h <<_ACEOF |
6419 |
-#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
6420 |
+ ; |
6421 |
+ return 0; |
6422 |
+} |
6423 |
_ACEOF |
6424 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6425 |
|
6426 |
- |
6427 |
-fi |
6428 |
- |
6429 |
- |
6430 |
-if test "$ac_cv_type_struct_sockaddr_storage" = no; then |
6431 |
- { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 |
6432 |
-echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; } |
6433 |
-if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then |
6434 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6435 |
else |
6436 |
- cat >conftest.$ac_ext <<_ACEOF |
6437 |
-/* confdefs.h. */ |
6438 |
-_ACEOF |
6439 |
-cat confdefs.h >>conftest.$ac_ext |
6440 |
-cat >>conftest.$ac_ext <<_ACEOF |
6441 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
6442 |
+ CFLAGS="-g" |
6443 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6444 |
/* end confdefs.h. */ |
6445 |
-$ac_includes_default |
6446 |
+ |
6447 |
int |
6448 |
main () |
6449 |
{ |
6450 |
-static struct sockaddr_in ac_aggr; |
6451 |
-if (ac_aggr.sin_len) |
6452 |
-return 0; |
6453 |
+ |
6454 |
; |
6455 |
return 0; |
6456 |
} |
6457 |
_ACEOF |
6458 |
-rm -f conftest.$ac_objext |
6459 |
-if { (ac_try="$ac_compile" |
6460 |
-case "(($ac_try" in |
6461 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6462 |
- *) ac_try_echo=$ac_try;; |
6463 |
-esac |
6464 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6465 |
- (eval "$ac_compile") 2>conftest.er1 |
6466 |
- ac_status=$? |
6467 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6468 |
- rm -f conftest.er1 |
6469 |
- cat conftest.err >&5 |
6470 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6471 |
- (exit $ac_status); } && { |
6472 |
- test -z "$ac_c_werror_flag" || |
6473 |
- test ! -s conftest.err |
6474 |
- } && test -s conftest.$ac_objext; then |
6475 |
- ac_cv_member_struct_sockaddr_in_sin_len=yes |
6476 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6477 |
+ ac_cv_prog_cc_g=yes |
6478 |
+fi |
6479 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6480 |
+fi |
6481 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6482 |
+fi |
6483 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6484 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
6485 |
+fi |
6486 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
6487 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
6488 |
+if test "$ac_test_CFLAGS" = set; then |
6489 |
+ CFLAGS=$ac_save_CFLAGS |
6490 |
+elif test $ac_cv_prog_cc_g = yes; then |
6491 |
+ if test "$GCC" = yes; then |
6492 |
+ CFLAGS="-g -O2" |
6493 |
+ else |
6494 |
+ CFLAGS="-g" |
6495 |
+ fi |
6496 |
else |
6497 |
- echo "$as_me: failed program was:" >&5 |
6498 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6499 |
- |
6500 |
- cat >conftest.$ac_ext <<_ACEOF |
6501 |
-/* confdefs.h. */ |
6502 |
-_ACEOF |
6503 |
-cat confdefs.h >>conftest.$ac_ext |
6504 |
-cat >>conftest.$ac_ext <<_ACEOF |
6505 |
+ if test "$GCC" = yes; then |
6506 |
+ CFLAGS="-O2" |
6507 |
+ else |
6508 |
+ CFLAGS= |
6509 |
+ fi |
6510 |
+fi |
6511 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
6512 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
6513 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
6514 |
+ $as_echo_n "(cached) " >&6 |
6515 |
+else |
6516 |
+ ac_cv_prog_cc_c89=no |
6517 |
+ac_save_CC=$CC |
6518 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6519 |
/* end confdefs.h. */ |
6520 |
-$ac_includes_default |
6521 |
+#include <stdarg.h> |
6522 |
+#include <stdio.h> |
6523 |
+struct stat; |
6524 |
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
6525 |
+struct buf { int x; }; |
6526 |
+FILE * (*rcsopen) (struct buf *, struct stat *, int); |
6527 |
+static char *e (p, i) |
6528 |
+ char **p; |
6529 |
+ int i; |
6530 |
+{ |
6531 |
+ return p[i]; |
6532 |
+} |
6533 |
+static char *f (char * (*g) (char **, int), char **p, ...) |
6534 |
+{ |
6535 |
+ char *s; |
6536 |
+ va_list v; |
6537 |
+ va_start (v,p); |
6538 |
+ s = g (p, va_arg (v,int)); |
6539 |
+ va_end (v); |
6540 |
+ return s; |
6541 |
+} |
6542 |
+ |
6543 |
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
6544 |
+ function prototypes and stuff, but not '\xHH' hex character constants. |
6545 |
+ These don't provoke an error unfortunately, instead are silently treated |
6546 |
+ as 'x'. The following induces an error, until -std is added to get |
6547 |
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
6548 |
+ array size at least. It's necessary to write '\x00'==0 to get something |
6549 |
+ that's true only with -std. */ |
6550 |
+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
6551 |
+ |
6552 |
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
6553 |
+ inside strings and character constants. */ |
6554 |
+#define FOO(x) 'x' |
6555 |
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
6556 |
+ |
6557 |
+int test (int i, double x); |
6558 |
+struct s1 {int (*f) (int a);}; |
6559 |
+struct s2 {int (*f) (double a);}; |
6560 |
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
6561 |
+int argc; |
6562 |
+char **argv; |
6563 |
int |
6564 |
main () |
6565 |
{ |
6566 |
-static struct sockaddr_in ac_aggr; |
6567 |
-if (sizeof ac_aggr.sin_len) |
6568 |
-return 0; |
6569 |
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
6570 |
; |
6571 |
return 0; |
6572 |
} |
6573 |
_ACEOF |
6574 |
-rm -f conftest.$ac_objext |
6575 |
-if { (ac_try="$ac_compile" |
6576 |
-case "(($ac_try" in |
6577 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6578 |
- *) ac_try_echo=$ac_try;; |
6579 |
-esac |
6580 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6581 |
- (eval "$ac_compile") 2>conftest.er1 |
6582 |
- ac_status=$? |
6583 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6584 |
- rm -f conftest.er1 |
6585 |
- cat conftest.err >&5 |
6586 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6587 |
- (exit $ac_status); } && { |
6588 |
- test -z "$ac_c_werror_flag" || |
6589 |
- test ! -s conftest.err |
6590 |
- } && test -s conftest.$ac_objext; then |
6591 |
- ac_cv_member_struct_sockaddr_in_sin_len=yes |
6592 |
-else |
6593 |
- echo "$as_me: failed program was:" >&5 |
6594 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6595 |
- |
6596 |
- ac_cv_member_struct_sockaddr_in_sin_len=no |
6597 |
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
6598 |
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
6599 |
+do |
6600 |
+ CC="$ac_save_CC $ac_arg" |
6601 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
6602 |
+ ac_cv_prog_cc_c89=$ac_arg |
6603 |
fi |
6604 |
+rm -f core conftest.err conftest.$ac_objext |
6605 |
+ test "x$ac_cv_prog_cc_c89" != "xno" && break |
6606 |
+done |
6607 |
+rm -f conftest.$ac_ext |
6608 |
+CC=$ac_save_CC |
6609 |
|
6610 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6611 |
fi |
6612 |
+# AC_CACHE_VAL |
6613 |
+case "x$ac_cv_prog_cc_c89" in |
6614 |
+ x) |
6615 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
6616 |
+$as_echo "none needed" >&6; } ;; |
6617 |
+ xno) |
6618 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
6619 |
+$as_echo "unsupported" >&6; } ;; |
6620 |
+ *) |
6621 |
+ CC="$CC $ac_cv_prog_cc_c89" |
6622 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
6623 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
6624 |
+esac |
6625 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
6626 |
|
6627 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6628 |
fi |
6629 |
-{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 |
6630 |
-echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; } |
6631 |
-if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then |
6632 |
|
6633 |
-cat >>confdefs.h <<\_ACEOF |
6634 |
-#define SOCKADDR_IN_HAS_LEN 1 |
6635 |
-_ACEOF |
6636 |
+ac_ext=c |
6637 |
+ac_cpp='$CPP $CPPFLAGS' |
6638 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6639 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6640 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6641 |
|
6642 |
-fi |
6643 |
|
6644 |
+ac_ext=c |
6645 |
+ac_cpp='$CPP $CPPFLAGS' |
6646 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6647 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6648 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6649 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
6650 |
+$as_echo_n "checking how to run the C preprocessor... " >&6; } |
6651 |
+# On Suns, sometimes $CPP names a directory. |
6652 |
+if test -n "$CPP" && test -d "$CPP"; then |
6653 |
+ CPP= |
6654 |
fi |
6655 |
- |
6656 |
-{ echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
6657 |
-echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; } |
6658 |
-if test "${ac_cv_type_struct_addrinfo+set}" = set; then |
6659 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6660 |
+if test -z "$CPP"; then |
6661 |
+ if ${ac_cv_prog_CPP+:} false; then : |
6662 |
+ $as_echo_n "(cached) " >&6 |
6663 |
else |
6664 |
- cat >conftest.$ac_ext <<_ACEOF |
6665 |
-/* confdefs.h. */ |
6666 |
-_ACEOF |
6667 |
-cat confdefs.h >>conftest.$ac_ext |
6668 |
-cat >>conftest.$ac_ext <<_ACEOF |
6669 |
+ # Double quotes because CPP needs to be expanded |
6670 |
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
6671 |
+ do |
6672 |
+ ac_preproc_ok=false |
6673 |
+for ac_c_preproc_warn_flag in '' yes |
6674 |
+do |
6675 |
+ # Use a header file that comes with gcc, so configuring glibc |
6676 |
+ # with a fresh cross-compiler works. |
6677 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6678 |
+ # <limits.h> exists even on freestanding compilers. |
6679 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
6680 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
6681 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6682 |
/* end confdefs.h. */ |
6683 |
-#include <netdb.h> |
6684 |
- |
6685 |
-typedef struct addrinfo ac__type_new_; |
6686 |
-int |
6687 |
-main () |
6688 |
-{ |
6689 |
-if ((ac__type_new_ *) 0) |
6690 |
- return 0; |
6691 |
-if (sizeof (ac__type_new_)) |
6692 |
- return 0; |
6693 |
- ; |
6694 |
- return 0; |
6695 |
-} |
6696 |
+#ifdef __STDC__ |
6697 |
+# include <limits.h> |
6698 |
+#else |
6699 |
+# include <assert.h> |
6700 |
+#endif |
6701 |
+ Syntax error |
6702 |
_ACEOF |
6703 |
-rm -f conftest.$ac_objext |
6704 |
-if { (ac_try="$ac_compile" |
6705 |
-case "(($ac_try" in |
6706 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6707 |
- *) ac_try_echo=$ac_try;; |
6708 |
-esac |
6709 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6710 |
- (eval "$ac_compile") 2>conftest.er1 |
6711 |
- ac_status=$? |
6712 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6713 |
- rm -f conftest.er1 |
6714 |
- cat conftest.err >&5 |
6715 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6716 |
- (exit $ac_status); } && { |
6717 |
- test -z "$ac_c_werror_flag" || |
6718 |
- test ! -s conftest.err |
6719 |
- } && test -s conftest.$ac_objext; then |
6720 |
- ac_cv_type_struct_addrinfo=yes |
6721 |
-else |
6722 |
- echo "$as_me: failed program was:" >&5 |
6723 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6724 |
- |
6725 |
- ac_cv_type_struct_addrinfo=no |
6726 |
-fi |
6727 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
6728 |
|
6729 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6730 |
+else |
6731 |
+ # Broken: fails on valid input. |
6732 |
+continue |
6733 |
fi |
6734 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5 |
6735 |
-echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6; } |
6736 |
-if test $ac_cv_type_struct_addrinfo = yes; then |
6737 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
6738 |
|
6739 |
-cat >>confdefs.h <<_ACEOF |
6740 |
-#define HAVE_STRUCT_ADDRINFO 1 |
6741 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
6742 |
+ # can be detected and how. |
6743 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6744 |
+/* end confdefs.h. */ |
6745 |
+#include <ac_nonexistent.h> |
6746 |
_ACEOF |
6747 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
6748 |
+ # Broken: success on invalid input. |
6749 |
+continue |
6750 |
+else |
6751 |
+ # Passes both tests. |
6752 |
+ac_preproc_ok=: |
6753 |
+break |
6754 |
+fi |
6755 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
6756 |
|
6757 |
- |
6758 |
+done |
6759 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
6760 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
6761 |
+if $ac_preproc_ok; then : |
6762 |
+ break |
6763 |
fi |
6764 |
|
6765 |
+ done |
6766 |
+ ac_cv_prog_CPP=$CPP |
6767 |
|
6768 |
-{ echo "$as_me:$LINENO: checking for socklen_t" >&5 |
6769 |
-echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; } |
6770 |
-if test "${ac_cv_type_socklen_t+set}" = set; then |
6771 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6772 |
+fi |
6773 |
+ CPP=$ac_cv_prog_CPP |
6774 |
else |
6775 |
- cat >conftest.$ac_ext <<_ACEOF |
6776 |
-/* confdefs.h. */ |
6777 |
-_ACEOF |
6778 |
-cat confdefs.h >>conftest.$ac_ext |
6779 |
-cat >>conftest.$ac_ext <<_ACEOF |
6780 |
+ ac_cv_prog_CPP=$CPP |
6781 |
+fi |
6782 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
6783 |
+$as_echo "$CPP" >&6; } |
6784 |
+ac_preproc_ok=false |
6785 |
+for ac_c_preproc_warn_flag in '' yes |
6786 |
+do |
6787 |
+ # Use a header file that comes with gcc, so configuring glibc |
6788 |
+ # with a fresh cross-compiler works. |
6789 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6790 |
+ # <limits.h> exists even on freestanding compilers. |
6791 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
6792 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
6793 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6794 |
/* end confdefs.h. */ |
6795 |
-#include <sys/types.h> |
6796 |
-#include <sys/socket.h> |
6797 |
- |
6798 |
-typedef socklen_t ac__type_new_; |
6799 |
-int |
6800 |
-main () |
6801 |
-{ |
6802 |
-if ((ac__type_new_ *) 0) |
6803 |
- return 0; |
6804 |
-if (sizeof (ac__type_new_)) |
6805 |
- return 0; |
6806 |
- ; |
6807 |
- return 0; |
6808 |
-} |
6809 |
+#ifdef __STDC__ |
6810 |
+# include <limits.h> |
6811 |
+#else |
6812 |
+# include <assert.h> |
6813 |
+#endif |
6814 |
+ Syntax error |
6815 |
_ACEOF |
6816 |
-rm -f conftest.$ac_objext |
6817 |
-if { (ac_try="$ac_compile" |
6818 |
-case "(($ac_try" in |
6819 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6820 |
- *) ac_try_echo=$ac_try;; |
6821 |
-esac |
6822 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6823 |
- (eval "$ac_compile") 2>conftest.er1 |
6824 |
- ac_status=$? |
6825 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6826 |
- rm -f conftest.er1 |
6827 |
- cat conftest.err >&5 |
6828 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6829 |
- (exit $ac_status); } && { |
6830 |
- test -z "$ac_c_werror_flag" || |
6831 |
- test ! -s conftest.err |
6832 |
- } && test -s conftest.$ac_objext; then |
6833 |
- ac_cv_type_socklen_t=yes |
6834 |
-else |
6835 |
- echo "$as_me: failed program was:" >&5 |
6836 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6837 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
6838 |
|
6839 |
- ac_cv_type_socklen_t=no |
6840 |
+else |
6841 |
+ # Broken: fails on valid input. |
6842 |
+continue |
6843 |
fi |
6844 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
6845 |
|
6846 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6847 |
-fi |
6848 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
6849 |
-echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; } |
6850 |
-if test $ac_cv_type_socklen_t = yes; then |
6851 |
- : |
6852 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
6853 |
+ # can be detected and how. |
6854 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6855 |
+/* end confdefs.h. */ |
6856 |
+#include <ac_nonexistent.h> |
6857 |
+_ACEOF |
6858 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
6859 |
+ # Broken: success on invalid input. |
6860 |
+continue |
6861 |
else |
6862 |
+ # Passes both tests. |
6863 |
+ac_preproc_ok=: |
6864 |
+break |
6865 |
+fi |
6866 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
6867 |
|
6868 |
-cat >>confdefs.h <<\_ACEOF |
6869 |
-#define socklen_t unsigned int |
6870 |
-_ACEOF |
6871 |
+done |
6872 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
6873 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
6874 |
+if $ac_preproc_ok; then : |
6875 |
|
6876 |
+else |
6877 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6878 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6879 |
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
6880 |
+See \`config.log' for more details" "$LINENO" 5; } |
6881 |
fi |
6882 |
|
6883 |
+ac_ext=c |
6884 |
+ac_cpp='$CPP $CPPFLAGS' |
6885 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6886 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6887 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6888 |
|
6889 |
-if test -z "$Tru"; then |
6890 |
|
6891 |
-{ echo "$as_me:$LINENO: checking for broken glibc with __ss_family" >&5 |
6892 |
-echo $ECHO_N "checking for broken glibc with __ss_family... $ECHO_C" >&6; } |
6893 |
-cat >conftest.$ac_ext <<_ACEOF |
6894 |
-/* confdefs.h. */ |
6895 |
-_ACEOF |
6896 |
-cat confdefs.h >>conftest.$ac_ext |
6897 |
-cat >>conftest.$ac_ext <<_ACEOF |
6898 |
-/* end confdefs.h. */ |
6899 |
-#include <sys/types.h> |
6900 |
-#include <sys/socket.h> |
6901 |
-int |
6902 |
-main () |
6903 |
-{ |
6904 |
-struct sockaddr_storage s; s.__ss_family = AF_INET; |
6905 |
- ; |
6906 |
- return 0; |
6907 |
-} |
6908 |
-_ACEOF |
6909 |
-rm -f conftest.$ac_objext |
6910 |
-if { (ac_try="$ac_compile" |
6911 |
-case "(($ac_try" in |
6912 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6913 |
- *) ac_try_echo=$ac_try;; |
6914 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
6915 |
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
6916 |
+if ${ac_cv_path_GREP+:} false; then : |
6917 |
+ $as_echo_n "(cached) " >&6 |
6918 |
+else |
6919 |
+ if test -z "$GREP"; then |
6920 |
+ ac_path_GREP_found=false |
6921 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
6922 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6923 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
6924 |
+do |
6925 |
+ IFS=$as_save_IFS |
6926 |
+ test -z "$as_dir" && as_dir=. |
6927 |
+ for ac_prog in grep ggrep; do |
6928 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
6929 |
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
6930 |
+ as_fn_executable_p "$ac_path_GREP" || continue |
6931 |
+# Check for GNU ac_path_GREP and select it if it is found. |
6932 |
+ # Check for GNU $ac_path_GREP |
6933 |
+case `"$ac_path_GREP" --version 2>&1` in |
6934 |
+*GNU*) |
6935 |
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
6936 |
+*) |
6937 |
+ ac_count=0 |
6938 |
+ $as_echo_n 0123456789 >"conftest.in" |
6939 |
+ while : |
6940 |
+ do |
6941 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
6942 |
+ mv "conftest.tmp" "conftest.in" |
6943 |
+ cp "conftest.in" "conftest.nl" |
6944 |
+ $as_echo 'GREP' >> "conftest.nl" |
6945 |
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
6946 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
6947 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
6948 |
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then |
6949 |
+ # Best one so far, save it but keep looking for a better one |
6950 |
+ ac_cv_path_GREP="$ac_path_GREP" |
6951 |
+ ac_path_GREP_max=$ac_count |
6952 |
+ fi |
6953 |
+ # 10*(2^10) chars as input seems more than enough |
6954 |
+ test $ac_count -gt 10 && break |
6955 |
+ done |
6956 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
6957 |
esac |
6958 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6959 |
- (eval "$ac_compile") 2>conftest.er1 |
6960 |
- ac_status=$? |
6961 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6962 |
- rm -f conftest.er1 |
6963 |
- cat conftest.err >&5 |
6964 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6965 |
- (exit $ac_status); } && { |
6966 |
- test -z "$ac_c_werror_flag" || |
6967 |
- test ! -s conftest.err |
6968 |
- } && test -s conftest.$ac_objext; then |
6969 |
|
6970 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
6971 |
-echo "${ECHO_T}yes" >&6; } |
6972 |
+ $ac_path_GREP_found && break 3 |
6973 |
+ done |
6974 |
+ done |
6975 |
+ done |
6976 |
+IFS=$as_save_IFS |
6977 |
+ if test -z "$ac_cv_path_GREP"; then |
6978 |
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
6979 |
+ fi |
6980 |
+else |
6981 |
+ ac_cv_path_GREP=$GREP |
6982 |
+fi |
6983 |
+ |
6984 |
+fi |
6985 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
6986 |
+$as_echo "$ac_cv_path_GREP" >&6; } |
6987 |
+ GREP="$ac_cv_path_GREP" |
6988 |
|
6989 |
-cat >>confdefs.h <<\_ACEOF |
6990 |
-#define ss_family __ss_family |
6991 |
-_ACEOF |
6992 |
|
6993 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
6994 |
+$as_echo_n "checking for egrep... " >&6; } |
6995 |
+if ${ac_cv_path_EGREP+:} false; then : |
6996 |
+ $as_echo_n "(cached) " >&6 |
6997 |
+else |
6998 |
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
6999 |
+ then ac_cv_path_EGREP="$GREP -E" |
7000 |
+ else |
7001 |
+ if test -z "$EGREP"; then |
7002 |
+ ac_path_EGREP_found=false |
7003 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
7004 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7005 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
7006 |
+do |
7007 |
+ IFS=$as_save_IFS |
7008 |
+ test -z "$as_dir" && as_dir=. |
7009 |
+ for ac_prog in egrep; do |
7010 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
7011 |
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
7012 |
+ as_fn_executable_p "$ac_path_EGREP" || continue |
7013 |
+# Check for GNU ac_path_EGREP and select it if it is found. |
7014 |
+ # Check for GNU $ac_path_EGREP |
7015 |
+case `"$ac_path_EGREP" --version 2>&1` in |
7016 |
+*GNU*) |
7017 |
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
7018 |
+*) |
7019 |
+ ac_count=0 |
7020 |
+ $as_echo_n 0123456789 >"conftest.in" |
7021 |
+ while : |
7022 |
+ do |
7023 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
7024 |
+ mv "conftest.tmp" "conftest.in" |
7025 |
+ cp "conftest.in" "conftest.nl" |
7026 |
+ $as_echo 'EGREP' >> "conftest.nl" |
7027 |
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
7028 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
7029 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
7030 |
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
7031 |
+ # Best one so far, save it but keep looking for a better one |
7032 |
+ ac_cv_path_EGREP="$ac_path_EGREP" |
7033 |
+ ac_path_EGREP_max=$ac_count |
7034 |
+ fi |
7035 |
+ # 10*(2^10) chars as input seems more than enough |
7036 |
+ test $ac_count -gt 10 && break |
7037 |
+ done |
7038 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
7039 |
+esac |
7040 |
|
7041 |
+ $ac_path_EGREP_found && break 3 |
7042 |
+ done |
7043 |
+ done |
7044 |
+ done |
7045 |
+IFS=$as_save_IFS |
7046 |
+ if test -z "$ac_cv_path_EGREP"; then |
7047 |
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
7048 |
+ fi |
7049 |
else |
7050 |
- echo "$as_me: failed program was:" >&5 |
7051 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7052 |
- |
7053 |
- { echo "$as_me:$LINENO: result: no" >&5 |
7054 |
-echo "${ECHO_T}no" >&6; } |
7055 |
+ ac_cv_path_EGREP=$EGREP |
7056 |
fi |
7057 |
|
7058 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7059 |
- |
7060 |
+ fi |
7061 |
fi |
7062 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
7063 |
+$as_echo "$ac_cv_path_EGREP" >&6; } |
7064 |
+ EGREP="$ac_cv_path_EGREP" |
7065 |
|
7066 |
-{ echo "$as_me:$LINENO: checking for core IPv6 support" >&5 |
7067 |
-echo $ECHO_N "checking for core IPv6 support... $ECHO_C" >&6; } |
7068 |
|
7069 |
-cat >conftest.$ac_ext <<_ACEOF |
7070 |
-/* confdefs.h. */ |
7071 |
-_ACEOF |
7072 |
-cat confdefs.h >>conftest.$ac_ext |
7073 |
-cat >>conftest.$ac_ext <<_ACEOF |
7074 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7075 |
+$as_echo_n "checking for ANSI C header files... " >&6; } |
7076 |
+if ${ac_cv_header_stdc+:} false; then : |
7077 |
+ $as_echo_n "(cached) " >&6 |
7078 |
+else |
7079 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7080 |
/* end confdefs.h. */ |
7081 |
-#define IN_AUTOCONF |
7082 |
- #include "include/stdinc.h" |
7083 |
-int |
7084 |
-main () |
7085 |
-{ |
7086 |
-struct sockaddr_in6 s; |
7087 |
- struct sockaddr_storage t; |
7088 |
- s.sin6_family = 0; |
7089 |
- |
7090 |
- ; |
7091 |
- return 0; |
7092 |
-} |
7093 |
-_ACEOF |
7094 |
-rm -f conftest.$ac_objext |
7095 |
-if { (ac_try="$ac_compile" |
7096 |
-case "(($ac_try" in |
7097 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7098 |
- *) ac_try_echo=$ac_try;; |
7099 |
-esac |
7100 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7101 |
- (eval "$ac_compile") 2>conftest.er1 |
7102 |
- ac_status=$? |
7103 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7104 |
- rm -f conftest.er1 |
7105 |
- cat conftest.err >&5 |
7106 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7107 |
- (exit $ac_status); } && { |
7108 |
- test -z "$ac_c_werror_flag" || |
7109 |
- test ! -s conftest.err |
7110 |
- } && test -s conftest.$ac_objext; then |
7111 |
- |
7112 |
- if test "$CYGWIN" = "yes"; then |
7113 |
- { echo "$as_me:$LINENO: result: no, Cygwin's IPv6 is incomplete" >&5 |
7114 |
-echo "${ECHO_T}no, Cygwin's IPv6 is incomplete" >&6; } |
7115 |
- have_v6=no |
7116 |
- else |
7117 |
- have_v6=yes |
7118 |
- |
7119 |
-cat >>confdefs.h <<\_ACEOF |
7120 |
-#define IPV6 1 |
7121 |
-_ACEOF |
7122 |
+#include <stdlib.h> |
7123 |
+#include <stdarg.h> |
7124 |
+#include <string.h> |
7125 |
+#include <float.h> |
7126 |
|
7127 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
7128 |
-echo "${ECHO_T}yes" >&6; } |
7129 |
- { echo "$as_me:$LINENO: checking for struct in6addr_any" >&5 |
7130 |
-echo $ECHO_N "checking for struct in6addr_any... $ECHO_C" >&6; } |
7131 |
- cat >conftest.$ac_ext <<_ACEOF |
7132 |
-/* confdefs.h. */ |
7133 |
-_ACEOF |
7134 |
-cat confdefs.h >>conftest.$ac_ext |
7135 |
-cat >>conftest.$ac_ext <<_ACEOF |
7136 |
-/* end confdefs.h. */ |
7137 |
-#define IN_AUTOCONF |
7138 |
- #include "include/stdinc.h" |
7139 |
int |
7140 |
main () |
7141 |
{ |
7142 |
-struct in6_addr a = in6addr_any; |
7143 |
|
7144 |
; |
7145 |
return 0; |
7146 |
} |
7147 |
_ACEOF |
7148 |
-rm -f conftest.$ac_objext |
7149 |
-if { (ac_try="$ac_compile" |
7150 |
-case "(($ac_try" in |
7151 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7152 |
- *) ac_try_echo=$ac_try;; |
7153 |
-esac |
7154 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7155 |
- (eval "$ac_compile") 2>conftest.er1 |
7156 |
- ac_status=$? |
7157 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7158 |
- rm -f conftest.er1 |
7159 |
- cat conftest.err >&5 |
7160 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7161 |
- (exit $ac_status); } && { |
7162 |
- test -z "$ac_c_werror_flag" || |
7163 |
- test ! -s conftest.err |
7164 |
- } && test -s conftest.$ac_objext; then |
7165 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
7166 |
-echo "${ECHO_T}yes" >&6; } |
7167 |
+if ac_fn_c_try_compile "$LINENO"; then : |
7168 |
+ ac_cv_header_stdc=yes |
7169 |
else |
7170 |
- echo "$as_me: failed program was:" >&5 |
7171 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7172 |
- |
7173 |
+ ac_cv_header_stdc=no |
7174 |
+fi |
7175 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7176 |
|
7177 |
- { echo "$as_me:$LINENO: result: no" >&5 |
7178 |
-echo "${ECHO_T}no" >&6; } |
7179 |
+if test $ac_cv_header_stdc = yes; then |
7180 |
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
7181 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7182 |
+/* end confdefs.h. */ |
7183 |
+#include <string.h> |
7184 |
|
7185 |
-cat >>confdefs.h <<\_ACEOF |
7186 |
-#define NO_IN6ADDR_ANY 1 |
7187 |
_ACEOF |
7188 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7189 |
+ $EGREP "memchr" >/dev/null 2>&1; then : |
7190 |
|
7191 |
- inet_misc=1 |
7192 |
- |
7193 |
+else |
7194 |
+ ac_cv_header_stdc=no |
7195 |
+fi |
7196 |
+rm -f conftest* |
7197 |
|
7198 |
fi |
7199 |
|
7200 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7201 |
- fi |
7202 |
+if test $ac_cv_header_stdc = yes; then |
7203 |
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
7204 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7205 |
+/* end confdefs.h. */ |
7206 |
+#include <stdlib.h> |
7207 |
|
7208 |
-else |
7209 |
- echo "$as_me: failed program was:" >&5 |
7210 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7211 |
+_ACEOF |
7212 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7213 |
+ $EGREP "free" >/dev/null 2>&1; then : |
7214 |
|
7215 |
- { echo "$as_me:$LINENO: result: no" >&5 |
7216 |
-echo "${ECHO_T}no" >&6; } |
7217 |
-have_v6="no" |
7218 |
+else |
7219 |
+ ac_cv_header_stdc=no |
7220 |
fi |
7221 |
+rm -f conftest* |
7222 |
|
7223 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7224 |
+fi |
7225 |
|
7226 |
-{ echo "$as_me:$LINENO: checking for library containing crypt" >&5 |
7227 |
-echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; } |
7228 |
-if test "${ac_cv_search_crypt+set}" = set; then |
7229 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7230 |
+if test $ac_cv_header_stdc = yes; then |
7231 |
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
7232 |
+ if test "$cross_compiling" = yes; then : |
7233 |
+ : |
7234 |
else |
7235 |
- ac_func_search_save_LIBS=$LIBS |
7236 |
-cat >conftest.$ac_ext <<_ACEOF |
7237 |
-/* confdefs.h. */ |
7238 |
-_ACEOF |
7239 |
-cat confdefs.h >>conftest.$ac_ext |
7240 |
-cat >>conftest.$ac_ext <<_ACEOF |
7241 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7242 |
/* end confdefs.h. */ |
7243 |
- |
7244 |
-/* Override any GCC internal prototype to avoid an error. |
7245 |
- Use char because int might match the return type of a GCC |
7246 |
- builtin and then its argument prototype would still apply. */ |
7247 |
-#ifdef __cplusplus |
7248 |
-extern "C" |
7249 |
+#include <ctype.h> |
7250 |
+#include <stdlib.h> |
7251 |
+#if ((' ' & 0x0FF) == 0x020) |
7252 |
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
7253 |
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
7254 |
+#else |
7255 |
+# define ISLOWER(c) \ |
7256 |
+ (('a' <= (c) && (c) <= 'i') \ |
7257 |
+ || ('j' <= (c) && (c) <= 'r') \ |
7258 |
+ || ('s' <= (c) && (c) <= 'z')) |
7259 |
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
7260 |
#endif |
7261 |
-char crypt (); |
7262 |
+ |
7263 |
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
7264 |
int |
7265 |
main () |
7266 |
{ |
7267 |
-return crypt (); |
7268 |
- ; |
7269 |
+ int i; |
7270 |
+ for (i = 0; i < 256; i++) |
7271 |
+ if (XOR (islower (i), ISLOWER (i)) |
7272 |
+ || toupper (i) != TOUPPER (i)) |
7273 |
+ return 2; |
7274 |
return 0; |
7275 |
} |
7276 |
_ACEOF |
7277 |
-for ac_lib in '' crypt descrypt; do |
7278 |
- if test -z "$ac_lib"; then |
7279 |
- ac_res="none required" |
7280 |
- else |
7281 |
- ac_res=-l$ac_lib |
7282 |
- LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
7283 |
- fi |
7284 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
7285 |
-if { (ac_try="$ac_link" |
7286 |
-case "(($ac_try" in |
7287 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7288 |
- *) ac_try_echo=$ac_try;; |
7289 |
-esac |
7290 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7291 |
- (eval "$ac_link") 2>conftest.er1 |
7292 |
- ac_status=$? |
7293 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7294 |
- rm -f conftest.er1 |
7295 |
- cat conftest.err >&5 |
7296 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7297 |
- (exit $ac_status); } && { |
7298 |
- test -z "$ac_c_werror_flag" || |
7299 |
- test ! -s conftest.err |
7300 |
- } && test -s conftest$ac_exeext && |
7301 |
- $as_test_x conftest$ac_exeext; then |
7302 |
- ac_cv_search_crypt=$ac_res |
7303 |
-else |
7304 |
- echo "$as_me: failed program was:" >&5 |
7305 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7306 |
- |
7307 |
- |
7308 |
-fi |
7309 |
+if ac_fn_c_try_run "$LINENO"; then : |
7310 |
|
7311 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7312 |
- conftest$ac_exeext |
7313 |
- if test "${ac_cv_search_crypt+set}" = set; then |
7314 |
- break |
7315 |
-fi |
7316 |
-done |
7317 |
-if test "${ac_cv_search_crypt+set}" = set; then |
7318 |
- : |
7319 |
else |
7320 |
- ac_cv_search_crypt=no |
7321 |
+ ac_cv_header_stdc=no |
7322 |
fi |
7323 |
-rm conftest.$ac_ext |
7324 |
-LIBS=$ac_func_search_save_LIBS |
7325 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
7326 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
7327 |
fi |
7328 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 |
7329 |
-echo "${ECHO_T}$ac_cv_search_crypt" >&6; } |
7330 |
-ac_res=$ac_cv_search_crypt |
7331 |
-if test "$ac_res" != no; then |
7332 |
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
7333 |
|
7334 |
fi |
7335 |
+fi |
7336 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
7337 |
+$as_echo "$ac_cv_header_stdc" >&6; } |
7338 |
+if test $ac_cv_header_stdc = yes; then |
7339 |
|
7340 |
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
7341 |
|
7342 |
-CRYPT_LIB=$ac_cv_search_crypt |
7343 |
+fi |
7344 |
+ |
7345 |
+# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
7346 |
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
7347 |
+ inttypes.h stdint.h unistd.h |
7348 |
+do : |
7349 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7350 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7351 |
+" |
7352 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7353 |
+ cat >>confdefs.h <<_ACEOF |
7354 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7355 |
+_ACEOF |
7356 |
|
7357 |
-if test "$CRYPT_LIB" = "none required"; then |
7358 |
- unset CRYPT_LIB |
7359 |
-elif test "$CRYPT_LIB" = no; then |
7360 |
- CRYPT_C=crypt.c |
7361 |
- unset CRYPT_LIB |
7362 |
fi |
7363 |
|
7364 |
+done |
7365 |
|
7366 |
|
7367 |
|
7368 |
-{ echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5 |
7369 |
-echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6; } |
7370 |
-if test "${gcc_cv_header_string+set}" = set; then |
7371 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7372 |
+ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
7373 |
+if test "x$ac_cv_header_minix_config_h" = xyes; then : |
7374 |
+ MINIX=yes |
7375 |
else |
7376 |
+ MINIX= |
7377 |
+fi |
7378 |
|
7379 |
- cat >conftest.$ac_ext <<_ACEOF |
7380 |
-#include <string.h> |
7381 |
- #include <strings.h> |
7382 |
-_ACEOF |
7383 |
-rm -f conftest.$ac_objext |
7384 |
-if { (ac_try="$ac_compile" |
7385 |
-case "(($ac_try" in |
7386 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7387 |
- *) ac_try_echo=$ac_try;; |
7388 |
-esac |
7389 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7390 |
- (eval "$ac_compile") 2>conftest.er1 |
7391 |
- ac_status=$? |
7392 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7393 |
- rm -f conftest.er1 |
7394 |
- cat conftest.err >&5 |
7395 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7396 |
- (exit $ac_status); } && { |
7397 |
- test -z "$ac_c_werror_flag" || |
7398 |
- test ! -s conftest.err |
7399 |
- } && test -s conftest.$ac_objext; then |
7400 |
- gcc_cv_header_string=yes |
7401 |
-else |
7402 |
- echo "$as_me: failed program was:" >&5 |
7403 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7404 |
|
7405 |
- gcc_cv_header_string=no |
7406 |
-fi |
7407 |
+ if test "$MINIX" = yes; then |
7408 |
|
7409 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7410 |
+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
7411 |
|
7412 |
-fi |
7413 |
-{ echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5 |
7414 |
-echo "${ECHO_T}$gcc_cv_header_string" >&6; } |
7415 |
|
7416 |
-if test "$gcc_cv_header_string" = "yes"; then |
7417 |
+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
7418 |
|
7419 |
-cat >>confdefs.h <<\_ACEOF |
7420 |
-#define STRING_WITH_STRINGS 1 |
7421 |
-_ACEOF |
7422 |
|
7423 |
-fi |
7424 |
+$as_echo "#define _MINIX 1" >>confdefs.h |
7425 |
|
7426 |
-{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
7427 |
-echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } |
7428 |
-if test "${ac_cv_c_bigendian+set}" = set; then |
7429 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7430 |
+ fi |
7431 |
+ |
7432 |
+ |
7433 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
7434 |
+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
7435 |
+if ${ac_cv_safe_to_define___extensions__+:} false; then : |
7436 |
+ $as_echo_n "(cached) " >&6 |
7437 |
else |
7438 |
- # See if sys/param.h defines the BYTE_ORDER macro. |
7439 |
-cat >conftest.$ac_ext <<_ACEOF |
7440 |
-/* confdefs.h. */ |
7441 |
-_ACEOF |
7442 |
-cat confdefs.h >>conftest.$ac_ext |
7443 |
-cat >>conftest.$ac_ext <<_ACEOF |
7444 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7445 |
/* end confdefs.h. */ |
7446 |
-#include <sys/types.h> |
7447 |
-#include <sys/param.h> |
7448 |
|
7449 |
+# define __EXTENSIONS__ 1 |
7450 |
+ $ac_includes_default |
7451 |
int |
7452 |
main () |
7453 |
{ |
7454 |
-#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ |
7455 |
- && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) |
7456 |
- bogus endian macros |
7457 |
-#endif |
7458 |
|
7459 |
; |
7460 |
return 0; |
7461 |
} |
7462 |
_ACEOF |
7463 |
-rm -f conftest.$ac_objext |
7464 |
-if { (ac_try="$ac_compile" |
7465 |
-case "(($ac_try" in |
7466 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7467 |
- *) ac_try_echo=$ac_try;; |
7468 |
-esac |
7469 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7470 |
- (eval "$ac_compile") 2>conftest.er1 |
7471 |
- ac_status=$? |
7472 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7473 |
- rm -f conftest.er1 |
7474 |
- cat conftest.err >&5 |
7475 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7476 |
- (exit $ac_status); } && { |
7477 |
- test -z "$ac_c_werror_flag" || |
7478 |
- test ! -s conftest.err |
7479 |
- } && test -s conftest.$ac_objext; then |
7480 |
- # It does; now see whether it defined to BIG_ENDIAN or not. |
7481 |
-cat >conftest.$ac_ext <<_ACEOF |
7482 |
-/* confdefs.h. */ |
7483 |
-_ACEOF |
7484 |
-cat confdefs.h >>conftest.$ac_ext |
7485 |
-cat >>conftest.$ac_ext <<_ACEOF |
7486 |
-/* end confdefs.h. */ |
7487 |
-#include <sys/types.h> |
7488 |
-#include <sys/param.h> |
7489 |
+if ac_fn_c_try_compile "$LINENO"; then : |
7490 |
+ ac_cv_safe_to_define___extensions__=yes |
7491 |
+else |
7492 |
+ ac_cv_safe_to_define___extensions__=no |
7493 |
+fi |
7494 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7495 |
+fi |
7496 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
7497 |
+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
7498 |
+ test $ac_cv_safe_to_define___extensions__ = yes && |
7499 |
+ $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
7500 |
|
7501 |
-int |
7502 |
-main () |
7503 |
-{ |
7504 |
-#if BYTE_ORDER != BIG_ENDIAN |
7505 |
- not big endian |
7506 |
-#endif |
7507 |
+ $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
7508 |
|
7509 |
- ; |
7510 |
- return 0; |
7511 |
-} |
7512 |
-_ACEOF |
7513 |
-rm -f conftest.$ac_objext |
7514 |
-if { (ac_try="$ac_compile" |
7515 |
-case "(($ac_try" in |
7516 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7517 |
- *) ac_try_echo=$ac_try;; |
7518 |
-esac |
7519 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7520 |
- (eval "$ac_compile") 2>conftest.er1 |
7521 |
- ac_status=$? |
7522 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7523 |
- rm -f conftest.er1 |
7524 |
- cat conftest.err >&5 |
7525 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7526 |
- (exit $ac_status); } && { |
7527 |
- test -z "$ac_c_werror_flag" || |
7528 |
- test ! -s conftest.err |
7529 |
- } && test -s conftest.$ac_objext; then |
7530 |
- ac_cv_c_bigendian=yes |
7531 |
+ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
7532 |
+ |
7533 |
+ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
7534 |
+ |
7535 |
+ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
7536 |
+ |
7537 |
+ |
7538 |
+ |
7539 |
+ |
7540 |
+OLD_CFLAGS="$CFLAGS" |
7541 |
+ac_ext=c |
7542 |
+ac_cpp='$CPP $CPPFLAGS' |
7543 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7544 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7545 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7546 |
+if test -n "$ac_tool_prefix"; then |
7547 |
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
7548 |
+set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
7549 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7550 |
+$as_echo_n "checking for $ac_word... " >&6; } |
7551 |
+if ${ac_cv_prog_CC+:} false; then : |
7552 |
+ $as_echo_n "(cached) " >&6 |
7553 |
+else |
7554 |
+ if test -n "$CC"; then |
7555 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
7556 |
+else |
7557 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7558 |
+for as_dir in $PATH |
7559 |
+do |
7560 |
+ IFS=$as_save_IFS |
7561 |
+ test -z "$as_dir" && as_dir=. |
7562 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
7563 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7564 |
+ ac_cv_prog_CC="${ac_tool_prefix}gcc" |
7565 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7566 |
+ break 2 |
7567 |
+ fi |
7568 |
+done |
7569 |
+ done |
7570 |
+IFS=$as_save_IFS |
7571 |
+ |
7572 |
+fi |
7573 |
+fi |
7574 |
+CC=$ac_cv_prog_CC |
7575 |
+if test -n "$CC"; then |
7576 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
7577 |
+$as_echo "$CC" >&6; } |
7578 |
else |
7579 |
- echo "$as_me: failed program was:" >&5 |
7580 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7581 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7582 |
+$as_echo "no" >&6; } |
7583 |
+fi |
7584 |
+ |
7585 |
|
7586 |
- ac_cv_c_bigendian=no |
7587 |
fi |
7588 |
+if test -z "$ac_cv_prog_CC"; then |
7589 |
+ ac_ct_CC=$CC |
7590 |
+ # Extract the first word of "gcc", so it can be a program name with args. |
7591 |
+set dummy gcc; ac_word=$2 |
7592 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7593 |
+$as_echo_n "checking for $ac_word... " >&6; } |
7594 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
7595 |
+ $as_echo_n "(cached) " >&6 |
7596 |
+else |
7597 |
+ if test -n "$ac_ct_CC"; then |
7598 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
7599 |
+else |
7600 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7601 |
+for as_dir in $PATH |
7602 |
+do |
7603 |
+ IFS=$as_save_IFS |
7604 |
+ test -z "$as_dir" && as_dir=. |
7605 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
7606 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7607 |
+ ac_cv_prog_ac_ct_CC="gcc" |
7608 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7609 |
+ break 2 |
7610 |
+ fi |
7611 |
+done |
7612 |
+ done |
7613 |
+IFS=$as_save_IFS |
7614 |
|
7615 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7616 |
+fi |
7617 |
+fi |
7618 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
7619 |
+if test -n "$ac_ct_CC"; then |
7620 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
7621 |
+$as_echo "$ac_ct_CC" >&6; } |
7622 |
else |
7623 |
- echo "$as_me: failed program was:" >&5 |
7624 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7625 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7626 |
+$as_echo "no" >&6; } |
7627 |
+fi |
7628 |
|
7629 |
- # It does not; compile a test program. |
7630 |
-if test "$cross_compiling" = yes; then |
7631 |
- # try to guess the endianness by grepping values into an object file |
7632 |
- ac_cv_c_bigendian=unknown |
7633 |
- cat >conftest.$ac_ext <<_ACEOF |
7634 |
-/* confdefs.h. */ |
7635 |
-_ACEOF |
7636 |
-cat confdefs.h >>conftest.$ac_ext |
7637 |
-cat >>conftest.$ac_ext <<_ACEOF |
7638 |
-/* end confdefs.h. */ |
7639 |
-short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
7640 |
-short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
7641 |
-void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
7642 |
-short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
7643 |
-short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
7644 |
-void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
7645 |
-int |
7646 |
-main () |
7647 |
-{ |
7648 |
- _ascii (); _ebcdic (); |
7649 |
- ; |
7650 |
- return 0; |
7651 |
-} |
7652 |
-_ACEOF |
7653 |
-rm -f conftest.$ac_objext |
7654 |
-if { (ac_try="$ac_compile" |
7655 |
-case "(($ac_try" in |
7656 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7657 |
- *) ac_try_echo=$ac_try;; |
7658 |
+ if test "x$ac_ct_CC" = x; then |
7659 |
+ CC="" |
7660 |
+ else |
7661 |
+ case $cross_compiling:$ac_tool_warned in |
7662 |
+yes:) |
7663 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7664 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7665 |
+ac_tool_warned=yes ;; |
7666 |
esac |
7667 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7668 |
- (eval "$ac_compile") 2>conftest.er1 |
7669 |
- ac_status=$? |
7670 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7671 |
- rm -f conftest.er1 |
7672 |
- cat conftest.err >&5 |
7673 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7674 |
- (exit $ac_status); } && { |
7675 |
- test -z "$ac_c_werror_flag" || |
7676 |
- test ! -s conftest.err |
7677 |
- } && test -s conftest.$ac_objext; then |
7678 |
- if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
7679 |
- ac_cv_c_bigendian=yes |
7680 |
+ CC=$ac_ct_CC |
7681 |
+ fi |
7682 |
+else |
7683 |
+ CC="$ac_cv_prog_CC" |
7684 |
fi |
7685 |
-if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
7686 |
- if test "$ac_cv_c_bigendian" = unknown; then |
7687 |
- ac_cv_c_bigendian=no |
7688 |
- else |
7689 |
- # finding both strings is unlikely to happen, but who knows? |
7690 |
- ac_cv_c_bigendian=unknown |
7691 |
+ |
7692 |
+if test -z "$CC"; then |
7693 |
+ if test -n "$ac_tool_prefix"; then |
7694 |
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
7695 |
+set dummy ${ac_tool_prefix}cc; ac_word=$2 |
7696 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7697 |
+$as_echo_n "checking for $ac_word... " >&6; } |
7698 |
+if ${ac_cv_prog_CC+:} false; then : |
7699 |
+ $as_echo_n "(cached) " >&6 |
7700 |
+else |
7701 |
+ if test -n "$CC"; then |
7702 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
7703 |
+else |
7704 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7705 |
+for as_dir in $PATH |
7706 |
+do |
7707 |
+ IFS=$as_save_IFS |
7708 |
+ test -z "$as_dir" && as_dir=. |
7709 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
7710 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7711 |
+ ac_cv_prog_CC="${ac_tool_prefix}cc" |
7712 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7713 |
+ break 2 |
7714 |
fi |
7715 |
+done |
7716 |
+ done |
7717 |
+IFS=$as_save_IFS |
7718 |
+ |
7719 |
fi |
7720 |
+fi |
7721 |
+CC=$ac_cv_prog_CC |
7722 |
+if test -n "$CC"; then |
7723 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
7724 |
+$as_echo "$CC" >&6; } |
7725 |
else |
7726 |
- echo "$as_me: failed program was:" >&5 |
7727 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7728 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7729 |
+$as_echo "no" >&6; } |
7730 |
+fi |
7731 |
|
7732 |
|
7733 |
+ fi |
7734 |
fi |
7735 |
+if test -z "$CC"; then |
7736 |
+ # Extract the first word of "cc", so it can be a program name with args. |
7737 |
+set dummy cc; ac_word=$2 |
7738 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7739 |
+$as_echo_n "checking for $ac_word... " >&6; } |
7740 |
+if ${ac_cv_prog_CC+:} false; then : |
7741 |
+ $as_echo_n "(cached) " >&6 |
7742 |
+else |
7743 |
+ if test -n "$CC"; then |
7744 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
7745 |
+else |
7746 |
+ ac_prog_rejected=no |
7747 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7748 |
+for as_dir in $PATH |
7749 |
+do |
7750 |
+ IFS=$as_save_IFS |
7751 |
+ test -z "$as_dir" && as_dir=. |
7752 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
7753 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7754 |
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
7755 |
+ ac_prog_rejected=yes |
7756 |
+ continue |
7757 |
+ fi |
7758 |
+ ac_cv_prog_CC="cc" |
7759 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7760 |
+ break 2 |
7761 |
+ fi |
7762 |
+done |
7763 |
+ done |
7764 |
+IFS=$as_save_IFS |
7765 |
|
7766 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7767 |
+if test $ac_prog_rejected = yes; then |
7768 |
+ # We found a bogon in the path, so make sure we never use it. |
7769 |
+ set dummy $ac_cv_prog_CC |
7770 |
+ shift |
7771 |
+ if test $# != 0; then |
7772 |
+ # We chose a different compiler from the bogus one. |
7773 |
+ # However, it has the same basename, so the bogon will be chosen |
7774 |
+ # first if we set CC to just the basename; use the full file name. |
7775 |
+ shift |
7776 |
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
7777 |
+ fi |
7778 |
+fi |
7779 |
+fi |
7780 |
+fi |
7781 |
+CC=$ac_cv_prog_CC |
7782 |
+if test -n "$CC"; then |
7783 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
7784 |
+$as_echo "$CC" >&6; } |
7785 |
else |
7786 |
- cat >conftest.$ac_ext <<_ACEOF |
7787 |
-/* confdefs.h. */ |
7788 |
-_ACEOF |
7789 |
-cat confdefs.h >>conftest.$ac_ext |
7790 |
-cat >>conftest.$ac_ext <<_ACEOF |
7791 |
-/* end confdefs.h. */ |
7792 |
-$ac_includes_default |
7793 |
-int |
7794 |
-main () |
7795 |
-{ |
7796 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7797 |
+$as_echo "no" >&6; } |
7798 |
+fi |
7799 |
|
7800 |
- /* Are we little or big endian? From Harbison&Steele. */ |
7801 |
- union |
7802 |
- { |
7803 |
- long int l; |
7804 |
- char c[sizeof (long int)]; |
7805 |
- } u; |
7806 |
- u.l = 1; |
7807 |
- return u.c[sizeof (long int) - 1] == 1; |
7808 |
|
7809 |
- ; |
7810 |
- return 0; |
7811 |
-} |
7812 |
-_ACEOF |
7813 |
-rm -f conftest$ac_exeext |
7814 |
-if { (ac_try="$ac_link" |
7815 |
-case "(($ac_try" in |
7816 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7817 |
- *) ac_try_echo=$ac_try;; |
7818 |
-esac |
7819 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7820 |
- (eval "$ac_link") 2>&5 |
7821 |
- ac_status=$? |
7822 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7823 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7824 |
- { (case "(($ac_try" in |
7825 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7826 |
- *) ac_try_echo=$ac_try;; |
7827 |
-esac |
7828 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7829 |
- (eval "$ac_try") 2>&5 |
7830 |
- ac_status=$? |
7831 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7832 |
- (exit $ac_status); }; }; then |
7833 |
- ac_cv_c_bigendian=no |
7834 |
+fi |
7835 |
+if test -z "$CC"; then |
7836 |
+ if test -n "$ac_tool_prefix"; then |
7837 |
+ for ac_prog in cl.exe |
7838 |
+ do |
7839 |
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
7840 |
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
7841 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7842 |
+$as_echo_n "checking for $ac_word... " >&6; } |
7843 |
+if ${ac_cv_prog_CC+:} false; then : |
7844 |
+ $as_echo_n "(cached) " >&6 |
7845 |
else |
7846 |
- echo "$as_me: program exited with status $ac_status" >&5 |
7847 |
-echo "$as_me: failed program was:" >&5 |
7848 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7849 |
+ if test -n "$CC"; then |
7850 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
7851 |
+else |
7852 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7853 |
+for as_dir in $PATH |
7854 |
+do |
7855 |
+ IFS=$as_save_IFS |
7856 |
+ test -z "$as_dir" && as_dir=. |
7857 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
7858 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7859 |
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
7860 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7861 |
+ break 2 |
7862 |
+ fi |
7863 |
+done |
7864 |
+ done |
7865 |
+IFS=$as_save_IFS |
7866 |
|
7867 |
-( exit $ac_status ) |
7868 |
-ac_cv_c_bigendian=yes |
7869 |
fi |
7870 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7871 |
+fi |
7872 |
+CC=$ac_cv_prog_CC |
7873 |
+if test -n "$CC"; then |
7874 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
7875 |
+$as_echo "$CC" >&6; } |
7876 |
+else |
7877 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7878 |
+$as_echo "no" >&6; } |
7879 |
fi |
7880 |
|
7881 |
|
7882 |
+ test -n "$CC" && break |
7883 |
+ done |
7884 |
fi |
7885 |
+if test -z "$CC"; then |
7886 |
+ ac_ct_CC=$CC |
7887 |
+ for ac_prog in cl.exe |
7888 |
+do |
7889 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
7890 |
+set dummy $ac_prog; ac_word=$2 |
7891 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7892 |
+$as_echo_n "checking for $ac_word... " >&6; } |
7893 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
7894 |
+ $as_echo_n "(cached) " >&6 |
7895 |
+else |
7896 |
+ if test -n "$ac_ct_CC"; then |
7897 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
7898 |
+else |
7899 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7900 |
+for as_dir in $PATH |
7901 |
+do |
7902 |
+ IFS=$as_save_IFS |
7903 |
+ test -z "$as_dir" && as_dir=. |
7904 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
7905 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7906 |
+ ac_cv_prog_ac_ct_CC="$ac_prog" |
7907 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7908 |
+ break 2 |
7909 |
+ fi |
7910 |
+done |
7911 |
+ done |
7912 |
+IFS=$as_save_IFS |
7913 |
|
7914 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7915 |
fi |
7916 |
-{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
7917 |
-echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } |
7918 |
-case $ac_cv_c_bigendian in |
7919 |
- yes) |
7920 |
+fi |
7921 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
7922 |
+if test -n "$ac_ct_CC"; then |
7923 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
7924 |
+$as_echo "$ac_ct_CC" >&6; } |
7925 |
+else |
7926 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7927 |
+$as_echo "no" >&6; } |
7928 |
+fi |
7929 |
|
7930 |
-cat >>confdefs.h <<\_ACEOF |
7931 |
-#define WORDS_BIGENDIAN 1 |
7932 |
-_ACEOF |
7933 |
- ;; |
7934 |
- no) |
7935 |
- ;; |
7936 |
- *) |
7937 |
- { { echo "$as_me:$LINENO: error: unknown endianness |
7938 |
-presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
7939 |
-echo "$as_me: error: unknown endianness |
7940 |
-presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
7941 |
- { (exit 1); exit 1; }; } ;; |
7942 |
-esac |
7943 |
|
7944 |
+ test -n "$ac_ct_CC" && break |
7945 |
+done |
7946 |
|
7947 |
-if test "${ac_cv_header_stdarg_h+set}" = set; then |
7948 |
- { echo "$as_me:$LINENO: checking for stdarg.h" >&5 |
7949 |
-echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } |
7950 |
-if test "${ac_cv_header_stdarg_h+set}" = set; then |
7951 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7952 |
-fi |
7953 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 |
7954 |
-echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } |
7955 |
-else |
7956 |
- # Is the header compilable? |
7957 |
-{ echo "$as_me:$LINENO: checking stdarg.h usability" >&5 |
7958 |
-echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } |
7959 |
-cat >conftest.$ac_ext <<_ACEOF |
7960 |
-/* confdefs.h. */ |
7961 |
-_ACEOF |
7962 |
-cat confdefs.h >>conftest.$ac_ext |
7963 |
-cat >>conftest.$ac_ext <<_ACEOF |
7964 |
-/* end confdefs.h. */ |
7965 |
-$ac_includes_default |
7966 |
-#include <stdarg.h> |
7967 |
-_ACEOF |
7968 |
-rm -f conftest.$ac_objext |
7969 |
-if { (ac_try="$ac_compile" |
7970 |
-case "(($ac_try" in |
7971 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7972 |
- *) ac_try_echo=$ac_try;; |
7973 |
+ if test "x$ac_ct_CC" = x; then |
7974 |
+ CC="" |
7975 |
+ else |
7976 |
+ case $cross_compiling:$ac_tool_warned in |
7977 |
+yes:) |
7978 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7979 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7980 |
+ac_tool_warned=yes ;; |
7981 |
esac |
7982 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7983 |
- (eval "$ac_compile") 2>conftest.er1 |
7984 |
- ac_status=$? |
7985 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7986 |
- rm -f conftest.er1 |
7987 |
- cat conftest.err >&5 |
7988 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7989 |
- (exit $ac_status); } && { |
7990 |
- test -z "$ac_c_werror_flag" || |
7991 |
- test ! -s conftest.err |
7992 |
- } && test -s conftest.$ac_objext; then |
7993 |
- ac_header_compiler=yes |
7994 |
-else |
7995 |
- echo "$as_me: failed program was:" >&5 |
7996 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7997 |
+ CC=$ac_ct_CC |
7998 |
+ fi |
7999 |
+fi |
8000 |
|
8001 |
- ac_header_compiler=no |
8002 |
fi |
8003 |
|
8004 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8005 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8006 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
8007 |
|
8008 |
-# Is the header present? |
8009 |
-{ echo "$as_me:$LINENO: checking stdarg.h presence" >&5 |
8010 |
-echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } |
8011 |
-cat >conftest.$ac_ext <<_ACEOF |
8012 |
-/* confdefs.h. */ |
8013 |
-_ACEOF |
8014 |
-cat confdefs.h >>conftest.$ac_ext |
8015 |
-cat >>conftest.$ac_ext <<_ACEOF |
8016 |
-/* end confdefs.h. */ |
8017 |
-#include <stdarg.h> |
8018 |
-_ACEOF |
8019 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
8020 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
8021 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
8022 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
8023 |
+See \`config.log' for more details" "$LINENO" 5; } |
8024 |
+ |
8025 |
+# Provide some information about the compiler. |
8026 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
8027 |
+set X $ac_compile |
8028 |
+ac_compiler=$2 |
8029 |
+for ac_option in --version -v -V -qversion; do |
8030 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
8031 |
case "(($ac_try" in |
8032 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8033 |
*) ac_try_echo=$ac_try;; |
8034 |
esac |
8035 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8036 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
8037 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
8038 |
+$as_echo "$ac_try_echo"; } >&5 |
8039 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
8040 |
ac_status=$? |
8041 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8042 |
- rm -f conftest.er1 |
8043 |
- cat conftest.err >&5 |
8044 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8045 |
- (exit $ac_status); } >/dev/null && { |
8046 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8047 |
- test ! -s conftest.err |
8048 |
- }; then |
8049 |
- ac_header_preproc=yes |
8050 |
-else |
8051 |
- echo "$as_me: failed program was:" >&5 |
8052 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8053 |
- |
8054 |
- ac_header_preproc=no |
8055 |
-fi |
8056 |
+ if test -s conftest.err; then |
8057 |
+ sed '10a\ |
8058 |
+... rest of stderr output deleted ... |
8059 |
+ 10q' conftest.err >conftest.er1 |
8060 |
+ cat conftest.er1 >&5 |
8061 |
+ fi |
8062 |
+ rm -f conftest.er1 conftest.err |
8063 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8064 |
+ test $ac_status = 0; } |
8065 |
+done |
8066 |
|
8067 |
-rm -f conftest.err conftest.$ac_ext |
8068 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8069 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
8070 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
8071 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
8072 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
8073 |
+ $as_echo_n "(cached) " >&6 |
8074 |
+else |
8075 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8076 |
+/* end confdefs.h. */ |
8077 |
|
8078 |
-# So? What about this header? |
8079 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8080 |
- yes:no: ) |
8081 |
- { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8082 |
-echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8083 |
- { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 |
8084 |
-echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} |
8085 |
- ac_header_preproc=yes |
8086 |
- ;; |
8087 |
- no:yes:* ) |
8088 |
- { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 |
8089 |
-echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} |
8090 |
- { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 |
8091 |
-echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} |
8092 |
- { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 |
8093 |
-echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} |
8094 |
- { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 |
8095 |
-echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8096 |
- { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 |
8097 |
-echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} |
8098 |
- { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 |
8099 |
-echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} |
8100 |
+int |
8101 |
+main () |
8102 |
+{ |
8103 |
+#ifndef __GNUC__ |
8104 |
+ choke me |
8105 |
+#endif |
8106 |
|
8107 |
- ;; |
8108 |
-esac |
8109 |
-{ echo "$as_me:$LINENO: checking for stdarg.h" >&5 |
8110 |
-echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } |
8111 |
-if test "${ac_cv_header_stdarg_h+set}" = set; then |
8112 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8113 |
+ ; |
8114 |
+ return 0; |
8115 |
+} |
8116 |
+_ACEOF |
8117 |
+if ac_fn_c_try_compile "$LINENO"; then : |
8118 |
+ ac_compiler_gnu=yes |
8119 |
else |
8120 |
- ac_cv_header_stdarg_h=$ac_header_preproc |
8121 |
+ ac_compiler_gnu=no |
8122 |
fi |
8123 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 |
8124 |
-echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } |
8125 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8126 |
+ac_cv_c_compiler_gnu=$ac_compiler_gnu |
8127 |
|
8128 |
fi |
8129 |
-if test $ac_cv_header_stdarg_h = yes; then |
8130 |
- : |
8131 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
8132 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
8133 |
+if test $ac_compiler_gnu = yes; then |
8134 |
+ GCC=yes |
8135 |
else |
8136 |
- { { echo "$as_me:$LINENO: error: ** stdarg.h could not be found - ircd-hybrid will not compile without it **" >&5 |
8137 |
-echo "$as_me: error: ** stdarg.h could not be found - ircd-hybrid will not compile without it **" >&2;} |
8138 |
- { (exit 1); exit 1; }; } |
8139 |
+ GCC= |
8140 |
fi |
8141 |
+ac_test_CFLAGS=${CFLAGS+set} |
8142 |
+ac_save_CFLAGS=$CFLAGS |
8143 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
8144 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
8145 |
+if ${ac_cv_prog_cc_g+:} false; then : |
8146 |
+ $as_echo_n "(cached) " >&6 |
8147 |
+else |
8148 |
+ ac_save_c_werror_flag=$ac_c_werror_flag |
8149 |
+ ac_c_werror_flag=yes |
8150 |
+ ac_cv_prog_cc_g=no |
8151 |
+ CFLAGS="-g" |
8152 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8153 |
+/* end confdefs.h. */ |
8154 |
|
8155 |
+int |
8156 |
+main () |
8157 |
+{ |
8158 |
|
8159 |
- |
8160 |
- |
8161 |
-if test "$ac_cv_c_compiler_gnu" = yes; then |
8162 |
- |
8163 |
-{ echo "$as_me:$LINENO: checking for strlcpy" >&5 |
8164 |
-echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; } |
8165 |
-save_CFLAGS=$CFLAGS |
8166 |
-CFLAGS="$CFLAGS -Wimplicit -Werror" |
8167 |
- |
8168 |
-cat >conftest.$ac_ext <<_ACEOF |
8169 |
-/* confdefs.h. */ |
8170 |
+ ; |
8171 |
+ return 0; |
8172 |
+} |
8173 |
_ACEOF |
8174 |
-cat confdefs.h >>conftest.$ac_ext |
8175 |
-cat >>conftest.$ac_ext <<_ACEOF |
8176 |
+if ac_fn_c_try_compile "$LINENO"; then : |
8177 |
+ ac_cv_prog_cc_g=yes |
8178 |
+else |
8179 |
+ CFLAGS="" |
8180 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8181 |
/* end confdefs.h. */ |
8182 |
-#include <string.h> |
8183 |
- #include <stdlib.h> |
8184 |
+ |
8185 |
int |
8186 |
main () |
8187 |
{ |
8188 |
-char *a = malloc(6), *b = strdup("hello"); |
8189 |
- strlcpy(a, b, 6); |
8190 |
|
8191 |
; |
8192 |
return 0; |
8193 |
} |
8194 |
_ACEOF |
8195 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
8196 |
-if { (ac_try="$ac_link" |
8197 |
-case "(($ac_try" in |
8198 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8199 |
- *) ac_try_echo=$ac_try;; |
8200 |
-esac |
8201 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8202 |
- (eval "$ac_link") 2>conftest.er1 |
8203 |
- ac_status=$? |
8204 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8205 |
- rm -f conftest.er1 |
8206 |
- cat conftest.err >&5 |
8207 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8208 |
- (exit $ac_status); } && { |
8209 |
- test -z "$ac_c_werror_flag" || |
8210 |
- test ! -s conftest.err |
8211 |
- } && test -s conftest$ac_exeext && |
8212 |
- $as_test_x conftest$ac_exeext; then |
8213 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
8214 |
-echo "${ECHO_T}yes" >&6; } |
8215 |
- |
8216 |
-cat >>confdefs.h <<\_ACEOF |
8217 |
-#define HAVE_STRLCPY 1 |
8218 |
-_ACEOF |
8219 |
+if ac_fn_c_try_compile "$LINENO"; then : |
8220 |
|
8221 |
else |
8222 |
- echo "$as_me: failed program was:" >&5 |
8223 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8224 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
8225 |
+ CFLAGS="-g" |
8226 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8227 |
+/* end confdefs.h. */ |
8228 |
|
8229 |
- { echo "$as_me:$LINENO: result: no" >&5 |
8230 |
-echo "${ECHO_T}no" >&6; } |
8231 |
+int |
8232 |
+main () |
8233 |
+{ |
8234 |
|
8235 |
+ ; |
8236 |
+ return 0; |
8237 |
+} |
8238 |
+_ACEOF |
8239 |
+if ac_fn_c_try_compile "$LINENO"; then : |
8240 |
+ ac_cv_prog_cc_g=yes |
8241 |
+fi |
8242 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8243 |
+fi |
8244 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8245 |
+fi |
8246 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8247 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
8248 |
+fi |
8249 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
8250 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
8251 |
+if test "$ac_test_CFLAGS" = set; then |
8252 |
+ CFLAGS=$ac_save_CFLAGS |
8253 |
+elif test $ac_cv_prog_cc_g = yes; then |
8254 |
+ if test "$GCC" = yes; then |
8255 |
+ CFLAGS="-g -O2" |
8256 |
+ else |
8257 |
+ CFLAGS="-g" |
8258 |
+ fi |
8259 |
+else |
8260 |
+ if test "$GCC" = yes; then |
8261 |
+ CFLAGS="-O2" |
8262 |
+ else |
8263 |
+ CFLAGS= |
8264 |
+ fi |
8265 |
fi |
8266 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
8267 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
8268 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
8269 |
+ $as_echo_n "(cached) " >&6 |
8270 |
+else |
8271 |
+ ac_cv_prog_cc_c89=no |
8272 |
+ac_save_CC=$CC |
8273 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8274 |
+/* end confdefs.h. */ |
8275 |
+#include <stdarg.h> |
8276 |
+#include <stdio.h> |
8277 |
+struct stat; |
8278 |
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
8279 |
+struct buf { int x; }; |
8280 |
+FILE * (*rcsopen) (struct buf *, struct stat *, int); |
8281 |
+static char *e (p, i) |
8282 |
+ char **p; |
8283 |
+ int i; |
8284 |
+{ |
8285 |
+ return p[i]; |
8286 |
+} |
8287 |
+static char *f (char * (*g) (char **, int), char **p, ...) |
8288 |
+{ |
8289 |
+ char *s; |
8290 |
+ va_list v; |
8291 |
+ va_start (v,p); |
8292 |
+ s = g (p, va_arg (v,int)); |
8293 |
+ va_end (v); |
8294 |
+ return s; |
8295 |
+} |
8296 |
|
8297 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8298 |
- conftest$ac_exeext conftest.$ac_ext |
8299 |
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
8300 |
+ function prototypes and stuff, but not '\xHH' hex character constants. |
8301 |
+ These don't provoke an error unfortunately, instead are silently treated |
8302 |
+ as 'x'. The following induces an error, until -std is added to get |
8303 |
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
8304 |
+ array size at least. It's necessary to write '\x00'==0 to get something |
8305 |
+ that's true only with -std. */ |
8306 |
+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
8307 |
|
8308 |
-{ echo "$as_me:$LINENO: checking for strlcat" >&5 |
8309 |
-echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; } |
8310 |
-cat >conftest.$ac_ext <<_ACEOF |
8311 |
-/* confdefs.h. */ |
8312 |
-_ACEOF |
8313 |
-cat confdefs.h >>conftest.$ac_ext |
8314 |
-cat >>conftest.$ac_ext <<_ACEOF |
8315 |
-/* end confdefs.h. */ |
8316 |
-#include <string.h> |
8317 |
- #include <stdlib.h> |
8318 |
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
8319 |
+ inside strings and character constants. */ |
8320 |
+#define FOO(x) 'x' |
8321 |
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
8322 |
+ |
8323 |
+int test (int i, double x); |
8324 |
+struct s1 {int (*f) (int a);}; |
8325 |
+struct s2 {int (*f) (double a);}; |
8326 |
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
8327 |
+int argc; |
8328 |
+char **argv; |
8329 |
int |
8330 |
main () |
8331 |
{ |
8332 |
-char *a = malloc(6), *b = strdup("hello"); |
8333 |
- strlcat(a, b, 6); |
8334 |
- |
8335 |
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
8336 |
; |
8337 |
return 0; |
8338 |
} |
8339 |
_ACEOF |
8340 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
8341 |
-if { (ac_try="$ac_link" |
8342 |
-case "(($ac_try" in |
8343 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8344 |
- *) ac_try_echo=$ac_try;; |
8345 |
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
8346 |
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
8347 |
+do |
8348 |
+ CC="$ac_save_CC $ac_arg" |
8349 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
8350 |
+ ac_cv_prog_cc_c89=$ac_arg |
8351 |
+fi |
8352 |
+rm -f core conftest.err conftest.$ac_objext |
8353 |
+ test "x$ac_cv_prog_cc_c89" != "xno" && break |
8354 |
+done |
8355 |
+rm -f conftest.$ac_ext |
8356 |
+CC=$ac_save_CC |
8357 |
+ |
8358 |
+fi |
8359 |
+# AC_CACHE_VAL |
8360 |
+case "x$ac_cv_prog_cc_c89" in |
8361 |
+ x) |
8362 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
8363 |
+$as_echo "none needed" >&6; } ;; |
8364 |
+ xno) |
8365 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
8366 |
+$as_echo "unsupported" >&6; } ;; |
8367 |
+ *) |
8368 |
+ CC="$CC $ac_cv_prog_cc_c89" |
8369 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
8370 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
8371 |
esac |
8372 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8373 |
- (eval "$ac_link") 2>conftest.er1 |
8374 |
- ac_status=$? |
8375 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8376 |
- rm -f conftest.er1 |
8377 |
- cat conftest.err >&5 |
8378 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8379 |
- (exit $ac_status); } && { |
8380 |
- test -z "$ac_c_werror_flag" || |
8381 |
- test ! -s conftest.err |
8382 |
- } && test -s conftest$ac_exeext && |
8383 |
- $as_test_x conftest$ac_exeext; then |
8384 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
8385 |
-echo "${ECHO_T}yes" >&6; } |
8386 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
8387 |
|
8388 |
-cat >>confdefs.h <<\_ACEOF |
8389 |
-#define HAVE_STRLCAT 1 |
8390 |
-_ACEOF |
8391 |
+fi |
8392 |
|
8393 |
-else |
8394 |
- echo "$as_me: failed program was:" >&5 |
8395 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8396 |
+ac_ext=c |
8397 |
+ac_cpp='$CPP $CPPFLAGS' |
8398 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8399 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8400 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8401 |
+ |
8402 |
+ac_ext=c |
8403 |
+ac_cpp='$CPP $CPPFLAGS' |
8404 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8405 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8406 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8407 |
+ |
8408 |
+ |
8409 |
+CFLAGS="$OLD_CFLAGS" |
8410 |
+ |
8411 |
+ |
8412 |
+if test "$ac_cv_c_compiler_gnu" != yes; then |
8413 |
+ |
8414 |
+SGS=no |
8415 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $CC -version for TenDRA or MIPSpro" >&5 |
8416 |
+$as_echo_n "checking $CC -version for TenDRA or MIPSpro... " >&6; } |
8417 |
+case `$CC -version 2>&1` in |
8418 |
+*TenDRA*) |
8419 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, TenDRA" >&5 |
8420 |
+$as_echo "yes, TenDRA" >&6; } |
8421 |
+ IRC_CFLAGS="" |
8422 |
+ CPPFLAGS="$CPPFLAGS -Ylonglong -Yansi -Ysystem" |
8423 |
+ SGS=yes |
8424 |
+ TenDRA=yes |
8425 |
+;; |
8426 |
+*MIPSpro*) |
8427 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, MIPSpro" >&5 |
8428 |
+$as_echo "yes, MIPSpro" >&6; } |
8429 |
+ MIPSpro=yes |
8430 |
+ SGS=yes |
8431 |
+;; |
8432 |
+*) |
8433 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8434 |
+$as_echo "no" >&6; } |
8435 |
+ TenDRA=no |
8436 |
+ MIPSpro=no |
8437 |
+;; |
8438 |
+esac |
8439 |
+ |
8440 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc" >&5 |
8441 |
+$as_echo_n "checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc... " >&6; } |
8442 |
+case `$CC -V 2>&1` in |
8443 |
+*Sun*WorkShop* | *Forte*Developer* | *Sun*C*) |
8444 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun Workshop/Forte" >&5 |
8445 |
+$as_echo "Sun Workshop/Forte" >&6; } |
8446 |
+ IRC_CFLAGS="-xO3 -xdepend -xinline=dlinkAdd,dlinkAddBefore,dlinkAddTail,dlinkDelete,dlink_list_length,dlink_node,dlinkMoveList,_MyMalloc,_MyRealloc,_MyFree,_DupString" |
8447 |
+ SunWorkShop=yes |
8448 |
+ SGS=yes |
8449 |
+;; |
8450 |
+*Tru64*) |
8451 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Tru64 cc" >&5 |
8452 |
+$as_echo "Tru64 cc" >&6; } |
8453 |
+ IRC_CFLAGS="" |
8454 |
+ CPPFLAGS="-I/usr/local/include" |
8455 |
+ Tru=yes |
8456 |
+;; |
8457 |
+*HP*ANSI*) |
8458 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: HPUX cc" >&5 |
8459 |
+$as_echo "HPUX cc" >&6; } |
8460 |
+ HPUX=yes |
8461 |
+ IRC_CFLAGS="+e" |
8462 |
+;; |
8463 |
+*) |
8464 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8465 |
+$as_echo "no" >&6; } |
8466 |
+;; |
8467 |
+esac |
8468 |
+ |
8469 |
+fi |
8470 |
+ |
8471 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking uname -s for Cygwin, Solaris or HPUX" >&5 |
8472 |
+$as_echo_n "checking uname -s for Cygwin, Solaris or HPUX... " >&6; } |
8473 |
+case `uname -s` in |
8474 |
+ HP-UX*) |
8475 |
+ |
8476 |
+ if test "$HPUX" != yes -a "$ac_cv_c_compiler_gnu" = no; then |
8477 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming old HPUX with its own cc" >&5 |
8478 |
+$as_echo "assuming old HPUX with its own cc" >&6; } |
8479 |
+ IRC_CFLAGS="$IRC_CFLAGS +e" |
8480 |
+ HPUX=yes |
8481 |
+ else |
8482 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: already using newer HPUX" >&5 |
8483 |
+$as_echo "already using newer HPUX" >&6; } |
8484 |
+ fi |
8485 |
+ ;; |
8486 |
+ CYGWIN*) |
8487 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cygwin" >&5 |
8488 |
+$as_echo "Cygwin" >&6; } |
8489 |
+ CYGWIN=yes |
8490 |
+ ;; |
8491 |
+ SunOS*) |
8492 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: SunOS or Solaris" >&5 |
8493 |
+$as_echo "SunOS or Solaris" >&6; } |
8494 |
+ |
8495 |
+$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
8496 |
+ |
8497 |
+ ;; |
8498 |
+ *) |
8499 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8500 |
+$as_echo "no" >&6; } |
8501 |
+ ;; |
8502 |
+esac |
8503 |
+ |
8504 |
+if test "$ac_cv_c_compiler_gnu" = yes; then |
8505 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC is Apple GCC" >&5 |
8506 |
+$as_echo_n "checking if $CC is Apple GCC... " >&6; } |
8507 |
+ |
8508 |
+ if expr "`$CC -v 2>&1 | tail -1`" : ".*Apple" >/dev/null; then |
8509 |
+ AppleGCC=yes |
8510 |
+ else |
8511 |
+ AppleGCC=no |
8512 |
+ fi |
8513 |
|
8514 |
- { echo "$as_me:$LINENO: result: no" >&5 |
8515 |
-echo "${ECHO_T}no" >&6; } |
8516 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AppleGCC" >&5 |
8517 |
+$as_echo "$AppleGCC" >&6; } |
8518 |
|
8519 |
+ IRC_CFLAGS="$IRC_CFLAGS -Wall -O2" |
8520 |
fi |
8521 |
|
8522 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8523 |
- conftest$ac_exeext conftest.$ac_ext |
8524 |
- |
8525 |
-CFLAGS=$save_CFLAGS |
8526 |
+if test "$ac_cv_prog_cc_g" = yes; then |
8527 |
+ if test "$Tru" = yes; then |
8528 |
+ IRC_CFLAGS="$IRC_CFLAGS -g3" |
8529 |
+ else |
8530 |
+ IRC_CFLAGS="$IRC_CFLAGS -g" |
8531 |
+ fi |
8532 |
+fi |
8533 |
|
8534 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports the SVR4 SGS interfaces" >&5 |
8535 |
+$as_echo_n "checking if $CC supports the SVR4 SGS interfaces... " >&6; } |
8536 |
+if test "$SGS" = "yes"; then |
8537 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
8538 |
+$as_echo "yes" >&6; } |
8539 |
else |
8540 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8541 |
+$as_echo "no" >&6; } |
8542 |
+fi |
8543 |
|
8544 |
+# Extract the first word of "mkdep", so it can be a program name with args. |
8545 |
+set dummy mkdep; ac_word=$2 |
8546 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8547 |
+$as_echo_n "checking for $ac_word... " >&6; } |
8548 |
+if ${ac_cv_path_MKDEP+:} false; then : |
8549 |
+ $as_echo_n "(cached) " >&6 |
8550 |
+else |
8551 |
+ case $MKDEP in |
8552 |
+ [\\/]* | ?:[\\/]*) |
8553 |
+ ac_cv_path_MKDEP="$MKDEP" # Let the user override the test with a path. |
8554 |
+ ;; |
8555 |
+ *) |
8556 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8557 |
+for as_dir in $PATH |
8558 |
+do |
8559 |
+ IFS=$as_save_IFS |
8560 |
+ test -z "$as_dir" && as_dir=. |
8561 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
8562 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8563 |
+ ac_cv_path_MKDEP="$as_dir/$ac_word$ac_exec_ext" |
8564 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8565 |
+ break 2 |
8566 |
+ fi |
8567 |
+done |
8568 |
+ done |
8569 |
+IFS=$as_save_IFS |
8570 |
|
8571 |
+ ;; |
8572 |
+esac |
8573 |
+fi |
8574 |
+MKDEP=$ac_cv_path_MKDEP |
8575 |
+if test -n "$MKDEP"; then |
8576 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDEP" >&5 |
8577 |
+$as_echo "$MKDEP" >&6; } |
8578 |
+else |
8579 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8580 |
+$as_echo "no" >&6; } |
8581 |
+fi |
8582 |
|
8583 |
|
8584 |
-for ac_func in strlcat strlcpy |
8585 |
-do |
8586 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8587 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8588 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
8589 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
8590 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8591 |
+# Extract the first word of "makedepend", so it can be a program name with args. |
8592 |
+set dummy makedepend; ac_word=$2 |
8593 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8594 |
+$as_echo_n "checking for $ac_word... " >&6; } |
8595 |
+if ${ac_cv_path_MAKEDEPEND+:} false; then : |
8596 |
+ $as_echo_n "(cached) " >&6 |
8597 |
else |
8598 |
- cat >conftest.$ac_ext <<_ACEOF |
8599 |
-/* confdefs.h. */ |
8600 |
-_ACEOF |
8601 |
-cat confdefs.h >>conftest.$ac_ext |
8602 |
-cat >>conftest.$ac_ext <<_ACEOF |
8603 |
-/* end confdefs.h. */ |
8604 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
8605 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
8606 |
-#define $ac_func innocuous_$ac_func |
8607 |
- |
8608 |
-/* System header to define __stub macros and hopefully few prototypes, |
8609 |
- which can conflict with char $ac_func (); below. |
8610 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8611 |
- <limits.h> exists even on freestanding compilers. */ |
8612 |
+ case $MAKEDEPEND in |
8613 |
+ [\\/]* | ?:[\\/]*) |
8614 |
+ ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path. |
8615 |
+ ;; |
8616 |
+ *) |
8617 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8618 |
+for as_dir in $PATH |
8619 |
+do |
8620 |
+ IFS=$as_save_IFS |
8621 |
+ test -z "$as_dir" && as_dir=. |
8622 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
8623 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
8624 |
+ ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext" |
8625 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8626 |
+ break 2 |
8627 |
+ fi |
8628 |
+done |
8629 |
+ done |
8630 |
+IFS=$as_save_IFS |
8631 |
|
8632 |
-#ifdef __STDC__ |
8633 |
-# include <limits.h> |
8634 |
-#else |
8635 |
-# include <assert.h> |
8636 |
-#endif |
8637 |
+ ;; |
8638 |
+esac |
8639 |
+fi |
8640 |
+MAKEDEPEND=$ac_cv_path_MAKEDEPEND |
8641 |
+if test -n "$MAKEDEPEND"; then |
8642 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5 |
8643 |
+$as_echo "$MAKEDEPEND" >&6; } |
8644 |
+else |
8645 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8646 |
+$as_echo "no" >&6; } |
8647 |
+fi |
8648 |
|
8649 |
-#undef $ac_func |
8650 |
|
8651 |
-/* Override any GCC internal prototype to avoid an error. |
8652 |
- Use char because int might match the return type of a GCC |
8653 |
- builtin and then its argument prototype would still apply. */ |
8654 |
-#ifdef __cplusplus |
8655 |
-extern "C" |
8656 |
-#endif |
8657 |
-char $ac_func (); |
8658 |
-/* The GNU C library defines this for functions which it implements |
8659 |
- to always fail with ENOSYS. Some functions are actually named |
8660 |
- something starting with __ and the normal name is an alias. */ |
8661 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
8662 |
-choke me |
8663 |
-#endif |
8664 |
|
8665 |
-int |
8666 |
-main () |
8667 |
-{ |
8668 |
-return $ac_func (); |
8669 |
- ; |
8670 |
- return 0; |
8671 |
-} |
8672 |
-_ACEOF |
8673 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
8674 |
-if { (ac_try="$ac_link" |
8675 |
-case "(($ac_try" in |
8676 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8677 |
- *) ac_try_echo=$ac_try;; |
8678 |
-esac |
8679 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8680 |
- (eval "$ac_link") 2>conftest.er1 |
8681 |
- ac_status=$? |
8682 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8683 |
- rm -f conftest.er1 |
8684 |
- cat conftest.err >&5 |
8685 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8686 |
- (exit $ac_status); } && { |
8687 |
- test -z "$ac_c_werror_flag" || |
8688 |
- test ! -s conftest.err |
8689 |
- } && test -s conftest$ac_exeext && |
8690 |
- $as_test_x conftest$ac_exeext; then |
8691 |
- eval "$as_ac_var=yes" |
8692 |
-else |
8693 |
- echo "$as_me: failed program was:" >&5 |
8694 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8695 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to generate dependency info" >&5 |
8696 |
+$as_echo_n "checking how to generate dependency info... " >&6; } |
8697 |
|
8698 |
- eval "$as_ac_var=no" |
8699 |
-fi |
8700 |
+STDOUT="> .depend" |
8701 |
|
8702 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8703 |
- conftest$ac_exeext conftest.$ac_ext |
8704 |
-fi |
8705 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
8706 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8707 |
-echo "${ECHO_T}$ac_res" >&6; } |
8708 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
8709 |
- cat >>confdefs.h <<_ACEOF |
8710 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8711 |
-_ACEOF |
8712 |
+if test "$ac_cv_c_compiler_gnu" = yes; then |
8713 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc -MM" >&5 |
8714 |
+$as_echo "gcc -MM" >&6; } |
8715 |
+ MKDEP="$CC -MM" |
8716 |
+elif test ! -z "$MKDEP"; then |
8717 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: mkdep" >&5 |
8718 |
+$as_echo "mkdep" >&6; } |
8719 |
|
8720 |
+ if test -z "$Tru"; then |
8721 |
+ STDOUT="" |
8722 |
+ else |
8723 |
+ STDOUT=" 2> /dev/null" |
8724 |
+ fi |
8725 |
+elif test "$SunWorkShop" = yes; then |
8726 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC -xM" >&5 |
8727 |
+$as_echo "$CC -xM" >&6; } |
8728 |
+ MKDEP="$CC -xM" |
8729 |
+ STDOUT="> .depend 2> /dev/null" |
8730 |
+elif test ! -z "$MAKEDEPEND"; then |
8731 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: makedepend" >&5 |
8732 |
+$as_echo "makedepend" >&6; } |
8733 |
+ MKDEP="$MAKEDEPEND -f-" |
8734 |
+else |
8735 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: nothing suitable.. forget it!" >&5 |
8736 |
+$as_echo "nothing suitable.. forget it!" >&6; } |
8737 |
+ MKDEP=":" |
8738 |
fi |
8739 |
-done |
8740 |
|
8741 |
|
8742 |
-fi |
8743 |
|
8744 |
-{ echo "$as_me:$LINENO: checking for int64_t" >&5 |
8745 |
-echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; } |
8746 |
-if test "${ac_cv_type_int64_t+set}" = set; then |
8747 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8748 |
-else |
8749 |
- cat >conftest.$ac_ext <<_ACEOF |
8750 |
-/* confdefs.h. */ |
8751 |
-_ACEOF |
8752 |
-cat confdefs.h >>conftest.$ac_ext |
8753 |
-cat >>conftest.$ac_ext <<_ACEOF |
8754 |
-/* end confdefs.h. */ |
8755 |
-$ac_includes_default |
8756 |
-typedef int64_t ac__type_new_; |
8757 |
-int |
8758 |
-main () |
8759 |
-{ |
8760 |
-if ((ac__type_new_ *) 0) |
8761 |
- return 0; |
8762 |
-if (sizeof (ac__type_new_)) |
8763 |
- return 0; |
8764 |
- ; |
8765 |
- return 0; |
8766 |
-} |
8767 |
-_ACEOF |
8768 |
-rm -f conftest.$ac_objext |
8769 |
-if { (ac_try="$ac_compile" |
8770 |
-case "(($ac_try" in |
8771 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8772 |
- *) ac_try_echo=$ac_try;; |
8773 |
-esac |
8774 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8775 |
- (eval "$ac_compile") 2>conftest.er1 |
8776 |
- ac_status=$? |
8777 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8778 |
- rm -f conftest.er1 |
8779 |
- cat conftest.err >&5 |
8780 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8781 |
- (exit $ac_status); } && { |
8782 |
- test -z "$ac_c_werror_flag" || |
8783 |
- test ! -s conftest.err |
8784 |
- } && test -s conftest.$ac_objext; then |
8785 |
- ac_cv_type_int64_t=yes |
8786 |
-else |
8787 |
- echo "$as_me: failed program was:" >&5 |
8788 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8789 |
|
8790 |
- ac_cv_type_int64_t=no |
8791 |
-fi |
8792 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
8793 |
+$as_echo_n "checking for /dev/null... " >&6; } |
8794 |
+if test -c /dev/null ; then |
8795 |
|
8796 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8797 |
-fi |
8798 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
8799 |
-echo "${ECHO_T}$ac_cv_type_int64_t" >&6; } |
8800 |
+$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
8801 |
|
8802 |
-# The cast to long int works around a bug in the HP C Compiler |
8803 |
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
8804 |
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
8805 |
-# This bug is HP SR number 8606223364. |
8806 |
-{ echo "$as_me:$LINENO: checking size of int64_t" >&5 |
8807 |
-echo $ECHO_N "checking size of int64_t... $ECHO_C" >&6; } |
8808 |
-if test "${ac_cv_sizeof_int64_t+set}" = set; then |
8809 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8810 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
8811 |
+$as_echo "yes" >&6; } |
8812 |
else |
8813 |
- if test "$cross_compiling" = yes; then |
8814 |
- # Depending upon the size, compute the lo and hi bounds. |
8815 |
-cat >conftest.$ac_ext <<_ACEOF |
8816 |
-/* confdefs.h. */ |
8817 |
-_ACEOF |
8818 |
-cat confdefs.h >>conftest.$ac_ext |
8819 |
-cat >>conftest.$ac_ext <<_ACEOF |
8820 |
-/* end confdefs.h. */ |
8821 |
-$ac_includes_default |
8822 |
- typedef int64_t ac__type_sizeof_; |
8823 |
-int |
8824 |
-main () |
8825 |
-{ |
8826 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
8827 |
-test_array [0] = 0 |
8828 |
|
8829 |
- ; |
8830 |
- return 0; |
8831 |
-} |
8832 |
-_ACEOF |
8833 |
-rm -f conftest.$ac_objext |
8834 |
-if { (ac_try="$ac_compile" |
8835 |
-case "(($ac_try" in |
8836 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8837 |
- *) ac_try_echo=$ac_try;; |
8838 |
-esac |
8839 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8840 |
- (eval "$ac_compile") 2>conftest.er1 |
8841 |
- ac_status=$? |
8842 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8843 |
- rm -f conftest.er1 |
8844 |
- cat conftest.err >&5 |
8845 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8846 |
- (exit $ac_status); } && { |
8847 |
- test -z "$ac_c_werror_flag" || |
8848 |
- test ! -s conftest.err |
8849 |
- } && test -s conftest.$ac_objext; then |
8850 |
- ac_lo=0 ac_mid=0 |
8851 |
- while :; do |
8852 |
- cat >conftest.$ac_ext <<_ACEOF |
8853 |
-/* confdefs.h. */ |
8854 |
-_ACEOF |
8855 |
-cat confdefs.h >>conftest.$ac_ext |
8856 |
-cat >>conftest.$ac_ext <<_ACEOF |
8857 |
-/* end confdefs.h. */ |
8858 |
-$ac_includes_default |
8859 |
- typedef int64_t ac__type_sizeof_; |
8860 |
-int |
8861 |
-main () |
8862 |
-{ |
8863 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8864 |
-test_array [0] = 0 |
8865 |
+$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
8866 |
|
8867 |
- ; |
8868 |
- return 0; |
8869 |
-} |
8870 |
-_ACEOF |
8871 |
-rm -f conftest.$ac_objext |
8872 |
-if { (ac_try="$ac_compile" |
8873 |
-case "(($ac_try" in |
8874 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8875 |
- *) ac_try_echo=$ac_try;; |
8876 |
-esac |
8877 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8878 |
- (eval "$ac_compile") 2>conftest.er1 |
8879 |
- ac_status=$? |
8880 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8881 |
- rm -f conftest.er1 |
8882 |
- cat conftest.err >&5 |
8883 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8884 |
- (exit $ac_status); } && { |
8885 |
- test -z "$ac_c_werror_flag" || |
8886 |
- test ! -s conftest.err |
8887 |
- } && test -s conftest.$ac_objext; then |
8888 |
- ac_hi=$ac_mid; break |
8889 |
-else |
8890 |
- echo "$as_me: failed program was:" >&5 |
8891 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8892 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
8893 |
+$as_echo "no - using devnull.log" >&6; } |
8894 |
+fi |
8895 |
|
8896 |
- ac_lo=`expr $ac_mid + 1` |
8897 |
- if test $ac_lo -le $ac_mid; then |
8898 |
- ac_lo= ac_hi= |
8899 |
- break |
8900 |
- fi |
8901 |
- ac_mid=`expr 2 '*' $ac_mid + 1` |
8902 |
+if test ! -z "$CFLAGS"; then |
8903 |
+ IRC_CFLAGS="$IRC_CFLAGS $CFLAGS" |
8904 |
fi |
8905 |
|
8906 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8907 |
- done |
8908 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
8909 |
+$as_echo_n "checking for library containing strerror... " >&6; } |
8910 |
+if ${ac_cv_search_strerror+:} false; then : |
8911 |
+ $as_echo_n "(cached) " >&6 |
8912 |
else |
8913 |
- echo "$as_me: failed program was:" >&5 |
8914 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8915 |
- |
8916 |
- cat >conftest.$ac_ext <<_ACEOF |
8917 |
-/* confdefs.h. */ |
8918 |
-_ACEOF |
8919 |
-cat confdefs.h >>conftest.$ac_ext |
8920 |
-cat >>conftest.$ac_ext <<_ACEOF |
8921 |
+ ac_func_search_save_LIBS=$LIBS |
8922 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8923 |
/* end confdefs.h. */ |
8924 |
-$ac_includes_default |
8925 |
- typedef int64_t ac__type_sizeof_; |
8926 |
-int |
8927 |
-main () |
8928 |
-{ |
8929 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
8930 |
-test_array [0] = 0 |
8931 |
|
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8943 |
- (eval "$ac_compile") 2>conftest.er1 |
8944 |
- ac_status=$? |
8945 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8946 |
- rm -f conftest.er1 |
8947 |
- cat conftest.err >&5 |
8948 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8949 |
- (exit $ac_status); } && { |
8950 |
- test -z "$ac_c_werror_flag" || |
8951 |
- test ! -s conftest.err |
8952 |
- } && test -s conftest.$ac_objext; then |
8953 |
- ac_hi=-1 ac_mid=-1 |
8954 |
- while :; do |
8955 |
- cat >conftest.$ac_ext <<_ACEOF |
8956 |
-/* confdefs.h. */ |
8957 |
-_ACEOF |
8958 |
-cat confdefs.h >>conftest.$ac_ext |
8959 |
-cat >>conftest.$ac_ext <<_ACEOF |
8960 |
-/* end confdefs.h. */ |
8961 |
-$ac_includes_default |
8962 |
- typedef int64_t ac__type_sizeof_; |
8963 |
+/* Override any GCC internal prototype to avoid an error. |
8964 |
+ Use char because int might match the return type of a GCC |
8965 |
+ builtin and then its argument prototype would still apply. */ |
8966 |
+#ifdef __cplusplus |
8967 |
+extern "C" |
8968 |
+#endif |
8969 |
+char strerror (); |
8970 |
int |
8971 |
main () |
8972 |
{ |
8973 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
8974 |
-test_array [0] = 0 |
8975 |
- |
8976 |
+return strerror (); |
8977 |
; |
8978 |
return 0; |
8979 |
} |
8980 |
_ACEOF |
8981 |
-rm -f conftest.$ac_objext |
8982 |
-if { (ac_try="$ac_compile" |
8983 |
-case "(($ac_try" in |
8984 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8985 |
- *) ac_try_echo=$ac_try;; |
8986 |
-esac |
8987 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8988 |
- (eval "$ac_compile") 2>conftest.er1 |
8989 |
- ac_status=$? |
8990 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8991 |
- rm -f conftest.er1 |
8992 |
- cat conftest.err >&5 |
8993 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8994 |
- (exit $ac_status); } && { |
8995 |
- test -z "$ac_c_werror_flag" || |
8996 |
- test ! -s conftest.err |
8997 |
- } && test -s conftest.$ac_objext; then |
8998 |
- ac_lo=$ac_mid; break |
8999 |
+for ac_lib in '' cposix; do |
9000 |
+ if test -z "$ac_lib"; then |
9001 |
+ ac_res="none required" |
9002 |
+ else |
9003 |
+ ac_res=-l$ac_lib |
9004 |
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9005 |
+ fi |
9006 |
+ if ac_fn_c_try_link "$LINENO"; then : |
9007 |
+ ac_cv_search_strerror=$ac_res |
9008 |
+fi |
9009 |
+rm -f core conftest.err conftest.$ac_objext \ |
9010 |
+ conftest$ac_exeext |
9011 |
+ if ${ac_cv_search_strerror+:} false; then : |
9012 |
+ break |
9013 |
+fi |
9014 |
+done |
9015 |
+if ${ac_cv_search_strerror+:} false; then : |
9016 |
+ |
9017 |
else |
9018 |
- echo "$as_me: failed program was:" >&5 |
9019 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9020 |
+ ac_cv_search_strerror=no |
9021 |
+fi |
9022 |
+rm conftest.$ac_ext |
9023 |
+LIBS=$ac_func_search_save_LIBS |
9024 |
+fi |
9025 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 |
9026 |
+$as_echo "$ac_cv_search_strerror" >&6; } |
9027 |
+ac_res=$ac_cv_search_strerror |
9028 |
+if test "$ac_res" != no; then : |
9029 |
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
9030 |
|
9031 |
- ac_hi=`expr '(' $ac_mid ')' - 1` |
9032 |
- if test $ac_mid -le $ac_hi; then |
9033 |
- ac_lo= ac_hi= |
9034 |
- break |
9035 |
- fi |
9036 |
- ac_mid=`expr 2 '*' $ac_mid` |
9037 |
fi |
9038 |
|
9039 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9040 |
- done |
9041 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
9042 |
+$as_echo_n "checking for inline... " >&6; } |
9043 |
+if ${ac_cv_c_inline+:} false; then : |
9044 |
+ $as_echo_n "(cached) " >&6 |
9045 |
else |
9046 |
- echo "$as_me: failed program was:" >&5 |
9047 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9048 |
+ ac_cv_c_inline=no |
9049 |
+for ac_kw in inline __inline__ __inline; do |
9050 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9051 |
+/* end confdefs.h. */ |
9052 |
+#ifndef __cplusplus |
9053 |
+typedef int foo_t; |
9054 |
+static $ac_kw foo_t static_foo () {return 0; } |
9055 |
+$ac_kw foo_t foo () {return 0; } |
9056 |
+#endif |
9057 |
|
9058 |
- ac_lo= ac_hi= |
9059 |
+_ACEOF |
9060 |
+if ac_fn_c_try_compile "$LINENO"; then : |
9061 |
+ ac_cv_c_inline=$ac_kw |
9062 |
fi |
9063 |
- |
9064 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9065 |
+ test "$ac_cv_c_inline" != no && break |
9066 |
+done |
9067 |
+ |
9068 |
fi |
9069 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
9070 |
+$as_echo "$ac_cv_c_inline" >&6; } |
9071 |
|
9072 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9073 |
-# Binary search between lo and hi bounds. |
9074 |
-while test "x$ac_lo" != "x$ac_hi"; do |
9075 |
- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
9076 |
- cat >conftest.$ac_ext <<_ACEOF |
9077 |
-/* confdefs.h. */ |
9078 |
+case $ac_cv_c_inline in |
9079 |
+ inline | yes) ;; |
9080 |
+ *) |
9081 |
+ case $ac_cv_c_inline in |
9082 |
+ no) ac_val=;; |
9083 |
+ *) ac_val=$ac_cv_c_inline;; |
9084 |
+ esac |
9085 |
+ cat >>confdefs.h <<_ACEOF |
9086 |
+#ifndef __cplusplus |
9087 |
+#define inline $ac_val |
9088 |
+#endif |
9089 |
_ACEOF |
9090 |
-cat confdefs.h >>conftest.$ac_ext |
9091 |
-cat >>conftest.$ac_ext <<_ACEOF |
9092 |
+ ;; |
9093 |
+esac |
9094 |
+ |
9095 |
+if test $ac_cv_c_compiler_gnu = yes; then |
9096 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
9097 |
+$as_echo_n "checking whether $CC needs -traditional... " >&6; } |
9098 |
+if ${ac_cv_prog_gcc_traditional+:} false; then : |
9099 |
+ $as_echo_n "(cached) " >&6 |
9100 |
+else |
9101 |
+ ac_pattern="Autoconf.*'x'" |
9102 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9103 |
/* end confdefs.h. */ |
9104 |
-$ac_includes_default |
9105 |
- typedef int64_t ac__type_sizeof_; |
9106 |
-int |
9107 |
-main () |
9108 |
-{ |
9109 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
9110 |
-test_array [0] = 0 |
9111 |
+#include <sgtty.h> |
9112 |
+Autoconf TIOCGETP |
9113 |
+_ACEOF |
9114 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9115 |
+ $EGREP "$ac_pattern" >/dev/null 2>&1; then : |
9116 |
+ ac_cv_prog_gcc_traditional=yes |
9117 |
+else |
9118 |
+ ac_cv_prog_gcc_traditional=no |
9119 |
+fi |
9120 |
+rm -f conftest* |
9121 |
|
9122 |
- ; |
9123 |
- return 0; |
9124 |
-} |
9125 |
+ |
9126 |
+ if test $ac_cv_prog_gcc_traditional = no; then |
9127 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9128 |
+/* end confdefs.h. */ |
9129 |
+#include <termio.h> |
9130 |
+Autoconf TCGETA |
9131 |
_ACEOF |
9132 |
-rm -f conftest.$ac_objext |
9133 |
-if { (ac_try="$ac_compile" |
9134 |
-case "(($ac_try" in |
9135 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9136 |
- *) ac_try_echo=$ac_try;; |
9137 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9138 |
+ $EGREP "$ac_pattern" >/dev/null 2>&1; then : |
9139 |
+ ac_cv_prog_gcc_traditional=yes |
9140 |
+fi |
9141 |
+rm -f conftest* |
9142 |
+ |
9143 |
+ fi |
9144 |
+fi |
9145 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 |
9146 |
+$as_echo "$ac_cv_prog_gcc_traditional" >&6; } |
9147 |
+ if test $ac_cv_prog_gcc_traditional = yes; then |
9148 |
+ CC="$CC -traditional" |
9149 |
+ fi |
9150 |
+fi |
9151 |
+ |
9152 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
9153 |
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
9154 |
+set x ${MAKE-make} |
9155 |
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
9156 |
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
9157 |
+ $as_echo_n "(cached) " >&6 |
9158 |
+else |
9159 |
+ cat >conftest.make <<\_ACEOF |
9160 |
+SHELL = /bin/sh |
9161 |
+all: |
9162 |
+ @echo '@@@%%%=$(MAKE)=@@@%%%' |
9163 |
+_ACEOF |
9164 |
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
9165 |
+case `${MAKE-make} -f conftest.make 2>/dev/null` in |
9166 |
+ *@@@%%%=?*=@@@%%%*) |
9167 |
+ eval ac_cv_prog_make_${ac_make}_set=yes;; |
9168 |
+ *) |
9169 |
+ eval ac_cv_prog_make_${ac_make}_set=no;; |
9170 |
esac |
9171 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9172 |
- (eval "$ac_compile") 2>conftest.er1 |
9173 |
- ac_status=$? |
9174 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9175 |
- rm -f conftest.er1 |
9176 |
- cat conftest.err >&5 |
9177 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9178 |
- (exit $ac_status); } && { |
9179 |
- test -z "$ac_c_werror_flag" || |
9180 |
- test ! -s conftest.err |
9181 |
- } && test -s conftest.$ac_objext; then |
9182 |
- ac_hi=$ac_mid |
9183 |
+rm -f conftest.make |
9184 |
+fi |
9185 |
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
9186 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
9187 |
+$as_echo "yes" >&6; } |
9188 |
+ SET_MAKE= |
9189 |
else |
9190 |
- echo "$as_me: failed program was:" >&5 |
9191 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9192 |
- |
9193 |
- ac_lo=`expr '(' $ac_mid ')' + 1` |
9194 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9195 |
+$as_echo "no" >&6; } |
9196 |
+ SET_MAKE="MAKE=${MAKE-make}" |
9197 |
fi |
9198 |
|
9199 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9200 |
+ac_aux_dir= |
9201 |
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
9202 |
+ if test -f "$ac_dir/install-sh"; then |
9203 |
+ ac_aux_dir=$ac_dir |
9204 |
+ ac_install_sh="$ac_aux_dir/install-sh -c" |
9205 |
+ break |
9206 |
+ elif test -f "$ac_dir/install.sh"; then |
9207 |
+ ac_aux_dir=$ac_dir |
9208 |
+ ac_install_sh="$ac_aux_dir/install.sh -c" |
9209 |
+ break |
9210 |
+ elif test -f "$ac_dir/shtool"; then |
9211 |
+ ac_aux_dir=$ac_dir |
9212 |
+ ac_install_sh="$ac_aux_dir/shtool install -c" |
9213 |
+ break |
9214 |
+ fi |
9215 |
done |
9216 |
-case $ac_lo in |
9217 |
-?*) ac_cv_sizeof_int64_t=$ac_lo;; |
9218 |
-'') if test "$ac_cv_type_int64_t" = yes; then |
9219 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t) |
9220 |
-See \`config.log' for more details." >&5 |
9221 |
-echo "$as_me: error: cannot compute sizeof (int64_t) |
9222 |
-See \`config.log' for more details." >&2;} |
9223 |
- { (exit 77); exit 77; }; } |
9224 |
- else |
9225 |
- ac_cv_sizeof_int64_t=0 |
9226 |
- fi ;; |
9227 |
-esac |
9228 |
+if test -z "$ac_aux_dir"; then |
9229 |
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
9230 |
+fi |
9231 |
+ |
9232 |
+# These three variables are undocumented and unsupported, |
9233 |
+# and are intended to be withdrawn in a future Autoconf release. |
9234 |
+# They can cause serious problems if a builder's source tree is in a directory |
9235 |
+# whose full name contains unusual characters. |
9236 |
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
9237 |
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
9238 |
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
9239 |
+ |
9240 |
+ |
9241 |
+# Find a good install program. We prefer a C program (faster), |
9242 |
+# so one script is as good as another. But avoid the broken or |
9243 |
+# incompatible versions: |
9244 |
+# SysV /etc/install, /usr/sbin/install |
9245 |
+# SunOS /usr/etc/install |
9246 |
+# IRIX /sbin/install |
9247 |
+# AIX /bin/install |
9248 |
+# AmigaOS /C/install, which installs bootblocks on floppy discs |
9249 |
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
9250 |
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
9251 |
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
9252 |
+# OS/2's system install, which has a completely different semantic |
9253 |
+# ./install, which can be erroneously created by make from ./install.sh. |
9254 |
+# Reject install programs that cannot install multiple files. |
9255 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
9256 |
+$as_echo_n "checking for a BSD-compatible install... " >&6; } |
9257 |
+if test -z "$INSTALL"; then |
9258 |
+if ${ac_cv_path_install+:} false; then : |
9259 |
+ $as_echo_n "(cached) " >&6 |
9260 |
else |
9261 |
- cat >conftest.$ac_ext <<_ACEOF |
9262 |
-/* confdefs.h. */ |
9263 |
-_ACEOF |
9264 |
-cat confdefs.h >>conftest.$ac_ext |
9265 |
-cat >>conftest.$ac_ext <<_ACEOF |
9266 |
-/* end confdefs.h. */ |
9267 |
-$ac_includes_default |
9268 |
- typedef int64_t ac__type_sizeof_; |
9269 |
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
9270 |
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
9271 |
-#include <stdio.h> |
9272 |
-#include <stdlib.h> |
9273 |
-int |
9274 |
-main () |
9275 |
-{ |
9276 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9277 |
+for as_dir in $PATH |
9278 |
+do |
9279 |
+ IFS=$as_save_IFS |
9280 |
+ test -z "$as_dir" && as_dir=. |
9281 |
+ # Account for people who put trailing slashes in PATH elements. |
9282 |
+case $as_dir/ in #(( |
9283 |
+ ./ | .// | /[cC]/* | \ |
9284 |
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
9285 |
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
9286 |
+ /usr/ucb/* ) ;; |
9287 |
+ *) |
9288 |
+ # OSF1 and SCO ODT 3.0 have their own names for install. |
9289 |
+ # Don't use installbsd from OSF since it installs stuff as root |
9290 |
+ # by default. |
9291 |
+ for ac_prog in ginstall scoinst install; do |
9292 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
9293 |
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
9294 |
+ if test $ac_prog = install && |
9295 |
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
9296 |
+ # AIX install. It has an incompatible calling convention. |
9297 |
+ : |
9298 |
+ elif test $ac_prog = install && |
9299 |
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
9300 |
+ # program-specific install script used by HP pwplus--don't use. |
9301 |
+ : |
9302 |
+ else |
9303 |
+ rm -rf conftest.one conftest.two conftest.dir |
9304 |
+ echo one > conftest.one |
9305 |
+ echo two > conftest.two |
9306 |
+ mkdir conftest.dir |
9307 |
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
9308 |
+ test -s conftest.one && test -s conftest.two && |
9309 |
+ test -s conftest.dir/conftest.one && |
9310 |
+ test -s conftest.dir/conftest.two |
9311 |
+ then |
9312 |
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
9313 |
+ break 3 |
9314 |
+ fi |
9315 |
+ fi |
9316 |
+ fi |
9317 |
+ done |
9318 |
+ done |
9319 |
+ ;; |
9320 |
+esac |
9321 |
|
9322 |
- FILE *f = fopen ("conftest.val", "w"); |
9323 |
- if (! f) |
9324 |
- return 1; |
9325 |
- if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
9326 |
- { |
9327 |
- long int i = longval (); |
9328 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
9329 |
- return 1; |
9330 |
- fprintf (f, "%ld\n", i); |
9331 |
- } |
9332 |
+ done |
9333 |
+IFS=$as_save_IFS |
9334 |
+ |
9335 |
+rm -rf conftest.one conftest.two conftest.dir |
9336 |
+ |
9337 |
+fi |
9338 |
+ if test "${ac_cv_path_install+set}" = set; then |
9339 |
+ INSTALL=$ac_cv_path_install |
9340 |
else |
9341 |
- { |
9342 |
- unsigned long int i = ulongval (); |
9343 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
9344 |
- return 1; |
9345 |
- fprintf (f, "%lu\n", i); |
9346 |
- } |
9347 |
- return ferror (f) || fclose (f) != 0; |
9348 |
+ # As a last resort, use the slow shell script. Don't cache a |
9349 |
+ # value for INSTALL within a source directory, because that will |
9350 |
+ # break other packages using the cache if that directory is |
9351 |
+ # removed, or if the value is a relative name. |
9352 |
+ INSTALL=$ac_install_sh |
9353 |
+ fi |
9354 |
+fi |
9355 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
9356 |
+$as_echo "$INSTALL" >&6; } |
9357 |
|
9358 |
- ; |
9359 |
- return 0; |
9360 |
-} |
9361 |
-_ACEOF |
9362 |
-rm -f conftest$ac_exeext |
9363 |
-if { (ac_try="$ac_link" |
9364 |
-case "(($ac_try" in |
9365 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9366 |
- *) ac_try_echo=$ac_try;; |
9367 |
-esac |
9368 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9369 |
- (eval "$ac_link") 2>&5 |
9370 |
- ac_status=$? |
9371 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9372 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9373 |
- { (case "(($ac_try" in |
9374 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9375 |
- *) ac_try_echo=$ac_try;; |
9376 |
-esac |
9377 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9378 |
- (eval "$ac_try") 2>&5 |
9379 |
- ac_status=$? |
9380 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9381 |
- (exit $ac_status); }; }; then |
9382 |
- ac_cv_sizeof_int64_t=`cat conftest.val` |
9383 |
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
9384 |
+# It thinks the first close brace ends the variable substitution. |
9385 |
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
9386 |
+ |
9387 |
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
9388 |
+ |
9389 |
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
9390 |
+ |
9391 |
+# Extract the first word of "rm", so it can be a program name with args. |
9392 |
+set dummy rm; ac_word=$2 |
9393 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9394 |
+$as_echo_n "checking for $ac_word... " >&6; } |
9395 |
+if ${ac_cv_path_RM+:} false; then : |
9396 |
+ $as_echo_n "(cached) " >&6 |
9397 |
else |
9398 |
- echo "$as_me: program exited with status $ac_status" >&5 |
9399 |
-echo "$as_me: failed program was:" >&5 |
9400 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9401 |
+ case $RM in |
9402 |
+ [\\/]* | ?:[\\/]*) |
9403 |
+ ac_cv_path_RM="$RM" # Let the user override the test with a path. |
9404 |
+ ;; |
9405 |
+ *) |
9406 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9407 |
+for as_dir in $PATH |
9408 |
+do |
9409 |
+ IFS=$as_save_IFS |
9410 |
+ test -z "$as_dir" && as_dir=. |
9411 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
9412 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9413 |
+ ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
9414 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9415 |
+ break 2 |
9416 |
+ fi |
9417 |
+done |
9418 |
+ done |
9419 |
+IFS=$as_save_IFS |
9420 |
|
9421 |
-( exit $ac_status ) |
9422 |
-if test "$ac_cv_type_int64_t" = yes; then |
9423 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t) |
9424 |
-See \`config.log' for more details." >&5 |
9425 |
-echo "$as_me: error: cannot compute sizeof (int64_t) |
9426 |
-See \`config.log' for more details." >&2;} |
9427 |
- { (exit 77); exit 77; }; } |
9428 |
- else |
9429 |
- ac_cv_sizeof_int64_t=0 |
9430 |
- fi |
9431 |
-fi |
9432 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9433 |
+ ;; |
9434 |
+esac |
9435 |
fi |
9436 |
-rm -f conftest.val |
9437 |
+RM=$ac_cv_path_RM |
9438 |
+if test -n "$RM"; then |
9439 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 |
9440 |
+$as_echo "$RM" >&6; } |
9441 |
+else |
9442 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9443 |
+$as_echo "no" >&6; } |
9444 |
fi |
9445 |
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int64_t" >&5 |
9446 |
-echo "${ECHO_T}$ac_cv_sizeof_int64_t" >&6; } |
9447 |
- |
9448 |
|
9449 |
|
9450 |
-cat >>confdefs.h <<_ACEOF |
9451 |
-#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
9452 |
-_ACEOF |
9453 |
- |
9454 |
- |
9455 |
-{ echo "$as_me:$LINENO: checking for long long" >&5 |
9456 |
-echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
9457 |
-if test "${ac_cv_type_long_long+set}" = set; then |
9458 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
9459 |
+# Extract the first word of "cp", so it can be a program name with args. |
9460 |
+set dummy cp; ac_word=$2 |
9461 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9462 |
+$as_echo_n "checking for $ac_word... " >&6; } |
9463 |
+if ${ac_cv_path_CP+:} false; then : |
9464 |
+ $as_echo_n "(cached) " >&6 |
9465 |
else |
9466 |
- cat >conftest.$ac_ext <<_ACEOF |
9467 |
-/* confdefs.h. */ |
9468 |
-_ACEOF |
9469 |
-cat confdefs.h >>conftest.$ac_ext |
9470 |
-cat >>conftest.$ac_ext <<_ACEOF |
9471 |
-/* end confdefs.h. */ |
9472 |
-$ac_includes_default |
9473 |
-typedef long long ac__type_new_; |
9474 |
-int |
9475 |
-main () |
9476 |
-{ |
9477 |
-if ((ac__type_new_ *) 0) |
9478 |
- return 0; |
9479 |
-if (sizeof (ac__type_new_)) |
9480 |
- return 0; |
9481 |
- ; |
9482 |
- return 0; |
9483 |
-} |
9484 |
-_ACEOF |
9485 |
-rm -f conftest.$ac_objext |
9486 |
-if { (ac_try="$ac_compile" |
9487 |
-case "(($ac_try" in |
9488 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9489 |
- *) ac_try_echo=$ac_try;; |
9490 |
+ case $CP in |
9491 |
+ [\\/]* | ?:[\\/]*) |
9492 |
+ ac_cv_path_CP="$CP" # Let the user override the test with a path. |
9493 |
+ ;; |
9494 |
+ *) |
9495 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9496 |
+for as_dir in $PATH |
9497 |
+do |
9498 |
+ IFS=$as_save_IFS |
9499 |
+ test -z "$as_dir" && as_dir=. |
9500 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
9501 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9502 |
+ ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
9503 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9504 |
+ break 2 |
9505 |
+ fi |
9506 |
+done |
9507 |
+ done |
9508 |
+IFS=$as_save_IFS |
9509 |
+ |
9510 |
+ ;; |
9511 |
esac |
9512 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9513 |
- (eval "$ac_compile") 2>conftest.er1 |
9514 |
- ac_status=$? |
9515 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9516 |
- rm -f conftest.er1 |
9517 |
- cat conftest.err >&5 |
9518 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9519 |
- (exit $ac_status); } && { |
9520 |
- test -z "$ac_c_werror_flag" || |
9521 |
- test ! -s conftest.err |
9522 |
- } && test -s conftest.$ac_objext; then |
9523 |
- ac_cv_type_long_long=yes |
9524 |
+fi |
9525 |
+CP=$ac_cv_path_CP |
9526 |
+if test -n "$CP"; then |
9527 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5 |
9528 |
+$as_echo "$CP" >&6; } |
9529 |
else |
9530 |
- echo "$as_me: failed program was:" >&5 |
9531 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9532 |
- |
9533 |
- ac_cv_type_long_long=no |
9534 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9535 |
+$as_echo "no" >&6; } |
9536 |
fi |
9537 |
|
9538 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9539 |
-fi |
9540 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
9541 |
-echo "${ECHO_T}$ac_cv_type_long_long" >&6; } |
9542 |
|
9543 |
-# The cast to long int works around a bug in the HP C Compiler |
9544 |
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
9545 |
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
9546 |
-# This bug is HP SR number 8606223364. |
9547 |
-{ echo "$as_me:$LINENO: checking size of long long" >&5 |
9548 |
-echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } |
9549 |
-if test "${ac_cv_sizeof_long_long+set}" = set; then |
9550 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
9551 |
+# Extract the first word of "mv", so it can be a program name with args. |
9552 |
+set dummy mv; ac_word=$2 |
9553 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9554 |
+$as_echo_n "checking for $ac_word... " >&6; } |
9555 |
+if ${ac_cv_path_MV+:} false; then : |
9556 |
+ $as_echo_n "(cached) " >&6 |
9557 |
else |
9558 |
- if test "$cross_compiling" = yes; then |
9559 |
- # Depending upon the size, compute the lo and hi bounds. |
9560 |
-cat >conftest.$ac_ext <<_ACEOF |
9561 |
-/* confdefs.h. */ |
9562 |
-_ACEOF |
9563 |
-cat confdefs.h >>conftest.$ac_ext |
9564 |
-cat >>conftest.$ac_ext <<_ACEOF |
9565 |
-/* end confdefs.h. */ |
9566 |
-$ac_includes_default |
9567 |
- typedef long long ac__type_sizeof_; |
9568 |
-int |
9569 |
-main () |
9570 |
-{ |
9571 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
9572 |
-test_array [0] = 0 |
9573 |
- |
9574 |
- ; |
9575 |
- return 0; |
9576 |
-} |
9577 |
-_ACEOF |
9578 |
-rm -f conftest.$ac_objext |
9579 |
-if { (ac_try="$ac_compile" |
9580 |
-case "(($ac_try" in |
9581 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9582 |
- *) ac_try_echo=$ac_try;; |
9583 |
-esac |
9584 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9585 |
- (eval "$ac_compile") 2>conftest.er1 |
9586 |
- ac_status=$? |
9587 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9588 |
- rm -f conftest.er1 |
9589 |
- cat conftest.err >&5 |
9590 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9591 |
- (exit $ac_status); } && { |
9592 |
- test -z "$ac_c_werror_flag" || |
9593 |
- test ! -s conftest.err |
9594 |
- } && test -s conftest.$ac_objext; then |
9595 |
- ac_lo=0 ac_mid=0 |
9596 |
- while :; do |
9597 |
- cat >conftest.$ac_ext <<_ACEOF |
9598 |
-/* confdefs.h. */ |
9599 |
-_ACEOF |
9600 |
-cat confdefs.h >>conftest.$ac_ext |
9601 |
-cat >>conftest.$ac_ext <<_ACEOF |
9602 |
-/* end confdefs.h. */ |
9603 |
-$ac_includes_default |
9604 |
- typedef long long ac__type_sizeof_; |
9605 |
-int |
9606 |
-main () |
9607 |
-{ |
9608 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
9609 |
-test_array [0] = 0 |
9610 |
+ case $MV in |
9611 |
+ [\\/]* | ?:[\\/]*) |
9612 |
+ ac_cv_path_MV="$MV" # Let the user override the test with a path. |
9613 |
+ ;; |
9614 |
+ *) |
9615 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9616 |
+for as_dir in $PATH |
9617 |
+do |
9618 |
+ IFS=$as_save_IFS |
9619 |
+ test -z "$as_dir" && as_dir=. |
9620 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
9621 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9622 |
+ ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
9623 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9624 |
+ break 2 |
9625 |
+ fi |
9626 |
+done |
9627 |
+ done |
9628 |
+IFS=$as_save_IFS |
9629 |
|
9630 |
- ; |
9631 |
- return 0; |
9632 |
-} |
9633 |
-_ACEOF |
9634 |
-rm -f conftest.$ac_objext |
9635 |
-if { (ac_try="$ac_compile" |
9636 |
-case "(($ac_try" in |
9637 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9638 |
- *) ac_try_echo=$ac_try;; |
9639 |
+ ;; |
9640 |
esac |
9641 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9642 |
- (eval "$ac_compile") 2>conftest.er1 |
9643 |
- ac_status=$? |
9644 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9645 |
- rm -f conftest.er1 |
9646 |
- cat conftest.err >&5 |
9647 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9648 |
- (exit $ac_status); } && { |
9649 |
- test -z "$ac_c_werror_flag" || |
9650 |
- test ! -s conftest.err |
9651 |
- } && test -s conftest.$ac_objext; then |
9652 |
- ac_hi=$ac_mid; break |
9653 |
-else |
9654 |
- echo "$as_me: failed program was:" >&5 |
9655 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9656 |
- |
9657 |
- ac_lo=`expr $ac_mid + 1` |
9658 |
- if test $ac_lo -le $ac_mid; then |
9659 |
- ac_lo= ac_hi= |
9660 |
- break |
9661 |
- fi |
9662 |
- ac_mid=`expr 2 '*' $ac_mid + 1` |
9663 |
fi |
9664 |
- |
9665 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9666 |
- done |
9667 |
+MV=$ac_cv_path_MV |
9668 |
+if test -n "$MV"; then |
9669 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 |
9670 |
+$as_echo "$MV" >&6; } |
9671 |
else |
9672 |
- echo "$as_me: failed program was:" >&5 |
9673 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9674 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9675 |
+$as_echo "no" >&6; } |
9676 |
+fi |
9677 |
|
9678 |
- cat >conftest.$ac_ext <<_ACEOF |
9679 |
-/* confdefs.h. */ |
9680 |
-_ACEOF |
9681 |
-cat confdefs.h >>conftest.$ac_ext |
9682 |
-cat >>conftest.$ac_ext <<_ACEOF |
9683 |
-/* end confdefs.h. */ |
9684 |
-$ac_includes_default |
9685 |
- typedef long long ac__type_sizeof_; |
9686 |
-int |
9687 |
-main () |
9688 |
-{ |
9689 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
9690 |
-test_array [0] = 0 |
9691 |
|
9692 |
- ; |
9693 |
- return 0; |
9694 |
-} |
9695 |
-_ACEOF |
9696 |
-rm -f conftest.$ac_objext |
9697 |
-if { (ac_try="$ac_compile" |
9698 |
-case "(($ac_try" in |
9699 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9700 |
- *) ac_try_echo=$ac_try;; |
9701 |
-esac |
9702 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9703 |
- (eval "$ac_compile") 2>conftest.er1 |
9704 |
- ac_status=$? |
9705 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9706 |
- rm -f conftest.er1 |
9707 |
- cat conftest.err >&5 |
9708 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9709 |
- (exit $ac_status); } && { |
9710 |
- test -z "$ac_c_werror_flag" || |
9711 |
- test ! -s conftest.err |
9712 |
- } && test -s conftest.$ac_objext; then |
9713 |
- ac_hi=-1 ac_mid=-1 |
9714 |
- while :; do |
9715 |
- cat >conftest.$ac_ext <<_ACEOF |
9716 |
-/* confdefs.h. */ |
9717 |
-_ACEOF |
9718 |
-cat confdefs.h >>conftest.$ac_ext |
9719 |
-cat >>conftest.$ac_ext <<_ACEOF |
9720 |
-/* end confdefs.h. */ |
9721 |
-$ac_includes_default |
9722 |
- typedef long long ac__type_sizeof_; |
9723 |
-int |
9724 |
-main () |
9725 |
-{ |
9726 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
9727 |
-test_array [0] = 0 |
9728 |
+# Extract the first word of "ln", so it can be a program name with args. |
9729 |
+set dummy ln; ac_word=$2 |
9730 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9731 |
+$as_echo_n "checking for $ac_word... " >&6; } |
9732 |
+if ${ac_cv_path_LN+:} false; then : |
9733 |
+ $as_echo_n "(cached) " >&6 |
9734 |
+else |
9735 |
+ case $LN in |
9736 |
+ [\\/]* | ?:[\\/]*) |
9737 |
+ ac_cv_path_LN="$LN" # Let the user override the test with a path. |
9738 |
+ ;; |
9739 |
+ *) |
9740 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9741 |
+for as_dir in $PATH |
9742 |
+do |
9743 |
+ IFS=$as_save_IFS |
9744 |
+ test -z "$as_dir" && as_dir=. |
9745 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
9746 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9747 |
+ ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
9748 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9749 |
+ break 2 |
9750 |
+ fi |
9751 |
+done |
9752 |
+ done |
9753 |
+IFS=$as_save_IFS |
9754 |
|
9755 |
- ; |
9756 |
- return 0; |
9757 |
-} |
9758 |
-_ACEOF |
9759 |
-rm -f conftest.$ac_objext |
9760 |
-if { (ac_try="$ac_compile" |
9761 |
-case "(($ac_try" in |
9762 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9763 |
- *) ac_try_echo=$ac_try;; |
9764 |
+ ;; |
9765 |
esac |
9766 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9767 |
- (eval "$ac_compile") 2>conftest.er1 |
9768 |
- ac_status=$? |
9769 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9770 |
- rm -f conftest.er1 |
9771 |
- cat conftest.err >&5 |
9772 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9773 |
- (exit $ac_status); } && { |
9774 |
- test -z "$ac_c_werror_flag" || |
9775 |
- test ! -s conftest.err |
9776 |
- } && test -s conftest.$ac_objext; then |
9777 |
- ac_lo=$ac_mid; break |
9778 |
+fi |
9779 |
+LN=$ac_cv_path_LN |
9780 |
+if test -n "$LN"; then |
9781 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5 |
9782 |
+$as_echo "$LN" >&6; } |
9783 |
else |
9784 |
- echo "$as_me: failed program was:" >&5 |
9785 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9786 |
- |
9787 |
- ac_hi=`expr '(' $ac_mid ')' - 1` |
9788 |
- if test $ac_mid -le $ac_hi; then |
9789 |
- ac_lo= ac_hi= |
9790 |
- break |
9791 |
- fi |
9792 |
- ac_mid=`expr 2 '*' $ac_mid` |
9793 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9794 |
+$as_echo "no" >&6; } |
9795 |
fi |
9796 |
|
9797 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9798 |
- done |
9799 |
+ |
9800 |
+# Extract the first word of "sed", so it can be a program name with args. |
9801 |
+set dummy sed; ac_word=$2 |
9802 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9803 |
+$as_echo_n "checking for $ac_word... " >&6; } |
9804 |
+if ${ac_cv_path_SED+:} false; then : |
9805 |
+ $as_echo_n "(cached) " >&6 |
9806 |
else |
9807 |
- echo "$as_me: failed program was:" >&5 |
9808 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9809 |
+ case $SED in |
9810 |
+ [\\/]* | ?:[\\/]*) |
9811 |
+ ac_cv_path_SED="$SED" # Let the user override the test with a path. |
9812 |
+ ;; |
9813 |
+ *) |
9814 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9815 |
+for as_dir in $PATH |
9816 |
+do |
9817 |
+ IFS=$as_save_IFS |
9818 |
+ test -z "$as_dir" && as_dir=. |
9819 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
9820 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9821 |
+ ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
9822 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9823 |
+ break 2 |
9824 |
+ fi |
9825 |
+done |
9826 |
+ done |
9827 |
+IFS=$as_save_IFS |
9828 |
|
9829 |
- ac_lo= ac_hi= |
9830 |
+ ;; |
9831 |
+esac |
9832 |
fi |
9833 |
- |
9834 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9835 |
+SED=$ac_cv_path_SED |
9836 |
+if test -n "$SED"; then |
9837 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 |
9838 |
+$as_echo "$SED" >&6; } |
9839 |
+else |
9840 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9841 |
+$as_echo "no" >&6; } |
9842 |
fi |
9843 |
|
9844 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9845 |
-# Binary search between lo and hi bounds. |
9846 |
-while test "x$ac_lo" != "x$ac_hi"; do |
9847 |
- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
9848 |
- cat >conftest.$ac_ext <<_ACEOF |
9849 |
-/* confdefs.h. */ |
9850 |
-_ACEOF |
9851 |
-cat confdefs.h >>conftest.$ac_ext |
9852 |
-cat >>conftest.$ac_ext <<_ACEOF |
9853 |
-/* end confdefs.h. */ |
9854 |
-$ac_includes_default |
9855 |
- typedef long long ac__type_sizeof_; |
9856 |
-int |
9857 |
-main () |
9858 |
-{ |
9859 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
9860 |
-test_array [0] = 0 |
9861 |
|
9862 |
- ; |
9863 |
- return 0; |
9864 |
-} |
9865 |
-_ACEOF |
9866 |
-rm -f conftest.$ac_objext |
9867 |
-if { (ac_try="$ac_compile" |
9868 |
-case "(($ac_try" in |
9869 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9870 |
- *) ac_try_echo=$ac_try;; |
9871 |
+# Extract the first word of "ar", so it can be a program name with args. |
9872 |
+set dummy ar; ac_word=$2 |
9873 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9874 |
+$as_echo_n "checking for $ac_word... " >&6; } |
9875 |
+if ${ac_cv_path_AR+:} false; then : |
9876 |
+ $as_echo_n "(cached) " >&6 |
9877 |
+else |
9878 |
+ case $AR in |
9879 |
+ [\\/]* | ?:[\\/]*) |
9880 |
+ ac_cv_path_AR="$AR" # Let the user override the test with a path. |
9881 |
+ ;; |
9882 |
+ *) |
9883 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9884 |
+for as_dir in $PATH |
9885 |
+do |
9886 |
+ IFS=$as_save_IFS |
9887 |
+ test -z "$as_dir" && as_dir=. |
9888 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
9889 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9890 |
+ ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" |
9891 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9892 |
+ break 2 |
9893 |
+ fi |
9894 |
+done |
9895 |
+ done |
9896 |
+IFS=$as_save_IFS |
9897 |
+ |
9898 |
+ ;; |
9899 |
esac |
9900 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9901 |
- (eval "$ac_compile") 2>conftest.er1 |
9902 |
- ac_status=$? |
9903 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9904 |
- rm -f conftest.er1 |
9905 |
- cat conftest.err >&5 |
9906 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9907 |
- (exit $ac_status); } && { |
9908 |
- test -z "$ac_c_werror_flag" || |
9909 |
- test ! -s conftest.err |
9910 |
- } && test -s conftest.$ac_objext; then |
9911 |
- ac_hi=$ac_mid |
9912 |
+fi |
9913 |
+AR=$ac_cv_path_AR |
9914 |
+if test -n "$AR"; then |
9915 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
9916 |
+$as_echo "$AR" >&6; } |
9917 |
else |
9918 |
- echo "$as_me: failed program was:" >&5 |
9919 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9920 |
- |
9921 |
- ac_lo=`expr '(' $ac_mid ')' + 1` |
9922 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9923 |
+$as_echo "no" >&6; } |
9924 |
fi |
9925 |
|
9926 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9927 |
+ |
9928 |
+# Extract the first word of "ld", so it can be a program name with args. |
9929 |
+set dummy ld; ac_word=$2 |
9930 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9931 |
+$as_echo_n "checking for $ac_word... " >&6; } |
9932 |
+if ${ac_cv_path_LD+:} false; then : |
9933 |
+ $as_echo_n "(cached) " >&6 |
9934 |
+else |
9935 |
+ case $LD in |
9936 |
+ [\\/]* | ?:[\\/]*) |
9937 |
+ ac_cv_path_LD="$LD" # Let the user override the test with a path. |
9938 |
+ ;; |
9939 |
+ *) |
9940 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9941 |
+for as_dir in $PATH |
9942 |
+do |
9943 |
+ IFS=$as_save_IFS |
9944 |
+ test -z "$as_dir" && as_dir=. |
9945 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
9946 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9947 |
+ ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext" |
9948 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9949 |
+ break 2 |
9950 |
+ fi |
9951 |
done |
9952 |
-case $ac_lo in |
9953 |
-?*) ac_cv_sizeof_long_long=$ac_lo;; |
9954 |
-'') if test "$ac_cv_type_long_long" = yes; then |
9955 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
9956 |
-See \`config.log' for more details." >&5 |
9957 |
-echo "$as_me: error: cannot compute sizeof (long long) |
9958 |
-See \`config.log' for more details." >&2;} |
9959 |
- { (exit 77); exit 77; }; } |
9960 |
- else |
9961 |
- ac_cv_sizeof_long_long=0 |
9962 |
- fi ;; |
9963 |
+ done |
9964 |
+IFS=$as_save_IFS |
9965 |
+ |
9966 |
+ ;; |
9967 |
esac |
9968 |
+fi |
9969 |
+LD=$ac_cv_path_LD |
9970 |
+if test -n "$LD"; then |
9971 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
9972 |
+$as_echo "$LD" >&6; } |
9973 |
else |
9974 |
- cat >conftest.$ac_ext <<_ACEOF |
9975 |
-/* confdefs.h. */ |
9976 |
-_ACEOF |
9977 |
-cat confdefs.h >>conftest.$ac_ext |
9978 |
-cat >>conftest.$ac_ext <<_ACEOF |
9979 |
-/* end confdefs.h. */ |
9980 |
-$ac_includes_default |
9981 |
- typedef long long ac__type_sizeof_; |
9982 |
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
9983 |
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
9984 |
-#include <stdio.h> |
9985 |
-#include <stdlib.h> |
9986 |
-int |
9987 |
-main () |
9988 |
-{ |
9989 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9990 |
+$as_echo "no" >&6; } |
9991 |
+fi |
9992 |
|
9993 |
- FILE *f = fopen ("conftest.val", "w"); |
9994 |
- if (! f) |
9995 |
- return 1; |
9996 |
- if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
9997 |
- { |
9998 |
- long int i = longval (); |
9999 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
10000 |
- return 1; |
10001 |
- fprintf (f, "%ld\n", i); |
10002 |
- } |
10003 |
- else |
10004 |
- { |
10005 |
- unsigned long int i = ulongval (); |
10006 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
10007 |
- return 1; |
10008 |
- fprintf (f, "%lu\n", i); |
10009 |
- } |
10010 |
- return ferror (f) || fclose (f) != 0; |
10011 |
|
10012 |
- ; |
10013 |
- return 0; |
10014 |
-} |
10015 |
-_ACEOF |
10016 |
-rm -f conftest$ac_exeext |
10017 |
-if { (ac_try="$ac_link" |
10018 |
-case "(($ac_try" in |
10019 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10020 |
- *) ac_try_echo=$ac_try;; |
10021 |
-esac |
10022 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10023 |
- (eval "$ac_link") 2>&5 |
10024 |
- ac_status=$? |
10025 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10026 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10027 |
- { (case "(($ac_try" in |
10028 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10029 |
- *) ac_try_echo=$ac_try;; |
10030 |
-esac |
10031 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10032 |
- (eval "$ac_try") 2>&5 |
10033 |
- ac_status=$? |
10034 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10035 |
- (exit $ac_status); }; }; then |
10036 |
- ac_cv_sizeof_long_long=`cat conftest.val` |
10037 |
+# Extract the first word of "test", so it can be a program name with args. |
10038 |
+set dummy test; ac_word=$2 |
10039 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
10040 |
+$as_echo_n "checking for $ac_word... " >&6; } |
10041 |
+if ${ac_cv_path_TEST+:} false; then : |
10042 |
+ $as_echo_n "(cached) " >&6 |
10043 |
else |
10044 |
- echo "$as_me: program exited with status $ac_status" >&5 |
10045 |
-echo "$as_me: failed program was:" >&5 |
10046 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10047 |
+ case $TEST in |
10048 |
+ [\\/]* | ?:[\\/]*) |
10049 |
+ ac_cv_path_TEST="$TEST" # Let the user override the test with a path. |
10050 |
+ ;; |
10051 |
+ *) |
10052 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10053 |
+for as_dir in $PATH |
10054 |
+do |
10055 |
+ IFS=$as_save_IFS |
10056 |
+ test -z "$as_dir" && as_dir=. |
10057 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
10058 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
10059 |
+ ac_cv_path_TEST="$as_dir/$ac_word$ac_exec_ext" |
10060 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
10061 |
+ break 2 |
10062 |
+ fi |
10063 |
+done |
10064 |
+ done |
10065 |
+IFS=$as_save_IFS |
10066 |
|
10067 |
-( exit $ac_status ) |
10068 |
-if test "$ac_cv_type_long_long" = yes; then |
10069 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
10070 |
-See \`config.log' for more details." >&5 |
10071 |
-echo "$as_me: error: cannot compute sizeof (long long) |
10072 |
-See \`config.log' for more details." >&2;} |
10073 |
- { (exit 77); exit 77; }; } |
10074 |
- else |
10075 |
- ac_cv_sizeof_long_long=0 |
10076 |
- fi |
10077 |
-fi |
10078 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10079 |
+ test -z "$ac_cv_path_TEST" && ac_cv_path_TEST="test" |
10080 |
+ ;; |
10081 |
+esac |
10082 |
fi |
10083 |
-rm -f conftest.val |
10084 |
+TEST=$ac_cv_path_TEST |
10085 |
+if test -n "$TEST"; then |
10086 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST" >&5 |
10087 |
+$as_echo "$TEST" >&6; } |
10088 |
+else |
10089 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
10090 |
+$as_echo "no" >&6; } |
10091 |
fi |
10092 |
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
10093 |
-echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } |
10094 |
- |
10095 |
|
10096 |
|
10097 |
-cat >>confdefs.h <<_ACEOF |
10098 |
-#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
10099 |
-_ACEOF |
10100 |
- |
10101 |
|
10102 |
+if test "$libexecdir" = '${exec_prefix}/libexec' && |
10103 |
+ test "$localstatedir" = '${prefix}/var'; then |
10104 |
+ libexecdir='${bindir}' |
10105 |
+ localstatedir='${prefix}' |
10106 |
+fi |
10107 |
|
10108 |
-if test "$ac_cv_sizeof_int64_t" = 8; then |
10109 |
- { echo "$as_me:$LINENO: checking for uint64_t" >&5 |
10110 |
-echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
10111 |
-if test "${ac_cv_type_uint64_t+set}" = set; then |
10112 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10113 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
10114 |
+$as_echo_n "checking for ANSI C header files... " >&6; } |
10115 |
+if ${ac_cv_header_stdc+:} false; then : |
10116 |
+ $as_echo_n "(cached) " >&6 |
10117 |
else |
10118 |
- cat >conftest.$ac_ext <<_ACEOF |
10119 |
-/* confdefs.h. */ |
10120 |
-_ACEOF |
10121 |
-cat confdefs.h >>conftest.$ac_ext |
10122 |
-cat >>conftest.$ac_ext <<_ACEOF |
10123 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10124 |
/* end confdefs.h. */ |
10125 |
-$ac_includes_default |
10126 |
-typedef uint64_t ac__type_new_; |
10127 |
+#include <stdlib.h> |
10128 |
+#include <stdarg.h> |
10129 |
+#include <string.h> |
10130 |
+#include <float.h> |
10131 |
+ |
10132 |
int |
10133 |
main () |
10134 |
{ |
10135 |
-if ((ac__type_new_ *) 0) |
10136 |
- return 0; |
10137 |
-if (sizeof (ac__type_new_)) |
10138 |
- return 0; |
10139 |
+ |
10140 |
; |
10141 |
return 0; |
10142 |
} |
10143 |
_ACEOF |
10144 |
-rm -f conftest.$ac_objext |
10145 |
-if { (ac_try="$ac_compile" |
10146 |
-case "(($ac_try" in |
10147 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10148 |
- *) ac_try_echo=$ac_try;; |
10149 |
-esac |
10150 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10151 |
- (eval "$ac_compile") 2>conftest.er1 |
10152 |
- ac_status=$? |
10153 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10154 |
- rm -f conftest.er1 |
10155 |
- cat conftest.err >&5 |
10156 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10157 |
- (exit $ac_status); } && { |
10158 |
- test -z "$ac_c_werror_flag" || |
10159 |
- test ! -s conftest.err |
10160 |
- } && test -s conftest.$ac_objext; then |
10161 |
- ac_cv_type_uint64_t=yes |
10162 |
+if ac_fn_c_try_compile "$LINENO"; then : |
10163 |
+ ac_cv_header_stdc=yes |
10164 |
else |
10165 |
- echo "$as_me: failed program was:" >&5 |
10166 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10167 |
- |
10168 |
- ac_cv_type_uint64_t=no |
10169 |
+ ac_cv_header_stdc=no |
10170 |
fi |
10171 |
- |
10172 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10173 |
-fi |
10174 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
10175 |
-echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
10176 |
|
10177 |
- { echo "$as_me:$LINENO: checking for int64_t" >&5 |
10178 |
-echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; } |
10179 |
-if test "${ac_cv_type_int64_t+set}" = set; then |
10180 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10181 |
-else |
10182 |
- cat >conftest.$ac_ext <<_ACEOF |
10183 |
-/* confdefs.h. */ |
10184 |
-_ACEOF |
10185 |
-cat confdefs.h >>conftest.$ac_ext |
10186 |
-cat >>conftest.$ac_ext <<_ACEOF |
10187 |
+if test $ac_cv_header_stdc = yes; then |
10188 |
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
10189 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10190 |
/* end confdefs.h. */ |
10191 |
-$ac_includes_default |
10192 |
-typedef int64_t ac__type_new_; |
10193 |
-int |
10194 |
-main () |
10195 |
-{ |
10196 |
-if ((ac__type_new_ *) 0) |
10197 |
- return 0; |
10198 |
-if (sizeof (ac__type_new_)) |
10199 |
- return 0; |
10200 |
- ; |
10201 |
- return 0; |
10202 |
-} |
10203 |
+#include <string.h> |
10204 |
+ |
10205 |
_ACEOF |
10206 |
-rm -f conftest.$ac_objext |
10207 |
-if { (ac_try="$ac_compile" |
10208 |
-case "(($ac_try" in |
10209 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10210 |
- *) ac_try_echo=$ac_try;; |
10211 |
-esac |
10212 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10213 |
- (eval "$ac_compile") 2>conftest.er1 |
10214 |
- ac_status=$? |
10215 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10216 |
- rm -f conftest.er1 |
10217 |
- cat conftest.err >&5 |
10218 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10219 |
- (exit $ac_status); } && { |
10220 |
- test -z "$ac_c_werror_flag" || |
10221 |
- test ! -s conftest.err |
10222 |
- } && test -s conftest.$ac_objext; then |
10223 |
- ac_cv_type_int64_t=yes |
10224 |
-else |
10225 |
- echo "$as_me: failed program was:" >&5 |
10226 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10227 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10228 |
+ $EGREP "memchr" >/dev/null 2>&1; then : |
10229 |
|
10230 |
- ac_cv_type_int64_t=no |
10231 |
+else |
10232 |
+ ac_cv_header_stdc=no |
10233 |
fi |
10234 |
+rm -f conftest* |
10235 |
|
10236 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10237 |
fi |
10238 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
10239 |
-echo "${ECHO_T}$ac_cv_type_int64_t" >&6; } |
10240 |
|
10241 |
-elif test "$ac_cv_sizeof_long_long" = 8; then |
10242 |
- { echo "$as_me:$LINENO: checking for uint64_t" >&5 |
10243 |
-echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
10244 |
-if test "${ac_cv_type_uint64_t+set}" = set; then |
10245 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10246 |
-else |
10247 |
- cat >conftest.$ac_ext <<_ACEOF |
10248 |
-/* confdefs.h. */ |
10249 |
-_ACEOF |
10250 |
-cat confdefs.h >>conftest.$ac_ext |
10251 |
-cat >>conftest.$ac_ext <<_ACEOF |
10252 |
+if test $ac_cv_header_stdc = yes; then |
10253 |
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
10254 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10255 |
/* end confdefs.h. */ |
10256 |
-$ac_includes_default |
10257 |
-typedef uint64_t ac__type_new_; |
10258 |
-int |
10259 |
-main () |
10260 |
-{ |
10261 |
-if ((ac__type_new_ *) 0) |
10262 |
- return 0; |
10263 |
-if (sizeof (ac__type_new_)) |
10264 |
- return 0; |
10265 |
- ; |
10266 |
- return 0; |
10267 |
-} |
10268 |
-_ACEOF |
10269 |
-rm -f conftest.$ac_objext |
10270 |
-if { (ac_try="$ac_compile" |
10271 |
-case "(($ac_try" in |
10272 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10273 |
- *) ac_try_echo=$ac_try;; |
10274 |
-esac |
10275 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10276 |
- (eval "$ac_compile") 2>conftest.er1 |
10277 |
- ac_status=$? |
10278 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10279 |
- rm -f conftest.er1 |
10280 |
- cat conftest.err >&5 |
10281 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10282 |
- (exit $ac_status); } && { |
10283 |
- test -z "$ac_c_werror_flag" || |
10284 |
- test ! -s conftest.err |
10285 |
- } && test -s conftest.$ac_objext; then |
10286 |
- ac_cv_type_uint64_t=yes |
10287 |
-else |
10288 |
- echo "$as_me: failed program was:" >&5 |
10289 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10290 |
+#include <stdlib.h> |
10291 |
|
10292 |
- ac_cv_type_uint64_t=no |
10293 |
-fi |
10294 |
+_ACEOF |
10295 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10296 |
+ $EGREP "free" >/dev/null 2>&1; then : |
10297 |
|
10298 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10299 |
-fi |
10300 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
10301 |
-echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
10302 |
-if test $ac_cv_type_uint64_t = yes; then |
10303 |
- : |
10304 |
else |
10305 |
- |
10306 |
-cat >>confdefs.h <<_ACEOF |
10307 |
-#define uint64_t unsigned long long |
10308 |
-_ACEOF |
10309 |
+ ac_cv_header_stdc=no |
10310 |
+fi |
10311 |
+rm -f conftest* |
10312 |
|
10313 |
fi |
10314 |
|
10315 |
- { echo "$as_me:$LINENO: checking for int64_t" >&5 |
10316 |
-echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; } |
10317 |
-if test "${ac_cv_type_int64_t+set}" = set; then |
10318 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10319 |
+if test $ac_cv_header_stdc = yes; then |
10320 |
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
10321 |
+ if test "$cross_compiling" = yes; then : |
10322 |
+ : |
10323 |
else |
10324 |
- cat >conftest.$ac_ext <<_ACEOF |
10325 |
-/* confdefs.h. */ |
10326 |
-_ACEOF |
10327 |
-cat confdefs.h >>conftest.$ac_ext |
10328 |
-cat >>conftest.$ac_ext <<_ACEOF |
10329 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10330 |
/* end confdefs.h. */ |
10331 |
-$ac_includes_default |
10332 |
-typedef int64_t ac__type_new_; |
10333 |
+#include <ctype.h> |
10334 |
+#include <stdlib.h> |
10335 |
+#if ((' ' & 0x0FF) == 0x020) |
10336 |
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
10337 |
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
10338 |
+#else |
10339 |
+# define ISLOWER(c) \ |
10340 |
+ (('a' <= (c) && (c) <= 'i') \ |
10341 |
+ || ('j' <= (c) && (c) <= 'r') \ |
10342 |
+ || ('s' <= (c) && (c) <= 'z')) |
10343 |
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
10344 |
+#endif |
10345 |
+ |
10346 |
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
10347 |
int |
10348 |
main () |
10349 |
{ |
10350 |
-if ((ac__type_new_ *) 0) |
10351 |
- return 0; |
10352 |
-if (sizeof (ac__type_new_)) |
10353 |
- return 0; |
10354 |
- ; |
10355 |
+ int i; |
10356 |
+ for (i = 0; i < 256; i++) |
10357 |
+ if (XOR (islower (i), ISLOWER (i)) |
10358 |
+ || toupper (i) != TOUPPER (i)) |
10359 |
+ return 2; |
10360 |
return 0; |
10361 |
-} |
10362 |
-_ACEOF |
10363 |
-rm -f conftest.$ac_objext |
10364 |
-if { (ac_try="$ac_compile" |
10365 |
-case "(($ac_try" in |
10366 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10367 |
- *) ac_try_echo=$ac_try;; |
10368 |
-esac |
10369 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10370 |
- (eval "$ac_compile") 2>conftest.er1 |
10371 |
- ac_status=$? |
10372 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10373 |
- rm -f conftest.er1 |
10374 |
- cat conftest.err >&5 |
10375 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10376 |
- (exit $ac_status); } && { |
10377 |
- test -z "$ac_c_werror_flag" || |
10378 |
- test ! -s conftest.err |
10379 |
- } && test -s conftest.$ac_objext; then |
10380 |
- ac_cv_type_int64_t=yes |
10381 |
+} |
10382 |
+_ACEOF |
10383 |
+if ac_fn_c_try_run "$LINENO"; then : |
10384 |
+ |
10385 |
else |
10386 |
- echo "$as_me: failed program was:" >&5 |
10387 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10388 |
+ ac_cv_header_stdc=no |
10389 |
+fi |
10390 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
10391 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
10392 |
+fi |
10393 |
|
10394 |
- ac_cv_type_int64_t=no |
10395 |
fi |
10396 |
+fi |
10397 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
10398 |
+$as_echo "$ac_cv_header_stdc" >&6; } |
10399 |
+if test $ac_cv_header_stdc = yes; then |
10400 |
+ |
10401 |
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
10402 |
|
10403 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10404 |
fi |
10405 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
10406 |
-echo "${ECHO_T}$ac_cv_type_int64_t" >&6; } |
10407 |
-if test $ac_cv_type_int64_t = yes; then |
10408 |
- : |
10409 |
-else |
10410 |
|
10411 |
-cat >>confdefs.h <<_ACEOF |
10412 |
-#define int64_t long long |
10413 |
+ |
10414 |
+for ac_header in crypt.h inttypes.h stdint.h sys/resource.h sys/param.h errno.h sys/syslog.h stddef.h libgen.h sys/wait.h wait.h link.h |
10415 |
+do : |
10416 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10417 |
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
10418 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
10419 |
+ cat >>confdefs.h <<_ACEOF |
10420 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10421 |
_ACEOF |
10422 |
|
10423 |
fi |
10424 |
|
10425 |
-else |
10426 |
- { { echo "$as_me:$LINENO: error: Your system doesn't appear to have 64 bit integers. Aborting." >&5 |
10427 |
-echo "$as_me: error: Your system doesn't appear to have 64 bit integers. Aborting." >&2;} |
10428 |
- { (exit 1); exit 1; }; } |
10429 |
-fi |
10430 |
+done |
10431 |
+ |
10432 |
|
10433 |
-{ echo "$as_me:$LINENO: checking for u_int32_t" >&5 |
10434 |
-echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; } |
10435 |
-if test "${ac_cv_type_u_int32_t+set}" = set; then |
10436 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10437 |
+ |
10438 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
10439 |
+$as_echo_n "checking for library containing socket... " >&6; } |
10440 |
+if ${ac_cv_search_socket+:} false; then : |
10441 |
+ $as_echo_n "(cached) " >&6 |
10442 |
else |
10443 |
- cat >conftest.$ac_ext <<_ACEOF |
10444 |
-/* confdefs.h. */ |
10445 |
-_ACEOF |
10446 |
-cat confdefs.h >>conftest.$ac_ext |
10447 |
-cat >>conftest.$ac_ext <<_ACEOF |
10448 |
+ ac_func_search_save_LIBS=$LIBS |
10449 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10450 |
/* end confdefs.h. */ |
10451 |
-$ac_includes_default |
10452 |
-typedef u_int32_t ac__type_new_; |
10453 |
+ |
10454 |
+/* Override any GCC internal prototype to avoid an error. |
10455 |
+ Use char because int might match the return type of a GCC |
10456 |
+ builtin and then its argument prototype would still apply. */ |
10457 |
+#ifdef __cplusplus |
10458 |
+extern "C" |
10459 |
+#endif |
10460 |
+char socket (); |
10461 |
int |
10462 |
main () |
10463 |
{ |
10464 |
-if ((ac__type_new_ *) 0) |
10465 |
- return 0; |
10466 |
-if (sizeof (ac__type_new_)) |
10467 |
- return 0; |
10468 |
+return socket (); |
10469 |
; |
10470 |
return 0; |
10471 |
} |
10472 |
_ACEOF |
10473 |
-rm -f conftest.$ac_objext |
10474 |
-if { (ac_try="$ac_compile" |
10475 |
-case "(($ac_try" in |
10476 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10477 |
- *) ac_try_echo=$ac_try;; |
10478 |
-esac |
10479 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10480 |
- (eval "$ac_compile") 2>conftest.er1 |
10481 |
- ac_status=$? |
10482 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10483 |
- rm -f conftest.er1 |
10484 |
- cat conftest.err >&5 |
10485 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10486 |
- (exit $ac_status); } && { |
10487 |
- test -z "$ac_c_werror_flag" || |
10488 |
- test ! -s conftest.err |
10489 |
- } && test -s conftest.$ac_objext; then |
10490 |
- ac_cv_type_u_int32_t=yes |
10491 |
-else |
10492 |
- echo "$as_me: failed program was:" >&5 |
10493 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10494 |
- |
10495 |
- ac_cv_type_u_int32_t=no |
10496 |
+for ac_lib in '' socket; do |
10497 |
+ if test -z "$ac_lib"; then |
10498 |
+ ac_res="none required" |
10499 |
+ else |
10500 |
+ ac_res=-l$ac_lib |
10501 |
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
10502 |
+ fi |
10503 |
+ if ac_fn_c_try_link "$LINENO"; then : |
10504 |
+ ac_cv_search_socket=$ac_res |
10505 |
+fi |
10506 |
+rm -f core conftest.err conftest.$ac_objext \ |
10507 |
+ conftest$ac_exeext |
10508 |
+ if ${ac_cv_search_socket+:} false; then : |
10509 |
+ break |
10510 |
fi |
10511 |
+done |
10512 |
+if ${ac_cv_search_socket+:} false; then : |
10513 |
|
10514 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10515 |
+else |
10516 |
+ ac_cv_search_socket=no |
10517 |
fi |
10518 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 |
10519 |
-echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; } |
10520 |
-if test $ac_cv_type_u_int32_t = yes; then |
10521 |
- : |
10522 |
+rm conftest.$ac_ext |
10523 |
+LIBS=$ac_func_search_save_LIBS |
10524 |
+fi |
10525 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
10526 |
+$as_echo "$ac_cv_search_socket" >&6; } |
10527 |
+ac_res=$ac_cv_search_socket |
10528 |
+if test "$ac_res" != no; then : |
10529 |
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
10530 |
+ |
10531 |
else |
10532 |
+ as_fn_error $? "You have no socket()! Aborting." "$LINENO" 5 |
10533 |
+fi |
10534 |
+ |
10535 |
|
10536 |
- { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
10537 |
-echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
10538 |
-if test "${ac_cv_type_uint32_t+set}" = set; then |
10539 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10540 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
10541 |
+$as_echo_n "checking for library containing inet_aton... " >&6; } |
10542 |
+if ${ac_cv_search_inet_aton+:} false; then : |
10543 |
+ $as_echo_n "(cached) " >&6 |
10544 |
else |
10545 |
- cat >conftest.$ac_ext <<_ACEOF |
10546 |
-/* confdefs.h. */ |
10547 |
-_ACEOF |
10548 |
-cat confdefs.h >>conftest.$ac_ext |
10549 |
-cat >>conftest.$ac_ext <<_ACEOF |
10550 |
+ ac_func_search_save_LIBS=$LIBS |
10551 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10552 |
/* end confdefs.h. */ |
10553 |
-$ac_includes_default |
10554 |
-typedef uint32_t ac__type_new_; |
10555 |
+ |
10556 |
+/* Override any GCC internal prototype to avoid an error. |
10557 |
+ Use char because int might match the return type of a GCC |
10558 |
+ builtin and then its argument prototype would still apply. */ |
10559 |
+#ifdef __cplusplus |
10560 |
+extern "C" |
10561 |
+#endif |
10562 |
+char inet_aton (); |
10563 |
int |
10564 |
main () |
10565 |
{ |
10566 |
-if ((ac__type_new_ *) 0) |
10567 |
- return 0; |
10568 |
-if (sizeof (ac__type_new_)) |
10569 |
- return 0; |
10570 |
+return inet_aton (); |
10571 |
; |
10572 |
return 0; |
10573 |
} |
10574 |
_ACEOF |
10575 |
-rm -f conftest.$ac_objext |
10576 |
-if { (ac_try="$ac_compile" |
10577 |
-case "(($ac_try" in |
10578 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10579 |
- *) ac_try_echo=$ac_try;; |
10580 |
-esac |
10581 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10582 |
- (eval "$ac_compile") 2>conftest.er1 |
10583 |
- ac_status=$? |
10584 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10585 |
- rm -f conftest.er1 |
10586 |
- cat conftest.err >&5 |
10587 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10588 |
- (exit $ac_status); } && { |
10589 |
- test -z "$ac_c_werror_flag" || |
10590 |
- test ! -s conftest.err |
10591 |
- } && test -s conftest.$ac_objext; then |
10592 |
- ac_cv_type_uint32_t=yes |
10593 |
-else |
10594 |
- echo "$as_me: failed program was:" >&5 |
10595 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10596 |
- |
10597 |
- ac_cv_type_uint32_t=no |
10598 |
+for ac_lib in '' resolv; do |
10599 |
+ if test -z "$ac_lib"; then |
10600 |
+ ac_res="none required" |
10601 |
+ else |
10602 |
+ ac_res=-l$ac_lib |
10603 |
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
10604 |
+ fi |
10605 |
+ if ac_fn_c_try_link "$LINENO"; then : |
10606 |
+ ac_cv_search_inet_aton=$ac_res |
10607 |
fi |
10608 |
- |
10609 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10610 |
+rm -f core conftest.err conftest.$ac_objext \ |
10611 |
+ conftest$ac_exeext |
10612 |
+ if ${ac_cv_search_inet_aton+:} false; then : |
10613 |
+ break |
10614 |
fi |
10615 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 |
10616 |
-echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; } |
10617 |
-if test $ac_cv_type_uint32_t = yes; then |
10618 |
- |
10619 |
- |
10620 |
-cat >>confdefs.h <<\_ACEOF |
10621 |
-#define u_int32_t uint32_t |
10622 |
-_ACEOF |
10623 |
- |
10624 |
+done |
10625 |
+if ${ac_cv_search_inet_aton+:} false; then : |
10626 |
|
10627 |
else |
10628 |
- |
10629 |
- { echo "$as_me:$LINENO: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&5 |
10630 |
-echo "$as_me: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&2;} |
10631 |
- |
10632 |
-cat >>confdefs.h <<\_ACEOF |
10633 |
-#define u_int32_t unsigned long int |
10634 |
-_ACEOF |
10635 |
- |
10636 |
- |
10637 |
+ ac_cv_search_inet_aton=no |
10638 |
fi |
10639 |
+rm conftest.$ac_ext |
10640 |
+LIBS=$ac_func_search_save_LIBS |
10641 |
+fi |
10642 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
10643 |
+$as_echo "$ac_cv_search_inet_aton" >&6; } |
10644 |
+ac_res=$ac_cv_search_inet_aton |
10645 |
+if test "$ac_res" != no; then : |
10646 |
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
10647 |
|
10648 |
+else |
10649 |
+ inet_misc=1; |
10650 |
+$as_echo "#define NO_INET_ATON 1" >>confdefs.h |
10651 |
|
10652 |
fi |
10653 |
|
10654 |
- |
10655 |
-{ echo "$as_me:$LINENO: checking for u_int16_t" >&5 |
10656 |
-echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; } |
10657 |
-if test "${ac_cv_type_u_int16_t+set}" = set; then |
10658 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10659 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5 |
10660 |
+$as_echo_n "checking for library containing inet_pton... " >&6; } |
10661 |
+if ${ac_cv_search_inet_pton+:} false; then : |
10662 |
+ $as_echo_n "(cached) " >&6 |
10663 |
else |
10664 |
- cat >conftest.$ac_ext <<_ACEOF |
10665 |
-/* confdefs.h. */ |
10666 |
-_ACEOF |
10667 |
-cat confdefs.h >>conftest.$ac_ext |
10668 |
-cat >>conftest.$ac_ext <<_ACEOF |
10669 |
+ ac_func_search_save_LIBS=$LIBS |
10670 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10671 |
/* end confdefs.h. */ |
10672 |
-$ac_includes_default |
10673 |
-typedef u_int16_t ac__type_new_; |
10674 |
+ |
10675 |
+/* Override any GCC internal prototype to avoid an error. |
10676 |
+ Use char because int might match the return type of a GCC |
10677 |
+ builtin and then its argument prototype would still apply. */ |
10678 |
+#ifdef __cplusplus |
10679 |
+extern "C" |
10680 |
+#endif |
10681 |
+char inet_pton (); |
10682 |
int |
10683 |
main () |
10684 |
{ |
10685 |
-if ((ac__type_new_ *) 0) |
10686 |
- return 0; |
10687 |
-if (sizeof (ac__type_new_)) |
10688 |
- return 0; |
10689 |
+return inet_pton (); |
10690 |
; |
10691 |
return 0; |
10692 |
} |
10693 |
_ACEOF |
10694 |
-rm -f conftest.$ac_objext |
10695 |
-if { (ac_try="$ac_compile" |
10696 |
-case "(($ac_try" in |
10697 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10698 |
- *) ac_try_echo=$ac_try;; |
10699 |
-esac |
10700 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10701 |
- (eval "$ac_compile") 2>conftest.er1 |
10702 |
- ac_status=$? |
10703 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10704 |
- rm -f conftest.er1 |
10705 |
- cat conftest.err >&5 |
10706 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10707 |
- (exit $ac_status); } && { |
10708 |
- test -z "$ac_c_werror_flag" || |
10709 |
- test ! -s conftest.err |
10710 |
- } && test -s conftest.$ac_objext; then |
10711 |
- ac_cv_type_u_int16_t=yes |
10712 |
-else |
10713 |
- echo "$as_me: failed program was:" >&5 |
10714 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10715 |
- |
10716 |
- ac_cv_type_u_int16_t=no |
10717 |
+for ac_lib in '' resolv nsl; do |
10718 |
+ if test -z "$ac_lib"; then |
10719 |
+ ac_res="none required" |
10720 |
+ else |
10721 |
+ ac_res=-l$ac_lib |
10722 |
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
10723 |
+ fi |
10724 |
+ if ac_fn_c_try_link "$LINENO"; then : |
10725 |
+ ac_cv_search_inet_pton=$ac_res |
10726 |
fi |
10727 |
+rm -f core conftest.err conftest.$ac_objext \ |
10728 |
+ conftest$ac_exeext |
10729 |
+ if ${ac_cv_search_inet_pton+:} false; then : |
10730 |
+ break |
10731 |
+fi |
10732 |
+done |
10733 |
+if ${ac_cv_search_inet_pton+:} false; then : |
10734 |
|
10735 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10736 |
+else |
10737 |
+ ac_cv_search_inet_pton=no |
10738 |
fi |
10739 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5 |
10740 |
-echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; } |
10741 |
-if test $ac_cv_type_u_int16_t = yes; then |
10742 |
- : |
10743 |
+rm conftest.$ac_ext |
10744 |
+LIBS=$ac_func_search_save_LIBS |
10745 |
+fi |
10746 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5 |
10747 |
+$as_echo "$ac_cv_search_inet_pton" >&6; } |
10748 |
+ac_res=$ac_cv_search_inet_pton |
10749 |
+if test "$ac_res" != no; then : |
10750 |
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
10751 |
+ |
10752 |
else |
10753 |
+ inet_misc=1; |
10754 |
+$as_echo "#define NO_INET_PTON 1" >>confdefs.h |
10755 |
+ |
10756 |
+fi |
10757 |
|
10758 |
- { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
10759 |
-echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
10760 |
-if test "${ac_cv_type_uint16_t+set}" = set; then |
10761 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10762 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 |
10763 |
+$as_echo_n "checking for library containing inet_ntop... " >&6; } |
10764 |
+if ${ac_cv_search_inet_ntop+:} false; then : |
10765 |
+ $as_echo_n "(cached) " >&6 |
10766 |
else |
10767 |
- cat >conftest.$ac_ext <<_ACEOF |
10768 |
-/* confdefs.h. */ |
10769 |
-_ACEOF |
10770 |
-cat confdefs.h >>conftest.$ac_ext |
10771 |
-cat >>conftest.$ac_ext <<_ACEOF |
10772 |
+ ac_func_search_save_LIBS=$LIBS |
10773 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10774 |
/* end confdefs.h. */ |
10775 |
-$ac_includes_default |
10776 |
-typedef uint16_t ac__type_new_; |
10777 |
+ |
10778 |
+/* Override any GCC internal prototype to avoid an error. |
10779 |
+ Use char because int might match the return type of a GCC |
10780 |
+ builtin and then its argument prototype would still apply. */ |
10781 |
+#ifdef __cplusplus |
10782 |
+extern "C" |
10783 |
+#endif |
10784 |
+char inet_ntop (); |
10785 |
int |
10786 |
main () |
10787 |
{ |
10788 |
-if ((ac__type_new_ *) 0) |
10789 |
- return 0; |
10790 |
-if (sizeof (ac__type_new_)) |
10791 |
- return 0; |
10792 |
+return inet_ntop (); |
10793 |
; |
10794 |
return 0; |
10795 |
} |
10796 |
_ACEOF |
10797 |
-rm -f conftest.$ac_objext |
10798 |
-if { (ac_try="$ac_compile" |
10799 |
-case "(($ac_try" in |
10800 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10801 |
- *) ac_try_echo=$ac_try;; |
10802 |
-esac |
10803 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10804 |
- (eval "$ac_compile") 2>conftest.er1 |
10805 |
- ac_status=$? |
10806 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10807 |
- rm -f conftest.er1 |
10808 |
- cat conftest.err >&5 |
10809 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10810 |
- (exit $ac_status); } && { |
10811 |
- test -z "$ac_c_werror_flag" || |
10812 |
- test ! -s conftest.err |
10813 |
- } && test -s conftest.$ac_objext; then |
10814 |
- ac_cv_type_uint16_t=yes |
10815 |
-else |
10816 |
- echo "$as_me: failed program was:" >&5 |
10817 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10818 |
+for ac_lib in '' resolv nsl; do |
10819 |
+ if test -z "$ac_lib"; then |
10820 |
+ ac_res="none required" |
10821 |
+ else |
10822 |
+ ac_res=-l$ac_lib |
10823 |
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
10824 |
+ fi |
10825 |
+ if ac_fn_c_try_link "$LINENO"; then : |
10826 |
+ ac_cv_search_inet_ntop=$ac_res |
10827 |
+fi |
10828 |
+rm -f core conftest.err conftest.$ac_objext \ |
10829 |
+ conftest$ac_exeext |
10830 |
+ if ${ac_cv_search_inet_ntop+:} false; then : |
10831 |
+ break |
10832 |
+fi |
10833 |
+done |
10834 |
+if ${ac_cv_search_inet_ntop+:} false; then : |
10835 |
|
10836 |
- ac_cv_type_uint16_t=no |
10837 |
+else |
10838 |
+ ac_cv_search_inet_ntop=no |
10839 |
+fi |
10840 |
+rm conftest.$ac_ext |
10841 |
+LIBS=$ac_func_search_save_LIBS |
10842 |
fi |
10843 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 |
10844 |
+$as_echo "$ac_cv_search_inet_ntop" >&6; } |
10845 |
+ac_res=$ac_cv_search_inet_ntop |
10846 |
+if test "$ac_res" != no; then : |
10847 |
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
10848 |
+ |
10849 |
+else |
10850 |
+ inet_misc=1; |
10851 |
+$as_echo "#define NO_INET_NTOP 1" >>confdefs.h |
10852 |
|
10853 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10854 |
fi |
10855 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 |
10856 |
-echo "${ECHO_T}$ac_cv_type_uint16_t" >&6; } |
10857 |
-if test $ac_cv_type_uint16_t = yes; then |
10858 |
|
10859 |
|
10860 |
-cat >>confdefs.h <<\_ACEOF |
10861 |
-#define u_int16_t uint16_t |
10862 |
-_ACEOF |
10863 |
+if test "$inet_misc" = 1; then |
10864 |
+ INET_MISC=inet_misc.c |
10865 |
|
10866 |
+fi |
10867 |
|
10868 |
-else |
10869 |
+ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h> |
10870 |
+#include <sys/socket.h> |
10871 |
|
10872 |
- { echo "$as_me:$LINENO: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&5 |
10873 |
-echo "$as_me: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&2;} |
10874 |
+" |
10875 |
+if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
10876 |
|
10877 |
-cat >>confdefs.h <<\_ACEOF |
10878 |
-#define u_int16_t unsigned short int |
10879 |
+cat >>confdefs.h <<_ACEOF |
10880 |
+#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
10881 |
_ACEOF |
10882 |
|
10883 |
|
10884 |
fi |
10885 |
|
10886 |
|
10887 |
+if test "$ac_cv_type_struct_sockaddr_storage" = no; then |
10888 |
+ ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "$ac_includes_default" |
10889 |
+if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
10890 |
+ |
10891 |
+$as_echo "#define SOCKADDR_IN_HAS_LEN 1" >>confdefs.h |
10892 |
+ |
10893 |
fi |
10894 |
|
10895 |
+fi |
10896 |
|
10897 |
-{ echo "$as_me:$LINENO: checking for in_port_t" >&5 |
10898 |
-echo $ECHO_N "checking for in_port_t... $ECHO_C" >&6; } |
10899 |
-if test "${ac_cv_type_in_port_t+set}" = set; then |
10900 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10901 |
-else |
10902 |
- cat >conftest.$ac_ext <<_ACEOF |
10903 |
-/* confdefs.h. */ |
10904 |
-_ACEOF |
10905 |
-cat confdefs.h >>conftest.$ac_ext |
10906 |
-cat >>conftest.$ac_ext <<_ACEOF |
10907 |
-/* end confdefs.h. */ |
10908 |
-#include <sys/types.h> |
10909 |
-#include <netinet/in.h> |
10910 |
+ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <netdb.h> |
10911 |
+" |
10912 |
+if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
10913 |
|
10914 |
-typedef in_port_t ac__type_new_; |
10915 |
-int |
10916 |
-main () |
10917 |
-{ |
10918 |
-if ((ac__type_new_ *) 0) |
10919 |
- return 0; |
10920 |
-if (sizeof (ac__type_new_)) |
10921 |
- return 0; |
10922 |
- ; |
10923 |
- return 0; |
10924 |
-} |
10925 |
-_ACEOF |
10926 |
-rm -f conftest.$ac_objext |
10927 |
-if { (ac_try="$ac_compile" |
10928 |
-case "(($ac_try" in |
10929 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10930 |
- *) ac_try_echo=$ac_try;; |
10931 |
-esac |
10932 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10933 |
- (eval "$ac_compile") 2>conftest.er1 |
10934 |
- ac_status=$? |
10935 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10936 |
- rm -f conftest.er1 |
10937 |
- cat conftest.err >&5 |
10938 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10939 |
- (exit $ac_status); } && { |
10940 |
- test -z "$ac_c_werror_flag" || |
10941 |
- test ! -s conftest.err |
10942 |
- } && test -s conftest.$ac_objext; then |
10943 |
- ac_cv_type_in_port_t=yes |
10944 |
-else |
10945 |
- echo "$as_me: failed program was:" >&5 |
10946 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10947 |
+cat >>confdefs.h <<_ACEOF |
10948 |
+#define HAVE_STRUCT_ADDRINFO 1 |
10949 |
+_ACEOF |
10950 |
|
10951 |
- ac_cv_type_in_port_t=no |
10952 |
-fi |
10953 |
|
10954 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10955 |
fi |
10956 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_in_port_t" >&5 |
10957 |
-echo "${ECHO_T}$ac_cv_type_in_port_t" >&6; } |
10958 |
-if test $ac_cv_type_in_port_t = yes; then |
10959 |
- : |
10960 |
+ |
10961 |
+ |
10962 |
+ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> |
10963 |
+#include <sys/socket.h> |
10964 |
+" |
10965 |
+if test "x$ac_cv_type_socklen_t" = xyes; then : |
10966 |
+ |
10967 |
else |
10968 |
|
10969 |
-cat >>confdefs.h <<\_ACEOF |
10970 |
-#define in_port_t u_int16_t |
10971 |
-_ACEOF |
10972 |
+$as_echo "#define socklen_t unsigned int" >>confdefs.h |
10973 |
|
10974 |
fi |
10975 |
|
10976 |
|
10977 |
-{ echo "$as_me:$LINENO: checking for sa_family_t" >&5 |
10978 |
-echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; } |
10979 |
-if test "${ac_cv_type_sa_family_t+set}" = set; then |
10980 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10981 |
-else |
10982 |
- cat >conftest.$ac_ext <<_ACEOF |
10983 |
-/* confdefs.h. */ |
10984 |
-_ACEOF |
10985 |
-cat confdefs.h >>conftest.$ac_ext |
10986 |
-cat >>conftest.$ac_ext <<_ACEOF |
10987 |
+if test -z "$Tru"; then |
10988 |
+ |
10989 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken glibc with __ss_family" >&5 |
10990 |
+$as_echo_n "checking for broken glibc with __ss_family... " >&6; } |
10991 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10992 |
/* end confdefs.h. */ |
10993 |
#include <sys/types.h> |
10994 |
#include <sys/socket.h> |
10995 |
- |
10996 |
-typedef sa_family_t ac__type_new_; |
10997 |
int |
10998 |
main () |
10999 |
{ |
11000 |
-if ((ac__type_new_ *) 0) |
11001 |
- return 0; |
11002 |
-if (sizeof (ac__type_new_)) |
11003 |
- return 0; |
11004 |
+struct sockaddr_storage s; s.__ss_family = AF_INET; |
11005 |
; |
11006 |
return 0; |
11007 |
} |
11008 |
_ACEOF |
11009 |
-rm -f conftest.$ac_objext |
11010 |
-if { (ac_try="$ac_compile" |
11011 |
-case "(($ac_try" in |
11012 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11013 |
- *) ac_try_echo=$ac_try;; |
11014 |
-esac |
11015 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11016 |
- (eval "$ac_compile") 2>conftest.er1 |
11017 |
- ac_status=$? |
11018 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11019 |
- rm -f conftest.er1 |
11020 |
- cat conftest.err >&5 |
11021 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11022 |
- (exit $ac_status); } && { |
11023 |
- test -z "$ac_c_werror_flag" || |
11024 |
- test ! -s conftest.err |
11025 |
- } && test -s conftest.$ac_objext; then |
11026 |
- ac_cv_type_sa_family_t=yes |
11027 |
-else |
11028 |
- echo "$as_me: failed program was:" >&5 |
11029 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11030 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11031 |
|
11032 |
- ac_cv_type_sa_family_t=no |
11033 |
-fi |
11034 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11035 |
+$as_echo "yes" >&6; } |
11036 |
|
11037 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11038 |
-fi |
11039 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5 |
11040 |
-echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6; } |
11041 |
-if test $ac_cv_type_sa_family_t = yes; then |
11042 |
- : |
11043 |
-else |
11044 |
+$as_echo "#define ss_family __ss_family" >>confdefs.h |
11045 |
|
11046 |
-cat >>confdefs.h <<\_ACEOF |
11047 |
-#define sa_family_t u_int16_t |
11048 |
-_ACEOF |
11049 |
+ |
11050 |
+else |
11051 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11052 |
+$as_echo "no" >&6; } |
11053 |
+fi |
11054 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11055 |
|
11056 |
fi |
11057 |
|
11058 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for core IPv6 support" >&5 |
11059 |
+$as_echo_n "checking for core IPv6 support... " >&6; } |
11060 |
|
11061 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11062 |
+/* end confdefs.h. */ |
11063 |
+#define IN_AUTOCONF |
11064 |
+ #include "include/stdinc.h" |
11065 |
+int |
11066 |
+main () |
11067 |
+{ |
11068 |
+struct sockaddr_in6 s; |
11069 |
+ struct sockaddr_storage t; |
11070 |
+ s.sin6_family = 0; |
11071 |
|
11072 |
+ ; |
11073 |
+ return 0; |
11074 |
+} |
11075 |
+_ACEOF |
11076 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11077 |
|
11078 |
+ if test "$CYGWIN" = "yes"; then |
11079 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, Cygwin's IPv6 is incomplete" >&5 |
11080 |
+$as_echo "no, Cygwin's IPv6 is incomplete" >&6; } |
11081 |
+ have_v6=no |
11082 |
+ else |
11083 |
+ have_v6=yes |
11084 |
|
11085 |
+$as_echo "#define IPV6 1" >>confdefs.h |
11086 |
|
11087 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11088 |
+$as_echo "yes" >&6; } |
11089 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct in6addr_any" >&5 |
11090 |
+$as_echo_n "checking for struct in6addr_any... " >&6; } |
11091 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11092 |
+/* end confdefs.h. */ |
11093 |
+#define IN_AUTOCONF |
11094 |
+ #include "include/stdinc.h" |
11095 |
+int |
11096 |
+main () |
11097 |
+{ |
11098 |
+struct in6_addr a = in6addr_any; |
11099 |
|
11100 |
+ ; |
11101 |
+ return 0; |
11102 |
+} |
11103 |
+_ACEOF |
11104 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11105 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11106 |
+$as_echo "yes" >&6; } |
11107 |
+else |
11108 |
|
11109 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11110 |
+$as_echo "no" >&6; } |
11111 |
|
11112 |
+$as_echo "#define NO_IN6ADDR_ANY 1" >>confdefs.h |
11113 |
|
11114 |
+ inet_misc=1 |
11115 |
|
11116 |
-for ac_func in socketpair basename mmap snprintf vsnprintf lrand48 srand48 strtok_r usleep |
11117 |
-do |
11118 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11119 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11120 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11121 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11122 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11123 |
-else |
11124 |
- cat >conftest.$ac_ext <<_ACEOF |
11125 |
-/* confdefs.h. */ |
11126 |
-_ACEOF |
11127 |
-cat confdefs.h >>conftest.$ac_ext |
11128 |
-cat >>conftest.$ac_ext <<_ACEOF |
11129 |
-/* end confdefs.h. */ |
11130 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11131 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11132 |
-#define $ac_func innocuous_$ac_func |
11133 |
|
11134 |
-/* System header to define __stub macros and hopefully few prototypes, |
11135 |
- which can conflict with char $ac_func (); below. |
11136 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11137 |
- <limits.h> exists even on freestanding compilers. */ |
11138 |
+fi |
11139 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11140 |
+ fi |
11141 |
|
11142 |
-#ifdef __STDC__ |
11143 |
-# include <limits.h> |
11144 |
-#else |
11145 |
-# include <assert.h> |
11146 |
-#endif |
11147 |
+else |
11148 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11149 |
+$as_echo "no" >&6; } |
11150 |
+have_v6="no" |
11151 |
+fi |
11152 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11153 |
|
11154 |
-#undef $ac_func |
11155 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
11156 |
+$as_echo_n "checking for library containing crypt... " >&6; } |
11157 |
+if ${ac_cv_search_crypt+:} false; then : |
11158 |
+ $as_echo_n "(cached) " >&6 |
11159 |
+else |
11160 |
+ ac_func_search_save_LIBS=$LIBS |
11161 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11162 |
+/* end confdefs.h. */ |
11163 |
|
11164 |
/* Override any GCC internal prototype to avoid an error. |
11165 |
Use char because int might match the return type of a GCC |
11166 |
@@ -7513,1000 +5704,711 @@ |
11167 |
#ifdef __cplusplus |
11168 |
extern "C" |
11169 |
#endif |
11170 |
-char $ac_func (); |
11171 |
-/* The GNU C library defines this for functions which it implements |
11172 |
- to always fail with ENOSYS. Some functions are actually named |
11173 |
- something starting with __ and the normal name is an alias. */ |
11174 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
11175 |
-choke me |
11176 |
-#endif |
11177 |
- |
11178 |
+char crypt (); |
11179 |
int |
11180 |
main () |
11181 |
{ |
11182 |
-return $ac_func (); |
11183 |
+return crypt (); |
11184 |
; |
11185 |
return 0; |
11186 |
} |
11187 |
_ACEOF |
11188 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
11189 |
-if { (ac_try="$ac_link" |
11190 |
-case "(($ac_try" in |
11191 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11192 |
- *) ac_try_echo=$ac_try;; |
11193 |
-esac |
11194 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11195 |
- (eval "$ac_link") 2>conftest.er1 |
11196 |
- ac_status=$? |
11197 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11198 |
- rm -f conftest.er1 |
11199 |
- cat conftest.err >&5 |
11200 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11201 |
- (exit $ac_status); } && { |
11202 |
- test -z "$ac_c_werror_flag" || |
11203 |
- test ! -s conftest.err |
11204 |
- } && test -s conftest$ac_exeext && |
11205 |
- $as_test_x conftest$ac_exeext; then |
11206 |
- eval "$as_ac_var=yes" |
11207 |
+for ac_lib in '' crypt descrypt; do |
11208 |
+ if test -z "$ac_lib"; then |
11209 |
+ ac_res="none required" |
11210 |
+ else |
11211 |
+ ac_res=-l$ac_lib |
11212 |
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
11213 |
+ fi |
11214 |
+ if ac_fn_c_try_link "$LINENO"; then : |
11215 |
+ ac_cv_search_crypt=$ac_res |
11216 |
+fi |
11217 |
+rm -f core conftest.err conftest.$ac_objext \ |
11218 |
+ conftest$ac_exeext |
11219 |
+ if ${ac_cv_search_crypt+:} false; then : |
11220 |
+ break |
11221 |
+fi |
11222 |
+done |
11223 |
+if ${ac_cv_search_crypt+:} false; then : |
11224 |
+ |
11225 |
else |
11226 |
- echo "$as_me: failed program was:" >&5 |
11227 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11228 |
+ ac_cv_search_crypt=no |
11229 |
+fi |
11230 |
+rm conftest.$ac_ext |
11231 |
+LIBS=$ac_func_search_save_LIBS |
11232 |
+fi |
11233 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 |
11234 |
+$as_echo "$ac_cv_search_crypt" >&6; } |
11235 |
+ac_res=$ac_cv_search_crypt |
11236 |
+if test "$ac_res" != no; then : |
11237 |
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
11238 |
|
11239 |
- eval "$as_ac_var=no" |
11240 |
fi |
11241 |
|
11242 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11243 |
- conftest$ac_exeext conftest.$ac_ext |
11244 |
+ |
11245 |
+CRYPT_LIB=$ac_cv_search_crypt |
11246 |
+ |
11247 |
+if test "$CRYPT_LIB" = "none required"; then |
11248 |
+ unset CRYPT_LIB |
11249 |
+elif test "$CRYPT_LIB" = no; then |
11250 |
+ CRYPT_C=crypt.c |
11251 |
+ unset CRYPT_LIB |
11252 |
fi |
11253 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
11254 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11255 |
-echo "${ECHO_T}$ac_res" >&6; } |
11256 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
11257 |
- cat >>confdefs.h <<_ACEOF |
11258 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11259 |
+ |
11260 |
+ |
11261 |
+ |
11262 |
+ |
11263 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5 |
11264 |
+$as_echo_n "checking whether string.h and strings.h may both be included... " >&6; } |
11265 |
+if ${gcc_cv_header_string+:} false; then : |
11266 |
+ $as_echo_n "(cached) " >&6 |
11267 |
+else |
11268 |
+ |
11269 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11270 |
+/* end confdefs.h. */ |
11271 |
+#include <string.h> |
11272 |
+ #include <strings.h> |
11273 |
_ACEOF |
11274 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11275 |
+ gcc_cv_header_string=yes |
11276 |
+else |
11277 |
+ gcc_cv_header_string=no |
11278 |
+fi |
11279 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11280 |
|
11281 |
fi |
11282 |
-done |
11283 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5 |
11284 |
+$as_echo "$gcc_cv_header_string" >&6; } |
11285 |
+ |
11286 |
+if test "$gcc_cv_header_string" = "yes"; then |
11287 |
|
11288 |
+$as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h |
11289 |
|
11290 |
-if test "$ac_cv_func_snprintf" = no -o "$ac_cv_func_vsnprintf" = no; then |
11291 |
- SNPRINTF_C="snprintf.c" |
11292 |
fi |
11293 |
|
11294 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
11295 |
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
11296 |
+if ${ac_cv_c_bigendian+:} false; then : |
11297 |
+ $as_echo_n "(cached) " >&6 |
11298 |
+else |
11299 |
+ ac_cv_c_bigendian=unknown |
11300 |
+ # See if we're dealing with a universal compiler. |
11301 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11302 |
+/* end confdefs.h. */ |
11303 |
+#ifndef __APPLE_CC__ |
11304 |
+ not a universal capable compiler |
11305 |
+ #endif |
11306 |
+ typedef int dummy; |
11307 |
+ |
11308 |
+_ACEOF |
11309 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11310 |
+ |
11311 |
+ # Check for potential -arch flags. It is not universal unless |
11312 |
+ # there are at least two -arch flags with different values. |
11313 |
+ ac_arch= |
11314 |
+ ac_prev= |
11315 |
+ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
11316 |
+ if test -n "$ac_prev"; then |
11317 |
+ case $ac_word in |
11318 |
+ i?86 | x86_64 | ppc | ppc64) |
11319 |
+ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
11320 |
+ ac_arch=$ac_word |
11321 |
+ else |
11322 |
+ ac_cv_c_bigendian=universal |
11323 |
+ break |
11324 |
+ fi |
11325 |
+ ;; |
11326 |
+ esac |
11327 |
+ ac_prev= |
11328 |
+ elif test "x$ac_word" = "x-arch"; then |
11329 |
+ ac_prev=arch |
11330 |
+ fi |
11331 |
+ done |
11332 |
+fi |
11333 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11334 |
+ if test $ac_cv_c_bigendian = unknown; then |
11335 |
+ # See if sys/param.h defines the BYTE_ORDER macro. |
11336 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11337 |
+/* end confdefs.h. */ |
11338 |
+#include <sys/types.h> |
11339 |
+ #include <sys/param.h> |
11340 |
+ |
11341 |
+int |
11342 |
+main () |
11343 |
+{ |
11344 |
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
11345 |
+ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
11346 |
+ && LITTLE_ENDIAN) |
11347 |
+ bogus endian macros |
11348 |
+ #endif |
11349 |
|
11350 |
+ ; |
11351 |
+ return 0; |
11352 |
+} |
11353 |
+_ACEOF |
11354 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11355 |
+ # It does; now see whether it defined to BIG_ENDIAN or not. |
11356 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11357 |
+/* end confdefs.h. */ |
11358 |
+#include <sys/types.h> |
11359 |
+ #include <sys/param.h> |
11360 |
|
11361 |
+int |
11362 |
+main () |
11363 |
+{ |
11364 |
+#if BYTE_ORDER != BIG_ENDIAN |
11365 |
+ not big endian |
11366 |
+ #endif |
11367 |
|
11368 |
-{ echo "$as_me:$LINENO: checking for OpenSSL" >&5 |
11369 |
-echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; } |
11370 |
-# Check whether --enable-openssl was given. |
11371 |
-if test "${enable_openssl+set}" = set; then |
11372 |
- enableval=$enable_openssl; cf_enable_openssl=$enableval |
11373 |
+ ; |
11374 |
+ return 0; |
11375 |
+} |
11376 |
+_ACEOF |
11377 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11378 |
+ ac_cv_c_bigendian=yes |
11379 |
else |
11380 |
- cf_enable_openssl="auto" |
11381 |
+ ac_cv_c_bigendian=no |
11382 |
fi |
11383 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11384 |
+fi |
11385 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11386 |
+ fi |
11387 |
+ if test $ac_cv_c_bigendian = unknown; then |
11388 |
+ # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
11389 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11390 |
+/* end confdefs.h. */ |
11391 |
+#include <limits.h> |
11392 |
+ |
11393 |
+int |
11394 |
+main () |
11395 |
+{ |
11396 |
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
11397 |
+ bogus endian macros |
11398 |
+ #endif |
11399 |
|
11400 |
+ ; |
11401 |
+ return 0; |
11402 |
+} |
11403 |
+_ACEOF |
11404 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11405 |
+ # It does; now see whether it defined to _BIG_ENDIAN or not. |
11406 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11407 |
+/* end confdefs.h. */ |
11408 |
+#include <limits.h> |
11409 |
|
11410 |
-if test "$cf_enable_openssl" != "no" ; then |
11411 |
- cf_openssl_basedir="" |
11412 |
- if test "$cf_enable_openssl" != "auto" && |
11413 |
- test "$cf_enable_openssl" != "yes" ; then |
11414 |
- cf_openssl_basedir="`echo ${cf_enable_openssl} | sed 's/\/$//'`" |
11415 |
- else |
11416 |
- for dirs in /usr/local/ssl /usr/pkg /usr/local \ |
11417 |
- /usr/local/openssl /usr/sfw; do |
11418 |
- if test -f "${dirs}/include/openssl/opensslv.h" ; then |
11419 |
- cf_openssl_basedir="${dirs}" |
11420 |
- break |
11421 |
- fi |
11422 |
- done |
11423 |
- unset dirs |
11424 |
- fi |
11425 |
- if test ! -z "$cf_openssl_basedir"; then |
11426 |
- if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then |
11427 |
- SSL_INCLUDES="-I${cf_openssl_basedir}/include" |
11428 |
- SSL_LIBS="-L${cf_openssl_basedir}/lib" |
11429 |
- else |
11430 |
- cf_openssl_basedir="" |
11431 |
- fi |
11432 |
- else |
11433 |
- if test -f "/usr/include/openssl/opensslv.h" ; then |
11434 |
- cf_openssl_basedir="/usr" |
11435 |
- fi |
11436 |
- fi |
11437 |
+int |
11438 |
+main () |
11439 |
+{ |
11440 |
+#ifndef _BIG_ENDIAN |
11441 |
+ not big endian |
11442 |
+ #endif |
11443 |
|
11444 |
- if test ! -z "$cf_openssl_basedir"; then |
11445 |
- { echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5 |
11446 |
-echo "${ECHO_T}$cf_openssl_basedir" >&6; } |
11447 |
- cf_enable_openssl="yes" |
11448 |
- else |
11449 |
- { echo "$as_me:$LINENO: result: not found. Specify a correct path?" >&5 |
11450 |
-echo "${ECHO_T}not found. Specify a correct path?" >&6; } |
11451 |
- cf_enable_openssl="no" |
11452 |
- fi |
11453 |
- unset cf_openssl_basedir |
11454 |
+ ; |
11455 |
+ return 0; |
11456 |
+} |
11457 |
+_ACEOF |
11458 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11459 |
+ ac_cv_c_bigendian=yes |
11460 |
else |
11461 |
- { echo "$as_me:$LINENO: result: disabled" >&5 |
11462 |
-echo "${ECHO_T}disabled" >&6; } |
11463 |
+ ac_cv_c_bigendian=no |
11464 |
fi |
11465 |
- |
11466 |
-save_CPPFLAGS="$CPPFLAGS" |
11467 |
-CPPFLAGS="$CPPFLAGS $SSL_INCLUDES" |
11468 |
-save_LIBS="$LIBS" |
11469 |
-LIBS="$LIBS $SSL_LIBS" |
11470 |
-if test "$cf_enable_openssl" != no; then |
11471 |
- { echo "$as_me:$LINENO: checking for OpenSSL 0.9.6 or above" >&5 |
11472 |
-echo $ECHO_N "checking for OpenSSL 0.9.6 or above... $ECHO_C" >&6; } |
11473 |
- if test "$cross_compiling" = yes; then |
11474 |
- cf_openssl_version_ok=no |
11475 |
-else |
11476 |
- cat >conftest.$ac_ext <<_ACEOF |
11477 |
-/* confdefs.h. */ |
11478 |
-_ACEOF |
11479 |
-cat confdefs.h >>conftest.$ac_ext |
11480 |
-cat >>conftest.$ac_ext <<_ACEOF |
11481 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11482 |
+fi |
11483 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11484 |
+ fi |
11485 |
+ if test $ac_cv_c_bigendian = unknown; then |
11486 |
+ # Compile a test program. |
11487 |
+ if test "$cross_compiling" = yes; then : |
11488 |
+ # Try to guess by grepping values from an object file. |
11489 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11490 |
/* end confdefs.h. */ |
11491 |
-#include <openssl/opensslv.h> |
11492 |
- #include <stdlib.h> |
11493 |
+short int ascii_mm[] = |
11494 |
+ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
11495 |
+ short int ascii_ii[] = |
11496 |
+ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
11497 |
+ int use_ascii (int i) { |
11498 |
+ return ascii_mm[i] + ascii_ii[i]; |
11499 |
+ } |
11500 |
+ short int ebcdic_ii[] = |
11501 |
+ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
11502 |
+ short int ebcdic_mm[] = |
11503 |
+ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
11504 |
+ int use_ebcdic (int i) { |
11505 |
+ return ebcdic_mm[i] + ebcdic_ii[i]; |
11506 |
+ } |
11507 |
+ extern int foo; |
11508 |
+ |
11509 |
int |
11510 |
main () |
11511 |
{ |
11512 |
-if (OPENSSL_VERSION_NUMBER >= 0x00906000) |
11513 |
- exit(0); else exit(1); |
11514 |
+return use_ascii (foo) == use_ebcdic (foo); |
11515 |
; |
11516 |
return 0; |
11517 |
} |
11518 |
_ACEOF |
11519 |
-rm -f conftest$ac_exeext |
11520 |
-if { (ac_try="$ac_link" |
11521 |
-case "(($ac_try" in |
11522 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11523 |
- *) ac_try_echo=$ac_try;; |
11524 |
-esac |
11525 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11526 |
- (eval "$ac_link") 2>&5 |
11527 |
- ac_status=$? |
11528 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11529 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11530 |
- { (case "(($ac_try" in |
11531 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11532 |
- *) ac_try_echo=$ac_try;; |
11533 |
-esac |
11534 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11535 |
- (eval "$ac_try") 2>&5 |
11536 |
- ac_status=$? |
11537 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11538 |
- (exit $ac_status); }; }; then |
11539 |
- cf_openssl_version_ok=yes |
11540 |
-else |
11541 |
- echo "$as_me: program exited with status $ac_status" >&5 |
11542 |
-echo "$as_me: failed program was:" >&5 |
11543 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11544 |
- |
11545 |
-( exit $ac_status ) |
11546 |
-cf_openssl_version_ok=no |
11547 |
-fi |
11548 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11549 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11550 |
+ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
11551 |
+ ac_cv_c_bigendian=yes |
11552 |
+ fi |
11553 |
+ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
11554 |
+ if test "$ac_cv_c_bigendian" = unknown; then |
11555 |
+ ac_cv_c_bigendian=no |
11556 |
+ else |
11557 |
+ # finding both strings is unlikely to happen, but who knows? |
11558 |
+ ac_cv_c_bigendian=unknown |
11559 |
+ fi |
11560 |
+ fi |
11561 |
fi |
11562 |
- |
11563 |
- |
11564 |
- |
11565 |
- if test "$cf_openssl_version_ok" = yes; then |
11566 |
- { echo "$as_me:$LINENO: result: found" >&5 |
11567 |
-echo "${ECHO_T}found" >&6; } |
11568 |
- |
11569 |
- ENCSPEED=encspeed |
11570 |
- |
11571 |
- |
11572 |
- CPPFLAGS="$CPPFLAGS $SSL_LIBS" |
11573 |
- |
11574 |
-{ echo "$as_me:$LINENO: checking for RSA_free in -lcrypto" >&5 |
11575 |
-echo $ECHO_N "checking for RSA_free in -lcrypto... $ECHO_C" >&6; } |
11576 |
-if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then |
11577 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11578 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11579 |
else |
11580 |
- ac_check_lib_save_LIBS=$LIBS |
11581 |
-LIBS="-lcrypto $LIBS" |
11582 |
-cat >conftest.$ac_ext <<_ACEOF |
11583 |
-/* confdefs.h. */ |
11584 |
-_ACEOF |
11585 |
-cat confdefs.h >>conftest.$ac_ext |
11586 |
-cat >>conftest.$ac_ext <<_ACEOF |
11587 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11588 |
/* end confdefs.h. */ |
11589 |
- |
11590 |
-/* Override any GCC internal prototype to avoid an error. |
11591 |
- Use char because int might match the return type of a GCC |
11592 |
- builtin and then its argument prototype would still apply. */ |
11593 |
-#ifdef __cplusplus |
11594 |
-extern "C" |
11595 |
-#endif |
11596 |
-char RSA_free (); |
11597 |
+$ac_includes_default |
11598 |
int |
11599 |
main () |
11600 |
{ |
11601 |
-return RSA_free (); |
11602 |
+ |
11603 |
+ /* Are we little or big endian? From Harbison&Steele. */ |
11604 |
+ union |
11605 |
+ { |
11606 |
+ long int l; |
11607 |
+ char c[sizeof (long int)]; |
11608 |
+ } u; |
11609 |
+ u.l = 1; |
11610 |
+ return u.c[sizeof (long int) - 1] == 1; |
11611 |
+ |
11612 |
; |
11613 |
return 0; |
11614 |
} |
11615 |
_ACEOF |
11616 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
11617 |
-if { (ac_try="$ac_link" |
11618 |
-case "(($ac_try" in |
11619 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11620 |
- *) ac_try_echo=$ac_try;; |
11621 |
-esac |
11622 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11623 |
- (eval "$ac_link") 2>conftest.er1 |
11624 |
- ac_status=$? |
11625 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11626 |
- rm -f conftest.er1 |
11627 |
- cat conftest.err >&5 |
11628 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11629 |
- (exit $ac_status); } && { |
11630 |
- test -z "$ac_c_werror_flag" || |
11631 |
- test ! -s conftest.err |
11632 |
- } && test -s conftest$ac_exeext && |
11633 |
- $as_test_x conftest$ac_exeext; then |
11634 |
- ac_cv_lib_crypto_RSA_free=yes |
11635 |
+if ac_fn_c_try_run "$LINENO"; then : |
11636 |
+ ac_cv_c_bigendian=no |
11637 |
else |
11638 |
- echo "$as_me: failed program was:" >&5 |
11639 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11640 |
- |
11641 |
- ac_cv_lib_crypto_RSA_free=no |
11642 |
+ ac_cv_c_bigendian=yes |
11643 |
+fi |
11644 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11645 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
11646 |
fi |
11647 |
|
11648 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11649 |
- conftest$ac_exeext conftest.$ac_ext |
11650 |
-LIBS=$ac_check_lib_save_LIBS |
11651 |
+ fi |
11652 |
fi |
11653 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_free" >&5 |
11654 |
-echo "${ECHO_T}$ac_cv_lib_crypto_RSA_free" >&6; } |
11655 |
-if test $ac_cv_lib_crypto_RSA_free = yes; then |
11656 |
- cat >>confdefs.h <<_ACEOF |
11657 |
-#define HAVE_LIBCRYPTO 1 |
11658 |
-_ACEOF |
11659 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
11660 |
+$as_echo "$ac_cv_c_bigendian" >&6; } |
11661 |
+ case $ac_cv_c_bigendian in #( |
11662 |
+ yes) |
11663 |
+ $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
11664 |
+;; #( |
11665 |
+ no) |
11666 |
+ ;; #( |
11667 |
+ universal) |
11668 |
|
11669 |
- LIBS="-lcrypto $LIBS" |
11670 |
+$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
11671 |
|
11672 |
-fi |
11673 |
+ ;; #( |
11674 |
+ *) |
11675 |
+ as_fn_error $? "unknown endianness |
11676 |
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
11677 |
+ esac |
11678 |
|
11679 |
- if test "$ac_cv_lib_crypto_RSA_free" = yes; then |
11680 |
- LIBS="$LIBS -lcrypto" |
11681 |
- cf_openssl_ciphers='' |
11682 |
|
11683 |
-for ac_func in EVP_bf_cfb |
11684 |
-do |
11685 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11686 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11687 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11688 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11689 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11690 |
+ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" |
11691 |
+if test "x$ac_cv_header_stdarg_h" = xyes; then : |
11692 |
+ |
11693 |
else |
11694 |
- cat >conftest.$ac_ext <<_ACEOF |
11695 |
-/* confdefs.h. */ |
11696 |
-_ACEOF |
11697 |
-cat confdefs.h >>conftest.$ac_ext |
11698 |
-cat >>conftest.$ac_ext <<_ACEOF |
11699 |
-/* end confdefs.h. */ |
11700 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11701 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11702 |
-#define $ac_func innocuous_$ac_func |
11703 |
+ as_fn_error $? "** stdarg.h could not be found - ircd-hybrid will not compile without it **" "$LINENO" 5 |
11704 |
+fi |
11705 |
|
11706 |
-/* System header to define __stub macros and hopefully few prototypes, |
11707 |
- which can conflict with char $ac_func (); below. |
11708 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11709 |
- <limits.h> exists even on freestanding compilers. */ |
11710 |
|
11711 |
-#ifdef __STDC__ |
11712 |
-# include <limits.h> |
11713 |
-#else |
11714 |
-# include <assert.h> |
11715 |
-#endif |
11716 |
|
11717 |
-#undef $ac_func |
11718 |
|
11719 |
-/* Override any GCC internal prototype to avoid an error. |
11720 |
- Use char because int might match the return type of a GCC |
11721 |
- builtin and then its argument prototype would still apply. */ |
11722 |
-#ifdef __cplusplus |
11723 |
-extern "C" |
11724 |
-#endif |
11725 |
-char $ac_func (); |
11726 |
-/* The GNU C library defines this for functions which it implements |
11727 |
- to always fail with ENOSYS. Some functions are actually named |
11728 |
- something starting with __ and the normal name is an alias. */ |
11729 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
11730 |
-choke me |
11731 |
-#endif |
11732 |
+if test "$ac_cv_c_compiler_gnu" = yes; then |
11733 |
+ |
11734 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcpy" >&5 |
11735 |
+$as_echo_n "checking for strlcpy... " >&6; } |
11736 |
+save_CFLAGS=$CFLAGS |
11737 |
+CFLAGS="$CFLAGS -Wimplicit -Werror" |
11738 |
|
11739 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11740 |
+/* end confdefs.h. */ |
11741 |
+#include <string.h> |
11742 |
+ #include <stdlib.h> |
11743 |
int |
11744 |
main () |
11745 |
{ |
11746 |
-return $ac_func (); |
11747 |
+char *a = malloc(6), *b = strdup("hello"); |
11748 |
+ strlcpy(a, b, 6); |
11749 |
+ |
11750 |
; |
11751 |
return 0; |
11752 |
} |
11753 |
_ACEOF |
11754 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
11755 |
-if { (ac_try="$ac_link" |
11756 |
-case "(($ac_try" in |
11757 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11758 |
- *) ac_try_echo=$ac_try;; |
11759 |
-esac |
11760 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11761 |
- (eval "$ac_link") 2>conftest.er1 |
11762 |
- ac_status=$? |
11763 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11764 |
- rm -f conftest.er1 |
11765 |
- cat conftest.err >&5 |
11766 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11767 |
- (exit $ac_status); } && { |
11768 |
- test -z "$ac_c_werror_flag" || |
11769 |
- test ! -s conftest.err |
11770 |
- } && test -s conftest$ac_exeext && |
11771 |
- $as_test_x conftest$ac_exeext; then |
11772 |
- eval "$as_ac_var=yes" |
11773 |
-else |
11774 |
- echo "$as_me: failed program was:" >&5 |
11775 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11776 |
- |
11777 |
- eval "$as_ac_var=no" |
11778 |
-fi |
11779 |
- |
11780 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11781 |
- conftest$ac_exeext conftest.$ac_ext |
11782 |
-fi |
11783 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
11784 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11785 |
-echo "${ECHO_T}$ac_res" >&6; } |
11786 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
11787 |
- cat >>confdefs.h <<_ACEOF |
11788 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11789 |
-_ACEOF |
11790 |
- cf_openssl_ciphers="${cf_openssl_ciphers}BF/168 BF/128 " |
11791 |
-fi |
11792 |
-done |
11793 |
+if ac_fn_c_try_link "$LINENO"; then : |
11794 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11795 |
+$as_echo "yes" >&6; } |
11796 |
|
11797 |
+$as_echo "#define HAVE_STRLCPY 1" >>confdefs.h |
11798 |
|
11799 |
-for ac_func in EVP_cast5_cfb |
11800 |
-do |
11801 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11802 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11803 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11804 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11805 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11806 |
else |
11807 |
- cat >conftest.$ac_ext <<_ACEOF |
11808 |
-/* confdefs.h. */ |
11809 |
-_ACEOF |
11810 |
-cat confdefs.h >>conftest.$ac_ext |
11811 |
-cat >>conftest.$ac_ext <<_ACEOF |
11812 |
-/* end confdefs.h. */ |
11813 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11814 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11815 |
-#define $ac_func innocuous_$ac_func |
11816 |
- |
11817 |
-/* System header to define __stub macros and hopefully few prototypes, |
11818 |
- which can conflict with char $ac_func (); below. |
11819 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11820 |
- <limits.h> exists even on freestanding compilers. */ |
11821 |
- |
11822 |
-#ifdef __STDC__ |
11823 |
-# include <limits.h> |
11824 |
-#else |
11825 |
-# include <assert.h> |
11826 |
-#endif |
11827 |
- |
11828 |
-#undef $ac_func |
11829 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11830 |
+$as_echo "no" >&6; } |
11831 |
|
11832 |
-/* Override any GCC internal prototype to avoid an error. |
11833 |
- Use char because int might match the return type of a GCC |
11834 |
- builtin and then its argument prototype would still apply. */ |
11835 |
-#ifdef __cplusplus |
11836 |
-extern "C" |
11837 |
-#endif |
11838 |
-char $ac_func (); |
11839 |
-/* The GNU C library defines this for functions which it implements |
11840 |
- to always fail with ENOSYS. Some functions are actually named |
11841 |
- something starting with __ and the normal name is an alias. */ |
11842 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
11843 |
-choke me |
11844 |
-#endif |
11845 |
+fi |
11846 |
+rm -f core conftest.err conftest.$ac_objext \ |
11847 |
+ conftest$ac_exeext conftest.$ac_ext |
11848 |
|
11849 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcat" >&5 |
11850 |
+$as_echo_n "checking for strlcat... " >&6; } |
11851 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11852 |
+/* end confdefs.h. */ |
11853 |
+#include <string.h> |
11854 |
+ #include <stdlib.h> |
11855 |
int |
11856 |
main () |
11857 |
{ |
11858 |
-return $ac_func (); |
11859 |
+char *a = malloc(6), *b = strdup("hello"); |
11860 |
+ strlcat(a, b, 6); |
11861 |
+ |
11862 |
; |
11863 |
return 0; |
11864 |
} |
11865 |
_ACEOF |
11866 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
11867 |
-if { (ac_try="$ac_link" |
11868 |
-case "(($ac_try" in |
11869 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11870 |
- *) ac_try_echo=$ac_try;; |
11871 |
-esac |
11872 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11873 |
- (eval "$ac_link") 2>conftest.er1 |
11874 |
- ac_status=$? |
11875 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11876 |
- rm -f conftest.er1 |
11877 |
- cat conftest.err >&5 |
11878 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11879 |
- (exit $ac_status); } && { |
11880 |
- test -z "$ac_c_werror_flag" || |
11881 |
- test ! -s conftest.err |
11882 |
- } && test -s conftest$ac_exeext && |
11883 |
- $as_test_x conftest$ac_exeext; then |
11884 |
- eval "$as_ac_var=yes" |
11885 |
+if ac_fn_c_try_link "$LINENO"; then : |
11886 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11887 |
+$as_echo "yes" >&6; } |
11888 |
+ |
11889 |
+$as_echo "#define HAVE_STRLCAT 1" >>confdefs.h |
11890 |
+ |
11891 |
else |
11892 |
- echo "$as_me: failed program was:" >&5 |
11893 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11894 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11895 |
+$as_echo "no" >&6; } |
11896 |
|
11897 |
- eval "$as_ac_var=no" |
11898 |
fi |
11899 |
+rm -f core conftest.err conftest.$ac_objext \ |
11900 |
+ conftest$ac_exeext conftest.$ac_ext |
11901 |
|
11902 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11903 |
- conftest$ac_exeext conftest.$ac_ext |
11904 |
-fi |
11905 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
11906 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11907 |
-echo "${ECHO_T}$ac_res" >&6; } |
11908 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
11909 |
+CFLAGS=$save_CFLAGS |
11910 |
+ |
11911 |
+else |
11912 |
+ |
11913 |
+ |
11914 |
+for ac_func in strlcat strlcpy |
11915 |
+do : |
11916 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11917 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11918 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11919 |
cat >>confdefs.h <<_ACEOF |
11920 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11921 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11922 |
_ACEOF |
11923 |
- cf_openssl_ciphers="${cf_openssl_ciphers}CAST/128 " |
11924 |
+ |
11925 |
fi |
11926 |
done |
11927 |
|
11928 |
|
11929 |
-for ac_func in EVP_idea_cfb |
11930 |
-do |
11931 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11932 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11933 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11934 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11935 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11936 |
+fi |
11937 |
+ |
11938 |
+# The cast to long int works around a bug in the HP C Compiler |
11939 |
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
11940 |
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
11941 |
+# This bug is HP SR number 8606223364. |
11942 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
11943 |
+$as_echo_n "checking size of int64_t... " >&6; } |
11944 |
+if ${ac_cv_sizeof_int64_t+:} false; then : |
11945 |
+ $as_echo_n "(cached) " >&6 |
11946 |
+else |
11947 |
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
11948 |
+ |
11949 |
else |
11950 |
- cat >conftest.$ac_ext <<_ACEOF |
11951 |
-/* confdefs.h. */ |
11952 |
+ if test "$ac_cv_type_int64_t" = yes; then |
11953 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
11954 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
11955 |
+as_fn_error 77 "cannot compute sizeof (int64_t) |
11956 |
+See \`config.log' for more details" "$LINENO" 5; } |
11957 |
+ else |
11958 |
+ ac_cv_sizeof_int64_t=0 |
11959 |
+ fi |
11960 |
+fi |
11961 |
+ |
11962 |
+fi |
11963 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
11964 |
+$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
11965 |
+ |
11966 |
+ |
11967 |
+ |
11968 |
+cat >>confdefs.h <<_ACEOF |
11969 |
+#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
11970 |
_ACEOF |
11971 |
-cat confdefs.h >>conftest.$ac_ext |
11972 |
-cat >>conftest.$ac_ext <<_ACEOF |
11973 |
-/* end confdefs.h. */ |
11974 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11975 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11976 |
-#define $ac_func innocuous_$ac_func |
11977 |
|
11978 |
-/* System header to define __stub macros and hopefully few prototypes, |
11979 |
- which can conflict with char $ac_func (); below. |
11980 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11981 |
- <limits.h> exists even on freestanding compilers. */ |
11982 |
|
11983 |
-#ifdef __STDC__ |
11984 |
-# include <limits.h> |
11985 |
-#else |
11986 |
-# include <assert.h> |
11987 |
-#endif |
11988 |
+# The cast to long int works around a bug in the HP C Compiler |
11989 |
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
11990 |
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
11991 |
+# This bug is HP SR number 8606223364. |
11992 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
11993 |
+$as_echo_n "checking size of long long... " >&6; } |
11994 |
+if ${ac_cv_sizeof_long_long+:} false; then : |
11995 |
+ $as_echo_n "(cached) " >&6 |
11996 |
+else |
11997 |
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
11998 |
|
11999 |
-#undef $ac_func |
12000 |
+else |
12001 |
+ if test "$ac_cv_type_long_long" = yes; then |
12002 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12003 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12004 |
+as_fn_error 77 "cannot compute sizeof (long long) |
12005 |
+See \`config.log' for more details" "$LINENO" 5; } |
12006 |
+ else |
12007 |
+ ac_cv_sizeof_long_long=0 |
12008 |
+ fi |
12009 |
+fi |
12010 |
|
12011 |
-/* Override any GCC internal prototype to avoid an error. |
12012 |
- Use char because int might match the return type of a GCC |
12013 |
- builtin and then its argument prototype would still apply. */ |
12014 |
-#ifdef __cplusplus |
12015 |
-extern "C" |
12016 |
-#endif |
12017 |
-char $ac_func (); |
12018 |
-/* The GNU C library defines this for functions which it implements |
12019 |
- to always fail with ENOSYS. Some functions are actually named |
12020 |
- something starting with __ and the normal name is an alias. */ |
12021 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12022 |
-choke me |
12023 |
-#endif |
12024 |
+fi |
12025 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
12026 |
+$as_echo "$ac_cv_sizeof_long_long" >&6; } |
12027 |
|
12028 |
-int |
12029 |
-main () |
12030 |
-{ |
12031 |
-return $ac_func (); |
12032 |
- ; |
12033 |
- return 0; |
12034 |
-} |
12035 |
+ |
12036 |
+ |
12037 |
+cat >>confdefs.h <<_ACEOF |
12038 |
+#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
12039 |
_ACEOF |
12040 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12041 |
-if { (ac_try="$ac_link" |
12042 |
-case "(($ac_try" in |
12043 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12044 |
- *) ac_try_echo=$ac_try;; |
12045 |
-esac |
12046 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12047 |
- (eval "$ac_link") 2>conftest.er1 |
12048 |
- ac_status=$? |
12049 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12050 |
- rm -f conftest.er1 |
12051 |
- cat conftest.err >&5 |
12052 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12053 |
- (exit $ac_status); } && { |
12054 |
- test -z "$ac_c_werror_flag" || |
12055 |
- test ! -s conftest.err |
12056 |
- } && test -s conftest$ac_exeext && |
12057 |
- $as_test_x conftest$ac_exeext; then |
12058 |
- eval "$as_ac_var=yes" |
12059 |
+ |
12060 |
+ |
12061 |
+ |
12062 |
+if test "$ac_cv_sizeof_int64_t" = 8; then |
12063 |
+ ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12064 |
+if test "x$ac_cv_type_uint64_t" = xyes; then : |
12065 |
+ |
12066 |
+fi |
12067 |
+ |
12068 |
+ ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12069 |
+if test "x$ac_cv_type_int64_t" = xyes; then : |
12070 |
+ |
12071 |
+fi |
12072 |
+ |
12073 |
+elif test "$ac_cv_sizeof_long_long" = 8; then |
12074 |
+ ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12075 |
+if test "x$ac_cv_type_uint64_t" = xyes; then : |
12076 |
+ |
12077 |
else |
12078 |
- echo "$as_me: failed program was:" >&5 |
12079 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12080 |
|
12081 |
- eval "$as_ac_var=no" |
12082 |
+cat >>confdefs.h <<_ACEOF |
12083 |
+#define uint64_t unsigned long long |
12084 |
+_ACEOF |
12085 |
+ |
12086 |
fi |
12087 |
|
12088 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12089 |
- conftest$ac_exeext conftest.$ac_ext |
12090 |
-fi |
12091 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12092 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12093 |
-echo "${ECHO_T}$ac_res" >&6; } |
12094 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12095 |
- cat >>confdefs.h <<_ACEOF |
12096 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12097 |
+ ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12098 |
+if test "x$ac_cv_type_int64_t" = xyes; then : |
12099 |
+ |
12100 |
+else |
12101 |
+ |
12102 |
+cat >>confdefs.h <<_ACEOF |
12103 |
+#define int64_t long long |
12104 |
_ACEOF |
12105 |
- cf_openssl_ciphers="${cf_openssl_ciphers}IDEA/128 " |
12106 |
+ |
12107 |
+fi |
12108 |
+ |
12109 |
+else |
12110 |
+ as_fn_error $? "Your system doesn't appear to have 64 bit integers. Aborting." "$LINENO" 5 |
12111 |
fi |
12112 |
-done |
12113 |
|
12114 |
+ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default" |
12115 |
+if test "x$ac_cv_type_u_int32_t" = xyes; then : |
12116 |
|
12117 |
-for ac_func in EVP_rc5_32_12_16_cfb |
12118 |
-do |
12119 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12120 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12121 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12122 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12123 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12124 |
else |
12125 |
- cat >conftest.$ac_ext <<_ACEOF |
12126 |
-/* confdefs.h. */ |
12127 |
-_ACEOF |
12128 |
-cat confdefs.h >>conftest.$ac_ext |
12129 |
-cat >>conftest.$ac_ext <<_ACEOF |
12130 |
-/* end confdefs.h. */ |
12131 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12132 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12133 |
-#define $ac_func innocuous_$ac_func |
12134 |
|
12135 |
-/* System header to define __stub macros and hopefully few prototypes, |
12136 |
- which can conflict with char $ac_func (); below. |
12137 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12138 |
- <limits.h> exists even on freestanding compilers. */ |
12139 |
+ ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
12140 |
+if test "x$ac_cv_type_uint32_t" = xyes; then : |
12141 |
|
12142 |
-#ifdef __STDC__ |
12143 |
-# include <limits.h> |
12144 |
-#else |
12145 |
-# include <assert.h> |
12146 |
-#endif |
12147 |
|
12148 |
-#undef $ac_func |
12149 |
+$as_echo "#define u_int32_t uint32_t" >>confdefs.h |
12150 |
|
12151 |
-/* Override any GCC internal prototype to avoid an error. |
12152 |
- Use char because int might match the return type of a GCC |
12153 |
- builtin and then its argument prototype would still apply. */ |
12154 |
-#ifdef __cplusplus |
12155 |
-extern "C" |
12156 |
-#endif |
12157 |
-char $ac_func (); |
12158 |
-/* The GNU C library defines this for functions which it implements |
12159 |
- to always fail with ENOSYS. Some functions are actually named |
12160 |
- something starting with __ and the normal name is an alias. */ |
12161 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12162 |
-choke me |
12163 |
-#endif |
12164 |
|
12165 |
-int |
12166 |
-main () |
12167 |
-{ |
12168 |
-return $ac_func (); |
12169 |
- ; |
12170 |
- return 0; |
12171 |
-} |
12172 |
-_ACEOF |
12173 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12174 |
-if { (ac_try="$ac_link" |
12175 |
-case "(($ac_try" in |
12176 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12177 |
- *) ac_try_echo=$ac_try;; |
12178 |
-esac |
12179 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12180 |
- (eval "$ac_link") 2>conftest.er1 |
12181 |
- ac_status=$? |
12182 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12183 |
- rm -f conftest.er1 |
12184 |
- cat conftest.err >&5 |
12185 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12186 |
- (exit $ac_status); } && { |
12187 |
- test -z "$ac_c_werror_flag" || |
12188 |
- test ! -s conftest.err |
12189 |
- } && test -s conftest$ac_exeext && |
12190 |
- $as_test_x conftest$ac_exeext; then |
12191 |
- eval "$as_ac_var=yes" |
12192 |
else |
12193 |
- echo "$as_me: failed program was:" >&5 |
12194 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12195 |
|
12196 |
- eval "$as_ac_var=no" |
12197 |
-fi |
12198 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&5 |
12199 |
+$as_echo "$as_me: WARNING: system has no u_int32_t or uint32_t, default to unsigned long int" >&2;} |
12200 |
+ |
12201 |
+$as_echo "#define u_int32_t unsigned long int" >>confdefs.h |
12202 |
+ |
12203 |
|
12204 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12205 |
- conftest$ac_exeext conftest.$ac_ext |
12206 |
fi |
12207 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12208 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12209 |
-echo "${ECHO_T}$ac_res" >&6; } |
12210 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12211 |
- cat >>confdefs.h <<_ACEOF |
12212 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12213 |
-_ACEOF |
12214 |
- cf_openssl_ciphers="${cf_openssl_ciphers}RC5.16/128 RC5.12/128 RC5.8/128 " |
12215 |
+ |
12216 |
+ |
12217 |
fi |
12218 |
-done |
12219 |
|
12220 |
|
12221 |
-for ac_func in EVP_des_ede3_cfb |
12222 |
-do |
12223 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12224 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12225 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12226 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12227 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12228 |
+ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" |
12229 |
+if test "x$ac_cv_type_u_int16_t" = xyes; then : |
12230 |
+ |
12231 |
else |
12232 |
- cat >conftest.$ac_ext <<_ACEOF |
12233 |
-/* confdefs.h. */ |
12234 |
-_ACEOF |
12235 |
-cat confdefs.h >>conftest.$ac_ext |
12236 |
-cat >>conftest.$ac_ext <<_ACEOF |
12237 |
-/* end confdefs.h. */ |
12238 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12239 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12240 |
-#define $ac_func innocuous_$ac_func |
12241 |
|
12242 |
-/* System header to define __stub macros and hopefully few prototypes, |
12243 |
- which can conflict with char $ac_func (); below. |
12244 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12245 |
- <limits.h> exists even on freestanding compilers. */ |
12246 |
+ ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" |
12247 |
+if test "x$ac_cv_type_uint16_t" = xyes; then : |
12248 |
|
12249 |
-#ifdef __STDC__ |
12250 |
-# include <limits.h> |
12251 |
-#else |
12252 |
-# include <assert.h> |
12253 |
-#endif |
12254 |
|
12255 |
-#undef $ac_func |
12256 |
+$as_echo "#define u_int16_t uint16_t" >>confdefs.h |
12257 |
|
12258 |
-/* Override any GCC internal prototype to avoid an error. |
12259 |
- Use char because int might match the return type of a GCC |
12260 |
- builtin and then its argument prototype would still apply. */ |
12261 |
-#ifdef __cplusplus |
12262 |
-extern "C" |
12263 |
-#endif |
12264 |
-char $ac_func (); |
12265 |
-/* The GNU C library defines this for functions which it implements |
12266 |
- to always fail with ENOSYS. Some functions are actually named |
12267 |
- something starting with __ and the normal name is an alias. */ |
12268 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12269 |
-choke me |
12270 |
-#endif |
12271 |
|
12272 |
-int |
12273 |
-main () |
12274 |
-{ |
12275 |
-return $ac_func (); |
12276 |
- ; |
12277 |
- return 0; |
12278 |
-} |
12279 |
-_ACEOF |
12280 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12281 |
-if { (ac_try="$ac_link" |
12282 |
-case "(($ac_try" in |
12283 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12284 |
- *) ac_try_echo=$ac_try;; |
12285 |
-esac |
12286 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12287 |
- (eval "$ac_link") 2>conftest.er1 |
12288 |
- ac_status=$? |
12289 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12290 |
- rm -f conftest.er1 |
12291 |
- cat conftest.err >&5 |
12292 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12293 |
- (exit $ac_status); } && { |
12294 |
- test -z "$ac_c_werror_flag" || |
12295 |
- test ! -s conftest.err |
12296 |
- } && test -s conftest$ac_exeext && |
12297 |
- $as_test_x conftest$ac_exeext; then |
12298 |
- eval "$as_ac_var=yes" |
12299 |
else |
12300 |
- echo "$as_me: failed program was:" >&5 |
12301 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12302 |
|
12303 |
- eval "$as_ac_var=no" |
12304 |
-fi |
12305 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&5 |
12306 |
+$as_echo "$as_me: WARNING: system has no u_int16_t or uint16_t, default to unsigned short int" >&2;} |
12307 |
+ |
12308 |
+$as_echo "#define u_int16_t unsigned short int" >>confdefs.h |
12309 |
+ |
12310 |
|
12311 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12312 |
- conftest$ac_exeext conftest.$ac_ext |
12313 |
fi |
12314 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12315 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12316 |
-echo "${ECHO_T}$ac_res" >&6; } |
12317 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12318 |
- cat >>confdefs.h <<_ACEOF |
12319 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12320 |
-_ACEOF |
12321 |
- cf_openssl_ciphers="${cf_openssl_ciphers}3DES/168 " |
12322 |
+ |
12323 |
+ |
12324 |
fi |
12325 |
-done |
12326 |
|
12327 |
|
12328 |
-for ac_func in EVP_des_cfb |
12329 |
-do |
12330 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12331 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12332 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12333 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12334 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12335 |
+ac_fn_c_check_type "$LINENO" "in_port_t" "ac_cv_type_in_port_t" "#include <sys/types.h> |
12336 |
+#include <netinet/in.h> |
12337 |
+" |
12338 |
+if test "x$ac_cv_type_in_port_t" = xyes; then : |
12339 |
+ |
12340 |
else |
12341 |
- cat >conftest.$ac_ext <<_ACEOF |
12342 |
-/* confdefs.h. */ |
12343 |
-_ACEOF |
12344 |
-cat confdefs.h >>conftest.$ac_ext |
12345 |
-cat >>conftest.$ac_ext <<_ACEOF |
12346 |
-/* end confdefs.h. */ |
12347 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12348 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12349 |
-#define $ac_func innocuous_$ac_func |
12350 |
|
12351 |
-/* System header to define __stub macros and hopefully few prototypes, |
12352 |
- which can conflict with char $ac_func (); below. |
12353 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12354 |
- <limits.h> exists even on freestanding compilers. */ |
12355 |
+$as_echo "#define in_port_t u_int16_t" >>confdefs.h |
12356 |
|
12357 |
-#ifdef __STDC__ |
12358 |
-# include <limits.h> |
12359 |
-#else |
12360 |
-# include <assert.h> |
12361 |
-#endif |
12362 |
+fi |
12363 |
|
12364 |
-#undef $ac_func |
12365 |
|
12366 |
-/* Override any GCC internal prototype to avoid an error. |
12367 |
- Use char because int might match the return type of a GCC |
12368 |
- builtin and then its argument prototype would still apply. */ |
12369 |
-#ifdef __cplusplus |
12370 |
-extern "C" |
12371 |
-#endif |
12372 |
-char $ac_func (); |
12373 |
-/* The GNU C library defines this for functions which it implements |
12374 |
- to always fail with ENOSYS. Some functions are actually named |
12375 |
- something starting with __ and the normal name is an alias. */ |
12376 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12377 |
-choke me |
12378 |
-#endif |
12379 |
+ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h> |
12380 |
+#include <sys/socket.h> |
12381 |
+" |
12382 |
+if test "x$ac_cv_type_sa_family_t" = xyes; then : |
12383 |
|
12384 |
-int |
12385 |
-main () |
12386 |
-{ |
12387 |
-return $ac_func (); |
12388 |
- ; |
12389 |
- return 0; |
12390 |
-} |
12391 |
-_ACEOF |
12392 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12393 |
-if { (ac_try="$ac_link" |
12394 |
-case "(($ac_try" in |
12395 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12396 |
- *) ac_try_echo=$ac_try;; |
12397 |
-esac |
12398 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12399 |
- (eval "$ac_link") 2>conftest.er1 |
12400 |
- ac_status=$? |
12401 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12402 |
- rm -f conftest.er1 |
12403 |
- cat conftest.err >&5 |
12404 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12405 |
- (exit $ac_status); } && { |
12406 |
- test -z "$ac_c_werror_flag" || |
12407 |
- test ! -s conftest.err |
12408 |
- } && test -s conftest$ac_exeext && |
12409 |
- $as_test_x conftest$ac_exeext; then |
12410 |
- eval "$as_ac_var=yes" |
12411 |
else |
12412 |
- echo "$as_me: failed program was:" >&5 |
12413 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12414 |
|
12415 |
- eval "$as_ac_var=no" |
12416 |
-fi |
12417 |
+$as_echo "#define sa_family_t u_int16_t" >>confdefs.h |
12418 |
|
12419 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12420 |
- conftest$ac_exeext conftest.$ac_ext |
12421 |
fi |
12422 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12423 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12424 |
-echo "${ECHO_T}$ac_res" >&6; } |
12425 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12426 |
+ |
12427 |
+ |
12428 |
+for ac_func in socketpair basename mmap snprintf vsnprintf lrand48 srand48 strtok_r usleep |
12429 |
+do : |
12430 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12431 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12432 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12433 |
cat >>confdefs.h <<_ACEOF |
12434 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12435 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12436 |
_ACEOF |
12437 |
- cf_openssl_ciphers="${cf_openssl_ciphers}DES/56 " |
12438 |
-fi |
12439 |
-done |
12440 |
|
12441 |
- fi |
12442 |
- SSL_LIBS="$SSL_LIBS -lssl -lcrypto" |
12443 |
- SSL_SRCS_ENABLE='$(SSL_SRCS)' |
12444 |
- else |
12445 |
- { echo "$as_me:$LINENO: result: no - OpenSSL support disabled" >&5 |
12446 |
-echo "${ECHO_T}no - OpenSSL support disabled" >&6; } |
12447 |
- fi |
12448 |
fi |
12449 |
- |
12450 |
-CPPFLAGS="$save_CPPFLAGS" |
12451 |
-LIBS="$save_LIBS" |
12452 |
+done |
12453 |
|
12454 |
|
12455 |
+if test "$ac_cv_func_snprintf" = no -o "$ac_cv_func_vsnprintf" = no; then |
12456 |
+ SNPRINTF_C="snprintf.c" |
12457 |
+fi |
12458 |
|
12459 |
|
12460 |
-# Check whether --with-zlib-path was given. |
12461 |
-if test "${with_zlib_path+set}" = set; then |
12462 |
- withval=$with_zlib_path; LIBS="$LIBS -L$withval" |
12463 |
-fi |
12464 |
|
12465 |
|
12466 |
-# Check whether --enable-zlib was given. |
12467 |
-if test "${enable_zlib+set}" = set; then |
12468 |
- enableval=$enable_zlib; zlib=$enableval |
12469 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
12470 |
+$as_echo_n "checking for OpenSSL... " >&6; } |
12471 |
+# Check whether --enable-openssl was given. |
12472 |
+if test "${enable_openssl+set}" = set; then : |
12473 |
+ enableval=$enable_openssl; cf_enable_openssl=$enableval |
12474 |
else |
12475 |
- zlib=yes |
12476 |
+ cf_enable_openssl="auto" |
12477 |
fi |
12478 |
|
12479 |
|
12480 |
-if test "$zlib" = yes; then |
12481 |
+if test "$cf_enable_openssl" != "no" ; then |
12482 |
+ cf_openssl_basedir="" |
12483 |
+ if test "$cf_enable_openssl" != "auto" && |
12484 |
+ test "$cf_enable_openssl" != "yes" ; then |
12485 |
+ cf_openssl_basedir="`echo ${cf_enable_openssl} | sed 's/\/$//'`" |
12486 |
+ else |
12487 |
+ for dirs in /usr/local/ssl /usr/pkg /usr/local \ |
12488 |
+ /usr/local/openssl /usr/sfw; do |
12489 |
+ if test -f "${dirs}/include/openssl/opensslv.h" ; then |
12490 |
+ cf_openssl_basedir="${dirs}" |
12491 |
+ break |
12492 |
+ fi |
12493 |
+ done |
12494 |
+ unset dirs |
12495 |
+ fi |
12496 |
+ if test ! -z "$cf_openssl_basedir"; then |
12497 |
+ if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then |
12498 |
+ SSL_INCLUDES="-I${cf_openssl_basedir}/include" |
12499 |
+ SSL_LIBS="-L${cf_openssl_basedir}/lib" |
12500 |
+ else |
12501 |
+ cf_openssl_basedir="" |
12502 |
+ fi |
12503 |
+ else |
12504 |
+ if test -f "/usr/include/openssl/opensslv.h" ; then |
12505 |
+ cf_openssl_basedir="/usr" |
12506 |
+ fi |
12507 |
+ fi |
12508 |
|
12509 |
-if test "${ac_cv_header_zlib_h+set}" = set; then |
12510 |
- { echo "$as_me:$LINENO: checking for zlib.h" >&5 |
12511 |
-echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
12512 |
-if test "${ac_cv_header_zlib_h+set}" = set; then |
12513 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12514 |
-fi |
12515 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
12516 |
-echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
12517 |
-else |
12518 |
- # Is the header compilable? |
12519 |
-{ echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
12520 |
-echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } |
12521 |
-cat >conftest.$ac_ext <<_ACEOF |
12522 |
-/* confdefs.h. */ |
12523 |
-_ACEOF |
12524 |
-cat confdefs.h >>conftest.$ac_ext |
12525 |
-cat >>conftest.$ac_ext <<_ACEOF |
12526 |
-/* end confdefs.h. */ |
12527 |
-$ac_includes_default |
12528 |
-#include <zlib.h> |
12529 |
-_ACEOF |
12530 |
-rm -f conftest.$ac_objext |
12531 |
-if { (ac_try="$ac_compile" |
12532 |
-case "(($ac_try" in |
12533 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12534 |
- *) ac_try_echo=$ac_try;; |
12535 |
-esac |
12536 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12537 |
- (eval "$ac_compile") 2>conftest.er1 |
12538 |
- ac_status=$? |
12539 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12540 |
- rm -f conftest.er1 |
12541 |
- cat conftest.err >&5 |
12542 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12543 |
- (exit $ac_status); } && { |
12544 |
- test -z "$ac_c_werror_flag" || |
12545 |
- test ! -s conftest.err |
12546 |
- } && test -s conftest.$ac_objext; then |
12547 |
- ac_header_compiler=yes |
12548 |
+ if test ! -z "$cf_openssl_basedir"; then |
12549 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
12550 |
+$as_echo "$cf_openssl_basedir" >&6; } |
12551 |
+ cf_enable_openssl="yes" |
12552 |
+ else |
12553 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5 |
12554 |
+$as_echo "not found. Specify a correct path?" >&6; } |
12555 |
+ cf_enable_openssl="no" |
12556 |
+ fi |
12557 |
+ unset cf_openssl_basedir |
12558 |
else |
12559 |
- echo "$as_me: failed program was:" >&5 |
12560 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12561 |
- |
12562 |
- ac_header_compiler=no |
12563 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
12564 |
+$as_echo "disabled" >&6; } |
12565 |
fi |
12566 |
|
12567 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12568 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12569 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
12570 |
- |
12571 |
-# Is the header present? |
12572 |
-{ echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
12573 |
-echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } |
12574 |
-cat >conftest.$ac_ext <<_ACEOF |
12575 |
-/* confdefs.h. */ |
12576 |
-_ACEOF |
12577 |
-cat confdefs.h >>conftest.$ac_ext |
12578 |
-cat >>conftest.$ac_ext <<_ACEOF |
12579 |
+save_CPPFLAGS="$CPPFLAGS" |
12580 |
+CPPFLAGS="$CPPFLAGS $SSL_INCLUDES" |
12581 |
+save_LIBS="$LIBS" |
12582 |
+LIBS="$LIBS $SSL_LIBS" |
12583 |
+if test "$cf_enable_openssl" != no; then |
12584 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.6 or above" >&5 |
12585 |
+$as_echo_n "checking for OpenSSL 0.9.6 or above... " >&6; } |
12586 |
+ if test "$cross_compiling" = yes; then : |
12587 |
+ cf_openssl_version_ok=no |
12588 |
+else |
12589 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12590 |
/* end confdefs.h. */ |
12591 |
-#include <zlib.h> |
12592 |
-_ACEOF |
12593 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
12594 |
-case "(($ac_try" in |
12595 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12596 |
- *) ac_try_echo=$ac_try;; |
12597 |
-esac |
12598 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12599 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12600 |
- ac_status=$? |
12601 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12602 |
- rm -f conftest.er1 |
12603 |
- cat conftest.err >&5 |
12604 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12605 |
- (exit $ac_status); } >/dev/null && { |
12606 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
12607 |
- test ! -s conftest.err |
12608 |
- }; then |
12609 |
- ac_header_preproc=yes |
12610 |
+#include <openssl/opensslv.h> |
12611 |
+ #include <stdlib.h> |
12612 |
+int |
12613 |
+main () |
12614 |
+{ |
12615 |
+if (OPENSSL_VERSION_NUMBER >= 0x00906000) |
12616 |
+ exit(0); else exit(1); |
12617 |
+ ; |
12618 |
+ return 0; |
12619 |
+} |
12620 |
+_ACEOF |
12621 |
+if ac_fn_c_try_run "$LINENO"; then : |
12622 |
+ cf_openssl_version_ok=yes |
12623 |
else |
12624 |
- echo "$as_me: failed program was:" >&5 |
12625 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12626 |
- |
12627 |
- ac_header_preproc=no |
12628 |
+ cf_openssl_version_ok=no |
12629 |
+fi |
12630 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
12631 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
12632 |
fi |
12633 |
|
12634 |
-rm -f conftest.err conftest.$ac_ext |
12635 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12636 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
12637 |
|
12638 |
-# So? What about this header? |
12639 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12640 |
- yes:no: ) |
12641 |
- { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
12642 |
-echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12643 |
- { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
12644 |
-echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
12645 |
- ac_header_preproc=yes |
12646 |
- ;; |
12647 |
- no:yes:* ) |
12648 |
- { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
12649 |
-echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
12650 |
- { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
12651 |
-echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
12652 |
- { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
12653 |
-echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
12654 |
- { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
12655 |
-echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
12656 |
- { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
12657 |
-echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
12658 |
- { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
12659 |
-echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
12660 |
+ if test "$cf_openssl_version_ok" = yes; then |
12661 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
12662 |
+$as_echo "found" >&6; } |
12663 |
|
12664 |
- ;; |
12665 |
-esac |
12666 |
-{ echo "$as_me:$LINENO: checking for zlib.h" >&5 |
12667 |
-echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
12668 |
-if test "${ac_cv_header_zlib_h+set}" = set; then |
12669 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12670 |
-else |
12671 |
- ac_cv_header_zlib_h=$ac_header_preproc |
12672 |
-fi |
12673 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
12674 |
-echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
12675 |
+ ENCSPEED=encspeed |
12676 |
|
12677 |
-fi |
12678 |
-if test $ac_cv_header_zlib_h = yes; then |
12679 |
|
12680 |
- { echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5 |
12681 |
-echo $ECHO_N "checking for zlibVersion in -lz... $ECHO_C" >&6; } |
12682 |
-if test "${ac_cv_lib_z_zlibVersion+set}" = set; then |
12683 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12684 |
+ CPPFLAGS="$CPPFLAGS $SSL_LIBS" |
12685 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
12686 |
+$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
12687 |
+if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
12688 |
+ $as_echo_n "(cached) " >&6 |
12689 |
else |
12690 |
ac_check_lib_save_LIBS=$LIBS |
12691 |
-LIBS="-lz $LIBS" |
12692 |
-cat >conftest.$ac_ext <<_ACEOF |
12693 |
-/* confdefs.h. */ |
12694 |
-_ACEOF |
12695 |
-cat confdefs.h >>conftest.$ac_ext |
12696 |
-cat >>conftest.$ac_ext <<_ACEOF |
12697 |
+LIBS="-lcrypto $LIBS" |
12698 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12699 |
/* end confdefs.h. */ |
12700 |
|
12701 |
/* Override any GCC internal prototype to avoid an error. |
12702 |
@@ -8515,280 +6417,189 @@ |
12703 |
#ifdef __cplusplus |
12704 |
extern "C" |
12705 |
#endif |
12706 |
-char zlibVersion (); |
12707 |
+char RSA_free (); |
12708 |
int |
12709 |
main () |
12710 |
{ |
12711 |
-return zlibVersion (); |
12712 |
+return RSA_free (); |
12713 |
; |
12714 |
return 0; |
12715 |
} |
12716 |
_ACEOF |
12717 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12718 |
-if { (ac_try="$ac_link" |
12719 |
-case "(($ac_try" in |
12720 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12721 |
- *) ac_try_echo=$ac_try;; |
12722 |
-esac |
12723 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12724 |
- (eval "$ac_link") 2>conftest.er1 |
12725 |
- ac_status=$? |
12726 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12727 |
- rm -f conftest.er1 |
12728 |
- cat conftest.err >&5 |
12729 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12730 |
- (exit $ac_status); } && { |
12731 |
- test -z "$ac_c_werror_flag" || |
12732 |
- test ! -s conftest.err |
12733 |
- } && test -s conftest$ac_exeext && |
12734 |
- $as_test_x conftest$ac_exeext; then |
12735 |
- ac_cv_lib_z_zlibVersion=yes |
12736 |
+if ac_fn_c_try_link "$LINENO"; then : |
12737 |
+ ac_cv_lib_crypto_RSA_free=yes |
12738 |
else |
12739 |
- echo "$as_me: failed program was:" >&5 |
12740 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12741 |
- |
12742 |
- ac_cv_lib_z_zlibVersion=no |
12743 |
+ ac_cv_lib_crypto_RSA_free=no |
12744 |
fi |
12745 |
- |
12746 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12747 |
- conftest$ac_exeext conftest.$ac_ext |
12748 |
+rm -f core conftest.err conftest.$ac_objext \ |
12749 |
+ conftest$ac_exeext conftest.$ac_ext |
12750 |
LIBS=$ac_check_lib_save_LIBS |
12751 |
fi |
12752 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5 |
12753 |
-echo "${ECHO_T}$ac_cv_lib_z_zlibVersion" >&6; } |
12754 |
-if test $ac_cv_lib_z_zlibVersion = yes; then |
12755 |
- |
12756 |
- ZLIB_LD=-lz |
12757 |
- |
12758 |
- |
12759 |
-cat >>confdefs.h <<\_ACEOF |
12760 |
-#define HAVE_LIBZ 1 |
12761 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
12762 |
+$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
12763 |
+if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
12764 |
+ cat >>confdefs.h <<_ACEOF |
12765 |
+#define HAVE_LIBCRYPTO 1 |
12766 |
_ACEOF |
12767 |
|
12768 |
+ LIBS="-lcrypto $LIBS" |
12769 |
|
12770 |
-else |
12771 |
- zlib=no |
12772 |
fi |
12773 |
|
12774 |
- |
12775 |
-else |
12776 |
- zlib=no |
12777 |
+ if test "$ac_cv_lib_crypto_RSA_free" = yes; then |
12778 |
+ LIBS="$LIBS -lcrypto" |
12779 |
+ cf_openssl_ciphers='' |
12780 |
+ for ac_func in EVP_bf_cfb |
12781 |
+do : |
12782 |
+ ac_fn_c_check_func "$LINENO" "EVP_bf_cfb" "ac_cv_func_EVP_bf_cfb" |
12783 |
+if test "x$ac_cv_func_EVP_bf_cfb" = xyes; then : |
12784 |
+ cat >>confdefs.h <<_ACEOF |
12785 |
+#define HAVE_EVP_BF_CFB 1 |
12786 |
+_ACEOF |
12787 |
+ cf_openssl_ciphers="${cf_openssl_ciphers}BF/168 BF/128 " |
12788 |
fi |
12789 |
+done |
12790 |
|
12791 |
- |
12792 |
- |
12793 |
+ for ac_func in EVP_cast5_cfb |
12794 |
+do : |
12795 |
+ ac_fn_c_check_func "$LINENO" "EVP_cast5_cfb" "ac_cv_func_EVP_cast5_cfb" |
12796 |
+if test "x$ac_cv_func_EVP_cast5_cfb" = xyes; then : |
12797 |
+ cat >>confdefs.h <<_ACEOF |
12798 |
+#define HAVE_EVP_CAST5_CFB 1 |
12799 |
+_ACEOF |
12800 |
+ cf_openssl_ciphers="${cf_openssl_ciphers}CAST/128 " |
12801 |
fi |
12802 |
+done |
12803 |
|
12804 |
- |
12805 |
-# Check whether --enable-poll was given. |
12806 |
-if test "${enable_poll+set}" = set; then |
12807 |
- enableval=$enable_poll; SELECT_TYPE_EXPLICIT="poll"; echo "Forcing poll() to be enabled" |
12808 |
+ for ac_func in EVP_idea_cfb |
12809 |
+do : |
12810 |
+ ac_fn_c_check_func "$LINENO" "EVP_idea_cfb" "ac_cv_func_EVP_idea_cfb" |
12811 |
+if test "x$ac_cv_func_EVP_idea_cfb" = xyes; then : |
12812 |
+ cat >>confdefs.h <<_ACEOF |
12813 |
+#define HAVE_EVP_IDEA_CFB 1 |
12814 |
+_ACEOF |
12815 |
+ cf_openssl_ciphers="${cf_openssl_ciphers}IDEA/128 " |
12816 |
fi |
12817 |
+done |
12818 |
|
12819 |
- |
12820 |
-# Check whether --enable-select was given. |
12821 |
-if test "${enable_select+set}" = set; then |
12822 |
- enableval=$enable_select; SELECT_TYPE_EXPLICIT="select"; echo "Forcing select() to be enabled" |
12823 |
+ for ac_func in EVP_rc5_32_12_16_cfb |
12824 |
+do : |
12825 |
+ ac_fn_c_check_func "$LINENO" "EVP_rc5_32_12_16_cfb" "ac_cv_func_EVP_rc5_32_12_16_cfb" |
12826 |
+if test "x$ac_cv_func_EVP_rc5_32_12_16_cfb" = xyes; then : |
12827 |
+ cat >>confdefs.h <<_ACEOF |
12828 |
+#define HAVE_EVP_RC5_32_12_16_CFB 1 |
12829 |
+_ACEOF |
12830 |
+ cf_openssl_ciphers="${cf_openssl_ciphers}RC5.16/128 RC5.12/128 RC5.8/128 " |
12831 |
fi |
12832 |
+done |
12833 |
|
12834 |
- |
12835 |
-# Check whether --enable-kqueue was given. |
12836 |
-if test "${enable_kqueue+set}" = set; then |
12837 |
- enableval=$enable_kqueue; SELECT_TYPE_EXPLICIT="kqueue"; echo "Forcing kqueue() to be enabled" |
12838 |
+ for ac_func in EVP_des_ede3_cfb |
12839 |
+do : |
12840 |
+ ac_fn_c_check_func "$LINENO" "EVP_des_ede3_cfb" "ac_cv_func_EVP_des_ede3_cfb" |
12841 |
+if test "x$ac_cv_func_EVP_des_ede3_cfb" = xyes; then : |
12842 |
+ cat >>confdefs.h <<_ACEOF |
12843 |
+#define HAVE_EVP_DES_EDE3_CFB 1 |
12844 |
+_ACEOF |
12845 |
+ cf_openssl_ciphers="${cf_openssl_ciphers}3DES/168 " |
12846 |
fi |
12847 |
+done |
12848 |
|
12849 |
- |
12850 |
-# Check whether --enable-devpoll was given. |
12851 |
-if test "${enable_devpoll+set}" = set; then |
12852 |
- enableval=$enable_devpoll; SELECT_TYPE_EXPLICIT="devpoll" |
12853 |
-echo "Forcing /dev/poll to be enabled" |
12854 |
- |
12855 |
- |
12856 |
-for ac_header in sys/devpoll.h devpoll.h |
12857 |
-do |
12858 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12859 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12860 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12861 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12862 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12863 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12864 |
-fi |
12865 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
12866 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12867 |
-echo "${ECHO_T}$ac_res" >&6; } |
12868 |
-else |
12869 |
- # Is the header compilable? |
12870 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12871 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
12872 |
-cat >conftest.$ac_ext <<_ACEOF |
12873 |
-/* confdefs.h. */ |
12874 |
-_ACEOF |
12875 |
-cat confdefs.h >>conftest.$ac_ext |
12876 |
-cat >>conftest.$ac_ext <<_ACEOF |
12877 |
-/* end confdefs.h. */ |
12878 |
-$ac_includes_default |
12879 |
-#include <$ac_header> |
12880 |
+ for ac_func in EVP_des_cfb |
12881 |
+do : |
12882 |
+ ac_fn_c_check_func "$LINENO" "EVP_des_cfb" "ac_cv_func_EVP_des_cfb" |
12883 |
+if test "x$ac_cv_func_EVP_des_cfb" = xyes; then : |
12884 |
+ cat >>confdefs.h <<_ACEOF |
12885 |
+#define HAVE_EVP_DES_CFB 1 |
12886 |
_ACEOF |
12887 |
-rm -f conftest.$ac_objext |
12888 |
-if { (ac_try="$ac_compile" |
12889 |
-case "(($ac_try" in |
12890 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12891 |
- *) ac_try_echo=$ac_try;; |
12892 |
-esac |
12893 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12894 |
- (eval "$ac_compile") 2>conftest.er1 |
12895 |
- ac_status=$? |
12896 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12897 |
- rm -f conftest.er1 |
12898 |
- cat conftest.err >&5 |
12899 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12900 |
- (exit $ac_status); } && { |
12901 |
- test -z "$ac_c_werror_flag" || |
12902 |
- test ! -s conftest.err |
12903 |
- } && test -s conftest.$ac_objext; then |
12904 |
- ac_header_compiler=yes |
12905 |
-else |
12906 |
- echo "$as_me: failed program was:" >&5 |
12907 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12908 |
- |
12909 |
- ac_header_compiler=no |
12910 |
+ cf_openssl_ciphers="${cf_openssl_ciphers}DES/56 " |
12911 |
fi |
12912 |
+done |
12913 |
|
12914 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12915 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12916 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
12917 |
- |
12918 |
-# Is the header present? |
12919 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12920 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
12921 |
-cat >conftest.$ac_ext <<_ACEOF |
12922 |
-/* confdefs.h. */ |
12923 |
-_ACEOF |
12924 |
-cat confdefs.h >>conftest.$ac_ext |
12925 |
-cat >>conftest.$ac_ext <<_ACEOF |
12926 |
+ fi |
12927 |
+ SSL_LIBS="$SSL_LIBS -lssl -lcrypto" |
12928 |
+ SSL_SRCS_ENABLE='$(SSL_SRCS)' |
12929 |
+ else |
12930 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
12931 |
+$as_echo "no - OpenSSL support disabled" >&6; } |
12932 |
+ fi |
12933 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_egd in -lcrypto" >&5 |
12934 |
+$as_echo_n "checking for RAND_egd in -lcrypto... " >&6; } |
12935 |
+if ${ac_cv_lib_crypto_RAND_egd+:} false; then : |
12936 |
+ $as_echo_n "(cached) " >&6 |
12937 |
+else |
12938 |
+ ac_check_lib_save_LIBS=$LIBS |
12939 |
+LIBS="-lcrypto $LIBS" |
12940 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12941 |
/* end confdefs.h. */ |
12942 |
-#include <$ac_header> |
12943 |
+ |
12944 |
+/* Override any GCC internal prototype to avoid an error. |
12945 |
+ Use char because int might match the return type of a GCC |
12946 |
+ builtin and then its argument prototype would still apply. */ |
12947 |
+#ifdef __cplusplus |
12948 |
+extern "C" |
12949 |
+#endif |
12950 |
+char RAND_egd (); |
12951 |
+int |
12952 |
+main () |
12953 |
+{ |
12954 |
+return RAND_egd (); |
12955 |
+ ; |
12956 |
+ return 0; |
12957 |
+} |
12958 |
_ACEOF |
12959 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
12960 |
-case "(($ac_try" in |
12961 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12962 |
- *) ac_try_echo=$ac_try;; |
12963 |
-esac |
12964 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12965 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12966 |
- ac_status=$? |
12967 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12968 |
- rm -f conftest.er1 |
12969 |
- cat conftest.err >&5 |
12970 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12971 |
- (exit $ac_status); } >/dev/null && { |
12972 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
12973 |
- test ! -s conftest.err |
12974 |
- }; then |
12975 |
- ac_header_preproc=yes |
12976 |
+if ac_fn_c_try_link "$LINENO"; then : |
12977 |
+ ac_cv_lib_crypto_RAND_egd=yes |
12978 |
else |
12979 |
- echo "$as_me: failed program was:" >&5 |
12980 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12981 |
- |
12982 |
- ac_header_preproc=no |
12983 |
+ ac_cv_lib_crypto_RAND_egd=no |
12984 |
fi |
12985 |
+rm -f core conftest.err conftest.$ac_objext \ |
12986 |
+ conftest$ac_exeext conftest.$ac_ext |
12987 |
+LIBS=$ac_check_lib_save_LIBS |
12988 |
+fi |
12989 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_egd" >&5 |
12990 |
+$as_echo "$ac_cv_lib_crypto_RAND_egd" >&6; } |
12991 |
+if test "x$ac_cv_lib_crypto_RAND_egd" = xyes; then : |
12992 |
|
12993 |
-rm -f conftest.err conftest.$ac_ext |
12994 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12995 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
12996 |
- |
12997 |
-# So? What about this header? |
12998 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12999 |
- yes:no: ) |
13000 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
13001 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
13002 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
13003 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
13004 |
- ac_header_preproc=yes |
13005 |
- ;; |
13006 |
- no:yes:* ) |
13007 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
13008 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
13009 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
13010 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
13011 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
13012 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
13013 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
13014 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
13015 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
13016 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
13017 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
13018 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
13019 |
+$as_echo "#define HAVE_RAND_EGD 1" >>confdefs.h |
13020 |
|
13021 |
- ;; |
13022 |
-esac |
13023 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13024 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
13025 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13026 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13027 |
-else |
13028 |
- eval "$as_ac_Header=\$ac_header_preproc" |
13029 |
fi |
13030 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
13031 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13032 |
-echo "${ECHO_T}$ac_res" >&6; } |
13033 |
|
13034 |
fi |
13035 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13036 |
- cat >>confdefs.h <<_ACEOF |
13037 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13038 |
-_ACEOF |
13039 |
|
13040 |
-fi |
13041 |
+CPPFLAGS="$save_CPPFLAGS" |
13042 |
+LIBS="$save_LIBS" |
13043 |
|
13044 |
-done |
13045 |
|
13046 |
-fi |
13047 |
|
13048 |
|
13049 |
-# Check whether --enable-rtsigio was given. |
13050 |
-if test "${enable_rtsigio+set}" = set; then |
13051 |
- enableval=$enable_rtsigio; SELECT_TYPE_EXPLICIT="sigio"; echo "Forcing Linux RT Sigio to be enabled" |
13052 |
+# Check whether --with-zlib-path was given. |
13053 |
+if test "${with_zlib_path+set}" = set; then : |
13054 |
+ withval=$with_zlib_path; LIBS="$LIBS -L$withval" |
13055 |
fi |
13056 |
|
13057 |
|
13058 |
-# Check whether --enable-epoll was given. |
13059 |
-if test "${enable_epoll+set}" = set; then |
13060 |
- enableval=$enable_epoll; SELECT_TYPE_EXPLICIT="epoll"; echo "Forcing Linux epoll to be enabled" |
13061 |
+# Check whether --enable-zlib was given. |
13062 |
+if test "${enable_zlib+set}" = set; then : |
13063 |
+ enableval=$enable_zlib; zlib=$enableval |
13064 |
+else |
13065 |
+ zlib=yes |
13066 |
fi |
13067 |
|
13068 |
|
13069 |
-if test ! -z "$SELECT_TYPE_EXPLICIT"; then |
13070 |
- SELECT_TYPE="$SELECT_TYPE_EXPLICIT" |
13071 |
-else |
13072 |
+if test "$zlib" = yes; then |
13073 |
|
13074 |
-{ echo "$as_me:$LINENO: checking for kevent" >&5 |
13075 |
-echo $ECHO_N "checking for kevent... $ECHO_C" >&6; } |
13076 |
-if test "${ac_cv_func_kevent+set}" = set; then |
13077 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13078 |
+ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
13079 |
+if test "x$ac_cv_header_zlib_h" = xyes; then : |
13080 |
+ |
13081 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
13082 |
+$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
13083 |
+if ${ac_cv_lib_z_zlibVersion+:} false; then : |
13084 |
+ $as_echo_n "(cached) " >&6 |
13085 |
else |
13086 |
- cat >conftest.$ac_ext <<_ACEOF |
13087 |
-/* confdefs.h. */ |
13088 |
-_ACEOF |
13089 |
-cat confdefs.h >>conftest.$ac_ext |
13090 |
-cat >>conftest.$ac_ext <<_ACEOF |
13091 |
+ ac_check_lib_save_LIBS=$LIBS |
13092 |
+LIBS="-lz $LIBS" |
13093 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13094 |
/* end confdefs.h. */ |
13095 |
-/* Define kevent to an innocuous variant, in case <limits.h> declares kevent. |
13096 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13097 |
-#define kevent innocuous_kevent |
13098 |
- |
13099 |
-/* System header to define __stub macros and hopefully few prototypes, |
13100 |
- which can conflict with char kevent (); below. |
13101 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13102 |
- <limits.h> exists even on freestanding compilers. */ |
13103 |
- |
13104 |
-#ifdef __STDC__ |
13105 |
-# include <limits.h> |
13106 |
-#else |
13107 |
-# include <assert.h> |
13108 |
-#endif |
13109 |
- |
13110 |
-#undef kevent |
13111 |
|
13112 |
/* Override any GCC internal prototype to avoid an error. |
13113 |
Use char because int might match the return type of a GCC |
13114 |
@@ -8796,185 +6607,111 @@ |
13115 |
#ifdef __cplusplus |
13116 |
extern "C" |
13117 |
#endif |
13118 |
-char kevent (); |
13119 |
-/* The GNU C library defines this for functions which it implements |
13120 |
- to always fail with ENOSYS. Some functions are actually named |
13121 |
- something starting with __ and the normal name is an alias. */ |
13122 |
-#if defined __stub_kevent || defined __stub___kevent |
13123 |
-choke me |
13124 |
-#endif |
13125 |
- |
13126 |
+char zlibVersion (); |
13127 |
int |
13128 |
main () |
13129 |
{ |
13130 |
-return kevent (); |
13131 |
+return zlibVersion (); |
13132 |
; |
13133 |
return 0; |
13134 |
} |
13135 |
_ACEOF |
13136 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13137 |
-if { (ac_try="$ac_link" |
13138 |
-case "(($ac_try" in |
13139 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13140 |
- *) ac_try_echo=$ac_try;; |
13141 |
-esac |
13142 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13143 |
- (eval "$ac_link") 2>conftest.er1 |
13144 |
- ac_status=$? |
13145 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13146 |
- rm -f conftest.er1 |
13147 |
- cat conftest.err >&5 |
13148 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13149 |
- (exit $ac_status); } && { |
13150 |
- test -z "$ac_c_werror_flag" || |
13151 |
- test ! -s conftest.err |
13152 |
- } && test -s conftest$ac_exeext && |
13153 |
- $as_test_x conftest$ac_exeext; then |
13154 |
- ac_cv_func_kevent=yes |
13155 |
+if ac_fn_c_try_link "$LINENO"; then : |
13156 |
+ ac_cv_lib_z_zlibVersion=yes |
13157 |
else |
13158 |
- echo "$as_me: failed program was:" >&5 |
13159 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13160 |
- |
13161 |
- ac_cv_func_kevent=no |
13162 |
+ ac_cv_lib_z_zlibVersion=no |
13163 |
+fi |
13164 |
+rm -f core conftest.err conftest.$ac_objext \ |
13165 |
+ conftest$ac_exeext conftest.$ac_ext |
13166 |
+LIBS=$ac_check_lib_save_LIBS |
13167 |
fi |
13168 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
13169 |
+$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
13170 |
+if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : |
13171 |
+ |
13172 |
+ ZLIB_LD=-lz |
13173 |
+ |
13174 |
+ |
13175 |
+$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
13176 |
|
13177 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13178 |
- conftest$ac_exeext conftest.$ac_ext |
13179 |
+ |
13180 |
+else |
13181 |
+ zlib=no |
13182 |
fi |
13183 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_kevent" >&5 |
13184 |
-echo "${ECHO_T}$ac_cv_func_kevent" >&6; } |
13185 |
-if test $ac_cv_func_kevent = yes; then |
13186 |
|
13187 |
- SELECT_TYPE="kqueue" |
13188 |
|
13189 |
else |
13190 |
+ zlib=no |
13191 |
+fi |
13192 |
+ |
13193 |
+ |
13194 |
|
13195 |
- if test "${ac_cv_header_sys_epoll_h+set}" = set; then |
13196 |
- { echo "$as_me:$LINENO: checking for sys/epoll.h" >&5 |
13197 |
-echo $ECHO_N "checking for sys/epoll.h... $ECHO_C" >&6; } |
13198 |
-if test "${ac_cv_header_sys_epoll_h+set}" = set; then |
13199 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13200 |
fi |
13201 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 |
13202 |
-echo "${ECHO_T}$ac_cv_header_sys_epoll_h" >&6; } |
13203 |
-else |
13204 |
- # Is the header compilable? |
13205 |
-{ echo "$as_me:$LINENO: checking sys/epoll.h usability" >&5 |
13206 |
-echo $ECHO_N "checking sys/epoll.h usability... $ECHO_C" >&6; } |
13207 |
-cat >conftest.$ac_ext <<_ACEOF |
13208 |
-/* confdefs.h. */ |
13209 |
-_ACEOF |
13210 |
-cat confdefs.h >>conftest.$ac_ext |
13211 |
-cat >>conftest.$ac_ext <<_ACEOF |
13212 |
-/* end confdefs.h. */ |
13213 |
-$ac_includes_default |
13214 |
-#include <sys/epoll.h> |
13215 |
-_ACEOF |
13216 |
-rm -f conftest.$ac_objext |
13217 |
-if { (ac_try="$ac_compile" |
13218 |
-case "(($ac_try" in |
13219 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13220 |
- *) ac_try_echo=$ac_try;; |
13221 |
-esac |
13222 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13223 |
- (eval "$ac_compile") 2>conftest.er1 |
13224 |
- ac_status=$? |
13225 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13226 |
- rm -f conftest.er1 |
13227 |
- cat conftest.err >&5 |
13228 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13229 |
- (exit $ac_status); } && { |
13230 |
- test -z "$ac_c_werror_flag" || |
13231 |
- test ! -s conftest.err |
13232 |
- } && test -s conftest.$ac_objext; then |
13233 |
- ac_header_compiler=yes |
13234 |
-else |
13235 |
- echo "$as_me: failed program was:" >&5 |
13236 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13237 |
|
13238 |
- ac_header_compiler=no |
13239 |
+ |
13240 |
+# Check whether --enable-poll was given. |
13241 |
+if test "${enable_poll+set}" = set; then : |
13242 |
+ enableval=$enable_poll; SELECT_TYPE_EXPLICIT="poll"; echo "Forcing poll() to be enabled" |
13243 |
+fi |
13244 |
+ |
13245 |
+ |
13246 |
+# Check whether --enable-select was given. |
13247 |
+if test "${enable_select+set}" = set; then : |
13248 |
+ enableval=$enable_select; SELECT_TYPE_EXPLICIT="select"; echo "Forcing select() to be enabled" |
13249 |
+fi |
13250 |
+ |
13251 |
+ |
13252 |
+# Check whether --enable-kqueue was given. |
13253 |
+if test "${enable_kqueue+set}" = set; then : |
13254 |
+ enableval=$enable_kqueue; SELECT_TYPE_EXPLICIT="kqueue"; echo "Forcing kqueue() to be enabled" |
13255 |
fi |
13256 |
|
13257 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13258 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
13259 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
13260 |
|
13261 |
-# Is the header present? |
13262 |
-{ echo "$as_me:$LINENO: checking sys/epoll.h presence" >&5 |
13263 |
-echo $ECHO_N "checking sys/epoll.h presence... $ECHO_C" >&6; } |
13264 |
-cat >conftest.$ac_ext <<_ACEOF |
13265 |
-/* confdefs.h. */ |
13266 |
-_ACEOF |
13267 |
-cat confdefs.h >>conftest.$ac_ext |
13268 |
-cat >>conftest.$ac_ext <<_ACEOF |
13269 |
-/* end confdefs.h. */ |
13270 |
-#include <sys/epoll.h> |
13271 |
+# Check whether --enable-devpoll was given. |
13272 |
+if test "${enable_devpoll+set}" = set; then : |
13273 |
+ enableval=$enable_devpoll; SELECT_TYPE_EXPLICIT="devpoll" |
13274 |
+echo "Forcing /dev/poll to be enabled" |
13275 |
+for ac_header in sys/devpoll.h devpoll.h |
13276 |
+do : |
13277 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13278 |
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
13279 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
13280 |
+ cat >>confdefs.h <<_ACEOF |
13281 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13282 |
_ACEOF |
13283 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
13284 |
-case "(($ac_try" in |
13285 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13286 |
- *) ac_try_echo=$ac_try;; |
13287 |
-esac |
13288 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13289 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
13290 |
- ac_status=$? |
13291 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13292 |
- rm -f conftest.er1 |
13293 |
- cat conftest.err >&5 |
13294 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13295 |
- (exit $ac_status); } >/dev/null && { |
13296 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
13297 |
- test ! -s conftest.err |
13298 |
- }; then |
13299 |
- ac_header_preproc=yes |
13300 |
-else |
13301 |
- echo "$as_me: failed program was:" >&5 |
13302 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13303 |
|
13304 |
- ac_header_preproc=no |
13305 |
fi |
13306 |
|
13307 |
-rm -f conftest.err conftest.$ac_ext |
13308 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13309 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
13310 |
+done |
13311 |
|
13312 |
-# So? What about this header? |
13313 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
13314 |
- yes:no: ) |
13315 |
- { echo "$as_me:$LINENO: WARNING: sys/epoll.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
13316 |
-echo "$as_me: WARNING: sys/epoll.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
13317 |
- { echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding with the compiler's result" >&5 |
13318 |
-echo "$as_me: WARNING: sys/epoll.h: proceeding with the compiler's result" >&2;} |
13319 |
- ac_header_preproc=yes |
13320 |
- ;; |
13321 |
- no:yes:* ) |
13322 |
- { echo "$as_me:$LINENO: WARNING: sys/epoll.h: present but cannot be compiled" >&5 |
13323 |
-echo "$as_me: WARNING: sys/epoll.h: present but cannot be compiled" >&2;} |
13324 |
- { echo "$as_me:$LINENO: WARNING: sys/epoll.h: check for missing prerequisite headers?" >&5 |
13325 |
-echo "$as_me: WARNING: sys/epoll.h: check for missing prerequisite headers?" >&2;} |
13326 |
- { echo "$as_me:$LINENO: WARNING: sys/epoll.h: see the Autoconf documentation" >&5 |
13327 |
-echo "$as_me: WARNING: sys/epoll.h: see the Autoconf documentation" >&2;} |
13328 |
- { echo "$as_me:$LINENO: WARNING: sys/epoll.h: section \"Present But Cannot Be Compiled\"" >&5 |
13329 |
-echo "$as_me: WARNING: sys/epoll.h: section \"Present But Cannot Be Compiled\"" >&2;} |
13330 |
- { echo "$as_me:$LINENO: WARNING: sys/epoll.h: proceeding with the preprocessor's result" >&5 |
13331 |
-echo "$as_me: WARNING: sys/epoll.h: proceeding with the preprocessor's result" >&2;} |
13332 |
- { echo "$as_me:$LINENO: WARNING: sys/epoll.h: in the future, the compiler will take precedence" >&5 |
13333 |
-echo "$as_me: WARNING: sys/epoll.h: in the future, the compiler will take precedence" >&2;} |
13334 |
+fi |
13335 |
|
13336 |
- ;; |
13337 |
-esac |
13338 |
-{ echo "$as_me:$LINENO: checking for sys/epoll.h" >&5 |
13339 |
-echo $ECHO_N "checking for sys/epoll.h... $ECHO_C" >&6; } |
13340 |
-if test "${ac_cv_header_sys_epoll_h+set}" = set; then |
13341 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13342 |
-else |
13343 |
- ac_cv_header_sys_epoll_h=$ac_header_preproc |
13344 |
+ |
13345 |
+# Check whether --enable-rtsigio was given. |
13346 |
+if test "${enable_rtsigio+set}" = set; then : |
13347 |
+ enableval=$enable_rtsigio; SELECT_TYPE_EXPLICIT="sigio"; echo "Forcing Linux RT Sigio to be enabled" |
13348 |
fi |
13349 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 |
13350 |
-echo "${ECHO_T}$ac_cv_header_sys_epoll_h" >&6; } |
13351 |
|
13352 |
+ |
13353 |
+# Check whether --enable-epoll was given. |
13354 |
+if test "${enable_epoll+set}" = set; then : |
13355 |
+ enableval=$enable_epoll; SELECT_TYPE_EXPLICIT="epoll"; echo "Forcing Linux epoll to be enabled" |
13356 |
fi |
13357 |
-if test $ac_cv_header_sys_epoll_h = yes; then |
13358 |
+ |
13359 |
+ |
13360 |
+if test ! -z "$SELECT_TYPE_EXPLICIT"; then |
13361 |
+ SELECT_TYPE="$SELECT_TYPE_EXPLICIT" |
13362 |
+else |
13363 |
+ |
13364 |
+ac_fn_c_check_func "$LINENO" "kevent" "ac_cv_func_kevent" |
13365 |
+if test "x$ac_cv_func_kevent" = xyes; then : |
13366 |
+ |
13367 |
+ SELECT_TYPE="kqueue" |
13368 |
+ |
13369 |
+else |
13370 |
+ |
13371 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default" |
13372 |
+if test "x$ac_cv_header_sys_epoll_h" = xyes; then : |
13373 |
HAS_EPOLL=1 |
13374 |
else |
13375 |
HAS_EPOLL=0 |
13376 |
@@ -8982,18 +6719,14 @@ |
13377 |
|
13378 |
|
13379 |
if test $HAS_EPOLL -eq 1; then |
13380 |
- { echo "$as_me:$LINENO: checking for epoll support in kernel" >&5 |
13381 |
-echo $ECHO_N "checking for epoll support in kernel... $ECHO_C" >&6; } |
13382 |
- if test "$cross_compiling" = yes; then |
13383 |
- { echo "$as_me:$LINENO: result: no" >&5 |
13384 |
-echo "${ECHO_T}no" >&6; } |
13385 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll support in kernel" >&5 |
13386 |
+$as_echo_n "checking for epoll support in kernel... " >&6; } |
13387 |
+ if test "$cross_compiling" = yes; then : |
13388 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13389 |
+$as_echo "no" >&6; } |
13390 |
HAS_EPOLL=0 |
13391 |
else |
13392 |
- cat >conftest.$ac_ext <<_ACEOF |
13393 |
-/* confdefs.h. */ |
13394 |
-_ACEOF |
13395 |
-cat confdefs.h >>conftest.$ac_ext |
13396 |
-cat >>conftest.$ac_ext <<_ACEOF |
13397 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13398 |
/* end confdefs.h. */ |
13399 |
#include <sys/epoll.h> |
13400 |
#include <sys/syscall.h> |
13401 |
@@ -9025,185 +6758,33 @@ |
13402 |
#endif |
13403 |
main() { return epoll_create(256) == -1 ? 1 : 0; } |
13404 |
_ACEOF |
13405 |
-rm -f conftest$ac_exeext |
13406 |
-if { (ac_try="$ac_link" |
13407 |
-case "(($ac_try" in |
13408 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13409 |
- *) ac_try_echo=$ac_try;; |
13410 |
-esac |
13411 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13412 |
- (eval "$ac_link") 2>&5 |
13413 |
- ac_status=$? |
13414 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13415 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13416 |
- { (case "(($ac_try" in |
13417 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13418 |
- *) ac_try_echo=$ac_try;; |
13419 |
-esac |
13420 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13421 |
- (eval "$ac_try") 2>&5 |
13422 |
- ac_status=$? |
13423 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13424 |
- (exit $ac_status); }; }; then |
13425 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
13426 |
-echo "${ECHO_T}yes" >&6; } |
13427 |
+if ac_fn_c_try_run "$LINENO"; then : |
13428 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13429 |
+$as_echo "yes" >&6; } |
13430 |
SELECT_TYPE="epoll" |
13431 |
else |
13432 |
- echo "$as_me: program exited with status $ac_status" >&5 |
13433 |
-echo "$as_me: failed program was:" >&5 |
13434 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13435 |
- |
13436 |
-( exit $ac_status ) |
13437 |
-{ echo "$as_me:$LINENO: result: no" >&5 |
13438 |
-echo "${ECHO_T}no" >&6; } |
13439 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13440 |
+$as_echo "no" >&6; } |
13441 |
HAS_EPOLL=0 |
13442 |
fi |
13443 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13444 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13445 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
13446 |
fi |
13447 |
|
13448 |
- |
13449 |
fi |
13450 |
if test $HAS_EPOLL -eq 0; then |
13451 |
- { echo "$as_me:$LINENO: checking for /dev/poll" >&5 |
13452 |
-echo $ECHO_N "checking for /dev/poll... $ECHO_C" >&6; } |
13453 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/poll" >&5 |
13454 |
+$as_echo_n "checking for /dev/poll... " >&6; } |
13455 |
if test -c "/dev/poll"; then |
13456 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
13457 |
-echo "${ECHO_T}yes" >&6; } |
13458 |
- |
13459 |
- |
13460 |
-for ac_header in devpoll.h sys/devpoll.h |
13461 |
-do |
13462 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13463 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13464 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13465 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
13466 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13467 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13468 |
-fi |
13469 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
13470 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13471 |
-echo "${ECHO_T}$ac_res" >&6; } |
13472 |
-else |
13473 |
- # Is the header compilable? |
13474 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
13475 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
13476 |
-cat >conftest.$ac_ext <<_ACEOF |
13477 |
-/* confdefs.h. */ |
13478 |
-_ACEOF |
13479 |
-cat confdefs.h >>conftest.$ac_ext |
13480 |
-cat >>conftest.$ac_ext <<_ACEOF |
13481 |
-/* end confdefs.h. */ |
13482 |
-$ac_includes_default |
13483 |
-#include <$ac_header> |
13484 |
-_ACEOF |
13485 |
-rm -f conftest.$ac_objext |
13486 |
-if { (ac_try="$ac_compile" |
13487 |
-case "(($ac_try" in |
13488 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13489 |
- *) ac_try_echo=$ac_try;; |
13490 |
-esac |
13491 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13492 |
- (eval "$ac_compile") 2>conftest.er1 |
13493 |
- ac_status=$? |
13494 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13495 |
- rm -f conftest.er1 |
13496 |
- cat conftest.err >&5 |
13497 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13498 |
- (exit $ac_status); } && { |
13499 |
- test -z "$ac_c_werror_flag" || |
13500 |
- test ! -s conftest.err |
13501 |
- } && test -s conftest.$ac_objext; then |
13502 |
- ac_header_compiler=yes |
13503 |
-else |
13504 |
- echo "$as_me: failed program was:" >&5 |
13505 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13506 |
- |
13507 |
- ac_header_compiler=no |
13508 |
-fi |
13509 |
- |
13510 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13511 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
13512 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
13513 |
- |
13514 |
-# Is the header present? |
13515 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
13516 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
13517 |
-cat >conftest.$ac_ext <<_ACEOF |
13518 |
-/* confdefs.h. */ |
13519 |
-_ACEOF |
13520 |
-cat confdefs.h >>conftest.$ac_ext |
13521 |
-cat >>conftest.$ac_ext <<_ACEOF |
13522 |
-/* end confdefs.h. */ |
13523 |
-#include <$ac_header> |
13524 |
-_ACEOF |
13525 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
13526 |
-case "(($ac_try" in |
13527 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13528 |
- *) ac_try_echo=$ac_try;; |
13529 |
-esac |
13530 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13531 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
13532 |
- ac_status=$? |
13533 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13534 |
- rm -f conftest.er1 |
13535 |
- cat conftest.err >&5 |
13536 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13537 |
- (exit $ac_status); } >/dev/null && { |
13538 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
13539 |
- test ! -s conftest.err |
13540 |
- }; then |
13541 |
- ac_header_preproc=yes |
13542 |
-else |
13543 |
- echo "$as_me: failed program was:" >&5 |
13544 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13545 |
- |
13546 |
- ac_header_preproc=no |
13547 |
-fi |
13548 |
- |
13549 |
-rm -f conftest.err conftest.$ac_ext |
13550 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13551 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
13552 |
- |
13553 |
-# So? What about this header? |
13554 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
13555 |
- yes:no: ) |
13556 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
13557 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
13558 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
13559 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
13560 |
- ac_header_preproc=yes |
13561 |
- ;; |
13562 |
- no:yes:* ) |
13563 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
13564 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
13565 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
13566 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
13567 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
13568 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
13569 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
13570 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
13571 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
13572 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
13573 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
13574 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
13575 |
- |
13576 |
- ;; |
13577 |
-esac |
13578 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13579 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
13580 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13581 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13582 |
-else |
13583 |
- eval "$as_ac_Header=\$ac_header_preproc" |
13584 |
-fi |
13585 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
13586 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13587 |
-echo "${ECHO_T}$ac_res" >&6; } |
13588 |
- |
13589 |
-fi |
13590 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13591 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13592 |
+$as_echo "yes" >&6; } |
13593 |
+ for ac_header in devpoll.h sys/devpoll.h |
13594 |
+do : |
13595 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13596 |
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
13597 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
13598 |
cat >>confdefs.h <<_ACEOF |
13599 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13600 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13601 |
_ACEOF |
13602 |
|
13603 |
fi |
13604 |
@@ -9212,16 +6793,12 @@ |
13605 |
|
13606 |
SELECT_TYPE="devpoll" |
13607 |
else |
13608 |
- { echo "$as_me:$LINENO: result: no" >&5 |
13609 |
-echo "${ECHO_T}no" >&6; } |
13610 |
- { echo "$as_me:$LINENO: checking for RT Signal IO" >&5 |
13611 |
-echo $ECHO_N "checking for RT Signal IO... $ECHO_C" >&6; } |
13612 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13613 |
+$as_echo "no" >&6; } |
13614 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RT Signal IO" >&5 |
13615 |
+$as_echo_n "checking for RT Signal IO... " >&6; } |
13616 |
|
13617 |
- cat >conftest.$ac_ext <<_ACEOF |
13618 |
-/* confdefs.h. */ |
13619 |
-_ACEOF |
13620 |
-cat confdefs.h >>conftest.$ac_ext |
13621 |
-cat >>conftest.$ac_ext <<_ACEOF |
13622 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13623 |
/* end confdefs.h. */ |
13624 |
#define _GNU_SOURCE |
13625 |
#include <fcntl.h> |
13626 |
@@ -9231,188 +6808,26 @@ |
13627 |
|
13628 |
_ACEOF |
13629 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13630 |
- $EGREP "YUP_HAVE_F_SETSIG" >/dev/null 2>&1; then |
13631 |
+ $EGREP "YUP_HAVE_F_SETSIG" >/dev/null 2>&1; then : |
13632 |
|
13633 |
SELECT_TYPE="sigio" |
13634 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
13635 |
-echo "${ECHO_T}yes" >&6; } |
13636 |
- |
13637 |
-else |
13638 |
- |
13639 |
- { echo "$as_me:$LINENO: result: no" >&5 |
13640 |
-echo "${ECHO_T}no" >&6; } |
13641 |
- { echo "$as_me:$LINENO: checking for poll" >&5 |
13642 |
-echo $ECHO_N "checking for poll... $ECHO_C" >&6; } |
13643 |
-if test "${ac_cv_func_poll+set}" = set; then |
13644 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13645 |
-else |
13646 |
- cat >conftest.$ac_ext <<_ACEOF |
13647 |
-/* confdefs.h. */ |
13648 |
-_ACEOF |
13649 |
-cat confdefs.h >>conftest.$ac_ext |
13650 |
-cat >>conftest.$ac_ext <<_ACEOF |
13651 |
-/* end confdefs.h. */ |
13652 |
-/* Define poll to an innocuous variant, in case <limits.h> declares poll. |
13653 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13654 |
-#define poll innocuous_poll |
13655 |
- |
13656 |
-/* System header to define __stub macros and hopefully few prototypes, |
13657 |
- which can conflict with char poll (); below. |
13658 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13659 |
- <limits.h> exists even on freestanding compilers. */ |
13660 |
- |
13661 |
-#ifdef __STDC__ |
13662 |
-# include <limits.h> |
13663 |
-#else |
13664 |
-# include <assert.h> |
13665 |
-#endif |
13666 |
- |
13667 |
-#undef poll |
13668 |
- |
13669 |
-/* Override any GCC internal prototype to avoid an error. |
13670 |
- Use char because int might match the return type of a GCC |
13671 |
- builtin and then its argument prototype would still apply. */ |
13672 |
-#ifdef __cplusplus |
13673 |
-extern "C" |
13674 |
-#endif |
13675 |
-char poll (); |
13676 |
-/* The GNU C library defines this for functions which it implements |
13677 |
- to always fail with ENOSYS. Some functions are actually named |
13678 |
- something starting with __ and the normal name is an alias. */ |
13679 |
-#if defined __stub_poll || defined __stub___poll |
13680 |
-choke me |
13681 |
-#endif |
13682 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13683 |
+$as_echo "yes" >&6; } |
13684 |
|
13685 |
-int |
13686 |
-main () |
13687 |
-{ |
13688 |
-return poll (); |
13689 |
- ; |
13690 |
- return 0; |
13691 |
-} |
13692 |
-_ACEOF |
13693 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13694 |
-if { (ac_try="$ac_link" |
13695 |
-case "(($ac_try" in |
13696 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13697 |
- *) ac_try_echo=$ac_try;; |
13698 |
-esac |
13699 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13700 |
- (eval "$ac_link") 2>conftest.er1 |
13701 |
- ac_status=$? |
13702 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13703 |
- rm -f conftest.er1 |
13704 |
- cat conftest.err >&5 |
13705 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13706 |
- (exit $ac_status); } && { |
13707 |
- test -z "$ac_c_werror_flag" || |
13708 |
- test ! -s conftest.err |
13709 |
- } && test -s conftest$ac_exeext && |
13710 |
- $as_test_x conftest$ac_exeext; then |
13711 |
- ac_cv_func_poll=yes |
13712 |
else |
13713 |
- echo "$as_me: failed program was:" >&5 |
13714 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13715 |
|
13716 |
- ac_cv_func_poll=no |
13717 |
-fi |
13718 |
- |
13719 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13720 |
- conftest$ac_exeext conftest.$ac_ext |
13721 |
-fi |
13722 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5 |
13723 |
-echo "${ECHO_T}$ac_cv_func_poll" >&6; } |
13724 |
-if test $ac_cv_func_poll = yes; then |
13725 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13726 |
+$as_echo "no" >&6; } |
13727 |
+ ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" |
13728 |
+if test "x$ac_cv_func_poll" = xyes; then : |
13729 |
SELECT_TYPE="poll" |
13730 |
else |
13731 |
|
13732 |
- { echo "$as_me:$LINENO: checking for select" >&5 |
13733 |
-echo $ECHO_N "checking for select... $ECHO_C" >&6; } |
13734 |
-if test "${ac_cv_func_select+set}" = set; then |
13735 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13736 |
-else |
13737 |
- cat >conftest.$ac_ext <<_ACEOF |
13738 |
-/* confdefs.h. */ |
13739 |
-_ACEOF |
13740 |
-cat confdefs.h >>conftest.$ac_ext |
13741 |
-cat >>conftest.$ac_ext <<_ACEOF |
13742 |
-/* end confdefs.h. */ |
13743 |
-/* Define select to an innocuous variant, in case <limits.h> declares select. |
13744 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13745 |
-#define select innocuous_select |
13746 |
- |
13747 |
-/* System header to define __stub macros and hopefully few prototypes, |
13748 |
- which can conflict with char select (); below. |
13749 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13750 |
- <limits.h> exists even on freestanding compilers. */ |
13751 |
- |
13752 |
-#ifdef __STDC__ |
13753 |
-# include <limits.h> |
13754 |
-#else |
13755 |
-# include <assert.h> |
13756 |
-#endif |
13757 |
- |
13758 |
-#undef select |
13759 |
- |
13760 |
-/* Override any GCC internal prototype to avoid an error. |
13761 |
- Use char because int might match the return type of a GCC |
13762 |
- builtin and then its argument prototype would still apply. */ |
13763 |
-#ifdef __cplusplus |
13764 |
-extern "C" |
13765 |
-#endif |
13766 |
-char select (); |
13767 |
-/* The GNU C library defines this for functions which it implements |
13768 |
- to always fail with ENOSYS. Some functions are actually named |
13769 |
- something starting with __ and the normal name is an alias. */ |
13770 |
-#if defined __stub_select || defined __stub___select |
13771 |
-choke me |
13772 |
-#endif |
13773 |
- |
13774 |
-int |
13775 |
-main () |
13776 |
-{ |
13777 |
-return select (); |
13778 |
- ; |
13779 |
- return 0; |
13780 |
-} |
13781 |
-_ACEOF |
13782 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13783 |
-if { (ac_try="$ac_link" |
13784 |
-case "(($ac_try" in |
13785 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13786 |
- *) ac_try_echo=$ac_try;; |
13787 |
-esac |
13788 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13789 |
- (eval "$ac_link") 2>conftest.er1 |
13790 |
- ac_status=$? |
13791 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13792 |
- rm -f conftest.er1 |
13793 |
- cat conftest.err >&5 |
13794 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13795 |
- (exit $ac_status); } && { |
13796 |
- test -z "$ac_c_werror_flag" || |
13797 |
- test ! -s conftest.err |
13798 |
- } && test -s conftest$ac_exeext && |
13799 |
- $as_test_x conftest$ac_exeext; then |
13800 |
- ac_cv_func_select=yes |
13801 |
-else |
13802 |
- echo "$as_me: failed program was:" >&5 |
13803 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13804 |
- |
13805 |
- ac_cv_func_select=no |
13806 |
-fi |
13807 |
- |
13808 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13809 |
- conftest$ac_exeext conftest.$ac_ext |
13810 |
-fi |
13811 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_select" >&5 |
13812 |
-echo "${ECHO_T}$ac_cv_func_select" >&6; } |
13813 |
-if test $ac_cv_func_select = yes; then |
13814 |
+ ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select" |
13815 |
+if test "x$ac_cv_func_select" = xyes; then : |
13816 |
SELECT_TYPE="select" |
13817 |
else |
13818 |
- { { echo "$as_me:$LINENO: error: Couldn't find anything to use for IO loop. Is your C environment POSIXly sane?" >&5 |
13819 |
-echo "$as_me: error: Couldn't find anything to use for IO loop. Is your C environment POSIXly sane?" >&2;} |
13820 |
- { (exit 1); exit 1; }; } |
13821 |
+ as_fn_error $? "Couldn't find anything to use for IO loop. Is your C environment POSIXly sane?" "$LINENO" 5 |
13822 |
|
13823 |
fi |
13824 |
|
13825 |
@@ -9443,7 +6858,7 @@ |
13826 |
|
13827 |
|
13828 |
# Check whether --enable-clobber was given. |
13829 |
-if test "${enable_clobber+set}" = set; then |
13830 |
+if test "${enable_clobber+set}" = set; then : |
13831 |
enableval=$enable_clobber; clobber=$enableval |
13832 |
else |
13833 |
clobber=no |
13834 |
@@ -9456,7 +6871,7 @@ |
13835 |
fi |
13836 |
|
13837 |
# Check whether --enable-assert was given. |
13838 |
-if test "${enable_assert+set}" = set; then |
13839 |
+if test "${enable_assert+set}" = set; then : |
13840 |
enableval=$enable_assert; assert=$enableval |
13841 |
else |
13842 |
assert=no |
13843 |
@@ -9465,16 +6880,14 @@ |
13844 |
|
13845 |
if test "$assert" = no; then |
13846 |
|
13847 |
-cat >>confdefs.h <<\_ACEOF |
13848 |
-#define NDEBUG 1 |
13849 |
-_ACEOF |
13850 |
+$as_echo "#define NDEBUG 1" >>confdefs.h |
13851 |
|
13852 |
fi |
13853 |
|
13854 |
-{ echo "$as_me:$LINENO: checking if you want to do a profile build" >&5 |
13855 |
-echo $ECHO_N "checking if you want to do a profile build... $ECHO_C" >&6; } |
13856 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5 |
13857 |
+$as_echo_n "checking if you want to do a profile build... " >&6; } |
13858 |
# Check whether --enable-profile was given. |
13859 |
-if test "${enable_profile+set}" = set; then |
13860 |
+if test "${enable_profile+set}" = set; then : |
13861 |
enableval=$enable_profile; profile=$enableval |
13862 |
else |
13863 |
profile=no |
13864 |
@@ -9484,39 +6897,35 @@ |
13865 |
if test "$profile" = yes; then |
13866 |
if test "$ac_cv_c_compiler_gnu" = yes; then |
13867 |
IRC_CFLAGS="$IRC_CFLAGS -pg -static" |
13868 |
- { echo "$as_me:$LINENO: result: yes, adding -pg -static" >&5 |
13869 |
-echo "${ECHO_T}yes, adding -pg -static" >&6; } |
13870 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg -static" >&5 |
13871 |
+$as_echo "yes, adding -pg -static" >&6; } |
13872 |
else |
13873 |
- { echo "$as_me:$LINENO: result: no, profile builds only work with gcc" >&5 |
13874 |
-echo "${ECHO_T}no, profile builds only work with gcc" >&6; } |
13875 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5 |
13876 |
+$as_echo "no, profile builds only work with gcc" >&6; } |
13877 |
fi |
13878 |
else |
13879 |
- { echo "$as_me:$LINENO: result: no" >&5 |
13880 |
-echo "${ECHO_T}no" >&6; } |
13881 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13882 |
+$as_echo "no" >&6; } |
13883 |
fi |
13884 |
|
13885 |
-{ echo "$as_me:$LINENO: checking if you want ElectricFence" >&5 |
13886 |
-echo $ECHO_N "checking if you want ElectricFence... $ECHO_C" >&6; } |
13887 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want ElectricFence" >&5 |
13888 |
+$as_echo_n "checking if you want ElectricFence... " >&6; } |
13889 |
# Check whether --enable-efence was given. |
13890 |
-if test "${enable_efence+set}" = set; then |
13891 |
+if test "${enable_efence+set}" = set; then : |
13892 |
enableval=$enable_efence; |
13893 |
if test "$enableval" != no; then |
13894 |
if test ! -z "$enableval" -a "$enableval" != yes; then |
13895 |
LIBS="$LIBS -L$enableval" |
13896 |
fi |
13897 |
|
13898 |
- { echo "$as_me:$LINENO: checking for malloc in -lefence" >&5 |
13899 |
-echo $ECHO_N "checking for malloc in -lefence... $ECHO_C" >&6; } |
13900 |
-if test "${ac_cv_lib_efence_malloc+set}" = set; then |
13901 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13902 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -lefence" >&5 |
13903 |
+$as_echo_n "checking for malloc in -lefence... " >&6; } |
13904 |
+if ${ac_cv_lib_efence_malloc+:} false; then : |
13905 |
+ $as_echo_n "(cached) " >&6 |
13906 |
else |
13907 |
ac_check_lib_save_LIBS=$LIBS |
13908 |
LIBS="-lefence $LIBS" |
13909 |
-cat >conftest.$ac_ext <<_ACEOF |
13910 |
-/* confdefs.h. */ |
13911 |
-_ACEOF |
13912 |
-cat confdefs.h >>conftest.$ac_ext |
13913 |
-cat >>conftest.$ac_ext <<_ACEOF |
13914 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13915 |
/* end confdefs.h. */ |
13916 |
|
13917 |
/* Override any GCC internal prototype to avoid an error. |
13918 |
@@ -9534,64 +6943,43 @@ |
13919 |
return 0; |
13920 |
} |
13921 |
_ACEOF |
13922 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13923 |
-if { (ac_try="$ac_link" |
13924 |
-case "(($ac_try" in |
13925 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13926 |
- *) ac_try_echo=$ac_try;; |
13927 |
-esac |
13928 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13929 |
- (eval "$ac_link") 2>conftest.er1 |
13930 |
- ac_status=$? |
13931 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13932 |
- rm -f conftest.er1 |
13933 |
- cat conftest.err >&5 |
13934 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13935 |
- (exit $ac_status); } && { |
13936 |
- test -z "$ac_c_werror_flag" || |
13937 |
- test ! -s conftest.err |
13938 |
- } && test -s conftest$ac_exeext && |
13939 |
- $as_test_x conftest$ac_exeext; then |
13940 |
+if ac_fn_c_try_link "$LINENO"; then : |
13941 |
ac_cv_lib_efence_malloc=yes |
13942 |
else |
13943 |
- echo "$as_me: failed program was:" >&5 |
13944 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13945 |
- |
13946 |
- ac_cv_lib_efence_malloc=no |
13947 |
+ ac_cv_lib_efence_malloc=no |
13948 |
fi |
13949 |
- |
13950 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13951 |
- conftest$ac_exeext conftest.$ac_ext |
13952 |
+rm -f core conftest.err conftest.$ac_objext \ |
13953 |
+ conftest$ac_exeext conftest.$ac_ext |
13954 |
LIBS=$ac_check_lib_save_LIBS |
13955 |
fi |
13956 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_efence_malloc" >&5 |
13957 |
-echo "${ECHO_T}$ac_cv_lib_efence_malloc" >&6; } |
13958 |
-if test $ac_cv_lib_efence_malloc = yes; then |
13959 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_efence_malloc" >&5 |
13960 |
+$as_echo "$ac_cv_lib_efence_malloc" >&6; } |
13961 |
+if test "x$ac_cv_lib_efence_malloc" = xyes; then : |
13962 |
|
13963 |
LIBS="$LIBS -lefence" |
13964 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
13965 |
-echo "${ECHO_T}yes" >&6; } |
13966 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13967 |
+$as_echo "yes" >&6; } |
13968 |
|
13969 |
else |
13970 |
- { echo "$as_me:$LINENO: result: not found" >&5 |
13971 |
-echo "${ECHO_T}not found" >&6; } |
13972 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
13973 |
+$as_echo "not found" >&6; } |
13974 |
fi |
13975 |
|
13976 |
else |
13977 |
- { echo "$as_me:$LINENO: result: no" >&5 |
13978 |
-echo "${ECHO_T}no" >&6; } |
13979 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13980 |
+$as_echo "no" >&6; } |
13981 |
fi |
13982 |
|
13983 |
else |
13984 |
- { echo "$as_me:$LINENO: result: no" >&5 |
13985 |
-echo "${ECHO_T}no" >&6; } |
13986 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13987 |
+$as_echo "no" >&6; } |
13988 |
fi |
13989 |
|
13990 |
|
13991 |
-{ echo "$as_me:$LINENO: checking if you want the block allocator" >&5 |
13992 |
-echo $ECHO_N "checking if you want the block allocator... $ECHO_C" >&6; } |
13993 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want the block allocator" >&5 |
13994 |
+$as_echo_n "checking if you want the block allocator... " >&6; } |
13995 |
# Check whether --enable-block-alloc was given. |
13996 |
-if test "${enable_block_alloc+set}" = set; then |
13997 |
+if test "${enable_block_alloc+set}" = set; then : |
13998 |
enableval=$enable_block_alloc; balloc=$enableval |
13999 |
else |
14000 |
balloc=yes |
14001 |
@@ -9601,27 +6989,25 @@ |
14002 |
if test "$balloc" = no; then |
14003 |
|
14004 |
|
14005 |
-cat >>confdefs.h <<\_ACEOF |
14006 |
-#define NOBALLOC 1 |
14007 |
-_ACEOF |
14008 |
+$as_echo "#define NOBALLOC 1" >>confdefs.h |
14009 |
|
14010 |
else |
14011 |
BALLOC_C=balloc.c |
14012 |
|
14013 |
fi |
14014 |
|
14015 |
-{ echo "$as_me:$LINENO: result: $balloc" >&5 |
14016 |
-echo "${ECHO_T}$balloc" >&6; } |
14017 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $balloc" >&5 |
14018 |
+$as_echo "$balloc" >&6; } |
14019 |
|
14020 |
# Check whether --enable-warnings was given. |
14021 |
-if test "${enable_warnings+set}" = set; then |
14022 |
+if test "${enable_warnings+set}" = set; then : |
14023 |
enableval=$enable_warnings; IRC_CFLAGS="$IRC_CFLAGS -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -W -Wno-unused" |
14024 |
fi |
14025 |
|
14026 |
|
14027 |
|
14028 |
# Check whether --enable-small-net was given. |
14029 |
-if test "${enable_small_net+set}" = set; then |
14030 |
+if test "${enable_small_net+set}" = set; then : |
14031 |
enableval=$enable_small_net; small_net=$enableval |
14032 |
else |
14033 |
small_net=no |
14034 |
@@ -9630,90 +7016,58 @@ |
14035 |
|
14036 |
if test "$small_net" = yes; then |
14037 |
|
14038 |
-cat >>confdefs.h <<\_ACEOF |
14039 |
-#define NICKNAMEHISTORYLENGTH 1500 |
14040 |
-_ACEOF |
14041 |
+$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
14042 |
|
14043 |
|
14044 |
-cat >>confdefs.h <<\_ACEOF |
14045 |
-#define CHANNEL_HEAP_SIZE 256 |
14046 |
-_ACEOF |
14047 |
+$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
14048 |
|
14049 |
|
14050 |
-cat >>confdefs.h <<\_ACEOF |
14051 |
-#define BAN_HEAP_SIZE 128 |
14052 |
-_ACEOF |
14053 |
+$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
14054 |
|
14055 |
|
14056 |
-cat >>confdefs.h <<\_ACEOF |
14057 |
-#define CLIENT_HEAP_SIZE 256 |
14058 |
-_ACEOF |
14059 |
+$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
14060 |
|
14061 |
|
14062 |
-cat >>confdefs.h <<\_ACEOF |
14063 |
-#define LCLIENT_HEAP_SIZE 128 |
14064 |
-_ACEOF |
14065 |
+$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
14066 |
|
14067 |
|
14068 |
-cat >>confdefs.h <<\_ACEOF |
14069 |
-#define DNODE_HEAP_SIZE 256 |
14070 |
-_ACEOF |
14071 |
+$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
14072 |
|
14073 |
|
14074 |
-cat >>confdefs.h <<\_ACEOF |
14075 |
-#define TOPIC_HEAP_SIZE 256 |
14076 |
-_ACEOF |
14077 |
+$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
14078 |
|
14079 |
|
14080 |
-cat >>confdefs.h <<\_ACEOF |
14081 |
-#define DBUF_HEAP_SIZE 64 |
14082 |
-_ACEOF |
14083 |
+$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
14084 |
|
14085 |
else |
14086 |
|
14087 |
-cat >>confdefs.h <<\_ACEOF |
14088 |
-#define NICKNAMEHISTORYLENGTH 15000 |
14089 |
-_ACEOF |
14090 |
+$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
14091 |
|
14092 |
|
14093 |
-cat >>confdefs.h <<\_ACEOF |
14094 |
-#define CHANNEL_HEAP_SIZE 1024 |
14095 |
-_ACEOF |
14096 |
+$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
14097 |
|
14098 |
|
14099 |
-cat >>confdefs.h <<\_ACEOF |
14100 |
-#define BAN_HEAP_SIZE 1024 |
14101 |
-_ACEOF |
14102 |
+$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
14103 |
|
14104 |
|
14105 |
-cat >>confdefs.h <<\_ACEOF |
14106 |
-#define CLIENT_HEAP_SIZE 1024 |
14107 |
-_ACEOF |
14108 |
+$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
14109 |
|
14110 |
|
14111 |
-cat >>confdefs.h <<\_ACEOF |
14112 |
-#define LCLIENT_HEAP_SIZE 512 |
14113 |
-_ACEOF |
14114 |
+$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
14115 |
|
14116 |
|
14117 |
-cat >>confdefs.h <<\_ACEOF |
14118 |
-#define DNODE_HEAP_SIZE 2048 |
14119 |
-_ACEOF |
14120 |
+$as_echo "#define DNODE_HEAP_SIZE 2048" >>confdefs.h |
14121 |
|
14122 |
|
14123 |
-cat >>confdefs.h <<\_ACEOF |
14124 |
-#define TOPIC_HEAP_SIZE 1024 |
14125 |
-_ACEOF |
14126 |
+$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
14127 |
|
14128 |
|
14129 |
-cat >>confdefs.h <<\_ACEOF |
14130 |
-#define DBUF_HEAP_SIZE 512 |
14131 |
-_ACEOF |
14132 |
+$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
14133 |
|
14134 |
fi |
14135 |
|
14136 |
# Check whether --enable-efnet was given. |
14137 |
-if test "${enable_efnet+set}" = set; then |
14138 |
+if test "${enable_efnet+set}" = set; then : |
14139 |
enableval=$enable_efnet; efnet=$enableval |
14140 |
else |
14141 |
efnet=no |
14142 |
@@ -9722,28 +7076,22 @@ |
14143 |
|
14144 |
if test "$efnet" = yes; then |
14145 |
|
14146 |
-cat >>confdefs.h <<\_ACEOF |
14147 |
-#define EFNET 1 |
14148 |
-_ACEOF |
14149 |
+$as_echo "#define EFNET 1" >>confdefs.h |
14150 |
|
14151 |
|
14152 |
-cat >>confdefs.h <<\_ACEOF |
14153 |
-#define TS5_ONLY 1 |
14154 |
-_ACEOF |
14155 |
+$as_echo "#define TS5_ONLY 1" >>confdefs.h |
14156 |
|
14157 |
echo "Building ircd for use with EFnet" |
14158 |
EXAMPLE_CONF=example.efnet.conf |
14159 |
else |
14160 |
|
14161 |
-cat >>confdefs.h <<\_ACEOF |
14162 |
-#define INVARIANTS 1 |
14163 |
-_ACEOF |
14164 |
+$as_echo "#define INVARIANTS 1" >>confdefs.h |
14165 |
|
14166 |
EXAMPLE_CONF=example.conf |
14167 |
fi |
14168 |
|
14169 |
# Check whether --enable-dalnetru was given. |
14170 |
-if test "${enable_dalnetru+set}" = set; then |
14171 |
+if test "${enable_dalnetru+set}" = set; then : |
14172 |
enableval=$enable_dalnetru; dalnetru=$enableval |
14173 |
else |
14174 |
dalnetru=no |
14175 |
@@ -9752,16 +7100,14 @@ |
14176 |
|
14177 |
if test "$dalnetru" = yes; then |
14178 |
|
14179 |
-cat >>confdefs.h <<\_ACEOF |
14180 |
-#define DALNET_RU 1 |
14181 |
-_ACEOF |
14182 |
+$as_echo "#define DALNET_RU 1" >>confdefs.h |
14183 |
|
14184 |
echo "Building ircd for use with DALNet(RU)" |
14185 |
EXAMPLE_CONF=example.dalnet-ru.conf |
14186 |
fi |
14187 |
|
14188 |
# Check whether --enable-gline-voting was given. |
14189 |
-if test "${enable_gline_voting+set}" = set; then |
14190 |
+if test "${enable_gline_voting+set}" = set; then : |
14191 |
enableval=$enable_gline_voting; gline_voting=$enableval |
14192 |
else |
14193 |
gline_voting=yes |
14194 |
@@ -9770,15 +7116,13 @@ |
14195 |
|
14196 |
if test "$gline_voting" = yes; then |
14197 |
|
14198 |
-cat >>confdefs.h <<\_ACEOF |
14199 |
-#define GLINE_VOTING 1 |
14200 |
-_ACEOF |
14201 |
+$as_echo "#define GLINE_VOTING 1" >>confdefs.h |
14202 |
|
14203 |
echo "Building ircd with G-Line voting support" |
14204 |
fi |
14205 |
|
14206 |
# Check whether --enable-halfops was given. |
14207 |
-if test "${enable_halfops+set}" = set; then |
14208 |
+if test "${enable_halfops+set}" = set; then : |
14209 |
enableval=$enable_halfops; halfops=$enableval |
14210 |
else |
14211 |
halfops=yes |
14212 |
@@ -9787,19 +7131,17 @@ |
14213 |
|
14214 |
if test "$halfops" = yes; then |
14215 |
|
14216 |
-cat >>confdefs.h <<\_ACEOF |
14217 |
-#define HALFOPS 1 |
14218 |
-_ACEOF |
14219 |
+$as_echo "#define HALFOPS 1" >>confdefs.h |
14220 |
|
14221 |
fi |
14222 |
|
14223 |
|
14224 |
|
14225 |
-{ echo "$as_me:$LINENO: checking for syslog options" >&5 |
14226 |
-echo $ECHO_N "checking for syslog options... $ECHO_C" >&6; } |
14227 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslog options" >&5 |
14228 |
+$as_echo_n "checking for syslog options... " >&6; } |
14229 |
|
14230 |
# Check whether --enable-syslog was given. |
14231 |
-if test "${enable_syslog+set}" = set; then |
14232 |
+if test "${enable_syslog+set}" = set; then : |
14233 |
enableval=$enable_syslog; |
14234 |
|
14235 |
if test "$ac_cv_header_sys_syslog_h" = yes -o "$ac_cv_header_syslog_h" = yes; then |
14236 |
@@ -9812,64 +7154,52 @@ |
14237 |
kill) |
14238 |
syslogstuff="$syslogstuff kill" |
14239 |
|
14240 |
-cat >>confdefs.h <<\_ACEOF |
14241 |
-#define SYSLOG_KILL 1 |
14242 |
-_ACEOF |
14243 |
+$as_echo "#define SYSLOG_KILL 1" >>confdefs.h |
14244 |
|
14245 |
;; |
14246 |
squit) |
14247 |
syslogstuff="$syslogstuff squit" |
14248 |
|
14249 |
-cat >>confdefs.h <<\_ACEOF |
14250 |
-#define SYSLOG_SQUIT 1 |
14251 |
-_ACEOF |
14252 |
+$as_echo "#define SYSLOG_SQUIT 1" >>confdefs.h |
14253 |
|
14254 |
;; |
14255 |
connect) |
14256 |
syslogstuff="$syslogstuff connect" |
14257 |
|
14258 |
-cat >>confdefs.h <<\_ACEOF |
14259 |
-#define SYSLOG_CONNECT 1 |
14260 |
-_ACEOF |
14261 |
+$as_echo "#define SYSLOG_CONNECT 1" >>confdefs.h |
14262 |
|
14263 |
;; |
14264 |
users) |
14265 |
syslogstuff="$syslogstuff users" |
14266 |
|
14267 |
-cat >>confdefs.h <<\_ACEOF |
14268 |
-#define SYSLOG_USERS 1 |
14269 |
-_ACEOF |
14270 |
+$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
14271 |
|
14272 |
;; |
14273 |
oper) |
14274 |
syslogstuff="$syslogstuff oper" |
14275 |
|
14276 |
-cat >>confdefs.h <<\_ACEOF |
14277 |
-#define SYSLOG_OPER 1 |
14278 |
-_ACEOF |
14279 |
+$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
14280 |
|
14281 |
;; |
14282 |
yes) |
14283 |
;; |
14284 |
*) |
14285 |
- { echo "$as_me:$LINENO: WARNING: unknown event $option" >&5 |
14286 |
-echo "$as_me: WARNING: unknown event $option" >&2;} |
14287 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown event $option" >&5 |
14288 |
+$as_echo "$as_me: WARNING: unknown event $option" >&2;} |
14289 |
;; |
14290 |
esac |
14291 |
done |
14292 |
|
14293 |
if test ! -z "$syslogstuff" -o "$enableval" = yes; then |
14294 |
|
14295 |
-cat >>confdefs.h <<\_ACEOF |
14296 |
-#define USE_SYSLOG 1 |
14297 |
-_ACEOF |
14298 |
+$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
14299 |
|
14300 |
fi |
14301 |
else syslogstuff=none |
14302 |
fi |
14303 |
|
14304 |
-else { echo "$as_me:$LINENO: WARNING: both syslog.h and sys/syslog.h unavailable, not enabling syslog" >&5 |
14305 |
-echo "$as_me: WARNING: both syslog.h and sys/syslog.h unavailable, not enabling syslog" >&2;} |
14306 |
+else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: both syslog.h and sys/syslog.h unavailable, not enabling syslog" >&5 |
14307 |
+$as_echo "$as_me: WARNING: both syslog.h and sys/syslog.h unavailable, not enabling syslog" >&2;} |
14308 |
syslogstuff=none |
14309 |
fi |
14310 |
|
14311 |
@@ -9878,12 +7208,12 @@ |
14312 |
fi |
14313 |
|
14314 |
|
14315 |
-{ echo "$as_me:$LINENO: result: $syslogstuff" >&5 |
14316 |
-echo "${ECHO_T}$syslogstuff" >&6; } |
14317 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $syslogstuff" >&5 |
14318 |
+$as_echo "$syslogstuff" >&6; } |
14319 |
|
14320 |
|
14321 |
# Check whether --with-syslog-facility was given. |
14322 |
-if test "${with_syslog_facility+set}" = set; then |
14323 |
+if test "${with_syslog_facility+set}" = set; then : |
14324 |
withval=$with_syslog_facility; facility=$withval |
14325 |
else |
14326 |
facility="LOG_LOCAL4" |
14327 |
@@ -9900,7 +7230,7 @@ |
14328 |
|
14329 |
|
14330 |
# Check whether --with-nicklen was given. |
14331 |
-if test "${with_nicklen+set}" = set; then |
14332 |
+if test "${with_nicklen+set}" = set; then : |
14333 |
withval=$with_nicklen; NICKLEN="$withval" |
14334 |
else |
14335 |
NICKLEN="16" |
14336 |
@@ -9909,12 +7239,12 @@ |
14337 |
|
14338 |
|
14339 |
# Check whether --with-topiclen was given. |
14340 |
-if test "${with_topiclen+set}" = set; then |
14341 |
+if test "${with_topiclen+set}" = set; then : |
14342 |
withval=$with_topiclen; |
14343 |
if test $withval -ge 390; then |
14344 |
TOPICLEN=390 |
14345 |
- { echo "$as_me:$LINENO: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&5 |
14346 |
-echo "$as_me: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&2;} |
14347 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&5 |
14348 |
+$as_echo "$as_me: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&2;} |
14349 |
else |
14350 |
TOPICLEN=$withval |
14351 |
fi |
14352 |
@@ -9936,7 +7266,7 @@ |
14353 |
|
14354 |
|
14355 |
# Check whether --enable-shared-modules was given. |
14356 |
-if test "${enable_shared_modules+set}" = set; then |
14357 |
+if test "${enable_shared_modules+set}" = set; then : |
14358 |
enableval=$enable_shared_modules; shared_modules=$enableval |
14359 |
else |
14360 |
shared_modules="yes" |
14361 |
@@ -9948,177 +7278,45 @@ |
14362 |
if test "$profile" = "no"; then |
14363 |
shared_modules="yes" |
14364 |
else |
14365 |
- { echo "$as_me:$LINENO: WARNING: disabling shared modules; cannot coexist with profile builds" >&5 |
14366 |
-echo "$as_me: WARNING: disabling shared modules; cannot coexist with profile builds" >&2;} |
14367 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling shared modules; cannot coexist with profile builds" >&5 |
14368 |
+$as_echo "$as_me: WARNING: disabling shared modules; cannot coexist with profile builds" >&2;} |
14369 |
shared_modules="no" |
14370 |
fi |
14371 |
|
14372 |
if test "$CYGWIN" = yes; then |
14373 |
- { echo "$as_me:$LINENO: WARNING: disabling shared modules; Cygwin is at present unable to build them." >&5 |
14374 |
-echo "$as_me: WARNING: disabling shared modules; Cygwin is at present unable to build them." >&2;} |
14375 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling shared modules; Cygwin is at present unable to build them." >&5 |
14376 |
+$as_echo "$as_me: WARNING: disabling shared modules; Cygwin is at present unable to build them." >&2;} |
14377 |
shared_modules="no" |
14378 |
fi |
14379 |
|
14380 |
if test "$CC" = tcc -a "$TenDRA" = "no"; then |
14381 |
- { echo "$as_me:$LINENO: WARNING: disabling shared modules: Tiny C Compiler can't create PIC" >&5 |
14382 |
-echo "$as_me: WARNING: disabling shared modules: Tiny C Compiler can't create PIC" >&2;} |
14383 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling shared modules: Tiny C Compiler can't create PIC" >&5 |
14384 |
+$as_echo "$as_me: WARNING: disabling shared modules: Tiny C Compiler can't create PIC" >&2;} |
14385 |
shared_modules="no" |
14386 |
fi |
14387 |
fi |
14388 |
|
14389 |
if test "$shared_modules" = yes; then |
14390 |
DYNLINK_C=dynlink.c |
14391 |
- |
14392 |
-for ac_header in dlfcn.h |
14393 |
-do |
14394 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14395 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14396 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14397 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14398 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14399 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14400 |
-fi |
14401 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14402 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14403 |
-echo "${ECHO_T}$ac_res" >&6; } |
14404 |
-else |
14405 |
- # Is the header compilable? |
14406 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14407 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
14408 |
-cat >conftest.$ac_ext <<_ACEOF |
14409 |
-/* confdefs.h. */ |
14410 |
-_ACEOF |
14411 |
-cat confdefs.h >>conftest.$ac_ext |
14412 |
-cat >>conftest.$ac_ext <<_ACEOF |
14413 |
-/* end confdefs.h. */ |
14414 |
-$ac_includes_default |
14415 |
-#include <$ac_header> |
14416 |
-_ACEOF |
14417 |
-rm -f conftest.$ac_objext |
14418 |
-if { (ac_try="$ac_compile" |
14419 |
-case "(($ac_try" in |
14420 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14421 |
- *) ac_try_echo=$ac_try;; |
14422 |
-esac |
14423 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14424 |
- (eval "$ac_compile") 2>conftest.er1 |
14425 |
- ac_status=$? |
14426 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14427 |
- rm -f conftest.er1 |
14428 |
- cat conftest.err >&5 |
14429 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14430 |
- (exit $ac_status); } && { |
14431 |
- test -z "$ac_c_werror_flag" || |
14432 |
- test ! -s conftest.err |
14433 |
- } && test -s conftest.$ac_objext; then |
14434 |
- ac_header_compiler=yes |
14435 |
-else |
14436 |
- echo "$as_me: failed program was:" >&5 |
14437 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14438 |
- |
14439 |
- ac_header_compiler=no |
14440 |
-fi |
14441 |
- |
14442 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14443 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14444 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
14445 |
- |
14446 |
-# Is the header present? |
14447 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14448 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
14449 |
-cat >conftest.$ac_ext <<_ACEOF |
14450 |
-/* confdefs.h. */ |
14451 |
-_ACEOF |
14452 |
-cat confdefs.h >>conftest.$ac_ext |
14453 |
-cat >>conftest.$ac_ext <<_ACEOF |
14454 |
-/* end confdefs.h. */ |
14455 |
-#include <$ac_header> |
14456 |
-_ACEOF |
14457 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
14458 |
-case "(($ac_try" in |
14459 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14460 |
- *) ac_try_echo=$ac_try;; |
14461 |
-esac |
14462 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14463 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
14464 |
- ac_status=$? |
14465 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14466 |
- rm -f conftest.er1 |
14467 |
- cat conftest.err >&5 |
14468 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14469 |
- (exit $ac_status); } >/dev/null && { |
14470 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
14471 |
- test ! -s conftest.err |
14472 |
- }; then |
14473 |
- ac_header_preproc=yes |
14474 |
-else |
14475 |
- echo "$as_me: failed program was:" >&5 |
14476 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14477 |
- |
14478 |
- ac_header_preproc=no |
14479 |
-fi |
14480 |
- |
14481 |
-rm -f conftest.err conftest.$ac_ext |
14482 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14483 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
14484 |
- |
14485 |
-# So? What about this header? |
14486 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14487 |
- yes:no: ) |
14488 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14489 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
14490 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
14491 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
14492 |
- ac_header_preproc=yes |
14493 |
- ;; |
14494 |
- no:yes:* ) |
14495 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
14496 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
14497 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
14498 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
14499 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
14500 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
14501 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
14502 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14503 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14504 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14505 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14506 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14507 |
- |
14508 |
- ;; |
14509 |
-esac |
14510 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14511 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14512 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14513 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14514 |
-else |
14515 |
- eval "$as_ac_Header=\$ac_header_preproc" |
14516 |
-fi |
14517 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14518 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14519 |
-echo "${ECHO_T}$ac_res" >&6; } |
14520 |
- |
14521 |
-fi |
14522 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14523 |
+ for ac_header in dlfcn.h |
14524 |
+do : |
14525 |
+ ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" |
14526 |
+if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
14527 |
cat >>confdefs.h <<_ACEOF |
14528 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14529 |
+#define HAVE_DLFCN_H 1 |
14530 |
_ACEOF |
14531 |
|
14532 |
fi |
14533 |
|
14534 |
done |
14535 |
|
14536 |
- { echo "$as_me:$LINENO: checking for library containing shl_load" >&5 |
14537 |
-echo $ECHO_N "checking for library containing shl_load... $ECHO_C" >&6; } |
14538 |
-if test "${ac_cv_search_shl_load+set}" = set; then |
14539 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14540 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shl_load" >&5 |
14541 |
+$as_echo_n "checking for library containing shl_load... " >&6; } |
14542 |
+if ${ac_cv_search_shl_load+:} false; then : |
14543 |
+ $as_echo_n "(cached) " >&6 |
14544 |
else |
14545 |
ac_func_search_save_LIBS=$LIBS |
14546 |
-cat >conftest.$ac_ext <<_ACEOF |
14547 |
-/* confdefs.h. */ |
14548 |
-_ACEOF |
14549 |
-cat confdefs.h >>conftest.$ac_ext |
14550 |
-cat >>conftest.$ac_ext <<_ACEOF |
14551 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14552 |
/* end confdefs.h. */ |
14553 |
|
14554 |
/* Override any GCC internal prototype to avoid an error. |
14555 |
@@ -10143,56 +7341,31 @@ |
14556 |
ac_res=-l$ac_lib |
14557 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14558 |
fi |
14559 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
14560 |
-if { (ac_try="$ac_link" |
14561 |
-case "(($ac_try" in |
14562 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14563 |
- *) ac_try_echo=$ac_try;; |
14564 |
-esac |
14565 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14566 |
- (eval "$ac_link") 2>conftest.er1 |
14567 |
- ac_status=$? |
14568 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14569 |
- rm -f conftest.er1 |
14570 |
- cat conftest.err >&5 |
14571 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14572 |
- (exit $ac_status); } && { |
14573 |
- test -z "$ac_c_werror_flag" || |
14574 |
- test ! -s conftest.err |
14575 |
- } && test -s conftest$ac_exeext && |
14576 |
- $as_test_x conftest$ac_exeext; then |
14577 |
+ if ac_fn_c_try_link "$LINENO"; then : |
14578 |
ac_cv_search_shl_load=$ac_res |
14579 |
-else |
14580 |
- echo "$as_me: failed program was:" >&5 |
14581 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14582 |
- |
14583 |
- |
14584 |
fi |
14585 |
- |
14586 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14587 |
- conftest$ac_exeext |
14588 |
- if test "${ac_cv_search_shl_load+set}" = set; then |
14589 |
+rm -f core conftest.err conftest.$ac_objext \ |
14590 |
+ conftest$ac_exeext |
14591 |
+ if ${ac_cv_search_shl_load+:} false; then : |
14592 |
break |
14593 |
fi |
14594 |
done |
14595 |
-if test "${ac_cv_search_shl_load+set}" = set; then |
14596 |
- : |
14597 |
+if ${ac_cv_search_shl_load+:} false; then : |
14598 |
+ |
14599 |
else |
14600 |
ac_cv_search_shl_load=no |
14601 |
fi |
14602 |
rm conftest.$ac_ext |
14603 |
LIBS=$ac_func_search_save_LIBS |
14604 |
fi |
14605 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_shl_load" >&5 |
14606 |
-echo "${ECHO_T}$ac_cv_search_shl_load" >&6; } |
14607 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shl_load" >&5 |
14608 |
+$as_echo "$ac_cv_search_shl_load" >&6; } |
14609 |
ac_res=$ac_cv_search_shl_load |
14610 |
-if test "$ac_res" != no; then |
14611 |
+if test "$ac_res" != no; then : |
14612 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14613 |
|
14614 |
|
14615 |
-cat >>confdefs.h <<\_ACEOF |
14616 |
-#define HAVE_SHL_LOAD 1 |
14617 |
-_ACEOF |
14618 |
+$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
14619 |
|
14620 |
SUFFIX=".sl" |
14621 |
MOD_TARGET=hpux_shared |
14622 |
@@ -10200,17 +7373,13 @@ |
14623 |
|
14624 |
else |
14625 |
|
14626 |
- { echo "$as_me:$LINENO: checking for library containing dlopen" >&5 |
14627 |
-echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; } |
14628 |
-if test "${ac_cv_search_dlopen+set}" = set; then |
14629 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14630 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
14631 |
+$as_echo_n "checking for library containing dlopen... " >&6; } |
14632 |
+if ${ac_cv_search_dlopen+:} false; then : |
14633 |
+ $as_echo_n "(cached) " >&6 |
14634 |
else |
14635 |
ac_func_search_save_LIBS=$LIBS |
14636 |
-cat >conftest.$ac_ext <<_ACEOF |
14637 |
-/* confdefs.h. */ |
14638 |
-_ACEOF |
14639 |
-cat confdefs.h >>conftest.$ac_ext |
14640 |
-cat >>conftest.$ac_ext <<_ACEOF |
14641 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14642 |
/* end confdefs.h. */ |
14643 |
|
14644 |
/* Override any GCC internal prototype to avoid an error. |
14645 |
@@ -10235,195 +7404,42 @@ |
14646 |
ac_res=-l$ac_lib |
14647 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14648 |
fi |
14649 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
14650 |
-if { (ac_try="$ac_link" |
14651 |
-case "(($ac_try" in |
14652 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14653 |
- *) ac_try_echo=$ac_try;; |
14654 |
-esac |
14655 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14656 |
- (eval "$ac_link") 2>conftest.er1 |
14657 |
- ac_status=$? |
14658 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14659 |
- rm -f conftest.er1 |
14660 |
- cat conftest.err >&5 |
14661 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14662 |
- (exit $ac_status); } && { |
14663 |
- test -z "$ac_c_werror_flag" || |
14664 |
- test ! -s conftest.err |
14665 |
- } && test -s conftest$ac_exeext && |
14666 |
- $as_test_x conftest$ac_exeext; then |
14667 |
+ if ac_fn_c_try_link "$LINENO"; then : |
14668 |
ac_cv_search_dlopen=$ac_res |
14669 |
-else |
14670 |
- echo "$as_me: failed program was:" >&5 |
14671 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14672 |
- |
14673 |
- |
14674 |
fi |
14675 |
- |
14676 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14677 |
- conftest$ac_exeext |
14678 |
- if test "${ac_cv_search_dlopen+set}" = set; then |
14679 |
+rm -f core conftest.err conftest.$ac_objext \ |
14680 |
+ conftest$ac_exeext |
14681 |
+ if ${ac_cv_search_dlopen+:} false; then : |
14682 |
break |
14683 |
fi |
14684 |
done |
14685 |
-if test "${ac_cv_search_dlopen+set}" = set; then |
14686 |
- : |
14687 |
+if ${ac_cv_search_dlopen+:} false; then : |
14688 |
+ |
14689 |
else |
14690 |
ac_cv_search_dlopen=no |
14691 |
fi |
14692 |
rm conftest.$ac_ext |
14693 |
LIBS=$ac_func_search_save_LIBS |
14694 |
fi |
14695 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 |
14696 |
-echo "${ECHO_T}$ac_cv_search_dlopen" >&6; } |
14697 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 |
14698 |
+$as_echo "$ac_cv_search_dlopen" >&6; } |
14699 |
ac_res=$ac_cv_search_dlopen |
14700 |
-if test "$ac_res" != no; then |
14701 |
+if test "$ac_res" != no; then : |
14702 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14703 |
|
14704 |
|
14705 |
-cat >>confdefs.h <<\_ACEOF |
14706 |
-#define HAVE_DLOPEN 1 |
14707 |
-_ACEOF |
14708 |
+$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h |
14709 |
|
14710 |
SUFFIX=".so" |
14711 |
MOD_TARGET=shared_modules |
14712 |
SEDOBJ="s/\.o/.so/g" |
14713 |
if test "$AppleGCC" = yes; then |
14714 |
- |
14715 |
-for ac_header in mach-o/dyld.h |
14716 |
-do |
14717 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14718 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14719 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14720 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14721 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14722 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14723 |
-fi |
14724 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14725 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14726 |
-echo "${ECHO_T}$ac_res" >&6; } |
14727 |
-else |
14728 |
- # Is the header compilable? |
14729 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14730 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
14731 |
-cat >conftest.$ac_ext <<_ACEOF |
14732 |
-/* confdefs.h. */ |
14733 |
-_ACEOF |
14734 |
-cat confdefs.h >>conftest.$ac_ext |
14735 |
-cat >>conftest.$ac_ext <<_ACEOF |
14736 |
-/* end confdefs.h. */ |
14737 |
-$ac_includes_default |
14738 |
-#include <$ac_header> |
14739 |
-_ACEOF |
14740 |
-rm -f conftest.$ac_objext |
14741 |
-if { (ac_try="$ac_compile" |
14742 |
-case "(($ac_try" in |
14743 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14744 |
- *) ac_try_echo=$ac_try;; |
14745 |
-esac |
14746 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14747 |
- (eval "$ac_compile") 2>conftest.er1 |
14748 |
- ac_status=$? |
14749 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14750 |
- rm -f conftest.er1 |
14751 |
- cat conftest.err >&5 |
14752 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14753 |
- (exit $ac_status); } && { |
14754 |
- test -z "$ac_c_werror_flag" || |
14755 |
- test ! -s conftest.err |
14756 |
- } && test -s conftest.$ac_objext; then |
14757 |
- ac_header_compiler=yes |
14758 |
-else |
14759 |
- echo "$as_me: failed program was:" >&5 |
14760 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14761 |
- |
14762 |
- ac_header_compiler=no |
14763 |
-fi |
14764 |
- |
14765 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14766 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14767 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
14768 |
- |
14769 |
-# Is the header present? |
14770 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14771 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
14772 |
-cat >conftest.$ac_ext <<_ACEOF |
14773 |
-/* confdefs.h. */ |
14774 |
-_ACEOF |
14775 |
-cat confdefs.h >>conftest.$ac_ext |
14776 |
-cat >>conftest.$ac_ext <<_ACEOF |
14777 |
-/* end confdefs.h. */ |
14778 |
-#include <$ac_header> |
14779 |
-_ACEOF |
14780 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
14781 |
-case "(($ac_try" in |
14782 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14783 |
- *) ac_try_echo=$ac_try;; |
14784 |
-esac |
14785 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14786 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
14787 |
- ac_status=$? |
14788 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14789 |
- rm -f conftest.er1 |
14790 |
- cat conftest.err >&5 |
14791 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14792 |
- (exit $ac_status); } >/dev/null && { |
14793 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
14794 |
- test ! -s conftest.err |
14795 |
- }; then |
14796 |
- ac_header_preproc=yes |
14797 |
-else |
14798 |
- echo "$as_me: failed program was:" >&5 |
14799 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14800 |
- |
14801 |
- ac_header_preproc=no |
14802 |
-fi |
14803 |
- |
14804 |
-rm -f conftest.err conftest.$ac_ext |
14805 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14806 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
14807 |
- |
14808 |
-# So? What about this header? |
14809 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14810 |
- yes:no: ) |
14811 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14812 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
14813 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
14814 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
14815 |
- ac_header_preproc=yes |
14816 |
- ;; |
14817 |
- no:yes:* ) |
14818 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
14819 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
14820 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
14821 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
14822 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
14823 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
14824 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
14825 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14826 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14827 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14828 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14829 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14830 |
- |
14831 |
- ;; |
14832 |
-esac |
14833 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14834 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14835 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14836 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14837 |
-else |
14838 |
- eval "$as_ac_Header=\$ac_header_preproc" |
14839 |
-fi |
14840 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14841 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14842 |
-echo "${ECHO_T}$ac_res" >&6; } |
14843 |
- |
14844 |
-fi |
14845 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14846 |
+ for ac_header in mach-o/dyld.h |
14847 |
+do : |
14848 |
+ ac_fn_c_check_header_mongrel "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default" |
14849 |
+if test "x$ac_cv_header_mach_o_dyld_h" = xyes; then : |
14850 |
cat >>confdefs.h <<_ACEOF |
14851 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14852 |
+#define HAVE_MACH_O_DYLD_H 1 |
14853 |
_ACEOF |
14854 |
|
14855 |
fi |
14856 |
@@ -10431,187 +7447,24 @@ |
14857 |
done |
14858 |
|
14859 |
fi |
14860 |
- { echo "$as_me:$LINENO: checking for dlsym" >&5 |
14861 |
-echo $ECHO_N "checking for dlsym... $ECHO_C" >&6; } |
14862 |
-if test "${ac_cv_func_dlsym+set}" = set; then |
14863 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14864 |
-else |
14865 |
- cat >conftest.$ac_ext <<_ACEOF |
14866 |
-/* confdefs.h. */ |
14867 |
-_ACEOF |
14868 |
-cat confdefs.h >>conftest.$ac_ext |
14869 |
-cat >>conftest.$ac_ext <<_ACEOF |
14870 |
-/* end confdefs.h. */ |
14871 |
-/* Define dlsym to an innocuous variant, in case <limits.h> declares dlsym. |
14872 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
14873 |
-#define dlsym innocuous_dlsym |
14874 |
- |
14875 |
-/* System header to define __stub macros and hopefully few prototypes, |
14876 |
- which can conflict with char dlsym (); below. |
14877 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
14878 |
- <limits.h> exists even on freestanding compilers. */ |
14879 |
- |
14880 |
-#ifdef __STDC__ |
14881 |
-# include <limits.h> |
14882 |
-#else |
14883 |
-# include <assert.h> |
14884 |
-#endif |
14885 |
- |
14886 |
-#undef dlsym |
14887 |
- |
14888 |
-/* Override any GCC internal prototype to avoid an error. |
14889 |
- Use char because int might match the return type of a GCC |
14890 |
- builtin and then its argument prototype would still apply. */ |
14891 |
-#ifdef __cplusplus |
14892 |
-extern "C" |
14893 |
-#endif |
14894 |
-char dlsym (); |
14895 |
-/* The GNU C library defines this for functions which it implements |
14896 |
- to always fail with ENOSYS. Some functions are actually named |
14897 |
- something starting with __ and the normal name is an alias. */ |
14898 |
-#if defined __stub_dlsym || defined __stub___dlsym |
14899 |
-choke me |
14900 |
-#endif |
14901 |
- |
14902 |
-int |
14903 |
-main () |
14904 |
-{ |
14905 |
-return dlsym (); |
14906 |
- ; |
14907 |
- return 0; |
14908 |
-} |
14909 |
-_ACEOF |
14910 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
14911 |
-if { (ac_try="$ac_link" |
14912 |
-case "(($ac_try" in |
14913 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14914 |
- *) ac_try_echo=$ac_try;; |
14915 |
-esac |
14916 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14917 |
- (eval "$ac_link") 2>conftest.er1 |
14918 |
- ac_status=$? |
14919 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14920 |
- rm -f conftest.er1 |
14921 |
- cat conftest.err >&5 |
14922 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14923 |
- (exit $ac_status); } && { |
14924 |
- test -z "$ac_c_werror_flag" || |
14925 |
- test ! -s conftest.err |
14926 |
- } && test -s conftest$ac_exeext && |
14927 |
- $as_test_x conftest$ac_exeext; then |
14928 |
- ac_cv_func_dlsym=yes |
14929 |
-else |
14930 |
- echo "$as_me: failed program was:" >&5 |
14931 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14932 |
+ ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym" |
14933 |
+if test "x$ac_cv_func_dlsym" = xyes; then : |
14934 |
|
14935 |
- ac_cv_func_dlsym=no |
14936 |
-fi |
14937 |
- |
14938 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14939 |
- conftest$ac_exeext conftest.$ac_ext |
14940 |
-fi |
14941 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_dlsym" >&5 |
14942 |
-echo "${ECHO_T}$ac_cv_func_dlsym" >&6; } |
14943 |
-if test $ac_cv_func_dlsym = yes; then |
14944 |
- : |
14945 |
else |
14946 |
|
14947 |
- { echo "$as_me:$LINENO: WARNING: dlsym is not available, shared modules disabled" >&5 |
14948 |
-echo "$as_me: WARNING: dlsym is not available, shared modules disabled" >&2;} |
14949 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dlsym is not available, shared modules disabled" >&5 |
14950 |
+$as_echo "$as_me: WARNING: dlsym is not available, shared modules disabled" >&2;} |
14951 |
shared_modules=no |
14952 |
|
14953 |
fi |
14954 |
|
14955 |
- |
14956 |
- |
14957 |
-for ac_func in dlfunc dlinfo |
14958 |
-do |
14959 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14960 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
14961 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
14962 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
14963 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14964 |
-else |
14965 |
- cat >conftest.$ac_ext <<_ACEOF |
14966 |
-/* confdefs.h. */ |
14967 |
-_ACEOF |
14968 |
-cat confdefs.h >>conftest.$ac_ext |
14969 |
-cat >>conftest.$ac_ext <<_ACEOF |
14970 |
-/* end confdefs.h. */ |
14971 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
14972 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
14973 |
-#define $ac_func innocuous_$ac_func |
14974 |
- |
14975 |
-/* System header to define __stub macros and hopefully few prototypes, |
14976 |
- which can conflict with char $ac_func (); below. |
14977 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
14978 |
- <limits.h> exists even on freestanding compilers. */ |
14979 |
- |
14980 |
-#ifdef __STDC__ |
14981 |
-# include <limits.h> |
14982 |
-#else |
14983 |
-# include <assert.h> |
14984 |
-#endif |
14985 |
- |
14986 |
-#undef $ac_func |
14987 |
- |
14988 |
-/* Override any GCC internal prototype to avoid an error. |
14989 |
- Use char because int might match the return type of a GCC |
14990 |
- builtin and then its argument prototype would still apply. */ |
14991 |
-#ifdef __cplusplus |
14992 |
-extern "C" |
14993 |
-#endif |
14994 |
-char $ac_func (); |
14995 |
-/* The GNU C library defines this for functions which it implements |
14996 |
- to always fail with ENOSYS. Some functions are actually named |
14997 |
- something starting with __ and the normal name is an alias. */ |
14998 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
14999 |
-choke me |
15000 |
-#endif |
15001 |
- |
15002 |
-int |
15003 |
-main () |
15004 |
-{ |
15005 |
-return $ac_func (); |
15006 |
- ; |
15007 |
- return 0; |
15008 |
-} |
15009 |
-_ACEOF |
15010 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15011 |
-if { (ac_try="$ac_link" |
15012 |
-case "(($ac_try" in |
15013 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15014 |
- *) ac_try_echo=$ac_try;; |
15015 |
-esac |
15016 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15017 |
- (eval "$ac_link") 2>conftest.er1 |
15018 |
- ac_status=$? |
15019 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15020 |
- rm -f conftest.er1 |
15021 |
- cat conftest.err >&5 |
15022 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15023 |
- (exit $ac_status); } && { |
15024 |
- test -z "$ac_c_werror_flag" || |
15025 |
- test ! -s conftest.err |
15026 |
- } && test -s conftest$ac_exeext && |
15027 |
- $as_test_x conftest$ac_exeext; then |
15028 |
- eval "$as_ac_var=yes" |
15029 |
-else |
15030 |
- echo "$as_me: failed program was:" >&5 |
15031 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15032 |
- |
15033 |
- eval "$as_ac_var=no" |
15034 |
-fi |
15035 |
- |
15036 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15037 |
- conftest$ac_exeext conftest.$ac_ext |
15038 |
-fi |
15039 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
15040 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
15041 |
-echo "${ECHO_T}$ac_res" >&6; } |
15042 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
15043 |
+ for ac_func in dlfunc dlinfo |
15044 |
+do : |
15045 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
15046 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
15047 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
15048 |
cat >>confdefs.h <<_ACEOF |
15049 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
15050 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
15051 |
_ACEOF |
15052 |
|
15053 |
fi |
15054 |
@@ -10639,52 +7492,27 @@ |
15055 |
# The GNU linker requires the -export-dynamic option to make |
15056 |
# all symbols visible in the dynamic symbol table. |
15057 |
hold_ldflags=$LDFLAGS |
15058 |
- { echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5 |
15059 |
-echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6; } |
15060 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ld -export-dynamic flag" >&5 |
15061 |
+$as_echo_n "checking for the ld -export-dynamic flag... " >&6; } |
15062 |
LDFLAGS="${LDFLAGS} -Wl,-export-dynamic" |
15063 |
- cat >conftest.$ac_ext <<_ACEOF |
15064 |
-/* confdefs.h. */ |
15065 |
-_ACEOF |
15066 |
-cat confdefs.h >>conftest.$ac_ext |
15067 |
-cat >>conftest.$ac_ext <<_ACEOF |
15068 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15069 |
/* end confdefs.h. */ |
15070 |
|
15071 |
int |
15072 |
main () |
15073 |
{ |
15074 |
-int i; |
15075 |
- ; |
15076 |
- return 0; |
15077 |
-} |
15078 |
-_ACEOF |
15079 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15080 |
-if { (ac_try="$ac_link" |
15081 |
-case "(($ac_try" in |
15082 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15083 |
- *) ac_try_echo=$ac_try;; |
15084 |
-esac |
15085 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15086 |
- (eval "$ac_link") 2>conftest.er1 |
15087 |
- ac_status=$? |
15088 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15089 |
- rm -f conftest.er1 |
15090 |
- cat conftest.err >&5 |
15091 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15092 |
- (exit $ac_status); } && { |
15093 |
- test -z "$ac_c_werror_flag" || |
15094 |
- test ! -s conftest.err |
15095 |
- } && test -s conftest$ac_exeext && |
15096 |
- $as_test_x conftest$ac_exeext; then |
15097 |
+int i; |
15098 |
+ ; |
15099 |
+ return 0; |
15100 |
+} |
15101 |
+_ACEOF |
15102 |
+if ac_fn_c_try_link "$LINENO"; then : |
15103 |
found=yes |
15104 |
else |
15105 |
- echo "$as_me: failed program was:" >&5 |
15106 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15107 |
- |
15108 |
- found=no |
15109 |
+ found=no |
15110 |
fi |
15111 |
- |
15112 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15113 |
- conftest$ac_exeext conftest.$ac_ext |
15114 |
+rm -f core conftest.err conftest.$ac_objext \ |
15115 |
+ conftest$ac_exeext conftest.$ac_ext |
15116 |
LDFLAGS=$hold_ldflags |
15117 |
|
15118 |
if expr "`uname -s`" : ^IRIX >/dev/null 2>&1; then |
15119 |
@@ -10692,58 +7520,58 @@ |
15120 |
LDFLAGS="${LDFLAGS} -Wl,-B,dynamic" |
15121 |
fi |
15122 |
|
15123 |
- { echo "$as_me:$LINENO: result: $found" >&5 |
15124 |
-echo "${ECHO_T}$found" >&6; } |
15125 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5 |
15126 |
+$as_echo "$found" >&6; } |
15127 |
|
15128 |
if test "$found" = yes; then |
15129 |
LDFLAGS="${LDFLAGS} -Wl,-export-dynamic" |
15130 |
fi |
15131 |
|
15132 |
- { echo "$as_me:$LINENO: checking for compiler option to produce PIC" >&5 |
15133 |
-echo $ECHO_N "checking for compiler option to produce PIC... $ECHO_C" >&6; } |
15134 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to produce PIC" >&5 |
15135 |
+$as_echo_n "checking for compiler option to produce PIC... " >&6; } |
15136 |
if test "$SGS" = "yes"; then |
15137 |
- { echo "$as_me:$LINENO: result: SVR4 SGS interfaces: -KPIC -DPIC -G" >&5 |
15138 |
-echo "${ECHO_T}SVR4 SGS interfaces: -KPIC -DPIC -G" >&6; } |
15139 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: SVR4 SGS interfaces: -KPIC -DPIC -G" >&5 |
15140 |
+$as_echo "SVR4 SGS interfaces: -KPIC -DPIC -G" >&6; } |
15141 |
PICFLAGS="-KPIC -DPIC -G" |
15142 |
fi |
15143 |
|
15144 |
if test "$AppleGCC" = "yes"; then |
15145 |
- { echo "$as_me:$LINENO: result: Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&5 |
15146 |
-echo "${ECHO_T}Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&6; } |
15147 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&5 |
15148 |
+$as_echo "Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&6; } |
15149 |
PICFLAGS="-fno-common -bundle -flat_namespace -undefined suppress" |
15150 |
fi |
15151 |
if test "$HPUX" = "yes" -a "$ac_cv_c_compiler_gnu" = no; then |
15152 |
- { echo "$as_me:$LINENO: result: HP-UX cc: +z -r -q -n" >&5 |
15153 |
-echo "${ECHO_T}HP-UX cc: +z -r -q -n" >&6; } |
15154 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP-UX cc: +z -r -q -n" >&5 |
15155 |
+$as_echo "HP-UX cc: +z -r -q -n" >&6; } |
15156 |
PICFLAGS="+z -r -q -n -c" |
15157 |
- { echo "$as_me:$LINENO: checking if +ESfic is required on this platform" >&5 |
15158 |
-echo $ECHO_N "checking if +ESfic is required on this platform... $ECHO_C" >&6; } |
15159 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if +ESfic is required on this platform" >&5 |
15160 |
+$as_echo_n "checking if +ESfic is required on this platform... " >&6; } |
15161 |
|
15162 |
if expr "`$CC +ESfic 2>&1`" : ".*neither supported.*" >/dev/null; then |
15163 |
- { echo "$as_me:$LINENO: result: no" >&5 |
15164 |
-echo "${ECHO_T}no" >&6; } |
15165 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15166 |
+$as_echo "no" >&6; } |
15167 |
else |
15168 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
15169 |
-echo "${ECHO_T}yes" >&6; } |
15170 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15171 |
+$as_echo "yes" >&6; } |
15172 |
PICFLAGS="$PICFLAGS +ESfic" |
15173 |
fi |
15174 |
|
15175 |
LDFLAGS="${LDFLAGS} -Wl,-E" |
15176 |
fi |
15177 |
if test "$Tru" = yes -a "$ac_cv_c_compiler_gnu" = no; then |
15178 |
- { echo "$as_me:$LINENO: result: Tru64: -shared -expect_unresolved '*'" >&5 |
15179 |
-echo "${ECHO_T}Tru64: -shared -expect_unresolved '*'" >&6; } |
15180 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Tru64: -shared -expect_unresolved '*'" >&5 |
15181 |
+$as_echo "Tru64: -shared -expect_unresolved '*'" >&6; } |
15182 |
PICFLAGS="-shared -expect_unresolved '*' " |
15183 |
LDFLAGS="-call_shared" |
15184 |
fi |
15185 |
if test -z "$PICFLAGS"; then |
15186 |
if test "$ac_cv_c_compiler_gnu" = "yes"; then |
15187 |
- { echo "$as_me:$LINENO: result: gcc: -fPIC -DPIC -shared" >&5 |
15188 |
-echo "${ECHO_T}gcc: -fPIC -DPIC -shared" >&6; } |
15189 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc: -fPIC -DPIC -shared" >&5 |
15190 |
+$as_echo "gcc: -fPIC -DPIC -shared" >&6; } |
15191 |
PICFLAGS="-fPIC -DPIC -shared" |
15192 |
else |
15193 |
- { echo "$as_me:$LINENO: result: no" >&5 |
15194 |
-echo "${ECHO_T}no" >&6; } |
15195 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15196 |
+$as_echo "no" >&6; } |
15197 |
shared_modules=no |
15198 |
fi |
15199 |
fi |
15200 |
@@ -10755,12 +7583,10 @@ |
15201 |
MODULES_LIBS="../modules/libmodules.a" |
15202 |
SEDOBJ="" |
15203 |
|
15204 |
-cat >>confdefs.h <<\_ACEOF |
15205 |
-#define STATIC_MODULES 1 |
15206 |
-_ACEOF |
15207 |
+$as_echo "#define STATIC_MODULES 1" >>confdefs.h |
15208 |
|
15209 |
- { echo "$as_me:$LINENO: WARNING: shared module support has been disabled!" >&5 |
15210 |
-echo "$as_me: WARNING: shared module support has been disabled!" >&2;} |
15211 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shared module support has been disabled!" >&5 |
15212 |
+$as_echo "$as_me: WARNING: shared module support has been disabled!" >&2;} |
15213 |
fi |
15214 |
|
15215 |
|
15216 |
@@ -10825,12 +7651,13 @@ |
15217 |
case $ac_val in #( |
15218 |
*${as_nl}*) |
15219 |
case $ac_var in #( |
15220 |
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
15221 |
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
15222 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
15223 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
15224 |
esac |
15225 |
case $ac_var in #( |
15226 |
_ | IFS | as_nl) ;; #( |
15227 |
- *) $as_unset $ac_var ;; |
15228 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
15229 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
15230 |
esac ;; |
15231 |
esac |
15232 |
done |
15233 |
@@ -10838,8 +7665,8 @@ |
15234 |
(set) 2>&1 | |
15235 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
15236 |
*${as_nl}ac_space=\ *) |
15237 |
- # `set' does not quote correctly, so add quotes (double-quote |
15238 |
- # substitution turns \\\\ into \\, and sed turns \\ into \). |
15239 |
+ # `set' does not quote correctly, so add quotes: double-quote |
15240 |
+ # substitution turns \\\\ into \\, and sed turns \\ into \. |
15241 |
sed -n \ |
15242 |
"s/'/'\\\\''/g; |
15243 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
15244 |
@@ -10861,13 +7688,24 @@ |
15245 |
:end' >>confcache |
15246 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
15247 |
if test -w "$cache_file"; then |
15248 |
- test "x$cache_file" != "x/dev/null" && |
15249 |
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
15250 |
-echo "$as_me: updating cache $cache_file" >&6;} |
15251 |
- cat confcache >$cache_file |
15252 |
+ if test "x$cache_file" != "x/dev/null"; then |
15253 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
15254 |
+$as_echo "$as_me: updating cache $cache_file" >&6;} |
15255 |
+ if test ! -f "$cache_file" || test -h "$cache_file"; then |
15256 |
+ cat confcache >"$cache_file" |
15257 |
+ else |
15258 |
+ case $cache_file in #( |
15259 |
+ */* | ?:*) |
15260 |
+ mv -f confcache "$cache_file"$$ && |
15261 |
+ mv -f "$cache_file"$$ "$cache_file" ;; #( |
15262 |
+ *) |
15263 |
+ mv -f confcache "$cache_file" ;; |
15264 |
+ esac |
15265 |
+ fi |
15266 |
+ fi |
15267 |
else |
15268 |
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
15269 |
-echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
15270 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
15271 |
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
15272 |
fi |
15273 |
fi |
15274 |
rm -f confcache |
15275 |
@@ -10880,14 +7718,15 @@ |
15276 |
|
15277 |
ac_libobjs= |
15278 |
ac_ltlibobjs= |
15279 |
+U= |
15280 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
15281 |
# 1. Remove the extension, and $U if already installed. |
15282 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
15283 |
- ac_i=`echo "$ac_i" | sed "$ac_script"` |
15284 |
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
15285 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
15286 |
# will be set to the directory where LIBOBJS objects are built. |
15287 |
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
15288 |
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
15289 |
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
15290 |
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
15291 |
done |
15292 |
LIBOBJS=$ac_libobjs |
15293 |
|
15294 |
@@ -10895,12 +7734,15 @@ |
15295 |
|
15296 |
|
15297 |
|
15298 |
-: ${CONFIG_STATUS=./config.status} |
15299 |
+ |
15300 |
+: "${CONFIG_STATUS=./config.status}" |
15301 |
+ac_write_fail=0 |
15302 |
ac_clean_files_save=$ac_clean_files |
15303 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
15304 |
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
15305 |
-echo "$as_me: creating $CONFIG_STATUS" >&6;} |
15306 |
-cat >$CONFIG_STATUS <<_ACEOF |
15307 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
15308 |
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
15309 |
+as_write_fail=0 |
15310 |
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
15311 |
#! $SHELL |
15312 |
# Generated by $as_me. |
15313 |
# Run this file to recreate the current configuration. |
15314 |
@@ -10910,59 +7752,79 @@ |
15315 |
debug=false |
15316 |
ac_cs_recheck=false |
15317 |
ac_cs_silent=false |
15318 |
-SHELL=\${CONFIG_SHELL-$SHELL} |
15319 |
-_ACEOF |
15320 |
|
15321 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
15322 |
-## --------------------- ## |
15323 |
-## M4sh Initialization. ## |
15324 |
-## --------------------- ## |
15325 |
+SHELL=\${CONFIG_SHELL-$SHELL} |
15326 |
+export SHELL |
15327 |
+_ASEOF |
15328 |
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
15329 |
+## -------------------- ## |
15330 |
+## M4sh Initialization. ## |
15331 |
+## -------------------- ## |
15332 |
|
15333 |
# Be more Bourne compatible |
15334 |
DUALCASE=1; export DUALCASE # for MKS sh |
15335 |
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
15336 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
15337 |
emulate sh |
15338 |
NULLCMD=: |
15339 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
15340 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
15341 |
# is contrary to our usage. Disable this feature. |
15342 |
alias -g '${1+"$@"}'='"$@"' |
15343 |
setopt NO_GLOB_SUBST |
15344 |
else |
15345 |
- case `(set -o) 2>/dev/null` in |
15346 |
- *posix*) set -o posix ;; |
15347 |
+ case `(set -o) 2>/dev/null` in #( |
15348 |
+ *posix*) : |
15349 |
+ set -o posix ;; #( |
15350 |
+ *) : |
15351 |
+ ;; |
15352 |
esac |
15353 |
- |
15354 |
fi |
15355 |
|
15356 |
|
15357 |
- |
15358 |
- |
15359 |
-# PATH needs CR |
15360 |
-# Avoid depending upon Character Ranges. |
15361 |
-as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
15362 |
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
15363 |
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
15364 |
-as_cr_digits='0123456789' |
15365 |
-as_cr_alnum=$as_cr_Letters$as_cr_digits |
15366 |
- |
15367 |
-# The user is always right. |
15368 |
-if test "${PATH_SEPARATOR+set}" != set; then |
15369 |
- echo "#! /bin/sh" >conf$$.sh |
15370 |
- echo "exit 0" >>conf$$.sh |
15371 |
- chmod +x conf$$.sh |
15372 |
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
15373 |
- PATH_SEPARATOR=';' |
15374 |
+as_nl=' |
15375 |
+' |
15376 |
+export as_nl |
15377 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
15378 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
15379 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
15380 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
15381 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
15382 |
+# but without wasting forks for bash or zsh. |
15383 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
15384 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
15385 |
+ as_echo='print -r --' |
15386 |
+ as_echo_n='print -rn --' |
15387 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
15388 |
+ as_echo='printf %s\n' |
15389 |
+ as_echo_n='printf %s' |
15390 |
+else |
15391 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
15392 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
15393 |
+ as_echo_n='/usr/ucb/echo -n' |
15394 |
else |
15395 |
- PATH_SEPARATOR=: |
15396 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
15397 |
+ as_echo_n_body='eval |
15398 |
+ arg=$1; |
15399 |
+ case $arg in #( |
15400 |
+ *"$as_nl"*) |
15401 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
15402 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
15403 |
+ esac; |
15404 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
15405 |
+ ' |
15406 |
+ export as_echo_n_body |
15407 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
15408 |
fi |
15409 |
- rm -f conf$$.sh |
15410 |
+ export as_echo_body |
15411 |
+ as_echo='sh -c $as_echo_body as_echo' |
15412 |
fi |
15413 |
|
15414 |
-# Support unset when possible. |
15415 |
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
15416 |
- as_unset=unset |
15417 |
-else |
15418 |
- as_unset=false |
15419 |
+# The user is always right. |
15420 |
+if test "${PATH_SEPARATOR+set}" != set; then |
15421 |
+ PATH_SEPARATOR=: |
15422 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
15423 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
15424 |
+ PATH_SEPARATOR=';' |
15425 |
+ } |
15426 |
fi |
15427 |
|
15428 |
|
15429 |
@@ -10971,20 +7833,19 @@ |
15430 |
# there to prevent editors from complaining about space-tab. |
15431 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
15432 |
# splitting by setting IFS to empty value.) |
15433 |
-as_nl=' |
15434 |
-' |
15435 |
IFS=" "" $as_nl" |
15436 |
|
15437 |
# Find who we are. Look in the path if we contain no directory separator. |
15438 |
-case $0 in |
15439 |
+as_myself= |
15440 |
+case $0 in #(( |
15441 |
*[\\/]* ) as_myself=$0 ;; |
15442 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
15443 |
for as_dir in $PATH |
15444 |
do |
15445 |
IFS=$as_save_IFS |
15446 |
test -z "$as_dir" && as_dir=. |
15447 |
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
15448 |
-done |
15449 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
15450 |
+ done |
15451 |
IFS=$as_save_IFS |
15452 |
|
15453 |
;; |
15454 |
@@ -10995,32 +7856,111 @@ |
15455 |
as_myself=$0 |
15456 |
fi |
15457 |
if test ! -f "$as_myself"; then |
15458 |
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
15459 |
- { (exit 1); exit 1; } |
15460 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
15461 |
+ exit 1 |
15462 |
fi |
15463 |
|
15464 |
-# Work around bugs in pre-3.0 UWIN ksh. |
15465 |
-for as_var in ENV MAIL MAILPATH |
15466 |
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
15467 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
15468 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
15469 |
+# suppresses any "Segmentation fault" message there. '((' could |
15470 |
+# trigger a bug in pdksh 5.2.14. |
15471 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
15472 |
+do eval test x\${$as_var+set} = xset \ |
15473 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
15474 |
done |
15475 |
PS1='$ ' |
15476 |
PS2='> ' |
15477 |
PS4='+ ' |
15478 |
|
15479 |
# NLS nuisances. |
15480 |
-for as_var in \ |
15481 |
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
15482 |
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
15483 |
- LC_TELEPHONE LC_TIME |
15484 |
-do |
15485 |
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
15486 |
- eval $as_var=C; export $as_var |
15487 |
- else |
15488 |
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
15489 |
- fi |
15490 |
-done |
15491 |
+LC_ALL=C |
15492 |
+export LC_ALL |
15493 |
+LANGUAGE=C |
15494 |
+export LANGUAGE |
15495 |
+ |
15496 |
+# CDPATH. |
15497 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
15498 |
+ |
15499 |
+ |
15500 |
+# as_fn_error STATUS ERROR [LINENO LOG_FD] |
15501 |
+# ---------------------------------------- |
15502 |
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
15503 |
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
15504 |
+# script with STATUS, using 1 if that was 0. |
15505 |
+as_fn_error () |
15506 |
+{ |
15507 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
15508 |
+ if test "$4"; then |
15509 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
15510 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
15511 |
+ fi |
15512 |
+ $as_echo "$as_me: error: $2" >&2 |
15513 |
+ as_fn_exit $as_status |
15514 |
+} # as_fn_error |
15515 |
+ |
15516 |
+ |
15517 |
+# as_fn_set_status STATUS |
15518 |
+# ----------------------- |
15519 |
+# Set $? to STATUS, without forking. |
15520 |
+as_fn_set_status () |
15521 |
+{ |
15522 |
+ return $1 |
15523 |
+} # as_fn_set_status |
15524 |
+ |
15525 |
+# as_fn_exit STATUS |
15526 |
+# ----------------- |
15527 |
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
15528 |
+as_fn_exit () |
15529 |
+{ |
15530 |
+ set +e |
15531 |
+ as_fn_set_status $1 |
15532 |
+ exit $1 |
15533 |
+} # as_fn_exit |
15534 |
+ |
15535 |
+# as_fn_unset VAR |
15536 |
+# --------------- |
15537 |
+# Portably unset VAR. |
15538 |
+as_fn_unset () |
15539 |
+{ |
15540 |
+ { eval $1=; unset $1;} |
15541 |
+} |
15542 |
+as_unset=as_fn_unset |
15543 |
+# as_fn_append VAR VALUE |
15544 |
+# ---------------------- |
15545 |
+# Append the text in VALUE to the end of the definition contained in VAR. Take |
15546 |
+# advantage of any shell optimizations that allow amortized linear growth over |
15547 |
+# repeated appends, instead of the typical quadratic growth present in naive |
15548 |
+# implementations. |
15549 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
15550 |
+ eval 'as_fn_append () |
15551 |
+ { |
15552 |
+ eval $1+=\$2 |
15553 |
+ }' |
15554 |
+else |
15555 |
+ as_fn_append () |
15556 |
+ { |
15557 |
+ eval $1=\$$1\$2 |
15558 |
+ } |
15559 |
+fi # as_fn_append |
15560 |
+ |
15561 |
+# as_fn_arith ARG... |
15562 |
+# ------------------ |
15563 |
+# Perform arithmetic evaluation on the ARGs, and store the result in the |
15564 |
+# global $as_val. Take advantage of shells that can avoid forks. The arguments |
15565 |
+# must be portable across $(()) and expr. |
15566 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
15567 |
+ eval 'as_fn_arith () |
15568 |
+ { |
15569 |
+ as_val=$(( $* )) |
15570 |
+ }' |
15571 |
+else |
15572 |
+ as_fn_arith () |
15573 |
+ { |
15574 |
+ as_val=`expr "$@" || test $? -eq 1` |
15575 |
+ } |
15576 |
+fi # as_fn_arith |
15577 |
+ |
15578 |
|
15579 |
-# Required to use basename. |
15580 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
15581 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
15582 |
as_expr=expr |
15583 |
@@ -11034,13 +7974,17 @@ |
15584 |
as_basename=false |
15585 |
fi |
15586 |
|
15587 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
15588 |
+ as_dirname=dirname |
15589 |
+else |
15590 |
+ as_dirname=false |
15591 |
+fi |
15592 |
|
15593 |
-# Name of the executable. |
15594 |
as_me=`$as_basename -- "$0" || |
15595 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
15596 |
X"$0" : 'X\(//\)$' \| \ |
15597 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
15598 |
-echo X/"$0" | |
15599 |
+$as_echo X/"$0" | |
15600 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
15601 |
s//\1/ |
15602 |
q |
15603 |
@@ -11055,131 +7999,118 @@ |
15604 |
} |
15605 |
s/.*/./; q'` |
15606 |
|
15607 |
-# CDPATH. |
15608 |
-$as_unset CDPATH |
15609 |
- |
15610 |
- |
15611 |
- |
15612 |
- as_lineno_1=$LINENO |
15613 |
- as_lineno_2=$LINENO |
15614 |
- test "x$as_lineno_1" != "x$as_lineno_2" && |
15615 |
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
15616 |
- |
15617 |
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
15618 |
- # uniformly replaced by the line number. The first 'sed' inserts a |
15619 |
- # line-number line after each line using $LINENO; the second 'sed' |
15620 |
- # does the real work. The second script uses 'N' to pair each |
15621 |
- # line-number line with the line containing $LINENO, and appends |
15622 |
- # trailing '-' during substitution so that $LINENO is not a special |
15623 |
- # case at line end. |
15624 |
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
15625 |
- # scripts with optimization help from Paolo Bonzini. Blame Lee |
15626 |
- # E. McMahon (1931-1989) for sed's syntax. :-) |
15627 |
- sed -n ' |
15628 |
- p |
15629 |
- /[$]LINENO/= |
15630 |
- ' <$as_myself | |
15631 |
- sed ' |
15632 |
- s/[$]LINENO.*/&-/ |
15633 |
- t lineno |
15634 |
- b |
15635 |
- :lineno |
15636 |
- N |
15637 |
- :loop |
15638 |
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
15639 |
- t loop |
15640 |
- s/-\n.*// |
15641 |
- ' >$as_me.lineno && |
15642 |
- chmod +x "$as_me.lineno" || |
15643 |
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
15644 |
- { (exit 1); exit 1; }; } |
15645 |
- |
15646 |
- # Don't try to exec as it changes $[0], causing all sort of problems |
15647 |
- # (the dirname of $[0] is not the place where we might find the |
15648 |
- # original and so on. Autoconf is especially sensitive to this). |
15649 |
- . "./$as_me.lineno" |
15650 |
- # Exit status is that of the last command. |
15651 |
- exit |
15652 |
-} |
15653 |
- |
15654 |
- |
15655 |
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
15656 |
- as_dirname=dirname |
15657 |
-else |
15658 |
- as_dirname=false |
15659 |
-fi |
15660 |
+# Avoid depending upon Character Ranges. |
15661 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
15662 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
15663 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
15664 |
+as_cr_digits='0123456789' |
15665 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
15666 |
|
15667 |
ECHO_C= ECHO_N= ECHO_T= |
15668 |
-case `echo -n x` in |
15669 |
+case `echo -n x` in #((((( |
15670 |
-n*) |
15671 |
- case `echo 'x\c'` in |
15672 |
+ case `echo 'xy\c'` in |
15673 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
15674 |
- *) ECHO_C='\c';; |
15675 |
+ xy) ECHO_C='\c';; |
15676 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
15677 |
+ ECHO_T=' ';; |
15678 |
esac;; |
15679 |
*) |
15680 |
ECHO_N='-n';; |
15681 |
esac |
15682 |
|
15683 |
-if expr a : '\(a\)' >/dev/null 2>&1 && |
15684 |
- test "X`expr 00001 : '.*\(...\)'`" = X001; then |
15685 |
- as_expr=expr |
15686 |
-else |
15687 |
- as_expr=false |
15688 |
-fi |
15689 |
- |
15690 |
rm -f conf$$ conf$$.exe conf$$.file |
15691 |
if test -d conf$$.dir; then |
15692 |
rm -f conf$$.dir/conf$$.file |
15693 |
else |
15694 |
rm -f conf$$.dir |
15695 |
- mkdir conf$$.dir |
15696 |
+ mkdir conf$$.dir 2>/dev/null |
15697 |
fi |
15698 |
-echo >conf$$.file |
15699 |
-if ln -s conf$$.file conf$$ 2>/dev/null; then |
15700 |
- as_ln_s='ln -s' |
15701 |
- # ... but there are two gotchas: |
15702 |
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
15703 |
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
15704 |
- # In both cases, we have to default to `cp -p'. |
15705 |
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
15706 |
- as_ln_s='cp -p' |
15707 |
-elif ln conf$$.file conf$$ 2>/dev/null; then |
15708 |
- as_ln_s=ln |
15709 |
+if (echo >conf$$.file) 2>/dev/null; then |
15710 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
15711 |
+ as_ln_s='ln -s' |
15712 |
+ # ... but there are two gotchas: |
15713 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
15714 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
15715 |
+ # In both cases, we have to default to `cp -pR'. |
15716 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
15717 |
+ as_ln_s='cp -pR' |
15718 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
15719 |
+ as_ln_s=ln |
15720 |
+ else |
15721 |
+ as_ln_s='cp -pR' |
15722 |
+ fi |
15723 |
else |
15724 |
- as_ln_s='cp -p' |
15725 |
+ as_ln_s='cp -pR' |
15726 |
fi |
15727 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
15728 |
rmdir conf$$.dir 2>/dev/null |
15729 |
|
15730 |
+ |
15731 |
+# as_fn_mkdir_p |
15732 |
+# ------------- |
15733 |
+# Create "$as_dir" as a directory, including parents if necessary. |
15734 |
+as_fn_mkdir_p () |
15735 |
+{ |
15736 |
+ |
15737 |
+ case $as_dir in #( |
15738 |
+ -*) as_dir=./$as_dir;; |
15739 |
+ esac |
15740 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
15741 |
+ as_dirs= |
15742 |
+ while :; do |
15743 |
+ case $as_dir in #( |
15744 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
15745 |
+ *) as_qdir=$as_dir;; |
15746 |
+ esac |
15747 |
+ as_dirs="'$as_qdir' $as_dirs" |
15748 |
+ as_dir=`$as_dirname -- "$as_dir" || |
15749 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
15750 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
15751 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
15752 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
15753 |
+$as_echo X"$as_dir" | |
15754 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
15755 |
+ s//\1/ |
15756 |
+ q |
15757 |
+ } |
15758 |
+ /^X\(\/\/\)[^/].*/{ |
15759 |
+ s//\1/ |
15760 |
+ q |
15761 |
+ } |
15762 |
+ /^X\(\/\/\)$/{ |
15763 |
+ s//\1/ |
15764 |
+ q |
15765 |
+ } |
15766 |
+ /^X\(\/\).*/{ |
15767 |
+ s//\1/ |
15768 |
+ q |
15769 |
+ } |
15770 |
+ s/.*/./; q'` |
15771 |
+ test -d "$as_dir" && break |
15772 |
+ done |
15773 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
15774 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
15775 |
+ |
15776 |
+ |
15777 |
+} # as_fn_mkdir_p |
15778 |
if mkdir -p . 2>/dev/null; then |
15779 |
- as_mkdir_p=: |
15780 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
15781 |
else |
15782 |
test -d ./-p && rmdir ./-p |
15783 |
as_mkdir_p=false |
15784 |
fi |
15785 |
|
15786 |
-if test -x / >/dev/null 2>&1; then |
15787 |
- as_test_x='test -x' |
15788 |
-else |
15789 |
- if ls -dL / >/dev/null 2>&1; then |
15790 |
- as_ls_L_option=L |
15791 |
- else |
15792 |
- as_ls_L_option= |
15793 |
- fi |
15794 |
- as_test_x=' |
15795 |
- eval sh -c '\'' |
15796 |
- if test -d "$1"; then |
15797 |
- test -d "$1/."; |
15798 |
- else |
15799 |
- case $1 in |
15800 |
- -*)set "./$1";; |
15801 |
- esac; |
15802 |
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
15803 |
- ???[sx]*):;;*)false;;esac;fi |
15804 |
- '\'' sh |
15805 |
- ' |
15806 |
-fi |
15807 |
-as_executable_p=$as_test_x |
15808 |
+ |
15809 |
+# as_fn_executable_p FILE |
15810 |
+# ----------------------- |
15811 |
+# Test if FILE is an executable regular file. |
15812 |
+as_fn_executable_p () |
15813 |
+{ |
15814 |
+ test -f "$1" && test -x "$1" |
15815 |
+} # as_fn_executable_p |
15816 |
+as_test_x='test -x' |
15817 |
+as_executable_p=as_fn_executable_p |
15818 |
|
15819 |
# Sed expression to map a string onto a valid CPP name. |
15820 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
15821 |
@@ -11189,13 +8120,19 @@ |
15822 |
|
15823 |
|
15824 |
exec 6>&1 |
15825 |
+## ----------------------------------- ## |
15826 |
+## Main body of $CONFIG_STATUS script. ## |
15827 |
+## ----------------------------------- ## |
15828 |
+_ASEOF |
15829 |
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
15830 |
|
15831 |
-# Save the log message, to keep $[0] and so on meaningful, and to |
15832 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15833 |
+# Save the log message, to keep $0 and so on meaningful, and to |
15834 |
# report actual input values of CONFIG_FILES etc. instead of their |
15835 |
# values after options handling. |
15836 |
ac_log=" |
15837 |
-This file was extended by ircd-hybrid $as_me 7.2.4, which was |
15838 |
-generated by GNU Autoconf 2.61. Invocation command line was |
15839 |
+This file was extended by ircd-hybrid $as_me 7.2.2, which was |
15840 |
+generated by GNU Autoconf 2.69. Invocation command line was |
15841 |
|
15842 |
CONFIG_FILES = $CONFIG_FILES |
15843 |
CONFIG_HEADERS = $CONFIG_HEADERS |
15844 |
@@ -11208,29 +8145,41 @@ |
15845 |
|
15846 |
_ACEOF |
15847 |
|
15848 |
-cat >>$CONFIG_STATUS <<_ACEOF |
15849 |
+case $ac_config_files in *" |
15850 |
+"*) set x $ac_config_files; shift; ac_config_files=$*;; |
15851 |
+esac |
15852 |
+ |
15853 |
+case $ac_config_headers in *" |
15854 |
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
15855 |
+esac |
15856 |
+ |
15857 |
+ |
15858 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15859 |
# Files that config.status was made for. |
15860 |
config_files="$ac_config_files" |
15861 |
config_headers="$ac_config_headers" |
15862 |
|
15863 |
_ACEOF |
15864 |
|
15865 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
15866 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15867 |
ac_cs_usage="\ |
15868 |
-\`$as_me' instantiates files from templates according to the |
15869 |
-current configuration. |
15870 |
+\`$as_me' instantiates files and other configuration actions |
15871 |
+from templates according to the current configuration. Unless the files |
15872 |
+and actions are specified as TAGs, all are instantiated by default. |
15873 |
|
15874 |
-Usage: $0 [OPTIONS] [FILE]... |
15875 |
+Usage: $0 [OPTION]... [TAG]... |
15876 |
|
15877 |
-h, --help print this help, then exit |
15878 |
-V, --version print version number and configuration settings, then exit |
15879 |
- -q, --quiet do not print progress messages |
15880 |
+ --config print configuration, then exit |
15881 |
+ -q, --quiet, --silent |
15882 |
+ do not print progress messages |
15883 |
-d, --debug don't remove temporary files |
15884 |
--recheck update $as_me by reconfiguring in the same conditions |
15885 |
- --file=FILE[:TEMPLATE] |
15886 |
- instantiate the configuration file FILE |
15887 |
- --header=FILE[:TEMPLATE] |
15888 |
- instantiate the configuration header FILE |
15889 |
+ --file=FILE[:TEMPLATE] |
15890 |
+ instantiate the configuration file FILE |
15891 |
+ --header=FILE[:TEMPLATE] |
15892 |
+ instantiate the configuration header FILE |
15893 |
|
15894 |
Configuration files: |
15895 |
$config_files |
15896 |
@@ -11238,36 +8187,42 @@ |
15897 |
Configuration headers: |
15898 |
$config_headers |
15899 |
|
15900 |
-Report bugs to <bug-autoconf@gnu.org>." |
15901 |
+Report bugs to the package provider." |
15902 |
|
15903 |
_ACEOF |
15904 |
-cat >>$CONFIG_STATUS <<_ACEOF |
15905 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15906 |
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15907 |
ac_cs_version="\\ |
15908 |
-ircd-hybrid config.status 7.2.4 |
15909 |
-configured by $0, generated by GNU Autoconf 2.61, |
15910 |
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
15911 |
+ircd-hybrid config.status 7.2.2 |
15912 |
+configured by $0, generated by GNU Autoconf 2.69, |
15913 |
+ with options \\"\$ac_cs_config\\" |
15914 |
|
15915 |
-Copyright (C) 2006 Free Software Foundation, Inc. |
15916 |
+Copyright (C) 2012 Free Software Foundation, Inc. |
15917 |
This config.status script is free software; the Free Software Foundation |
15918 |
gives unlimited permission to copy, distribute and modify it." |
15919 |
|
15920 |
ac_pwd='$ac_pwd' |
15921 |
srcdir='$srcdir' |
15922 |
INSTALL='$INSTALL' |
15923 |
+test -n "\$AWK" || AWK=awk |
15924 |
_ACEOF |
15925 |
|
15926 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
15927 |
-# If no file are specified by the user, then we need to provide default |
15928 |
-# value. By we need to know if files were specified by the user. |
15929 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15930 |
+# The default lists apply if the user does not specify any file. |
15931 |
ac_need_defaults=: |
15932 |
while test $# != 0 |
15933 |
do |
15934 |
case $1 in |
15935 |
- --*=*) |
15936 |
+ --*=?*) |
15937 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15938 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
15939 |
ac_shift=: |
15940 |
;; |
15941 |
+ --*=) |
15942 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15943 |
+ ac_optarg= |
15944 |
+ ac_shift=: |
15945 |
+ ;; |
15946 |
*) |
15947 |
ac_option=$1 |
15948 |
ac_optarg=$2 |
15949 |
@@ -11280,34 +8235,41 @@ |
15950 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
15951 |
ac_cs_recheck=: ;; |
15952 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
15953 |
- echo "$ac_cs_version"; exit ;; |
15954 |
+ $as_echo "$ac_cs_version"; exit ;; |
15955 |
+ --config | --confi | --conf | --con | --co | --c ) |
15956 |
+ $as_echo "$ac_cs_config"; exit ;; |
15957 |
--debug | --debu | --deb | --de | --d | -d ) |
15958 |
debug=: ;; |
15959 |
--file | --fil | --fi | --f ) |
15960 |
$ac_shift |
15961 |
- CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
15962 |
+ case $ac_optarg in |
15963 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
15964 |
+ '') as_fn_error $? "missing file argument" ;; |
15965 |
+ esac |
15966 |
+ as_fn_append CONFIG_FILES " '$ac_optarg'" |
15967 |
ac_need_defaults=false;; |
15968 |
--header | --heade | --head | --hea ) |
15969 |
$ac_shift |
15970 |
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
15971 |
+ case $ac_optarg in |
15972 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
15973 |
+ esac |
15974 |
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
15975 |
ac_need_defaults=false;; |
15976 |
--he | --h) |
15977 |
# Conflict between --help and --header |
15978 |
- { echo "$as_me: error: ambiguous option: $1 |
15979 |
-Try \`$0 --help' for more information." >&2 |
15980 |
- { (exit 1); exit 1; }; };; |
15981 |
+ as_fn_error $? "ambiguous option: \`$1' |
15982 |
+Try \`$0 --help' for more information.";; |
15983 |
--help | --hel | -h ) |
15984 |
- echo "$ac_cs_usage"; exit ;; |
15985 |
+ $as_echo "$ac_cs_usage"; exit ;; |
15986 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
15987 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
15988 |
ac_cs_silent=: ;; |
15989 |
|
15990 |
# This is an error. |
15991 |
- -*) { echo "$as_me: error: unrecognized option: $1 |
15992 |
-Try \`$0 --help' for more information." >&2 |
15993 |
- { (exit 1); exit 1; }; } ;; |
15994 |
+ -*) as_fn_error $? "unrecognized option: \`$1' |
15995 |
+Try \`$0 --help' for more information." ;; |
15996 |
|
15997 |
- *) ac_config_targets="$ac_config_targets $1" |
15998 |
+ *) as_fn_append ac_config_targets " $1" |
15999 |
ac_need_defaults=false ;; |
16000 |
|
16001 |
esac |
16002 |
@@ -11322,30 +8284,32 @@ |
16003 |
fi |
16004 |
|
16005 |
_ACEOF |
16006 |
-cat >>$CONFIG_STATUS <<_ACEOF |
16007 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16008 |
if \$ac_cs_recheck; then |
16009 |
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
16010 |
- CONFIG_SHELL=$SHELL |
16011 |
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
16012 |
+ shift |
16013 |
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
16014 |
+ CONFIG_SHELL='$SHELL' |
16015 |
export CONFIG_SHELL |
16016 |
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
16017 |
+ exec "\$@" |
16018 |
fi |
16019 |
|
16020 |
_ACEOF |
16021 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
16022 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16023 |
exec 5>>config.log |
16024 |
{ |
16025 |
echo |
16026 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
16027 |
## Running $as_me. ## |
16028 |
_ASBOX |
16029 |
- echo "$ac_log" |
16030 |
+ $as_echo "$ac_log" |
16031 |
} >&5 |
16032 |
|
16033 |
_ACEOF |
16034 |
-cat >>$CONFIG_STATUS <<_ACEOF |
16035 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16036 |
_ACEOF |
16037 |
|
16038 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
16039 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16040 |
|
16041 |
# Handling of arguments. |
16042 |
for ac_config_target in $ac_config_targets |
16043 |
@@ -11366,9 +8330,7 @@ |
16044 |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
16045 |
"lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;; |
16046 |
|
16047 |
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
16048 |
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
16049 |
- { (exit 1); exit 1; }; };; |
16050 |
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
16051 |
esac |
16052 |
done |
16053 |
|
16054 |
@@ -11390,194 +8352,302 @@ |
16055 |
# after its creation but before its name has been assigned to `$tmp'. |
16056 |
$debug || |
16057 |
{ |
16058 |
- tmp= |
16059 |
+ tmp= ac_tmp= |
16060 |
trap 'exit_status=$? |
16061 |
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
16062 |
+ : "${ac_tmp:=$tmp}" |
16063 |
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
16064 |
' 0 |
16065 |
- trap '{ (exit 1); exit 1; }' 1 2 13 15 |
16066 |
+ trap 'as_fn_exit 1' 1 2 13 15 |
16067 |
} |
16068 |
# Create a (secure) tmp directory for tmp files. |
16069 |
|
16070 |
{ |
16071 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
16072 |
- test -n "$tmp" && test -d "$tmp" |
16073 |
+ test -d "$tmp" |
16074 |
} || |
16075 |
{ |
16076 |
tmp=./conf$$-$RANDOM |
16077 |
(umask 077 && mkdir "$tmp") |
16078 |
-} || |
16079 |
-{ |
16080 |
- echo "$me: cannot create a temporary directory in ." >&2 |
16081 |
- { (exit 1); exit 1; } |
16082 |
-} |
16083 |
- |
16084 |
-# |
16085 |
-# Set up the sed scripts for CONFIG_FILES section. |
16086 |
-# |
16087 |
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
16088 |
+ac_tmp=$tmp |
16089 |
|
16090 |
-# No need to generate the scripts if there are no CONFIG_FILES. |
16091 |
-# This happens for instance when ./config.status config.h |
16092 |
+# Set up the scripts for CONFIG_FILES section. |
16093 |
+# No need to generate them if there are no CONFIG_FILES. |
16094 |
+# This happens for instance with `./config.status config.h'. |
16095 |
if test -n "$CONFIG_FILES"; then |
16096 |
|
16097 |
-_ACEOF |
16098 |
|
16099 |
+ac_cr=`echo X | tr X '\015'` |
16100 |
+# On cygwin, bash can eat \r inside `` if the user requested igncr. |
16101 |
+# But we know of no other shell where ac_cr would be empty at this |
16102 |
+# point, so we can use a bashism as a fallback. |
16103 |
+if test "x$ac_cr" = x; then |
16104 |
+ eval ac_cr=\$\'\\r\' |
16105 |
+fi |
16106 |
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
16107 |
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
16108 |
+ ac_cs_awk_cr='\\r' |
16109 |
+else |
16110 |
+ ac_cs_awk_cr=$ac_cr |
16111 |
+fi |
16112 |
+ |
16113 |
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
16114 |
+_ACEOF |
16115 |
|
16116 |
|
16117 |
+{ |
16118 |
+ echo "cat >conf$$subs.awk <<_ACEOF" && |
16119 |
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
16120 |
+ echo "_ACEOF" |
16121 |
+} >conf$$subs.sh || |
16122 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
16123 |
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
16124 |
ac_delim='%!_!# ' |
16125 |
for ac_last_try in false false false false false :; do |
16126 |
- cat >conf$$subs.sed <<_ACEOF |
16127 |
-SHELL!$SHELL$ac_delim |
16128 |
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
16129 |
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
16130 |
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
16131 |
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
16132 |
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
16133 |
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
16134 |
-exec_prefix!$exec_prefix$ac_delim |
16135 |
-prefix!$prefix$ac_delim |
16136 |
-program_transform_name!$program_transform_name$ac_delim |
16137 |
-bindir!$bindir$ac_delim |
16138 |
-sbindir!$sbindir$ac_delim |
16139 |
-libexecdir!$libexecdir$ac_delim |
16140 |
-datarootdir!$datarootdir$ac_delim |
16141 |
-datadir!$datadir$ac_delim |
16142 |
-sysconfdir!$sysconfdir$ac_delim |
16143 |
-sharedstatedir!$sharedstatedir$ac_delim |
16144 |
-localstatedir!$localstatedir$ac_delim |
16145 |
-includedir!$includedir$ac_delim |
16146 |
-oldincludedir!$oldincludedir$ac_delim |
16147 |
-docdir!$docdir$ac_delim |
16148 |
-infodir!$infodir$ac_delim |
16149 |
-htmldir!$htmldir$ac_delim |
16150 |
-dvidir!$dvidir$ac_delim |
16151 |
-pdfdir!$pdfdir$ac_delim |
16152 |
-psdir!$psdir$ac_delim |
16153 |
-libdir!$libdir$ac_delim |
16154 |
-localedir!$localedir$ac_delim |
16155 |
-mandir!$mandir$ac_delim |
16156 |
-DEFS!$DEFS$ac_delim |
16157 |
-ECHO_C!$ECHO_C$ac_delim |
16158 |
-ECHO_N!$ECHO_N$ac_delim |
16159 |
-ECHO_T!$ECHO_T$ac_delim |
16160 |
-LIBS!$LIBS$ac_delim |
16161 |
-build_alias!$build_alias$ac_delim |
16162 |
-host_alias!$host_alias$ac_delim |
16163 |
-target_alias!$target_alias$ac_delim |
16164 |
-CC!$CC$ac_delim |
16165 |
-CFLAGS!$CFLAGS$ac_delim |
16166 |
-LDFLAGS!$LDFLAGS$ac_delim |
16167 |
-CPPFLAGS!$CPPFLAGS$ac_delim |
16168 |
-ac_ct_CC!$ac_ct_CC$ac_delim |
16169 |
-EXEEXT!$EXEEXT$ac_delim |
16170 |
-OBJEXT!$OBJEXT$ac_delim |
16171 |
-MKDEP!$MKDEP$ac_delim |
16172 |
-MAKEDEPEND!$MAKEDEPEND$ac_delim |
16173 |
-STDOUT!$STDOUT$ac_delim |
16174 |
-CPP!$CPP$ac_delim |
16175 |
-GREP!$GREP$ac_delim |
16176 |
-EGREP!$EGREP$ac_delim |
16177 |
-SET_MAKE!$SET_MAKE$ac_delim |
16178 |
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
16179 |
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
16180 |
-INSTALL_DATA!$INSTALL_DATA$ac_delim |
16181 |
-RM!$RM$ac_delim |
16182 |
-CP!$CP$ac_delim |
16183 |
-MV!$MV$ac_delim |
16184 |
-LN!$LN$ac_delim |
16185 |
-SED!$SED$ac_delim |
16186 |
-AR!$AR$ac_delim |
16187 |
-LD!$LD$ac_delim |
16188 |
-TEST!$TEST$ac_delim |
16189 |
-INET_MISC!$INET_MISC$ac_delim |
16190 |
-CRYPT_C!$CRYPT_C$ac_delim |
16191 |
-CRYPT_LIB!$CRYPT_LIB$ac_delim |
16192 |
-SNPRINTF_C!$SNPRINTF_C$ac_delim |
16193 |
-ENCSPEED!$ENCSPEED$ac_delim |
16194 |
-ZLIB_LD!$ZLIB_LD$ac_delim |
16195 |
-SELECT_TYPE!$SELECT_TYPE$ac_delim |
16196 |
-CLOBBER!$CLOBBER$ac_delim |
16197 |
-BALLOC_C!$BALLOC_C$ac_delim |
16198 |
-EXAMPLE_CONF!$EXAMPLE_CONF$ac_delim |
16199 |
-MODULES_LIBS!$MODULES_LIBS$ac_delim |
16200 |
-MOD_TARGET!$MOD_TARGET$ac_delim |
16201 |
-SSL_SRCS_ENABLE!$SSL_SRCS_ENABLE$ac_delim |
16202 |
-SSL_INCLUDES!$SSL_INCLUDES$ac_delim |
16203 |
-SSL_LIBS!$SSL_LIBS$ac_delim |
16204 |
-PICFLAGS!$PICFLAGS$ac_delim |
16205 |
-IRC_CFLAGS!$IRC_CFLAGS$ac_delim |
16206 |
-SEDOBJ!$SEDOBJ$ac_delim |
16207 |
-DYNLINK_C!$DYNLINK_C$ac_delim |
16208 |
-LIBOBJS!$LIBOBJS$ac_delim |
16209 |
-LTLIBOBJS!$LTLIBOBJS$ac_delim |
16210 |
-_ACEOF |
16211 |
+ . ./conf$$subs.sh || |
16212 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
16213 |
|
16214 |
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then |
16215 |
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
16216 |
+ if test $ac_delim_n = $ac_delim_num; then |
16217 |
break |
16218 |
elif $ac_last_try; then |
16219 |
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
16220 |
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
16221 |
- { (exit 1); exit 1; }; } |
16222 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
16223 |
else |
16224 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
16225 |
fi |
16226 |
done |
16227 |
+rm -f conf$$subs.sh |
16228 |
|
16229 |
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
16230 |
-if test -n "$ac_eof"; then |
16231 |
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
16232 |
- ac_eof=`expr $ac_eof + 1` |
16233 |
-fi |
16234 |
- |
16235 |
-cat >>$CONFIG_STATUS <<_ACEOF |
16236 |
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
16237 |
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
16238 |
-_ACEOF |
16239 |
-sed ' |
16240 |
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
16241 |
-s/^/s,@/; s/!/@,|#_!!_#|/ |
16242 |
-:n |
16243 |
-t n |
16244 |
-s/'"$ac_delim"'$/,g/; t |
16245 |
-s/$/\\/; p |
16246 |
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
16247 |
-' >>$CONFIG_STATUS <conf$$subs.sed |
16248 |
-rm -f conf$$subs.sed |
16249 |
-cat >>$CONFIG_STATUS <<_ACEOF |
16250 |
-:end |
16251 |
-s/|#_!!_#|//g |
16252 |
-CEOF$ac_eof |
16253 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16254 |
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
16255 |
_ACEOF |
16256 |
+sed -n ' |
16257 |
+h |
16258 |
+s/^/S["/; s/!.*/"]=/ |
16259 |
+p |
16260 |
+g |
16261 |
+s/^[^!]*!// |
16262 |
+:repl |
16263 |
+t repl |
16264 |
+s/'"$ac_delim"'$// |
16265 |
+t delim |
16266 |
+:nl |
16267 |
+h |
16268 |
+s/\(.\{148\}\)..*/\1/ |
16269 |
+t more1 |
16270 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
16271 |
+p |
16272 |
+n |
16273 |
+b repl |
16274 |
+:more1 |
16275 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
16276 |
+p |
16277 |
+g |
16278 |
+s/.\{148\}// |
16279 |
+t nl |
16280 |
+:delim |
16281 |
+h |
16282 |
+s/\(.\{148\}\)..*/\1/ |
16283 |
+t more2 |
16284 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/ |
16285 |
+p |
16286 |
+b |
16287 |
+:more2 |
16288 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
16289 |
+p |
16290 |
+g |
16291 |
+s/.\{148\}// |
16292 |
+t delim |
16293 |
+' <conf$$subs.awk | sed ' |
16294 |
+/^[^""]/{ |
16295 |
+ N |
16296 |
+ s/\n// |
16297 |
+} |
16298 |
+' >>$CONFIG_STATUS || ac_write_fail=1 |
16299 |
+rm -f conf$$subs.awk |
16300 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16301 |
+_ACAWK |
16302 |
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
16303 |
+ for (key in S) S_is_set[key] = 1 |
16304 |
+ FS = "" |
16305 |
|
16306 |
+} |
16307 |
+{ |
16308 |
+ line = $ 0 |
16309 |
+ nfields = split(line, field, "@") |
16310 |
+ substed = 0 |
16311 |
+ len = length(field[1]) |
16312 |
+ for (i = 2; i < nfields; i++) { |
16313 |
+ key = field[i] |
16314 |
+ keylen = length(key) |
16315 |
+ if (S_is_set[key]) { |
16316 |
+ value = S[key] |
16317 |
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
16318 |
+ len += length(value) + length(field[++i]) |
16319 |
+ substed = 1 |
16320 |
+ } else |
16321 |
+ len += 1 + keylen |
16322 |
+ } |
16323 |
+ |
16324 |
+ print line |
16325 |
+} |
16326 |
+ |
16327 |
+_ACAWK |
16328 |
+_ACEOF |
16329 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16330 |
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
16331 |
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
16332 |
+else |
16333 |
+ cat |
16334 |
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
16335 |
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
16336 |
+_ACEOF |
16337 |
|
16338 |
-# VPATH may cause trouble with some makes, so we remove $(srcdir), |
16339 |
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
16340 |
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
16341 |
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
16342 |
# trailing colons and then remove the whole line if VPATH becomes empty |
16343 |
# (actually we leave an empty line to preserve line numbers). |
16344 |
if test "x$srcdir" = x.; then |
16345 |
- ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
16346 |
-s/:*\$(srcdir):*/:/ |
16347 |
-s/:*\${srcdir}:*/:/ |
16348 |
-s/:*@srcdir@:*/:/ |
16349 |
-s/^\([^=]*=[ ]*\):*/\1/ |
16350 |
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
16351 |
+h |
16352 |
+s/// |
16353 |
+s/^/:/ |
16354 |
+s/[ ]*$/:/ |
16355 |
+s/:\$(srcdir):/:/g |
16356 |
+s/:\${srcdir}:/:/g |
16357 |
+s/:@srcdir@:/:/g |
16358 |
+s/^:*// |
16359 |
s/:*$// |
16360 |
+x |
16361 |
+s/\(=[ ]*\).*/\1/ |
16362 |
+G |
16363 |
+s/\n// |
16364 |
s/^[^=]*=[ ]*$// |
16365 |
}' |
16366 |
fi |
16367 |
|
16368 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
16369 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16370 |
fi # test -n "$CONFIG_FILES" |
16371 |
|
16372 |
+# Set up the scripts for CONFIG_HEADERS section. |
16373 |
+# No need to generate them if there are no CONFIG_HEADERS. |
16374 |
+# This happens for instance with `./config.status Makefile'. |
16375 |
+if test -n "$CONFIG_HEADERS"; then |
16376 |
+cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
16377 |
+BEGIN { |
16378 |
+_ACEOF |
16379 |
+ |
16380 |
+# Transform confdefs.h into an awk script `defines.awk', embedded as |
16381 |
+# here-document in config.status, that substitutes the proper values into |
16382 |
+# config.h.in to produce config.h. |
16383 |
+ |
16384 |
+# Create a delimiter string that does not exist in confdefs.h, to ease |
16385 |
+# handling of long lines. |
16386 |
+ac_delim='%!_!# ' |
16387 |
+for ac_last_try in false false :; do |
16388 |
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
16389 |
+ if test -z "$ac_tt"; then |
16390 |
+ break |
16391 |
+ elif $ac_last_try; then |
16392 |
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
16393 |
+ else |
16394 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
16395 |
+ fi |
16396 |
+done |
16397 |
+ |
16398 |
+# For the awk script, D is an array of macro values keyed by name, |
16399 |
+# likewise P contains macro parameters if any. Preserve backslash |
16400 |
+# newline sequences. |
16401 |
+ |
16402 |
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
16403 |
+sed -n ' |
16404 |
+s/.\{148\}/&'"$ac_delim"'/g |
16405 |
+t rset |
16406 |
+:rset |
16407 |
+s/^[ ]*#[ ]*define[ ][ ]*/ / |
16408 |
+t def |
16409 |
+d |
16410 |
+:def |
16411 |
+s/\\$// |
16412 |
+t bsnl |
16413 |
+s/["\\]/\\&/g |
16414 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
16415 |
+D["\1"]=" \3"/p |
16416 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
16417 |
+d |
16418 |
+:bsnl |
16419 |
+s/["\\]/\\&/g |
16420 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
16421 |
+D["\1"]=" \3\\\\\\n"\\/p |
16422 |
+t cont |
16423 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
16424 |
+t cont |
16425 |
+d |
16426 |
+:cont |
16427 |
+n |
16428 |
+s/.\{148\}/&'"$ac_delim"'/g |
16429 |
+t clear |
16430 |
+:clear |
16431 |
+s/\\$// |
16432 |
+t bsnlc |
16433 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/p |
16434 |
+d |
16435 |
+:bsnlc |
16436 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
16437 |
+b cont |
16438 |
+' <confdefs.h | sed ' |
16439 |
+s/'"$ac_delim"'/"\\\ |
16440 |
+"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
16441 |
+ |
16442 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16443 |
+ for (key in D) D_is_set[key] = 1 |
16444 |
+ FS = "" |
16445 |
+} |
16446 |
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
16447 |
+ line = \$ 0 |
16448 |
+ split(line, arg, " ") |
16449 |
+ if (arg[1] == "#") { |
16450 |
+ defundef = arg[2] |
16451 |
+ mac1 = arg[3] |
16452 |
+ } else { |
16453 |
+ defundef = substr(arg[1], 2) |
16454 |
+ mac1 = arg[2] |
16455 |
+ } |
16456 |
+ split(mac1, mac2, "(") #) |
16457 |
+ macro = mac2[1] |
16458 |
+ prefix = substr(line, 1, index(line, defundef) - 1) |
16459 |
+ if (D_is_set[macro]) { |
16460 |
+ # Preserve the white space surrounding the "#". |
16461 |
+ print prefix "define", macro P[macro] D[macro] |
16462 |
+ next |
16463 |
+ } else { |
16464 |
+ # Replace #undef with comments. This is necessary, for example, |
16465 |
+ # in the case of _POSIX_SOURCE, which is predefined and required |
16466 |
+ # on some systems where configure will not decide to define it. |
16467 |
+ if (defundef == "undef") { |
16468 |
+ print "/*", prefix defundef, macro, "*/" |
16469 |
+ next |
16470 |
+ } |
16471 |
+ } |
16472 |
+} |
16473 |
+{ print } |
16474 |
+_ACAWK |
16475 |
+_ACEOF |
16476 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16477 |
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
16478 |
+fi # test -n "$CONFIG_HEADERS" |
16479 |
+ |
16480 |
|
16481 |
-for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
16482 |
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
16483 |
+shift |
16484 |
+for ac_tag |
16485 |
do |
16486 |
case $ac_tag in |
16487 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
16488 |
esac |
16489 |
case $ac_mode$ac_tag in |
16490 |
:[FHL]*:*);; |
16491 |
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
16492 |
-echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
16493 |
- { (exit 1); exit 1; }; };; |
16494 |
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
16495 |
:[FH]-) ac_tag=-:-;; |
16496 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
16497 |
esac |
16498 |
@@ -11596,7 +8666,7 @@ |
16499 |
for ac_f |
16500 |
do |
16501 |
case $ac_f in |
16502 |
- -) ac_f="$tmp/stdin";; |
16503 |
+ -) ac_f="$ac_tmp/stdin";; |
16504 |
*) # Look for the file first in the build tree, then in the source tree |
16505 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
16506 |
# because $ac_f cannot contain `:'. |
16507 |
@@ -11605,26 +8675,34 @@ |
16508 |
[\\/$]*) false;; |
16509 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
16510 |
esac || |
16511 |
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
16512 |
-echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
16513 |
- { (exit 1); exit 1; }; };; |
16514 |
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
16515 |
esac |
16516 |
- ac_file_inputs="$ac_file_inputs $ac_f" |
16517 |
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
16518 |
+ as_fn_append ac_file_inputs " '$ac_f'" |
16519 |
done |
16520 |
|
16521 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
16522 |
# use $as_me), people would be surprised to read: |
16523 |
# /* config.h. Generated by config.status. */ |
16524 |
- configure_input="Generated from "`IFS=: |
16525 |
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
16526 |
+ configure_input='Generated from '` |
16527 |
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
16528 |
+ `' by configure.' |
16529 |
if test x"$ac_file" != x-; then |
16530 |
configure_input="$ac_file. $configure_input" |
16531 |
- { echo "$as_me:$LINENO: creating $ac_file" >&5 |
16532 |
-echo "$as_me: creating $ac_file" >&6;} |
16533 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
16534 |
+$as_echo "$as_me: creating $ac_file" >&6;} |
16535 |
fi |
16536 |
+ # Neutralize special characters interpreted by sed in replacement strings. |
16537 |
+ case $configure_input in #( |
16538 |
+ *\&* | *\|* | *\\* ) |
16539 |
+ ac_sed_conf_input=`$as_echo "$configure_input" | |
16540 |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #( |
16541 |
+ *) ac_sed_conf_input=$configure_input;; |
16542 |
+ esac |
16543 |
|
16544 |
case $ac_tag in |
16545 |
- *:-:* | *:-) cat >"$tmp/stdin";; |
16546 |
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
16547 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
16548 |
esac |
16549 |
;; |
16550 |
esac |
16551 |
@@ -11634,42 +8712,7 @@ |
16552 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
16553 |
X"$ac_file" : 'X\(//\)$' \| \ |
16554 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
16555 |
-echo X"$ac_file" | |
16556 |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
16557 |
- s//\1/ |
16558 |
- q |
16559 |
- } |
16560 |
- /^X\(\/\/\)[^/].*/{ |
16561 |
- s//\1/ |
16562 |
- q |
16563 |
- } |
16564 |
- /^X\(\/\/\)$/{ |
16565 |
- s//\1/ |
16566 |
- q |
16567 |
- } |
16568 |
- /^X\(\/\).*/{ |
16569 |
- s//\1/ |
16570 |
- q |
16571 |
- } |
16572 |
- s/.*/./; q'` |
16573 |
- { as_dir="$ac_dir" |
16574 |
- case $as_dir in #( |
16575 |
- -*) as_dir=./$as_dir;; |
16576 |
- esac |
16577 |
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
16578 |
- as_dirs= |
16579 |
- while :; do |
16580 |
- case $as_dir in #( |
16581 |
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
16582 |
- *) as_qdir=$as_dir;; |
16583 |
- esac |
16584 |
- as_dirs="'$as_qdir' $as_dirs" |
16585 |
- as_dir=`$as_dirname -- "$as_dir" || |
16586 |
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
16587 |
- X"$as_dir" : 'X\(//\)[^/]' \| \ |
16588 |
- X"$as_dir" : 'X\(//\)$' \| \ |
16589 |
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
16590 |
-echo X"$as_dir" | |
16591 |
+$as_echo X"$ac_file" | |
16592 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
16593 |
s//\1/ |
16594 |
q |
16595 |
@@ -11687,20 +8730,15 @@ |
16596 |
q |
16597 |
} |
16598 |
s/.*/./; q'` |
16599 |
- test -d "$as_dir" && break |
16600 |
- done |
16601 |
- test -z "$as_dirs" || eval "mkdir $as_dirs" |
16602 |
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
16603 |
-echo "$as_me: error: cannot create directory $as_dir" >&2;} |
16604 |
- { (exit 1); exit 1; }; }; } |
16605 |
+ as_dir="$ac_dir"; as_fn_mkdir_p |
16606 |
ac_builddir=. |
16607 |
|
16608 |
case "$ac_dir" in |
16609 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16610 |
*) |
16611 |
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
16612 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
16613 |
# A ".." for each directory in $ac_dir_suffix. |
16614 |
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
16615 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
16616 |
case $ac_top_builddir_sub in |
16617 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16618 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
16619 |
@@ -11740,12 +8778,12 @@ |
16620 |
esac |
16621 |
_ACEOF |
16622 |
|
16623 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
16624 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16625 |
# If the template does not know about datarootdir, expand it. |
16626 |
# FIXME: This hack should be removed a few years after 2.60. |
16627 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
16628 |
- |
16629 |
-case `sed -n '/datarootdir/ { |
16630 |
+ac_sed_dataroot=' |
16631 |
+/datarootdir/ { |
16632 |
p |
16633 |
q |
16634 |
} |
16635 |
@@ -11753,36 +8791,37 @@ |
16636 |
/@docdir@/p |
16637 |
/@infodir@/p |
16638 |
/@localedir@/p |
16639 |
-/@mandir@/p |
16640 |
-' $ac_file_inputs` in |
16641 |
+/@mandir@/p' |
16642 |
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
16643 |
*datarootdir*) ac_datarootdir_seen=yes;; |
16644 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
16645 |
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
16646 |
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
16647 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
16648 |
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
16649 |
_ACEOF |
16650 |
-cat >>$CONFIG_STATUS <<_ACEOF |
16651 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16652 |
ac_datarootdir_hack=' |
16653 |
s&@datadir@&$datadir&g |
16654 |
s&@docdir@&$docdir&g |
16655 |
s&@infodir@&$infodir&g |
16656 |
s&@localedir@&$localedir&g |
16657 |
s&@mandir@&$mandir&g |
16658 |
- s&\\\${datarootdir}&$datarootdir&g' ;; |
16659 |
+ s&\\\${datarootdir}&$datarootdir&g' ;; |
16660 |
esac |
16661 |
_ACEOF |
16662 |
|
16663 |
# Neutralize VPATH when `$srcdir' = `.'. |
16664 |
# Shell code in configure.ac might set extrasub. |
16665 |
# FIXME: do we really want to maintain this feature? |
16666 |
-cat >>$CONFIG_STATUS <<_ACEOF |
16667 |
- sed "$ac_vpsub |
16668 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16669 |
+ac_sed_extra="$ac_vpsub |
16670 |
$extrasub |
16671 |
_ACEOF |
16672 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
16673 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16674 |
:t |
16675 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
16676 |
-s&@configure_input@&$configure_input&;t t |
16677 |
+s|@configure_input@|$ac_sed_conf_input|;t t |
16678 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
16679 |
+s&@top_build_prefix@&$ac_top_build_prefix&;t t |
16680 |
s&@srcdir@&$ac_srcdir&;t t |
16681 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
16682 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
16683 |
@@ -11792,119 +8831,49 @@ |
16684 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
16685 |
s&@INSTALL@&$ac_INSTALL&;t t |
16686 |
$ac_datarootdir_hack |
16687 |
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
16688 |
+" |
16689 |
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
16690 |
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16691 |
|
16692 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
16693 |
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
16694 |
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
16695 |
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16696 |
-which seems to be undefined. Please make sure it is defined." >&5 |
16697 |
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16698 |
-which seems to be undefined. Please make sure it is defined." >&2;} |
16699 |
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
16700 |
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
16701 |
+ "$ac_tmp/out"`; test -z "$ac_out"; } && |
16702 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16703 |
+which seems to be undefined. Please make sure it is defined" >&5 |
16704 |
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16705 |
+which seems to be undefined. Please make sure it is defined" >&2;} |
16706 |
|
16707 |
- rm -f "$tmp/stdin" |
16708 |
+ rm -f "$ac_tmp/stdin" |
16709 |
case $ac_file in |
16710 |
- -) cat "$tmp/out"; rm -f "$tmp/out";; |
16711 |
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
16712 |
- esac |
16713 |
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
16714 |
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
16715 |
+ esac \ |
16716 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16717 |
;; |
16718 |
:H) |
16719 |
# |
16720 |
# CONFIG_HEADER |
16721 |
# |
16722 |
-_ACEOF |
16723 |
- |
16724 |
-# Transform confdefs.h into a sed script `conftest.defines', that |
16725 |
-# substitutes the proper values into config.h.in to produce config.h. |
16726 |
-rm -f conftest.defines conftest.tail |
16727 |
-# First, append a space to every undef/define line, to ease matching. |
16728 |
-echo 's/$/ /' >conftest.defines |
16729 |
-# Then, protect against being on the right side of a sed subst, or in |
16730 |
-# an unquoted here document, in config.status. If some macros were |
16731 |
-# called several times there might be several #defines for the same |
16732 |
-# symbol, which is useless. But do not sort them, since the last |
16733 |
-# AC_DEFINE must be honored. |
16734 |
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
16735 |
-# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
16736 |
-# NAME is the cpp macro being defined, VALUE is the value it is being given. |
16737 |
-# PARAMS is the parameter list in the macro definition--in most cases, it's |
16738 |
-# just an empty string. |
16739 |
-ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
16740 |
-ac_dB='\\)[ (].*,\\1define\\2' |
16741 |
-ac_dC=' ' |
16742 |
-ac_dD=' ,' |
16743 |
- |
16744 |
-uniq confdefs.h | |
16745 |
- sed -n ' |
16746 |
- t rset |
16747 |
- :rset |
16748 |
- s/^[ ]*#[ ]*define[ ][ ]*// |
16749 |
- t ok |
16750 |
- d |
16751 |
- :ok |
16752 |
- s/[\\&,]/\\&/g |
16753 |
- s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
16754 |
- s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
16755 |
- ' >>conftest.defines |
16756 |
- |
16757 |
-# Remove the space that was appended to ease matching. |
16758 |
-# Then replace #undef with comments. This is necessary, for |
16759 |
-# example, in the case of _POSIX_SOURCE, which is predefined and required |
16760 |
-# on some systems where configure will not decide to define it. |
16761 |
-# (The regexp can be short, since the line contains either #define or #undef.) |
16762 |
-echo 's/ $// |
16763 |
-s,^[ #]*u.*,/* & */,' >>conftest.defines |
16764 |
- |
16765 |
-# Break up conftest.defines: |
16766 |
-ac_max_sed_lines=50 |
16767 |
- |
16768 |
-# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
16769 |
-# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
16770 |
-# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
16771 |
-# et cetera. |
16772 |
-ac_in='$ac_file_inputs' |
16773 |
-ac_out='"$tmp/out1"' |
16774 |
-ac_nxt='"$tmp/out2"' |
16775 |
- |
16776 |
-while : |
16777 |
-do |
16778 |
- # Write a here document: |
16779 |
- cat >>$CONFIG_STATUS <<_ACEOF |
16780 |
- # First, check the format of the line: |
16781 |
- cat >"\$tmp/defines.sed" <<\\CEOF |
16782 |
-/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
16783 |
-/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
16784 |
-b |
16785 |
-:def |
16786 |
-_ACEOF |
16787 |
- sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
16788 |
- echo 'CEOF |
16789 |
- sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
16790 |
- ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
16791 |
- sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
16792 |
- grep . conftest.tail >/dev/null || break |
16793 |
- rm -f conftest.defines |
16794 |
- mv conftest.tail conftest.defines |
16795 |
-done |
16796 |
-rm -f conftest.defines conftest.tail |
16797 |
- |
16798 |
-echo "ac_result=$ac_in" >>$CONFIG_STATUS |
16799 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
16800 |
if test x"$ac_file" != x-; then |
16801 |
- echo "/* $configure_input */" >"$tmp/config.h" |
16802 |
- cat "$ac_result" >>"$tmp/config.h" |
16803 |
- if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
16804 |
- { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
16805 |
-echo "$as_me: $ac_file is unchanged" >&6;} |
16806 |
+ { |
16807 |
+ $as_echo "/* $configure_input */" \ |
16808 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
16809 |
+ } >"$ac_tmp/config.h" \ |
16810 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16811 |
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
16812 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
16813 |
+$as_echo "$as_me: $ac_file is unchanged" >&6;} |
16814 |
else |
16815 |
- rm -f $ac_file |
16816 |
- mv "$tmp/config.h" $ac_file |
16817 |
+ rm -f "$ac_file" |
16818 |
+ mv "$ac_tmp/config.h" "$ac_file" \ |
16819 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16820 |
fi |
16821 |
else |
16822 |
- echo "/* $configure_input */" |
16823 |
- cat "$ac_result" |
16824 |
+ $as_echo "/* $configure_input */" \ |
16825 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
16826 |
+ || as_fn_error $? "could not create -" "$LINENO" 5 |
16827 |
fi |
16828 |
- rm -f "$tmp/out12" |
16829 |
;; |
16830 |
|
16831 |
|
16832 |
@@ -11913,11 +8882,13 @@ |
16833 |
done # for ac_tag |
16834 |
|
16835 |
|
16836 |
-{ (exit 0); exit 0; } |
16837 |
+as_fn_exit 0 |
16838 |
_ACEOF |
16839 |
-chmod +x $CONFIG_STATUS |
16840 |
ac_clean_files=$ac_clean_files_save |
16841 |
|
16842 |
+test $ac_write_fail = 0 || |
16843 |
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
16844 |
+ |
16845 |
|
16846 |
# configure is writing to config.log, and then calls config.status. |
16847 |
# config.status does its own redirection, appending to config.log. |
16848 |
@@ -11937,7 +8908,11 @@ |
16849 |
exec 5>>config.log |
16850 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
16851 |
# would make configure fail if this is the last instruction. |
16852 |
- $ac_cs_success || { (exit 1); exit 1; } |
16853 |
+ $ac_cs_success || as_fn_exit 1 |
16854 |
+fi |
16855 |
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
16856 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
16857 |
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
16858 |
fi |
16859 |
|
16860 |
|