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