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