masqmail
view configure @ 367:b27f66555ba8
Reformated multiline comments to have leading asterisks on each line
Now we use:
/*
** comment
*/
This makes the indent style simpler, too.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 20 Oct 2011 10:20:59 +0200 |
parents | 72653295b75d |
children | 5781ba87df95 |
line source
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for masqmail 0.3.4-dev.
4 #
5 # Report bugs to <meillo@marmaro.de>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83 fi
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) 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 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
118 # 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 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 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 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
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; }
162 exitcode=0
163 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 :
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 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 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
182 fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203 fi
204 fi
205 done;;
206 esac
207 as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
221 BASH_ENV=/dev/null
222 ENV=/dev/null
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 export CONFIG_SHELL
225 case $- in # ((((
226 *v*x* | *x*v* ) as_opts=-vx ;;
227 *v* ) as_opts=-v ;;
228 *x* ) as_opts=-x ;;
229 * ) as_opts= ;;
230 esac
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 else
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and meillo@marmaro.de
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
245 $0: have one."
246 fi
247 exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
264 {
265 { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274 return $1
275 } # as_fn_set_status
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282 set +e
283 as_fn_set_status $1
284 exit $1
285 } # as_fn_exit
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
293 case $as_dir in #(
294 -*) as_dir=./$as_dir;;
295 esac
296 test -d "$as_dir" || eval $as_mkdir_p || {
297 as_dirs=
298 while :; do
299 case $as_dir in #(
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 *) as_qdir=$as_dir;;
302 esac
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\/\)[^/].*/{
315 s//\1/
316 q
317 }
318 /^X\(\/\/\)$/{
319 s//\1/
320 q
321 }
322 /^X\(\/\).*/{
323 s//\1/
324 q
325 }
326 s/.*/./; q'`
327 test -d "$as_dir" && break
328 done
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
342 {
343 eval $1+=\$2
344 }'
345 else
346 as_fn_append ()
347 {
348 eval $1=\$$1\$2
349 }
350 fi # as_fn_append
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 eval 'as_fn_arith ()
359 {
360 as_val=$(( $* ))
361 }'
362 else
363 as_fn_arith ()
364 {
365 as_val=`expr "$@" || test $? -eq 1`
366 }
367 fi # as_fn_arith
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
376 {
377 as_status=$1; test $as_status -eq 0 && as_status=1
378 if test "$4"; then
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381 fi
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
384 } # as_fn_error
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 as_expr=expr
389 else
390 as_expr=false
391 fi
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 as_basename=basename
395 else
396 as_basename=false
397 fi
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_dirname=dirname
401 else
402 as_dirname=false
403 fi
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 s//\1/
412 q
413 }
414 /^X\/\(\/\/\)$/{
415 s//\1/
416 q
417 }
418 /^X\/\(\/\).*/{
419 s//\1/
420 q
421 }
422 s/.*/./; q'`
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 sed -n '
438 p
439 /[$]LINENO/=
440 ' <$as_myself |
441 sed '
442 s/[$]LINENO.*/&-/
443 t lineno
444 b
445 :lineno
446 N
447 :loop
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 t loop
450 s/-\n.*//
451 ' >$as_me.lineno &&
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
458 . "./$as_me.lineno"
459 # Exit status is that of the last command.
460 exit
461 }
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
471 esac;;
472 *)
473 ECHO_N='-n';;
474 esac
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
479 else
480 rm -f conf$$.dir
481 mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s='ln -s'
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 as_ln_s='cp -p'
492 elif ln conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s=ln
494 else
495 as_ln_s='cp -p'
496 fi
497 else
498 as_ln_s='cp -p'
499 fi
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
505 else
506 test -d ./-p && rmdir ./-p
507 as_mkdir_p=false
508 fi
510 if test -x / >/dev/null 2>&1; then
511 as_test_x='test -x'
512 else
513 if ls -dL / >/dev/null 2>&1; then
514 as_ls_L_option=L
515 else
516 as_ls_L_option=
517 fi
518 as_test_x='
519 eval sh -c '\''
520 if test -d "$1"; then
521 test -d "$1/.";
522 else
523 case $1 in #(
524 -*)set "./$1";;
525 esac;
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
528 '\'' sh
529 '
530 fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
543 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 #
549 # Initializations.
550 #
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
560 # Identity of this package.
561 PACKAGE_NAME='masqmail'
562 PACKAGE_TARNAME='masqmail'
563 PACKAGE_VERSION='0.3.4-dev'
564 PACKAGE_STRING='masqmail 0.3.4-dev'
565 PACKAGE_BUGREPORT='meillo@marmaro.de'
566 PACKAGE_URL=''
568 ac_unique_file="src/masqmail.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
571 #include <stdio.h>
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
574 #endif
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
577 #endif
578 #ifdef STDC_HEADERS
579 # include <stdlib.h>
580 # include <stddef.h>
581 #else
582 # ifdef HAVE_STDLIB_H
583 # include <stdlib.h>
584 # endif
585 #endif
586 #ifdef HAVE_STRING_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 # include <memory.h>
589 # endif
590 # include <string.h>
591 #endif
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
594 #endif
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
597 #endif
598 #ifdef HAVE_STDINT_H
599 # include <stdint.h>
600 #endif
601 #ifdef HAVE_UNISTD_H
602 # include <unistd.h>
603 #endif"
605 ac_subst_vars='am__EXEEXT_FALSE
606 am__EXEEXT_TRUE
607 LTLIBOBJS
608 LIBOBJS
609 with_confdir
610 with_spooldir
611 with_logdir
612 USE_LIBLOCKFILE
613 LOCKFILE_LIBS
614 IDENT_LIBS
615 has_ident
616 MD5_LIBS
617 BASE64_LIBS
618 with_group
619 with_user
620 RESOLV_LIBS
621 GLIB_LIBS
622 GLIB_CFLAGS
623 PKG_CONFIG_LIBDIR
624 PKG_CONFIG_PATH
625 PKG_CONFIG
626 RANLIB
627 EGREP
628 GREP
629 CPP
630 am__fastdepCC_FALSE
631 am__fastdepCC_TRUE
632 CCDEPMODE
633 AMDEPBACKSLASH
634 AMDEP_FALSE
635 AMDEP_TRUE
636 am__quote
637 am__include
638 DEPDIR
639 OBJEXT
640 EXEEXT
641 ac_ct_CC
642 CPPFLAGS
643 LDFLAGS
644 CFLAGS
645 CC
646 am__untar
647 am__tar
648 AMTAR
649 am__leading_dot
650 SET_MAKE
651 AWK
652 mkdir_p
653 MKDIR_P
654 INSTALL_STRIP_PROGRAM
655 STRIP
656 install_sh
657 MAKEINFO
658 AUTOHEADER
659 AUTOMAKE
660 AUTOCONF
661 ACLOCAL
662 VERSION
663 PACKAGE
664 CYGPATH_W
665 am__isrc
666 INSTALL_DATA
667 INSTALL_SCRIPT
668 INSTALL_PROGRAM
669 target_alias
670 host_alias
671 build_alias
672 LIBS
673 ECHO_T
674 ECHO_N
675 ECHO_C
676 DEFS
677 mandir
678 localedir
679 libdir
680 psdir
681 pdfdir
682 dvidir
683 htmldir
684 infodir
685 docdir
686 oldincludedir
687 includedir
688 localstatedir
689 sharedstatedir
690 sysconfdir
691 datadir
692 datarootdir
693 libexecdir
694 sbindir
695 bindir
696 program_transform_name
697 prefix
698 exec_prefix
699 PACKAGE_URL
700 PACKAGE_BUGREPORT
701 PACKAGE_STRING
702 PACKAGE_VERSION
703 PACKAGE_TARNAME
704 PACKAGE_NAME
705 PATH_SEPARATOR
706 SHELL'
707 ac_subst_files=''
708 ac_user_opts='
709 enable_option_checking
710 enable_dependency_tracking
711 enable_resolver
712 with_user
713 with_group
714 enable_debug
715 enable_auth
716 enable_ident
717 with_liblockfile
718 with_logdir
719 with_spooldir
720 with_confdir
721 '
722 ac_precious_vars='build_alias
723 host_alias
724 target_alias
725 CC
726 CFLAGS
727 LDFLAGS
728 LIBS
729 CPPFLAGS
730 CPP
731 PKG_CONFIG
732 PKG_CONFIG_PATH
733 PKG_CONFIG_LIBDIR
734 GLIB_CFLAGS
735 GLIB_LIBS'
738 # Initialize some variables set by options.
739 ac_init_help=
740 ac_init_version=false
741 ac_unrecognized_opts=
742 ac_unrecognized_sep=
743 # The variables have the same names as the options, with
744 # dashes changed to underlines.
745 cache_file=/dev/null
746 exec_prefix=NONE
747 no_create=
748 no_recursion=
749 prefix=NONE
750 program_prefix=NONE
751 program_suffix=NONE
752 program_transform_name=s,x,x,
753 silent=
754 site=
755 srcdir=
756 verbose=
757 x_includes=NONE
758 x_libraries=NONE
760 # Installation directory options.
761 # These are left unexpanded so users can "make install exec_prefix=/foo"
762 # and all the variables that are supposed to be based on exec_prefix
763 # by default will actually change.
764 # Use braces instead of parens because sh, perl, etc. also accept them.
765 # (The list follows the same order as the GNU Coding Standards.)
766 bindir='${exec_prefix}/bin'
767 sbindir='${exec_prefix}/sbin'
768 libexecdir='${exec_prefix}/libexec'
769 datarootdir='${prefix}/share'
770 datadir='${datarootdir}'
771 sysconfdir='${prefix}/etc'
772 sharedstatedir='${prefix}/com'
773 localstatedir='${prefix}/var'
774 includedir='${prefix}/include'
775 oldincludedir='/usr/include'
776 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
777 infodir='${datarootdir}/info'
778 htmldir='${docdir}'
779 dvidir='${docdir}'
780 pdfdir='${docdir}'
781 psdir='${docdir}'
782 libdir='${exec_prefix}/lib'
783 localedir='${datarootdir}/locale'
784 mandir='${datarootdir}/man'
786 ac_prev=
787 ac_dashdash=
788 for ac_option
789 do
790 # If the previous option needs an argument, assign it.
791 if test -n "$ac_prev"; then
792 eval $ac_prev=\$ac_option
793 ac_prev=
794 continue
795 fi
797 case $ac_option in
798 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 *=) ac_optarg= ;;
800 *) ac_optarg=yes ;;
801 esac
803 # Accept the important Cygnus configure options, so we can diagnose typos.
805 case $ac_dashdash$ac_option in
806 --)
807 ac_dashdash=yes ;;
809 -bindir | --bindir | --bindi | --bind | --bin | --bi)
810 ac_prev=bindir ;;
811 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812 bindir=$ac_optarg ;;
814 -build | --build | --buil | --bui | --bu)
815 ac_prev=build_alias ;;
816 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
817 build_alias=$ac_optarg ;;
819 -cache-file | --cache-file | --cache-fil | --cache-fi \
820 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
821 ac_prev=cache_file ;;
822 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
823 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
824 cache_file=$ac_optarg ;;
826 --config-cache | -C)
827 cache_file=config.cache ;;
829 -datadir | --datadir | --datadi | --datad)
830 ac_prev=datadir ;;
831 -datadir=* | --datadir=* | --datadi=* | --datad=*)
832 datadir=$ac_optarg ;;
834 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
835 | --dataroo | --dataro | --datar)
836 ac_prev=datarootdir ;;
837 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
838 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
839 datarootdir=$ac_optarg ;;
841 -disable-* | --disable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 as_fn_error $? "invalid feature name: $ac_useropt"
846 ac_useropt_orig=$ac_useropt
847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
849 *"
850 "enable_$ac_useropt"
851 "*) ;;
852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
853 ac_unrecognized_sep=', ';;
854 esac
855 eval enable_$ac_useropt=no ;;
857 -docdir | --docdir | --docdi | --doc | --do)
858 ac_prev=docdir ;;
859 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
860 docdir=$ac_optarg ;;
862 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
863 ac_prev=dvidir ;;
864 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
865 dvidir=$ac_optarg ;;
867 -enable-* | --enable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
869 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 as_fn_error $? "invalid feature name: $ac_useropt"
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
875 *"
876 "enable_$ac_useropt"
877 "*) ;;
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
880 esac
881 eval enable_$ac_useropt=\$ac_optarg ;;
883 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
884 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
885 | --exec | --exe | --ex)
886 ac_prev=exec_prefix ;;
887 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
888 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
889 | --exec=* | --exe=* | --ex=*)
890 exec_prefix=$ac_optarg ;;
892 -gas | --gas | --ga | --g)
893 # Obsolete; use --with-gas.
894 with_gas=yes ;;
896 -help | --help | --hel | --he | -h)
897 ac_init_help=long ;;
898 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
899 ac_init_help=recursive ;;
900 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
901 ac_init_help=short ;;
903 -host | --host | --hos | --ho)
904 ac_prev=host_alias ;;
905 -host=* | --host=* | --hos=* | --ho=*)
906 host_alias=$ac_optarg ;;
908 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
909 ac_prev=htmldir ;;
910 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
911 | --ht=*)
912 htmldir=$ac_optarg ;;
914 -includedir | --includedir | --includedi | --included | --include \
915 | --includ | --inclu | --incl | --inc)
916 ac_prev=includedir ;;
917 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
918 | --includ=* | --inclu=* | --incl=* | --inc=*)
919 includedir=$ac_optarg ;;
921 -infodir | --infodir | --infodi | --infod | --info | --inf)
922 ac_prev=infodir ;;
923 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
924 infodir=$ac_optarg ;;
926 -libdir | --libdir | --libdi | --libd)
927 ac_prev=libdir ;;
928 -libdir=* | --libdir=* | --libdi=* | --libd=*)
929 libdir=$ac_optarg ;;
931 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
932 | --libexe | --libex | --libe)
933 ac_prev=libexecdir ;;
934 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
935 | --libexe=* | --libex=* | --libe=*)
936 libexecdir=$ac_optarg ;;
938 -localedir | --localedir | --localedi | --localed | --locale)
939 ac_prev=localedir ;;
940 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
941 localedir=$ac_optarg ;;
943 -localstatedir | --localstatedir | --localstatedi | --localstated \
944 | --localstate | --localstat | --localsta | --localst | --locals)
945 ac_prev=localstatedir ;;
946 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
947 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
948 localstatedir=$ac_optarg ;;
950 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
951 ac_prev=mandir ;;
952 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
953 mandir=$ac_optarg ;;
955 -nfp | --nfp | --nf)
956 # Obsolete; use --without-fp.
957 with_fp=no ;;
959 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
960 | --no-cr | --no-c | -n)
961 no_create=yes ;;
963 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
964 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
965 no_recursion=yes ;;
967 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
968 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
969 | --oldin | --oldi | --old | --ol | --o)
970 ac_prev=oldincludedir ;;
971 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
972 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
973 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
974 oldincludedir=$ac_optarg ;;
976 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
977 ac_prev=prefix ;;
978 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
979 prefix=$ac_optarg ;;
981 -program-prefix | --program-prefix | --program-prefi | --program-pref \
982 | --program-pre | --program-pr | --program-p)
983 ac_prev=program_prefix ;;
984 -program-prefix=* | --program-prefix=* | --program-prefi=* \
985 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
986 program_prefix=$ac_optarg ;;
988 -program-suffix | --program-suffix | --program-suffi | --program-suff \
989 | --program-suf | --program-su | --program-s)
990 ac_prev=program_suffix ;;
991 -program-suffix=* | --program-suffix=* | --program-suffi=* \
992 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
993 program_suffix=$ac_optarg ;;
995 -program-transform-name | --program-transform-name \
996 | --program-transform-nam | --program-transform-na \
997 | --program-transform-n | --program-transform- \
998 | --program-transform | --program-transfor \
999 | --program-transfo | --program-transf \
1000 | --program-trans | --program-tran \
1001 | --progr-tra | --program-tr | --program-t)
1002 ac_prev=program_transform_name ;;
1003 -program-transform-name=* | --program-transform-name=* \
1004 | --program-transform-nam=* | --program-transform-na=* \
1005 | --program-transform-n=* | --program-transform-=* \
1006 | --program-transform=* | --program-transfor=* \
1007 | --program-transfo=* | --program-transf=* \
1008 | --program-trans=* | --program-tran=* \
1009 | --progr-tra=* | --program-tr=* | --program-t=*)
1010 program_transform_name=$ac_optarg ;;
1012 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1013 ac_prev=pdfdir ;;
1014 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1015 pdfdir=$ac_optarg ;;
1017 -psdir | --psdir | --psdi | --psd | --ps)
1018 ac_prev=psdir ;;
1019 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1020 psdir=$ac_optarg ;;
1022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1023 | -silent | --silent | --silen | --sile | --sil)
1024 silent=yes ;;
1026 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1027 ac_prev=sbindir ;;
1028 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1029 | --sbi=* | --sb=*)
1030 sbindir=$ac_optarg ;;
1032 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1033 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1034 | --sharedst | --shareds | --shared | --share | --shar \
1035 | --sha | --sh)
1036 ac_prev=sharedstatedir ;;
1037 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1038 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1039 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1040 | --sha=* | --sh=*)
1041 sharedstatedir=$ac_optarg ;;
1043 -site | --site | --sit)
1044 ac_prev=site ;;
1045 -site=* | --site=* | --sit=*)
1046 site=$ac_optarg ;;
1048 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1049 ac_prev=srcdir ;;
1050 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1051 srcdir=$ac_optarg ;;
1053 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1054 | --syscon | --sysco | --sysc | --sys | --sy)
1055 ac_prev=sysconfdir ;;
1056 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1057 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1058 sysconfdir=$ac_optarg ;;
1060 -target | --target | --targe | --targ | --tar | --ta | --t)
1061 ac_prev=target_alias ;;
1062 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1063 target_alias=$ac_optarg ;;
1065 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1066 verbose=yes ;;
1068 -version | --version | --versio | --versi | --vers | -V)
1069 ac_init_version=: ;;
1071 -with-* | --with-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 as_fn_error $? "invalid package name: $ac_useropt"
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1079 *"
1080 "with_$ac_useropt"
1081 "*) ;;
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1084 esac
1085 eval with_$ac_useropt=\$ac_optarg ;;
1087 -without-* | --without-*)
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 as_fn_error $? "invalid package name: $ac_useropt"
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1095 *"
1096 "with_$ac_useropt"
1097 "*) ;;
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1100 esac
1101 eval with_$ac_useropt=no ;;
1103 --x)
1104 # Obsolete; use --with-x.
1105 with_x=yes ;;
1107 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1108 | --x-incl | --x-inc | --x-in | --x-i)
1109 ac_prev=x_includes ;;
1110 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1111 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1112 x_includes=$ac_optarg ;;
1114 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1115 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1116 ac_prev=x_libraries ;;
1117 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1118 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1119 x_libraries=$ac_optarg ;;
1121 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1122 Try \`$0 --help' for more information"
1123 ;;
1125 *=*)
1126 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1127 # Reject names that are not valid shell variable names.
1128 case $ac_envvar in #(
1129 '' | [0-9]* | *[!_$as_cr_alnum]* )
1130 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1131 esac
1132 eval $ac_envvar=\$ac_optarg
1133 export $ac_envvar ;;
1135 *)
1136 # FIXME: should be removed in autoconf 3.0.
1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1138 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1140 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1141 ;;
1143 esac
1144 done
1146 if test -n "$ac_prev"; then
1147 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1148 as_fn_error $? "missing argument to $ac_option"
1149 fi
1151 if test -n "$ac_unrecognized_opts"; then
1152 case $enable_option_checking in
1153 no) ;;
1154 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1155 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1156 esac
1157 fi
1159 # Check all directory arguments for consistency.
1160 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1161 datadir sysconfdir sharedstatedir localstatedir includedir \
1162 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1163 libdir localedir mandir
1164 do
1165 eval ac_val=\$$ac_var
1166 # Remove trailing slashes.
1167 case $ac_val in
1168 */ )
1169 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1170 eval $ac_var=\$ac_val;;
1171 esac
1172 # Be sure to have absolute directory names.
1173 case $ac_val in
1174 [\\/$]* | ?:[\\/]* ) continue;;
1175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1176 esac
1177 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1178 done
1180 # There might be people who depend on the old broken behavior: `$host'
1181 # used to hold the argument of --host etc.
1182 # FIXME: To remove some day.
1183 build=$build_alias
1184 host=$host_alias
1185 target=$target_alias
1187 # FIXME: To remove some day.
1188 if test "x$host_alias" != x; then
1189 if test "x$build_alias" = x; then
1190 cross_compiling=maybe
1191 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used" >&2
1193 elif test "x$build_alias" != "x$host_alias"; then
1194 cross_compiling=yes
1195 fi
1196 fi
1198 ac_tool_prefix=
1199 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201 test "$silent" = yes && exec 6>/dev/null
1204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di=`ls -di .` &&
1206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 as_fn_error $? "working directory cannot be determined"
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 as_fn_error $? "pwd does not report name of working directory"
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$as_myself" ||
1217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$as_myself" : 'X\(//\)[^/]' \| \
1219 X"$as_myself" : 'X\(//\)$' \| \
1220 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1221 $as_echo X"$as_myself" |
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 s//\1/
1224 q
1225 }
1226 /^X\(\/\/\)[^/].*/{
1227 s//\1/
1228 q
1229 }
1230 /^X\(\/\/\)$/{
1231 s//\1/
1232 q
1233 }
1234 /^X\(\/\).*/{
1235 s//\1/
1236 q
1237 }
1238 s/.*/./; q'`
1239 srcdir=$ac_confdir
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 srcdir=..
1242 fi
1243 else
1244 ac_srcdir_defaulted=no
1245 fi
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1249 fi
1250 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1251 ac_abs_confdir=`(
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1253 pwd)`
1254 # When building in place, set srcdir=.
1255 if test "$ac_abs_confdir" = "$ac_pwd"; then
1256 srcdir=.
1257 fi
1258 # Remove unnecessary trailing slashes from srcdir.
1259 # Double slashes in file names in object file debugging info
1260 # mess up M-x gdb in Emacs.
1261 case $srcdir in
1262 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1263 esac
1264 for ac_var in $ac_precious_vars; do
1265 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1266 eval ac_env_${ac_var}_value=\$${ac_var}
1267 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1269 done
1271 #
1272 # Report the --help message.
1273 #
1274 if test "$ac_init_help" = "long"; then
1275 # Omit some internal or obsolete options to make the list less imposing.
1276 # This message is too long to be a string in the A/UX 3.1 sh.
1277 cat <<_ACEOF
1278 \`configure' configures masqmail 0.3.4-dev to adapt to many kinds of systems.
1280 Usage: $0 [OPTION]... [VAR=VALUE]...
1282 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1283 VAR=VALUE. See below for descriptions of some of the useful variables.
1285 Defaults for the options are specified in brackets.
1287 Configuration:
1288 -h, --help display this help and exit
1289 --help=short display options specific to this package
1290 --help=recursive display the short help of all the included packages
1291 -V, --version display version information and exit
1292 -q, --quiet, --silent do not print \`checking ...' messages
1293 --cache-file=FILE cache test results in FILE [disabled]
1294 -C, --config-cache alias for \`--cache-file=config.cache'
1295 -n, --no-create do not create output files
1296 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1298 Installation directories:
1299 --prefix=PREFIX install architecture-independent files in PREFIX
1300 [$ac_default_prefix]
1301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1302 [PREFIX]
1304 By default, \`make install' will install all the files in
1305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1306 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1307 for instance \`--prefix=\$HOME'.
1309 For better control, use the options below.
1311 Fine tuning of the installation directories:
1312 --bindir=DIR user executables [EPREFIX/bin]
1313 --sbindir=DIR system admin executables [EPREFIX/sbin]
1314 --libexecdir=DIR program executables [EPREFIX/libexec]
1315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1317 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1318 --libdir=DIR object code libraries [EPREFIX/lib]
1319 --includedir=DIR C header files [PREFIX/include]
1320 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1321 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1322 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1323 --infodir=DIR info documentation [DATAROOTDIR/info]
1324 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1325 --mandir=DIR man documentation [DATAROOTDIR/man]
1326 --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail]
1327 --htmldir=DIR html documentation [DOCDIR]
1328 --dvidir=DIR dvi documentation [DOCDIR]
1329 --pdfdir=DIR pdf documentation [DOCDIR]
1330 --psdir=DIR ps documentation [DOCDIR]
1331 _ACEOF
1333 cat <<\_ACEOF
1335 Program names:
1336 --program-prefix=PREFIX prepend PREFIX to installed program names
1337 --program-suffix=SUFFIX append SUFFIX to installed program names
1338 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1339 _ACEOF
1340 fi
1342 if test -n "$ac_init_help"; then
1343 case $ac_init_help in
1344 short | recursive ) echo "Configuration of masqmail 0.3.4-dev:";;
1345 esac
1346 cat <<\_ACEOF
1348 Optional Features:
1349 --disable-option-checking ignore unrecognized --enable/--with options
1350 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1351 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1352 --disable-dependency-tracking speeds up one-time build
1353 --enable-dependency-tracking do not reject slow dependency extractors
1354 --disable-resolver disable resolver support
1355 --disable-debug disable debugging
1356 --disable-auth disable AUTH (RFC 2554) client support
1357 --enable-ident enable ident (RFC 1413) support
1359 Optional Packages:
1360 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1361 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1362 --with-user=USER set user mail
1363 --with-group=GROUP set group mail
1364 --with-liblockfile use liblock (for Debian)
1365 --with-logdir=DIR set log directory /var/log/masqmail
1366 --with-spooldir=DIR set spool directory /var/spool/masqmail
1367 --with-confdir=DIR directory for configuration /etc/masqmail
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 LIBS libraries to pass to the linker, e.g. -l<library>
1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1376 you have headers in a nonstandard directory <include dir>
1377 CPP C preprocessor
1378 PKG_CONFIG path to pkg-config utility
1379 PKG_CONFIG_PATH
1380 directories to add to pkg-config's search path
1381 PKG_CONFIG_LIBDIR
1382 path overriding pkg-config's built-in search path
1383 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1384 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1386 Use these variables to override the choices made by `configure' or to help
1387 it to find libraries and programs with nonstandard names/locations.
1389 Report bugs to <meillo@marmaro.de>.
1390 _ACEOF
1391 ac_status=$?
1392 fi
1394 if test "$ac_init_help" = "recursive"; then
1395 # If there are subdirs, report their specific --help.
1396 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1397 test -d "$ac_dir" ||
1398 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1399 continue
1400 ac_builddir=.
1402 case "$ac_dir" in
1403 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 *)
1405 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1406 # A ".." for each directory in $ac_dir_suffix.
1407 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1408 case $ac_top_builddir_sub in
1409 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1411 esac ;;
1412 esac
1413 ac_abs_top_builddir=$ac_pwd
1414 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1415 # for backward compatibility:
1416 ac_top_builddir=$ac_top_build_prefix
1418 case $srcdir in
1419 .) # We are building in place.
1420 ac_srcdir=.
1421 ac_top_srcdir=$ac_top_builddir_sub
1422 ac_abs_top_srcdir=$ac_pwd ;;
1423 [\\/]* | ?:[\\/]* ) # Absolute name.
1424 ac_srcdir=$srcdir$ac_dir_suffix;
1425 ac_top_srcdir=$srcdir
1426 ac_abs_top_srcdir=$srcdir ;;
1427 *) # Relative name.
1428 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1429 ac_top_srcdir=$ac_top_build_prefix$srcdir
1430 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1431 esac
1432 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1434 cd "$ac_dir" || { ac_status=$?; continue; }
1435 # Check for guested configure.
1436 if test -f "$ac_srcdir/configure.gnu"; then
1437 echo &&
1438 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1439 elif test -f "$ac_srcdir/configure"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure" --help=recursive
1442 else
1443 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1444 fi || ac_status=$?
1445 cd "$ac_pwd" || { ac_status=$?; break; }
1446 done
1447 fi
1449 test -n "$ac_init_help" && exit $ac_status
1450 if $ac_init_version; then
1451 cat <<\_ACEOF
1452 masqmail configure 0.3.4-dev
1453 generated by GNU Autoconf 2.68
1455 Copyright (C) 2010 Free Software Foundation, Inc.
1456 This configure script is free software; the Free Software Foundation
1457 gives unlimited permission to copy, distribute and modify it.
1458 _ACEOF
1459 exit
1460 fi
1462 ## ------------------------ ##
1463 ## Autoconf initialization. ##
1464 ## ------------------------ ##
1466 # ac_fn_c_try_compile LINENO
1467 # --------------------------
1468 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1469 ac_fn_c_try_compile ()
1470 {
1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1472 rm -f conftest.$ac_objext
1473 if { { ac_try="$ac_compile"
1474 case "(($ac_try" in
1475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1476 *) ac_try_echo=$ac_try;;
1477 esac
1478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479 $as_echo "$ac_try_echo"; } >&5
1480 (eval "$ac_compile") 2>conftest.err
1481 ac_status=$?
1482 if test -s conftest.err; then
1483 grep -v '^ *+' conftest.err >conftest.er1
1484 cat conftest.er1 >&5
1485 mv -f conftest.er1 conftest.err
1486 fi
1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488 test $ac_status = 0; } && {
1489 test -z "$ac_c_werror_flag" ||
1490 test ! -s conftest.err
1491 } && test -s conftest.$ac_objext; then :
1492 ac_retval=0
1493 else
1494 $as_echo "$as_me: failed program was:" >&5
1495 sed 's/^/| /' conftest.$ac_ext >&5
1497 ac_retval=1
1498 fi
1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500 as_fn_set_status $ac_retval
1502 } # ac_fn_c_try_compile
1504 # ac_fn_c_try_link LINENO
1505 # -----------------------
1506 # Try to link conftest.$ac_ext, and return whether this succeeded.
1507 ac_fn_c_try_link ()
1508 {
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 rm -f conftest.$ac_objext conftest$ac_exeext
1511 if { { ac_try="$ac_link"
1512 case "(($ac_try" in
1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1514 *) ac_try_echo=$ac_try;;
1515 esac
1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_link") 2>conftest.err
1519 ac_status=$?
1520 if test -s conftest.err; then
1521 grep -v '^ *+' conftest.err >conftest.er1
1522 cat conftest.er1 >&5
1523 mv -f conftest.er1 conftest.err
1524 fi
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } && {
1527 test -z "$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1529 } && test -s conftest$ac_exeext && {
1530 test "$cross_compiling" = yes ||
1531 $as_test_x conftest$ac_exeext
1532 }; then :
1533 ac_retval=0
1534 else
1535 $as_echo "$as_me: failed program was:" >&5
1536 sed 's/^/| /' conftest.$ac_ext >&5
1538 ac_retval=1
1539 fi
1540 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1541 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1542 # interfere with the next link command; also delete a directory that is
1543 # left behind by Apple's compiler. We do this before executing the actions.
1544 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1546 as_fn_set_status $ac_retval
1548 } # ac_fn_c_try_link
1550 # ac_fn_c_try_cpp LINENO
1551 # ----------------------
1552 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1553 ac_fn_c_try_cpp ()
1554 {
1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556 if { { ac_try="$ac_cpp conftest.$ac_ext"
1557 case "(($ac_try" in
1558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1559 *) ac_try_echo=$ac_try;;
1560 esac
1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1562 $as_echo "$ac_try_echo"; } >&5
1563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1564 ac_status=$?
1565 if test -s conftest.err; then
1566 grep -v '^ *+' conftest.err >conftest.er1
1567 cat conftest.er1 >&5
1568 mv -f conftest.er1 conftest.err
1569 fi
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; } > conftest.i && {
1572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1573 test ! -s conftest.err
1574 }; then :
1575 ac_retval=0
1576 else
1577 $as_echo "$as_me: failed program was:" >&5
1578 sed 's/^/| /' conftest.$ac_ext >&5
1580 ac_retval=1
1581 fi
1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583 as_fn_set_status $ac_retval
1585 } # ac_fn_c_try_cpp
1587 # ac_fn_c_try_run LINENO
1588 # ----------------------
1589 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1590 # that executables *can* be run.
1591 ac_fn_c_try_run ()
1592 {
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 if { { ac_try="$ac_link"
1595 case "(($ac_try" in
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_link") 2>&5
1602 ac_status=$?
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1605 { { case "(($ac_try" in
1606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1608 esac
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_try") 2>&5
1612 ac_status=$?
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; }; }; then :
1615 ac_retval=0
1616 else
1617 $as_echo "$as_me: program exited with status $ac_status" >&5
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.$ac_ext >&5
1621 ac_retval=$ac_status
1622 fi
1623 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status $ac_retval
1627 } # ac_fn_c_try_run
1629 # ac_fn_c_check_func LINENO FUNC VAR
1630 # ----------------------------------
1631 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1632 ac_fn_c_check_func ()
1633 {
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if eval \${$3+:} false; then :
1638 $as_echo_n "(cached) " >&6
1639 else
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1642 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1644 #define $2 innocuous_$2
1646 /* System header to define __stub macros and hopefully few prototypes,
1647 which can conflict with char $2 (); below.
1648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1649 <limits.h> exists even on freestanding compilers. */
1651 #ifdef __STDC__
1652 # include <limits.h>
1653 #else
1654 # include <assert.h>
1655 #endif
1657 #undef $2
1659 /* Override any GCC internal prototype to avoid an error.
1660 Use char because int might match the return type of a GCC
1661 builtin and then its argument prototype would still apply. */
1662 #ifdef __cplusplus
1663 extern "C"
1664 #endif
1665 char $2 ();
1666 /* The GNU C library defines this for functions which it implements
1667 to always fail with ENOSYS. Some functions are actually named
1668 something starting with __ and the normal name is an alias. */
1669 #if defined __stub_$2 || defined __stub___$2
1670 choke me
1671 #endif
1673 int
1674 main ()
1675 {
1676 return $2 ();
1677 ;
1678 return 0;
1679 }
1680 _ACEOF
1681 if ac_fn_c_try_link "$LINENO"; then :
1682 eval "$3=yes"
1683 else
1684 eval "$3=no"
1685 fi
1686 rm -f core conftest.err conftest.$ac_objext \
1687 conftest$ac_exeext conftest.$ac_ext
1688 fi
1689 eval ac_res=\$$3
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 } # ac_fn_c_check_func
1696 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1697 # -------------------------------------------------------
1698 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1699 # the include files in INCLUDES and setting the cache variable VAR
1700 # accordingly.
1701 ac_fn_c_check_header_mongrel ()
1702 {
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 if eval \${$3+:} false; then :
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval \${$3+:} false; then :
1708 $as_echo_n "(cached) " >&6
1709 fi
1710 eval ac_res=\$$3
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1712 $as_echo "$ac_res" >&6; }
1713 else
1714 # Is the header compilable?
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1716 $as_echo_n "checking $2 usability... " >&6; }
1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1719 $4
1720 #include <$2>
1721 _ACEOF
1722 if ac_fn_c_try_compile "$LINENO"; then :
1723 ac_header_compiler=yes
1724 else
1725 ac_header_compiler=no
1726 fi
1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1729 $as_echo "$ac_header_compiler" >&6; }
1731 # Is the header present?
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1733 $as_echo_n "checking $2 presence... " >&6; }
1734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735 /* end confdefs.h. */
1736 #include <$2>
1737 _ACEOF
1738 if ac_fn_c_try_cpp "$LINENO"; then :
1739 ac_header_preproc=yes
1740 else
1741 ac_header_preproc=no
1742 fi
1743 rm -f conftest.err conftest.i conftest.$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1745 $as_echo "$ac_header_preproc" >&6; }
1747 # So? What about this header?
1748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1749 yes:no: )
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1751 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1753 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1754 ;;
1755 no:yes:* )
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1757 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1759 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1761 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1763 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1765 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1766 ( $as_echo "## -------------------------------- ##
1767 ## Report this to meillo@marmaro.de ##
1768 ## -------------------------------- ##"
1769 ) | sed "s/^/$as_me: WARNING: /" >&2
1770 ;;
1771 esac
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if eval \${$3+:} false; then :
1775 $as_echo_n "(cached) " >&6
1776 else
1777 eval "$3=\$ac_header_compiler"
1778 fi
1779 eval ac_res=\$$3
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1781 $as_echo "$ac_res" >&6; }
1782 fi
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 } # ac_fn_c_check_header_mongrel
1787 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1788 # -------------------------------------------------------
1789 # Tests whether HEADER exists and can be compiled using the include files in
1790 # INCLUDES, setting the cache variable VAR accordingly.
1791 ac_fn_c_check_header_compile ()
1792 {
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795 $as_echo_n "checking for $2... " >&6; }
1796 if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6
1798 else
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1801 $4
1802 #include <$2>
1803 _ACEOF
1804 if ac_fn_c_try_compile "$LINENO"; then :
1805 eval "$3=yes"
1806 else
1807 eval "$3=no"
1808 fi
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 fi
1811 eval ac_res=\$$3
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 } # ac_fn_c_check_header_compile
1818 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1819 # -------------------------------------------
1820 # Tests whether TYPE exists after having included INCLUDES, setting cache
1821 # variable VAR accordingly.
1822 ac_fn_c_check_type ()
1823 {
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \${$3+:} false; then :
1828 $as_echo_n "(cached) " >&6
1829 else
1830 eval "$3=no"
1831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1833 $4
1834 int
1835 main ()
1836 {
1837 if (sizeof ($2))
1838 return 0;
1839 ;
1840 return 0;
1841 }
1842 _ACEOF
1843 if ac_fn_c_try_compile "$LINENO"; then :
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1846 $4
1847 int
1848 main ()
1849 {
1850 if (sizeof (($2)))
1851 return 0;
1852 ;
1853 return 0;
1854 }
1855 _ACEOF
1856 if ac_fn_c_try_compile "$LINENO"; then :
1858 else
1859 eval "$3=yes"
1860 fi
1861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1862 fi
1863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864 fi
1865 eval ac_res=\$$3
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 } # ac_fn_c_check_type
1871 cat >config.log <<_ACEOF
1872 This file contains any messages produced by compilers while
1873 running configure, to aid debugging if configure makes a mistake.
1875 It was created by masqmail $as_me 0.3.4-dev, which was
1876 generated by GNU Autoconf 2.68. Invocation command line was
1878 $ $0 $@
1880 _ACEOF
1881 exec 5>>config.log
1882 {
1883 cat <<_ASUNAME
1884 ## --------- ##
1885 ## Platform. ##
1886 ## --------- ##
1888 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1889 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1890 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1891 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1892 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1894 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1895 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1897 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1898 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1899 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1900 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1901 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1902 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1903 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1905 _ASUNAME
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908 for as_dir in $PATH
1909 do
1910 IFS=$as_save_IFS
1911 test -z "$as_dir" && as_dir=.
1912 $as_echo "PATH: $as_dir"
1913 done
1914 IFS=$as_save_IFS
1916 } >&5
1918 cat >&5 <<_ACEOF
1921 ## ----------- ##
1922 ## Core tests. ##
1923 ## ----------- ##
1925 _ACEOF
1928 # Keep a trace of the command line.
1929 # Strip out --no-create and --no-recursion so they do not pile up.
1930 # Strip out --silent because we don't want to record it for future runs.
1931 # Also quote any args containing shell meta-characters.
1932 # Make two passes to allow for proper duplicate-argument suppression.
1933 ac_configure_args=
1934 ac_configure_args0=
1935 ac_configure_args1=
1936 ac_must_keep_next=false
1937 for ac_pass in 1 2
1938 do
1939 for ac_arg
1940 do
1941 case $ac_arg in
1942 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1944 | -silent | --silent | --silen | --sile | --sil)
1945 continue ;;
1946 *\'*)
1947 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1948 esac
1949 case $ac_pass in
1950 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1951 2)
1952 as_fn_append ac_configure_args1 " '$ac_arg'"
1953 if test $ac_must_keep_next = true; then
1954 ac_must_keep_next=false # Got value, back to normal.
1955 else
1956 case $ac_arg in
1957 *=* | --config-cache | -C | -disable-* | --disable-* \
1958 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1959 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1960 | -with-* | --with-* | -without-* | --without-* | --x)
1961 case "$ac_configure_args0 " in
1962 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1963 esac
1964 ;;
1965 -* ) ac_must_keep_next=true ;;
1966 esac
1967 fi
1968 as_fn_append ac_configure_args " '$ac_arg'"
1969 ;;
1970 esac
1971 done
1972 done
1973 { ac_configure_args0=; unset ac_configure_args0;}
1974 { ac_configure_args1=; unset ac_configure_args1;}
1976 # When interrupted or exit'd, cleanup temporary files, and complete
1977 # config.log. We remove comments because anyway the quotes in there
1978 # would cause problems or look ugly.
1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1981 trap 'exit_status=$?
1982 # Save into config.log some information that might help in debugging.
1983 {
1984 echo
1986 $as_echo "## ---------------- ##
1987 ## Cache variables. ##
1988 ## ---------------- ##"
1989 echo
1990 # The following way of writing the cache mishandles newlines in values,
1991 (
1992 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1993 eval ac_val=\$$ac_var
1994 case $ac_val in #(
1995 *${as_nl}*)
1996 case $ac_var in #(
1997 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1999 esac
2000 case $ac_var in #(
2001 _ | IFS | as_nl) ;; #(
2002 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2003 *) { eval $ac_var=; unset $ac_var;} ;;
2004 esac ;;
2005 esac
2006 done
2007 (set) 2>&1 |
2008 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2009 *${as_nl}ac_space=\ *)
2010 sed -n \
2011 "s/'\''/'\''\\\\'\'''\''/g;
2012 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2013 ;; #(
2014 *)
2015 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2016 ;;
2017 esac |
2018 sort
2019 )
2020 echo
2022 $as_echo "## ----------------- ##
2023 ## Output variables. ##
2024 ## ----------------- ##"
2025 echo
2026 for ac_var in $ac_subst_vars
2027 do
2028 eval ac_val=\$$ac_var
2029 case $ac_val in
2030 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031 esac
2032 $as_echo "$ac_var='\''$ac_val'\''"
2033 done | sort
2034 echo
2036 if test -n "$ac_subst_files"; then
2037 $as_echo "## ------------------- ##
2038 ## File substitutions. ##
2039 ## ------------------- ##"
2040 echo
2041 for ac_var in $ac_subst_files
2042 do
2043 eval ac_val=\$$ac_var
2044 case $ac_val in
2045 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2046 esac
2047 $as_echo "$ac_var='\''$ac_val'\''"
2048 done | sort
2049 echo
2050 fi
2052 if test -s confdefs.h; then
2053 $as_echo "## ----------- ##
2054 ## confdefs.h. ##
2055 ## ----------- ##"
2056 echo
2057 cat confdefs.h
2058 echo
2059 fi
2060 test "$ac_signal" != 0 &&
2061 $as_echo "$as_me: caught signal $ac_signal"
2062 $as_echo "$as_me: exit $exit_status"
2063 } >&5
2064 rm -f core *.core core.conftest.* &&
2065 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2066 exit $exit_status
2067 ' 0
2068 for ac_signal in 1 2 13 15; do
2069 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2070 done
2071 ac_signal=0
2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2074 rm -f -r conftest* confdefs.h
2076 $as_echo "/* confdefs.h */" > confdefs.h
2078 # Predefined preprocessor variables.
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_NAME "$PACKAGE_NAME"
2082 _ACEOF
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2086 _ACEOF
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2090 _ACEOF
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_STRING "$PACKAGE_STRING"
2094 _ACEOF
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2098 _ACEOF
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_URL "$PACKAGE_URL"
2102 _ACEOF
2105 # Let the site file select an alternate cache file if it wants to.
2106 # Prefer an explicitly selected file to automatically selected ones.
2107 ac_site_file1=NONE
2108 ac_site_file2=NONE
2109 if test -n "$CONFIG_SITE"; then
2110 # We do not want a PATH search for config.site.
2111 case $CONFIG_SITE in #((
2112 -*) ac_site_file1=./$CONFIG_SITE;;
2113 */*) ac_site_file1=$CONFIG_SITE;;
2114 *) ac_site_file1=./$CONFIG_SITE;;
2115 esac
2116 elif test "x$prefix" != xNONE; then
2117 ac_site_file1=$prefix/share/config.site
2118 ac_site_file2=$prefix/etc/config.site
2119 else
2120 ac_site_file1=$ac_default_prefix/share/config.site
2121 ac_site_file2=$ac_default_prefix/etc/config.site
2122 fi
2123 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2124 do
2125 test "x$ac_site_file" = xNONE && continue
2126 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2128 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2129 sed 's/^/| /' "$ac_site_file" >&5
2130 . "$ac_site_file" \
2131 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2133 as_fn_error $? "failed to load site script $ac_site_file
2134 See \`config.log' for more details" "$LINENO" 5; }
2135 fi
2136 done
2138 if test -r "$cache_file"; then
2139 # Some versions of bash will fail to source /dev/null (special files
2140 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2141 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2143 $as_echo "$as_me: loading cache $cache_file" >&6;}
2144 case $cache_file in
2145 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2146 *) . "./$cache_file";;
2147 esac
2148 fi
2149 else
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2151 $as_echo "$as_me: creating cache $cache_file" >&6;}
2152 >$cache_file
2153 fi
2155 # Check that the precious variables saved in the cache have kept the same
2156 # value.
2157 ac_cache_corrupted=false
2158 for ac_var in $ac_precious_vars; do
2159 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2160 eval ac_new_set=\$ac_env_${ac_var}_set
2161 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2162 eval ac_new_val=\$ac_env_${ac_var}_value
2163 case $ac_old_set,$ac_new_set in
2164 set,)
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2166 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2167 ac_cache_corrupted=: ;;
2168 ,set)
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2170 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2171 ac_cache_corrupted=: ;;
2172 ,);;
2173 *)
2174 if test "x$ac_old_val" != "x$ac_new_val"; then
2175 # differences in whitespace do not lead to failure.
2176 ac_old_val_w=`echo x $ac_old_val`
2177 ac_new_val_w=`echo x $ac_new_val`
2178 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2180 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2181 ac_cache_corrupted=:
2182 else
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2184 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2185 eval $ac_var=\$ac_old_val
2186 fi
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2188 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2190 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2191 fi;;
2192 esac
2193 # Pass precious variables to config.status.
2194 if test "$ac_new_set" = set; then
2195 case $ac_new_val in
2196 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2197 *) ac_arg=$ac_var=$ac_new_val ;;
2198 esac
2199 case " $ac_configure_args " in
2200 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2201 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2202 esac
2203 fi
2204 done
2205 if $ac_cache_corrupted; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2209 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2210 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2211 fi
2212 ## -------------------- ##
2213 ## Main body of script. ##
2214 ## -------------------- ##
2216 ac_ext=c
2217 ac_cpp='$CPP $CPPFLAGS'
2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2224 ac_config_headers="$ac_config_headers config.h"
2226 am__api_version='1.11'
2228 ac_aux_dir=
2229 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2230 if test -f "$ac_dir/install-sh"; then
2231 ac_aux_dir=$ac_dir
2232 ac_install_sh="$ac_aux_dir/install-sh -c"
2233 break
2234 elif test -f "$ac_dir/install.sh"; then
2235 ac_aux_dir=$ac_dir
2236 ac_install_sh="$ac_aux_dir/install.sh -c"
2237 break
2238 elif test -f "$ac_dir/shtool"; then
2239 ac_aux_dir=$ac_dir
2240 ac_install_sh="$ac_aux_dir/shtool install -c"
2241 break
2242 fi
2243 done
2244 if test -z "$ac_aux_dir"; then
2245 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2246 fi
2248 # These three variables are undocumented and unsupported,
2249 # and are intended to be withdrawn in a future Autoconf release.
2250 # They can cause serious problems if a builder's source tree is in a directory
2251 # whose full name contains unusual characters.
2252 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2253 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2254 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2257 # Find a good install program. We prefer a C program (faster),
2258 # so one script is as good as another. But avoid the broken or
2259 # incompatible versions:
2260 # SysV /etc/install, /usr/sbin/install
2261 # SunOS /usr/etc/install
2262 # IRIX /sbin/install
2263 # AIX /bin/install
2264 # AmigaOS /C/install, which installs bootblocks on floppy discs
2265 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2266 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2267 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2268 # OS/2's system install, which has a completely different semantic
2269 # ./install, which can be erroneously created by make from ./install.sh.
2270 # Reject install programs that cannot install multiple files.
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2272 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2273 if test -z "$INSTALL"; then
2274 if ${ac_cv_path_install+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 for as_dir in $PATH
2279 do
2280 IFS=$as_save_IFS
2281 test -z "$as_dir" && as_dir=.
2282 # Account for people who put trailing slashes in PATH elements.
2283 case $as_dir/ in #((
2284 ./ | .// | /[cC]/* | \
2285 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2286 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2287 /usr/ucb/* ) ;;
2288 *)
2289 # OSF1 and SCO ODT 3.0 have their own names for install.
2290 # Don't use installbsd from OSF since it installs stuff as root
2291 # by default.
2292 for ac_prog in ginstall scoinst install; do
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2295 if test $ac_prog = install &&
2296 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2297 # AIX install. It has an incompatible calling convention.
2298 :
2299 elif test $ac_prog = install &&
2300 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2301 # program-specific install script used by HP pwplus--don't use.
2302 :
2303 else
2304 rm -rf conftest.one conftest.two conftest.dir
2305 echo one > conftest.one
2306 echo two > conftest.two
2307 mkdir conftest.dir
2308 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2309 test -s conftest.one && test -s conftest.two &&
2310 test -s conftest.dir/conftest.one &&
2311 test -s conftest.dir/conftest.two
2312 then
2313 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2314 break 3
2315 fi
2316 fi
2317 fi
2318 done
2319 done
2320 ;;
2321 esac
2323 done
2324 IFS=$as_save_IFS
2326 rm -rf conftest.one conftest.two conftest.dir
2328 fi
2329 if test "${ac_cv_path_install+set}" = set; then
2330 INSTALL=$ac_cv_path_install
2331 else
2332 # As a last resort, use the slow shell script. Don't cache a
2333 # value for INSTALL within a source directory, because that will
2334 # break other packages using the cache if that directory is
2335 # removed, or if the value is a relative name.
2336 INSTALL=$ac_install_sh
2337 fi
2338 fi
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2340 $as_echo "$INSTALL" >&6; }
2342 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2343 # It thinks the first close brace ends the variable substitution.
2344 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2346 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2348 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2351 $as_echo_n "checking whether build environment is sane... " >&6; }
2352 # Just in case
2353 sleep 1
2354 echo timestamp > conftest.file
2355 # Reject unsafe characters in $srcdir or the absolute working directory
2356 # name. Accept space and tab only in the latter.
2357 am_lf='
2358 '
2359 case `pwd` in
2360 *[\\\"\#\$\&\'\`$am_lf]*)
2361 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2362 esac
2363 case $srcdir in
2364 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2365 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2366 esac
2368 # Do `set' in a subshell so we don't clobber the current shell's
2369 # arguments. Must try -L first in case configure is actually a
2370 # symlink; some systems play weird games with the mod time of symlinks
2371 # (eg FreeBSD returns the mod time of the symlink's containing
2372 # directory).
2373 if (
2374 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2375 if test "$*" = "X"; then
2376 # -L didn't work.
2377 set X `ls -t "$srcdir/configure" conftest.file`
2378 fi
2379 rm -f conftest.file
2380 if test "$*" != "X $srcdir/configure conftest.file" \
2381 && test "$*" != "X conftest.file $srcdir/configure"; then
2383 # If neither matched, then we have a broken ls. This can happen
2384 # if, for instance, CONFIG_SHELL is bash and it inherits a
2385 # broken ls alias from the environment. This has actually
2386 # happened. Such a system could not be considered "sane".
2387 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2388 alias in your environment" "$LINENO" 5
2389 fi
2391 test "$2" = conftest.file
2392 )
2393 then
2394 # Ok.
2395 :
2396 else
2397 as_fn_error $? "newly created file is older than distributed files!
2398 Check your system clock" "$LINENO" 5
2399 fi
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2401 $as_echo "yes" >&6; }
2402 test "$program_prefix" != NONE &&
2403 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2404 # Use a double $ so make ignores it.
2405 test "$program_suffix" != NONE &&
2406 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2407 # Double any \ or $.
2408 # By default was `s,x,x', remove it if useless.
2409 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2410 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2412 # expand $ac_aux_dir to an absolute path
2413 am_aux_dir=`cd $ac_aux_dir && pwd`
2415 if test x"${MISSING+set}" != xset; then
2416 case $am_aux_dir in
2417 *\ * | *\ *)
2418 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2419 *)
2420 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2421 esac
2422 fi
2423 # Use eval to expand $SHELL
2424 if eval "$MISSING --run true"; then
2425 am_missing_run="$MISSING --run "
2426 else
2427 am_missing_run=
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2429 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2430 fi
2432 if test x"${install_sh}" != xset; then
2433 case $am_aux_dir in
2434 *\ * | *\ *)
2435 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2436 *)
2437 install_sh="\${SHELL} $am_aux_dir/install-sh"
2438 esac
2439 fi
2441 # Installed binaries are usually stripped using `strip' when the user
2442 # run `make install-strip'. However `strip' might not be the right
2443 # tool to use in cross-compilation environments, therefore Automake
2444 # will honor the `STRIP' environment variable to overrule this program.
2445 if test "$cross_compiling" != no; then
2446 if test -n "$ac_tool_prefix"; then
2447 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2448 set dummy ${ac_tool_prefix}strip; ac_word=$2
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2450 $as_echo_n "checking for $ac_word... " >&6; }
2451 if ${ac_cv_prog_STRIP+:} false; then :
2452 $as_echo_n "(cached) " >&6
2453 else
2454 if test -n "$STRIP"; then
2455 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2456 else
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 for as_dir in $PATH
2459 do
2460 IFS=$as_save_IFS
2461 test -z "$as_dir" && as_dir=.
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 break 2
2467 fi
2468 done
2469 done
2470 IFS=$as_save_IFS
2472 fi
2473 fi
2474 STRIP=$ac_cv_prog_STRIP
2475 if test -n "$STRIP"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2477 $as_echo "$STRIP" >&6; }
2478 else
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2480 $as_echo "no" >&6; }
2481 fi
2484 fi
2485 if test -z "$ac_cv_prog_STRIP"; then
2486 ac_ct_STRIP=$STRIP
2487 # Extract the first word of "strip", so it can be a program name with args.
2488 set dummy strip; ac_word=$2
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2490 $as_echo_n "checking for $ac_word... " >&6; }
2491 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2492 $as_echo_n "(cached) " >&6
2493 else
2494 if test -n "$ac_ct_STRIP"; then
2495 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2496 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 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2504 ac_cv_prog_ac_ct_STRIP="strip"
2505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 break 2
2507 fi
2508 done
2509 done
2510 IFS=$as_save_IFS
2512 fi
2513 fi
2514 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2515 if test -n "$ac_ct_STRIP"; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2517 $as_echo "$ac_ct_STRIP" >&6; }
2518 else
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2520 $as_echo "no" >&6; }
2521 fi
2523 if test "x$ac_ct_STRIP" = x; then
2524 STRIP=":"
2525 else
2526 case $cross_compiling:$ac_tool_warned in
2527 yes:)
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2530 ac_tool_warned=yes ;;
2531 esac
2532 STRIP=$ac_ct_STRIP
2533 fi
2534 else
2535 STRIP="$ac_cv_prog_STRIP"
2536 fi
2538 fi
2539 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2542 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2543 if test -z "$MKDIR_P"; then
2544 if ${ac_cv_path_mkdir+:} false; then :
2545 $as_echo_n "(cached) " >&6
2546 else
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2549 do
2550 IFS=$as_save_IFS
2551 test -z "$as_dir" && as_dir=.
2552 for ac_prog in mkdir gmkdir; do
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2555 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2556 'mkdir (GNU coreutils) '* | \
2557 'mkdir (coreutils) '* | \
2558 'mkdir (fileutils) '4.1*)
2559 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2560 break 3;;
2561 esac
2562 done
2563 done
2564 done
2565 IFS=$as_save_IFS
2567 fi
2569 test -d ./--version && rmdir ./--version
2570 if test "${ac_cv_path_mkdir+set}" = set; then
2571 MKDIR_P="$ac_cv_path_mkdir -p"
2572 else
2573 # As a last resort, use the slow shell script. Don't cache a
2574 # value for MKDIR_P within a source directory, because that will
2575 # break other packages using the cache if that directory is
2576 # removed, or if the value is a relative name.
2577 MKDIR_P="$ac_install_sh -d"
2578 fi
2579 fi
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2581 $as_echo "$MKDIR_P" >&6; }
2583 mkdir_p="$MKDIR_P"
2584 case $mkdir_p in
2585 [\\/$]* | ?:[\\/]*) ;;
2586 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2587 esac
2589 for ac_prog in gawk mawk nawk awk
2590 do
2591 # Extract the first word of "$ac_prog", so it can be a program name with args.
2592 set dummy $ac_prog; ac_word=$2
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594 $as_echo_n "checking for $ac_word... " >&6; }
2595 if ${ac_cv_prog_AWK+:} false; then :
2596 $as_echo_n "(cached) " >&6
2597 else
2598 if test -n "$AWK"; then
2599 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2600 else
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 for as_dir in $PATH
2603 do
2604 IFS=$as_save_IFS
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_AWK="$ac_prog"
2609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 break 2
2611 fi
2612 done
2613 done
2614 IFS=$as_save_IFS
2616 fi
2617 fi
2618 AWK=$ac_cv_prog_AWK
2619 if test -n "$AWK"; then
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2621 $as_echo "$AWK" >&6; }
2622 else
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624 $as_echo "no" >&6; }
2625 fi
2628 test -n "$AWK" && break
2629 done
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2632 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2633 set x ${MAKE-make}
2634 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2635 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2636 $as_echo_n "(cached) " >&6
2637 else
2638 cat >conftest.make <<\_ACEOF
2639 SHELL = /bin/sh
2640 all:
2641 @echo '@@@%%%=$(MAKE)=@@@%%%'
2642 _ACEOF
2643 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2644 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2645 *@@@%%%=?*=@@@%%%*)
2646 eval ac_cv_prog_make_${ac_make}_set=yes;;
2647 *)
2648 eval ac_cv_prog_make_${ac_make}_set=no;;
2649 esac
2650 rm -f conftest.make
2651 fi
2652 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2654 $as_echo "yes" >&6; }
2655 SET_MAKE=
2656 else
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2659 SET_MAKE="MAKE=${MAKE-make}"
2660 fi
2662 rm -rf .tst 2>/dev/null
2663 mkdir .tst 2>/dev/null
2664 if test -d .tst; then
2665 am__leading_dot=.
2666 else
2667 am__leading_dot=_
2668 fi
2669 rmdir .tst 2>/dev/null
2671 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2672 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2673 # is not polluted with repeated "-I."
2674 am__isrc=' -I$(srcdir)'
2675 # test to see if srcdir already configured
2676 if test -f $srcdir/config.status; then
2677 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2678 fi
2679 fi
2681 # test whether we have cygpath
2682 if test -z "$CYGPATH_W"; then
2683 if (cygpath --version) >/dev/null 2>/dev/null; then
2684 CYGPATH_W='cygpath -w'
2685 else
2686 CYGPATH_W=echo
2687 fi
2688 fi
2691 # Define the identity of the package.
2692 PACKAGE='masqmail'
2693 VERSION='0.3.4-dev'
2696 cat >>confdefs.h <<_ACEOF
2697 #define PACKAGE "$PACKAGE"
2698 _ACEOF
2701 cat >>confdefs.h <<_ACEOF
2702 #define VERSION "$VERSION"
2703 _ACEOF
2705 # Some tools Automake needs.
2707 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2710 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2713 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2716 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2719 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2721 # We need awk for the "check" target. The system "awk" is bad on
2722 # some platforms.
2723 # Always define AMTAR for backward compatibility.
2725 AMTAR=${AMTAR-"${am_missing_run}tar"}
2727 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2736 ac_ext=c
2737 ac_cpp='$CPP $CPPFLAGS'
2738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2741 if test -n "$ac_tool_prefix"; then
2742 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2743 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if ${ac_cv_prog_CC+:} false; then :
2747 $as_echo_n "(cached) " >&6
2748 else
2749 if test -n "$CC"; then
2750 ac_cv_prog_CC="$CC" # Let the user override the test.
2751 else
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 for as_dir in $PATH
2754 do
2755 IFS=$as_save_IFS
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2761 break 2
2762 fi
2763 done
2764 done
2765 IFS=$as_save_IFS
2767 fi
2768 fi
2769 CC=$ac_cv_prog_CC
2770 if test -n "$CC"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2772 $as_echo "$CC" >&6; }
2773 else
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2776 fi
2779 fi
2780 if test -z "$ac_cv_prog_CC"; then
2781 ac_ct_CC=$CC
2782 # Extract the first word of "gcc", so it can be a program name with args.
2783 set dummy gcc; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2787 $as_echo_n "(cached) " >&6
2788 else
2789 if test -n "$ac_ct_CC"; then
2790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2791 else
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH
2794 do
2795 IFS=$as_save_IFS
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_ac_ct_CC="gcc"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 break 2
2802 fi
2803 done
2804 done
2805 IFS=$as_save_IFS
2807 fi
2808 fi
2809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2810 if test -n "$ac_ct_CC"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2812 $as_echo "$ac_ct_CC" >&6; }
2813 else
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2816 fi
2818 if test "x$ac_ct_CC" = x; then
2819 CC=""
2820 else
2821 case $cross_compiling:$ac_tool_warned in
2822 yes:)
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2825 ac_tool_warned=yes ;;
2826 esac
2827 CC=$ac_ct_CC
2828 fi
2829 else
2830 CC="$ac_cv_prog_CC"
2831 fi
2833 if test -z "$CC"; then
2834 if test -n "$ac_tool_prefix"; then
2835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2836 set dummy ${ac_tool_prefix}cc; ac_word=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if ${ac_cv_prog_CC+:} false; then :
2840 $as_echo_n "(cached) " >&6
2841 else
2842 if test -n "$CC"; then
2843 ac_cv_prog_CC="$CC" # Let the user override the test.
2844 else
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846 for as_dir in $PATH
2847 do
2848 IFS=$as_save_IFS
2849 test -z "$as_dir" && as_dir=.
2850 for ac_exec_ext in '' $ac_executable_extensions; do
2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 ac_cv_prog_CC="${ac_tool_prefix}cc"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 break 2
2855 fi
2856 done
2857 done
2858 IFS=$as_save_IFS
2860 fi
2861 fi
2862 CC=$ac_cv_prog_CC
2863 if test -n "$CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2865 $as_echo "$CC" >&6; }
2866 else
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2869 fi
2872 fi
2873 fi
2874 if test -z "$CC"; then
2875 # Extract the first word of "cc", so it can be a program name with args.
2876 set dummy cc; ac_word=$2
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878 $as_echo_n "checking for $ac_word... " >&6; }
2879 if ${ac_cv_prog_CC+:} false; then :
2880 $as_echo_n "(cached) " >&6
2881 else
2882 if test -n "$CC"; then
2883 ac_cv_prog_CC="$CC" # Let the user override the test.
2884 else
2885 ac_prog_rejected=no
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 for as_dir in $PATH
2888 do
2889 IFS=$as_save_IFS
2890 test -z "$as_dir" && as_dir=.
2891 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2894 ac_prog_rejected=yes
2895 continue
2896 fi
2897 ac_cv_prog_CC="cc"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 break 2
2900 fi
2901 done
2902 done
2903 IFS=$as_save_IFS
2905 if test $ac_prog_rejected = yes; then
2906 # We found a bogon in the path, so make sure we never use it.
2907 set dummy $ac_cv_prog_CC
2908 shift
2909 if test $# != 0; then
2910 # We chose a different compiler from the bogus one.
2911 # However, it has the same basename, so the bogon will be chosen
2912 # first if we set CC to just the basename; use the full file name.
2913 shift
2914 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2915 fi
2916 fi
2917 fi
2918 fi
2919 CC=$ac_cv_prog_CC
2920 if test -n "$CC"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922 $as_echo "$CC" >&6; }
2923 else
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2926 fi
2929 fi
2930 if test -z "$CC"; then
2931 if test -n "$ac_tool_prefix"; then
2932 for ac_prog in cl.exe
2933 do
2934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937 $as_echo_n "checking for $ac_word... " >&6; }
2938 if ${ac_cv_prog_CC+:} false; then :
2939 $as_echo_n "(cached) " >&6
2940 else
2941 if test -n "$CC"; then
2942 ac_cv_prog_CC="$CC" # Let the user override the test.
2943 else
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 for as_dir in $PATH
2946 do
2947 IFS=$as_save_IFS
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2951 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 break 2
2954 fi
2955 done
2956 done
2957 IFS=$as_save_IFS
2959 fi
2960 fi
2961 CC=$ac_cv_prog_CC
2962 if test -n "$CC"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2964 $as_echo "$CC" >&6; }
2965 else
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2968 fi
2971 test -n "$CC" && break
2972 done
2973 fi
2974 if test -z "$CC"; then
2975 ac_ct_CC=$CC
2976 for ac_prog in cl.exe
2977 do
2978 # Extract the first word of "$ac_prog", so it can be a program name with args.
2979 set dummy $ac_prog; ac_word=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2983 $as_echo_n "(cached) " >&6
2984 else
2985 if test -n "$ac_ct_CC"; then
2986 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2987 else
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 for as_dir in $PATH
2990 do
2991 IFS=$as_save_IFS
2992 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2995 ac_cv_prog_ac_ct_CC="$ac_prog"
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 break 2
2998 fi
2999 done
3000 done
3001 IFS=$as_save_IFS
3003 fi
3004 fi
3005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3006 if test -n "$ac_ct_CC"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3008 $as_echo "$ac_ct_CC" >&6; }
3009 else
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
3012 fi
3015 test -n "$ac_ct_CC" && break
3016 done
3018 if test "x$ac_ct_CC" = x; then
3019 CC=""
3020 else
3021 case $cross_compiling:$ac_tool_warned in
3022 yes:)
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3025 ac_tool_warned=yes ;;
3026 esac
3027 CC=$ac_ct_CC
3028 fi
3029 fi
3031 fi
3034 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3036 as_fn_error $? "no acceptable C compiler found in \$PATH
3037 See \`config.log' for more details" "$LINENO" 5; }
3039 # Provide some information about the compiler.
3040 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3041 set X $ac_compile
3042 ac_compiler=$2
3043 for ac_option in --version -v -V -qversion; do
3044 { { ac_try="$ac_compiler $ac_option >&5"
3045 case "(($ac_try" in
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3048 esac
3049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050 $as_echo "$ac_try_echo"; } >&5
3051 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3052 ac_status=$?
3053 if test -s conftest.err; then
3054 sed '10a\
3055 ... rest of stderr output deleted ...
3056 10q' conftest.err >conftest.er1
3057 cat conftest.er1 >&5
3058 fi
3059 rm -f conftest.er1 conftest.err
3060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3061 test $ac_status = 0; }
3062 done
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3067 int
3068 main ()
3069 {
3071 ;
3072 return 0;
3073 }
3074 _ACEOF
3075 ac_clean_files_save=$ac_clean_files
3076 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3077 # Try to create an executable without -o first, disregard a.out.
3078 # It will help us diagnose broken compilers, and finding out an intuition
3079 # of exeext.
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3081 $as_echo_n "checking whether the C compiler works... " >&6; }
3082 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3084 # The possible output files:
3085 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3087 ac_rmfiles=
3088 for ac_file in $ac_files
3089 do
3090 case $ac_file in
3091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3092 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3093 esac
3094 done
3095 rm -f $ac_rmfiles
3097 if { { ac_try="$ac_link_default"
3098 case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103 $as_echo "$ac_try_echo"; } >&5
3104 (eval "$ac_link_default") 2>&5
3105 ac_status=$?
3106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107 test $ac_status = 0; }; then :
3108 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3109 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3111 # so that the user can short-circuit this test for compilers unknown to
3112 # Autoconf.
3113 for ac_file in $ac_files ''
3114 do
3115 test -f "$ac_file" || continue
3116 case $ac_file in
3117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3118 ;;
3119 [ab].out )
3120 # We found the default executable, but exeext='' is most
3121 # certainly right.
3122 break;;
3123 *.* )
3124 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3125 then :; else
3126 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 fi
3128 # We set ac_cv_exeext here because the later test for it is not
3129 # safe: cross compilers may not add the suffix if given an `-o'
3130 # argument, so we may need to know it at that point already.
3131 # Even if this section looks crufty: it has the advantage of
3132 # actually working.
3133 break;;
3134 * )
3135 break;;
3136 esac
3137 done
3138 test "$ac_cv_exeext" = no && ac_cv_exeext=
3140 else
3141 ac_file=''
3142 fi
3143 if test -z "$ac_file"; then :
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 as_fn_error 77 "C compiler cannot create executables
3152 See \`config.log' for more details" "$LINENO" 5; }
3153 else
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3155 $as_echo "yes" >&6; }
3156 fi
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3158 $as_echo_n "checking for C compiler default output file name... " >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3160 $as_echo "$ac_file" >&6; }
3161 ac_exeext=$ac_cv_exeext
3163 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3164 ac_clean_files=$ac_clean_files_save
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3166 $as_echo_n "checking for suffix of executables... " >&6; }
3167 if { { ac_try="$ac_link"
3168 case "(($ac_try" in
3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3171 esac
3172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3173 $as_echo "$ac_try_echo"; } >&5
3174 (eval "$ac_link") 2>&5
3175 ac_status=$?
3176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177 test $ac_status = 0; }; then :
3178 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3179 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3180 # work properly (i.e., refer to `conftest.exe'), while it won't with
3181 # `rm'.
3182 for ac_file in conftest.exe conftest conftest.*; do
3183 test -f "$ac_file" || continue
3184 case $ac_file in
3185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3186 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3187 break;;
3188 * ) break;;
3189 esac
3190 done
3191 else
3192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3195 See \`config.log' for more details" "$LINENO" 5; }
3196 fi
3197 rm -f conftest conftest$ac_cv_exeext
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3199 $as_echo "$ac_cv_exeext" >&6; }
3201 rm -f conftest.$ac_ext
3202 EXEEXT=$ac_cv_exeext
3203 ac_exeext=$EXEEXT
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3206 #include <stdio.h>
3207 int
3208 main ()
3209 {
3210 FILE *f = fopen ("conftest.out", "w");
3211 return ferror (f) || fclose (f) != 0;
3213 ;
3214 return 0;
3215 }
3216 _ACEOF
3217 ac_clean_files="$ac_clean_files conftest.out"
3218 # Check that the compiler produces executables we can run. If not, either
3219 # the compiler is broken, or we cross compile.
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3221 $as_echo_n "checking whether we are cross compiling... " >&6; }
3222 if test "$cross_compiling" != yes; then
3223 { { ac_try="$ac_link"
3224 case "(($ac_try" in
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3227 esac
3228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229 $as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_link") 2>&5
3231 ac_status=$?
3232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233 test $ac_status = 0; }
3234 if { ac_try='./conftest$ac_cv_exeext'
3235 { { case "(($ac_try" in
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3238 esac
3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 $as_echo "$ac_try_echo"; } >&5
3241 (eval "$ac_try") 2>&5
3242 ac_status=$?
3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244 test $ac_status = 0; }; }; then
3245 cross_compiling=no
3246 else
3247 if test "$cross_compiling" = maybe; then
3248 cross_compiling=yes
3249 else
3250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error $? "cannot run C compiled programs.
3253 If you meant to cross compile, use \`--host'.
3254 See \`config.log' for more details" "$LINENO" 5; }
3255 fi
3256 fi
3257 fi
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3259 $as_echo "$cross_compiling" >&6; }
3261 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3262 ac_clean_files=$ac_clean_files_save
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3264 $as_echo_n "checking for suffix of object files... " >&6; }
3265 if ${ac_cv_objext+:} false; then :
3266 $as_echo_n "(cached) " >&6
3267 else
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3271 int
3272 main ()
3273 {
3275 ;
3276 return 0;
3277 }
3278 _ACEOF
3279 rm -f conftest.o conftest.obj
3280 if { { ac_try="$ac_compile"
3281 case "(($ac_try" in
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3284 esac
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_compile") 2>&5
3288 ac_status=$?
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }; then :
3291 for ac_file in conftest.o conftest.obj conftest.*; do
3292 test -f "$ac_file" || continue;
3293 case $ac_file in
3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3296 break;;
3297 esac
3298 done
3299 else
3300 $as_echo "$as_me: failed program was:" >&5
3301 sed 's/^/| /' conftest.$ac_ext >&5
3303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305 as_fn_error $? "cannot compute suffix of object files: cannot compile
3306 See \`config.log' for more details" "$LINENO" 5; }
3307 fi
3308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3309 fi
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3311 $as_echo "$ac_cv_objext" >&6; }
3312 OBJEXT=$ac_cv_objext
3313 ac_objext=$OBJEXT
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3315 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3316 if ${ac_cv_c_compiler_gnu+:} false; then :
3317 $as_echo_n "(cached) " >&6
3318 else
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3322 int
3323 main ()
3324 {
3325 #ifndef __GNUC__
3326 choke me
3327 #endif
3329 ;
3330 return 0;
3331 }
3332 _ACEOF
3333 if ac_fn_c_try_compile "$LINENO"; then :
3334 ac_compiler_gnu=yes
3335 else
3336 ac_compiler_gnu=no
3337 fi
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3341 fi
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3343 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3344 if test $ac_compiler_gnu = yes; then
3345 GCC=yes
3346 else
3347 GCC=
3348 fi
3349 ac_test_CFLAGS=${CFLAGS+set}
3350 ac_save_CFLAGS=$CFLAGS
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3352 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3353 if ${ac_cv_prog_cc_g+:} false; then :
3354 $as_echo_n "(cached) " >&6
3355 else
3356 ac_save_c_werror_flag=$ac_c_werror_flag
3357 ac_c_werror_flag=yes
3358 ac_cv_prog_cc_g=no
3359 CFLAGS="-g"
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3363 int
3364 main ()
3365 {
3367 ;
3368 return 0;
3369 }
3370 _ACEOF
3371 if ac_fn_c_try_compile "$LINENO"; then :
3372 ac_cv_prog_cc_g=yes
3373 else
3374 CFLAGS=""
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3378 int
3379 main ()
3380 {
3382 ;
3383 return 0;
3384 }
3385 _ACEOF
3386 if ac_fn_c_try_compile "$LINENO"; then :
3388 else
3389 ac_c_werror_flag=$ac_save_c_werror_flag
3390 CFLAGS="-g"
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392 /* end confdefs.h. */
3394 int
3395 main ()
3396 {
3398 ;
3399 return 0;
3400 }
3401 _ACEOF
3402 if ac_fn_c_try_compile "$LINENO"; then :
3403 ac_cv_prog_cc_g=yes
3404 fi
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 fi
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408 fi
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 ac_c_werror_flag=$ac_save_c_werror_flag
3411 fi
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3413 $as_echo "$ac_cv_prog_cc_g" >&6; }
3414 if test "$ac_test_CFLAGS" = set; then
3415 CFLAGS=$ac_save_CFLAGS
3416 elif test $ac_cv_prog_cc_g = yes; then
3417 if test "$GCC" = yes; then
3418 CFLAGS="-g -O2"
3419 else
3420 CFLAGS="-g"
3421 fi
3422 else
3423 if test "$GCC" = yes; then
3424 CFLAGS="-O2"
3425 else
3426 CFLAGS=
3427 fi
3428 fi
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3430 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3431 if ${ac_cv_prog_cc_c89+:} false; then :
3432 $as_echo_n "(cached) " >&6
3433 else
3434 ac_cv_prog_cc_c89=no
3435 ac_save_CC=$CC
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3438 #include <stdarg.h>
3439 #include <stdio.h>
3440 #include <sys/types.h>
3441 #include <sys/stat.h>
3442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3443 struct buf { int x; };
3444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3445 static char *e (p, i)
3446 char **p;
3447 int i;
3448 {
3449 return p[i];
3450 }
3451 static char *f (char * (*g) (char **, int), char **p, ...)
3452 {
3453 char *s;
3454 va_list v;
3455 va_start (v,p);
3456 s = g (p, va_arg (v,int));
3457 va_end (v);
3458 return s;
3459 }
3461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3462 function prototypes and stuff, but not '\xHH' hex character constants.
3463 These don't provoke an error unfortunately, instead are silently treated
3464 as 'x'. The following induces an error, until -std is added to get
3465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3466 array size at least. It's necessary to write '\x00'==0 to get something
3467 that's true only with -std. */
3468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3471 inside strings and character constants. */
3472 #define FOO(x) 'x'
3473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3475 int test (int i, double x);
3476 struct s1 {int (*f) (int a);};
3477 struct s2 {int (*f) (double a);};
3478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3479 int argc;
3480 char **argv;
3481 int
3482 main ()
3483 {
3484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3485 ;
3486 return 0;
3487 }
3488 _ACEOF
3489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3491 do
3492 CC="$ac_save_CC $ac_arg"
3493 if ac_fn_c_try_compile "$LINENO"; then :
3494 ac_cv_prog_cc_c89=$ac_arg
3495 fi
3496 rm -f core conftest.err conftest.$ac_objext
3497 test "x$ac_cv_prog_cc_c89" != "xno" && break
3498 done
3499 rm -f conftest.$ac_ext
3500 CC=$ac_save_CC
3502 fi
3503 # AC_CACHE_VAL
3504 case "x$ac_cv_prog_cc_c89" in
3505 x)
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3507 $as_echo "none needed" >&6; } ;;
3508 xno)
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3510 $as_echo "unsupported" >&6; } ;;
3511 *)
3512 CC="$CC $ac_cv_prog_cc_c89"
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3515 esac
3516 if test "x$ac_cv_prog_cc_c89" != xno; then :
3518 fi
3520 ac_ext=c
3521 ac_cpp='$CPP $CPPFLAGS'
3522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3525 DEPDIR="${am__leading_dot}deps"
3527 ac_config_commands="$ac_config_commands depfiles"
3530 am_make=${MAKE-make}
3531 cat > confinc << 'END'
3532 am__doit:
3533 @echo this is the am__doit target
3534 .PHONY: am__doit
3535 END
3536 # If we don't find an include directive, just comment out the code.
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3538 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3539 am__include="#"
3540 am__quote=
3541 _am_result=none
3542 # First try GNU make style include.
3543 echo "include confinc" > confmf
3544 # Ignore all kinds of additional output from `make'.
3545 case `$am_make -s -f confmf 2> /dev/null` in #(
3546 *the\ am__doit\ target*)
3547 am__include=include
3548 am__quote=
3549 _am_result=GNU
3550 ;;
3551 esac
3552 # Now try BSD make style include.
3553 if test "$am__include" = "#"; then
3554 echo '.include "confinc"' > confmf
3555 case `$am_make -s -f confmf 2> /dev/null` in #(
3556 *the\ am__doit\ target*)
3557 am__include=.include
3558 am__quote="\""
3559 _am_result=BSD
3560 ;;
3561 esac
3562 fi
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3566 $as_echo "$_am_result" >&6; }
3567 rm -f confinc confmf
3569 # Check whether --enable-dependency-tracking was given.
3570 if test "${enable_dependency_tracking+set}" = set; then :
3571 enableval=$enable_dependency_tracking;
3572 fi
3574 if test "x$enable_dependency_tracking" != xno; then
3575 am_depcomp="$ac_aux_dir/depcomp"
3576 AMDEPBACKSLASH='\'
3577 fi
3578 if test "x$enable_dependency_tracking" != xno; then
3579 AMDEP_TRUE=
3580 AMDEP_FALSE='#'
3581 else
3582 AMDEP_TRUE='#'
3583 AMDEP_FALSE=
3584 fi
3588 depcc="$CC" am_compiler_list=
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3591 $as_echo_n "checking dependency style of $depcc... " >&6; }
3592 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3593 $as_echo_n "(cached) " >&6
3594 else
3595 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3596 # We make a subdir and do the tests there. Otherwise we can end up
3597 # making bogus files that we don't know about and never remove. For
3598 # instance it was reported that on HP-UX the gcc test will end up
3599 # making a dummy file named `D' -- because `-MD' means `put the output
3600 # in D'.
3601 mkdir conftest.dir
3602 # Copy depcomp to subdir because otherwise we won't find it if we're
3603 # using a relative directory.
3604 cp "$am_depcomp" conftest.dir
3605 cd conftest.dir
3606 # We will build objects and dependencies in a subdirectory because
3607 # it helps to detect inapplicable dependency modes. For instance
3608 # both Tru64's cc and ICC support -MD to output dependencies as a
3609 # side effect of compilation, but ICC will put the dependencies in
3610 # the current directory while Tru64 will put them in the object
3611 # directory.
3612 mkdir sub
3614 am_cv_CC_dependencies_compiler_type=none
3615 if test "$am_compiler_list" = ""; then
3616 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3617 fi
3618 am__universal=false
3619 case " $depcc " in #(
3620 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3621 esac
3623 for depmode in $am_compiler_list; do
3624 # Setup a source with many dependencies, because some compilers
3625 # like to wrap large dependency lists on column 80 (with \), and
3626 # we should not choose a depcomp mode which is confused by this.
3627 #
3628 # We need to recreate these files for each test, as the compiler may
3629 # overwrite some of them when testing with obscure command lines.
3630 # This happens at least with the AIX C compiler.
3631 : > sub/conftest.c
3632 for i in 1 2 3 4 5 6; do
3633 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3634 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3635 # Solaris 8's {/usr,}/bin/sh.
3636 touch sub/conftst$i.h
3637 done
3638 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3640 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3641 # mode. It turns out that the SunPro C++ compiler does not properly
3642 # handle `-M -o', and we need to detect this. Also, some Intel
3643 # versions had trouble with output in subdirs
3644 am__obj=sub/conftest.${OBJEXT-o}
3645 am__minus_obj="-o $am__obj"
3646 case $depmode in
3647 gcc)
3648 # This depmode causes a compiler race in universal mode.
3649 test "$am__universal" = false || continue
3650 ;;
3651 nosideeffect)
3652 # after this tag, mechanisms are not by side-effect, so they'll
3653 # only be used when explicitly requested
3654 if test "x$enable_dependency_tracking" = xyes; then
3655 continue
3656 else
3657 break
3658 fi
3659 ;;
3660 msvisualcpp | msvcmsys)
3661 # This compiler won't grok `-c -o', but also, the minuso test has
3662 # not run yet. These depmodes are late enough in the game, and
3663 # so weak that their functioning should not be impacted.
3664 am__obj=conftest.${OBJEXT-o}
3665 am__minus_obj=
3666 ;;
3667 none) break ;;
3668 esac
3669 if depmode=$depmode \
3670 source=sub/conftest.c object=$am__obj \
3671 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3672 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3673 >/dev/null 2>conftest.err &&
3674 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3675 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3676 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3677 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3678 # icc doesn't choke on unknown options, it will just issue warnings
3679 # or remarks (even with -Werror). So we grep stderr for any message
3680 # that says an option was ignored or not supported.
3681 # When given -MP, icc 7.0 and 7.1 complain thusly:
3682 # icc: Command line warning: ignoring option '-M'; no argument required
3683 # The diagnosis changed in icc 8.0:
3684 # icc: Command line remark: option '-MP' not supported
3685 if (grep 'ignoring option' conftest.err ||
3686 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3687 am_cv_CC_dependencies_compiler_type=$depmode
3688 break
3689 fi
3690 fi
3691 done
3693 cd ..
3694 rm -rf conftest.dir
3695 else
3696 am_cv_CC_dependencies_compiler_type=none
3697 fi
3699 fi
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3701 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3702 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3704 if
3705 test "x$enable_dependency_tracking" != xno \
3706 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3707 am__fastdepCC_TRUE=
3708 am__fastdepCC_FALSE='#'
3709 else
3710 am__fastdepCC_TRUE='#'
3711 am__fastdepCC_FALSE=
3712 fi
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3717 $as_echo_n "checking for library containing strerror... " >&6; }
3718 if ${ac_cv_search_strerror+:} false; then :
3719 $as_echo_n "(cached) " >&6
3720 else
3721 ac_func_search_save_LIBS=$LIBS
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3725 /* Override any GCC internal prototype to avoid an error.
3726 Use char because int might match the return type of a GCC
3727 builtin and then its argument prototype would still apply. */
3728 #ifdef __cplusplus
3729 extern "C"
3730 #endif
3731 char strerror ();
3732 int
3733 main ()
3734 {
3735 return strerror ();
3736 ;
3737 return 0;
3738 }
3739 _ACEOF
3740 for ac_lib in '' cposix; do
3741 if test -z "$ac_lib"; then
3742 ac_res="none required"
3743 else
3744 ac_res=-l$ac_lib
3745 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3746 fi
3747 if ac_fn_c_try_link "$LINENO"; then :
3748 ac_cv_search_strerror=$ac_res
3749 fi
3750 rm -f core conftest.err conftest.$ac_objext \
3751 conftest$ac_exeext
3752 if ${ac_cv_search_strerror+:} false; then :
3753 break
3754 fi
3755 done
3756 if ${ac_cv_search_strerror+:} false; then :
3758 else
3759 ac_cv_search_strerror=no
3760 fi
3761 rm conftest.$ac_ext
3762 LIBS=$ac_func_search_save_LIBS
3763 fi
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3765 $as_echo "$ac_cv_search_strerror" >&6; }
3766 ac_res=$ac_cv_search_strerror
3767 if test "$ac_res" != no; then :
3768 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3770 fi
3772 ac_ext=c
3773 ac_cpp='$CPP $CPPFLAGS'
3774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3778 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3779 # On Suns, sometimes $CPP names a directory.
3780 if test -n "$CPP" && test -d "$CPP"; then
3781 CPP=
3782 fi
3783 if test -z "$CPP"; then
3784 if ${ac_cv_prog_CPP+:} false; then :
3785 $as_echo_n "(cached) " >&6
3786 else
3787 # Double quotes because CPP needs to be expanded
3788 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3789 do
3790 ac_preproc_ok=false
3791 for ac_c_preproc_warn_flag in '' yes
3792 do
3793 # Use a header file that comes with gcc, so configuring glibc
3794 # with a fresh cross-compiler works.
3795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3796 # <limits.h> exists even on freestanding compilers.
3797 # On the NeXT, cc -E runs the code through the compiler's parser,
3798 # not just through cpp. "Syntax error" is here to catch this case.
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3801 #ifdef __STDC__
3802 # include <limits.h>
3803 #else
3804 # include <assert.h>
3805 #endif
3806 Syntax error
3807 _ACEOF
3808 if ac_fn_c_try_cpp "$LINENO"; then :
3810 else
3811 # Broken: fails on valid input.
3812 continue
3813 fi
3814 rm -f conftest.err conftest.i conftest.$ac_ext
3816 # OK, works on sane cases. Now check whether nonexistent headers
3817 # can be detected and how.
3818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3819 /* end confdefs.h. */
3820 #include <ac_nonexistent.h>
3821 _ACEOF
3822 if ac_fn_c_try_cpp "$LINENO"; then :
3823 # Broken: success on invalid input.
3824 continue
3825 else
3826 # Passes both tests.
3827 ac_preproc_ok=:
3828 break
3829 fi
3830 rm -f conftest.err conftest.i conftest.$ac_ext
3832 done
3833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3834 rm -f conftest.i conftest.err conftest.$ac_ext
3835 if $ac_preproc_ok; then :
3836 break
3837 fi
3839 done
3840 ac_cv_prog_CPP=$CPP
3842 fi
3843 CPP=$ac_cv_prog_CPP
3844 else
3845 ac_cv_prog_CPP=$CPP
3846 fi
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3848 $as_echo "$CPP" >&6; }
3849 ac_preproc_ok=false
3850 for ac_c_preproc_warn_flag in '' yes
3851 do
3852 # Use a header file that comes with gcc, so configuring glibc
3853 # with a fresh cross-compiler works.
3854 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3855 # <limits.h> exists even on freestanding compilers.
3856 # On the NeXT, cc -E runs the code through the compiler's parser,
3857 # not just through cpp. "Syntax error" is here to catch this case.
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3860 #ifdef __STDC__
3861 # include <limits.h>
3862 #else
3863 # include <assert.h>
3864 #endif
3865 Syntax error
3866 _ACEOF
3867 if ac_fn_c_try_cpp "$LINENO"; then :
3869 else
3870 # Broken: fails on valid input.
3871 continue
3872 fi
3873 rm -f conftest.err conftest.i conftest.$ac_ext
3875 # OK, works on sane cases. Now check whether nonexistent headers
3876 # can be detected and how.
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3879 #include <ac_nonexistent.h>
3880 _ACEOF
3881 if ac_fn_c_try_cpp "$LINENO"; then :
3882 # Broken: success on invalid input.
3883 continue
3884 else
3885 # Passes both tests.
3886 ac_preproc_ok=:
3887 break
3888 fi
3889 rm -f conftest.err conftest.i conftest.$ac_ext
3891 done
3892 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3893 rm -f conftest.i conftest.err conftest.$ac_ext
3894 if $ac_preproc_ok; then :
3896 else
3897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3899 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3900 See \`config.log' for more details" "$LINENO" 5; }
3901 fi
3903 ac_ext=c
3904 ac_cpp='$CPP $CPPFLAGS'
3905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3911 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3912 if ${ac_cv_path_GREP+:} false; then :
3913 $as_echo_n "(cached) " >&6
3914 else
3915 if test -z "$GREP"; then
3916 ac_path_GREP_found=false
3917 # Loop through the user's path and test for each of PROGNAME-LIST
3918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3919 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3920 do
3921 IFS=$as_save_IFS
3922 test -z "$as_dir" && as_dir=.
3923 for ac_prog in grep ggrep; do
3924 for ac_exec_ext in '' $ac_executable_extensions; do
3925 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3926 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3927 # Check for GNU ac_path_GREP and select it if it is found.
3928 # Check for GNU $ac_path_GREP
3929 case `"$ac_path_GREP" --version 2>&1` in
3930 *GNU*)
3931 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3932 *)
3933 ac_count=0
3934 $as_echo_n 0123456789 >"conftest.in"
3935 while :
3936 do
3937 cat "conftest.in" "conftest.in" >"conftest.tmp"
3938 mv "conftest.tmp" "conftest.in"
3939 cp "conftest.in" "conftest.nl"
3940 $as_echo 'GREP' >> "conftest.nl"
3941 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3942 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3943 as_fn_arith $ac_count + 1 && ac_count=$as_val
3944 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3945 # Best one so far, save it but keep looking for a better one
3946 ac_cv_path_GREP="$ac_path_GREP"
3947 ac_path_GREP_max=$ac_count
3948 fi
3949 # 10*(2^10) chars as input seems more than enough
3950 test $ac_count -gt 10 && break
3951 done
3952 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3953 esac
3955 $ac_path_GREP_found && break 3
3956 done
3957 done
3958 done
3959 IFS=$as_save_IFS
3960 if test -z "$ac_cv_path_GREP"; then
3961 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3962 fi
3963 else
3964 ac_cv_path_GREP=$GREP
3965 fi
3967 fi
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3969 $as_echo "$ac_cv_path_GREP" >&6; }
3970 GREP="$ac_cv_path_GREP"
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3974 $as_echo_n "checking for egrep... " >&6; }
3975 if ${ac_cv_path_EGREP+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3979 then ac_cv_path_EGREP="$GREP -E"
3980 else
3981 if test -z "$EGREP"; then
3982 ac_path_EGREP_found=false
3983 # Loop through the user's path and test for each of PROGNAME-LIST
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3986 do
3987 IFS=$as_save_IFS
3988 test -z "$as_dir" && as_dir=.
3989 for ac_prog in egrep; do
3990 for ac_exec_ext in '' $ac_executable_extensions; do
3991 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3992 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3993 # Check for GNU ac_path_EGREP and select it if it is found.
3994 # Check for GNU $ac_path_EGREP
3995 case `"$ac_path_EGREP" --version 2>&1` in
3996 *GNU*)
3997 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3998 *)
3999 ac_count=0
4000 $as_echo_n 0123456789 >"conftest.in"
4001 while :
4002 do
4003 cat "conftest.in" "conftest.in" >"conftest.tmp"
4004 mv "conftest.tmp" "conftest.in"
4005 cp "conftest.in" "conftest.nl"
4006 $as_echo 'EGREP' >> "conftest.nl"
4007 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4009 as_fn_arith $ac_count + 1 && ac_count=$as_val
4010 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4011 # Best one so far, save it but keep looking for a better one
4012 ac_cv_path_EGREP="$ac_path_EGREP"
4013 ac_path_EGREP_max=$ac_count
4014 fi
4015 # 10*(2^10) chars as input seems more than enough
4016 test $ac_count -gt 10 && break
4017 done
4018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4019 esac
4021 $ac_path_EGREP_found && break 3
4022 done
4023 done
4024 done
4025 IFS=$as_save_IFS
4026 if test -z "$ac_cv_path_EGREP"; then
4027 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4028 fi
4029 else
4030 ac_cv_path_EGREP=$EGREP
4031 fi
4033 fi
4034 fi
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4036 $as_echo "$ac_cv_path_EGREP" >&6; }
4037 EGREP="$ac_cv_path_EGREP"
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4041 $as_echo_n "checking for ANSI C header files... " >&6; }
4042 if ${ac_cv_header_stdc+:} false; then :
4043 $as_echo_n "(cached) " >&6
4044 else
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4047 #include <stdlib.h>
4048 #include <stdarg.h>
4049 #include <string.h>
4050 #include <float.h>
4052 int
4053 main ()
4054 {
4056 ;
4057 return 0;
4058 }
4059 _ACEOF
4060 if ac_fn_c_try_compile "$LINENO"; then :
4061 ac_cv_header_stdc=yes
4062 else
4063 ac_cv_header_stdc=no
4064 fi
4065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4067 if test $ac_cv_header_stdc = yes; then
4068 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4071 #include <string.h>
4073 _ACEOF
4074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4075 $EGREP "memchr" >/dev/null 2>&1; then :
4077 else
4078 ac_cv_header_stdc=no
4079 fi
4080 rm -f conftest*
4082 fi
4084 if test $ac_cv_header_stdc = yes; then
4085 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h. */
4088 #include <stdlib.h>
4090 _ACEOF
4091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4092 $EGREP "free" >/dev/null 2>&1; then :
4094 else
4095 ac_cv_header_stdc=no
4096 fi
4097 rm -f conftest*
4099 fi
4101 if test $ac_cv_header_stdc = yes; then
4102 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4103 if test "$cross_compiling" = yes; then :
4104 :
4105 else
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4108 #include <ctype.h>
4109 #include <stdlib.h>
4110 #if ((' ' & 0x0FF) == 0x020)
4111 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4112 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4113 #else
4114 # define ISLOWER(c) \
4115 (('a' <= (c) && (c) <= 'i') \
4116 || ('j' <= (c) && (c) <= 'r') \
4117 || ('s' <= (c) && (c) <= 'z'))
4118 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4119 #endif
4121 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4122 int
4123 main ()
4124 {
4125 int i;
4126 for (i = 0; i < 256; i++)
4127 if (XOR (islower (i), ISLOWER (i))
4128 || toupper (i) != TOUPPER (i))
4129 return 2;
4130 return 0;
4131 }
4132 _ACEOF
4133 if ac_fn_c_try_run "$LINENO"; then :
4135 else
4136 ac_cv_header_stdc=no
4137 fi
4138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4139 conftest.$ac_objext conftest.beam conftest.$ac_ext
4140 fi
4142 fi
4143 fi
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4145 $as_echo "$ac_cv_header_stdc" >&6; }
4146 if test $ac_cv_header_stdc = yes; then
4148 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4150 fi
4152 if test -n "$ac_tool_prefix"; then
4153 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4154 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156 $as_echo_n "checking for $ac_word... " >&6; }
4157 if ${ac_cv_prog_RANLIB+:} false; then :
4158 $as_echo_n "(cached) " >&6
4159 else
4160 if test -n "$RANLIB"; then
4161 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4162 else
4163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164 for as_dir in $PATH
4165 do
4166 IFS=$as_save_IFS
4167 test -z "$as_dir" && as_dir=.
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4170 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 break 2
4173 fi
4174 done
4175 done
4176 IFS=$as_save_IFS
4178 fi
4179 fi
4180 RANLIB=$ac_cv_prog_RANLIB
4181 if test -n "$RANLIB"; then
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4183 $as_echo "$RANLIB" >&6; }
4184 else
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186 $as_echo "no" >&6; }
4187 fi
4190 fi
4191 if test -z "$ac_cv_prog_RANLIB"; then
4192 ac_ct_RANLIB=$RANLIB
4193 # Extract the first word of "ranlib", so it can be a program name with args.
4194 set dummy ranlib; ac_word=$2
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196 $as_echo_n "checking for $ac_word... " >&6; }
4197 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4198 $as_echo_n "(cached) " >&6
4199 else
4200 if test -n "$ac_ct_RANLIB"; then
4201 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4202 else
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204 for as_dir in $PATH
4205 do
4206 IFS=$as_save_IFS
4207 test -z "$as_dir" && as_dir=.
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4210 ac_cv_prog_ac_ct_RANLIB="ranlib"
4211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 break 2
4213 fi
4214 done
4215 done
4216 IFS=$as_save_IFS
4218 fi
4219 fi
4220 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4221 if test -n "$ac_ct_RANLIB"; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4223 $as_echo "$ac_ct_RANLIB" >&6; }
4224 else
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4227 fi
4229 if test "x$ac_ct_RANLIB" = x; then
4230 RANLIB=":"
4231 else
4232 case $cross_compiling:$ac_tool_warned in
4233 yes:)
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4236 ac_tool_warned=yes ;;
4237 esac
4238 RANLIB=$ac_ct_RANLIB
4239 fi
4240 else
4241 RANLIB="$ac_cv_prog_RANLIB"
4242 fi
4251 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4252 if test -n "$ac_tool_prefix"; then
4253 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4254 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256 $as_echo_n "checking for $ac_word... " >&6; }
4257 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 case $PKG_CONFIG in
4261 [\\/]* | ?:[\\/]*)
4262 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4263 ;;
4264 *)
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266 for as_dir in $PATH
4267 do
4268 IFS=$as_save_IFS
4269 test -z "$as_dir" && as_dir=.
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274 break 2
4275 fi
4276 done
4277 done
4278 IFS=$as_save_IFS
4280 ;;
4281 esac
4282 fi
4283 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4284 if test -n "$PKG_CONFIG"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4286 $as_echo "$PKG_CONFIG" >&6; }
4287 else
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4290 fi
4293 fi
4294 if test -z "$ac_cv_path_PKG_CONFIG"; then
4295 ac_pt_PKG_CONFIG=$PKG_CONFIG
4296 # Extract the first word of "pkg-config", so it can be a program name with args.
4297 set dummy pkg-config; ac_word=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4301 $as_echo_n "(cached) " >&6
4302 else
4303 case $ac_pt_PKG_CONFIG in
4304 [\\/]* | ?:[\\/]*)
4305 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4306 ;;
4307 *)
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 for as_dir in $PATH
4310 do
4311 IFS=$as_save_IFS
4312 test -z "$as_dir" && as_dir=.
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4317 break 2
4318 fi
4319 done
4320 done
4321 IFS=$as_save_IFS
4323 ;;
4324 esac
4325 fi
4326 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4327 if test -n "$ac_pt_PKG_CONFIG"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4329 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4330 else
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4333 fi
4335 if test "x$ac_pt_PKG_CONFIG" = x; then
4336 PKG_CONFIG=""
4337 else
4338 case $cross_compiling:$ac_tool_warned in
4339 yes:)
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4342 ac_tool_warned=yes ;;
4343 esac
4344 PKG_CONFIG=$ac_pt_PKG_CONFIG
4345 fi
4346 else
4347 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4348 fi
4350 fi
4351 if test -n "$PKG_CONFIG"; then
4352 _pkg_min_version=0.9.0
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4354 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4355 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4357 $as_echo "yes" >&6; }
4358 else
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4361 PKG_CONFIG=""
4362 fi
4363 fi
4365 pkg_failed=no
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4367 $as_echo_n "checking for GLIB... " >&6; }
4369 if test -n "$GLIB_CFLAGS"; then
4370 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4371 elif test -n "$PKG_CONFIG"; then
4372 if test -n "$PKG_CONFIG" && \
4373 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
4374 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4375 ac_status=$?
4376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4377 test $ac_status = 0; }; then
4378 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
4379 else
4380 pkg_failed=yes
4381 fi
4382 else
4383 pkg_failed=untried
4384 fi
4385 if test -n "$GLIB_LIBS"; then
4386 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4387 elif test -n "$PKG_CONFIG"; then
4388 if test -n "$PKG_CONFIG" && \
4389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
4390 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4391 ac_status=$?
4392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4393 test $ac_status = 0; }; then
4394 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
4395 else
4396 pkg_failed=yes
4397 fi
4398 else
4399 pkg_failed=untried
4400 fi
4404 if test $pkg_failed = yes; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4408 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4409 _pkg_short_errors_supported=yes
4410 else
4411 _pkg_short_errors_supported=no
4412 fi
4413 if test $_pkg_short_errors_supported = yes; then
4414 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
4415 else
4416 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
4417 fi
4418 # Put the nasty error message in config.log where it belongs
4419 echo "$GLIB_PKG_ERRORS" >&5
4421 as_fn_error $? "Package requirements (glib-2.0) were not met:
4423 $GLIB_PKG_ERRORS
4425 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4426 installed software in a non-standard prefix.
4428 Alternatively, you may set the environment variables GLIB_CFLAGS
4429 and GLIB_LIBS to avoid the need to call pkg-config.
4430 See the pkg-config man page for more details." "$LINENO" 5
4431 elif test $pkg_failed = untried; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4436 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4437 is in your PATH or set the PKG_CONFIG environment variable to the full
4438 path to pkg-config.
4440 Alternatively, you may set the environment variables GLIB_CFLAGS
4441 and GLIB_LIBS to avoid the need to call pkg-config.
4442 See the pkg-config man page for more details.
4444 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4445 See \`config.log' for more details" "$LINENO" 5; }
4446 else
4447 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4448 GLIB_LIBS=$pkg_cv_GLIB_LIBS
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4450 $as_echo "yes" >&6; }
4452 fi
4457 # Check whether --enable-resolver was given.
4458 if test "${enable_resolver+set}" = set; then :
4459 enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then
4460 resolver_enabled='yes'
4461 fi
4462 else
4463 resolver_enabled='yes'
4465 fi
4468 if test "$resolver_enabled" = yes; then
4470 $as_echo "#define ENABLE_RESOLVER 1" >>confdefs.h
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lc" >&5
4473 $as_echo_n "checking for res_search in -lc... " >&6; }
4474 if ${ac_cv_lib_c_res_search+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 ac_check_lib_save_LIBS=$LIBS
4478 LIBS="-lc $LIBS"
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4482 /* Override any GCC internal prototype to avoid an error.
4483 Use char because int might match the return type of a GCC
4484 builtin and then its argument prototype would still apply. */
4485 #ifdef __cplusplus
4486 extern "C"
4487 #endif
4488 char res_search ();
4489 int
4490 main ()
4491 {
4492 return res_search ();
4493 ;
4494 return 0;
4495 }
4496 _ACEOF
4497 if ac_fn_c_try_link "$LINENO"; then :
4498 ac_cv_lib_c_res_search=yes
4499 else
4500 ac_cv_lib_c_res_search=no
4501 fi
4502 rm -f core conftest.err conftest.$ac_objext \
4503 conftest$ac_exeext conftest.$ac_ext
4504 LIBS=$ac_check_lib_save_LIBS
4505 fi
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_res_search" >&5
4507 $as_echo "$ac_cv_lib_c_res_search" >&6; }
4508 if test "x$ac_cv_lib_c_res_search" = xyes; then :
4509 need_resolv=no
4510 else
4511 need_resolv=yes
4512 fi
4514 if test "$need_resolv" = yes; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
4516 $as_echo_n "checking for res_search in -lresolv... " >&6; }
4517 if ${ac_cv_lib_resolv_res_search+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 ac_check_lib_save_LIBS=$LIBS
4521 LIBS="-lresolv $LIBS"
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4525 /* Override any GCC internal prototype to avoid an error.
4526 Use char because int might match the return type of a GCC
4527 builtin and then its argument prototype would still apply. */
4528 #ifdef __cplusplus
4529 extern "C"
4530 #endif
4531 char res_search ();
4532 int
4533 main ()
4534 {
4535 return res_search ();
4536 ;
4537 return 0;
4538 }
4539 _ACEOF
4540 if ac_fn_c_try_link "$LINENO"; then :
4541 ac_cv_lib_resolv_res_search=yes
4542 else
4543 ac_cv_lib_resolv_res_search=no
4544 fi
4545 rm -f core conftest.err conftest.$ac_objext \
4546 conftest$ac_exeext conftest.$ac_ext
4547 LIBS=$ac_check_lib_save_LIBS
4548 fi
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5
4550 $as_echo "$ac_cv_lib_resolv_res_search" >&6; }
4551 if test "x$ac_cv_lib_resolv_res_search" = xyes; then :
4552 has_resolv=yes; RESOLV_LIBS="-lresolv"
4553 else
4554 has_resolv=no
4555 fi
4557 if test "$has_resolv" = no; then
4558 saved_LIBS="$LIBS"
4559 LIBS="$LIBS -lresolv"
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
4561 $as_echo_n "checking for res_search in -lresolv... " >&6; }
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4564 #include <resolv.h>
4565 int
4566 main ()
4567 {
4568 res_search (0, 0, 0, 0, 0);
4569 ;
4570 return 0;
4571 }
4572 _ACEOF
4573 if ac_fn_c_try_link "$LINENO"; then :
4574 RESOLV_LIBS="-lresolv"; has_resolv=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4575 $as_echo "yes" >&6; }
4576 else
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4579 fi
4580 rm -f core conftest.err conftest.$ac_objext \
4581 conftest$ac_exeext conftest.$ac_ext;
4582 LIBS="$saved_LIBS"
4583 fi
4584 if test "$has_resolv" = no; then
4585 as_fn_error $? "\"no libresolv\"" "$LINENO" 5
4586 RESOLV_LIBS=''
4587 fi
4588 fi
4589 else
4590 RESOLV_LIBS=''
4591 fi
4594 for ac_func in getline
4595 do :
4596 ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
4597 if test "x$ac_cv_func_getline" = xyes; then :
4598 cat >>confdefs.h <<_ACEOF
4599 #define HAVE_GETLINE 1
4600 _ACEOF
4602 fi
4603 done
4606 for ac_func in fdatasync
4607 do :
4608 ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync"
4609 if test "x$ac_cv_func_fdatasync" = xyes; then :
4610 cat >>confdefs.h <<_ACEOF
4611 #define HAVE_FDATASYNC 1
4612 _ACEOF
4614 fi
4615 done
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4619 $as_echo_n "checking for ANSI C header files... " >&6; }
4620 if ${ac_cv_header_stdc+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625 #include <stdlib.h>
4626 #include <stdarg.h>
4627 #include <string.h>
4628 #include <float.h>
4630 int
4631 main ()
4632 {
4634 ;
4635 return 0;
4636 }
4637 _ACEOF
4638 if ac_fn_c_try_compile "$LINENO"; then :
4639 ac_cv_header_stdc=yes
4640 else
4641 ac_cv_header_stdc=no
4642 fi
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 if test $ac_cv_header_stdc = yes; then
4646 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4649 #include <string.h>
4651 _ACEOF
4652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4653 $EGREP "memchr" >/dev/null 2>&1; then :
4655 else
4656 ac_cv_header_stdc=no
4657 fi
4658 rm -f conftest*
4660 fi
4662 if test $ac_cv_header_stdc = yes; then
4663 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4666 #include <stdlib.h>
4668 _ACEOF
4669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4670 $EGREP "free" >/dev/null 2>&1; then :
4672 else
4673 ac_cv_header_stdc=no
4674 fi
4675 rm -f conftest*
4677 fi
4679 if test $ac_cv_header_stdc = yes; then
4680 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4681 if test "$cross_compiling" = yes; then :
4682 :
4683 else
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4686 #include <ctype.h>
4687 #include <stdlib.h>
4688 #if ((' ' & 0x0FF) == 0x020)
4689 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4690 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4691 #else
4692 # define ISLOWER(c) \
4693 (('a' <= (c) && (c) <= 'i') \
4694 || ('j' <= (c) && (c) <= 'r') \
4695 || ('s' <= (c) && (c) <= 'z'))
4696 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4697 #endif
4699 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4700 int
4701 main ()
4702 {
4703 int i;
4704 for (i = 0; i < 256; i++)
4705 if (XOR (islower (i), ISLOWER (i))
4706 || toupper (i) != TOUPPER (i))
4707 return 2;
4708 return 0;
4709 }
4710 _ACEOF
4711 if ac_fn_c_try_run "$LINENO"; then :
4713 else
4714 ac_cv_header_stdc=no
4715 fi
4716 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4717 conftest.$ac_objext conftest.beam conftest.$ac_ext
4718 fi
4720 fi
4721 fi
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4723 $as_echo "$ac_cv_header_stdc" >&6; }
4724 if test $ac_cv_header_stdc = yes; then
4726 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4728 fi
4730 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4731 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4732 inttypes.h stdint.h unistd.h
4733 do :
4734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4735 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4736 "
4737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4738 cat >>confdefs.h <<_ACEOF
4739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4740 _ACEOF
4742 fi
4744 done
4747 for ac_header in fcntl.h sys/time.h syslog.h unistd.h
4748 do :
4749 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4750 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4751 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4752 cat >>confdefs.h <<_ACEOF
4753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4754 _ACEOF
4756 fi
4758 done
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4762 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4763 if ${ac_cv_c_const+:} false; then :
4764 $as_echo_n "(cached) " >&6
4765 else
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4769 int
4770 main ()
4771 {
4772 /* FIXME: Include the comments suggested by Paul. */
4773 #ifndef __cplusplus
4774 /* Ultrix mips cc rejects this. */
4775 typedef int charset[2];
4776 const charset cs;
4777 /* SunOS 4.1.1 cc rejects this. */
4778 char const *const *pcpcc;
4779 char **ppc;
4780 /* NEC SVR4.0.2 mips cc rejects this. */
4781 struct point {int x, y;};
4782 static struct point const zero = {0,0};
4783 /* AIX XL C 1.02.0.0 rejects this.
4784 It does not let you subtract one const X* pointer from another in
4785 an arm of an if-expression whose if-part is not a constant
4786 expression */
4787 const char *g = "string";
4788 pcpcc = &g + (g ? g-g : 0);
4789 /* HPUX 7.0 cc rejects these. */
4790 ++pcpcc;
4791 ppc = (char**) pcpcc;
4792 pcpcc = (char const *const *) ppc;
4793 { /* SCO 3.2v4 cc rejects this. */
4794 char *t;
4795 char const *s = 0 ? (char *) 0 : (char const *) 0;
4797 *t++ = 0;
4798 if (s) return 0;
4799 }
4800 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4801 int x[] = {25, 17};
4802 const int *foo = &x[0];
4803 ++foo;
4804 }
4805 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4806 typedef const int *iptr;
4807 iptr p = 0;
4808 ++p;
4809 }
4810 { /* AIX XL C 1.02.0.0 rejects this saying
4811 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4812 struct s { int j; const int *ap[3]; };
4813 struct s *b; b->j = 5;
4814 }
4815 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4816 const int foo = 10;
4817 if (!foo) return 0;
4818 }
4819 return !cs[0] && !zero.x;
4820 #endif
4822 ;
4823 return 0;
4824 }
4825 _ACEOF
4826 if ac_fn_c_try_compile "$LINENO"; then :
4827 ac_cv_c_const=yes
4828 else
4829 ac_cv_c_const=no
4830 fi
4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832 fi
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4834 $as_echo "$ac_cv_c_const" >&6; }
4835 if test $ac_cv_c_const = no; then
4837 $as_echo "#define const /**/" >>confdefs.h
4839 fi
4841 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4842 if test "x$ac_cv_type_pid_t" = xyes; then :
4844 else
4846 cat >>confdefs.h <<_ACEOF
4847 #define pid_t int
4848 _ACEOF
4850 fi
4852 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4853 if test "x$ac_cv_type_size_t" = xyes; then :
4855 else
4857 cat >>confdefs.h <<_ACEOF
4858 #define size_t unsigned int
4859 _ACEOF
4861 fi
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4864 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4865 if ${ac_cv_header_time+:} false; then :
4866 $as_echo_n "(cached) " >&6
4867 else
4868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4870 #include <sys/types.h>
4871 #include <sys/time.h>
4872 #include <time.h>
4874 int
4875 main ()
4876 {
4877 if ((struct tm *) 0)
4878 return 0;
4879 ;
4880 return 0;
4881 }
4882 _ACEOF
4883 if ac_fn_c_try_compile "$LINENO"; then :
4884 ac_cv_header_time=yes
4885 else
4886 ac_cv_header_time=no
4887 fi
4888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4889 fi
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4891 $as_echo "$ac_cv_header_time" >&6; }
4892 if test $ac_cv_header_time = yes; then
4894 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4896 fi
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4899 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4900 if ${ac_cv_struct_tm+:} false; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4905 #include <sys/types.h>
4906 #include <time.h>
4908 int
4909 main ()
4910 {
4911 struct tm tm;
4912 int *p = &tm.tm_sec;
4913 return !p;
4914 ;
4915 return 0;
4916 }
4917 _ACEOF
4918 if ac_fn_c_try_compile "$LINENO"; then :
4919 ac_cv_struct_tm=time.h
4920 else
4921 ac_cv_struct_tm=sys/time.h
4922 fi
4923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4924 fi
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4926 $as_echo "$ac_cv_struct_tm" >&6; }
4927 if test $ac_cv_struct_tm = sys/time.h; then
4929 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4931 fi
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
4935 $as_echo_n "checking for working POSIX fnmatch... " >&6; }
4936 if ${ac_cv_func_fnmatch_works+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 # Some versions of Solaris, SCO, and the GNU C Library
4940 # have a broken or incompatible fnmatch.
4941 # So we run a test program. If we are cross-compiling, take no chance.
4942 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
4943 if test "$cross_compiling" = yes; then :
4944 ac_cv_func_fnmatch_works=cross
4945 else
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4948 #include <fnmatch.h>
4949 # define y(a, b, c) (fnmatch (a, b, c) == 0)
4950 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
4952 int
4953 main ()
4954 {
4955 return
4956 (!(y ("a*", "abc", 0)
4957 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
4958 && y ("a\\\\bc", "abc", 0)
4959 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
4960 && y ("*x", ".x", 0)
4961 && n ("*x", ".x", FNM_PERIOD)
4962 && 1));
4963 ;
4964 return 0;
4965 }
4966 _ACEOF
4967 if ac_fn_c_try_run "$LINENO"; then :
4968 ac_cv_func_fnmatch_works=yes
4969 else
4970 ac_cv_func_fnmatch_works=no
4971 fi
4972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4973 conftest.$ac_objext conftest.beam conftest.$ac_ext
4974 fi
4976 fi
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
4978 $as_echo "$ac_cv_func_fnmatch_works" >&6; }
4979 if test $ac_cv_func_fnmatch_works = yes; then :
4981 $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
4983 fi
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4987 $as_echo_n "checking return type of signal handlers... " >&6; }
4988 if ${ac_cv_type_signal+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993 #include <sys/types.h>
4994 #include <signal.h>
4996 int
4997 main ()
4998 {
4999 return *(signal (0, 0)) (0) == 1;
5000 ;
5001 return 0;
5002 }
5003 _ACEOF
5004 if ac_fn_c_try_compile "$LINENO"; then :
5005 ac_cv_type_signal=int
5006 else
5007 ac_cv_type_signal=void
5008 fi
5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 fi
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5012 $as_echo "$ac_cv_type_signal" >&6; }
5014 cat >>confdefs.h <<_ACEOF
5015 #define RETSIGTYPE $ac_cv_type_signal
5016 _ACEOF
5019 for ac_func in strftime
5020 do :
5021 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
5022 if test "x$ac_cv_func_strftime" = xyes; then :
5023 cat >>confdefs.h <<_ACEOF
5024 #define HAVE_STRFTIME 1
5025 _ACEOF
5027 else
5028 # strftime is in -lintl on SCO UNIX.
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
5030 $as_echo_n "checking for strftime in -lintl... " >&6; }
5031 if ${ac_cv_lib_intl_strftime+:} false; then :
5032 $as_echo_n "(cached) " >&6
5033 else
5034 ac_check_lib_save_LIBS=$LIBS
5035 LIBS="-lintl $LIBS"
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5039 /* Override any GCC internal prototype to avoid an error.
5040 Use char because int might match the return type of a GCC
5041 builtin and then its argument prototype would still apply. */
5042 #ifdef __cplusplus
5043 extern "C"
5044 #endif
5045 char strftime ();
5046 int
5047 main ()
5048 {
5049 return strftime ();
5050 ;
5051 return 0;
5052 }
5053 _ACEOF
5054 if ac_fn_c_try_link "$LINENO"; then :
5055 ac_cv_lib_intl_strftime=yes
5056 else
5057 ac_cv_lib_intl_strftime=no
5058 fi
5059 rm -f core conftest.err conftest.$ac_objext \
5060 conftest$ac_exeext conftest.$ac_ext
5061 LIBS=$ac_check_lib_save_LIBS
5062 fi
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
5064 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
5065 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
5066 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
5068 LIBS="-lintl $LIBS"
5069 fi
5071 fi
5072 done
5074 for ac_func in vprintf
5075 do :
5076 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
5077 if test "x$ac_cv_func_vprintf" = xyes; then :
5078 cat >>confdefs.h <<_ACEOF
5079 #define HAVE_VPRINTF 1
5080 _ACEOF
5082 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
5083 if test "x$ac_cv_func__doprnt" = xyes; then :
5085 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
5087 fi
5089 fi
5090 done
5093 for ac_func in select socket strerror strstr
5094 do :
5095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5097 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5098 cat >>confdefs.h <<_ACEOF
5099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5100 _ACEOF
5102 fi
5103 done
5107 # Check whether --with-user was given.
5108 if test "${with_user+set}" = set; then :
5109 withval=$with_user;
5110 fi
5112 if test "x$with_user" = 'x'; then
5113 with_user='mail'
5114 fi
5117 # Check whether --with-group was given.
5118 if test "${with_group+set}" = set; then :
5119 withval=$with_group;
5120 fi
5122 if test "x$with_group" = 'x'; then
5123 with_group='mail'
5124 fi
5126 # Check whether --enable-debug was given.
5127 if test "${enable_debug+set}" = set; then :
5128 enableval=$enable_debug; if test "x$enable_debug" != 'xno'; then
5129 debug_enabled='yes'
5130 fi
5131 else
5132 debug_enabled='yes'
5134 fi
5136 if test "x$debug_enabled" = xyes; then
5138 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
5140 fi
5143 cat >>confdefs.h <<_ACEOF
5144 #define DEF_MAIL_USER "${with_user}"
5145 _ACEOF
5149 cat >>confdefs.h <<_ACEOF
5150 #define DEF_MAIL_GROUP "${with_group}"
5151 _ACEOF
5155 MD5_LIBS=''
5156 BASE64_LIBS=''
5158 # Check whether --enable-auth was given.
5159 if test "${enable_auth+set}" = set; then :
5160 enableval=$enable_auth; if test "x$enable_auth" != 'xno'; then
5161 auth_enabled='yes'
5162 fi
5163 else
5164 auth_enabled='yes'
5166 fi
5168 if test "x$auth_enabled" = xyes; then
5170 $as_echo "#define ENABLE_AUTH 1" >>confdefs.h
5172 BASE64_LIBS='base64/libbase64.a'
5173 need_md5='yes'
5174 fi
5177 if test "x$need_md5" = 'xyes'; then
5178 MD5_LIBS='md5/libmd5.a'
5179 fi
5182 IDENT_LIBS=''
5183 # Check whether --enable-ident was given.
5184 if test "${enable_ident+set}" = set; then :
5185 enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then
5186 ident_enabled='yes'
5187 fi
5188 fi
5191 if test "x$ident_enabled" = xyes; then
5193 $as_echo "#define ENABLE_IDENT 1" >>confdefs.h
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ident_id in -lident" >&5
5196 $as_echo_n "checking for ident_id in -lident... " >&6; }
5197 if ${ac_cv_lib_ident_ident_id+:} false; then :
5198 $as_echo_n "(cached) " >&6
5199 else
5200 ac_check_lib_save_LIBS=$LIBS
5201 LIBS="-lident $LIBS"
5202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5205 /* Override any GCC internal prototype to avoid an error.
5206 Use char because int might match the return type of a GCC
5207 builtin and then its argument prototype would still apply. */
5208 #ifdef __cplusplus
5209 extern "C"
5210 #endif
5211 char ident_id ();
5212 int
5213 main ()
5214 {
5215 return ident_id ();
5216 ;
5217 return 0;
5218 }
5219 _ACEOF
5220 if ac_fn_c_try_link "$LINENO"; then :
5221 ac_cv_lib_ident_ident_id=yes
5222 else
5223 ac_cv_lib_ident_ident_id=no
5224 fi
5225 rm -f core conftest.err conftest.$ac_objext \
5226 conftest$ac_exeext conftest.$ac_ext
5227 LIBS=$ac_check_lib_save_LIBS
5228 fi
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ident_ident_id" >&5
5230 $as_echo "$ac_cv_lib_ident_ident_id" >&6; }
5231 if test "x$ac_cv_lib_ident_ident_id" = xyes; then :
5232 IDENT_LIBS='-lident'
5233 else
5234 IDENT_LIBS='libident/libident.a'
5235 fi
5237 fi
5241 # Check whether --with-liblockfile was given.
5242 if test "${with_liblockfile+set}" = set; then :
5243 withval=$with_liblockfile;
5244 fi
5246 if test "x$with_liblockfile" = 'xno'; then
5247 with_liblockfile=''
5248 fi
5249 if test "x$with_liblockfile" != 'x'; then
5250 with_liblockfile='yes'
5251 fi
5252 if test "x$with_liblockfile" = xyes; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
5254 $as_echo_n "checking for maillock in -llockfile... " >&6; }
5255 if ${ac_cv_lib_lockfile_maillock+:} false; then :
5256 $as_echo_n "(cached) " >&6
5257 else
5258 ac_check_lib_save_LIBS=$LIBS
5259 LIBS="-llockfile $LIBS"
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5263 /* Override any GCC internal prototype to avoid an error.
5264 Use char because int might match the return type of a GCC
5265 builtin and then its argument prototype would still apply. */
5266 #ifdef __cplusplus
5267 extern "C"
5268 #endif
5269 char maillock ();
5270 int
5271 main ()
5272 {
5273 return maillock ();
5274 ;
5275 return 0;
5276 }
5277 _ACEOF
5278 if ac_fn_c_try_link "$LINENO"; then :
5279 ac_cv_lib_lockfile_maillock=yes
5280 else
5281 ac_cv_lib_lockfile_maillock=no
5282 fi
5283 rm -f core conftest.err conftest.$ac_objext \
5284 conftest$ac_exeext conftest.$ac_ext
5285 LIBS=$ac_check_lib_save_LIBS
5286 fi
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
5288 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
5289 if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
5290 has_lockfile=yes
5291 else
5292 as_fn_error $? "\"no liblockfile\"" "$LINENO" 5
5293 fi
5295 LOCKFILE_LIBS='-llockfile'
5297 $as_echo "#define USE_LIBLOCKFILE 1" >>confdefs.h
5299 else
5300 LOCKFILE_LIBS=''
5301 fi
5306 # Check whether --with-logdir was given.
5307 if test "${with_logdir+set}" = set; then :
5308 withval=$with_logdir;
5309 else
5310 with_logdir='/var/log/masqmail/'
5312 fi
5315 cat >>confdefs.h <<_ACEOF
5316 #define LOG_DIR "${with_logdir}"
5317 _ACEOF
5322 # Check whether --with-spooldir was given.
5323 if test "${with_spooldir+set}" = set; then :
5324 withval=$with_spooldir;
5325 else
5326 with_spooldir='/var/spool/masqmail/'
5328 fi
5331 cat >>confdefs.h <<_ACEOF
5332 #define SPOOL_DIR "${with_spooldir}"
5333 _ACEOF
5338 # Check whether --with-confdir was given.
5339 if test "${with_confdir+set}" = set; then :
5340 withval=$with_confdir;
5341 else
5342 with_confdir='/etc/masqmail'
5344 fi
5347 cat >>confdefs.h <<_ACEOF
5348 #define CONF_DIR "${with_confdir}"
5349 _ACEOF
5353 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
5356 cat >>confdefs.h <<_ACEOF
5357 #define DATA_DIR "`eval eval echo $datadir`/masqmail"
5358 _ACEOF
5361 if test "x${exec_prefix}" != 'xNONE'; then
5363 cat >>confdefs.h <<_ACEOF
5364 #define SBINDIR "${exec_prefix}/sbin"
5365 _ACEOF
5367 else
5368 if test "x${prefix}" != 'xNONE'; then
5369 cat >>confdefs.h <<_ACEOF
5370 #define SBINDIR "${prefix}/sbin"
5371 _ACEOF
5373 else
5374 cat >>confdefs.h <<_ACEOF
5375 #define SBINDIR "/usr/sbin"
5376 _ACEOF
5378 fi
5379 fi
5381 ac_config_files="$ac_config_files Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile man/Makefile"
5383 cat >confcache <<\_ACEOF
5384 # This file is a shell script that caches the results of configure
5385 # tests run on this system so they can be shared between configure
5386 # scripts and configure runs, see configure's option --config-cache.
5387 # It is not useful on other systems. If it contains results you don't
5388 # want to keep, you may remove or edit it.
5389 #
5390 # config.status only pays attention to the cache file if you give it
5391 # the --recheck option to rerun configure.
5392 #
5393 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5394 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5395 # following values.
5397 _ACEOF
5399 # The following way of writing the cache mishandles newlines in values,
5400 # but we know of no workaround that is simple, portable, and efficient.
5401 # So, we kill variables containing newlines.
5402 # Ultrix sh set writes to stderr and can't be redirected directly,
5403 # and sets the high bit in the cache file unless we assign to the vars.
5404 (
5405 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5406 eval ac_val=\$$ac_var
5407 case $ac_val in #(
5408 *${as_nl}*)
5409 case $ac_var in #(
5410 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5411 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5412 esac
5413 case $ac_var in #(
5414 _ | IFS | as_nl) ;; #(
5415 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5416 *) { eval $ac_var=; unset $ac_var;} ;;
5417 esac ;;
5418 esac
5419 done
5421 (set) 2>&1 |
5422 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5423 *${as_nl}ac_space=\ *)
5424 # `set' does not quote correctly, so add quotes: double-quote
5425 # substitution turns \\\\ into \\, and sed turns \\ into \.
5426 sed -n \
5427 "s/'/'\\\\''/g;
5428 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5429 ;; #(
5430 *)
5431 # `set' quotes correctly as required by POSIX, so do not add quotes.
5432 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5433 ;;
5434 esac |
5435 sort
5436 ) |
5437 sed '
5438 /^ac_cv_env_/b end
5439 t clear
5440 :clear
5441 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5442 t end
5443 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5444 :end' >>confcache
5445 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5446 if test -w "$cache_file"; then
5447 if test "x$cache_file" != "x/dev/null"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5449 $as_echo "$as_me: updating cache $cache_file" >&6;}
5450 if test ! -f "$cache_file" || test -h "$cache_file"; then
5451 cat confcache >"$cache_file"
5452 else
5453 case $cache_file in #(
5454 */* | ?:*)
5455 mv -f confcache "$cache_file"$$ &&
5456 mv -f "$cache_file"$$ "$cache_file" ;; #(
5457 *)
5458 mv -f confcache "$cache_file" ;;
5459 esac
5460 fi
5461 fi
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5464 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5465 fi
5466 fi
5467 rm -f confcache
5469 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5470 # Let make expand exec_prefix.
5471 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5473 DEFS=-DHAVE_CONFIG_H
5475 ac_libobjs=
5476 ac_ltlibobjs=
5477 U=
5478 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5479 # 1. Remove the extension, and $U if already installed.
5480 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5481 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5482 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5483 # will be set to the directory where LIBOBJS objects are built.
5484 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5485 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5486 done
5487 LIBOBJS=$ac_libobjs
5489 LTLIBOBJS=$ac_ltlibobjs
5492 if test -n "$EXEEXT"; then
5493 am__EXEEXT_TRUE=
5494 am__EXEEXT_FALSE='#'
5495 else
5496 am__EXEEXT_TRUE='#'
5497 am__EXEEXT_FALSE=
5498 fi
5500 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5501 as_fn_error $? "conditional \"AMDEP\" was never defined.
5502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5503 fi
5504 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5505 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5507 fi
5509 : "${CONFIG_STATUS=./config.status}"
5510 ac_write_fail=0
5511 ac_clean_files_save=$ac_clean_files
5512 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5514 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5515 as_write_fail=0
5516 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5517 #! $SHELL
5518 # Generated by $as_me.
5519 # Run this file to recreate the current configuration.
5520 # Compiler output produced by configure, useful for debugging
5521 # configure, is in config.log if it exists.
5523 debug=false
5524 ac_cs_recheck=false
5525 ac_cs_silent=false
5527 SHELL=\${CONFIG_SHELL-$SHELL}
5528 export SHELL
5529 _ASEOF
5530 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5531 ## -------------------- ##
5532 ## M4sh Initialization. ##
5533 ## -------------------- ##
5535 # Be more Bourne compatible
5536 DUALCASE=1; export DUALCASE # for MKS sh
5537 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5538 emulate sh
5539 NULLCMD=:
5540 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5541 # is contrary to our usage. Disable this feature.
5542 alias -g '${1+"$@"}'='"$@"'
5543 setopt NO_GLOB_SUBST
5544 else
5545 case `(set -o) 2>/dev/null` in #(
5546 *posix*) :
5547 set -o posix ;; #(
5548 *) :
5549 ;;
5550 esac
5551 fi
5554 as_nl='
5555 '
5556 export as_nl
5557 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5558 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5561 # Prefer a ksh shell builtin over an external printf program on Solaris,
5562 # but without wasting forks for bash or zsh.
5563 if test -z "$BASH_VERSION$ZSH_VERSION" \
5564 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5565 as_echo='print -r --'
5566 as_echo_n='print -rn --'
5567 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5568 as_echo='printf %s\n'
5569 as_echo_n='printf %s'
5570 else
5571 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5572 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5573 as_echo_n='/usr/ucb/echo -n'
5574 else
5575 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5576 as_echo_n_body='eval
5577 arg=$1;
5578 case $arg in #(
5579 *"$as_nl"*)
5580 expr "X$arg" : "X\\(.*\\)$as_nl";
5581 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5582 esac;
5583 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5584 '
5585 export as_echo_n_body
5586 as_echo_n='sh -c $as_echo_n_body as_echo'
5587 fi
5588 export as_echo_body
5589 as_echo='sh -c $as_echo_body as_echo'
5590 fi
5592 # The user is always right.
5593 if test "${PATH_SEPARATOR+set}" != set; then
5594 PATH_SEPARATOR=:
5595 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5596 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5597 PATH_SEPARATOR=';'
5598 }
5599 fi
5602 # IFS
5603 # We need space, tab and new line, in precisely that order. Quoting is
5604 # there to prevent editors from complaining about space-tab.
5605 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5606 # splitting by setting IFS to empty value.)
5607 IFS=" "" $as_nl"
5609 # Find who we are. Look in the path if we contain no directory separator.
5610 as_myself=
5611 case $0 in #((
5612 *[\\/]* ) as_myself=$0 ;;
5613 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5615 do
5616 IFS=$as_save_IFS
5617 test -z "$as_dir" && as_dir=.
5618 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5619 done
5620 IFS=$as_save_IFS
5622 ;;
5623 esac
5624 # We did not find ourselves, most probably we were run as `sh COMMAND'
5625 # in which case we are not to be found in the path.
5626 if test "x$as_myself" = x; then
5627 as_myself=$0
5628 fi
5629 if test ! -f "$as_myself"; then
5630 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5631 exit 1
5632 fi
5634 # Unset variables that we do not need and which cause bugs (e.g. in
5635 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5636 # suppresses any "Segmentation fault" message there. '((' could
5637 # trigger a bug in pdksh 5.2.14.
5638 for as_var in BASH_ENV ENV MAIL MAILPATH
5639 do eval test x\${$as_var+set} = xset \
5640 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5641 done
5642 PS1='$ '
5643 PS2='> '
5644 PS4='+ '
5646 # NLS nuisances.
5647 LC_ALL=C
5648 export LC_ALL
5649 LANGUAGE=C
5650 export LANGUAGE
5652 # CDPATH.
5653 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5656 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5657 # ----------------------------------------
5658 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5659 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5660 # script with STATUS, using 1 if that was 0.
5661 as_fn_error ()
5662 {
5663 as_status=$1; test $as_status -eq 0 && as_status=1
5664 if test "$4"; then
5665 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5666 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5667 fi
5668 $as_echo "$as_me: error: $2" >&2
5669 as_fn_exit $as_status
5670 } # as_fn_error
5673 # as_fn_set_status STATUS
5674 # -----------------------
5675 # Set $? to STATUS, without forking.
5676 as_fn_set_status ()
5677 {
5678 return $1
5679 } # as_fn_set_status
5681 # as_fn_exit STATUS
5682 # -----------------
5683 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5684 as_fn_exit ()
5685 {
5686 set +e
5687 as_fn_set_status $1
5688 exit $1
5689 } # as_fn_exit
5691 # as_fn_unset VAR
5692 # ---------------
5693 # Portably unset VAR.
5694 as_fn_unset ()
5695 {
5696 { eval $1=; unset $1;}
5697 }
5698 as_unset=as_fn_unset
5699 # as_fn_append VAR VALUE
5700 # ----------------------
5701 # Append the text in VALUE to the end of the definition contained in VAR. Take
5702 # advantage of any shell optimizations that allow amortized linear growth over
5703 # repeated appends, instead of the typical quadratic growth present in naive
5704 # implementations.
5705 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5706 eval 'as_fn_append ()
5707 {
5708 eval $1+=\$2
5709 }'
5710 else
5711 as_fn_append ()
5712 {
5713 eval $1=\$$1\$2
5714 }
5715 fi # as_fn_append
5717 # as_fn_arith ARG...
5718 # ------------------
5719 # Perform arithmetic evaluation on the ARGs, and store the result in the
5720 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5721 # must be portable across $(()) and expr.
5722 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5723 eval 'as_fn_arith ()
5724 {
5725 as_val=$(( $* ))
5726 }'
5727 else
5728 as_fn_arith ()
5729 {
5730 as_val=`expr "$@" || test $? -eq 1`
5731 }
5732 fi # as_fn_arith
5735 if expr a : '\(a\)' >/dev/null 2>&1 &&
5736 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5737 as_expr=expr
5738 else
5739 as_expr=false
5740 fi
5742 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5743 as_basename=basename
5744 else
5745 as_basename=false
5746 fi
5748 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5749 as_dirname=dirname
5750 else
5751 as_dirname=false
5752 fi
5754 as_me=`$as_basename -- "$0" ||
5755 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5756 X"$0" : 'X\(//\)$' \| \
5757 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5758 $as_echo X/"$0" |
5759 sed '/^.*\/\([^/][^/]*\)\/*$/{
5760 s//\1/
5761 q
5762 }
5763 /^X\/\(\/\/\)$/{
5764 s//\1/
5765 q
5766 }
5767 /^X\/\(\/\).*/{
5768 s//\1/
5769 q
5770 }
5771 s/.*/./; q'`
5773 # Avoid depending upon Character Ranges.
5774 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5775 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5776 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5777 as_cr_digits='0123456789'
5778 as_cr_alnum=$as_cr_Letters$as_cr_digits
5780 ECHO_C= ECHO_N= ECHO_T=
5781 case `echo -n x` in #(((((
5782 -n*)
5783 case `echo 'xy\c'` in
5784 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5785 xy) ECHO_C='\c';;
5786 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5787 ECHO_T=' ';;
5788 esac;;
5789 *)
5790 ECHO_N='-n';;
5791 esac
5793 rm -f conf$$ conf$$.exe conf$$.file
5794 if test -d conf$$.dir; then
5795 rm -f conf$$.dir/conf$$.file
5796 else
5797 rm -f conf$$.dir
5798 mkdir conf$$.dir 2>/dev/null
5799 fi
5800 if (echo >conf$$.file) 2>/dev/null; then
5801 if ln -s conf$$.file conf$$ 2>/dev/null; then
5802 as_ln_s='ln -s'
5803 # ... but there are two gotchas:
5804 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5805 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5806 # In both cases, we have to default to `cp -p'.
5807 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5808 as_ln_s='cp -p'
5809 elif ln conf$$.file conf$$ 2>/dev/null; then
5810 as_ln_s=ln
5811 else
5812 as_ln_s='cp -p'
5813 fi
5814 else
5815 as_ln_s='cp -p'
5816 fi
5817 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5818 rmdir conf$$.dir 2>/dev/null
5821 # as_fn_mkdir_p
5822 # -------------
5823 # Create "$as_dir" as a directory, including parents if necessary.
5824 as_fn_mkdir_p ()
5825 {
5827 case $as_dir in #(
5828 -*) as_dir=./$as_dir;;
5829 esac
5830 test -d "$as_dir" || eval $as_mkdir_p || {
5831 as_dirs=
5832 while :; do
5833 case $as_dir in #(
5834 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5835 *) as_qdir=$as_dir;;
5836 esac
5837 as_dirs="'$as_qdir' $as_dirs"
5838 as_dir=`$as_dirname -- "$as_dir" ||
5839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5840 X"$as_dir" : 'X\(//\)[^/]' \| \
5841 X"$as_dir" : 'X\(//\)$' \| \
5842 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5843 $as_echo X"$as_dir" |
5844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5845 s//\1/
5846 q
5847 }
5848 /^X\(\/\/\)[^/].*/{
5849 s//\1/
5850 q
5851 }
5852 /^X\(\/\/\)$/{
5853 s//\1/
5854 q
5855 }
5856 /^X\(\/\).*/{
5857 s//\1/
5858 q
5859 }
5860 s/.*/./; q'`
5861 test -d "$as_dir" && break
5862 done
5863 test -z "$as_dirs" || eval "mkdir $as_dirs"
5864 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5867 } # as_fn_mkdir_p
5868 if mkdir -p . 2>/dev/null; then
5869 as_mkdir_p='mkdir -p "$as_dir"'
5870 else
5871 test -d ./-p && rmdir ./-p
5872 as_mkdir_p=false
5873 fi
5875 if test -x / >/dev/null 2>&1; then
5876 as_test_x='test -x'
5877 else
5878 if ls -dL / >/dev/null 2>&1; then
5879 as_ls_L_option=L
5880 else
5881 as_ls_L_option=
5882 fi
5883 as_test_x='
5884 eval sh -c '\''
5885 if test -d "$1"; then
5886 test -d "$1/.";
5887 else
5888 case $1 in #(
5889 -*)set "./$1";;
5890 esac;
5891 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5892 ???[sx]*):;;*)false;;esac;fi
5893 '\'' sh
5894 '
5895 fi
5896 as_executable_p=$as_test_x
5898 # Sed expression to map a string onto a valid CPP name.
5899 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5901 # Sed expression to map a string onto a valid variable name.
5902 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5905 exec 6>&1
5906 ## ----------------------------------- ##
5907 ## Main body of $CONFIG_STATUS script. ##
5908 ## ----------------------------------- ##
5909 _ASEOF
5910 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5913 # Save the log message, to keep $0 and so on meaningful, and to
5914 # report actual input values of CONFIG_FILES etc. instead of their
5915 # values after options handling.
5916 ac_log="
5917 This file was extended by masqmail $as_me 0.3.4-dev, which was
5918 generated by GNU Autoconf 2.68. Invocation command line was
5920 CONFIG_FILES = $CONFIG_FILES
5921 CONFIG_HEADERS = $CONFIG_HEADERS
5922 CONFIG_LINKS = $CONFIG_LINKS
5923 CONFIG_COMMANDS = $CONFIG_COMMANDS
5924 $ $0 $@
5926 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5927 "
5929 _ACEOF
5931 case $ac_config_files in *"
5932 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5933 esac
5935 case $ac_config_headers in *"
5936 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5937 esac
5940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5941 # Files that config.status was made for.
5942 config_files="$ac_config_files"
5943 config_headers="$ac_config_headers"
5944 config_commands="$ac_config_commands"
5946 _ACEOF
5948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5949 ac_cs_usage="\
5950 \`$as_me' instantiates files and other configuration actions
5951 from templates according to the current configuration. Unless the files
5952 and actions are specified as TAGs, all are instantiated by default.
5954 Usage: $0 [OPTION]... [TAG]...
5956 -h, --help print this help, then exit
5957 -V, --version print version number and configuration settings, then exit
5958 --config print configuration, then exit
5959 -q, --quiet, --silent
5960 do not print progress messages
5961 -d, --debug don't remove temporary files
5962 --recheck update $as_me by reconfiguring in the same conditions
5963 --file=FILE[:TEMPLATE]
5964 instantiate the configuration file FILE
5965 --header=FILE[:TEMPLATE]
5966 instantiate the configuration header FILE
5968 Configuration files:
5969 $config_files
5971 Configuration headers:
5972 $config_headers
5974 Configuration commands:
5975 $config_commands
5977 Report bugs to <meillo@marmaro.de>."
5979 _ACEOF
5980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5981 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5982 ac_cs_version="\\
5983 masqmail config.status 0.3.4-dev
5984 configured by $0, generated by GNU Autoconf 2.68,
5985 with options \\"\$ac_cs_config\\"
5987 Copyright (C) 2010 Free Software Foundation, Inc.
5988 This config.status script is free software; the Free Software Foundation
5989 gives unlimited permission to copy, distribute and modify it."
5991 ac_pwd='$ac_pwd'
5992 srcdir='$srcdir'
5993 INSTALL='$INSTALL'
5994 MKDIR_P='$MKDIR_P'
5995 AWK='$AWK'
5996 test -n "\$AWK" || AWK=awk
5997 _ACEOF
5999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6000 # The default lists apply if the user does not specify any file.
6001 ac_need_defaults=:
6002 while test $# != 0
6003 do
6004 case $1 in
6005 --*=?*)
6006 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6007 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6008 ac_shift=:
6009 ;;
6010 --*=)
6011 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6012 ac_optarg=
6013 ac_shift=:
6014 ;;
6015 *)
6016 ac_option=$1
6017 ac_optarg=$2
6018 ac_shift=shift
6019 ;;
6020 esac
6022 case $ac_option in
6023 # Handling of the options.
6024 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6025 ac_cs_recheck=: ;;
6026 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6027 $as_echo "$ac_cs_version"; exit ;;
6028 --config | --confi | --conf | --con | --co | --c )
6029 $as_echo "$ac_cs_config"; exit ;;
6030 --debug | --debu | --deb | --de | --d | -d )
6031 debug=: ;;
6032 --file | --fil | --fi | --f )
6033 $ac_shift
6034 case $ac_optarg in
6035 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6036 '') as_fn_error $? "missing file argument" ;;
6037 esac
6038 as_fn_append CONFIG_FILES " '$ac_optarg'"
6039 ac_need_defaults=false;;
6040 --header | --heade | --head | --hea )
6041 $ac_shift
6042 case $ac_optarg in
6043 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6044 esac
6045 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6046 ac_need_defaults=false;;
6047 --he | --h)
6048 # Conflict between --help and --header
6049 as_fn_error $? "ambiguous option: \`$1'
6050 Try \`$0 --help' for more information.";;
6051 --help | --hel | -h )
6052 $as_echo "$ac_cs_usage"; exit ;;
6053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6054 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6055 ac_cs_silent=: ;;
6057 # This is an error.
6058 -*) as_fn_error $? "unrecognized option: \`$1'
6059 Try \`$0 --help' for more information." ;;
6061 *) as_fn_append ac_config_targets " $1"
6062 ac_need_defaults=false ;;
6064 esac
6065 shift
6066 done
6068 ac_configure_extra_args=
6070 if $ac_cs_silent; then
6071 exec 6>/dev/null
6072 ac_configure_extra_args="$ac_configure_extra_args --silent"
6073 fi
6075 _ACEOF
6076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6077 if \$ac_cs_recheck; then
6078 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6079 shift
6080 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6081 CONFIG_SHELL='$SHELL'
6082 export CONFIG_SHELL
6083 exec "\$@"
6084 fi
6086 _ACEOF
6087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6088 exec 5>>config.log
6089 {
6090 echo
6091 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6092 ## Running $as_me. ##
6093 _ASBOX
6094 $as_echo "$ac_log"
6095 } >&5
6097 _ACEOF
6098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6099 #
6100 # INIT-COMMANDS
6101 #
6102 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6104 _ACEOF
6106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6108 # Handling of arguments.
6109 for ac_config_target in $ac_config_targets
6110 do
6111 case $ac_config_target in
6112 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6113 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6114 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6115 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6116 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;;
6117 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
6118 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;;
6119 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6121 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6122 esac
6123 done
6126 # If the user did not use the arguments to specify the items to instantiate,
6127 # then the envvar interface is used. Set only those that are not.
6128 # We use the long form for the default assignment because of an extremely
6129 # bizarre bug on SunOS 4.1.3.
6130 if $ac_need_defaults; then
6131 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6132 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6133 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6134 fi
6136 # Have a temporary directory for convenience. Make it in the build tree
6137 # simply because there is no reason against having it here, and in addition,
6138 # creating and moving files from /tmp can sometimes cause problems.
6139 # Hook for its removal unless debugging.
6140 # Note that there is a small window in which the directory will not be cleaned:
6141 # after its creation but before its name has been assigned to `$tmp'.
6142 $debug ||
6143 {
6144 tmp= ac_tmp=
6145 trap 'exit_status=$?
6146 : "${ac_tmp:=$tmp}"
6147 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6148 ' 0
6149 trap 'as_fn_exit 1' 1 2 13 15
6150 }
6151 # Create a (secure) tmp directory for tmp files.
6153 {
6154 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6155 test -d "$tmp"
6156 } ||
6157 {
6158 tmp=./conf$$-$RANDOM
6159 (umask 077 && mkdir "$tmp")
6160 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6161 ac_tmp=$tmp
6163 # Set up the scripts for CONFIG_FILES section.
6164 # No need to generate them if there are no CONFIG_FILES.
6165 # This happens for instance with `./config.status config.h'.
6166 if test -n "$CONFIG_FILES"; then
6169 ac_cr=`echo X | tr X '\015'`
6170 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6171 # But we know of no other shell where ac_cr would be empty at this
6172 # point, so we can use a bashism as a fallback.
6173 if test "x$ac_cr" = x; then
6174 eval ac_cr=\$\'\\r\'
6175 fi
6176 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6177 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6178 ac_cs_awk_cr='\\r'
6179 else
6180 ac_cs_awk_cr=$ac_cr
6181 fi
6183 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6184 _ACEOF
6187 {
6188 echo "cat >conf$$subs.awk <<_ACEOF" &&
6189 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6190 echo "_ACEOF"
6191 } >conf$$subs.sh ||
6192 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6193 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6194 ac_delim='%!_!# '
6195 for ac_last_try in false false false false false :; do
6196 . ./conf$$subs.sh ||
6197 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6199 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6200 if test $ac_delim_n = $ac_delim_num; then
6201 break
6202 elif $ac_last_try; then
6203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6204 else
6205 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6206 fi
6207 done
6208 rm -f conf$$subs.sh
6210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6211 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6212 _ACEOF
6213 sed -n '
6214 h
6215 s/^/S["/; s/!.*/"]=/
6216 p
6217 g
6218 s/^[^!]*!//
6219 :repl
6220 t repl
6221 s/'"$ac_delim"'$//
6222 t delim
6223 :nl
6224 h
6225 s/\(.\{148\}\)..*/\1/
6226 t more1
6227 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6228 p
6229 n
6230 b repl
6231 :more1
6232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6233 p
6234 g
6235 s/.\{148\}//
6236 t nl
6237 :delim
6238 h
6239 s/\(.\{148\}\)..*/\1/
6240 t more2
6241 s/["\\]/\\&/g; s/^/"/; s/$/"/
6242 p
6243 b
6244 :more2
6245 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6246 p
6247 g
6248 s/.\{148\}//
6249 t delim
6250 ' <conf$$subs.awk | sed '
6251 /^[^""]/{
6252 N
6253 s/\n//
6254 }
6255 ' >>$CONFIG_STATUS || ac_write_fail=1
6256 rm -f conf$$subs.awk
6257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6258 _ACAWK
6259 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6260 for (key in S) S_is_set[key] = 1
6261 FS = ""
6263 }
6264 {
6265 line = $ 0
6266 nfields = split(line, field, "@")
6267 substed = 0
6268 len = length(field[1])
6269 for (i = 2; i < nfields; i++) {
6270 key = field[i]
6271 keylen = length(key)
6272 if (S_is_set[key]) {
6273 value = S[key]
6274 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6275 len += length(value) + length(field[++i])
6276 substed = 1
6277 } else
6278 len += 1 + keylen
6279 }
6281 print line
6282 }
6284 _ACAWK
6285 _ACEOF
6286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6287 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6288 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6289 else
6290 cat
6291 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6292 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6293 _ACEOF
6295 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6296 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6297 # trailing colons and then remove the whole line if VPATH becomes empty
6298 # (actually we leave an empty line to preserve line numbers).
6299 if test "x$srcdir" = x.; then
6300 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6301 h
6302 s///
6303 s/^/:/
6304 s/[ ]*$/:/
6305 s/:\$(srcdir):/:/g
6306 s/:\${srcdir}:/:/g
6307 s/:@srcdir@:/:/g
6308 s/^:*//
6309 s/:*$//
6310 x
6311 s/\(=[ ]*\).*/\1/
6312 G
6313 s/\n//
6314 s/^[^=]*=[ ]*$//
6315 }'
6316 fi
6318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6319 fi # test -n "$CONFIG_FILES"
6321 # Set up the scripts for CONFIG_HEADERS section.
6322 # No need to generate them if there are no CONFIG_HEADERS.
6323 # This happens for instance with `./config.status Makefile'.
6324 if test -n "$CONFIG_HEADERS"; then
6325 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6326 BEGIN {
6327 _ACEOF
6329 # Transform confdefs.h into an awk script `defines.awk', embedded as
6330 # here-document in config.status, that substitutes the proper values into
6331 # config.h.in to produce config.h.
6333 # Create a delimiter string that does not exist in confdefs.h, to ease
6334 # handling of long lines.
6335 ac_delim='%!_!# '
6336 for ac_last_try in false false :; do
6337 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6338 if test -z "$ac_tt"; then
6339 break
6340 elif $ac_last_try; then
6341 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6342 else
6343 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6344 fi
6345 done
6347 # For the awk script, D is an array of macro values keyed by name,
6348 # likewise P contains macro parameters if any. Preserve backslash
6349 # newline sequences.
6351 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6352 sed -n '
6353 s/.\{148\}/&'"$ac_delim"'/g
6354 t rset
6355 :rset
6356 s/^[ ]*#[ ]*define[ ][ ]*/ /
6357 t def
6358 d
6359 :def
6360 s/\\$//
6361 t bsnl
6362 s/["\\]/\\&/g
6363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6364 D["\1"]=" \3"/p
6365 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6366 d
6367 :bsnl
6368 s/["\\]/\\&/g
6369 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6370 D["\1"]=" \3\\\\\\n"\\/p
6371 t cont
6372 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6373 t cont
6374 d
6375 :cont
6376 n
6377 s/.\{148\}/&'"$ac_delim"'/g
6378 t clear
6379 :clear
6380 s/\\$//
6381 t bsnlc
6382 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6383 d
6384 :bsnlc
6385 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6386 b cont
6387 ' <confdefs.h | sed '
6388 s/'"$ac_delim"'/"\\\
6389 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6392 for (key in D) D_is_set[key] = 1
6393 FS = ""
6394 }
6395 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6396 line = \$ 0
6397 split(line, arg, " ")
6398 if (arg[1] == "#") {
6399 defundef = arg[2]
6400 mac1 = arg[3]
6401 } else {
6402 defundef = substr(arg[1], 2)
6403 mac1 = arg[2]
6404 }
6405 split(mac1, mac2, "(") #)
6406 macro = mac2[1]
6407 prefix = substr(line, 1, index(line, defundef) - 1)
6408 if (D_is_set[macro]) {
6409 # Preserve the white space surrounding the "#".
6410 print prefix "define", macro P[macro] D[macro]
6411 next
6412 } else {
6413 # Replace #undef with comments. This is necessary, for example,
6414 # in the case of _POSIX_SOURCE, which is predefined and required
6415 # on some systems where configure will not decide to define it.
6416 if (defundef == "undef") {
6417 print "/*", prefix defundef, macro, "*/"
6418 next
6419 }
6420 }
6421 }
6422 { print }
6423 _ACAWK
6424 _ACEOF
6425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6426 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6427 fi # test -n "$CONFIG_HEADERS"
6430 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6431 shift
6432 for ac_tag
6433 do
6434 case $ac_tag in
6435 :[FHLC]) ac_mode=$ac_tag; continue;;
6436 esac
6437 case $ac_mode$ac_tag in
6438 :[FHL]*:*);;
6439 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6440 :[FH]-) ac_tag=-:-;;
6441 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6442 esac
6443 ac_save_IFS=$IFS
6444 IFS=:
6445 set x $ac_tag
6446 IFS=$ac_save_IFS
6447 shift
6448 ac_file=$1
6449 shift
6451 case $ac_mode in
6452 :L) ac_source=$1;;
6453 :[FH])
6454 ac_file_inputs=
6455 for ac_f
6456 do
6457 case $ac_f in
6458 -) ac_f="$ac_tmp/stdin";;
6459 *) # Look for the file first in the build tree, then in the source tree
6460 # (if the path is not absolute). The absolute path cannot be DOS-style,
6461 # because $ac_f cannot contain `:'.
6462 test -f "$ac_f" ||
6463 case $ac_f in
6464 [\\/$]*) false;;
6465 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6466 esac ||
6467 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6468 esac
6469 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6470 as_fn_append ac_file_inputs " '$ac_f'"
6471 done
6473 # Let's still pretend it is `configure' which instantiates (i.e., don't
6474 # use $as_me), people would be surprised to read:
6475 # /* config.h. Generated by config.status. */
6476 configure_input='Generated from '`
6477 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6478 `' by configure.'
6479 if test x"$ac_file" != x-; then
6480 configure_input="$ac_file. $configure_input"
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6482 $as_echo "$as_me: creating $ac_file" >&6;}
6483 fi
6484 # Neutralize special characters interpreted by sed in replacement strings.
6485 case $configure_input in #(
6486 *\&* | *\|* | *\\* )
6487 ac_sed_conf_input=`$as_echo "$configure_input" |
6488 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6489 *) ac_sed_conf_input=$configure_input;;
6490 esac
6492 case $ac_tag in
6493 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6495 esac
6496 ;;
6497 esac
6499 ac_dir=`$as_dirname -- "$ac_file" ||
6500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6501 X"$ac_file" : 'X\(//\)[^/]' \| \
6502 X"$ac_file" : 'X\(//\)$' \| \
6503 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6504 $as_echo X"$ac_file" |
6505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6506 s//\1/
6507 q
6508 }
6509 /^X\(\/\/\)[^/].*/{
6510 s//\1/
6511 q
6512 }
6513 /^X\(\/\/\)$/{
6514 s//\1/
6515 q
6516 }
6517 /^X\(\/\).*/{
6518 s//\1/
6519 q
6520 }
6521 s/.*/./; q'`
6522 as_dir="$ac_dir"; as_fn_mkdir_p
6523 ac_builddir=.
6525 case "$ac_dir" in
6526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6527 *)
6528 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6529 # A ".." for each directory in $ac_dir_suffix.
6530 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6531 case $ac_top_builddir_sub in
6532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6534 esac ;;
6535 esac
6536 ac_abs_top_builddir=$ac_pwd
6537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6538 # for backward compatibility:
6539 ac_top_builddir=$ac_top_build_prefix
6541 case $srcdir in
6542 .) # We are building in place.
6543 ac_srcdir=.
6544 ac_top_srcdir=$ac_top_builddir_sub
6545 ac_abs_top_srcdir=$ac_pwd ;;
6546 [\\/]* | ?:[\\/]* ) # Absolute name.
6547 ac_srcdir=$srcdir$ac_dir_suffix;
6548 ac_top_srcdir=$srcdir
6549 ac_abs_top_srcdir=$srcdir ;;
6550 *) # Relative name.
6551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6552 ac_top_srcdir=$ac_top_build_prefix$srcdir
6553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6554 esac
6555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6558 case $ac_mode in
6559 :F)
6560 #
6561 # CONFIG_FILE
6562 #
6564 case $INSTALL in
6565 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6566 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6567 esac
6568 ac_MKDIR_P=$MKDIR_P
6569 case $MKDIR_P in
6570 [\\/$]* | ?:[\\/]* ) ;;
6571 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6572 esac
6573 _ACEOF
6575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6576 # If the template does not know about datarootdir, expand it.
6577 # FIXME: This hack should be removed a few years after 2.60.
6578 ac_datarootdir_hack=; ac_datarootdir_seen=
6579 ac_sed_dataroot='
6580 /datarootdir/ {
6581 p
6582 q
6583 }
6584 /@datadir@/p
6585 /@docdir@/p
6586 /@infodir@/p
6587 /@localedir@/p
6588 /@mandir@/p'
6589 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6590 *datarootdir*) ac_datarootdir_seen=yes;;
6591 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6593 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6594 _ACEOF
6595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6596 ac_datarootdir_hack='
6597 s&@datadir@&$datadir&g
6598 s&@docdir@&$docdir&g
6599 s&@infodir@&$infodir&g
6600 s&@localedir@&$localedir&g
6601 s&@mandir@&$mandir&g
6602 s&\\\${datarootdir}&$datarootdir&g' ;;
6603 esac
6604 _ACEOF
6606 # Neutralize VPATH when `$srcdir' = `.'.
6607 # Shell code in configure.ac might set extrasub.
6608 # FIXME: do we really want to maintain this feature?
6609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6610 ac_sed_extra="$ac_vpsub
6611 $extrasub
6612 _ACEOF
6613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6614 :t
6615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6616 s|@configure_input@|$ac_sed_conf_input|;t t
6617 s&@top_builddir@&$ac_top_builddir_sub&;t t
6618 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6619 s&@srcdir@&$ac_srcdir&;t t
6620 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6621 s&@top_srcdir@&$ac_top_srcdir&;t t
6622 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6623 s&@builddir@&$ac_builddir&;t t
6624 s&@abs_builddir@&$ac_abs_builddir&;t t
6625 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6626 s&@INSTALL@&$ac_INSTALL&;t t
6627 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6628 $ac_datarootdir_hack
6629 "
6630 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6631 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6633 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6634 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6635 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6636 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6638 which seems to be undefined. Please make sure it is defined" >&5
6639 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6640 which seems to be undefined. Please make sure it is defined" >&2;}
6642 rm -f "$ac_tmp/stdin"
6643 case $ac_file in
6644 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6645 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6646 esac \
6647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6648 ;;
6649 :H)
6650 #
6651 # CONFIG_HEADER
6652 #
6653 if test x"$ac_file" != x-; then
6654 {
6655 $as_echo "/* $configure_input */" \
6656 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6657 } >"$ac_tmp/config.h" \
6658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6659 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6661 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6662 else
6663 rm -f "$ac_file"
6664 mv "$ac_tmp/config.h" "$ac_file" \
6665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6666 fi
6667 else
6668 $as_echo "/* $configure_input */" \
6669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6670 || as_fn_error $? "could not create -" "$LINENO" 5
6671 fi
6672 # Compute "$ac_file"'s index in $config_headers.
6673 _am_arg="$ac_file"
6674 _am_stamp_count=1
6675 for _am_header in $config_headers :; do
6676 case $_am_header in
6677 $_am_arg | $_am_arg:* )
6678 break ;;
6679 * )
6680 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6681 esac
6682 done
6683 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6684 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6685 X"$_am_arg" : 'X\(//\)[^/]' \| \
6686 X"$_am_arg" : 'X\(//\)$' \| \
6687 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6688 $as_echo X"$_am_arg" |
6689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6690 s//\1/
6691 q
6692 }
6693 /^X\(\/\/\)[^/].*/{
6694 s//\1/
6695 q
6696 }
6697 /^X\(\/\/\)$/{
6698 s//\1/
6699 q
6700 }
6701 /^X\(\/\).*/{
6702 s//\1/
6703 q
6704 }
6705 s/.*/./; q'`/stamp-h$_am_stamp_count
6706 ;;
6708 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6709 $as_echo "$as_me: executing $ac_file commands" >&6;}
6710 ;;
6711 esac
6714 case $ac_file$ac_mode in
6715 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6716 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6717 # are listed without --file. Let's play safe and only enable the eval
6718 # if we detect the quoting.
6719 case $CONFIG_FILES in
6720 *\'*) eval set x "$CONFIG_FILES" ;;
6721 *) set x $CONFIG_FILES ;;
6722 esac
6723 shift
6724 for mf
6725 do
6726 # Strip MF so we end up with the name of the file.
6727 mf=`echo "$mf" | sed -e 's/:.*$//'`
6728 # Check whether this is an Automake generated Makefile or not.
6729 # We used to match only the files named `Makefile.in', but
6730 # some people rename them; so instead we look at the file content.
6731 # Grep'ing the first line is not enough: some people post-process
6732 # each Makefile.in and add a new line on top of each file to say so.
6733 # Grep'ing the whole file is not good either: AIX grep has a line
6734 # limit of 2048, but all sed's we know have understand at least 4000.
6735 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6736 dirpart=`$as_dirname -- "$mf" ||
6737 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6738 X"$mf" : 'X\(//\)[^/]' \| \
6739 X"$mf" : 'X\(//\)$' \| \
6740 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6741 $as_echo X"$mf" |
6742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6743 s//\1/
6744 q
6745 }
6746 /^X\(\/\/\)[^/].*/{
6747 s//\1/
6748 q
6749 }
6750 /^X\(\/\/\)$/{
6751 s//\1/
6752 q
6753 }
6754 /^X\(\/\).*/{
6755 s//\1/
6756 q
6757 }
6758 s/.*/./; q'`
6759 else
6760 continue
6761 fi
6762 # Extract the definition of DEPDIR, am__include, and am__quote
6763 # from the Makefile without running `make'.
6764 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6765 test -z "$DEPDIR" && continue
6766 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6767 test -z "am__include" && continue
6768 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6769 # When using ansi2knr, U may be empty or an underscore; expand it
6770 U=`sed -n 's/^U = //p' < "$mf"`
6771 # Find all dependency output files, they are included files with
6772 # $(DEPDIR) in their names. We invoke sed twice because it is the
6773 # simplest approach to changing $(DEPDIR) to its actual value in the
6774 # expansion.
6775 for file in `sed -n "
6776 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6777 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6778 # Make sure the directory exists.
6779 test -f "$dirpart/$file" && continue
6780 fdir=`$as_dirname -- "$file" ||
6781 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6782 X"$file" : 'X\(//\)[^/]' \| \
6783 X"$file" : 'X\(//\)$' \| \
6784 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6785 $as_echo X"$file" |
6786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6787 s//\1/
6788 q
6789 }
6790 /^X\(\/\/\)[^/].*/{
6791 s//\1/
6792 q
6793 }
6794 /^X\(\/\/\)$/{
6795 s//\1/
6796 q
6797 }
6798 /^X\(\/\).*/{
6799 s//\1/
6800 q
6801 }
6802 s/.*/./; q'`
6803 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6804 # echo "creating $dirpart/$file"
6805 echo '# dummy' > "$dirpart/$file"
6806 done
6807 done
6808 }
6809 ;;
6811 esac
6812 done # for ac_tag
6815 as_fn_exit 0
6816 _ACEOF
6817 ac_clean_files=$ac_clean_files_save
6819 test $ac_write_fail = 0 ||
6820 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6823 # configure is writing to config.log, and then calls config.status.
6824 # config.status does its own redirection, appending to config.log.
6825 # Unfortunately, on DOS this fails, as config.log is still kept open
6826 # by configure, so config.status won't be able to write to it; its
6827 # output is simply discarded. So we exec the FD to /dev/null,
6828 # effectively closing config.log, so it can be properly (re)opened and
6829 # appended to by config.status. When coming back to configure, we
6830 # need to make the FD available again.
6831 if test "$no_create" != yes; then
6832 ac_cs_success=:
6833 ac_config_status_args=
6834 test "$silent" = yes &&
6835 ac_config_status_args="$ac_config_status_args --quiet"
6836 exec 5>/dev/null
6837 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6838 exec 5>>config.log
6839 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6840 # would make configure fail if this is the last instruction.
6841 $ac_cs_success || as_fn_exit 1
6842 fi
6843 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6845 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6846 fi