/[svn]/ircd-hybrid-7.2/configure
ViewVC logotype

Contents of /ircd-hybrid-7.2/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1009 - (show annotations)
Sun Sep 13 15:02:30 2009 UTC (9 years, 11 months ago) by michael
File size: 471094 byte(s)
- add configure test for pcre lib and remove pcre sources from the tree

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