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

Annotation of /ircd-hybrid-7.3/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1105 - (hide annotations)
Tue Sep 14 08:15:53 2010 UTC (9 years, 6 months ago) by michael
File size: 470811 byte(s)
- Fix build under solaris, as reported by Peter Evans

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