Parent Directory
|
Revision Log
- autoreconf
1 | #! /bin/sh |
2 | # From configure.ac Id: configure.ac 4290 2014-07-20 09:42:28Z michael . |
3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.1.20. |
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.1.20' |
597 | PACKAGE_STRING='ircd-hybrid 8.1.20' |
598 | PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
599 | PACKAGE_URL='' |
600 | |
601 | ac_unique_file="src/ircd.c" |
602 | # Factoring default headers for most tests. |
603 | ac_includes_default="\ |
604 | #include <stdio.h> |
605 | #ifdef HAVE_SYS_TYPES_H |
606 | # include <sys/types.h> |
607 | #endif |
608 | #ifdef HAVE_SYS_STAT_H |
609 | # include <sys/stat.h> |
610 | #endif |
611 | #ifdef STDC_HEADERS |
612 | # include <stdlib.h> |
613 | # include <stddef.h> |
614 | #else |
615 | # ifdef HAVE_STDLIB_H |
616 | # include <stdlib.h> |
617 | # endif |
618 | #endif |
619 | #ifdef HAVE_STRING_H |
620 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
621 | # include <memory.h> |
622 | # endif |
623 | # include <string.h> |
624 | #endif |
625 | #ifdef HAVE_STRINGS_H |
626 | # include <strings.h> |
627 | #endif |
628 | #ifdef HAVE_INTTYPES_H |
629 | # include <inttypes.h> |
630 | #endif |
631 | #ifdef HAVE_STDINT_H |
632 | # include <stdint.h> |
633 | #endif |
634 | #ifdef HAVE_UNISTD_H |
635 | # include <unistd.h> |
636 | #endif" |
637 | |
638 | ac_func_list= |
639 | ac_header_list= |
640 | ac_subst_vars='ltdl_LTLIBOBJS |
641 | ltdl_LIBOBJS |
642 | am__EXEEXT_FALSE |
643 | am__EXEEXT_TRUE |
644 | LTLIBOBJS |
645 | LIBOBJS |
646 | LOCALSTATEDIR |
647 | DATADIR |
648 | LIBDIR |
649 | SYSCONFDIR |
650 | PREFIX |
651 | ENABLE_SSL_FALSE |
652 | ENABLE_SSL_TRUE |
653 | LTDLOPEN |
654 | LT_CONFIG_H |
655 | CONVENIENCE_LTDL_FALSE |
656 | CONVENIENCE_LTDL_TRUE |
657 | INSTALL_LTDL_FALSE |
658 | INSTALL_LTDL_TRUE |
659 | ARGZ_H |
660 | sys_symbol_underscore |
661 | LIBADD_DL |
662 | LT_DLPREOPEN |
663 | LIBADD_DLD_LINK |
664 | LIBADD_SHL_LOAD |
665 | LIBADD_DLOPEN |
666 | LT_DLLOADERS |
667 | INCLTDL |
668 | LTDLINCL |
669 | LTDLDEPS |
670 | LIBLTDL |
671 | CPP |
672 | OTOOL64 |
673 | OTOOL |
674 | LIPO |
675 | NMEDIT |
676 | DSYMUTIL |
677 | MANIFEST_TOOL |
678 | RANLIB |
679 | ac_ct_AR |
680 | AR |
681 | DLLTOOL |
682 | OBJDUMP |
683 | LN_S |
684 | NM |
685 | ac_ct_DUMPBIN |
686 | DUMPBIN |
687 | LD |
688 | FGREP |
689 | EGREP |
690 | GREP |
691 | SED |
692 | host_os |
693 | host_vendor |
694 | host_cpu |
695 | host |
696 | build_os |
697 | build_vendor |
698 | build_cpu |
699 | build |
700 | LIBTOOL |
701 | LEXLIB |
702 | LEX_OUTPUT_ROOT |
703 | LEX |
704 | YFLAGS |
705 | YACC |
706 | am__fastdepCC_FALSE |
707 | am__fastdepCC_TRUE |
708 | CCDEPMODE |
709 | am__nodep |
710 | AMDEPBACKSLASH |
711 | AMDEP_FALSE |
712 | AMDEP_TRUE |
713 | am__quote |
714 | am__include |
715 | DEPDIR |
716 | OBJEXT |
717 | EXEEXT |
718 | ac_ct_CC |
719 | CPPFLAGS |
720 | LDFLAGS |
721 | CFLAGS |
722 | CC |
723 | MAINT |
724 | MAINTAINER_MODE_FALSE |
725 | MAINTAINER_MODE_TRUE |
726 | AM_BACKSLASH |
727 | AM_DEFAULT_VERBOSITY |
728 | AM_DEFAULT_V |
729 | AM_V |
730 | am__untar |
731 | am__tar |
732 | AMTAR |
733 | am__leading_dot |
734 | SET_MAKE |
735 | AWK |
736 | mkdir_p |
737 | MKDIR_P |
738 | INSTALL_STRIP_PROGRAM |
739 | STRIP |
740 | install_sh |
741 | MAKEINFO |
742 | AUTOHEADER |
743 | AUTOMAKE |
744 | AUTOCONF |
745 | ACLOCAL |
746 | VERSION |
747 | PACKAGE |
748 | CYGPATH_W |
749 | am__isrc |
750 | INSTALL_DATA |
751 | INSTALL_SCRIPT |
752 | INSTALL_PROGRAM |
753 | target_alias |
754 | host_alias |
755 | build_alias |
756 | LIBS |
757 | ECHO_T |
758 | ECHO_N |
759 | ECHO_C |
760 | DEFS |
761 | mandir |
762 | localedir |
763 | libdir |
764 | psdir |
765 | pdfdir |
766 | dvidir |
767 | htmldir |
768 | infodir |
769 | docdir |
770 | oldincludedir |
771 | includedir |
772 | localstatedir |
773 | sharedstatedir |
774 | sysconfdir |
775 | datadir |
776 | datarootdir |
777 | libexecdir |
778 | sbindir |
779 | bindir |
780 | program_transform_name |
781 | prefix |
782 | exec_prefix |
783 | PACKAGE_URL |
784 | PACKAGE_BUGREPORT |
785 | PACKAGE_STRING |
786 | PACKAGE_VERSION |
787 | PACKAGE_TARNAME |
788 | PACKAGE_NAME |
789 | PATH_SEPARATOR |
790 | SHELL' |
791 | ac_subst_files='' |
792 | ac_user_opts=' |
793 | enable_option_checking |
794 | enable_silent_rules |
795 | enable_maintainer_mode |
796 | enable_dependency_tracking |
797 | enable_static |
798 | enable_shared |
799 | with_pic |
800 | enable_fast_install |
801 | with_gnu_ld |
802 | with_sysroot |
803 | enable_libtool_lock |
804 | with_included_ltdl |
805 | with_ltdl_include |
806 | with_ltdl_lib |
807 | enable_ltdl_install |
808 | enable_libgeoip |
809 | enable_openssl |
810 | enable_assert |
811 | enable_kqueue |
812 | enable_epoll |
813 | enable_devpoll |
814 | enable_poll |
815 | enable_select |
816 | enable_halfops |
817 | enable_debugging |
818 | enable_warnings |
819 | ' |
820 | ac_precious_vars='build_alias |
821 | host_alias |
822 | target_alias |
823 | CC |
824 | CFLAGS |
825 | LDFLAGS |
826 | LIBS |
827 | CPPFLAGS |
828 | YACC |
829 | YFLAGS |
830 | CPP' |
831 | |
832 | |
833 | # Initialize some variables set by options. |
834 | ac_init_help= |
835 | ac_init_version=false |
836 | ac_unrecognized_opts= |
837 | ac_unrecognized_sep= |
838 | # The variables have the same names as the options, with |
839 | # dashes changed to underlines. |
840 | cache_file=/dev/null |
841 | exec_prefix=NONE |
842 | no_create= |
843 | no_recursion= |
844 | prefix=NONE |
845 | program_prefix=NONE |
846 | program_suffix=NONE |
847 | program_transform_name=s,x,x, |
848 | silent= |
849 | site= |
850 | srcdir= |
851 | verbose= |
852 | x_includes=NONE |
853 | x_libraries=NONE |
854 | |
855 | # Installation directory options. |
856 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
857 | # and all the variables that are supposed to be based on exec_prefix |
858 | # by default will actually change. |
859 | # Use braces instead of parens because sh, perl, etc. also accept them. |
860 | # (The list follows the same order as the GNU Coding Standards.) |
861 | bindir='${exec_prefix}/bin' |
862 | sbindir='${exec_prefix}/sbin' |
863 | libexecdir='${exec_prefix}/libexec' |
864 | datarootdir='${prefix}/share' |
865 | datadir='${datarootdir}' |
866 | sysconfdir='${prefix}/etc' |
867 | sharedstatedir='${prefix}/com' |
868 | localstatedir='${prefix}/var' |
869 | includedir='${prefix}/include' |
870 | oldincludedir='/usr/include' |
871 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
872 | infodir='${datarootdir}/info' |
873 | htmldir='${docdir}' |
874 | dvidir='${docdir}' |
875 | pdfdir='${docdir}' |
876 | psdir='${docdir}' |
877 | libdir='${exec_prefix}/lib' |
878 | localedir='${datarootdir}/locale' |
879 | mandir='${datarootdir}/man' |
880 | |
881 | ac_prev= |
882 | ac_dashdash= |
883 | for ac_option |
884 | do |
885 | # If the previous option needs an argument, assign it. |
886 | if test -n "$ac_prev"; then |
887 | eval $ac_prev=\$ac_option |
888 | ac_prev= |
889 | continue |
890 | fi |
891 | |
892 | case $ac_option in |
893 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
894 | *=) ac_optarg= ;; |
895 | *) ac_optarg=yes ;; |
896 | esac |
897 | |
898 | # Accept the important Cygnus configure options, so we can diagnose typos. |
899 | |
900 | case $ac_dashdash$ac_option in |
901 | --) |
902 | ac_dashdash=yes ;; |
903 | |
904 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
905 | ac_prev=bindir ;; |
906 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
907 | bindir=$ac_optarg ;; |
908 | |
909 | -build | --build | --buil | --bui | --bu) |
910 | ac_prev=build_alias ;; |
911 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
912 | build_alias=$ac_optarg ;; |
913 | |
914 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
915 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
916 | ac_prev=cache_file ;; |
917 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
918 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
919 | cache_file=$ac_optarg ;; |
920 | |
921 | --config-cache | -C) |
922 | cache_file=config.cache ;; |
923 | |
924 | -datadir | --datadir | --datadi | --datad) |
925 | ac_prev=datadir ;; |
926 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
927 | datadir=$ac_optarg ;; |
928 | |
929 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
930 | | --dataroo | --dataro | --datar) |
931 | ac_prev=datarootdir ;; |
932 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
933 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
934 | datarootdir=$ac_optarg ;; |
935 | |
936 | -disable-* | --disable-*) |
937 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
938 | # Reject names that are not valid shell variable names. |
939 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
940 | as_fn_error $? "invalid feature name: $ac_useropt" |
941 | ac_useropt_orig=$ac_useropt |
942 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
943 | case $ac_user_opts in |
944 | *" |
945 | "enable_$ac_useropt" |
946 | "*) ;; |
947 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
948 | ac_unrecognized_sep=', ';; |
949 | esac |
950 | eval enable_$ac_useropt=no ;; |
951 | |
952 | -docdir | --docdir | --docdi | --doc | --do) |
953 | ac_prev=docdir ;; |
954 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
955 | docdir=$ac_optarg ;; |
956 | |
957 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
958 | ac_prev=dvidir ;; |
959 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
960 | dvidir=$ac_optarg ;; |
961 | |
962 | -enable-* | --enable-*) |
963 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
964 | # Reject names that are not valid shell variable names. |
965 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
966 | as_fn_error $? "invalid feature name: $ac_useropt" |
967 | ac_useropt_orig=$ac_useropt |
968 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
969 | case $ac_user_opts in |
970 | *" |
971 | "enable_$ac_useropt" |
972 | "*) ;; |
973 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
974 | ac_unrecognized_sep=', ';; |
975 | esac |
976 | eval enable_$ac_useropt=\$ac_optarg ;; |
977 | |
978 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
979 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
980 | | --exec | --exe | --ex) |
981 | ac_prev=exec_prefix ;; |
982 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
983 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
984 | | --exec=* | --exe=* | --ex=*) |
985 | exec_prefix=$ac_optarg ;; |
986 | |
987 | -gas | --gas | --ga | --g) |
988 | # Obsolete; use --with-gas. |
989 | with_gas=yes ;; |
990 | |
991 | -help | --help | --hel | --he | -h) |
992 | ac_init_help=long ;; |
993 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
994 | ac_init_help=recursive ;; |
995 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
996 | ac_init_help=short ;; |
997 | |
998 | -host | --host | --hos | --ho) |
999 | ac_prev=host_alias ;; |
1000 | -host=* | --host=* | --hos=* | --ho=*) |
1001 | host_alias=$ac_optarg ;; |
1002 | |
1003 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
1004 | ac_prev=htmldir ;; |
1005 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
1006 | | --ht=*) |
1007 | htmldir=$ac_optarg ;; |
1008 | |
1009 | -includedir | --includedir | --includedi | --included | --include \ |
1010 | | --includ | --inclu | --incl | --inc) |
1011 | ac_prev=includedir ;; |
1012 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
1013 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
1014 | includedir=$ac_optarg ;; |
1015 | |
1016 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
1017 | ac_prev=infodir ;; |
1018 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
1019 | infodir=$ac_optarg ;; |
1020 | |
1021 | -libdir | --libdir | --libdi | --libd) |
1022 | ac_prev=libdir ;; |
1023 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
1024 | libdir=$ac_optarg ;; |
1025 | |
1026 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
1027 | | --libexe | --libex | --libe) |
1028 | ac_prev=libexecdir ;; |
1029 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
1030 | | --libexe=* | --libex=* | --libe=*) |
1031 | libexecdir=$ac_optarg ;; |
1032 | |
1033 | -localedir | --localedir | --localedi | --localed | --locale) |
1034 | ac_prev=localedir ;; |
1035 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
1036 | localedir=$ac_optarg ;; |
1037 | |
1038 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
1039 | | --localstate | --localstat | --localsta | --localst | --locals) |
1040 | ac_prev=localstatedir ;; |
1041 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
1042 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
1043 | localstatedir=$ac_optarg ;; |
1044 | |
1045 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
1046 | ac_prev=mandir ;; |
1047 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
1048 | mandir=$ac_optarg ;; |
1049 | |
1050 | -nfp | --nfp | --nf) |
1051 | # Obsolete; use --without-fp. |
1052 | with_fp=no ;; |
1053 | |
1054 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1055 | | --no-cr | --no-c | -n) |
1056 | no_create=yes ;; |
1057 | |
1058 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1059 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
1060 | no_recursion=yes ;; |
1061 | |
1062 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
1063 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
1064 | | --oldin | --oldi | --old | --ol | --o) |
1065 | ac_prev=oldincludedir ;; |
1066 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
1067 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
1068 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
1069 | oldincludedir=$ac_optarg ;; |
1070 | |
1071 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
1072 | ac_prev=prefix ;; |
1073 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
1074 | prefix=$ac_optarg ;; |
1075 | |
1076 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
1077 | | --program-pre | --program-pr | --program-p) |
1078 | ac_prev=program_prefix ;; |
1079 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
1080 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
1081 | program_prefix=$ac_optarg ;; |
1082 | |
1083 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
1084 | | --program-suf | --program-su | --program-s) |
1085 | ac_prev=program_suffix ;; |
1086 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
1087 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
1088 | program_suffix=$ac_optarg ;; |
1089 | |
1090 | -program-transform-name | --program-transform-name \ |
1091 | | --program-transform-nam | --program-transform-na \ |
1092 | | --program-transform-n | --program-transform- \ |
1093 | | --program-transform | --program-transfor \ |
1094 | | --program-transfo | --program-transf \ |
1095 | | --program-trans | --program-tran \ |
1096 | | --progr-tra | --program-tr | --program-t) |
1097 | ac_prev=program_transform_name ;; |
1098 | -program-transform-name=* | --program-transform-name=* \ |
1099 | | --program-transform-nam=* | --program-transform-na=* \ |
1100 | | --program-transform-n=* | --program-transform-=* \ |
1101 | | --program-transform=* | --program-transfor=* \ |
1102 | | --program-transfo=* | --program-transf=* \ |
1103 | | --program-trans=* | --program-tran=* \ |
1104 | | --progr-tra=* | --program-tr=* | --program-t=*) |
1105 | program_transform_name=$ac_optarg ;; |
1106 | |
1107 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1108 | ac_prev=pdfdir ;; |
1109 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
1110 | pdfdir=$ac_optarg ;; |
1111 | |
1112 | -psdir | --psdir | --psdi | --psd | --ps) |
1113 | ac_prev=psdir ;; |
1114 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
1115 | psdir=$ac_optarg ;; |
1116 | |
1117 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1118 | | -silent | --silent | --silen | --sile | --sil) |
1119 | silent=yes ;; |
1120 | |
1121 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1122 | ac_prev=sbindir ;; |
1123 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1124 | | --sbi=* | --sb=*) |
1125 | sbindir=$ac_optarg ;; |
1126 | |
1127 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
1128 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
1129 | | --sharedst | --shareds | --shared | --share | --shar \ |
1130 | | --sha | --sh) |
1131 | ac_prev=sharedstatedir ;; |
1132 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
1133 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
1134 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
1135 | | --sha=* | --sh=*) |
1136 | sharedstatedir=$ac_optarg ;; |
1137 | |
1138 | -site | --site | --sit) |
1139 | ac_prev=site ;; |
1140 | -site=* | --site=* | --sit=*) |
1141 | site=$ac_optarg ;; |
1142 | |
1143 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
1144 | ac_prev=srcdir ;; |
1145 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
1146 | srcdir=$ac_optarg ;; |
1147 | |
1148 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
1149 | | --syscon | --sysco | --sysc | --sys | --sy) |
1150 | ac_prev=sysconfdir ;; |
1151 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
1152 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
1153 | sysconfdir=$ac_optarg ;; |
1154 | |
1155 | -target | --target | --targe | --targ | --tar | --ta | --t) |
1156 | ac_prev=target_alias ;; |
1157 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1158 | target_alias=$ac_optarg ;; |
1159 | |
1160 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
1161 | verbose=yes ;; |
1162 | |
1163 | -version | --version | --versio | --versi | --vers | -V) |
1164 | ac_init_version=: ;; |
1165 | |
1166 | -with-* | --with-*) |
1167 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1168 | # Reject names that are not valid shell variable names. |
1169 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1170 | as_fn_error $? "invalid package name: $ac_useropt" |
1171 | ac_useropt_orig=$ac_useropt |
1172 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1173 | case $ac_user_opts in |
1174 | *" |
1175 | "with_$ac_useropt" |
1176 | "*) ;; |
1177 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1178 | ac_unrecognized_sep=', ';; |
1179 | esac |
1180 | eval with_$ac_useropt=\$ac_optarg ;; |
1181 | |
1182 | -without-* | --without-*) |
1183 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1184 | # Reject names that are not valid shell variable names. |
1185 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1186 | as_fn_error $? "invalid package name: $ac_useropt" |
1187 | ac_useropt_orig=$ac_useropt |
1188 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1189 | case $ac_user_opts in |
1190 | *" |
1191 | "with_$ac_useropt" |
1192 | "*) ;; |
1193 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1194 | ac_unrecognized_sep=', ';; |
1195 | esac |
1196 | eval with_$ac_useropt=no ;; |
1197 | |
1198 | --x) |
1199 | # Obsolete; use --with-x. |
1200 | with_x=yes ;; |
1201 | |
1202 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1203 | | --x-incl | --x-inc | --x-in | --x-i) |
1204 | ac_prev=x_includes ;; |
1205 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1206 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1207 | x_includes=$ac_optarg ;; |
1208 | |
1209 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1210 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1211 | ac_prev=x_libraries ;; |
1212 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1213 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1214 | x_libraries=$ac_optarg ;; |
1215 | |
1216 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1217 | Try \`$0 --help' for more information" |
1218 | ;; |
1219 | |
1220 | *=*) |
1221 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1222 | # Reject names that are not valid shell variable names. |
1223 | case $ac_envvar in #( |
1224 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1225 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1226 | esac |
1227 | eval $ac_envvar=\$ac_optarg |
1228 | export $ac_envvar ;; |
1229 | |
1230 | *) |
1231 | # FIXME: should be removed in autoconf 3.0. |
1232 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1233 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1234 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1235 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1236 | ;; |
1237 | |
1238 | esac |
1239 | done |
1240 | |
1241 | if test -n "$ac_prev"; then |
1242 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1243 | as_fn_error $? "missing argument to $ac_option" |
1244 | fi |
1245 | |
1246 | if test -n "$ac_unrecognized_opts"; then |
1247 | case $enable_option_checking in |
1248 | no) ;; |
1249 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1250 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1251 | esac |
1252 | fi |
1253 | |
1254 | # Check all directory arguments for consistency. |
1255 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1256 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1257 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1258 | libdir localedir mandir |
1259 | do |
1260 | eval ac_val=\$$ac_var |
1261 | # Remove trailing slashes. |
1262 | case $ac_val in |
1263 | */ ) |
1264 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1265 | eval $ac_var=\$ac_val;; |
1266 | esac |
1267 | # Be sure to have absolute directory names. |
1268 | case $ac_val in |
1269 | [\\/$]* | ?:[\\/]* ) continue;; |
1270 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1271 | esac |
1272 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1273 | done |
1274 | |
1275 | # There might be people who depend on the old broken behavior: `$host' |
1276 | # used to hold the argument of --host etc. |
1277 | # FIXME: To remove some day. |
1278 | build=$build_alias |
1279 | host=$host_alias |
1280 | target=$target_alias |
1281 | |
1282 | # FIXME: To remove some day. |
1283 | if test "x$host_alias" != x; then |
1284 | if test "x$build_alias" = x; then |
1285 | cross_compiling=maybe |
1286 | elif test "x$build_alias" != "x$host_alias"; then |
1287 | cross_compiling=yes |
1288 | fi |
1289 | fi |
1290 | |
1291 | ac_tool_prefix= |
1292 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1293 | |
1294 | test "$silent" = yes && exec 6>/dev/null |
1295 | |
1296 | |
1297 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1298 | ac_ls_di=`ls -di .` && |
1299 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1300 | as_fn_error $? "working directory cannot be determined" |
1301 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1302 | as_fn_error $? "pwd does not report name of working directory" |
1303 | |
1304 | |
1305 | # Find the source files, if location was not specified. |
1306 | if test -z "$srcdir"; then |
1307 | ac_srcdir_defaulted=yes |
1308 | # Try the directory containing this script, then the parent directory. |
1309 | ac_confdir=`$as_dirname -- "$as_myself" || |
1310 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1311 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1312 | X"$as_myself" : 'X\(//\)$' \| \ |
1313 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1314 | $as_echo X"$as_myself" | |
1315 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1316 | s//\1/ |
1317 | q |
1318 | } |
1319 | /^X\(\/\/\)[^/].*/{ |
1320 | s//\1/ |
1321 | q |
1322 | } |
1323 | /^X\(\/\/\)$/{ |
1324 | s//\1/ |
1325 | q |
1326 | } |
1327 | /^X\(\/\).*/{ |
1328 | s//\1/ |
1329 | q |
1330 | } |
1331 | s/.*/./; q'` |
1332 | srcdir=$ac_confdir |
1333 | if test ! -r "$srcdir/$ac_unique_file"; then |
1334 | srcdir=.. |
1335 | fi |
1336 | else |
1337 | ac_srcdir_defaulted=no |
1338 | fi |
1339 | if test ! -r "$srcdir/$ac_unique_file"; then |
1340 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1341 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1342 | fi |
1343 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1344 | ac_abs_confdir=`( |
1345 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1346 | pwd)` |
1347 | # When building in place, set srcdir=. |
1348 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1349 | srcdir=. |
1350 | fi |
1351 | # Remove unnecessary trailing slashes from srcdir. |
1352 | # Double slashes in file names in object file debugging info |
1353 | # mess up M-x gdb in Emacs. |
1354 | case $srcdir in |
1355 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1356 | esac |
1357 | for ac_var in $ac_precious_vars; do |
1358 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1359 | eval ac_env_${ac_var}_value=\$${ac_var} |
1360 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1361 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1362 | done |
1363 | |
1364 | # |
1365 | # Report the --help message. |
1366 | # |
1367 | if test "$ac_init_help" = "long"; then |
1368 | # Omit some internal or obsolete options to make the list less imposing. |
1369 | # This message is too long to be a string in the A/UX 3.1 sh. |
1370 | cat <<_ACEOF |
1371 | \`configure' configures ircd-hybrid 8.1.20 to adapt to many kinds of systems. |
1372 | |
1373 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1374 | |
1375 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1376 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1377 | |
1378 | Defaults for the options are specified in brackets. |
1379 | |
1380 | Configuration: |
1381 | -h, --help display this help and exit |
1382 | --help=short display options specific to this package |
1383 | --help=recursive display the short help of all the included packages |
1384 | -V, --version display version information and exit |
1385 | -q, --quiet, --silent do not print \`checking ...' messages |
1386 | --cache-file=FILE cache test results in FILE [disabled] |
1387 | -C, --config-cache alias for \`--cache-file=config.cache' |
1388 | -n, --no-create do not create output files |
1389 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1390 | |
1391 | Installation directories: |
1392 | --prefix=PREFIX install architecture-independent files in PREFIX |
1393 | [$ac_default_prefix] |
1394 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1395 | [PREFIX] |
1396 | |
1397 | By default, \`make install' will install all the files in |
1398 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1399 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1400 | for instance \`--prefix=\$HOME'. |
1401 | |
1402 | For better control, use the options below. |
1403 | |
1404 | Fine tuning of the installation directories: |
1405 | --bindir=DIR user executables [EPREFIX/bin] |
1406 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1407 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1408 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1409 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1410 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1411 | --libdir=DIR object code libraries [EPREFIX/lib] |
1412 | --includedir=DIR C header files [PREFIX/include] |
1413 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1414 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1415 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1416 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1417 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1418 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1419 | --docdir=DIR documentation root [DATAROOTDIR/doc/ircd-hybrid] |
1420 | --htmldir=DIR html documentation [DOCDIR] |
1421 | --dvidir=DIR dvi documentation [DOCDIR] |
1422 | --pdfdir=DIR pdf documentation [DOCDIR] |
1423 | --psdir=DIR ps documentation [DOCDIR] |
1424 | _ACEOF |
1425 | |
1426 | cat <<\_ACEOF |
1427 | |
1428 | Program names: |
1429 | --program-prefix=PREFIX prepend PREFIX to installed program names |
1430 | --program-suffix=SUFFIX append SUFFIX to installed program names |
1431 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1432 | |
1433 | System types: |
1434 | --build=BUILD configure for building on BUILD [guessed] |
1435 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
1436 | _ACEOF |
1437 | fi |
1438 | |
1439 | if test -n "$ac_init_help"; then |
1440 | case $ac_init_help in |
1441 | short | recursive ) echo "Configuration of ircd-hybrid 8.1.20:";; |
1442 | esac |
1443 | cat <<\_ACEOF |
1444 | |
1445 | Optional Features: |
1446 | --disable-option-checking ignore unrecognized --enable/--with options |
1447 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1448 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1449 | --enable-silent-rules less verbose build output (undo: "make V=1") |
1450 | --disable-silent-rules verbose build output (undo: "make V=0") |
1451 | --enable-maintainer-mode |
1452 | enable make rules and dependencies not useful (and |
1453 | sometimes confusing) to the casual installer |
1454 | --enable-dependency-tracking |
1455 | do not reject slow dependency extractors |
1456 | --disable-dependency-tracking |
1457 | speeds up one-time build |
1458 | --enable-static[=PKGS] build static libraries [default=no] |
1459 | --enable-shared[=PKGS] build shared libraries [default=yes] |
1460 | --enable-fast-install[=PKGS] |
1461 | optimize for fast installation [default=yes] |
1462 | --disable-libtool-lock avoid locking (might break parallel builds) |
1463 | --enable-ltdl-install install libltdl |
1464 | --disable-libgeoip Disable GeoIP support |
1465 | --enable-openssl=DIR Enable OpenSSL support (DIR optional). |
1466 | --disable-openssl Disable OpenSSL support. |
1467 | --enable-assert Enable assert() statements |
1468 | --enable-kqueue Force kqueue usage. |
1469 | --enable-epoll Force epoll usage. |
1470 | --enable-devpoll Force devpoll usage. |
1471 | --enable-poll Force poll usage. |
1472 | --enable-select Force select usage. |
1473 | --enable-halfops Enable halfops support. |
1474 | --enable-debugging Enable debugging. |
1475 | --enable-warnings Enable compiler warnings. |
1476 | |
1477 | Optional Packages: |
1478 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1479 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1480 | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1481 | both] |
1482 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1483 | --with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
1484 | compiler's sysroot if not specified). |
1485 | --with-included-ltdl use the GNU ltdl sources included here |
1486 | --with-ltdl-include=DIR use the ltdl headers installed in DIR |
1487 | --with-ltdl-lib=DIR use the libltdl.la installed in DIR |
1488 | |
1489 | Some influential environment variables: |
1490 | CC C compiler command |
1491 | CFLAGS C compiler flags |
1492 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1493 | nonstandard directory <lib dir> |
1494 | LIBS libraries to pass to the linker, e.g. -l<library> |
1495 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1496 | you have headers in a nonstandard directory <include dir> |
1497 | YACC The `Yet Another Compiler Compiler' implementation to use. |
1498 | Defaults to the first program found out of: `bison -y', `byacc', |
1499 | `yacc'. |
1500 | YFLAGS The list of arguments that will be passed by default to $YACC. |
1501 | This script will default YFLAGS to the empty string to avoid a |
1502 | default value of `-d' given by some make applications. |
1503 | CPP C preprocessor |
1504 | |
1505 | Use these variables to override the choices made by `configure' or to help |
1506 | it to find libraries and programs with nonstandard names/locations. |
1507 | |
1508 | Report bugs to <bugs@ircd-hybrid.org>. |
1509 | _ACEOF |
1510 | ac_status=$? |
1511 | fi |
1512 | |
1513 | if test "$ac_init_help" = "recursive"; then |
1514 | # If there are subdirs, report their specific --help. |
1515 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1516 | test -d "$ac_dir" || |
1517 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1518 | continue |
1519 | ac_builddir=. |
1520 | |
1521 | case "$ac_dir" in |
1522 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1523 | *) |
1524 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1525 | # A ".." for each directory in $ac_dir_suffix. |
1526 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1527 | case $ac_top_builddir_sub in |
1528 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1529 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1530 | esac ;; |
1531 | esac |
1532 | ac_abs_top_builddir=$ac_pwd |
1533 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1534 | # for backward compatibility: |
1535 | ac_top_builddir=$ac_top_build_prefix |
1536 | |
1537 | case $srcdir in |
1538 | .) # We are building in place. |
1539 | ac_srcdir=. |
1540 | ac_top_srcdir=$ac_top_builddir_sub |
1541 | ac_abs_top_srcdir=$ac_pwd ;; |
1542 | [\\/]* | ?:[\\/]* ) # Absolute name. |
1543 | ac_srcdir=$srcdir$ac_dir_suffix; |
1544 | ac_top_srcdir=$srcdir |
1545 | ac_abs_top_srcdir=$srcdir ;; |
1546 | *) # Relative name. |
1547 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1548 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
1549 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1550 | esac |
1551 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1552 | |
1553 | cd "$ac_dir" || { ac_status=$?; continue; } |
1554 | # Check for guested configure. |
1555 | if test -f "$ac_srcdir/configure.gnu"; then |
1556 | echo && |
1557 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1558 | elif test -f "$ac_srcdir/configure"; then |
1559 | echo && |
1560 | $SHELL "$ac_srcdir/configure" --help=recursive |
1561 | else |
1562 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1563 | fi || ac_status=$? |
1564 | cd "$ac_pwd" || { ac_status=$?; break; } |
1565 | done |
1566 | fi |
1567 | |
1568 | test -n "$ac_init_help" && exit $ac_status |
1569 | if $ac_init_version; then |
1570 | cat <<\_ACEOF |
1571 | ircd-hybrid configure 8.1.20 |
1572 | generated by GNU Autoconf 2.69 |
1573 | |
1574 | Copyright (C) 2012 Free Software Foundation, Inc. |
1575 | This configure script is free software; the Free Software Foundation |
1576 | gives unlimited permission to copy, distribute and modify it. |
1577 | _ACEOF |
1578 | exit |
1579 | fi |
1580 | |
1581 | ## ------------------------ ## |
1582 | ## Autoconf initialization. ## |
1583 | ## ------------------------ ## |
1584 | |
1585 | # ac_fn_c_try_compile LINENO |
1586 | # -------------------------- |
1587 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1588 | ac_fn_c_try_compile () |
1589 | { |
1590 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1591 | rm -f conftest.$ac_objext |
1592 | if { { ac_try="$ac_compile" |
1593 | case "(($ac_try" in |
1594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1595 | *) ac_try_echo=$ac_try;; |
1596 | esac |
1597 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1598 | $as_echo "$ac_try_echo"; } >&5 |
1599 | (eval "$ac_compile") 2>conftest.err |
1600 | ac_status=$? |
1601 | if test -s conftest.err; then |
1602 | grep -v '^ *+' conftest.err >conftest.er1 |
1603 | cat conftest.er1 >&5 |
1604 | mv -f conftest.er1 conftest.err |
1605 | fi |
1606 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1607 | test $ac_status = 0; } && { |
1608 | test -z "$ac_c_werror_flag" || |
1609 | test ! -s conftest.err |
1610 | } && test -s conftest.$ac_objext; then : |
1611 | ac_retval=0 |
1612 | else |
1613 | $as_echo "$as_me: failed program was:" >&5 |
1614 | sed 's/^/| /' conftest.$ac_ext >&5 |
1615 | |
1616 | ac_retval=1 |
1617 | fi |
1618 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1619 | as_fn_set_status $ac_retval |
1620 | |
1621 | } # ac_fn_c_try_compile |
1622 | |
1623 | # ac_fn_c_try_link LINENO |
1624 | # ----------------------- |
1625 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1626 | ac_fn_c_try_link () |
1627 | { |
1628 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1629 | rm -f conftest.$ac_objext conftest$ac_exeext |
1630 | if { { ac_try="$ac_link" |
1631 | case "(($ac_try" in |
1632 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1633 | *) ac_try_echo=$ac_try;; |
1634 | esac |
1635 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1636 | $as_echo "$ac_try_echo"; } >&5 |
1637 | (eval "$ac_link") 2>conftest.err |
1638 | ac_status=$? |
1639 | if test -s conftest.err; then |
1640 | grep -v '^ *+' conftest.err >conftest.er1 |
1641 | cat conftest.er1 >&5 |
1642 | mv -f conftest.er1 conftest.err |
1643 | fi |
1644 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1645 | test $ac_status = 0; } && { |
1646 | test -z "$ac_c_werror_flag" || |
1647 | test ! -s conftest.err |
1648 | } && test -s conftest$ac_exeext && { |
1649 | test "$cross_compiling" = yes || |
1650 | test -x conftest$ac_exeext |
1651 | }; then : |
1652 | ac_retval=0 |
1653 | else |
1654 | $as_echo "$as_me: failed program was:" >&5 |
1655 | sed 's/^/| /' conftest.$ac_ext >&5 |
1656 | |
1657 | ac_retval=1 |
1658 | fi |
1659 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1660 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1661 | # interfere with the next link command; also delete a directory that is |
1662 | # left behind by Apple's compiler. We do this before executing the actions. |
1663 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1664 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1665 | as_fn_set_status $ac_retval |
1666 | |
1667 | } # ac_fn_c_try_link |
1668 | |
1669 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1670 | # ------------------------------------------------------- |
1671 | # Tests whether HEADER exists and can be compiled using the include files in |
1672 | # INCLUDES, setting the cache variable VAR accordingly. |
1673 | ac_fn_c_check_header_compile () |
1674 | { |
1675 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1676 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1677 | $as_echo_n "checking for $2... " >&6; } |
1678 | if eval \${$3+:} false; then : |
1679 | $as_echo_n "(cached) " >&6 |
1680 | else |
1681 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1682 | /* end confdefs.h. */ |
1683 | $4 |
1684 | #include <$2> |
1685 | _ACEOF |
1686 | if ac_fn_c_try_compile "$LINENO"; then : |
1687 | eval "$3=yes" |
1688 | else |
1689 | eval "$3=no" |
1690 | fi |
1691 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1692 | fi |
1693 | eval ac_res=\$$3 |
1694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1695 | $as_echo "$ac_res" >&6; } |
1696 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1697 | |
1698 | } # ac_fn_c_check_header_compile |
1699 | |
1700 | # ac_fn_c_try_cpp LINENO |
1701 | # ---------------------- |
1702 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1703 | ac_fn_c_try_cpp () |
1704 | { |
1705 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1706 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
1707 | case "(($ac_try" in |
1708 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1709 | *) ac_try_echo=$ac_try;; |
1710 | esac |
1711 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1712 | $as_echo "$ac_try_echo"; } >&5 |
1713 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1714 | ac_status=$? |
1715 | if test -s conftest.err; then |
1716 | grep -v '^ *+' conftest.err >conftest.er1 |
1717 | cat conftest.er1 >&5 |
1718 | mv -f conftest.er1 conftest.err |
1719 | fi |
1720 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1721 | test $ac_status = 0; } > conftest.i && { |
1722 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1723 | test ! -s conftest.err |
1724 | }; then : |
1725 | ac_retval=0 |
1726 | else |
1727 | $as_echo "$as_me: failed program was:" >&5 |
1728 | sed 's/^/| /' conftest.$ac_ext >&5 |
1729 | |
1730 | ac_retval=1 |
1731 | fi |
1732 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1733 | as_fn_set_status $ac_retval |
1734 | |
1735 | } # ac_fn_c_try_cpp |
1736 | |
1737 | # ac_fn_c_try_run LINENO |
1738 | # ---------------------- |
1739 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1740 | # that executables *can* be run. |
1741 | ac_fn_c_try_run () |
1742 | { |
1743 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1744 | if { { ac_try="$ac_link" |
1745 | case "(($ac_try" in |
1746 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1747 | *) ac_try_echo=$ac_try;; |
1748 | esac |
1749 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1750 | $as_echo "$ac_try_echo"; } >&5 |
1751 | (eval "$ac_link") 2>&5 |
1752 | ac_status=$? |
1753 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1754 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1755 | { { case "(($ac_try" in |
1756 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1757 | *) ac_try_echo=$ac_try;; |
1758 | esac |
1759 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1760 | $as_echo "$ac_try_echo"; } >&5 |
1761 | (eval "$ac_try") 2>&5 |
1762 | ac_status=$? |
1763 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1764 | test $ac_status = 0; }; }; then : |
1765 | ac_retval=0 |
1766 | else |
1767 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
1768 | $as_echo "$as_me: failed program was:" >&5 |
1769 | sed 's/^/| /' conftest.$ac_ext >&5 |
1770 | |
1771 | ac_retval=$ac_status |
1772 | fi |
1773 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1774 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1775 | as_fn_set_status $ac_retval |
1776 | |
1777 | } # ac_fn_c_try_run |
1778 | |
1779 | # ac_fn_c_check_func LINENO FUNC VAR |
1780 | # ---------------------------------- |
1781 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
1782 | ac_fn_c_check_func () |
1783 | { |
1784 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1785 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1786 | $as_echo_n "checking for $2... " >&6; } |
1787 | if eval \${$3+:} false; then : |
1788 | $as_echo_n "(cached) " >&6 |
1789 | else |
1790 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1791 | /* end confdefs.h. */ |
1792 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1793 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1794 | #define $2 innocuous_$2 |
1795 | |
1796 | /* System header to define __stub macros and hopefully few prototypes, |
1797 | which can conflict with char $2 (); below. |
1798 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
1799 | <limits.h> exists even on freestanding compilers. */ |
1800 | |
1801 | #ifdef __STDC__ |
1802 | # include <limits.h> |
1803 | #else |
1804 | # include <assert.h> |
1805 | #endif |
1806 | |
1807 | #undef $2 |
1808 | |
1809 | /* Override any GCC internal prototype to avoid an error. |
1810 | Use char because int might match the return type of a GCC |
1811 | builtin and then its argument prototype would still apply. */ |
1812 | #ifdef __cplusplus |
1813 | extern "C" |
1814 | #endif |
1815 | char $2 (); |
1816 | /* The GNU C library defines this for functions which it implements |
1817 | to always fail with ENOSYS. Some functions are actually named |
1818 | something starting with __ and the normal name is an alias. */ |
1819 | #if defined __stub_$2 || defined __stub___$2 |
1820 | choke me |
1821 | #endif |
1822 | |
1823 | int |
1824 | main () |
1825 | { |
1826 | return $2 (); |
1827 | ; |
1828 | return 0; |
1829 | } |
1830 | _ACEOF |
1831 | if ac_fn_c_try_link "$LINENO"; then : |
1832 | eval "$3=yes" |
1833 | else |
1834 | eval "$3=no" |
1835 | fi |
1836 | rm -f core conftest.err conftest.$ac_objext \ |
1837 | conftest$ac_exeext conftest.$ac_ext |
1838 | fi |
1839 | eval ac_res=\$$3 |
1840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1841 | $as_echo "$ac_res" >&6; } |
1842 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1843 | |
1844 | } # ac_fn_c_check_func |
1845 | |
1846 | # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1847 | # --------------------------------------------- |
1848 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1849 | # accordingly. |
1850 | ac_fn_c_check_decl () |
1851 | { |
1852 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1853 | as_decl_name=`echo $2|sed 's/ *(.*//'` |
1854 | as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1856 | $as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
1857 | if eval \${$3+:} false; then : |
1858 | $as_echo_n "(cached) " >&6 |
1859 | else |
1860 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1861 | /* end confdefs.h. */ |
1862 | $4 |
1863 | int |
1864 | main () |
1865 | { |
1866 | #ifndef $as_decl_name |
1867 | #ifdef __cplusplus |
1868 | (void) $as_decl_use; |
1869 | #else |
1870 | (void) $as_decl_name; |
1871 | #endif |
1872 | #endif |
1873 | |
1874 | ; |
1875 | return 0; |
1876 | } |
1877 | _ACEOF |
1878 | if ac_fn_c_try_compile "$LINENO"; then : |
1879 | eval "$3=yes" |
1880 | else |
1881 | eval "$3=no" |
1882 | fi |
1883 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1884 | fi |
1885 | eval ac_res=\$$3 |
1886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1887 | $as_echo "$ac_res" >&6; } |
1888 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1889 | |
1890 | } # ac_fn_c_check_decl |
1891 | |
1892 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1893 | # ------------------------------------------- |
1894 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
1895 | # variable VAR accordingly. |
1896 | ac_fn_c_check_type () |
1897 | { |
1898 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1900 | $as_echo_n "checking for $2... " >&6; } |
1901 | if eval \${$3+:} false; then : |
1902 | $as_echo_n "(cached) " >&6 |
1903 | else |
1904 | eval "$3=no" |
1905 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1906 | /* end confdefs.h. */ |
1907 | $4 |
1908 | int |
1909 | main () |
1910 | { |
1911 | if (sizeof ($2)) |
1912 | return 0; |
1913 | ; |
1914 | return 0; |
1915 | } |
1916 | _ACEOF |
1917 | if ac_fn_c_try_compile "$LINENO"; then : |
1918 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1919 | /* end confdefs.h. */ |
1920 | $4 |
1921 | int |
1922 | main () |
1923 | { |
1924 | if (sizeof (($2))) |
1925 | return 0; |
1926 | ; |
1927 | return 0; |
1928 | } |
1929 | _ACEOF |
1930 | if ac_fn_c_try_compile "$LINENO"; then : |
1931 | |
1932 | else |
1933 | eval "$3=yes" |
1934 | fi |
1935 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1936 | fi |
1937 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1938 | fi |
1939 | eval ac_res=\$$3 |
1940 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1941 | $as_echo "$ac_res" >&6; } |
1942 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1943 | |
1944 | } # ac_fn_c_check_type |
1945 | |
1946 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
1947 | # ---------------------------------------------------- |
1948 | # Tries to find if the field MEMBER exists in type AGGR, after including |
1949 | # INCLUDES, setting cache variable VAR accordingly. |
1950 | ac_fn_c_check_member () |
1951 | { |
1952 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1953 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1954 | $as_echo_n "checking for $2.$3... " >&6; } |
1955 | if eval \${$4+:} false; then : |
1956 | $as_echo_n "(cached) " >&6 |
1957 | else |
1958 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1959 | /* end confdefs.h. */ |
1960 | $5 |
1961 | int |
1962 | main () |
1963 | { |
1964 | static $2 ac_aggr; |
1965 | if (ac_aggr.$3) |
1966 | return 0; |
1967 | ; |
1968 | return 0; |
1969 | } |
1970 | _ACEOF |
1971 | if ac_fn_c_try_compile "$LINENO"; then : |
1972 | eval "$4=yes" |
1973 | else |
1974 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1975 | /* end confdefs.h. */ |
1976 | $5 |
1977 | int |
1978 | main () |
1979 | { |
1980 | static $2 ac_aggr; |
1981 | if (sizeof ac_aggr.$3) |
1982 | return 0; |
1983 | ; |
1984 | return 0; |
1985 | } |
1986 | _ACEOF |
1987 | if ac_fn_c_try_compile "$LINENO"; then : |
1988 | eval "$4=yes" |
1989 | else |
1990 | eval "$4=no" |
1991 | fi |
1992 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1993 | fi |
1994 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1995 | fi |
1996 | eval ac_res=\$$4 |
1997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1998 | $as_echo "$ac_res" >&6; } |
1999 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2000 | |
2001 | } # ac_fn_c_check_member |
2002 | |
2003 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2004 | # ------------------------------------------------------- |
2005 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2006 | # the include files in INCLUDES and setting the cache variable VAR |
2007 | # accordingly. |
2008 | ac_fn_c_check_header_mongrel () |
2009 | { |
2010 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2011 | if eval \${$3+:} false; then : |
2012 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2013 | $as_echo_n "checking for $2... " >&6; } |
2014 | if eval \${$3+:} false; then : |
2015 | $as_echo_n "(cached) " >&6 |
2016 | fi |
2017 | eval ac_res=\$$3 |
2018 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2019 | $as_echo "$ac_res" >&6; } |
2020 | else |
2021 | # Is the header compilable? |
2022 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
2023 | $as_echo_n "checking $2 usability... " >&6; } |
2024 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2025 | /* end confdefs.h. */ |
2026 | $4 |
2027 | #include <$2> |
2028 | _ACEOF |
2029 | if ac_fn_c_try_compile "$LINENO"; then : |
2030 | ac_header_compiler=yes |
2031 | else |
2032 | ac_header_compiler=no |
2033 | fi |
2034 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2035 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
2036 | $as_echo "$ac_header_compiler" >&6; } |
2037 | |
2038 | # Is the header present? |
2039 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
2040 | $as_echo_n "checking $2 presence... " >&6; } |
2041 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2042 | /* end confdefs.h. */ |
2043 | #include <$2> |
2044 | _ACEOF |
2045 | if ac_fn_c_try_cpp "$LINENO"; then : |
2046 | ac_header_preproc=yes |
2047 | else |
2048 | ac_header_preproc=no |
2049 | fi |
2050 | rm -f conftest.err conftest.i conftest.$ac_ext |
2051 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2052 | $as_echo "$ac_header_preproc" >&6; } |
2053 | |
2054 | # So? What about this header? |
2055 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
2056 | yes:no: ) |
2057 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
2058 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
2059 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2060 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2061 | ;; |
2062 | no:yes:* ) |
2063 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
2064 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
2065 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
2066 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
2067 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
2068 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
2069 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
2070 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2071 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2072 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2073 | ( $as_echo "## ----------------------------------- ## |
2074 | ## Report this to bugs@ircd-hybrid.org ## |
2075 | ## ----------------------------------- ##" |
2076 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
2077 | ;; |
2078 | esac |
2079 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2080 | $as_echo_n "checking for $2... " >&6; } |
2081 | if eval \${$3+:} false; then : |
2082 | $as_echo_n "(cached) " >&6 |
2083 | else |
2084 | eval "$3=\$ac_header_compiler" |
2085 | fi |
2086 | eval ac_res=\$$3 |
2087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2088 | $as_echo "$ac_res" >&6; } |
2089 | fi |
2090 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2091 | |
2092 | } # ac_fn_c_check_header_mongrel |
2093 | cat >config.log <<_ACEOF |
2094 | This file contains any messages produced by compilers while |
2095 | running configure, to aid debugging if configure makes a mistake. |
2096 | |
2097 | It was created by ircd-hybrid $as_me 8.1.20, which was |
2098 | generated by GNU Autoconf 2.69. Invocation command line was |
2099 | |
2100 | $ $0 $@ |
2101 | |
2102 | _ACEOF |
2103 | exec 5>>config.log |
2104 | { |
2105 | cat <<_ASUNAME |
2106 | ## --------- ## |
2107 | ## Platform. ## |
2108 | ## --------- ## |
2109 | |
2110 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
2111 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
2112 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
2113 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
2114 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
2115 | |
2116 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
2117 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
2118 | |
2119 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
2120 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
2121 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
2122 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
2123 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
2124 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
2125 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
2126 | |
2127 | _ASUNAME |
2128 | |
2129 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2130 | for as_dir in $PATH |
2131 | do |
2132 | IFS=$as_save_IFS |
2133 | test -z "$as_dir" && as_dir=. |
2134 | $as_echo "PATH: $as_dir" |
2135 | done |
2136 | IFS=$as_save_IFS |
2137 | |
2138 | } >&5 |
2139 | |
2140 | cat >&5 <<_ACEOF |
2141 | |
2142 | |
2143 | ## ----------- ## |
2144 | ## Core tests. ## |
2145 | ## ----------- ## |
2146 | |
2147 | _ACEOF |
2148 | |
2149 | |
2150 | # Keep a trace of the command line. |
2151 | # Strip out --no-create and --no-recursion so they do not pile up. |
2152 | # Strip out --silent because we don't want to record it for future runs. |
2153 | # Also quote any args containing shell meta-characters. |
2154 | # Make two passes to allow for proper duplicate-argument suppression. |
2155 | ac_configure_args= |
2156 | ac_configure_args0= |
2157 | ac_configure_args1= |
2158 | ac_must_keep_next=false |
2159 | for ac_pass in 1 2 |
2160 | do |
2161 | for ac_arg |
2162 | do |
2163 | case $ac_arg in |
2164 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
2165 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2166 | | -silent | --silent | --silen | --sile | --sil) |
2167 | continue ;; |
2168 | *\'*) |
2169 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2170 | esac |
2171 | case $ac_pass in |
2172 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2173 | 2) |
2174 | as_fn_append ac_configure_args1 " '$ac_arg'" |
2175 | if test $ac_must_keep_next = true; then |
2176 | ac_must_keep_next=false # Got value, back to normal. |
2177 | else |
2178 | case $ac_arg in |
2179 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
2180 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
2181 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
2182 | | -with-* | --with-* | -without-* | --without-* | --x) |
2183 | case "$ac_configure_args0 " in |
2184 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
2185 | esac |
2186 | ;; |
2187 | -* ) ac_must_keep_next=true ;; |
2188 | esac |
2189 | fi |
2190 | as_fn_append ac_configure_args " '$ac_arg'" |
2191 | ;; |
2192 | esac |
2193 | done |
2194 | done |
2195 | { ac_configure_args0=; unset ac_configure_args0;} |
2196 | { ac_configure_args1=; unset ac_configure_args1;} |
2197 | |
2198 | # When interrupted or exit'd, cleanup temporary files, and complete |
2199 | # config.log. We remove comments because anyway the quotes in there |
2200 | # would cause problems or look ugly. |
2201 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
2202 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
2203 | trap 'exit_status=$? |
2204 | # Save into config.log some information that might help in debugging. |
2205 | { |
2206 | echo |
2207 | |
2208 | $as_echo "## ---------------- ## |
2209 | ## Cache variables. ## |
2210 | ## ---------------- ##" |
2211 | echo |
2212 | # The following way of writing the cache mishandles newlines in values, |
2213 | ( |
2214 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2215 | eval ac_val=\$$ac_var |
2216 | case $ac_val in #( |
2217 | *${as_nl}*) |
2218 | case $ac_var in #( |
2219 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2220 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2221 | esac |
2222 | case $ac_var in #( |
2223 | _ | IFS | as_nl) ;; #( |
2224 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2225 | *) { eval $ac_var=; unset $ac_var;} ;; |
2226 | esac ;; |
2227 | esac |
2228 | done |
2229 | (set) 2>&1 | |
2230 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2231 | *${as_nl}ac_space=\ *) |
2232 | sed -n \ |
2233 | "s/'\''/'\''\\\\'\'''\''/g; |
2234 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
2235 | ;; #( |
2236 | *) |
2237 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2238 | ;; |
2239 | esac | |
2240 | sort |
2241 | ) |
2242 | echo |
2243 | |
2244 | $as_echo "## ----------------- ## |
2245 | ## Output variables. ## |
2246 | ## ----------------- ##" |
2247 | echo |
2248 | for ac_var in $ac_subst_vars |
2249 | do |
2250 | eval ac_val=\$$ac_var |
2251 | case $ac_val in |
2252 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2253 | esac |
2254 | $as_echo "$ac_var='\''$ac_val'\''" |
2255 | done | sort |
2256 | echo |
2257 | |
2258 | if test -n "$ac_subst_files"; then |
2259 | $as_echo "## ------------------- ## |
2260 | ## File substitutions. ## |
2261 | ## ------------------- ##" |
2262 | echo |
2263 | for ac_var in $ac_subst_files |
2264 | do |
2265 | eval ac_val=\$$ac_var |
2266 | case $ac_val in |
2267 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2268 | esac |
2269 | $as_echo "$ac_var='\''$ac_val'\''" |
2270 | done | sort |
2271 | echo |
2272 | fi |
2273 | |
2274 | if test -s confdefs.h; then |
2275 | $as_echo "## ----------- ## |
2276 | ## confdefs.h. ## |
2277 | ## ----------- ##" |
2278 | echo |
2279 | cat confdefs.h |
2280 | echo |
2281 | fi |
2282 | test "$ac_signal" != 0 && |
2283 | $as_echo "$as_me: caught signal $ac_signal" |
2284 | $as_echo "$as_me: exit $exit_status" |
2285 | } >&5 |
2286 | rm -f core *.core core.conftest.* && |
2287 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2288 | exit $exit_status |
2289 | ' 0 |
2290 | for ac_signal in 1 2 13 15; do |
2291 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2292 | done |
2293 | ac_signal=0 |
2294 | |
2295 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2296 | rm -f -r conftest* confdefs.h |
2297 | |
2298 | $as_echo "/* confdefs.h */" > confdefs.h |
2299 | |
2300 | # Predefined preprocessor variables. |
2301 | |
2302 | cat >>confdefs.h <<_ACEOF |
2303 | #define PACKAGE_NAME "$PACKAGE_NAME" |
2304 | _ACEOF |
2305 | |
2306 | cat >>confdefs.h <<_ACEOF |
2307 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2308 | _ACEOF |
2309 | |
2310 | cat >>confdefs.h <<_ACEOF |
2311 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2312 | _ACEOF |
2313 | |
2314 | cat >>confdefs.h <<_ACEOF |
2315 | #define PACKAGE_STRING "$PACKAGE_STRING" |
2316 | _ACEOF |
2317 | |
2318 | cat >>confdefs.h <<_ACEOF |
2319 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2320 | _ACEOF |
2321 | |
2322 | cat >>confdefs.h <<_ACEOF |
2323 | #define PACKAGE_URL "$PACKAGE_URL" |
2324 | _ACEOF |
2325 | |
2326 | |
2327 | # Let the site file select an alternate cache file if it wants to. |
2328 | # Prefer an explicitly selected file to automatically selected ones. |
2329 | ac_site_file1=NONE |
2330 | ac_site_file2=NONE |
2331 | if test -n "$CONFIG_SITE"; then |
2332 | # We do not want a PATH search for config.site. |
2333 | case $CONFIG_SITE in #(( |
2334 | -*) ac_site_file1=./$CONFIG_SITE;; |
2335 | */*) ac_site_file1=$CONFIG_SITE;; |
2336 | *) ac_site_file1=./$CONFIG_SITE;; |
2337 | esac |
2338 | elif test "x$prefix" != xNONE; then |
2339 | ac_site_file1=$prefix/share/config.site |
2340 | ac_site_file2=$prefix/etc/config.site |
2341 | else |
2342 | ac_site_file1=$ac_default_prefix/share/config.site |
2343 | ac_site_file2=$ac_default_prefix/etc/config.site |
2344 | fi |
2345 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2346 | do |
2347 | test "x$ac_site_file" = xNONE && continue |
2348 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2349 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2350 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2351 | sed 's/^/| /' "$ac_site_file" >&5 |
2352 | . "$ac_site_file" \ |
2353 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2354 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2355 | as_fn_error $? "failed to load site script $ac_site_file |
2356 | See \`config.log' for more details" "$LINENO" 5; } |
2357 | fi |
2358 | done |
2359 | |
2360 | if test -r "$cache_file"; then |
2361 | # Some versions of bash will fail to source /dev/null (special files |
2362 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2363 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2364 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2365 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
2366 | case $cache_file in |
2367 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2368 | *) . "./$cache_file";; |
2369 | esac |
2370 | fi |
2371 | else |
2372 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2373 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
2374 | >$cache_file |
2375 | fi |
2376 | |
2377 | as_fn_append ac_func_list " 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.14' |
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 --is-lightweight"; then |
2670 | am_missing_run="$MISSING " |
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 | # Check whether --enable-silent-rules was given. |
2911 | if test "${enable_silent_rules+set}" = set; then : |
2912 | enableval=$enable_silent_rules; |
2913 | fi |
2914 | |
2915 | case $enable_silent_rules in # ((( |
2916 | yes) AM_DEFAULT_VERBOSITY=0;; |
2917 | no) AM_DEFAULT_VERBOSITY=1;; |
2918 | *) AM_DEFAULT_VERBOSITY=1;; |
2919 | esac |
2920 | am_make=${MAKE-make} |
2921 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
2922 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
2923 | if ${am_cv_make_support_nested_variables+:} false; then : |
2924 | $as_echo_n "(cached) " >&6 |
2925 | else |
2926 | if $as_echo 'TRUE=$(BAR$(V)) |
2927 | BAR0=false |
2928 | BAR1=true |
2929 | V=1 |
2930 | am__doit: |
2931 | @$(TRUE) |
2932 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
2933 | am_cv_make_support_nested_variables=yes |
2934 | else |
2935 | am_cv_make_support_nested_variables=no |
2936 | fi |
2937 | fi |
2938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
2939 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
2940 | if test $am_cv_make_support_nested_variables = yes; then |
2941 | AM_V='$(V)' |
2942 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
2943 | else |
2944 | AM_V=$AM_DEFAULT_VERBOSITY |
2945 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
2946 | fi |
2947 | AM_BACKSLASH='\' |
2948 | |
2949 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2950 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2951 | # is not polluted with repeated "-I." |
2952 | am__isrc=' -I$(srcdir)' |
2953 | # test to see if srcdir already configured |
2954 | if test -f $srcdir/config.status; then |
2955 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2956 | fi |
2957 | fi |
2958 | |
2959 | # test whether we have cygpath |
2960 | if test -z "$CYGPATH_W"; then |
2961 | if (cygpath --version) >/dev/null 2>/dev/null; then |
2962 | CYGPATH_W='cygpath -w' |
2963 | else |
2964 | CYGPATH_W=echo |
2965 | fi |
2966 | fi |
2967 | |
2968 | |
2969 | # Define the identity of the package. |
2970 | PACKAGE='ircd-hybrid' |
2971 | VERSION='8.1.20' |
2972 | |
2973 | |
2974 | cat >>confdefs.h <<_ACEOF |
2975 | #define PACKAGE "$PACKAGE" |
2976 | _ACEOF |
2977 | |
2978 | |
2979 | cat >>confdefs.h <<_ACEOF |
2980 | #define VERSION "$VERSION" |
2981 | _ACEOF |
2982 | |
2983 | # Some tools Automake needs. |
2984 | |
2985 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
2986 | |
2987 | |
2988 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
2989 | |
2990 | |
2991 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
2992 | |
2993 | |
2994 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
2995 | |
2996 | |
2997 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2998 | |
2999 | # For better backward compatibility. To be removed once Automake 1.9.x |
3000 | # dies out for good. For more background, see: |
3001 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
3002 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
3003 | mkdir_p='$(MKDIR_P)' |
3004 | |
3005 | # We need awk for the "check" target. The system "awk" is bad on |
3006 | # some platforms. |
3007 | # Always define AMTAR for backward compatibility. Yes, it's still used |
3008 | # in the wild :-( We should find a proper way to deprecate it ... |
3009 | AMTAR='$${TAR-tar}' |
3010 | |
3011 | |
3012 | # We'll loop over all known methods to create a tar archive until one works. |
3013 | _am_tools='gnutar pax cpio none' |
3014 | |
3015 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3016 | |
3017 | |
3018 | |
3019 | |
3020 | |
3021 | |
3022 | # POSIX will say in a future version that running "rm -f" with no argument |
3023 | # is OK; and we want to be able to make that assumption in our Makefile |
3024 | # recipes. So use an aggressive probe to check that the usage we want is |
3025 | # actually supported "in the wild" to an acceptable degree. |
3026 | # See automake bug#10828. |
3027 | # To make any issue more visible, cause the running configure to be aborted |
3028 | # by default if the 'rm' program in use doesn't match our expectations; the |
3029 | # user can still override this though. |
3030 | if rm -f && rm -fr && rm -rf; then : OK; else |
3031 | cat >&2 <<'END' |
3032 | Oops! |
3033 | |
3034 | Your 'rm' program seems unable to run without file operands specified |
3035 | on the command line, even when the '-f' option is present. This is contrary |
3036 | to the behaviour of most rm programs out there, and not conforming with |
3037 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
3038 | |
3039 | Please tell bug-automake@gnu.org about your system, including the value |
3040 | of your $PATH and any error possibly output before this message. This |
3041 | can help us improve future automake versions. |
3042 | |
3043 | END |
3044 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
3045 | echo 'Configuration will proceed anyway, since you have set the' >&2 |
3046 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
3047 | echo >&2 |
3048 | else |
3049 | cat >&2 <<'END' |
3050 | Aborting the configuration process, to ensure you take notice of the issue. |
3051 | |
3052 | You can download and install GNU coreutils to get an 'rm' implementation |
3053 | that behaves properly: <http://www.gnu.org/software/coreutils/>. |
3054 | |
3055 | If you want to complete the configuration process using your problematic |
3056 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3057 | to "yes", and re-run configure. |
3058 | |
3059 | END |
3060 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
3061 | fi |
3062 | fi |
3063 | |
3064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3065 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3066 | # Check whether --enable-maintainer-mode was given. |
3067 | if test "${enable_maintainer_mode+set}" = set; then : |
3068 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
3069 | else |
3070 | USE_MAINTAINER_MODE=no |
3071 | fi |
3072 | |
3073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3074 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
3075 | if test $USE_MAINTAINER_MODE = yes; then |
3076 | MAINTAINER_MODE_TRUE= |
3077 | MAINTAINER_MODE_FALSE='#' |
3078 | else |
3079 | MAINTAINER_MODE_TRUE='#' |
3080 | MAINTAINER_MODE_FALSE= |
3081 | fi |
3082 | |
3083 | MAINT=$MAINTAINER_MODE_TRUE |
3084 | |
3085 | |
3086 | |
3087 | ac_config_headers="$ac_config_headers config.h" |
3088 | |
3089 | |
3090 | |
3091 | # Checks for programs. |
3092 | DEPDIR="${am__leading_dot}deps" |
3093 | |
3094 | ac_config_commands="$ac_config_commands depfiles" |
3095 | |
3096 | |
3097 | am_make=${MAKE-make} |
3098 | cat > confinc << 'END' |
3099 | am__doit: |
3100 | @echo this is the am__doit target |
3101 | .PHONY: am__doit |
3102 | END |
3103 | # If we don't find an include directive, just comment out the code. |
3104 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3105 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
3106 | am__include="#" |
3107 | am__quote= |
3108 | _am_result=none |
3109 | # First try GNU make style include. |
3110 | echo "include confinc" > confmf |
3111 | # Ignore all kinds of additional output from 'make'. |
3112 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3113 | *the\ am__doit\ target*) |
3114 | am__include=include |
3115 | am__quote= |
3116 | _am_result=GNU |
3117 | ;; |
3118 | esac |
3119 | # Now try BSD make style include. |
3120 | if test "$am__include" = "#"; then |
3121 | echo '.include "confinc"' > confmf |
3122 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3123 | *the\ am__doit\ target*) |
3124 | am__include=.include |
3125 | am__quote="\"" |
3126 | _am_result=BSD |
3127 | ;; |
3128 | esac |
3129 | fi |
3130 | |
3131 | |
3132 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3133 | $as_echo "$_am_result" >&6; } |
3134 | rm -f confinc confmf |
3135 | |
3136 | # Check whether --enable-dependency-tracking was given. |
3137 | if test "${enable_dependency_tracking+set}" = set; then : |
3138 | enableval=$enable_dependency_tracking; |
3139 | fi |
3140 | |
3141 | if test "x$enable_dependency_tracking" != xno; then |
3142 | am_depcomp="$ac_aux_dir/depcomp" |
3143 | AMDEPBACKSLASH='\' |
3144 | am__nodep='_no' |
3145 | fi |
3146 | if test "x$enable_dependency_tracking" != xno; then |
3147 | AMDEP_TRUE= |
3148 | AMDEP_FALSE='#' |
3149 | else |
3150 | AMDEP_TRUE='#' |
3151 | AMDEP_FALSE= |
3152 | fi |
3153 | |
3154 | |
3155 | ac_ext=c |
3156 | ac_cpp='$CPP $CPPFLAGS' |
3157 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3158 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3159 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3160 | if test -n "$ac_tool_prefix"; then |
3161 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3162 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3163 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3164 | $as_echo_n "checking for $ac_word... " >&6; } |
3165 | if ${ac_cv_prog_CC+:} false; then : |
3166 | $as_echo_n "(cached) " >&6 |
3167 | else |
3168 | if test -n "$CC"; then |
3169 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3170 | else |
3171 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3172 | for as_dir in $PATH |
3173 | do |
3174 | IFS=$as_save_IFS |
3175 | test -z "$as_dir" && as_dir=. |
3176 | for ac_exec_ext in '' $ac_executable_extensions; do |
3177 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3178 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3179 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3180 | break 2 |
3181 | fi |
3182 | done |
3183 | done |
3184 | IFS=$as_save_IFS |
3185 | |
3186 | fi |
3187 | fi |
3188 | CC=$ac_cv_prog_CC |
3189 | if test -n "$CC"; then |
3190 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3191 | $as_echo "$CC" >&6; } |
3192 | else |
3193 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3194 | $as_echo "no" >&6; } |
3195 | fi |
3196 | |
3197 | |
3198 | fi |
3199 | if test -z "$ac_cv_prog_CC"; then |
3200 | ac_ct_CC=$CC |
3201 | # Extract the first word of "gcc", so it can be a program name with args. |
3202 | set dummy gcc; ac_word=$2 |
3203 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3204 | $as_echo_n "checking for $ac_word... " >&6; } |
3205 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3206 | $as_echo_n "(cached) " >&6 |
3207 | else |
3208 | if test -n "$ac_ct_CC"; then |
3209 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3210 | else |
3211 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3212 | for as_dir in $PATH |
3213 | do |
3214 | IFS=$as_save_IFS |
3215 | test -z "$as_dir" && as_dir=. |
3216 | for ac_exec_ext in '' $ac_executable_extensions; do |
3217 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3218 | ac_cv_prog_ac_ct_CC="gcc" |
3219 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3220 | break 2 |
3221 | fi |
3222 | done |
3223 | done |
3224 | IFS=$as_save_IFS |
3225 | |
3226 | fi |
3227 | fi |
3228 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3229 | if test -n "$ac_ct_CC"; then |
3230 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3231 | $as_echo "$ac_ct_CC" >&6; } |
3232 | else |
3233 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3234 | $as_echo "no" >&6; } |
3235 | fi |
3236 | |
3237 | if test "x$ac_ct_CC" = x; then |
3238 | CC="" |
3239 | else |
3240 | case $cross_compiling:$ac_tool_warned in |
3241 | yes:) |
3242 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3243 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3244 | ac_tool_warned=yes ;; |
3245 | esac |
3246 | CC=$ac_ct_CC |
3247 | fi |
3248 | else |
3249 | CC="$ac_cv_prog_CC" |
3250 | fi |
3251 | |
3252 | if test -z "$CC"; then |
3253 | if test -n "$ac_tool_prefix"; then |
3254 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3255 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3256 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3257 | $as_echo_n "checking for $ac_word... " >&6; } |
3258 | if ${ac_cv_prog_CC+:} false; then : |
3259 | $as_echo_n "(cached) " >&6 |
3260 | else |
3261 | if test -n "$CC"; then |
3262 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3263 | else |
3264 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3265 | for as_dir in $PATH |
3266 | do |
3267 | IFS=$as_save_IFS |
3268 | test -z "$as_dir" && as_dir=. |
3269 | for ac_exec_ext in '' $ac_executable_extensions; do |
3270 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3271 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3272 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3273 | break 2 |
3274 | fi |
3275 | done |
3276 | done |
3277 | IFS=$as_save_IFS |
3278 | |
3279 | fi |
3280 | fi |
3281 | CC=$ac_cv_prog_CC |
3282 | if test -n "$CC"; then |
3283 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3284 | $as_echo "$CC" >&6; } |
3285 | else |
3286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3287 | $as_echo "no" >&6; } |
3288 | fi |
3289 | |
3290 | |
3291 | fi |
3292 | fi |
3293 | if test -z "$CC"; then |
3294 | # Extract the first word of "cc", so it can be a program name with args. |
3295 | set dummy cc; ac_word=$2 |
3296 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3297 | $as_echo_n "checking for $ac_word... " >&6; } |
3298 | if ${ac_cv_prog_CC+:} false; then : |
3299 | $as_echo_n "(cached) " >&6 |
3300 | else |
3301 | if test -n "$CC"; then |
3302 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3303 | else |
3304 | ac_prog_rejected=no |
3305 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3306 | for as_dir in $PATH |
3307 | do |
3308 | IFS=$as_save_IFS |
3309 | test -z "$as_dir" && as_dir=. |
3310 | for ac_exec_ext in '' $ac_executable_extensions; do |
3311 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3312 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3313 | ac_prog_rejected=yes |
3314 | continue |
3315 | fi |
3316 | ac_cv_prog_CC="cc" |
3317 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3318 | break 2 |
3319 | fi |
3320 | done |
3321 | done |
3322 | IFS=$as_save_IFS |
3323 | |
3324 | if test $ac_prog_rejected = yes; then |
3325 | # We found a bogon in the path, so make sure we never use it. |
3326 | set dummy $ac_cv_prog_CC |
3327 | shift |
3328 | if test $# != 0; then |
3329 | # We chose a different compiler from the bogus one. |
3330 | # However, it has the same basename, so the bogon will be chosen |
3331 | # first if we set CC to just the basename; use the full file name. |
3332 | shift |
3333 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3334 | fi |
3335 | fi |
3336 | fi |
3337 | fi |
3338 | CC=$ac_cv_prog_CC |
3339 | if test -n "$CC"; then |
3340 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3341 | $as_echo "$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 | fi |
3349 | if test -z "$CC"; then |
3350 | if test -n "$ac_tool_prefix"; then |
3351 | for ac_prog in cl.exe |
3352 | do |
3353 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3354 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3355 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3356 | $as_echo_n "checking for $ac_word... " >&6; } |
3357 | if ${ac_cv_prog_CC+:} false; then : |
3358 | $as_echo_n "(cached) " >&6 |
3359 | else |
3360 | if test -n "$CC"; then |
3361 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3362 | else |
3363 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3364 | for as_dir in $PATH |
3365 | do |
3366 | IFS=$as_save_IFS |
3367 | test -z "$as_dir" && as_dir=. |
3368 | for ac_exec_ext in '' $ac_executable_extensions; do |
3369 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3370 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3371 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3372 | break 2 |
3373 | fi |
3374 | done |
3375 | done |
3376 | IFS=$as_save_IFS |
3377 | |
3378 | fi |
3379 | fi |
3380 | CC=$ac_cv_prog_CC |
3381 | if test -n "$CC"; then |
3382 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3383 | $as_echo "$CC" >&6; } |
3384 | else |
3385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3386 | $as_echo "no" >&6; } |
3387 | fi |
3388 | |
3389 | |
3390 | test -n "$CC" && break |
3391 | done |
3392 | fi |
3393 | if test -z "$CC"; then |
3394 | ac_ct_CC=$CC |
3395 | for ac_prog in cl.exe |
3396 | do |
3397 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3398 | set dummy $ac_prog; ac_word=$2 |
3399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3400 | $as_echo_n "checking for $ac_word... " >&6; } |
3401 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3402 | $as_echo_n "(cached) " >&6 |
3403 | else |
3404 | if test -n "$ac_ct_CC"; then |
3405 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3406 | else |
3407 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3408 | for as_dir in $PATH |
3409 | do |
3410 | IFS=$as_save_IFS |
3411 | test -z "$as_dir" && as_dir=. |
3412 | for ac_exec_ext in '' $ac_executable_extensions; do |
3413 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3414 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3415 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3416 | break 2 |
3417 | fi |
3418 | done |
3419 | done |
3420 | IFS=$as_save_IFS |
3421 | |
3422 | fi |
3423 | fi |
3424 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3425 | if test -n "$ac_ct_CC"; then |
3426 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3427 | $as_echo "$ac_ct_CC" >&6; } |
3428 | else |
3429 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3430 | $as_echo "no" >&6; } |
3431 | fi |
3432 | |
3433 | |
3434 | test -n "$ac_ct_CC" && break |
3435 | done |
3436 | |
3437 | if test "x$ac_ct_CC" = x; then |
3438 | CC="" |
3439 | else |
3440 | case $cross_compiling:$ac_tool_warned in |
3441 | yes:) |
3442 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3443 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3444 | ac_tool_warned=yes ;; |
3445 | esac |
3446 | CC=$ac_ct_CC |
3447 | fi |
3448 | fi |
3449 | |
3450 | fi |
3451 | |
3452 | |
3453 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3454 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3455 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3456 | See \`config.log' for more details" "$LINENO" 5; } |
3457 | |
3458 | # Provide some information about the compiler. |
3459 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3460 | set X $ac_compile |
3461 | ac_compiler=$2 |
3462 | for ac_option in --version -v -V -qversion; do |
3463 | { { ac_try="$ac_compiler $ac_option >&5" |
3464 | case "(($ac_try" in |
3465 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3466 | *) ac_try_echo=$ac_try;; |
3467 | esac |
3468 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3469 | $as_echo "$ac_try_echo"; } >&5 |
3470 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3471 | ac_status=$? |
3472 | if test -s conftest.err; then |
3473 | sed '10a\ |
3474 | ... rest of stderr output deleted ... |
3475 | 10q' conftest.err >conftest.er1 |
3476 | cat conftest.er1 >&5 |
3477 | fi |
3478 | rm -f conftest.er1 conftest.err |
3479 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3480 | test $ac_status = 0; } |
3481 | done |
3482 | |
3483 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3484 | /* end confdefs.h. */ |
3485 | |
3486 | int |
3487 | main () |
3488 | { |
3489 | |
3490 | ; |
3491 | return 0; |
3492 | } |
3493 | _ACEOF |
3494 | ac_clean_files_save=$ac_clean_files |
3495 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3496 | # Try to create an executable without -o first, disregard a.out. |
3497 | # It will help us diagnose broken compilers, and finding out an intuition |
3498 | # of exeext. |
3499 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3500 | $as_echo_n "checking whether the C compiler works... " >&6; } |
3501 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3502 | |
3503 | # The possible output files: |
3504 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3505 | |
3506 | ac_rmfiles= |
3507 | for ac_file in $ac_files |
3508 | do |
3509 | case $ac_file in |
3510 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3511 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3512 | esac |
3513 | done |
3514 | rm -f $ac_rmfiles |
3515 | |
3516 | if { { ac_try="$ac_link_default" |
3517 | case "(($ac_try" in |
3518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3519 | *) ac_try_echo=$ac_try;; |
3520 | esac |
3521 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3522 | $as_echo "$ac_try_echo"; } >&5 |
3523 | (eval "$ac_link_default") 2>&5 |
3524 | ac_status=$? |
3525 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3526 | test $ac_status = 0; }; then : |
3527 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3528 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3529 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
3530 | # so that the user can short-circuit this test for compilers unknown to |
3531 | # Autoconf. |
3532 | for ac_file in $ac_files '' |
3533 | do |
3534 | test -f "$ac_file" || continue |
3535 | case $ac_file in |
3536 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
3537 | ;; |
3538 | [ab].out ) |
3539 | # We found the default executable, but exeext='' is most |
3540 | # certainly right. |
3541 | break;; |
3542 | *.* ) |
3543 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3544 | then :; else |
3545 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3546 | fi |
3547 | # We set ac_cv_exeext here because the later test for it is not |
3548 | # safe: cross compilers may not add the suffix if given an `-o' |
3549 | # argument, so we may need to know it at that point already. |
3550 | # Even if this section looks crufty: it has the advantage of |
3551 | # actually working. |
3552 | break;; |
3553 | * ) |
3554 | break;; |
3555 | esac |
3556 | done |
3557 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
3558 | |
3559 | else |
3560 | ac_file='' |
3561 | fi |
3562 | if test -z "$ac_file"; then : |
3563 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3564 | $as_echo "no" >&6; } |
3565 | $as_echo "$as_me: failed program was:" >&5 |
3566 | sed 's/^/| /' conftest.$ac_ext >&5 |
3567 | |
3568 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3569 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3570 | as_fn_error 77 "C compiler cannot create executables |
3571 | See \`config.log' for more details" "$LINENO" 5; } |
3572 | else |
3573 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3574 | $as_echo "yes" >&6; } |
3575 | fi |
3576 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3577 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
3578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3579 | $as_echo "$ac_file" >&6; } |
3580 | ac_exeext=$ac_cv_exeext |
3581 | |
3582 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3583 | ac_clean_files=$ac_clean_files_save |
3584 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3585 | $as_echo_n "checking for suffix of executables... " >&6; } |
3586 | if { { ac_try="$ac_link" |
3587 | case "(($ac_try" in |
3588 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3589 | *) ac_try_echo=$ac_try;; |
3590 | esac |
3591 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3592 | $as_echo "$ac_try_echo"; } >&5 |
3593 | (eval "$ac_link") 2>&5 |
3594 | ac_status=$? |
3595 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3596 | test $ac_status = 0; }; then : |
3597 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3598 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3599 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
3600 | # `rm'. |
3601 | for ac_file in conftest.exe conftest conftest.*; do |
3602 | test -f "$ac_file" || continue |
3603 | case $ac_file in |
3604 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3605 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3606 | break;; |
3607 | * ) break;; |
3608 | esac |
3609 | done |
3610 | else |
3611 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3612 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3613 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3614 | See \`config.log' for more details" "$LINENO" 5; } |
3615 | fi |
3616 | rm -f conftest conftest$ac_cv_exeext |
3617 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3618 | $as_echo "$ac_cv_exeext" >&6; } |
3619 | |
3620 | rm -f conftest.$ac_ext |
3621 | EXEEXT=$ac_cv_exeext |
3622 | ac_exeext=$EXEEXT |
3623 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3624 | /* end confdefs.h. */ |
3625 | #include <stdio.h> |
3626 | int |
3627 | main () |
3628 | { |
3629 | FILE *f = fopen ("conftest.out", "w"); |
3630 | return ferror (f) || fclose (f) != 0; |
3631 | |
3632 | ; |
3633 | return 0; |
3634 | } |
3635 | _ACEOF |
3636 | ac_clean_files="$ac_clean_files conftest.out" |
3637 | # Check that the compiler produces executables we can run. If not, either |
3638 | # the compiler is broken, or we cross compile. |
3639 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3640 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
3641 | if test "$cross_compiling" != yes; then |
3642 | { { ac_try="$ac_link" |
3643 | case "(($ac_try" in |
3644 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3645 | *) ac_try_echo=$ac_try;; |
3646 | esac |
3647 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3648 | $as_echo "$ac_try_echo"; } >&5 |
3649 | (eval "$ac_link") 2>&5 |
3650 | ac_status=$? |
3651 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3652 | test $ac_status = 0; } |
3653 | if { ac_try='./conftest$ac_cv_exeext' |
3654 | { { case "(($ac_try" in |
3655 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3656 | *) ac_try_echo=$ac_try;; |
3657 | esac |
3658 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3659 | $as_echo "$ac_try_echo"; } >&5 |
3660 | (eval "$ac_try") 2>&5 |
3661 | ac_status=$? |
3662 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3663 | test $ac_status = 0; }; }; then |
3664 | cross_compiling=no |
3665 | else |
3666 | if test "$cross_compiling" = maybe; then |
3667 | cross_compiling=yes |
3668 | else |
3669 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3670 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3671 | as_fn_error $? "cannot run C compiled programs. |
3672 | If you meant to cross compile, use \`--host'. |
3673 | See \`config.log' for more details" "$LINENO" 5; } |
3674 | fi |
3675 | fi |
3676 | fi |
3677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3678 | $as_echo "$cross_compiling" >&6; } |
3679 | |
3680 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3681 | ac_clean_files=$ac_clean_files_save |
3682 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3683 | $as_echo_n "checking for suffix of object files... " >&6; } |
3684 | if ${ac_cv_objext+:} false; then : |
3685 | $as_echo_n "(cached) " >&6 |
3686 | else |
3687 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3688 | /* end confdefs.h. */ |
3689 | |
3690 | int |
3691 | main () |
3692 | { |
3693 | |
3694 | ; |
3695 | return 0; |
3696 | } |
3697 | _ACEOF |
3698 | rm -f conftest.o conftest.obj |
3699 | if { { ac_try="$ac_compile" |
3700 | case "(($ac_try" in |
3701 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3702 | *) ac_try_echo=$ac_try;; |
3703 | esac |
3704 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3705 | $as_echo "$ac_try_echo"; } >&5 |
3706 | (eval "$ac_compile") 2>&5 |
3707 | ac_status=$? |
3708 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3709 | test $ac_status = 0; }; then : |
3710 | for ac_file in conftest.o conftest.obj conftest.*; do |
3711 | test -f "$ac_file" || continue; |
3712 | case $ac_file in |
3713 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3714 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3715 | break;; |
3716 | esac |
3717 | done |
3718 | else |
3719 | $as_echo "$as_me: failed program was:" >&5 |
3720 | sed 's/^/| /' conftest.$ac_ext >&5 |
3721 | |
3722 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3723 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3724 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3725 | See \`config.log' for more details" "$LINENO" 5; } |
3726 | fi |
3727 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3728 | fi |
3729 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3730 | $as_echo "$ac_cv_objext" >&6; } |
3731 | OBJEXT=$ac_cv_objext |
3732 | ac_objext=$OBJEXT |
3733 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3734 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3735 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3736 | $as_echo_n "(cached) " >&6 |
3737 | else |
3738 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3739 | /* end confdefs.h. */ |
3740 | |
3741 | int |
3742 | main () |
3743 | { |
3744 | #ifndef __GNUC__ |
3745 | choke me |
3746 | #endif |
3747 | |
3748 | ; |
3749 | return 0; |
3750 | } |
3751 | _ACEOF |
3752 | if ac_fn_c_try_compile "$LINENO"; then : |
3753 | ac_compiler_gnu=yes |
3754 | else |
3755 | ac_compiler_gnu=no |
3756 | fi |
3757 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3758 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3759 | |
3760 | fi |
3761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3762 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3763 | if test $ac_compiler_gnu = yes; then |
3764 | GCC=yes |
3765 | else |
3766 | GCC= |
3767 | fi |
3768 | ac_test_CFLAGS=${CFLAGS+set} |
3769 | ac_save_CFLAGS=$CFLAGS |
3770 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3771 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3772 | if ${ac_cv_prog_cc_g+:} false; then : |
3773 | $as_echo_n "(cached) " >&6 |
3774 | else |
3775 | ac_save_c_werror_flag=$ac_c_werror_flag |
3776 | ac_c_werror_flag=yes |
3777 | ac_cv_prog_cc_g=no |
3778 | CFLAGS="-g" |
3779 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3780 | /* end confdefs.h. */ |
3781 | |
3782 | int |
3783 | main () |
3784 | { |
3785 | |
3786 | ; |
3787 | return 0; |
3788 | } |
3789 | _ACEOF |
3790 | if ac_fn_c_try_compile "$LINENO"; then : |
3791 | ac_cv_prog_cc_g=yes |
3792 | else |
3793 | CFLAGS="" |
3794 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3795 | /* end confdefs.h. */ |
3796 | |
3797 | int |
3798 | main () |
3799 | { |
3800 | |
3801 | ; |
3802 | return 0; |
3803 | } |
3804 | _ACEOF |
3805 | if ac_fn_c_try_compile "$LINENO"; then : |
3806 | |
3807 | else |
3808 | ac_c_werror_flag=$ac_save_c_werror_flag |
3809 | CFLAGS="-g" |
3810 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3811 | /* end confdefs.h. */ |
3812 | |
3813 | int |
3814 | main () |
3815 | { |
3816 | |
3817 | ; |
3818 | return 0; |
3819 | } |
3820 | _ACEOF |
3821 | if ac_fn_c_try_compile "$LINENO"; then : |
3822 | ac_cv_prog_cc_g=yes |
3823 | fi |
3824 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3825 | fi |
3826 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3827 | fi |
3828 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3829 | ac_c_werror_flag=$ac_save_c_werror_flag |
3830 | fi |
3831 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
3832 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
3833 | if test "$ac_test_CFLAGS" = set; then |
3834 | CFLAGS=$ac_save_CFLAGS |
3835 | elif test $ac_cv_prog_cc_g = yes; then |
3836 | if test "$GCC" = yes; then |
3837 | CFLAGS="-g -O2" |
3838 | else |
3839 | CFLAGS="-g" |
3840 | fi |
3841 | else |
3842 | if test "$GCC" = yes; then |
3843 | CFLAGS="-O2" |
3844 | else |
3845 | CFLAGS= |
3846 | fi |
3847 | fi |
3848 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3849 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3850 | if ${ac_cv_prog_cc_c89+:} false; then : |
3851 | $as_echo_n "(cached) " >&6 |