Parent Directory
|
Revision Log
- Bump patchlevel to hybrid-8.0.9
1 | #! /bin/sh |
2 | # From configure.ac Id: configure.ac 2062 2013-05-16 09:54:44Z michael . |
3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.0.9. |
5 | # |
6 | # Report bugs to <bugs@ircd-hybrid.org>. |
7 | # |
8 | # |
9 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
10 | # |
11 | # |
12 | # This configure script is free software; the Free Software Foundation |
13 | # gives unlimited permission to copy, distribute and modify it. |
14 | ## -------------------- ## |
15 | ## M4sh Initialization. ## |
16 | ## -------------------- ## |
17 | |
18 | # Be more Bourne compatible |
19 | DUALCASE=1; export DUALCASE # for MKS sh |
20 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
21 | emulate sh |
22 | NULLCMD=: |
23 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
24 | # is contrary to our usage. Disable this feature. |
25 | alias -g '${1+"$@"}'='"$@"' |
26 | setopt NO_GLOB_SUBST |
27 | else |
28 | case `(set -o) 2>/dev/null` in #( |
29 | *posix*) : |
30 | set -o posix ;; #( |
31 | *) : |
32 | ;; |
33 | esac |
34 | fi |
35 | |
36 | |
37 | as_nl=' |
38 | ' |
39 | export as_nl |
40 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
41 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
44 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
45 | # but without wasting forks for bash or zsh. |
46 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
47 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
48 | as_echo='print -r --' |
49 | as_echo_n='print -rn --' |
50 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
51 | as_echo='printf %s\n' |
52 | as_echo_n='printf %s' |
53 | else |
54 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
55 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
56 | as_echo_n='/usr/ucb/echo -n' |
57 | else |
58 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
59 | as_echo_n_body='eval |
60 | arg=$1; |
61 | case $arg in #( |
62 | *"$as_nl"*) |
63 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
64 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
65 | esac; |
66 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
67 | ' |
68 | export as_echo_n_body |
69 | as_echo_n='sh -c $as_echo_n_body as_echo' |
70 | fi |
71 | export as_echo_body |
72 | as_echo='sh -c $as_echo_body as_echo' |
73 | fi |
74 | |
75 | # The user is always right. |
76 | if test "${PATH_SEPARATOR+set}" != set; then |
77 | PATH_SEPARATOR=: |
78 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
79 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
80 | PATH_SEPARATOR=';' |
81 | } |
82 | fi |
83 | |
84 | |
85 | # IFS |
86 | # We need space, tab and new line, in precisely that order. Quoting is |
87 | # there to prevent editors from complaining about space-tab. |
88 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
89 | # splitting by setting IFS to empty value.) |
90 | IFS=" "" $as_nl" |
91 | |
92 | # Find who we are. Look in the path if we contain no directory separator. |
93 | as_myself= |
94 | case $0 in #(( |
95 | *[\\/]* ) as_myself=$0 ;; |
96 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
97 | for as_dir in $PATH |
98 | do |
99 | IFS=$as_save_IFS |
100 | test -z "$as_dir" && as_dir=. |
101 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
102 | done |
103 | IFS=$as_save_IFS |
104 | |
105 | ;; |
106 | esac |
107 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
108 | # in which case we are not to be found in the path. |
109 | if test "x$as_myself" = x; then |
110 | as_myself=$0 |
111 | fi |
112 | if test ! -f "$as_myself"; then |
113 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
114 | exit 1 |
115 | fi |
116 | |
117 | # Unset variables that we do not need and which cause bugs (e.g. in |
118 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
119 | # suppresses any "Segmentation fault" message there. '((' could |
120 | # trigger a bug in pdksh 5.2.14. |
121 | for as_var in BASH_ENV ENV MAIL MAILPATH |
122 | do eval test x\${$as_var+set} = xset \ |
123 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
124 | done |
125 | PS1='$ ' |
126 | PS2='> ' |
127 | PS4='+ ' |
128 | |
129 | # NLS nuisances. |
130 | LC_ALL=C |
131 | export LC_ALL |
132 | LANGUAGE=C |
133 | export LANGUAGE |
134 | |
135 | # CDPATH. |
136 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
137 | |
138 | # Use a proper internal environment variable to ensure we don't fall |
139 | # into an infinite loop, continuously re-executing ourselves. |
140 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
141 | _as_can_reexec=no; export _as_can_reexec; |
142 | # We cannot yet assume a decent shell, so we have to provide a |
143 | # neutralization value for shells without unset; and this also |
144 | # works around shells that cannot unset nonexistent variables. |
145 | # Preserve -v and -x to the replacement shell. |
146 | BASH_ENV=/dev/null |
147 | ENV=/dev/null |
148 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
149 | case $- in # (((( |
150 | *v*x* | *x*v* ) as_opts=-vx ;; |
151 | *v* ) as_opts=-v ;; |
152 | *x* ) as_opts=-x ;; |
153 | * ) as_opts= ;; |
154 | esac |
155 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
156 | # Admittedly, this is quite paranoid, since all the known shells bail |
157 | # out after a failed `exec'. |
158 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
159 | as_fn_exit 255 |
160 | fi |
161 | # We don't want this to propagate to other subprocesses. |
162 | { _as_can_reexec=; unset _as_can_reexec;} |
163 | if test "x$CONFIG_SHELL" = x; then |
164 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
165 | emulate sh |
166 | NULLCMD=: |
167 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
168 | # is contrary to our usage. Disable this feature. |
169 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
170 | setopt NO_GLOB_SUBST |
171 | else |
172 | case \`(set -o) 2>/dev/null\` in #( |
173 | *posix*) : |
174 | set -o posix ;; #( |
175 | *) : |
176 | ;; |
177 | esac |
178 | fi |
179 | " |
180 | as_required="as_fn_return () { (exit \$1); } |
181 | as_fn_success () { as_fn_return 0; } |
182 | as_fn_failure () { as_fn_return 1; } |
183 | as_fn_ret_success () { return 0; } |
184 | as_fn_ret_failure () { return 1; } |
185 | |
186 | exitcode=0 |
187 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
188 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
189 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
190 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
191 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
192 | |
193 | else |
194 | exitcode=1; echo positional parameters were not saved. |
195 | fi |
196 | test x\$exitcode = x0 || exit 1 |
197 | test -x / || exit 1" |
198 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
199 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
200 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
201 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
202 | |
203 | test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
204 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
205 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
206 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
207 | PATH=/empty FPATH=/empty; export PATH FPATH |
208 | test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
209 | || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
210 | test \$(( 1 + 1 )) = 2 || exit 1" |
211 | if (eval "$as_required") 2>/dev/null; then : |
212 | as_have_required=yes |
213 | else |
214 | as_have_required=no |
215 | fi |
216 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
217 | |
218 | else |
219 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
220 | as_found=false |
221 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
222 | do |
223 | IFS=$as_save_IFS |
224 | test -z "$as_dir" && as_dir=. |
225 | as_found=: |
226 | case $as_dir in #( |
227 | /*) |
228 | for as_base in sh bash ksh sh5; do |
229 | # Try only shells that exist, to save several forks. |
230 | as_shell=$as_dir/$as_base |
231 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
232 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
233 | CONFIG_SHELL=$as_shell as_have_required=yes |
234 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
235 | break 2 |
236 | fi |
237 | fi |
238 | done;; |
239 | esac |
240 | as_found=false |
241 | done |
242 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
243 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
244 | CONFIG_SHELL=$SHELL as_have_required=yes |
245 | fi; } |
246 | IFS=$as_save_IFS |
247 | |
248 | |
249 | if test "x$CONFIG_SHELL" != x; then : |
250 | export CONFIG_SHELL |
251 | # We cannot yet assume a decent shell, so we have to provide a |
252 | # neutralization value for shells without unset; and this also |
253 | # works around shells that cannot unset nonexistent variables. |
254 | # Preserve -v and -x to the replacement shell. |
255 | BASH_ENV=/dev/null |
256 | ENV=/dev/null |
257 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
258 | case $- in # (((( |
259 | *v*x* | *x*v* ) as_opts=-vx ;; |
260 | *v* ) as_opts=-v ;; |
261 | *x* ) as_opts=-x ;; |
262 | * ) as_opts= ;; |
263 | esac |
264 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
265 | # Admittedly, this is quite paranoid, since all the known shells bail |
266 | # out after a failed `exec'. |
267 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
268 | exit 255 |
269 | fi |
270 | |
271 | if test x$as_have_required = xno; then : |
272 | $as_echo "$0: This script requires a shell more modern than all" |
273 | $as_echo "$0: the shells that I found on your system." |
274 | if test x${ZSH_VERSION+set} = xset ; then |
275 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
276 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
277 | else |
278 | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
279 | $0: bugs@ircd-hybrid.org about your system, including any |
280 | $0: error possibly output before this message. Then install |
281 | $0: a modern shell, or manually run the script under such a |
282 | $0: shell if you do have one." |
283 | fi |
284 | exit 1 |
285 | fi |
286 | fi |
287 | fi |
288 | SHELL=${CONFIG_SHELL-/bin/sh} |
289 | export SHELL |
290 | # Unset more variables known to interfere with behavior of common tools. |
291 | CLICOLOR_FORCE= GREP_OPTIONS= |
292 | unset CLICOLOR_FORCE GREP_OPTIONS |
293 | |
294 | ## --------------------- ## |
295 | ## M4sh Shell Functions. ## |
296 | ## --------------------- ## |
297 | # as_fn_unset VAR |
298 | # --------------- |
299 | # Portably unset VAR. |
300 | as_fn_unset () |
301 | { |
302 | { eval $1=; unset $1;} |
303 | } |
304 | as_unset=as_fn_unset |
305 | |
306 | # as_fn_set_status STATUS |
307 | # ----------------------- |
308 | # Set $? to STATUS, without forking. |
309 | as_fn_set_status () |
310 | { |
311 | return $1 |
312 | } # as_fn_set_status |
313 | |
314 | # as_fn_exit STATUS |
315 | # ----------------- |
316 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
317 | as_fn_exit () |
318 | { |
319 | set +e |
320 | as_fn_set_status $1 |
321 | exit $1 |
322 | } # as_fn_exit |
323 | |
324 | # as_fn_mkdir_p |
325 | # ------------- |
326 | # Create "$as_dir" as a directory, including parents if necessary. |
327 | as_fn_mkdir_p () |
328 | { |
329 | |
330 | case $as_dir in #( |
331 | -*) as_dir=./$as_dir;; |
332 | esac |
333 | test -d "$as_dir" || eval $as_mkdir_p || { |
334 | as_dirs= |
335 | while :; do |
336 | case $as_dir in #( |
337 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
338 | *) as_qdir=$as_dir;; |
339 | esac |
340 | as_dirs="'$as_qdir' $as_dirs" |
341 | as_dir=`$as_dirname -- "$as_dir" || |
342 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
343 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
344 | X"$as_dir" : 'X\(//\)$' \| \ |
345 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
346 | $as_echo X"$as_dir" | |
347 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
348 | s//\1/ |
349 | q |
350 | } |
351 | /^X\(\/\/\)[^/].*/{ |
352 | s//\1/ |
353 | q |
354 | } |
355 | /^X\(\/\/\)$/{ |
356 | s//\1/ |
357 | q |
358 | } |
359 | /^X\(\/\).*/{ |
360 | s//\1/ |
361 | q |
362 | } |
363 | s/.*/./; q'` |
364 | test -d "$as_dir" && break |
365 | done |
366 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
367 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
368 | |
369 | |
370 | } # as_fn_mkdir_p |
371 | |
372 | # as_fn_executable_p FILE |
373 | # ----------------------- |
374 | # Test if FILE is an executable regular file. |
375 | as_fn_executable_p () |
376 | { |
377 | test -f "$1" && test -x "$1" |
378 | } # as_fn_executable_p |
379 | # as_fn_append VAR VALUE |
380 | # ---------------------- |
381 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
382 | # advantage of any shell optimizations that allow amortized linear growth over |
383 | # repeated appends, instead of the typical quadratic growth present in naive |
384 | # implementations. |
385 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
386 | eval 'as_fn_append () |
387 | { |
388 | eval $1+=\$2 |
389 | }' |
390 | else |
391 | as_fn_append () |
392 | { |
393 | eval $1=\$$1\$2 |
394 | } |
395 | fi # as_fn_append |
396 | |
397 | # as_fn_arith ARG... |
398 | # ------------------ |
399 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
400 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
401 | # must be portable across $(()) and expr. |
402 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
403 | eval 'as_fn_arith () |
404 | { |
405 | as_val=$(( $* )) |
406 | }' |
407 | else |
408 | as_fn_arith () |
409 | { |
410 | as_val=`expr "$@" || test $? -eq 1` |
411 | } |
412 | fi # as_fn_arith |
413 | |
414 | |
415 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
416 | # ---------------------------------------- |
417 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
418 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
419 | # script with STATUS, using 1 if that was 0. |
420 | as_fn_error () |
421 | { |
422 | as_status=$1; test $as_status -eq 0 && as_status=1 |
423 | if test "$4"; then |
424 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
425 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
426 | fi |
427 | $as_echo "$as_me: error: $2" >&2 |
428 | as_fn_exit $as_status |
429 | } # as_fn_error |
430 | |
431 | if expr a : '\(a\)' >/dev/null 2>&1 && |
432 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
433 | as_expr=expr |
434 | else |
435 | as_expr=false |
436 | fi |
437 | |
438 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
439 | as_basename=basename |
440 | else |
441 | as_basename=false |
442 | fi |
443 | |
444 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
445 | as_dirname=dirname |
446 | else |
447 | as_dirname=false |
448 | fi |
449 | |
450 | as_me=`$as_basename -- "$0" || |
451 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
452 | X"$0" : 'X\(//\)$' \| \ |
453 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
454 | $as_echo X/"$0" | |
455 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
456 | s//\1/ |
457 | q |
458 | } |
459 | /^X\/\(\/\/\)$/{ |
460 | s//\1/ |
461 | q |
462 | } |
463 | /^X\/\(\/\).*/{ |
464 | s//\1/ |
465 | q |
466 | } |
467 | s/.*/./; q'` |
468 | |
469 | # Avoid depending upon Character Ranges. |
470 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
471 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
472 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
473 | as_cr_digits='0123456789' |
474 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
475 | |
476 | |
477 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
478 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
479 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
480 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
481 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
482 | sed -n ' |
483 | p |
484 | /[$]LINENO/= |
485 | ' <$as_myself | |
486 | sed ' |
487 | s/[$]LINENO.*/&-/ |
488 | t lineno |
489 | b |
490 | :lineno |
491 | N |
492 | :loop |
493 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
494 | t loop |
495 | s/-\n.*// |
496 | ' >$as_me.lineno && |
497 | chmod +x "$as_me.lineno" || |
498 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
499 | |
500 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
501 | # already done that, so ensure we don't try to do so again and fall |
502 | # in an infinite loop. This has already happened in practice. |
503 | _as_can_reexec=no; export _as_can_reexec |
504 | # Don't try to exec as it changes $[0], causing all sort of problems |
505 | # (the dirname of $[0] is not the place where we might find the |
506 | # original and so on. Autoconf is especially sensitive to this). |
507 | . "./$as_me.lineno" |
508 | # Exit status is that of the last command. |
509 | exit |
510 | } |
511 | |
512 | ECHO_C= ECHO_N= ECHO_T= |
513 | case `echo -n x` in #((((( |
514 | -n*) |
515 | case `echo 'xy\c'` in |
516 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
517 | xy) ECHO_C='\c';; |
518 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
519 | ECHO_T=' ';; |
520 | esac;; |
521 | *) |
522 | ECHO_N='-n';; |
523 | esac |
524 | |
525 | rm -f conf$$ conf$$.exe conf$$.file |
526 | if test -d conf$$.dir; then |
527 | rm -f conf$$.dir/conf$$.file |
528 | else |
529 | rm -f conf$$.dir |
530 | mkdir conf$$.dir 2>/dev/null |
531 | fi |
532 | if (echo >conf$$.file) 2>/dev/null; then |
533 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
534 | as_ln_s='ln -s' |
535 | # ... but there are two gotchas: |
536 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
537 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
538 | # In both cases, we have to default to `cp -pR'. |
539 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
540 | as_ln_s='cp -pR' |
541 | elif ln conf$$.file conf$$ 2>/dev/null; then |
542 | as_ln_s=ln |
543 | else |
544 | as_ln_s='cp -pR' |
545 | fi |
546 | else |
547 | as_ln_s='cp -pR' |
548 | fi |
549 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
550 | rmdir conf$$.dir 2>/dev/null |
551 | |
552 | if mkdir -p . 2>/dev/null; then |
553 | as_mkdir_p='mkdir -p "$as_dir"' |
554 | else |
555 | test -d ./-p && rmdir ./-p |
556 | as_mkdir_p=false |
557 | fi |
558 | |
559 | as_test_x='test -x' |
560 | as_executable_p=as_fn_executable_p |
561 | |
562 | # Sed expression to map a string onto a valid CPP name. |
563 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
564 | |
565 | # Sed expression to map a string onto a valid variable name. |
566 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
567 | |
568 | lt_ltdl_dir='libltdl' |
569 | |
570 | SHELL=${CONFIG_SHELL-/bin/sh} |
571 | |
572 | |
573 | test -n "$DJDIR" || exec 7<&0 </dev/null |
574 | exec 6>&1 |
575 | |
576 | # Name of the host. |
577 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
578 | # so uname gets run too. |
579 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
580 | |
581 | # |
582 | # Initializations. |
583 | # |
584 | ac_default_prefix=/usr/local |
585 | ac_clean_files= |
586 | ac_config_libobj_dir=. |
587 | LIBOBJS= |
588 | cross_compiling=no |
589 | subdirs= |
590 | MFLAGS= |
591 | MAKEFLAGS= |
592 | |
593 | # Identity of this package. |
594 | PACKAGE_NAME='ircd-hybrid' |
595 | PACKAGE_TARNAME='ircd-hybrid' |
596 | PACKAGE_VERSION='8.0.9' |
597 | PACKAGE_STRING='ircd-hybrid 8.0.9' |
598 | PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
599 | PACKAGE_URL='' |
600 | |
601 | ac_unique_file="src/ircd.c" |
602 | # Factoring default headers for most tests. |
603 | ac_includes_default="\ |
604 | #include <stdio.h> |
605 | #ifdef HAVE_SYS_TYPES_H |
606 | # include <sys/types.h> |
607 | #endif |
608 | #ifdef HAVE_SYS_STAT_H |
609 | # include <sys/stat.h> |
610 | #endif |
611 | #ifdef STDC_HEADERS |
612 | # include <stdlib.h> |
613 | # include <stddef.h> |
614 | #else |
615 | # ifdef HAVE_STDLIB_H |
616 | # include <stdlib.h> |
617 | # endif |
618 | #endif |
619 | #ifdef HAVE_STRING_H |
620 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
621 | # include <memory.h> |
622 | # endif |
623 | # include <string.h> |
624 | #endif |
625 | #ifdef HAVE_STRINGS_H |
626 | # include <strings.h> |
627 | #endif |
628 | #ifdef HAVE_INTTYPES_H |
629 | # include <inttypes.h> |
630 | #endif |
631 | #ifdef HAVE_STDINT_H |
632 | # include <stdint.h> |
633 | #endif |
634 | #ifdef HAVE_UNISTD_H |
635 | # include <unistd.h> |
636 | #endif" |
637 | |
638 | ac_func_list= |
639 | ac_header_list= |
640 | ac_subst_vars='ltdl_LTLIBOBJS |
641 | ltdl_LIBOBJS |
642 | am__EXEEXT_FALSE |
643 | am__EXEEXT_TRUE |
644 | LTLIBOBJS |
645 | LIBOBJS |
646 | LOCALSTATEDIR |
647 | DATADIR |
648 | LIBDIR |
649 | SYSCONFDIR |
650 | PREFIX |
651 | ENABLE_SSL_FALSE |
652 | ENABLE_SSL_TRUE |
653 | LTDLOPEN |
654 | LT_CONFIG_H |
655 | CONVENIENCE_LTDL_FALSE |
656 | CONVENIENCE_LTDL_TRUE |
657 | INSTALL_LTDL_FALSE |
658 | INSTALL_LTDL_TRUE |
659 | ARGZ_H |
660 | sys_symbol_underscore |
661 | LIBADD_DL |
662 | LT_DLPREOPEN |
663 | LIBADD_DLD_LINK |
664 | LIBADD_SHL_LOAD |
665 | LIBADD_DLOPEN |
666 | LT_DLLOADERS |
667 | INCLTDL |
668 | LTDLINCL |
669 | LTDLDEPS |
670 | LIBLTDL |
671 | CPP |
672 | OTOOL64 |
673 | OTOOL |
674 | LIPO |
675 | NMEDIT |
676 | DSYMUTIL |
677 | MANIFEST_TOOL |
678 | RANLIB |
679 | ac_ct_AR |
680 | AR |
681 | DLLTOOL |
682 | OBJDUMP |
683 | LN_S |
684 | NM |
685 | ac_ct_DUMPBIN |
686 | DUMPBIN |
687 | LD |
688 | FGREP |
689 | EGREP |
690 | GREP |
691 | SED |
692 | host_os |
693 | host_vendor |
694 | host_cpu |
695 | host |
696 | build_os |
697 | build_vendor |
698 | build_cpu |
699 | build |
700 | LIBTOOL |
701 | LEXLIB |
702 | LEX_OUTPUT_ROOT |
703 | LEX |
704 | YFLAGS |
705 | YACC |
706 | am__fastdepCC_FALSE |
707 | am__fastdepCC_TRUE |
708 | CCDEPMODE |
709 | am__nodep |
710 | AMDEPBACKSLASH |
711 | AMDEP_FALSE |
712 | AMDEP_TRUE |
713 | am__quote |
714 | am__include |
715 | DEPDIR |
716 | OBJEXT |
717 | EXEEXT |
718 | ac_ct_CC |
719 | CPPFLAGS |
720 | LDFLAGS |
721 | CFLAGS |
722 | CC |
723 | MAINT |
724 | MAINTAINER_MODE_FALSE |
725 | MAINTAINER_MODE_TRUE |
726 | AM_BACKSLASH |
727 | AM_DEFAULT_VERBOSITY |
728 | AM_DEFAULT_V |
729 | AM_V |
730 | am__untar |
731 | am__tar |
732 | AMTAR |
733 | am__leading_dot |
734 | SET_MAKE |
735 | AWK |
736 | mkdir_p |
737 | MKDIR_P |
738 | INSTALL_STRIP_PROGRAM |
739 | STRIP |
740 | install_sh |
741 | MAKEINFO |
742 | AUTOHEADER |
743 | AUTOMAKE |
744 | AUTOCONF |
745 | ACLOCAL |
746 | VERSION |
747 | PACKAGE |
748 | CYGPATH_W |
749 | am__isrc |
750 | INSTALL_DATA |
751 | INSTALL_SCRIPT |
752 | INSTALL_PROGRAM |
753 | target_alias |
754 | host_alias |
755 | build_alias |
756 | LIBS |
757 | ECHO_T |
758 | ECHO_N |
759 | ECHO_C |
760 | DEFS |
761 | mandir |
762 | localedir |
763 | libdir |
764 | psdir |
765 | pdfdir |
766 | dvidir |
767 | htmldir |
768 | infodir |
769 | docdir |
770 | oldincludedir |
771 | includedir |
772 | localstatedir |
773 | sharedstatedir |
774 | sysconfdir |
775 | datadir |
776 | datarootdir |
777 | libexecdir |
778 | sbindir |
779 | bindir |
780 | program_transform_name |
781 | prefix |
782 | exec_prefix |
783 | PACKAGE_URL |
784 | PACKAGE_BUGREPORT |
785 | PACKAGE_STRING |
786 | PACKAGE_VERSION |
787 | PACKAGE_TARNAME |
788 | PACKAGE_NAME |
789 | PATH_SEPARATOR |
790 | SHELL' |
791 | ac_subst_files='' |
792 | ac_user_opts=' |
793 | enable_option_checking |
794 | enable_silent_rules |
795 | enable_maintainer_mode |
796 | enable_dependency_tracking |
797 | enable_static |
798 | enable_shared |
799 | with_pic |
800 | enable_fast_install |
801 | with_gnu_ld |
802 | with_sysroot |
803 | enable_libtool_lock |
804 | with_included_ltdl |
805 | with_ltdl_include |
806 | with_ltdl_lib |
807 | enable_ltdl_install |
808 | enable_libpcre |
809 | enable_openssl |
810 | enable_assert |
811 | enable_kqueue |
812 | enable_epoll |
813 | enable_devpoll |
814 | enable_poll |
815 | enable_select |
816 | enable_halfops |
817 | enable_debugging |
818 | enable_warnings |
819 | ' |
820 | ac_precious_vars='build_alias |
821 | host_alias |
822 | target_alias |
823 | CC |
824 | CFLAGS |
825 | LDFLAGS |
826 | LIBS |
827 | CPPFLAGS |
828 | YACC |
829 | YFLAGS |
830 | CPP' |
831 | |
832 | |
833 | # Initialize some variables set by options. |
834 | ac_init_help= |
835 | ac_init_version=false |
836 | ac_unrecognized_opts= |
837 | ac_unrecognized_sep= |
838 | # The variables have the same names as the options, with |
839 | # dashes changed to underlines. |
840 | cache_file=/dev/null |
841 | exec_prefix=NONE |
842 | no_create= |
843 | no_recursion= |
844 | prefix=NONE |
845 | program_prefix=NONE |
846 | program_suffix=NONE |
847 | program_transform_name=s,x,x, |
848 | silent= |
849 | site= |
850 | srcdir= |
851 | verbose= |
852 | x_includes=NONE |
853 | x_libraries=NONE |
854 | |
855 | # Installation directory options. |
856 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
857 | # and all the variables that are supposed to be based on exec_prefix |
858 | # by default will actually change. |
859 | # Use braces instead of parens because sh, perl, etc. also accept them. |
860 | # (The list follows the same order as the GNU Coding Standards.) |
861 | bindir='${exec_prefix}/bin' |
862 | sbindir='${exec_prefix}/sbin' |
863 | libexecdir='${exec_prefix}/libexec' |
864 | datarootdir='${prefix}/share' |
865 | datadir='${datarootdir}' |
866 | sysconfdir='${prefix}/etc' |
867 | sharedstatedir='${prefix}/com' |
868 | localstatedir='${prefix}/var' |
869 | includedir='${prefix}/include' |
870 | oldincludedir='/usr/include' |
871 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
872 | infodir='${datarootdir}/info' |
873 | htmldir='${docdir}' |
874 | dvidir='${docdir}' |
875 | pdfdir='${docdir}' |
876 | psdir='${docdir}' |
877 | libdir='${exec_prefix}/lib' |
878 | localedir='${datarootdir}/locale' |
879 | mandir='${datarootdir}/man' |
880 | |
881 | ac_prev= |
882 | ac_dashdash= |
883 | for ac_option |
884 | do |
885 | # If the previous option needs an argument, assign it. |
886 | if test -n "$ac_prev"; then |
887 | eval $ac_prev=\$ac_option |
888 | ac_prev= |
889 | continue |
890 | fi |
891 | |
892 | case $ac_option in |
893 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
894 | *=) ac_optarg= ;; |
895 | *) ac_optarg=yes ;; |
896 | esac |
897 | |
898 | # Accept the important Cygnus configure options, so we can diagnose typos. |
899 | |
900 | case $ac_dashdash$ac_option in |
901 | --) |
902 | ac_dashdash=yes ;; |
903 | |
904 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
905 | ac_prev=bindir ;; |
906 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
907 | bindir=$ac_optarg ;; |
908 | |
909 | -build | --build | --buil | --bui | --bu) |
910 | ac_prev=build_alias ;; |
911 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
912 | build_alias=$ac_optarg ;; |
913 | |
914 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
915 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
916 | ac_prev=cache_file ;; |
917 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
918 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
919 | cache_file=$ac_optarg ;; |
920 | |
921 | --config-cache | -C) |
922 | cache_file=config.cache ;; |
923 | |
924 | -datadir | --datadir | --datadi | --datad) |
925 | ac_prev=datadir ;; |
926 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
927 | datadir=$ac_optarg ;; |
928 | |
929 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
930 | | --dataroo | --dataro | --datar) |
931 | ac_prev=datarootdir ;; |
932 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
933 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
934 | datarootdir=$ac_optarg ;; |
935 | |
936 | -disable-* | --disable-*) |
937 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
938 | # Reject names that are not valid shell variable names. |
939 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
940 | as_fn_error $? "invalid feature name: $ac_useropt" |
941 | ac_useropt_orig=$ac_useropt |
942 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
943 | case $ac_user_opts in |
944 | *" |
945 | "enable_$ac_useropt" |
946 | "*) ;; |
947 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
948 | ac_unrecognized_sep=', ';; |
949 | esac |
950 | eval enable_$ac_useropt=no ;; |
951 | |
952 | -docdir | --docdir | --docdi | --doc | --do) |
953 | ac_prev=docdir ;; |
954 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
955 | docdir=$ac_optarg ;; |
956 | |
957 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
958 | ac_prev=dvidir ;; |
959 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
960 | dvidir=$ac_optarg ;; |
961 | |
962 | -enable-* | --enable-*) |
963 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
964 | # Reject names that are not valid shell variable names. |
965 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
966 | as_fn_error $? "invalid feature name: $ac_useropt" |
967 | ac_useropt_orig=$ac_useropt |
968 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
969 | case $ac_user_opts in |
970 | *" |
971 | "enable_$ac_useropt" |
972 | "*) ;; |
973 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
974 | ac_unrecognized_sep=', ';; |
975 | esac |
976 | eval enable_$ac_useropt=\$ac_optarg ;; |
977 | |
978 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
979 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
980 | | --exec | --exe | --ex) |
981 | ac_prev=exec_prefix ;; |
982 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
983 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
984 | | --exec=* | --exe=* | --ex=*) |
985 | exec_prefix=$ac_optarg ;; |
986 | |
987 | -gas | --gas | --ga | --g) |
988 | # Obsolete; use --with-gas. |
989 | with_gas=yes ;; |
990 | |
991 | -help | --help | --hel | --he | -h) |
992 | ac_init_help=long ;; |
993 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
994 | ac_init_help=recursive ;; |
995 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
996 | ac_init_help=short ;; |
997 | |
998 | -host | --host | --hos | --ho) |
999 | ac_prev=host_alias ;; |
1000 | -host=* | --host=* | --hos=* | --ho=*) |
1001 | host_alias=$ac_optarg ;; |
1002 | |
1003 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
1004 | ac_prev=htmldir ;; |
1005 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
1006 | | --ht=*) |
1007 | htmldir=$ac_optarg ;; |
1008 | |
1009 | -includedir | --includedir | --includedi | --included | --include \ |
1010 | | --includ | --inclu | --incl | --inc) |
1011 | ac_prev=includedir ;; |
1012 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
1013 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
1014 | includedir=$ac_optarg ;; |
1015 | |
1016 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
1017 | ac_prev=infodir ;; |
1018 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
1019 | infodir=$ac_optarg ;; |
1020 | |
1021 | -libdir | --libdir | --libdi | --libd) |
1022 | ac_prev=libdir ;; |
1023 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
1024 | libdir=$ac_optarg ;; |
1025 | |
1026 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
1027 | | --libexe | --libex | --libe) |
1028 | ac_prev=libexecdir ;; |
1029 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
1030 | | --libexe=* | --libex=* | --libe=*) |
1031 | libexecdir=$ac_optarg ;; |
1032 | |
1033 | -localedir | --localedir | --localedi | --localed | --locale) |
1034 | ac_prev=localedir ;; |
1035 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
1036 | localedir=$ac_optarg ;; |
1037 | |
1038 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
1039 | | --localstate | --localstat | --localsta | --localst | --locals) |
1040 | ac_prev=localstatedir ;; |
1041 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
1042 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
1043 | localstatedir=$ac_optarg ;; |
1044 | |
1045 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
1046 | ac_prev=mandir ;; |
1047 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
1048 | mandir=$ac_optarg ;; |
1049 | |
1050 | -nfp | --nfp | --nf) |
1051 | # Obsolete; use --without-fp. |
1052 | with_fp=no ;; |
1053 | |
1054 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1055 | | --no-cr | --no-c | -n) |
1056 | no_create=yes ;; |
1057 | |
1058 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1059 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
1060 | no_recursion=yes ;; |
1061 | |
1062 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
1063 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
1064 | | --oldin | --oldi | --old | --ol | --o) |
1065 | ac_prev=oldincludedir ;; |
1066 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
1067 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
1068 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
1069 | oldincludedir=$ac_optarg ;; |
1070 | |
1071 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
1072 | ac_prev=prefix ;; |
1073 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
1074 | prefix=$ac_optarg ;; |
1075 | |
1076 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
1077 | | --program-pre | --program-pr | --program-p) |
1078 | ac_prev=program_prefix ;; |
1079 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
1080 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
1081 | program_prefix=$ac_optarg ;; |
1082 | |
1083 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
1084 | | --program-suf | --program-su | --program-s) |
1085 | ac_prev=program_suffix ;; |
1086 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
1087 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
1088 | program_suffix=$ac_optarg ;; |
1089 | |
1090 | -program-transform-name | --program-transform-name \ |
1091 | | --program-transform-nam | --program-transform-na \ |
1092 | | --program-transform-n | --program-transform- \ |
1093 | | --program-transform | --program-transfor \ |
1094 | | --program-transfo | --program-transf \ |
1095 | | --program-trans | --program-tran \ |
1096 | | --progr-tra | --program-tr | --program-t) |
1097 | ac_prev=program_transform_name ;; |
1098 | -program-transform-name=* | --program-transform-name=* \ |
1099 | | --program-transform-nam=* | --program-transform-na=* \ |
1100 | | --program-transform-n=* | --program-transform-=* \ |
1101 | | --program-transform=* | --program-transfor=* \ |
1102 | | --program-transfo=* | --program-transf=* \ |
1103 | | --program-trans=* | --program-tran=* \ |
1104 | | --progr-tra=* | --program-tr=* | --program-t=*) |
1105 | program_transform_name=$ac_optarg ;; |
1106 | |
1107 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1108 | ac_prev=pdfdir ;; |
1109 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
1110 | pdfdir=$ac_optarg ;; |
1111 | |
1112 | -psdir | --psdir | --psdi | --psd | --ps) |
1113 | ac_prev=psdir ;; |
1114 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
1115 | psdir=$ac_optarg ;; |
1116 | |
1117 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1118 | | -silent | --silent | --silen | --sile | --sil) |
1119 | silent=yes ;; |
1120 | |
1121 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1122 | ac_prev=sbindir ;; |
1123 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1124 | | --sbi=* | --sb=*) |
1125 | sbindir=$ac_optarg ;; |
1126 | |
1127 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
1128 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
1129 | | --sharedst | --shareds | --shared | --share | --shar \ |
1130 | | --sha | --sh) |
1131 | ac_prev=sharedstatedir ;; |
1132 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
1133 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
1134 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
1135 | | --sha=* | --sh=*) |
1136 | sharedstatedir=$ac_optarg ;; |
1137 | |
1138 | -site | --site | --sit) |
1139 | ac_prev=site ;; |
1140 | -site=* | --site=* | --sit=*) |
1141 | site=$ac_optarg ;; |
1142 | |
1143 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
1144 | ac_prev=srcdir ;; |
1145 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
1146 | srcdir=$ac_optarg ;; |
1147 | |
1148 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
1149 | | --syscon | --sysco | --sysc | --sys | --sy) |
1150 | ac_prev=sysconfdir ;; |
1151 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
1152 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
1153 | sysconfdir=$ac_optarg ;; |
1154 | |
1155 | -target | --target | --targe | --targ | --tar | --ta | --t) |
1156 | ac_prev=target_alias ;; |
1157 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1158 | target_alias=$ac_optarg ;; |
1159 | |
1160 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
1161 | verbose=yes ;; |
1162 | |
1163 | -version | --version | --versio | --versi | --vers | -V) |
1164 | ac_init_version=: ;; |
1165 | |
1166 | -with-* | --with-*) |
1167 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1168 | # Reject names that are not valid shell variable names. |
1169 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1170 | as_fn_error $? "invalid package name: $ac_useropt" |
1171 | ac_useropt_orig=$ac_useropt |
1172 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1173 | case $ac_user_opts in |
1174 | *" |
1175 | "with_$ac_useropt" |
1176 | "*) ;; |
1177 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1178 | ac_unrecognized_sep=', ';; |
1179 | esac |
1180 | eval with_$ac_useropt=\$ac_optarg ;; |
1181 | |
1182 | -without-* | --without-*) |
1183 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1184 | # Reject names that are not valid shell variable names. |
1185 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1186 | as_fn_error $? "invalid package name: $ac_useropt" |
1187 | ac_useropt_orig=$ac_useropt |
1188 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1189 | case $ac_user_opts in |
1190 | *" |
1191 | "with_$ac_useropt" |
1192 | "*) ;; |
1193 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1194 | ac_unrecognized_sep=', ';; |
1195 | esac |
1196 | eval with_$ac_useropt=no ;; |
1197 | |
1198 | --x) |
1199 | # Obsolete; use --with-x. |
1200 | with_x=yes ;; |
1201 | |
1202 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1203 | | --x-incl | --x-inc | --x-in | --x-i) |
1204 | ac_prev=x_includes ;; |
1205 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1206 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1207 | x_includes=$ac_optarg ;; |
1208 | |
1209 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1210 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1211 | ac_prev=x_libraries ;; |
1212 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1213 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1214 | x_libraries=$ac_optarg ;; |
1215 | |
1216 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1217 | Try \`$0 --help' for more information" |
1218 | ;; |
1219 | |
1220 | *=*) |
1221 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1222 | # Reject names that are not valid shell variable names. |
1223 | case $ac_envvar in #( |
1224 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1225 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1226 | esac |
1227 | eval $ac_envvar=\$ac_optarg |
1228 | export $ac_envvar ;; |
1229 | |
1230 | *) |
1231 | # FIXME: should be removed in autoconf 3.0. |
1232 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1233 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1234 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1235 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1236 | ;; |
1237 | |
1238 | esac |
1239 | done |
1240 | |
1241 | if test -n "$ac_prev"; then |
1242 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1243 | as_fn_error $? "missing argument to $ac_option" |
1244 | fi |
1245 | |
1246 | if test -n "$ac_unrecognized_opts"; then |
1247 | case $enable_option_checking in |
1248 | no) ;; |
1249 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1250 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1251 | esac |
1252 | fi |
1253 | |
1254 | # Check all directory arguments for consistency. |
1255 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1256 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1257 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1258 | libdir localedir mandir |
1259 | do |
1260 | eval ac_val=\$$ac_var |
1261 | # Remove trailing slashes. |
1262 | case $ac_val in |
1263 | */ ) |
1264 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1265 | eval $ac_var=\$ac_val;; |
1266 | esac |
1267 | # Be sure to have absolute directory names. |
1268 | case $ac_val in |
1269 | [\\/$]* | ?:[\\/]* ) continue;; |
1270 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1271 | esac |
1272 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1273 | done |
1274 | |
1275 | # There might be people who depend on the old broken behavior: `$host' |
1276 | # used to hold the argument of --host etc. |
1277 | # FIXME: To remove some day. |
1278 | build=$build_alias |
1279 | host=$host_alias |
1280 | target=$target_alias |
1281 | |
1282 | # FIXME: To remove some day. |
1283 | if test "x$host_alias" != x; then |
1284 | if test "x$build_alias" = x; then |
1285 | cross_compiling=maybe |
1286 | elif test "x$build_alias" != "x$host_alias"; then |
1287 | cross_compiling=yes |
1288 | fi |
1289 | fi |
1290 | |
1291 | ac_tool_prefix= |
1292 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1293 | |
1294 | test "$silent" = yes && exec 6>/dev/null |
1295 | |
1296 | |
1297 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1298 | ac_ls_di=`ls -di .` && |
1299 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1300 | as_fn_error $? "working directory cannot be determined" |
1301 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1302 | as_fn_error $? "pwd does not report name of working directory" |
1303 | |
1304 | |
1305 | # Find the source files, if location was not specified. |
1306 | if test -z "$srcdir"; then |
1307 | ac_srcdir_defaulted=yes |
1308 | # Try the directory containing this script, then the parent directory. |
1309 | ac_confdir=`$as_dirname -- "$as_myself" || |
1310 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1311 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1312 | X"$as_myself" : 'X\(//\)$' \| \ |
1313 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1314 | $as_echo X"$as_myself" | |
1315 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1316 | s//\1/ |
1317 | q |
1318 | } |
1319 | /^X\(\/\/\)[^/].*/{ |
1320 | s//\1/ |
1321 | q |
1322 | } |
1323 | /^X\(\/\/\)$/{ |
1324 | s//\1/ |
1325 | q |
1326 | } |
1327 | /^X\(\/\).*/{ |
1328 | s//\1/ |
1329 | q |
1330 | } |
1331 | s/.*/./; q'` |
1332 | srcdir=$ac_confdir |
1333 | if test ! -r "$srcdir/$ac_unique_file"; then |
1334 | srcdir=.. |
1335 | fi |
1336 | else |
1337 | ac_srcdir_defaulted=no |
1338 | fi |
1339 | if test ! -r "$srcdir/$ac_unique_file"; then |
1340 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1341 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1342 | fi |
1343 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1344 | ac_abs_confdir=`( |
1345 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1346 | pwd)` |
1347 | # When building in place, set srcdir=. |
1348 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1349 | srcdir=. |
1350 | fi |
1351 | # Remove unnecessary trailing slashes from srcdir. |
1352 | # Double slashes in file names in object file debugging info |
1353 | # mess up M-x gdb in Emacs. |
1354 | case $srcdir in |
1355 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1356 | esac |
1357 | for ac_var in $ac_precious_vars; do |
1358 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1359 | eval ac_env_${ac_var}_value=\$${ac_var} |
1360 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1361 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1362 | done |
1363 | |
1364 | # |
1365 | # Report the --help message. |
1366 | # |
1367 | if test "$ac_init_help" = "long"; then |
1368 | # Omit some internal or obsolete options to make the list less imposing. |
1369 | # This message is too long to be a string in the A/UX 3.1 sh. |
1370 | cat <<_ACEOF |
1371 | \`configure' configures ircd-hybrid 8.0.9 to adapt to many kinds of systems. |
1372 | |
1373 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1374 | |
1375 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1376 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1377 | |
1378 | Defaults for the options are specified in brackets. |
1379 | |
1380 | Configuration: |
1381 | -h, --help display this help and exit |
1382 | --help=short display options specific to this package |
1383 | --help=recursive display the short help of all the included packages |
1384 | -V, --version display version information and exit |
1385 | -q, --quiet, --silent do not print \`checking ...' messages |
1386 | --cache-file=FILE cache test results in FILE [disabled] |
1387 | -C, --config-cache alias for \`--cache-file=config.cache' |
1388 | -n, --no-create do not create output files |
1389 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1390 | |
1391 | Installation directories: |
1392 | --prefix=PREFIX install architecture-independent files in PREFIX |
1393 | [$ac_default_prefix] |
1394 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1395 | [PREFIX] |
1396 | |
1397 | By default, \`make install' will install all the files in |
1398 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1399 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1400 | for instance \`--prefix=\$HOME'. |
1401 | |
1402 | For better control, use the options below. |
1403 | |
1404 | Fine tuning of the installation directories: |
1405 | --bindir=DIR user executables [EPREFIX/bin] |
1406 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1407 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1408 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1409 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1410 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1411 | --libdir=DIR object code libraries [EPREFIX/lib] |
1412 | --includedir=DIR C header files [PREFIX/include] |
1413 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1414 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1415 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1416 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1417 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1418 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1419 | --docdir=DIR documentation root [DATAROOTDIR/doc/ircd-hybrid] |
1420 | --htmldir=DIR html documentation [DOCDIR] |
1421 | --dvidir=DIR dvi documentation [DOCDIR] |
1422 | --pdfdir=DIR pdf documentation [DOCDIR] |
1423 | --psdir=DIR ps documentation [DOCDIR] |
1424 | _ACEOF |
1425 | |
1426 | cat <<\_ACEOF |
1427 | |
1428 | Program names: |
1429 | --program-prefix=PREFIX prepend PREFIX to installed program names |
1430 | --program-suffix=SUFFIX append SUFFIX to installed program names |
1431 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1432 | |
1433 | System types: |
1434 | --build=BUILD configure for building on BUILD [guessed] |
1435 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
1436 | _ACEOF |
1437 | fi |
1438 | |
1439 | if test -n "$ac_init_help"; then |
1440 | case $ac_init_help in |
1441 | short | recursive ) echo "Configuration of ircd-hybrid 8.0.9:";; |
1442 | esac |
1443 | cat <<\_ACEOF |
1444 | |
1445 | Optional Features: |
1446 | --disable-option-checking ignore unrecognized --enable/--with options |
1447 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1448 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1449 | --enable-silent-rules less verbose build output (undo: "make V=1") |
1450 | --disable-silent-rules verbose build output (undo: "make V=0") |
1451 | --enable-maintainer-mode |
1452 | enable make rules and dependencies not useful (and |
1453 | sometimes confusing) to the casual installer |
1454 | --enable-dependency-tracking |
1455 | do not reject slow dependency extractors |
1456 | --disable-dependency-tracking |
1457 | speeds up one-time build |
1458 | --enable-static[=PKGS] build static libraries [default=no] |
1459 | --enable-shared[=PKGS] build shared libraries [default=yes] |
1460 | --enable-fast-install[=PKGS] |
1461 | optimize for fast installation [default=yes] |
1462 | --disable-libtool-lock avoid locking (might break parallel builds) |
1463 | --enable-ltdl-install install libltdl |
1464 | --disable-libpcre Disable PCRE support |
1465 | --enable-openssl=DIR Enable OpenSSL support (DIR optional). |
1466 | --disable-openssl Disable OpenSSL support. |
1467 | --enable-assert Enable assert() statements |
1468 | --enable-kqueue Force kqueue usage. |
1469 | --enable-epoll Force epoll usage. |
1470 | --enable-devpoll Force devpoll usage. |
1471 | --enable-poll Force poll usage. |
1472 | --enable-select Force select usage. |
1473 | --enable-halfops Enable halfops support. |
1474 | --enable-debugging Enable debugging. |
1475 | --enable-warnings Enable compiler warnings. |
1476 | |
1477 | Optional Packages: |
1478 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1479 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1480 | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1481 | both] |
1482 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1483 | --with-sysroot=DIR Search for dependent libraries within DIR |
1484 | (or the compiler's sysroot if not specified). |
1485 | --with-included-ltdl use the GNU ltdl sources included here |
1486 | --with-ltdl-include=DIR use the ltdl headers installed in DIR |
1487 | --with-ltdl-lib=DIR use the libltdl.la installed in DIR |
1488 | |
1489 | Some influential environment variables: |
1490 | CC C compiler command |
1491 | CFLAGS C compiler flags |
1492 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1493 | nonstandard directory <lib dir> |
1494 | LIBS libraries to pass to the linker, e.g. -l<library> |
1495 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1496 | you have headers in a nonstandard directory <include dir> |
1497 | YACC The `Yet Another Compiler Compiler' implementation to use. |
1498 | Defaults to the first program found out of: `bison -y', `byacc', |
1499 | `yacc'. |
1500 | YFLAGS The list of arguments that will be passed by default to $YACC. |
1501 | This script will default YFLAGS to the empty string to avoid a |
1502 | default value of `-d' given by some make applications. |
1503 | CPP C preprocessor |
1504 | |
1505 | Use these variables to override the choices made by `configure' or to help |
1506 | it to find libraries and programs with nonstandard names/locations. |
1507 | |
1508 | Report bugs to <bugs@ircd-hybrid.org>. |
1509 | _ACEOF |
1510 | ac_status=$? |
1511 | fi |
1512 | |
1513 | if test "$ac_init_help" = "recursive"; then |
1514 | # If there are subdirs, report their specific --help. |
1515 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1516 | test -d "$ac_dir" || |
1517 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1518 | continue |
1519 | ac_builddir=. |
1520 | |
1521 | case "$ac_dir" in |
1522 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1523 | *) |
1524 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1525 | # A ".." for each directory in $ac_dir_suffix. |
1526 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1527 | case $ac_top_builddir_sub in |
1528 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1529 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1530 | esac ;; |
1531 | esac |
1532 | ac_abs_top_builddir=$ac_pwd |
1533 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1534 | # for backward compatibility: |
1535 | ac_top_builddir=$ac_top_build_prefix |
1536 | |
1537 | case $srcdir in |
1538 | .) # We are building in place. |
1539 | ac_srcdir=. |
1540 | ac_top_srcdir=$ac_top_builddir_sub |
1541 | ac_abs_top_srcdir=$ac_pwd ;; |
1542 | [\\/]* | ?:[\\/]* ) # Absolute name. |
1543 | ac_srcdir=$srcdir$ac_dir_suffix; |
1544 | ac_top_srcdir=$srcdir |
1545 | ac_abs_top_srcdir=$srcdir ;; |
1546 | *) # Relative name. |
1547 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1548 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
1549 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1550 | esac |
1551 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1552 | |
1553 | cd "$ac_dir" || { ac_status=$?; continue; } |
1554 | # Check for guested configure. |
1555 | if test -f "$ac_srcdir/configure.gnu"; then |
1556 | echo && |
1557 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1558 | elif test -f "$ac_srcdir/configure"; then |
1559 | echo && |
1560 | $SHELL "$ac_srcdir/configure" --help=recursive |
1561 | else |
1562 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1563 | fi || ac_status=$? |
1564 | cd "$ac_pwd" || { ac_status=$?; break; } |
1565 | done |
1566 | fi |
1567 | |
1568 | test -n "$ac_init_help" && exit $ac_status |
1569 | if $ac_init_version; then |
1570 | cat <<\_ACEOF |
1571 | ircd-hybrid configure 8.0.9 |
1572 | generated by GNU Autoconf 2.69 |
1573 | |
1574 | Copyright (C) 2012 Free Software Foundation, Inc. |
1575 | This configure script is free software; the Free Software Foundation |
1576 | gives unlimited permission to copy, distribute and modify it. |
1577 | _ACEOF |
1578 | exit |
1579 | fi |
1580 | |
1581 | ## ------------------------ ## |
1582 | ## Autoconf initialization. ## |
1583 | ## ------------------------ ## |
1584 | |
1585 | # ac_fn_c_try_compile LINENO |
1586 | # -------------------------- |
1587 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1588 | ac_fn_c_try_compile () |
1589 | { |
1590 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1591 | rm -f conftest.$ac_objext |
1592 | if { { ac_try="$ac_compile" |
1593 | case "(($ac_try" in |
1594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1595 | *) ac_try_echo=$ac_try;; |
1596 | esac |
1597 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1598 | $as_echo "$ac_try_echo"; } >&5 |
1599 | (eval "$ac_compile") 2>conftest.err |
1600 | ac_status=$? |
1601 | if test -s conftest.err; then |
1602 | grep -v '^ *+' conftest.err >conftest.er1 |
1603 | cat conftest.er1 >&5 |
1604 | mv -f conftest.er1 conftest.err |
1605 | fi |
1606 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1607 | test $ac_status = 0; } && { |
1608 | test -z "$ac_c_werror_flag" || |
1609 | test ! -s conftest.err |
1610 | } && test -s conftest.$ac_objext; then : |
1611 | ac_retval=0 |
1612 | else |
1613 | $as_echo "$as_me: failed program was:" >&5 |
1614 | sed 's/^/| /' conftest.$ac_ext >&5 |
1615 | |
1616 | ac_retval=1 |
1617 | fi |
1618 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1619 | as_fn_set_status $ac_retval |
1620 | |
1621 | } # ac_fn_c_try_compile |
1622 | |
1623 | # ac_fn_c_try_link LINENO |
1624 | # ----------------------- |
1625 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1626 | ac_fn_c_try_link () |
1627 | { |
1628 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1629 | rm -f conftest.$ac_objext conftest$ac_exeext |
1630 | if { { ac_try="$ac_link" |
1631 | case "(($ac_try" in |
1632 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1633 | *) ac_try_echo=$ac_try;; |
1634 | esac |
1635 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1636 | $as_echo "$ac_try_echo"; } >&5 |
1637 | (eval "$ac_link") 2>conftest.err |
1638 | ac_status=$? |
1639 | if test -s conftest.err; then |
1640 | grep -v '^ *+' conftest.err >conftest.er1 |
1641 | cat conftest.er1 >&5 |
1642 | mv -f conftest.er1 conftest.err |
1643 | fi |
1644 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1645 | test $ac_status = 0; } && { |
1646 | test -z "$ac_c_werror_flag" || |
1647 | test ! -s conftest.err |
1648 | } && test -s conftest$ac_exeext && { |
1649 | test "$cross_compiling" = yes || |
1650 | test -x conftest$ac_exeext |
1651 | }; then : |
1652 | ac_retval=0 |
1653 | else |
1654 | $as_echo "$as_me: failed program was:" >&5 |
1655 | sed 's/^/| /' conftest.$ac_ext >&5 |
1656 | |
1657 | ac_retval=1 |
1658 | fi |
1659 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1660 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1661 | # interfere with the next link command; also delete a directory that is |
1662 | # left behind by Apple's compiler. We do this before executing the actions. |
1663 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1664 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1665 | as_fn_set_status $ac_retval |
1666 | |
1667 | } # ac_fn_c_try_link |
1668 | |
1669 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1670 | # ------------------------------------------------------- |
1671 | # Tests whether HEADER exists and can be compiled using the include files in |
1672 | # INCLUDES, setting the cache variable VAR accordingly. |
1673 | ac_fn_c_check_header_compile () |
1674 | { |
1675 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1676 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1677 | $as_echo_n "checking for $2... " >&6; } |
1678 | if eval \${$3+:} false; then : |
1679 | $as_echo_n "(cached) " >&6 |
1680 | else |
1681 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1682 | /* end confdefs.h. */ |
1683 | $4 |
1684 | #include <$2> |
1685 | _ACEOF |
1686 | if ac_fn_c_try_compile "$LINENO"; then : |
1687 | eval "$3=yes" |
1688 | else |
1689 | eval "$3=no" |
1690 | fi |
1691 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1692 | fi |
1693 | eval ac_res=\$$3 |
1694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1695 | $as_echo "$ac_res" >&6; } |
1696 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1697 | |
1698 | } # ac_fn_c_check_header_compile |
1699 | |
1700 | # ac_fn_c_try_cpp LINENO |
1701 | # ---------------------- |
1702 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1703 | ac_fn_c_try_cpp () |
1704 | { |
1705 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1706 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
1707 | case "(($ac_try" in |
1708 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1709 | *) ac_try_echo=$ac_try;; |
1710 | esac |
1711 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1712 | $as_echo "$ac_try_echo"; } >&5 |
1713 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1714 | ac_status=$? |
1715 | if test -s conftest.err; then |
1716 | grep -v '^ *+' conftest.err >conftest.er1 |
1717 | cat conftest.er1 >&5 |
1718 | mv -f conftest.er1 conftest.err |
1719 | fi |
1720 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1721 | test $ac_status = 0; } > conftest.i && { |
1722 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1723 | test ! -s conftest.err |
1724 | }; then : |
1725 | ac_retval=0 |
1726 | else |
1727 | $as_echo "$as_me: failed program was:" >&5 |
1728 | sed 's/^/| /' conftest.$ac_ext >&5 |
1729 | |
1730 | ac_retval=1 |
1731 | fi |
1732 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1733 | as_fn_set_status $ac_retval |
1734 | |
1735 | } # ac_fn_c_try_cpp |
1736 | |
1737 | # ac_fn_c_try_run LINENO |
1738 | # ---------------------- |
1739 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1740 | # that executables *can* be run. |
1741 | ac_fn_c_try_run () |
1742 | { |
1743 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1744 | if { { ac_try="$ac_link" |
1745 | case "(($ac_try" in |
1746 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1747 | *) ac_try_echo=$ac_try;; |
1748 | esac |
1749 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1750 | $as_echo "$ac_try_echo"; } >&5 |
1751 | (eval "$ac_link") 2>&5 |
1752 | ac_status=$? |
1753 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1754 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1755 | { { case "(($ac_try" in |
1756 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1757 | *) ac_try_echo=$ac_try;; |
1758 | esac |
1759 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1760 | $as_echo "$ac_try_echo"; } >&5 |
1761 | (eval "$ac_try") 2>&5 |
1762 | ac_status=$? |
1763 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1764 | test $ac_status = 0; }; }; then : |
1765 | ac_retval=0 |
1766 | else |
1767 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
1768 | $as_echo "$as_me: failed program was:" >&5 |
1769 | sed 's/^/| /' conftest.$ac_ext >&5 |
1770 | |
1771 | ac_retval=$ac_status |
1772 | fi |
1773 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1774 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1775 | as_fn_set_status $ac_retval |
1776 | |
1777 | } # ac_fn_c_try_run |
1778 | |
1779 | # ac_fn_c_check_func LINENO FUNC VAR |
1780 | # ---------------------------------- |
1781 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
1782 | ac_fn_c_check_func () |
1783 | { |
1784 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1785 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1786 | $as_echo_n "checking for $2... " >&6; } |
1787 | if eval \${$3+:} false; then : |
1788 | $as_echo_n "(cached) " >&6 |
1789 | else |
1790 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1791 | /* end confdefs.h. */ |
1792 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1793 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1794 | #define $2 innocuous_$2 |
1795 | |
1796 | /* System header to define __stub macros and hopefully few prototypes, |
1797 | which can conflict with char $2 (); below. |
1798 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
1799 | <limits.h> exists even on freestanding compilers. */ |
1800 | |
1801 | #ifdef __STDC__ |
1802 | # include <limits.h> |
1803 | #else |
1804 | # include <assert.h> |
1805 | #endif |
1806 | |
1807 | #undef $2 |
1808 | |
1809 | /* Override any GCC internal prototype to avoid an error. |
1810 | Use char because int might match the return type of a GCC |
1811 | builtin and then its argument prototype would still apply. */ |
1812 | #ifdef __cplusplus |
1813 | extern "C" |
1814 | #endif |
1815 | char $2 (); |
1816 | /* The GNU C library defines this for functions which it implements |
1817 | to always fail with ENOSYS. Some functions are actually named |
1818 | something starting with __ and the normal name is an alias. */ |
1819 | #if defined __stub_$2 || defined __stub___$2 |
1820 | choke me |
1821 | #endif |
1822 | |
1823 | int |
1824 | main () |
1825 | { |
1826 | return $2 (); |
1827 | ; |
1828 | return 0; |
1829 | } |
1830 | _ACEOF |
1831 | if ac_fn_c_try_link "$LINENO"; then : |
1832 | eval "$3=yes" |
1833 | else |
1834 | eval "$3=no" |
1835 | fi |
1836 | rm -f core conftest.err conftest.$ac_objext \ |
1837 | conftest$ac_exeext conftest.$ac_ext |
1838 | fi |
1839 | eval ac_res=\$$3 |
1840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1841 | $as_echo "$ac_res" >&6; } |
1842 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1843 | |
1844 | } # ac_fn_c_check_func |
1845 | |
1846 | # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1847 | # --------------------------------------------- |
1848 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1849 | # accordingly. |
1850 | ac_fn_c_check_decl () |
1851 | { |
1852 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1853 | as_decl_name=`echo $2|sed 's/ *(.*//'` |
1854 | as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1856 | $as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
1857 | if eval \${$3+:} false; then : |
1858 | $as_echo_n "(cached) " >&6 |
1859 | else |
1860 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1861 | /* end confdefs.h. */ |
1862 | $4 |
1863 | int |
1864 | main () |
1865 | { |
1866 | #ifndef $as_decl_name |
1867 | #ifdef __cplusplus |
1868 | (void) $as_decl_use; |
1869 | #else |
1870 | (void) $as_decl_name; |
1871 | #endif |
1872 | #endif |
1873 | |
1874 | ; |
1875 | return 0; |
1876 | } |
1877 | _ACEOF |
1878 | if ac_fn_c_try_compile "$LINENO"; then : |
1879 | eval "$3=yes" |
1880 | else |
1881 | eval "$3=no" |
1882 | fi |
1883 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1884 | fi |
1885 | eval ac_res=\$$3 |
1886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1887 | $as_echo "$ac_res" >&6; } |
1888 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1889 | |
1890 | } # ac_fn_c_check_decl |
1891 | |
1892 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1893 | # ------------------------------------------- |
1894 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
1895 | # variable VAR accordingly. |
1896 | ac_fn_c_check_type () |
1897 | { |
1898 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1900 | $as_echo_n "checking for $2... " >&6; } |
1901 | if eval \${$3+:} false; then : |
1902 | $as_echo_n "(cached) " >&6 |
1903 | else |
1904 | eval "$3=no" |
1905 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1906 | /* end confdefs.h. */ |
1907 | $4 |
1908 | int |
1909 | main () |
1910 | { |
1911 | if (sizeof ($2)) |
1912 | return 0; |
1913 | ; |
1914 | return 0; |
1915 | } |
1916 | _ACEOF |
1917 | if ac_fn_c_try_compile "$LINENO"; then : |
1918 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1919 | /* end confdefs.h. */ |
1920 | $4 |
1921 | int |
1922 | main () |
1923 | { |
1924 | if (sizeof (($2))) |
1925 | return 0; |
1926 | ; |
1927 | return 0; |
1928 | } |
1929 | _ACEOF |
1930 | if ac_fn_c_try_compile "$LINENO"; then : |
1931 | |
1932 | else |
1933 | eval "$3=yes" |
1934 | fi |
1935 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1936 | fi |
1937 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1938 | fi |
1939 | eval ac_res=\$$3 |
1940 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1941 | $as_echo "$ac_res" >&6; } |
1942 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1943 | |
1944 | } # ac_fn_c_check_type |
1945 | |
1946 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
1947 | # ---------------------------------------------------- |
1948 | # Tries to find if the field MEMBER exists in type AGGR, after including |
1949 | # INCLUDES, setting cache variable VAR accordingly. |
1950 | ac_fn_c_check_member () |
1951 | { |
1952 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1953 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1954 | $as_echo_n "checking for $2.$3... " >&6; } |
1955 | if eval \${$4+:} false; then : |
1956 | $as_echo_n "(cached) " >&6 |
1957 | else |
1958 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1959 | /* end confdefs.h. */ |
1960 | $5 |
1961 | int |
1962 | main () |
1963 | { |
1964 | static $2 ac_aggr; |
1965 | if (ac_aggr.$3) |
1966 | return 0; |
1967 | ; |
1968 | return 0; |
1969 | } |
1970 | _ACEOF |
1971 | if ac_fn_c_try_compile "$LINENO"; then : |
1972 | eval "$4=yes" |
1973 | else |
1974 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1975 | /* end confdefs.h. */ |
1976 | $5 |
1977 | int |
1978 | main () |
1979 | { |
1980 | static $2 ac_aggr; |
1981 | if (sizeof ac_aggr.$3) |
1982 | return 0; |
1983 | ; |
1984 | return 0; |
1985 | } |
1986 | _ACEOF |
1987 | if ac_fn_c_try_compile "$LINENO"; then : |
1988 | eval "$4=yes" |
1989 | else |
1990 | eval "$4=no" |
1991 | fi |
1992 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1993 | fi |
1994 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1995 | fi |
1996 | eval ac_res=\$$4 |
1997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1998 | $as_echo "$ac_res" >&6; } |
1999 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2000 | |
2001 | } # ac_fn_c_check_member |
2002 | |
2003 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2004 | # ------------------------------------------------------- |
2005 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2006 | # the include files in INCLUDES and setting the cache variable VAR |
2007 | # accordingly. |
2008 | ac_fn_c_check_header_mongrel () |
2009 | { |
2010 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2011 | if eval \${$3+:} false; then : |
2012 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2013 | $as_echo_n "checking for $2... " >&6; } |
2014 | if eval \${$3+:} false; then : |
2015 | $as_echo_n "(cached) " >&6 |
2016 | fi |
2017 | eval ac_res=\$$3 |
2018 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2019 | $as_echo "$ac_res" >&6; } |
2020 | else |
2021 | # Is the header compilable? |
2022 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
2023 | $as_echo_n "checking $2 usability... " >&6; } |
2024 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2025 | /* end confdefs.h. */ |
2026 | $4 |
2027 | #include <$2> |
2028 | _ACEOF |
2029 | if ac_fn_c_try_compile "$LINENO"; then : |
2030 | ac_header_compiler=yes |
2031 | else |
2032 | ac_header_compiler=no |
2033 | fi |
2034 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2035 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
2036 | $as_echo "$ac_header_compiler" >&6; } |
2037 | |
2038 | # Is the header present? |
2039 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
2040 | $as_echo_n "checking $2 presence... " >&6; } |
2041 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2042 | /* end confdefs.h. */ |
2043 | #include <$2> |
2044 | _ACEOF |
2045 | if ac_fn_c_try_cpp "$LINENO"; then : |
2046 | ac_header_preproc=yes |
2047 | else |
2048 | ac_header_preproc=no |
2049 | fi |
2050 | rm -f conftest.err conftest.i conftest.$ac_ext |
2051 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2052 | $as_echo "$ac_header_preproc" >&6; } |
2053 | |
2054 | # So? What about this header? |
2055 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
2056 | yes:no: ) |
2057 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
2058 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
2059 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2060 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2061 | ;; |
2062 | no:yes:* ) |
2063 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
2064 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
2065 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
2066 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
2067 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
2068 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
2069 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
2070 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2071 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2072 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2073 | ( $as_echo "## ----------------------------------- ## |
2074 | ## Report this to bugs@ircd-hybrid.org ## |
2075 | ## ----------------------------------- ##" |
2076 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
2077 | ;; |
2078 | esac |
2079 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2080 | $as_echo_n "checking for $2... " >&6; } |
2081 | if eval \${$3+:} false; then : |
2082 | $as_echo_n "(cached) " >&6 |
2083 | else |
2084 | eval "$3=\$ac_header_compiler" |
2085 | fi |
2086 | eval ac_res=\$$3 |
2087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2088 | $as_echo "$ac_res" >&6; } |
2089 | fi |
2090 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2091 | |
2092 | } # ac_fn_c_check_header_mongrel |
2093 | cat >config.log <<_ACEOF |
2094 | This file contains any messages produced by compilers while |
2095 | running configure, to aid debugging if configure makes a mistake. |
2096 | |
2097 | It was created by ircd-hybrid $as_me 8.0.9, which was |
2098 | generated by GNU Autoconf 2.69. Invocation command line was |
2099 | |
2100 | $ $0 $@ |
2101 | |
2102 | _ACEOF |
2103 | exec 5>>config.log |
2104 | { |
2105 | cat <<_ASUNAME |
2106 | ## --------- ## |
2107 | ## Platform. ## |
2108 | ## --------- ## |
2109 | |
2110 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
2111 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
2112 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
2113 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
2114 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
2115 | |
2116 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
2117 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
2118 | |
2119 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
2120 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
2121 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
2122 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
2123 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
2124 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
2125 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
2126 | |
2127 | _ASUNAME |
2128 | |
2129 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2130 | for as_dir in $PATH |
2131 | do |
2132 | IFS=$as_save_IFS |
2133 | test -z "$as_dir" && as_dir=. |
2134 | $as_echo "PATH: $as_dir" |
2135 | done |
2136 | IFS=$as_save_IFS |
2137 | |
2138 | } >&5 |
2139 | |
2140 | cat >&5 <<_ACEOF |
2141 | |
2142 | |
2143 | ## ----------- ## |
2144 | ## Core tests. ## |
2145 | ## ----------- ## |
2146 | |
2147 | _ACEOF |
2148 | |
2149 | |
2150 | # Keep a trace of the command line. |
2151 | # Strip out --no-create and --no-recursion so they do not pile up. |
2152 | # Strip out --silent because we don't want to record it for future runs. |
2153 | # Also quote any args containing shell meta-characters. |
2154 | # Make two passes to allow for proper duplicate-argument suppression. |
2155 | ac_configure_args= |
2156 | ac_configure_args0= |
2157 | ac_configure_args1= |
2158 | ac_must_keep_next=false |
2159 | for ac_pass in 1 2 |
2160 | do |
2161 | for ac_arg |
2162 | do |
2163 | case $ac_arg in |
2164 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
2165 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2166 | | -silent | --silent | --silen | --sile | --sil) |
2167 | continue ;; |
2168 | *\'*) |
2169 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2170 | esac |
2171 | case $ac_pass in |
2172 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2173 | 2) |
2174 | as_fn_append ac_configure_args1 " '$ac_arg'" |
2175 | if test $ac_must_keep_next = true; then |
2176 | ac_must_keep_next=false # Got value, back to normal. |
2177 | else |
2178 | case $ac_arg in |
2179 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
2180 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
2181 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
2182 | | -with-* | --with-* | -without-* | --without-* | --x) |
2183 | case "$ac_configure_args0 " in |
2184 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
2185 | esac |
2186 | ;; |
2187 | -* ) ac_must_keep_next=true ;; |
2188 | esac |
2189 | fi |
2190 | as_fn_append ac_configure_args " '$ac_arg'" |
2191 | ;; |
2192 | esac |
2193 | done |
2194 | done |
2195 | { ac_configure_args0=; unset ac_configure_args0;} |
2196 | { ac_configure_args1=; unset ac_configure_args1;} |
2197 | |
2198 | # When interrupted or exit'd, cleanup temporary files, and complete |
2199 | # config.log. We remove comments because anyway the quotes in there |
2200 | # would cause problems or look ugly. |
2201 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
2202 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
2203 | trap 'exit_status=$? |
2204 | # Save into config.log some information that might help in debugging. |
2205 | { |
2206 | echo |
2207 | |
2208 | $as_echo "## ---------------- ## |
2209 | ## Cache variables. ## |
2210 | ## ---------------- ##" |
2211 | echo |
2212 | # The following way of writing the cache mishandles newlines in values, |
2213 | ( |
2214 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2215 | eval ac_val=\$$ac_var |
2216 | case $ac_val in #( |
2217 | *${as_nl}*) |
2218 | case $ac_var in #( |
2219 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2220 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2221 | esac |
2222 | case $ac_var in #( |
2223 | _ | IFS | as_nl) ;; #( |
2224 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2225 | *) { eval $ac_var=; unset $ac_var;} ;; |
2226 | esac ;; |
2227 | esac |
2228 | done |
2229 | (set) 2>&1 | |
2230 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2231 | *${as_nl}ac_space=\ *) |
2232 | sed -n \ |
2233 | "s/'\''/'\''\\\\'\'''\''/g; |
2234 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
2235 | ;; #( |
2236 | *) |
2237 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2238 | ;; |
2239 | esac | |
2240 | sort |
2241 | ) |
2242 | echo |
2243 | |
2244 | $as_echo "## ----------------- ## |
2245 | ## Output variables. ## |
2246 | ## ----------------- ##" |
2247 | echo |
2248 | for ac_var in $ac_subst_vars |
2249 | do |
2250 | eval ac_val=\$$ac_var |
2251 | case $ac_val in |
2252 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2253 | esac |
2254 | $as_echo "$ac_var='\''$ac_val'\''" |
2255 | done | sort |
2256 | echo |
2257 | |
2258 | if test -n "$ac_subst_files"; then |
2259 | $as_echo "## ------------------- ## |
2260 | ## File substitutions. ## |
2261 | ## ------------------- ##" |
2262 | echo |
2263 | for ac_var in $ac_subst_files |
2264 | do |
2265 | eval ac_val=\$$ac_var |
2266 | case $ac_val in |
2267 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2268 | esac |
2269 | $as_echo "$ac_var='\''$ac_val'\''" |
2270 | done | sort |
2271 | echo |
2272 | fi |
2273 | |
2274 | if test -s confdefs.h; then |
2275 | $as_echo "## ----------- ## |
2276 | ## confdefs.h. ## |
2277 | ## ----------- ##" |
2278 | echo |
2279 | cat confdefs.h |
2280 | echo |
2281 | fi |
2282 | test "$ac_signal" != 0 && |
2283 | $as_echo "$as_me: caught signal $ac_signal" |
2284 | $as_echo "$as_me: exit $exit_status" |
2285 | } >&5 |
2286 | rm -f core *.core core.conftest.* && |
2287 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2288 | exit $exit_status |
2289 | ' 0 |
2290 | for ac_signal in 1 2 13 15; do |
2291 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2292 | done |
2293 | ac_signal=0 |
2294 | |
2295 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2296 | rm -f -r conftest* confdefs.h |
2297 | |
2298 | $as_echo "/* confdefs.h */" > confdefs.h |
2299 | |
2300 | # Predefined preprocessor variables. |
2301 | |
2302 | cat >>confdefs.h <<_ACEOF |
2303 | #define PACKAGE_NAME "$PACKAGE_NAME" |
2304 | _ACEOF |
2305 | |
2306 | cat >>confdefs.h <<_ACEOF |
2307 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2308 | _ACEOF |
2309 | |
2310 | cat >>confdefs.h <<_ACEOF |
2311 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2312 | _ACEOF |
2313 | |
2314 | cat >>confdefs.h <<_ACEOF |
2315 | #define PACKAGE_STRING "$PACKAGE_STRING" |
2316 | _ACEOF |
2317 | |
2318 | cat >>confdefs.h <<_ACEOF |
2319 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2320 | _ACEOF |
2321 | |
2322 | cat >>confdefs.h <<_ACEOF |
2323 | #define PACKAGE_URL "$PACKAGE_URL" |
2324 | _ACEOF |
2325 | |
2326 | |
2327 | # Let the site file select an alternate cache file if it wants to. |
2328 | # Prefer an explicitly selected file to automatically selected ones. |
2329 | ac_site_file1=NONE |
2330 | ac_site_file2=NONE |
2331 | if test -n "$CONFIG_SITE"; then |
2332 | # We do not want a PATH search for config.site. |
2333 | case $CONFIG_SITE in #(( |
2334 | -*) ac_site_file1=./$CONFIG_SITE;; |
2335 | */*) ac_site_file1=$CONFIG_SITE;; |
2336 | *) ac_site_file1=./$CONFIG_SITE;; |
2337 | esac |
2338 | elif test "x$prefix" != xNONE; then |
2339 | ac_site_file1=$prefix/share/config.site |
2340 | ac_site_file2=$prefix/etc/config.site |
2341 | else |
2342 | ac_site_file1=$ac_default_prefix/share/config.site |
2343 | ac_site_file2=$ac_default_prefix/etc/config.site |
2344 | fi |
2345 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2346 | do |
2347 | test "x$ac_site_file" = xNONE && continue |
2348 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2349 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2350 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2351 | sed 's/^/| /' "$ac_site_file" >&5 |
2352 | . "$ac_site_file" \ |
2353 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2354 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2355 | as_fn_error $? "failed to load site script $ac_site_file |
2356 | See \`config.log' for more details" "$LINENO" 5; } |
2357 | fi |
2358 | done |
2359 | |
2360 | if test -r "$cache_file"; then |
2361 | # Some versions of bash will fail to source /dev/null (special files |
2362 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2363 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2364 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2365 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
2366 | case $cache_file in |
2367 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2368 | *) . "./$cache_file";; |
2369 | esac |
2370 | fi |
2371 | else |
2372 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2373 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
2374 | >$cache_file |
2375 | fi |
2376 | |
2377 | as_fn_append ac_func_list " mmap" |
2378 | as_fn_append ac_func_list " strtok_r" |
2379 | as_fn_append ac_func_list " usleep" |
2380 | as_fn_append ac_func_list " strlcat" |
2381 | as_fn_append ac_func_list " strlcpy" |
2382 | as_fn_append ac_header_list " crypt.h" |
2383 | as_fn_append ac_header_list " sys/resource.h" |
2384 | as_fn_append ac_header_list " sys/param.h" |
2385 | as_fn_append ac_header_list " types.h" |
2386 | as_fn_append ac_header_list " socket.h" |
2387 | as_fn_append ac_header_list " sys/wait.h" |
2388 | as_fn_append ac_header_list " wait.h" |
2389 | # Check that the precious variables saved in the cache have kept the same |
2390 | # value. |
2391 | ac_cache_corrupted=false |
2392 | for ac_var in $ac_precious_vars; do |
2393 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2394 | eval ac_new_set=\$ac_env_${ac_var}_set |
2395 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2396 | eval ac_new_val=\$ac_env_${ac_var}_value |
2397 | case $ac_old_set,$ac_new_set in |
2398 | set,) |
2399 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2400 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2401 | ac_cache_corrupted=: ;; |
2402 | ,set) |
2403 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2404 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2405 | ac_cache_corrupted=: ;; |
2406 | ,);; |
2407 | *) |
2408 | if test "x$ac_old_val" != "x$ac_new_val"; then |
2409 | # differences in whitespace do not lead to failure. |
2410 | ac_old_val_w=`echo x $ac_old_val` |
2411 | ac_new_val_w=`echo x $ac_new_val` |
2412 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2413 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2414 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2415 | ac_cache_corrupted=: |
2416 | else |
2417 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2418 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2419 | eval $ac_var=\$ac_old_val |
2420 | fi |
2421 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2422 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2423 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2424 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2425 | fi;; |
2426 | esac |
2427 | # Pass precious variables to config.status. |
2428 | if test "$ac_new_set" = set; then |
2429 | case $ac_new_val in |
2430 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2431 | *) ac_arg=$ac_var=$ac_new_val ;; |
2432 | esac |
2433 | case " $ac_configure_args " in |
2434 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2435 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2436 | esac |
2437 | fi |
2438 | done |
2439 | if $ac_cache_corrupted; then |
2440 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2441 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2442 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2443 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2444 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2445 | fi |
2446 | ## -------------------- ## |
2447 | ## Main body of script. ## |
2448 | ## -------------------- ## |
2449 | |
2450 | ac_ext=c |
2451 | ac_cpp='$CPP $CPPFLAGS' |
2452 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2453 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2454 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2455 | |
2456 | |
2457 | am__api_version='1.13' |
2458 | |
2459 | ac_aux_dir= |
2460 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2461 | if test -f "$ac_dir/install-sh"; then |
2462 | ac_aux_dir=$ac_dir |
2463 | ac_install_sh="$ac_aux_dir/install-sh -c" |
2464 | break |
2465 | elif test -f "$ac_dir/install.sh"; then |
2466 | ac_aux_dir=$ac_dir |
2467 | ac_install_sh="$ac_aux_dir/install.sh -c" |
2468 | break |
2469 | elif test -f "$ac_dir/shtool"; then |
2470 | ac_aux_dir=$ac_dir |
2471 | ac_install_sh="$ac_aux_dir/shtool install -c" |
2472 | break |
2473 | fi |
2474 | done |
2475 | if test -z "$ac_aux_dir"; then |
2476 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2477 | fi |
2478 | |
2479 | # These three variables are undocumented and unsupported, |
2480 | # and are intended to be withdrawn in a future Autoconf release. |
2481 | # They can cause serious problems if a builder's source tree is in a directory |
2482 | # whose full name contains unusual characters. |
2483 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
2484 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
2485 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2486 | |
2487 | |
2488 | # Find a good install program. We prefer a C program (faster), |
2489 | # so one script is as good as another. But avoid the broken or |
2490 | # incompatible versions: |
2491 | # SysV /etc/install, /usr/sbin/install |
2492 | # SunOS /usr/etc/install |
2493 | # IRIX /sbin/install |
2494 | # AIX /bin/install |
2495 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
2496 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2497 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2498 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2499 | # OS/2's system install, which has a completely different semantic |
2500 | # ./install, which can be erroneously created by make from ./install.sh. |
2501 | # Reject install programs that cannot install multiple files. |
2502 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2503 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2504 | if test -z "$INSTALL"; then |
2505 | if ${ac_cv_path_install+:} false; then : |
2506 | $as_echo_n "(cached) " >&6 |
2507 | else |
2508 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2509 | for as_dir in $PATH |
2510 | do |
2511 | IFS=$as_save_IFS |
2512 | test -z "$as_dir" && as_dir=. |
2513 | # Account for people who put trailing slashes in PATH elements. |
2514 | case $as_dir/ in #(( |
2515 | ./ | .// | /[cC]/* | \ |
2516 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2517 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
2518 | /usr/ucb/* ) ;; |
2519 | *) |
2520 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2521 | # Don't use installbsd from OSF since it installs stuff as root |
2522 | # by default. |
2523 | for ac_prog in ginstall scoinst install; do |
2524 | for ac_exec_ext in '' $ac_executable_extensions; do |
2525 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2526 | if test $ac_prog = install && |
2527 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2528 | # AIX install. It has an incompatible calling convention. |
2529 | : |
2530 | elif test $ac_prog = install && |
2531 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2532 | # program-specific install script used by HP pwplus--don't use. |
2533 | : |
2534 | else |
2535 | rm -rf conftest.one conftest.two conftest.dir |
2536 | echo one > conftest.one |
2537 | echo two > conftest.two |
2538 | mkdir conftest.dir |
2539 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
2540 | test -s conftest.one && test -s conftest.two && |
2541 | test -s conftest.dir/conftest.one && |
2542 | test -s conftest.dir/conftest.two |
2543 | then |
2544 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2545 | break 3 |
2546 | fi |
2547 | fi |
2548 | fi |
2549 | done |
2550 | done |
2551 | ;; |
2552 | esac |
2553 | |
2554 | done |
2555 | IFS=$as_save_IFS |
2556 | |
2557 | rm -rf conftest.one conftest.two conftest.dir |
2558 | |
2559 | fi |
2560 | if test "${ac_cv_path_install+set}" = set; then |
2561 | INSTALL=$ac_cv_path_install |
2562 | else |
2563 | # As a last resort, use the slow shell script. Don't cache a |
2564 | # value for INSTALL within a source directory, because that will |
2565 | # break other packages using the cache if that directory is |
2566 | # removed, or if the value is a relative name. |
2567 | INSTALL=$ac_install_sh |
2568 | fi |
2569 | fi |
2570 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2571 | $as_echo "$INSTALL" >&6; } |
2572 | |
2573 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2574 | # It thinks the first close brace ends the variable substitution. |
2575 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2576 | |
2577 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2578 | |
2579 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2580 | |
2581 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2582 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2583 | # Reject unsafe characters in $srcdir or the absolute working directory |
2584 | # name. Accept space and tab only in the latter. |
2585 | am_lf=' |
2586 | ' |
2587 | case `pwd` in |
2588 | *[\\\"\#\$\&\'\`$am_lf]*) |
2589 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2590 | esac |
2591 | case $srcdir in |
2592 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2593 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
2594 | esac |
2595 | |
2596 | # Do 'set' in a subshell so we don't clobber the current shell's |
2597 | # arguments. Must try -L first in case configure is actually a |
2598 | # symlink; some systems play weird games with the mod time of symlinks |
2599 | # (eg FreeBSD returns the mod time of the symlink's containing |
2600 | # directory). |
2601 | if ( |
2602 | am_has_slept=no |
2603 | for am_try in 1 2; do |
2604 | echo "timestamp, slept: $am_has_slept" > conftest.file |
2605 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2606 | if test "$*" = "X"; then |
2607 | # -L didn't work. |
2608 | set X `ls -t "$srcdir/configure" conftest.file` |
2609 | fi |
2610 | if test "$*" != "X $srcdir/configure conftest.file" \ |
2611 | && test "$*" != "X conftest.file $srcdir/configure"; then |
2612 | |
2613 | # If neither matched, then we have a broken ls. This can happen |
2614 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
2615 | # broken ls alias from the environment. This has actually |
2616 | # happened. Such a system could not be considered "sane". |
2617 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2618 | alias in your environment" "$LINENO" 5 |
2619 | fi |
2620 | if test "$2" = conftest.file || test $am_try -eq 2; then |
2621 | break |
2622 | fi |
2623 | # Just in case. |
2624 | sleep 1 |
2625 | am_has_slept=yes |
2626 | done |
2627 | test "$2" = conftest.file |
2628 | ) |
2629 | then |
2630 | # Ok. |
2631 | : |
2632 | else |
2633 | as_fn_error $? "newly created file is older than distributed files! |
2634 | Check your system clock" "$LINENO" 5 |
2635 | fi |
2636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2637 | $as_echo "yes" >&6; } |
2638 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
2639 | # generated files are strictly newer. |
2640 | am_sleep_pid= |
2641 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
2642 | ( sleep 1 ) & |
2643 | am_sleep_pid=$! |
2644 | fi |
2645 | |
2646 | rm -f conftest.file |
2647 | |
2648 | test "$program_prefix" != NONE && |
2649 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2650 | # Use a double $ so make ignores it. |
2651 | test "$program_suffix" != NONE && |
2652 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2653 | # Double any \ or $. |
2654 | # By default was `s,x,x', remove it if useless. |
2655 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2656 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2657 | |
2658 | # expand $ac_aux_dir to an absolute path |
2659 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2660 | |
2661 | if test x"${MISSING+set}" != xset; then |
2662 | case $am_aux_dir in |
2663 | *\ * | *\ *) |
2664 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
2665 | *) |
2666 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
2667 | esac |
2668 | fi |
2669 | # Use eval to expand $SHELL |
2670 | if eval "$MISSING --is-lightweight"; then |
2671 | am_missing_run="$MISSING " |
2672 | else |
2673 | am_missing_run= |
2674 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2675 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2676 | fi |
2677 | |
2678 | if test x"${install_sh}" != xset; then |
2679 | case $am_aux_dir in |
2680 | *\ * | *\ *) |
2681 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2682 | *) |
2683 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
2684 | esac |
2685 | fi |
2686 | |
2687 | # Installed binaries are usually stripped using 'strip' when the user |
2688 | # run "make install-strip". However 'strip' might not be the right |
2689 | # tool to use in cross-compilation environments, therefore Automake |
2690 | # will honor the 'STRIP' environment variable to overrule this program. |
2691 | if test "$cross_compiling" != no; then |
2692 | if test -n "$ac_tool_prefix"; then |
2693 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2694 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2695 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2696 | $as_echo_n "checking for $ac_word... " >&6; } |
2697 | if ${ac_cv_prog_STRIP+:} false; then : |
2698 | $as_echo_n "(cached) " >&6 |
2699 | else |
2700 | if test -n "$STRIP"; then |
2701 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2702 | else |
2703 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2704 | for as_dir in $PATH |
2705 | do |
2706 | IFS=$as_save_IFS |
2707 | test -z "$as_dir" && as_dir=. |
2708 | for ac_exec_ext in '' $ac_executable_extensions; do |
2709 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2710 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2711 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2712 | break 2 |
2713 | fi |
2714 | done |
2715 | done |
2716 | IFS=$as_save_IFS |
2717 | |
2718 | fi |
2719 | fi |
2720 | STRIP=$ac_cv_prog_STRIP |
2721 | if test -n "$STRIP"; then |
2722 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
2723 | $as_echo "$STRIP" >&6; } |
2724 | else |
2725 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2726 | $as_echo "no" >&6; } |
2727 | fi |
2728 | |
2729 | |
2730 | fi |
2731 | if test -z "$ac_cv_prog_STRIP"; then |
2732 | ac_ct_STRIP=$STRIP |
2733 | # Extract the first word of "strip", so it can be a program name with args. |
2734 | set dummy strip; ac_word=$2 |
2735 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2736 | $as_echo_n "checking for $ac_word... " >&6; } |
2737 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2738 | $as_echo_n "(cached) " >&6 |
2739 | else |
2740 | if test -n "$ac_ct_STRIP"; then |
2741 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2742 | else |
2743 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2744 | for as_dir in $PATH |
2745 | do |
2746 | IFS=$as_save_IFS |
2747 | test -z "$as_dir" && as_dir=. |
2748 | for ac_exec_ext in '' $ac_executable_extensions; do |
2749 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2750 | ac_cv_prog_ac_ct_STRIP="strip" |
2751 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2752 | break 2 |
2753 | fi |
2754 | done |
2755 | done |
2756 | IFS=$as_save_IFS |
2757 | |
2758 | fi |
2759 | fi |
2760 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2761 | if test -n "$ac_ct_STRIP"; then |
2762 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
2763 | $as_echo "$ac_ct_STRIP" >&6; } |
2764 | else |
2765 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2766 | $as_echo "no" >&6; } |
2767 | fi |
2768 | |
2769 | if test "x$ac_ct_STRIP" = x; then |
2770 | STRIP=":" |
2771 | else |
2772 | case $cross_compiling:$ac_tool_warned in |
2773 | yes:) |
2774 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2775 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2776 | ac_tool_warned=yes ;; |
2777 | esac |
2778 | STRIP=$ac_ct_STRIP |
2779 | fi |
2780 | else |
2781 | STRIP="$ac_cv_prog_STRIP" |
2782 | fi |
2783 | |
2784 | fi |
2785 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2786 | |
2787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2788 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2789 | if test -z "$MKDIR_P"; then |
2790 | if ${ac_cv_path_mkdir+:} false; then : |
2791 | $as_echo_n "(cached) " >&6 |
2792 | else |
2793 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2794 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2795 | do |
2796 | IFS=$as_save_IFS |
2797 | test -z "$as_dir" && as_dir=. |
2798 | for ac_prog in mkdir gmkdir; do |
2799 | for ac_exec_ext in '' $ac_executable_extensions; do |
2800 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
2801 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2802 | 'mkdir (GNU coreutils) '* | \ |
2803 | 'mkdir (coreutils) '* | \ |
2804 | 'mkdir (fileutils) '4.1*) |
2805 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
2806 | break 3;; |
2807 | esac |
2808 | done |
2809 | done |
2810 | done |
2811 | IFS=$as_save_IFS |
2812 | |
2813 | fi |
2814 | |
2815 | test -d ./--version && rmdir ./--version |
2816 | if test "${ac_cv_path_mkdir+set}" = set; then |
2817 | MKDIR_P="$ac_cv_path_mkdir -p" |
2818 | else |
2819 | # As a last resort, use the slow shell script. Don't cache a |
2820 | # value for MKDIR_P within a source directory, because that will |
2821 | # break other packages using the cache if that directory is |
2822 | # removed, or if the value is a relative name. |
2823 | MKDIR_P="$ac_install_sh -d" |
2824 | fi |
2825 | fi |
2826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2827 | $as_echo "$MKDIR_P" >&6; } |
2828 | |
2829 | for ac_prog in gawk mawk nawk awk |
2830 | do |
2831 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2832 | set dummy $ac_prog; ac_word=$2 |
2833 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2834 | $as_echo_n "checking for $ac_word... " >&6; } |
2835 | if ${ac_cv_prog_AWK+:} false; then : |
2836 | $as_echo_n "(cached) " >&6 |
2837 | else |
2838 | if test -n "$AWK"; then |
2839 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2840 | else |
2841 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2842 | for as_dir in $PATH |
2843 | do |
2844 | IFS=$as_save_IFS |
2845 | test -z "$as_dir" && as_dir=. |
2846 | for ac_exec_ext in '' $ac_executable_extensions; do |
2847 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2848 | ac_cv_prog_AWK="$ac_prog" |
2849 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2850 | break 2 |
2851 | fi |
2852 | done |
2853 | done |
2854 | IFS=$as_save_IFS |
2855 | |
2856 | fi |
2857 | fi |
2858 | AWK=$ac_cv_prog_AWK |
2859 | if test -n "$AWK"; then |
2860 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
2861 | $as_echo "$AWK" >&6; } |
2862 | else |
2863 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2864 | $as_echo "no" >&6; } |
2865 | fi |
2866 | |
2867 | |
2868 | test -n "$AWK" && break |
2869 | done |
2870 | |
2871 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2872 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2873 | set x ${MAKE-make} |
2874 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2875 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2876 | $as_echo_n "(cached) " >&6 |
2877 | else |
2878 | cat >conftest.make <<\_ACEOF |
2879 | SHELL = /bin/sh |
2880 | all: |
2881 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2882 | _ACEOF |
2883 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2884 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2885 | *@@@%%%=?*=@@@%%%*) |
2886 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2887 | *) |
2888 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2889 | esac |
2890 | rm -f conftest.make |
2891 | fi |
2892 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2894 | $as_echo "yes" >&6; } |
2895 | SET_MAKE= |
2896 | else |
2897 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2898 | $as_echo "no" >&6; } |
2899 | SET_MAKE="MAKE=${MAKE-make}" |
2900 | fi |
2901 | |
2902 | rm -rf .tst 2>/dev/null |
2903 | mkdir .tst 2>/dev/null |
2904 | if test -d .tst; then |
2905 | am__leading_dot=. |
2906 | else |
2907 | am__leading_dot=_ |
2908 | fi |
2909 | rmdir .tst 2>/dev/null |
2910 | |
2911 | # Check whether --enable-silent-rules was given. |
2912 | if test "${enable_silent_rules+set}" = set; then : |
2913 | enableval=$enable_silent_rules; |
2914 | fi |
2915 | |
2916 | case $enable_silent_rules in # ((( |
2917 | yes) AM_DEFAULT_VERBOSITY=0;; |
2918 | no) AM_DEFAULT_VERBOSITY=1;; |
2919 | *) AM_DEFAULT_VERBOSITY=1;; |
2920 | esac |
2921 | am_make=${MAKE-make} |
2922 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
2923 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
2924 | if ${am_cv_make_support_nested_variables+:} false; then : |
2925 | $as_echo_n "(cached) " >&6 |
2926 | else |
2927 | if $as_echo 'TRUE=$(BAR$(V)) |
2928 | BAR0=false |
2929 | BAR1=true |
2930 | V=1 |
2931 | am__doit: |
2932 | @$(TRUE) |
2933 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
2934 | am_cv_make_support_nested_variables=yes |
2935 | else |
2936 | am_cv_make_support_nested_variables=no |
2937 | fi |
2938 | fi |
2939 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
2940 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
2941 | if test $am_cv_make_support_nested_variables = yes; then |
2942 | AM_V='$(V)' |
2943 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
2944 | else |
2945 | AM_V=$AM_DEFAULT_VERBOSITY |
2946 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
2947 | fi |
2948 | AM_BACKSLASH='\' |
2949 | |
2950 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2951 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2952 | # is not polluted with repeated "-I." |
2953 | am__isrc=' -I$(srcdir)' |
2954 | # test to see if srcdir already configured |
2955 | if test -f $srcdir/config.status; then |
2956 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2957 | fi |
2958 | fi |
2959 | |
2960 | # test whether we have cygpath |
2961 | if test -z "$CYGPATH_W"; then |
2962 | if (cygpath --version) >/dev/null 2>/dev/null; then |
2963 | CYGPATH_W='cygpath -w' |
2964 | else |
2965 | CYGPATH_W=echo |
2966 | fi |
2967 | fi |
2968 | |
2969 | |
2970 | # Define the identity of the package. |
2971 | PACKAGE='ircd-hybrid' |
2972 | VERSION='8.0.9' |
2973 | |
2974 | |
2975 | cat >>confdefs.h <<_ACEOF |
2976 | #define PACKAGE "$PACKAGE" |
2977 | _ACEOF |
2978 | |
2979 | |
2980 | cat >>confdefs.h <<_ACEOF |
2981 | #define VERSION "$VERSION" |
2982 | _ACEOF |
2983 | |
2984 | # Some tools Automake needs. |
2985 | |
2986 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
2987 | |
2988 | |
2989 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
2990 | |
2991 | |
2992 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
2993 | |
2994 | |
2995 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
2996 | |
2997 | |
2998 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2999 | |
3000 | # For better backward compatibility. To be removed once Automake 1.9.x |
3001 | # dies out for good. For more background, see: |
3002 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
3003 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
3004 | mkdir_p='$(MKDIR_P)' |
3005 | |
3006 | # We need awk for the "check" target. The system "awk" is bad on |
3007 | # some platforms. |
3008 | # Always define AMTAR for backward compatibility. Yes, it's still used |
3009 | # in the wild :-( We should find a proper way to deprecate it ... |
3010 | AMTAR='$${TAR-tar}' |
3011 | |
3012 | |
3013 | # We'll loop over all known methods to create a tar archive until one works. |
3014 | _am_tools='gnutar pax cpio none' |
3015 | |
3016 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3017 | |
3018 | |
3019 | |
3020 | |
3021 | |
3022 | |
3023 | |
3024 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3025 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3026 | # Check whether --enable-maintainer-mode was given. |
3027 | if test "${enable_maintainer_mode+set}" = set; then : |
3028 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
3029 | else |
3030 | USE_MAINTAINER_MODE=no |
3031 | fi |
3032 | |
3033 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3034 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
3035 | if test $USE_MAINTAINER_MODE = yes; then |
3036 | MAINTAINER_MODE_TRUE= |
3037 | MAINTAINER_MODE_FALSE='#' |
3038 | else |
3039 | MAINTAINER_MODE_TRUE='#' |
3040 | MAINTAINER_MODE_FALSE= |
3041 | fi |
3042 | |
3043 | MAINT=$MAINTAINER_MODE_TRUE |
3044 | |
3045 | |
3046 | ac_config_headers="$ac_config_headers config.h" |
3047 | |
3048 | |
3049 | |
3050 | # Checks for programs. |
3051 | DEPDIR="${am__leading_dot}deps" |
3052 | |
3053 | ac_config_commands="$ac_config_commands depfiles" |
3054 | |
3055 | |
3056 | am_make=${MAKE-make} |
3057 | cat > confinc << 'END' |
3058 | am__doit: |
3059 | @echo this is the am__doit target |
3060 | .PHONY: am__doit |
3061 | END |
3062 | # If we don't find an include directive, just comment out the code. |
3063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3064 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
3065 | am__include="#" |
3066 | am__quote= |
3067 | _am_result=none |
3068 | # First try GNU make style include. |
3069 | echo "include confinc" > confmf |
3070 | # Ignore all kinds of additional output from 'make'. |
3071 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3072 | *the\ am__doit\ target*) |
3073 | am__include=include |
3074 | am__quote= |
3075 | _am_result=GNU |
3076 | ;; |
3077 | esac |
3078 | # Now try BSD make style include. |
3079 | if test "$am__include" = "#"; then |
3080 | echo '.include "confinc"' > confmf |
3081 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3082 | *the\ am__doit\ target*) |
3083 | am__include=.include |
3084 | am__quote="\"" |
3085 | _am_result=BSD |
3086 | ;; |
3087 | esac |
3088 | fi |
3089 | |
3090 | |
3091 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3092 | $as_echo "$_am_result" >&6; } |
3093 | rm -f confinc confmf |
3094 | |
3095 | # Check whether --enable-dependency-tracking was given. |
3096 | if test "${enable_dependency_tracking+set}" = set; then : |
3097 | enableval=$enable_dependency_tracking; |
3098 | fi |
3099 | |
3100 | if test "x$enable_dependency_tracking" != xno; then |
3101 | am_depcomp="$ac_aux_dir/depcomp" |
3102 | AMDEPBACKSLASH='\' |
3103 | am__nodep='_no' |
3104 | fi |
3105 | if test "x$enable_dependency_tracking" != xno; then |
3106 | AMDEP_TRUE= |
3107 | AMDEP_FALSE='#' |
3108 | else |
3109 | AMDEP_TRUE='#' |
3110 | AMDEP_FALSE= |
3111 | fi |
3112 | |
3113 | |
3114 | ac_ext=c |
3115 | ac_cpp='$CPP $CPPFLAGS' |
3116 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3117 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3118 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3119 | if test -n "$ac_tool_prefix"; then |
3120 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3121 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3122 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3123 | $as_echo_n "checking for $ac_word... " >&6; } |
3124 | if ${ac_cv_prog_CC+:} false; then : |
3125 | $as_echo_n "(cached) " >&6 |
3126 | else |
3127 | if test -n "$CC"; then |
3128 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3129 | else |
3130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3131 | for as_dir in $PATH |
3132 | do |
3133 | IFS=$as_save_IFS |
3134 | test -z "$as_dir" && as_dir=. |
3135 | for ac_exec_ext in '' $ac_executable_extensions; do |
3136 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3137 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3138 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3139 | break 2 |
3140 | fi |
3141 | done |
3142 | done |
3143 | IFS=$as_save_IFS |
3144 | |
3145 | fi |
3146 | fi |
3147 | CC=$ac_cv_prog_CC |
3148 | if test -n "$CC"; then |
3149 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3150 | $as_echo "$CC" >&6; } |
3151 | else |
3152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3153 | $as_echo "no" >&6; } |
3154 | fi |
3155 | |
3156 | |
3157 | fi |
3158 | if test -z "$ac_cv_prog_CC"; then |
3159 | ac_ct_CC=$CC |
3160 | # Extract the first word of "gcc", so it can be a program name with args. |
3161 | set dummy gcc; ac_word=$2 |
3162 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3163 | $as_echo_n "checking for $ac_word... " >&6; } |
3164 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3165 | $as_echo_n "(cached) " >&6 |
3166 | else |
3167 | if test -n "$ac_ct_CC"; then |
3168 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3169 | else |
3170 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3171 | for as_dir in $PATH |
3172 | do |
3173 | IFS=$as_save_IFS |
3174 | test -z "$as_dir" && as_dir=. |
3175 | for ac_exec_ext in '' $ac_executable_extensions; do |
3176 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3177 | ac_cv_prog_ac_ct_CC="gcc" |
3178 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3179 | break 2 |
3180 | fi |
3181 | done |
3182 | done |
3183 | IFS=$as_save_IFS |
3184 | |
3185 | fi |
3186 | fi |
3187 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3188 | if test -n "$ac_ct_CC"; then |
3189 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3190 | $as_echo "$ac_ct_CC" >&6; } |
3191 | else |
3192 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3193 | $as_echo "no" >&6; } |
3194 | fi |
3195 | |
3196 | if test "x$ac_ct_CC" = x; then |
3197 | CC="" |
3198 | else |
3199 | case $cross_compiling:$ac_tool_warned in |
3200 | yes:) |
3201 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3202 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3203 | ac_tool_warned=yes ;; |
3204 | esac |
3205 | CC=$ac_ct_CC |
3206 | fi |
3207 | else |
3208 | CC="$ac_cv_prog_CC" |
3209 | fi |
3210 | |
3211 | if test -z "$CC"; then |
3212 | if test -n "$ac_tool_prefix"; then |
3213 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3214 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3215 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3216 | $as_echo_n "checking for $ac_word... " >&6; } |
3217 | if ${ac_cv_prog_CC+:} false; then : |
3218 | $as_echo_n "(cached) " >&6 |
3219 | else |
3220 | if test -n "$CC"; then |
3221 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3222 | else |
3223 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3224 | for as_dir in $PATH |
3225 | do |
3226 | IFS=$as_save_IFS |
3227 | test -z "$as_dir" && as_dir=. |
3228 | for ac_exec_ext in '' $ac_executable_extensions; do |
3229 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3230 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3231 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3232 | break 2 |
3233 | fi |
3234 | done |
3235 | done |
3236 | IFS=$as_save_IFS |
3237 | |
3238 | fi |
3239 | fi |
3240 | CC=$ac_cv_prog_CC |
3241 | if test -n "$CC"; then |
3242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3243 | $as_echo "$CC" >&6; } |
3244 | else |
3245 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3246 | $as_echo "no" >&6; } |
3247 | fi |
3248 | |
3249 | |
3250 | fi |
3251 | fi |
3252 | if test -z "$CC"; then |
3253 | # Extract the first word of "cc", so it can be a program name with args. |
3254 | set dummy cc; ac_word=$2 |
3255 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3256 | $as_echo_n "checking for $ac_word... " >&6; } |
3257 | if ${ac_cv_prog_CC+:} false; then : |
3258 | $as_echo_n "(cached) " >&6 |
3259 | else |
3260 | if test -n "$CC"; then |
3261 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3262 | else |
3263 | ac_prog_rejected=no |
3264 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3265 | for as_dir in $PATH |
3266 | do |
3267 | IFS=$as_save_IFS |
3268 | test -z "$as_dir" && as_dir=. |
3269 | for ac_exec_ext in '' $ac_executable_extensions; do |
3270 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3271 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3272 | ac_prog_rejected=yes |
3273 | continue |
3274 | fi |
3275 | ac_cv_prog_CC="cc" |
3276 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3277 | break 2 |
3278 | fi |
3279 | done |
3280 | done |
3281 | IFS=$as_save_IFS |
3282 | |
3283 | if test $ac_prog_rejected = yes; then |
3284 | # We found a bogon in the path, so make sure we never use it. |
3285 | set dummy $ac_cv_prog_CC |
3286 | shift |
3287 | if test $# != 0; then |
3288 | # We chose a different compiler from the bogus one. |
3289 | # However, it has the same basename, so the bogon will be chosen |
3290 | # first if we set CC to just the basename; use the full file name. |
3291 | shift |
3292 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3293 | fi |
3294 | fi |
3295 | fi |
3296 | fi |
3297 | CC=$ac_cv_prog_CC |
3298 | if test -n "$CC"; then |
3299 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3300 | $as_echo "$CC" >&6; } |
3301 | else |
3302 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3303 | $as_echo "no" >&6; } |
3304 | fi |
3305 | |
3306 | |
3307 | fi |
3308 | if test -z "$CC"; then |
3309 | if test -n "$ac_tool_prefix"; then |
3310 | for ac_prog in cl.exe |
3311 | do |
3312 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3313 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3314 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3315 | $as_echo_n "checking for $ac_word... " >&6; } |
3316 | if ${ac_cv_prog_CC+:} false; then : |
3317 | $as_echo_n "(cached) " >&6 |
3318 | else |
3319 | if test -n "$CC"; then |
3320 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3321 | else |
3322 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3323 | for as_dir in $PATH |
3324 | do |
3325 | IFS=$as_save_IFS |
3326 | test -z "$as_dir" && as_dir=. |
3327 | for ac_exec_ext in '' $ac_executable_extensions; do |
3328 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3329 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3330 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3331 | break 2 |
3332 | fi |
3333 | done |
3334 | done |
3335 | IFS=$as_save_IFS |
3336 | |
3337 | fi |
3338 | fi |
3339 | CC=$ac_cv_prog_CC |
3340 | if test -n "$CC"; then |
3341 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3342 | $as_echo "$CC" >&6; } |
3343 | else |
3344 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3345 | $as_echo "no" >&6; } |
3346 | fi |
3347 | |
3348 | |
3349 | test -n "$CC" && break |
3350 | done |
3351 | fi |
3352 | if test -z "$CC"; then |
3353 | ac_ct_CC=$CC |
3354 | for ac_prog in cl.exe |
3355 | do |
3356 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3357 | set dummy $ac_prog; ac_word=$2 |
3358 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3359 | $as_echo_n "checking for $ac_word... " >&6; } |
3360 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3361 | $as_echo_n "(cached) " >&6 |
3362 | else |
3363 | if test -n "$ac_ct_CC"; then |
3364 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3365 | else |
3366 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3367 | for as_dir in $PATH |
3368 | do |
3369 | IFS=$as_save_IFS |
3370 | test -z "$as_dir" && as_dir=. |
3371 | for ac_exec_ext in '' $ac_executable_extensions; do |
3372 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3373 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3374 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3375 | break 2 |
3376 | fi |
3377 | done |
3378 | done |
3379 | IFS=$as_save_IFS |
3380 | |
3381 | fi |
3382 | fi |
3383 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3384 | if test -n "$ac_ct_CC"; then |
3385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3386 | $as_echo "$ac_ct_CC" >&6; } |
3387 | else |
3388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3389 | $as_echo "no" >&6; } |
3390 | fi |
3391 | |
3392 | |
3393 | test -n "$ac_ct_CC" && break |
3394 | done |
3395 | |
3396 | if test "x$ac_ct_CC" = x; then |
3397 | CC="" |
3398 | else |
3399 | case $cross_compiling:$ac_tool_warned in |
3400 | yes:) |
3401 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3402 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3403 | ac_tool_warned=yes ;; |
3404 | esac |
3405 | CC=$ac_ct_CC |
3406 | fi |
3407 | fi |
3408 | |
3409 | fi |
3410 | |
3411 | |
3412 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3413 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3414 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3415 | See \`config.log' for more details" "$LINENO" 5; } |
3416 | |
3417 | # Provide some information about the compiler. |
3418 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3419 | set X $ac_compile |
3420 | ac_compiler=$2 |
3421 | for ac_option in --version -v -V -qversion; do |
3422 | { { ac_try="$ac_compiler $ac_option >&5" |
3423 | case "(($ac_try" in |
3424 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3425 | *) ac_try_echo=$ac_try;; |
3426 | esac |
3427 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3428 | $as_echo "$ac_try_echo"; } >&5 |
3429 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3430 | ac_status=$? |
3431 | if test -s conftest.err; then |
3432 | sed '10a\ |
3433 | ... rest of stderr output deleted ... |
3434 | 10q' conftest.err >conftest.er1 |
3435 | cat conftest.er1 >&5 |
3436 | fi |
3437 | rm -f conftest.er1 conftest.err |
3438 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3439 | test $ac_status = 0; } |
3440 | done |
3441 | |
3442 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3443 | /* end confdefs.h. */ |
3444 | |
3445 | int |
3446 | main () |
3447 | { |
3448 | |
3449 | ; |
3450 | return 0; |
3451 | } |
3452 | _ACEOF |
3453 | ac_clean_files_save=$ac_clean_files |
3454 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3455 | # Try to create an executable without -o first, disregard a.out. |
3456 | # It will help us diagnose broken compilers, and finding out an intuition |
3457 | # of exeext. |
3458 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3459 | $as_echo_n "checking whether the C compiler works... " >&6; } |
3460 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3461 | |
3462 | # The possible output files: |
3463 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3464 | |
3465 | ac_rmfiles= |
3466 | for ac_file in $ac_files |
3467 | do |
3468 | case $ac_file in |
3469 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3470 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3471 | esac |
3472 | done |
3473 | rm -f $ac_rmfiles |
3474 | |
3475 | if { { ac_try="$ac_link_default" |
3476 | case "(($ac_try" in |
3477 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3478 | *) ac_try_echo=$ac_try;; |
3479 | esac |
3480 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3481 | $as_echo "$ac_try_echo"; } >&5 |
3482 | (eval "$ac_link_default") 2>&5 |
3483 | ac_status=$? |
3484 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3485 | test $ac_status = 0; }; then : |
3486 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3487 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3488 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
3489 | # so that the user can short-circuit this test for compilers unknown to |
3490 | # Autoconf. |
3491 | for ac_file in $ac_files '' |
3492 | do |
3493 | test -f "$ac_file" || continue |
3494 | case $ac_file in |
3495 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
3496 | ;; |
3497 | [ab].out ) |
3498 | # We found the default executable, but exeext='' is most |
3499 | # certainly right. |
3500 | break;; |
3501 | *.* ) |
3502 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3503 | then :; else |
3504 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3505 | fi |
3506 | # We set ac_cv_exeext here because the later test for it is not |
3507 | # safe: cross compilers may not add the suffix if given an `-o' |
3508 | # argument, so we may need to know it at that point already. |
3509 | # Even if this section looks crufty: it has the advantage of |
3510 | # actually working. |
3511 | break;; |
3512 | * ) |
3513 | break;; |
3514 | esac |
3515 | done |
3516 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
3517 | |
3518 | else |
3519 | ac_file='' |
3520 | fi |
3521 | if test -z "$ac_file"; then : |
3522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3523 | $as_echo "no" >&6; } |
3524 | $as_echo "$as_me: failed program was:" >&5 |
3525 | sed 's/^/| /' conftest.$ac_ext >&5 |
3526 | |
3527 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3528 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3529 | as_fn_error 77 "C compiler cannot create executables |
3530 | See \`config.log' for more details" "$LINENO" 5; } |
3531 | else |
3532 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3533 | $as_echo "yes" >&6; } |
3534 | fi |
3535 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3536 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
3537 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3538 | $as_echo "$ac_file" >&6; } |
3539 | ac_exeext=$ac_cv_exeext |
3540 | |
3541 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3542 | ac_clean_files=$ac_clean_files_save |
3543 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3544 | $as_echo_n "checking for suffix of executables... " >&6; } |
3545 | if { { ac_try="$ac_link" |
3546 | case "(($ac_try" in |
3547 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3548 | *) ac_try_echo=$ac_try;; |
3549 | esac |
3550 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3551 | $as_echo "$ac_try_echo"; } >&5 |
3552 | (eval "$ac_link") 2>&5 |
3553 | ac_status=$? |
3554 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3555 | test $ac_status = 0; }; then : |
3556 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3557 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3558 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
3559 | # `rm'. |
3560 | for ac_file in conftest.exe conftest conftest.*; do |
3561 | test -f "$ac_file" || continue |
3562 | case $ac_file in |
3563 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3564 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3565 | break;; |
3566 | * ) break;; |
3567 | esac |
3568 | done |
3569 | else |
3570 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3571 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3572 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3573 | See \`config.log' for more details" "$LINENO" 5; } |
3574 | fi |
3575 | rm -f conftest conftest$ac_cv_exeext |
3576 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3577 | $as_echo "$ac_cv_exeext" >&6; } |
3578 | |
3579 | rm -f conftest.$ac_ext |
3580 | EXEEXT=$ac_cv_exeext |
3581 | ac_exeext=$EXEEXT |
3582 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3583 | /* end confdefs.h. */ |
3584 | #include <stdio.h> |
3585 | int |
3586 | main () |
3587 | { |
3588 | FILE *f = fopen ("conftest.out", "w"); |
3589 | return ferror (f) || fclose (f) != 0; |
3590 | |
3591 | ; |
3592 | return 0; |
3593 | } |
3594 | _ACEOF |
3595 | ac_clean_files="$ac_clean_files conftest.out" |
3596 | # Check that the compiler produces executables we can run. If not, either |
3597 | # the compiler is broken, or we cross compile. |
3598 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3599 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
3600 | if test "$cross_compiling" != yes; then |
3601 | { { ac_try="$ac_link" |
3602 | case "(($ac_try" in |
3603 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3604 | *) ac_try_echo=$ac_try;; |
3605 | esac |
3606 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3607 | $as_echo "$ac_try_echo"; } >&5 |
3608 | (eval "$ac_link") 2>&5 |
3609 | ac_status=$? |
3610 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3611 | test $ac_status = 0; } |
3612 | if { ac_try='./conftest$ac_cv_exeext' |
3613 | { { case "(($ac_try" in |
3614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3615 | *) ac_try_echo=$ac_try;; |
3616 | esac |
3617 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3618 | $as_echo "$ac_try_echo"; } >&5 |
3619 | (eval "$ac_try") 2>&5 |
3620 | ac_status=$? |
3621 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3622 | test $ac_status = 0; }; }; then |
3623 | cross_compiling=no |
3624 | else |
3625 | if test "$cross_compiling" = maybe; then |
3626 | cross_compiling=yes |
3627 | else |
3628 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3629 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3630 | as_fn_error $? "cannot run C compiled programs. |
3631 | If you meant to cross compile, use \`--host'. |
3632 | See \`config.log' for more details" "$LINENO" 5; } |
3633 | fi |
3634 | fi |
3635 | fi |
3636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3637 | $as_echo "$cross_compiling" >&6; } |
3638 | |
3639 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3640 | ac_clean_files=$ac_clean_files_save |
3641 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3642 | $as_echo_n "checking for suffix of object files... " >&6; } |
3643 | if ${ac_cv_objext+:} false; then : |
3644 | $as_echo_n "(cached) " >&6 |
3645 | else |
3646 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3647 | /* end confdefs.h. */ |
3648 | |
3649 | int |
3650 | main () |
3651 | { |
3652 | |
3653 | ; |
3654 | return 0; |
3655 | } |
3656 | _ACEOF |
3657 | rm -f conftest.o conftest.obj |
3658 | if { { ac_try="$ac_compile" |
3659 | case "(($ac_try" in |
3660 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3661 | *) ac_try_echo=$ac_try;; |
3662 | esac |
3663 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3664 | $as_echo "$ac_try_echo"; } >&5 |
3665 | (eval "$ac_compile") 2>&5 |
3666 | ac_status=$? |
3667 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3668 | test $ac_status = 0; }; then : |
3669 | for ac_file in conftest.o conftest.obj conftest.*; do |
3670 | test -f "$ac_file" || continue; |
3671 | case $ac_file in |
3672 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3673 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3674 | break;; |
3675 | esac |
3676 | done |
3677 | else |
3678 | $as_echo "$as_me: failed program was:" >&5 |
3679 | sed 's/^/| /' conftest.$ac_ext >&5 |
3680 | |
3681 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3682 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3683 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3684 | See \`config.log' for more details" "$LINENO" 5; } |
3685 | fi |
3686 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3687 | fi |
3688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3689 | $as_echo "$ac_cv_objext" >&6; } |
3690 | OBJEXT=$ac_cv_objext |
3691 | ac_objext=$OBJEXT |
3692 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3693 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3694 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3695 | $as_echo_n "(cached) " >&6 |
3696 | else |
3697 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3698 | /* end confdefs.h. */ |
3699 | |
3700 | int |
3701 | main () |
3702 | { |
3703 | #ifndef __GNUC__ |
3704 | choke me |
3705 | #endif |
3706 | |
3707 | ; |
3708 | return 0; |
3709 | } |
3710 | _ACEOF |
3711 | if ac_fn_c_try_compile "$LINENO"; then : |
3712 | ac_compiler_gnu=yes |
3713 | else |
3714 | ac_compiler_gnu=no |
3715 | fi |
3716 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3717 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3718 | |
3719 | fi |
3720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3721 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3722 | if test $ac_compiler_gnu = yes; then |
3723 | GCC=yes |
3724 | else |
3725 | GCC= |
3726 | fi |
3727 | ac_test_CFLAGS=${CFLAGS+set} |
3728 | ac_save_CFLAGS=$CFLAGS |
3729 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3730 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3731 | if ${ac_cv_prog_cc_g+:} false; then : |
3732 | $as_echo_n "(cached) " >&6 |
3733 | else |
3734 | ac_save_c_werror_flag=$ac_c_werror_flag |
3735 | ac_c_werror_flag=yes |
3736 | ac_cv_prog_cc_g=no |
3737 | CFLAGS="-g" |
3738 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3739 | /* end confdefs.h. */ |
3740 | |
3741 | int |
3742 | main () |
3743 | { |
3744 | |
3745 | ; |
3746 | return 0; |
3747 | } |
3748 | _ACEOF |
3749 | if ac_fn_c_try_compile "$LINENO"; then : |
3750 | ac_cv_prog_cc_g=yes |
3751 | else |
3752 | CFLAGS="" |
3753 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3754 | /* end confdefs.h. */ |
3755 | |
3756 | int |
3757 | main () |
3758 | { |
3759 | |
3760 | ; |
3761 | return 0; |
3762 | } |
3763 | _ACEOF |
3764 | if ac_fn_c_try_compile "$LINENO"; then : |
3765 | |
3766 | else |
3767 | ac_c_werror_flag=$ac_save_c_werror_flag |
3768 | CFLAGS="-g" |
3769 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3770 | /* end confdefs.h. */ |
3771 | |
3772 | int |
3773 | main () |
3774 | { |
3775 | |
3776 | ; |
3777 | return 0; |
3778 | } |
3779 | _ACEOF |
3780 | if ac_fn_c_try_compile "$LINENO"; then : |
3781 | ac_cv_prog_cc_g=yes |
3782 | fi |
3783 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3784 | fi |
3785 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3786 | fi |
3787 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3788 | ac_c_werror_flag=$ac_save_c_werror_flag |
3789 | fi |
3790 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
3791 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
3792 | if test "$ac_test_CFLAGS" = set; then |
3793 | CFLAGS=$ac_save_CFLAGS |
3794 | elif test $ac_cv_prog_cc_g = yes; then |
3795 | if test "$GCC" = yes; then |
3796 | CFLAGS="-g -O2" |
3797 | else |
3798 | CFLAGS="-g" |
3799 | fi |
3800 | else |
3801 | if test "$GCC" = yes; then |
3802 | CFLAGS="-O2" |
3803 | else |
3804 | CFLAGS= |
3805 | fi |
3806 | fi |
3807 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3808 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3809 | if ${ac_cv_prog_cc_c89+:} false; then : |
3810 | $as_echo_n "(cached) " >&6 |
3811 | else |
3812 | ac_cv_prog_cc_c89=no |
3813 | ac_save_CC=$CC |
3814 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3815 | /* end confdefs.h. */ |
3816 | #include <stdarg.h> |
3817 | #include <stdio.h> |
3818 | struct stat; |
3819 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3820 | struct buf { int x; }; |
3821 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3822 | static char *e (p, i) |
3823 | char **p; |
3824 | int i; |
3825 | { |
3826 | return p[i]; |
3827 | } |
3828 | static char *f (char * (*g) (char **, int), char **p, ...) |
3829 | { |
3830 | char *s; |
3831 | va_list v; |
3832 | va_start (v,p); |
3833 | s = g (p, va_arg (v,int)); |
3834 | va_end (v); |
3835 | return s; |
3836 | } |
3837 | |
3838 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3839 | function prototypes and stuff, but not '\xHH' hex character constants. |
3840 | These don't provoke an error unfortunately, instead are silently treated |
3841 | as 'x'. The following induces an error, until -std is added to get |
3842 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3843 | array size at least. It's necessary to write '\x00'==0 to get something |
3844 | that's true only with -std. */ |
3845 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3846 | |
3847 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
3848 | inside strings and character constants. */ |
3849 | #define FOO(x) 'x' |
3850 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
3851 | |
3852 | int test (int i, double x); |
3853 | struct s1 {int (*f) (int a);}; |
3854 | struct s2 {int (*f) (double a);}; |
3855 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |