masqmail

view configure @ 363:02bc0331e390

Removed support for openssl linking It had been rarely used and could have caused legal problems. For explanations, see this mail message: Date: Sun, 04 Sep 2011 17:35:23 +0200 From: markus schnalke <meillo@marmaro.de> To: masqmail@marmaro.de Subject: [masqmail] RFC: Removal of configure options Message-ID: <1R0EjD-4aX-00@serveme.home.schnalke.org>
author markus schnalke <meillo@marmaro.de>
date Wed, 14 Sep 2011 12:07:34 +0200
parents 4916f9df5051
children 72653295b75d
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/
1226 /^X\(\/\/\)[^/].*/{
1227 s//\1/
1230 /^X\(\/\/\)$/{
1231 s//\1/
1234 /^X\(\/\).*/{
1235 s//\1/
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
1272 # Report the --help message.
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 --enable-auth enable 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 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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
1676 return $2 ();
1678 return 0;
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 ()
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 ()
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 ()
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 ()
1837 if (sizeof ($2))
1838 return 0;
1840 return 0;
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 ()
1850 if (sizeof (($2)))
1851 return 0;
1853 return 0;
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
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.
1984 echo
1986 $as_echo "## ---------------- ##
1987 ## Cache variables. ##
1988 ## ---------------- ##"
1989 echo
1990 # The following way of writing the cache mishandles newlines in values,
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
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.
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.
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='
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
2393 then
2394 # Ok.
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 ()
3072 return 0;
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 ()
3210 FILE *f = fopen ("conftest.out", "w");
3211 return ferror (f) || fclose (f) != 0;
3214 return 0;
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 ()
3276 return 0;
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 ()
3325 #ifndef __GNUC__
3326 choke me
3327 #endif
3330 return 0;
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 ()
3368 return 0;
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 ()
3383 return 0;
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 ()
3399 return 0;
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;
3449 return p[i];
3451 static char *f (char * (*g) (char **, int), char **p, ...)
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;
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 ()
3484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3486 return 0;
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.
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 ()
3735 return strerror ();
3737 return 0;
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 ()
4057 return 0;
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 :
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 ()
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;
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 ()
4492 return res_search ();
4494 return 0;
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 ()
4535 return res_search ();
4537 return 0;
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 ()
4568 res_search (0, 0, 0, 0, 0);
4570 return 0;
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 ()
4635 return 0;
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 :
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 ()
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;
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
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 ()
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;
4800 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4801 int x[] = {25, 17};
4802 const int *foo = &x[0];
4803 ++foo;
4805 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4806 typedef const int *iptr;
4807 iptr p = 0;
4808 ++p;
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;
4815 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4816 const int foo = 10;
4817 if (!foo) return 0;
4819 return !cs[0] && !zero.x;
4820 #endif
4823 return 0;
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 ()
4877 if ((struct tm *) 0)
4878 return 0;
4880 return 0;
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 ()
4911 struct tm tm;
4912 int *p = &tm.tm_sec;
4913 return !p;
4915 return 0;
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 ()
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));
4964 return 0;
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 ()
4999 return *(signal (0, 0)) (0) == 1;
5001 return 0;
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 ()
5049 return strftime ();
5051 return 0;
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 fi
5165 if test "x$auth_enabled" = xyes; then
5167 $as_echo "#define ENABLE_AUTH 1" >>confdefs.h
5169 BASE64_LIBS='base64/libbase64.a'
5170 need_md5='yes'
5171 fi
5174 if test "x$need_md5" = 'xyes'; then
5175 MD5_LIBS='md5/libmd5.a'
5176 fi
5179 IDENT_LIBS=''
5180 # Check whether --enable-ident was given.
5181 if test "${enable_ident+set}" = set; then :
5182 enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then
5183 ident_enabled='yes'
5184 fi
5185 fi
5188 if test "x$ident_enabled" = xyes; then
5190 $as_echo "#define ENABLE_IDENT 1" >>confdefs.h
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ident_id in -lident" >&5
5193 $as_echo_n "checking for ident_id in -lident... " >&6; }
5194 if ${ac_cv_lib_ident_ident_id+:} false; then :
5195 $as_echo_n "(cached) " >&6
5196 else
5197 ac_check_lib_save_LIBS=$LIBS
5198 LIBS="-lident $LIBS"
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5202 /* Override any GCC internal prototype to avoid an error.
5203 Use char because int might match the return type of a GCC
5204 builtin and then its argument prototype would still apply. */
5205 #ifdef __cplusplus
5206 extern "C"
5207 #endif
5208 char ident_id ();
5209 int
5210 main ()
5212 return ident_id ();
5214 return 0;
5216 _ACEOF
5217 if ac_fn_c_try_link "$LINENO"; then :
5218 ac_cv_lib_ident_ident_id=yes
5219 else
5220 ac_cv_lib_ident_ident_id=no
5221 fi
5222 rm -f core conftest.err conftest.$ac_objext \
5223 conftest$ac_exeext conftest.$ac_ext
5224 LIBS=$ac_check_lib_save_LIBS
5225 fi
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ident_ident_id" >&5
5227 $as_echo "$ac_cv_lib_ident_ident_id" >&6; }
5228 if test "x$ac_cv_lib_ident_ident_id" = xyes; then :
5229 IDENT_LIBS='-lident'
5230 else
5231 IDENT_LIBS='libident/libident.a'
5232 fi
5234 fi
5238 # Check whether --with-liblockfile was given.
5239 if test "${with_liblockfile+set}" = set; then :
5240 withval=$with_liblockfile;
5241 fi
5243 if test "x$with_liblockfile" = 'xno'; then
5244 with_liblockfile=''
5245 fi
5246 if test "x$with_liblockfile" != 'x'; then
5247 with_liblockfile='yes'
5248 fi
5249 if test "x$with_liblockfile" = xyes; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
5251 $as_echo_n "checking for maillock in -llockfile... " >&6; }
5252 if ${ac_cv_lib_lockfile_maillock+:} false; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 ac_check_lib_save_LIBS=$LIBS
5256 LIBS="-llockfile $LIBS"
5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5260 /* Override any GCC internal prototype to avoid an error.
5261 Use char because int might match the return type of a GCC
5262 builtin and then its argument prototype would still apply. */
5263 #ifdef __cplusplus
5264 extern "C"
5265 #endif
5266 char maillock ();
5267 int
5268 main ()
5270 return maillock ();
5272 return 0;
5274 _ACEOF
5275 if ac_fn_c_try_link "$LINENO"; then :
5276 ac_cv_lib_lockfile_maillock=yes
5277 else
5278 ac_cv_lib_lockfile_maillock=no
5279 fi
5280 rm -f core conftest.err conftest.$ac_objext \
5281 conftest$ac_exeext conftest.$ac_ext
5282 LIBS=$ac_check_lib_save_LIBS
5283 fi
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
5285 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
5286 if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
5287 has_lockfile=yes
5288 else
5289 as_fn_error $? "\"no liblockfile\"" "$LINENO" 5
5290 fi
5292 LOCKFILE_LIBS='-llockfile'
5294 $as_echo "#define USE_LIBLOCKFILE 1" >>confdefs.h
5296 else
5297 LOCKFILE_LIBS=''
5298 fi
5303 # Check whether --with-logdir was given.
5304 if test "${with_logdir+set}" = set; then :
5305 withval=$with_logdir;
5306 else
5307 with_logdir='/var/log/masqmail/'
5309 fi
5312 cat >>confdefs.h <<_ACEOF
5313 #define LOG_DIR "${with_logdir}"
5314 _ACEOF
5319 # Check whether --with-spooldir was given.
5320 if test "${with_spooldir+set}" = set; then :
5321 withval=$with_spooldir;
5322 else
5323 with_spooldir='/var/spool/masqmail/'
5325 fi
5328 cat >>confdefs.h <<_ACEOF
5329 #define SPOOL_DIR "${with_spooldir}"
5330 _ACEOF
5335 # Check whether --with-confdir was given.
5336 if test "${with_confdir+set}" = set; then :
5337 withval=$with_confdir;
5338 else
5339 with_confdir='/etc/masqmail'
5341 fi
5344 cat >>confdefs.h <<_ACEOF
5345 #define CONF_DIR "${with_confdir}"
5346 _ACEOF
5350 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
5353 cat >>confdefs.h <<_ACEOF
5354 #define DATA_DIR "`eval eval echo $datadir`/masqmail"
5355 _ACEOF
5358 if test "x${exec_prefix}" != 'xNONE'; then
5360 cat >>confdefs.h <<_ACEOF
5361 #define SBINDIR "${exec_prefix}/sbin"
5362 _ACEOF
5364 else
5365 if test "x${prefix}" != 'xNONE'; then
5366 cat >>confdefs.h <<_ACEOF
5367 #define SBINDIR "${prefix}/sbin"
5368 _ACEOF
5370 else
5371 cat >>confdefs.h <<_ACEOF
5372 #define SBINDIR "/usr/sbin"
5373 _ACEOF
5375 fi
5376 fi
5378 ac_config_files="$ac_config_files Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile man/Makefile"
5380 cat >confcache <<\_ACEOF
5381 # This file is a shell script that caches the results of configure
5382 # tests run on this system so they can be shared between configure
5383 # scripts and configure runs, see configure's option --config-cache.
5384 # It is not useful on other systems. If it contains results you don't
5385 # want to keep, you may remove or edit it.
5387 # config.status only pays attention to the cache file if you give it
5388 # the --recheck option to rerun configure.
5390 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5391 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5392 # following values.
5394 _ACEOF
5396 # The following way of writing the cache mishandles newlines in values,
5397 # but we know of no workaround that is simple, portable, and efficient.
5398 # So, we kill variables containing newlines.
5399 # Ultrix sh set writes to stderr and can't be redirected directly,
5400 # and sets the high bit in the cache file unless we assign to the vars.
5402 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5403 eval ac_val=\$$ac_var
5404 case $ac_val in #(
5405 *${as_nl}*)
5406 case $ac_var in #(
5407 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5408 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5409 esac
5410 case $ac_var in #(
5411 _ | IFS | as_nl) ;; #(
5412 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5413 *) { eval $ac_var=; unset $ac_var;} ;;
5414 esac ;;
5415 esac
5416 done
5418 (set) 2>&1 |
5419 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5420 *${as_nl}ac_space=\ *)
5421 # `set' does not quote correctly, so add quotes: double-quote
5422 # substitution turns \\\\ into \\, and sed turns \\ into \.
5423 sed -n \
5424 "s/'/'\\\\''/g;
5425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5426 ;; #(
5427 *)
5428 # `set' quotes correctly as required by POSIX, so do not add quotes.
5429 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5430 ;;
5431 esac |
5432 sort
5433 ) |
5434 sed '
5435 /^ac_cv_env_/b end
5436 t clear
5437 :clear
5438 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5439 t end
5440 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5441 :end' >>confcache
5442 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5443 if test -w "$cache_file"; then
5444 if test "x$cache_file" != "x/dev/null"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5446 $as_echo "$as_me: updating cache $cache_file" >&6;}
5447 if test ! -f "$cache_file" || test -h "$cache_file"; then
5448 cat confcache >"$cache_file"
5449 else
5450 case $cache_file in #(
5451 */* | ?:*)
5452 mv -f confcache "$cache_file"$$ &&
5453 mv -f "$cache_file"$$ "$cache_file" ;; #(
5454 *)
5455 mv -f confcache "$cache_file" ;;
5456 esac
5457 fi
5458 fi
5459 else
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5461 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5462 fi
5463 fi
5464 rm -f confcache
5466 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5467 # Let make expand exec_prefix.
5468 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5470 DEFS=-DHAVE_CONFIG_H
5472 ac_libobjs=
5473 ac_ltlibobjs=
5474 U=
5475 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5476 # 1. Remove the extension, and $U if already installed.
5477 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5478 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5479 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5480 # will be set to the directory where LIBOBJS objects are built.
5481 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5482 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5483 done
5484 LIBOBJS=$ac_libobjs
5486 LTLIBOBJS=$ac_ltlibobjs
5489 if test -n "$EXEEXT"; then
5490 am__EXEEXT_TRUE=
5491 am__EXEEXT_FALSE='#'
5492 else
5493 am__EXEEXT_TRUE='#'
5494 am__EXEEXT_FALSE=
5495 fi
5497 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5498 as_fn_error $? "conditional \"AMDEP\" was never defined.
5499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5500 fi
5501 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5502 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5504 fi
5506 : "${CONFIG_STATUS=./config.status}"
5507 ac_write_fail=0
5508 ac_clean_files_save=$ac_clean_files
5509 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5511 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5512 as_write_fail=0
5513 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5514 #! $SHELL
5515 # Generated by $as_me.
5516 # Run this file to recreate the current configuration.
5517 # Compiler output produced by configure, useful for debugging
5518 # configure, is in config.log if it exists.
5520 debug=false
5521 ac_cs_recheck=false
5522 ac_cs_silent=false
5524 SHELL=\${CONFIG_SHELL-$SHELL}
5525 export SHELL
5526 _ASEOF
5527 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5528 ## -------------------- ##
5529 ## M4sh Initialization. ##
5530 ## -------------------- ##
5532 # Be more Bourne compatible
5533 DUALCASE=1; export DUALCASE # for MKS sh
5534 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5535 emulate sh
5536 NULLCMD=:
5537 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5538 # is contrary to our usage. Disable this feature.
5539 alias -g '${1+"$@"}'='"$@"'
5540 setopt NO_GLOB_SUBST
5541 else
5542 case `(set -o) 2>/dev/null` in #(
5543 *posix*) :
5544 set -o posix ;; #(
5545 *) :
5546 ;;
5547 esac
5548 fi
5551 as_nl='
5553 export as_nl
5554 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5555 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5556 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5557 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5558 # Prefer a ksh shell builtin over an external printf program on Solaris,
5559 # but without wasting forks for bash or zsh.
5560 if test -z "$BASH_VERSION$ZSH_VERSION" \
5561 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5562 as_echo='print -r --'
5563 as_echo_n='print -rn --'
5564 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5565 as_echo='printf %s\n'
5566 as_echo_n='printf %s'
5567 else
5568 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5569 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5570 as_echo_n='/usr/ucb/echo -n'
5571 else
5572 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5573 as_echo_n_body='eval
5574 arg=$1;
5575 case $arg in #(
5576 *"$as_nl"*)
5577 expr "X$arg" : "X\\(.*\\)$as_nl";
5578 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5579 esac;
5580 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5582 export as_echo_n_body
5583 as_echo_n='sh -c $as_echo_n_body as_echo'
5584 fi
5585 export as_echo_body
5586 as_echo='sh -c $as_echo_body as_echo'
5587 fi
5589 # The user is always right.
5590 if test "${PATH_SEPARATOR+set}" != set; then
5591 PATH_SEPARATOR=:
5592 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5593 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5594 PATH_SEPARATOR=';'
5596 fi
5599 # IFS
5600 # We need space, tab and new line, in precisely that order. Quoting is
5601 # there to prevent editors from complaining about space-tab.
5602 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5603 # splitting by setting IFS to empty value.)
5604 IFS=" "" $as_nl"
5606 # Find who we are. Look in the path if we contain no directory separator.
5607 as_myself=
5608 case $0 in #((
5609 *[\\/]* ) as_myself=$0 ;;
5610 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5612 do
5613 IFS=$as_save_IFS
5614 test -z "$as_dir" && as_dir=.
5615 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5616 done
5617 IFS=$as_save_IFS
5619 ;;
5620 esac
5621 # We did not find ourselves, most probably we were run as `sh COMMAND'
5622 # in which case we are not to be found in the path.
5623 if test "x$as_myself" = x; then
5624 as_myself=$0
5625 fi
5626 if test ! -f "$as_myself"; then
5627 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5628 exit 1
5629 fi
5631 # Unset variables that we do not need and which cause bugs (e.g. in
5632 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5633 # suppresses any "Segmentation fault" message there. '((' could
5634 # trigger a bug in pdksh 5.2.14.
5635 for as_var in BASH_ENV ENV MAIL MAILPATH
5636 do eval test x\${$as_var+set} = xset \
5637 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5638 done
5639 PS1='$ '
5640 PS2='> '
5641 PS4='+ '
5643 # NLS nuisances.
5644 LC_ALL=C
5645 export LC_ALL
5646 LANGUAGE=C
5647 export LANGUAGE
5649 # CDPATH.
5650 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5653 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5654 # ----------------------------------------
5655 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5656 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5657 # script with STATUS, using 1 if that was 0.
5658 as_fn_error ()
5660 as_status=$1; test $as_status -eq 0 && as_status=1
5661 if test "$4"; then
5662 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5663 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5664 fi
5665 $as_echo "$as_me: error: $2" >&2
5666 as_fn_exit $as_status
5667 } # as_fn_error
5670 # as_fn_set_status STATUS
5671 # -----------------------
5672 # Set $? to STATUS, without forking.
5673 as_fn_set_status ()
5675 return $1
5676 } # as_fn_set_status
5678 # as_fn_exit STATUS
5679 # -----------------
5680 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5681 as_fn_exit ()
5683 set +e
5684 as_fn_set_status $1
5685 exit $1
5686 } # as_fn_exit
5688 # as_fn_unset VAR
5689 # ---------------
5690 # Portably unset VAR.
5691 as_fn_unset ()
5693 { eval $1=; unset $1;}
5695 as_unset=as_fn_unset
5696 # as_fn_append VAR VALUE
5697 # ----------------------
5698 # Append the text in VALUE to the end of the definition contained in VAR. Take
5699 # advantage of any shell optimizations that allow amortized linear growth over
5700 # repeated appends, instead of the typical quadratic growth present in naive
5701 # implementations.
5702 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5703 eval 'as_fn_append ()
5705 eval $1+=\$2
5706 }'
5707 else
5708 as_fn_append ()
5710 eval $1=\$$1\$2
5712 fi # as_fn_append
5714 # as_fn_arith ARG...
5715 # ------------------
5716 # Perform arithmetic evaluation on the ARGs, and store the result in the
5717 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5718 # must be portable across $(()) and expr.
5719 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5720 eval 'as_fn_arith ()
5722 as_val=$(( $* ))
5723 }'
5724 else
5725 as_fn_arith ()
5727 as_val=`expr "$@" || test $? -eq 1`
5729 fi # as_fn_arith
5732 if expr a : '\(a\)' >/dev/null 2>&1 &&
5733 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5734 as_expr=expr
5735 else
5736 as_expr=false
5737 fi
5739 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5740 as_basename=basename
5741 else
5742 as_basename=false
5743 fi
5745 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5746 as_dirname=dirname
5747 else
5748 as_dirname=false
5749 fi
5751 as_me=`$as_basename -- "$0" ||
5752 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5753 X"$0" : 'X\(//\)$' \| \
5754 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5755 $as_echo X/"$0" |
5756 sed '/^.*\/\([^/][^/]*\)\/*$/{
5757 s//\1/
5760 /^X\/\(\/\/\)$/{
5761 s//\1/
5764 /^X\/\(\/\).*/{
5765 s//\1/
5768 s/.*/./; q'`
5770 # Avoid depending upon Character Ranges.
5771 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5772 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5773 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5774 as_cr_digits='0123456789'
5775 as_cr_alnum=$as_cr_Letters$as_cr_digits
5777 ECHO_C= ECHO_N= ECHO_T=
5778 case `echo -n x` in #(((((
5779 -n*)
5780 case `echo 'xy\c'` in
5781 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5782 xy) ECHO_C='\c';;
5783 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5784 ECHO_T=' ';;
5785 esac;;
5786 *)
5787 ECHO_N='-n';;
5788 esac
5790 rm -f conf$$ conf$$.exe conf$$.file
5791 if test -d conf$$.dir; then
5792 rm -f conf$$.dir/conf$$.file
5793 else
5794 rm -f conf$$.dir
5795 mkdir conf$$.dir 2>/dev/null
5796 fi
5797 if (echo >conf$$.file) 2>/dev/null; then
5798 if ln -s conf$$.file conf$$ 2>/dev/null; then
5799 as_ln_s='ln -s'
5800 # ... but there are two gotchas:
5801 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5802 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5803 # In both cases, we have to default to `cp -p'.
5804 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5805 as_ln_s='cp -p'
5806 elif ln conf$$.file conf$$ 2>/dev/null; then
5807 as_ln_s=ln
5808 else
5809 as_ln_s='cp -p'
5810 fi
5811 else
5812 as_ln_s='cp -p'
5813 fi
5814 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5815 rmdir conf$$.dir 2>/dev/null
5818 # as_fn_mkdir_p
5819 # -------------
5820 # Create "$as_dir" as a directory, including parents if necessary.
5821 as_fn_mkdir_p ()
5824 case $as_dir in #(
5825 -*) as_dir=./$as_dir;;
5826 esac
5827 test -d "$as_dir" || eval $as_mkdir_p || {
5828 as_dirs=
5829 while :; do
5830 case $as_dir in #(
5831 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5832 *) as_qdir=$as_dir;;
5833 esac
5834 as_dirs="'$as_qdir' $as_dirs"
5835 as_dir=`$as_dirname -- "$as_dir" ||
5836 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5837 X"$as_dir" : 'X\(//\)[^/]' \| \
5838 X"$as_dir" : 'X\(//\)$' \| \
5839 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5840 $as_echo X"$as_dir" |
5841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5842 s//\1/
5845 /^X\(\/\/\)[^/].*/{
5846 s//\1/
5849 /^X\(\/\/\)$/{
5850 s//\1/
5853 /^X\(\/\).*/{
5854 s//\1/
5857 s/.*/./; q'`
5858 test -d "$as_dir" && break
5859 done
5860 test -z "$as_dirs" || eval "mkdir $as_dirs"
5861 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5864 } # as_fn_mkdir_p
5865 if mkdir -p . 2>/dev/null; then
5866 as_mkdir_p='mkdir -p "$as_dir"'
5867 else
5868 test -d ./-p && rmdir ./-p
5869 as_mkdir_p=false
5870 fi
5872 if test -x / >/dev/null 2>&1; then
5873 as_test_x='test -x'
5874 else
5875 if ls -dL / >/dev/null 2>&1; then
5876 as_ls_L_option=L
5877 else
5878 as_ls_L_option=
5879 fi
5880 as_test_x='
5881 eval sh -c '\''
5882 if test -d "$1"; then
5883 test -d "$1/.";
5884 else
5885 case $1 in #(
5886 -*)set "./$1";;
5887 esac;
5888 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5889 ???[sx]*):;;*)false;;esac;fi
5890 '\'' sh
5892 fi
5893 as_executable_p=$as_test_x
5895 # Sed expression to map a string onto a valid CPP name.
5896 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5898 # Sed expression to map a string onto a valid variable name.
5899 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5902 exec 6>&1
5903 ## ----------------------------------- ##
5904 ## Main body of $CONFIG_STATUS script. ##
5905 ## ----------------------------------- ##
5906 _ASEOF
5907 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5910 # Save the log message, to keep $0 and so on meaningful, and to
5911 # report actual input values of CONFIG_FILES etc. instead of their
5912 # values after options handling.
5913 ac_log="
5914 This file was extended by masqmail $as_me 0.3.4-dev, which was
5915 generated by GNU Autoconf 2.68. Invocation command line was
5917 CONFIG_FILES = $CONFIG_FILES
5918 CONFIG_HEADERS = $CONFIG_HEADERS
5919 CONFIG_LINKS = $CONFIG_LINKS
5920 CONFIG_COMMANDS = $CONFIG_COMMANDS
5921 $ $0 $@
5923 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5926 _ACEOF
5928 case $ac_config_files in *"
5929 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5930 esac
5932 case $ac_config_headers in *"
5933 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5934 esac
5937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5938 # Files that config.status was made for.
5939 config_files="$ac_config_files"
5940 config_headers="$ac_config_headers"
5941 config_commands="$ac_config_commands"
5943 _ACEOF
5945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5946 ac_cs_usage="\
5947 \`$as_me' instantiates files and other configuration actions
5948 from templates according to the current configuration. Unless the files
5949 and actions are specified as TAGs, all are instantiated by default.
5951 Usage: $0 [OPTION]... [TAG]...
5953 -h, --help print this help, then exit
5954 -V, --version print version number and configuration settings, then exit
5955 --config print configuration, then exit
5956 -q, --quiet, --silent
5957 do not print progress messages
5958 -d, --debug don't remove temporary files
5959 --recheck update $as_me by reconfiguring in the same conditions
5960 --file=FILE[:TEMPLATE]
5961 instantiate the configuration file FILE
5962 --header=FILE[:TEMPLATE]
5963 instantiate the configuration header FILE
5965 Configuration files:
5966 $config_files
5968 Configuration headers:
5969 $config_headers
5971 Configuration commands:
5972 $config_commands
5974 Report bugs to <meillo@marmaro.de>."
5976 _ACEOF
5977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5978 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5979 ac_cs_version="\\
5980 masqmail config.status 0.3.4-dev
5981 configured by $0, generated by GNU Autoconf 2.68,
5982 with options \\"\$ac_cs_config\\"
5984 Copyright (C) 2010 Free Software Foundation, Inc.
5985 This config.status script is free software; the Free Software Foundation
5986 gives unlimited permission to copy, distribute and modify it."
5988 ac_pwd='$ac_pwd'
5989 srcdir='$srcdir'
5990 INSTALL='$INSTALL'
5991 MKDIR_P='$MKDIR_P'
5992 AWK='$AWK'
5993 test -n "\$AWK" || AWK=awk
5994 _ACEOF
5996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5997 # The default lists apply if the user does not specify any file.
5998 ac_need_defaults=:
5999 while test $# != 0
6000 do
6001 case $1 in
6002 --*=?*)
6003 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6004 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6005 ac_shift=:
6006 ;;
6007 --*=)
6008 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6009 ac_optarg=
6010 ac_shift=:
6011 ;;
6012 *)
6013 ac_option=$1
6014 ac_optarg=$2
6015 ac_shift=shift
6016 ;;
6017 esac
6019 case $ac_option in
6020 # Handling of the options.
6021 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6022 ac_cs_recheck=: ;;
6023 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6024 $as_echo "$ac_cs_version"; exit ;;
6025 --config | --confi | --conf | --con | --co | --c )
6026 $as_echo "$ac_cs_config"; exit ;;
6027 --debug | --debu | --deb | --de | --d | -d )
6028 debug=: ;;
6029 --file | --fil | --fi | --f )
6030 $ac_shift
6031 case $ac_optarg in
6032 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6033 '') as_fn_error $? "missing file argument" ;;
6034 esac
6035 as_fn_append CONFIG_FILES " '$ac_optarg'"
6036 ac_need_defaults=false;;
6037 --header | --heade | --head | --hea )
6038 $ac_shift
6039 case $ac_optarg in
6040 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6041 esac
6042 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6043 ac_need_defaults=false;;
6044 --he | --h)
6045 # Conflict between --help and --header
6046 as_fn_error $? "ambiguous option: \`$1'
6047 Try \`$0 --help' for more information.";;
6048 --help | --hel | -h )
6049 $as_echo "$ac_cs_usage"; exit ;;
6050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6051 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6052 ac_cs_silent=: ;;
6054 # This is an error.
6055 -*) as_fn_error $? "unrecognized option: \`$1'
6056 Try \`$0 --help' for more information." ;;
6058 *) as_fn_append ac_config_targets " $1"
6059 ac_need_defaults=false ;;
6061 esac
6062 shift
6063 done
6065 ac_configure_extra_args=
6067 if $ac_cs_silent; then
6068 exec 6>/dev/null
6069 ac_configure_extra_args="$ac_configure_extra_args --silent"
6070 fi
6072 _ACEOF
6073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6074 if \$ac_cs_recheck; then
6075 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6076 shift
6077 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6078 CONFIG_SHELL='$SHELL'
6079 export CONFIG_SHELL
6080 exec "\$@"
6081 fi
6083 _ACEOF
6084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6085 exec 5>>config.log
6087 echo
6088 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6089 ## Running $as_me. ##
6090 _ASBOX
6091 $as_echo "$ac_log"
6092 } >&5
6094 _ACEOF
6095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6097 # INIT-COMMANDS
6099 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6101 _ACEOF
6103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6105 # Handling of arguments.
6106 for ac_config_target in $ac_config_targets
6107 do
6108 case $ac_config_target in
6109 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6110 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6111 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6112 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6113 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;;
6114 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
6115 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;;
6116 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6118 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6119 esac
6120 done
6123 # If the user did not use the arguments to specify the items to instantiate,
6124 # then the envvar interface is used. Set only those that are not.
6125 # We use the long form for the default assignment because of an extremely
6126 # bizarre bug on SunOS 4.1.3.
6127 if $ac_need_defaults; then
6128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6129 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6130 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6131 fi
6133 # Have a temporary directory for convenience. Make it in the build tree
6134 # simply because there is no reason against having it here, and in addition,
6135 # creating and moving files from /tmp can sometimes cause problems.
6136 # Hook for its removal unless debugging.
6137 # Note that there is a small window in which the directory will not be cleaned:
6138 # after its creation but before its name has been assigned to `$tmp'.
6139 $debug ||
6141 tmp= ac_tmp=
6142 trap 'exit_status=$?
6143 : "${ac_tmp:=$tmp}"
6144 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6145 ' 0
6146 trap 'as_fn_exit 1' 1 2 13 15
6148 # Create a (secure) tmp directory for tmp files.
6151 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6152 test -d "$tmp"
6153 } ||
6155 tmp=./conf$$-$RANDOM
6156 (umask 077 && mkdir "$tmp")
6157 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6158 ac_tmp=$tmp
6160 # Set up the scripts for CONFIG_FILES section.
6161 # No need to generate them if there are no CONFIG_FILES.
6162 # This happens for instance with `./config.status config.h'.
6163 if test -n "$CONFIG_FILES"; then
6166 ac_cr=`echo X | tr X '\015'`
6167 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6168 # But we know of no other shell where ac_cr would be empty at this
6169 # point, so we can use a bashism as a fallback.
6170 if test "x$ac_cr" = x; then
6171 eval ac_cr=\$\'\\r\'
6172 fi
6173 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6174 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6175 ac_cs_awk_cr='\\r'
6176 else
6177 ac_cs_awk_cr=$ac_cr
6178 fi
6180 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6181 _ACEOF
6185 echo "cat >conf$$subs.awk <<_ACEOF" &&
6186 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6187 echo "_ACEOF"
6188 } >conf$$subs.sh ||
6189 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6190 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6191 ac_delim='%!_!# '
6192 for ac_last_try in false false false false false :; do
6193 . ./conf$$subs.sh ||
6194 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6196 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6197 if test $ac_delim_n = $ac_delim_num; then
6198 break
6199 elif $ac_last_try; then
6200 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6201 else
6202 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6203 fi
6204 done
6205 rm -f conf$$subs.sh
6207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6208 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6209 _ACEOF
6210 sed -n '
6212 s/^/S["/; s/!.*/"]=/
6215 s/^[^!]*!//
6216 :repl
6217 t repl
6218 s/'"$ac_delim"'$//
6219 t delim
6220 :nl
6222 s/\(.\{148\}\)..*/\1/
6223 t more1
6224 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6227 b repl
6228 :more1
6229 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6232 s/.\{148\}//
6233 t nl
6234 :delim
6236 s/\(.\{148\}\)..*/\1/
6237 t more2
6238 s/["\\]/\\&/g; s/^/"/; s/$/"/
6241 :more2
6242 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6245 s/.\{148\}//
6246 t delim
6247 ' <conf$$subs.awk | sed '
6248 /^[^""]/{
6250 s/\n//
6252 ' >>$CONFIG_STATUS || ac_write_fail=1
6253 rm -f conf$$subs.awk
6254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6255 _ACAWK
6256 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6257 for (key in S) S_is_set[key] = 1
6258 FS = ""
6262 line = $ 0
6263 nfields = split(line, field, "@")
6264 substed = 0
6265 len = length(field[1])
6266 for (i = 2; i < nfields; i++) {
6267 key = field[i]
6268 keylen = length(key)
6269 if (S_is_set[key]) {
6270 value = S[key]
6271 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6272 len += length(value) + length(field[++i])
6273 substed = 1
6274 } else
6275 len += 1 + keylen
6278 print line
6281 _ACAWK
6282 _ACEOF
6283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6284 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6285 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6286 else
6287 cat
6288 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6289 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6290 _ACEOF
6292 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6293 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6294 # trailing colons and then remove the whole line if VPATH becomes empty
6295 # (actually we leave an empty line to preserve line numbers).
6296 if test "x$srcdir" = x.; then
6297 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6299 s///
6300 s/^/:/
6301 s/[ ]*$/:/
6302 s/:\$(srcdir):/:/g
6303 s/:\${srcdir}:/:/g
6304 s/:@srcdir@:/:/g
6305 s/^:*//
6306 s/:*$//
6308 s/\(=[ ]*\).*/\1/
6310 s/\n//
6311 s/^[^=]*=[ ]*$//
6312 }'
6313 fi
6315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6316 fi # test -n "$CONFIG_FILES"
6318 # Set up the scripts for CONFIG_HEADERS section.
6319 # No need to generate them if there are no CONFIG_HEADERS.
6320 # This happens for instance with `./config.status Makefile'.
6321 if test -n "$CONFIG_HEADERS"; then
6322 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6323 BEGIN {
6324 _ACEOF
6326 # Transform confdefs.h into an awk script `defines.awk', embedded as
6327 # here-document in config.status, that substitutes the proper values into
6328 # config.h.in to produce config.h.
6330 # Create a delimiter string that does not exist in confdefs.h, to ease
6331 # handling of long lines.
6332 ac_delim='%!_!# '
6333 for ac_last_try in false false :; do
6334 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6335 if test -z "$ac_tt"; then
6336 break
6337 elif $ac_last_try; then
6338 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6339 else
6340 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6341 fi
6342 done
6344 # For the awk script, D is an array of macro values keyed by name,
6345 # likewise P contains macro parameters if any. Preserve backslash
6346 # newline sequences.
6348 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6349 sed -n '
6350 s/.\{148\}/&'"$ac_delim"'/g
6351 t rset
6352 :rset
6353 s/^[ ]*#[ ]*define[ ][ ]*/ /
6354 t def
6356 :def
6357 s/\\$//
6358 t bsnl
6359 s/["\\]/\\&/g
6360 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6361 D["\1"]=" \3"/p
6362 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6364 :bsnl
6365 s/["\\]/\\&/g
6366 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6367 D["\1"]=" \3\\\\\\n"\\/p
6368 t cont
6369 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6370 t cont
6372 :cont
6374 s/.\{148\}/&'"$ac_delim"'/g
6375 t clear
6376 :clear
6377 s/\\$//
6378 t bsnlc
6379 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6381 :bsnlc
6382 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6383 b cont
6384 ' <confdefs.h | sed '
6385 s/'"$ac_delim"'/"\\\
6386 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6389 for (key in D) D_is_set[key] = 1
6390 FS = ""
6392 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6393 line = \$ 0
6394 split(line, arg, " ")
6395 if (arg[1] == "#") {
6396 defundef = arg[2]
6397 mac1 = arg[3]
6398 } else {
6399 defundef = substr(arg[1], 2)
6400 mac1 = arg[2]
6402 split(mac1, mac2, "(") #)
6403 macro = mac2[1]
6404 prefix = substr(line, 1, index(line, defundef) - 1)
6405 if (D_is_set[macro]) {
6406 # Preserve the white space surrounding the "#".
6407 print prefix "define", macro P[macro] D[macro]
6408 next
6409 } else {
6410 # Replace #undef with comments. This is necessary, for example,
6411 # in the case of _POSIX_SOURCE, which is predefined and required
6412 # on some systems where configure will not decide to define it.
6413 if (defundef == "undef") {
6414 print "/*", prefix defundef, macro, "*/"
6415 next
6419 { print }
6420 _ACAWK
6421 _ACEOF
6422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6423 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6424 fi # test -n "$CONFIG_HEADERS"
6427 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6428 shift
6429 for ac_tag
6430 do
6431 case $ac_tag in
6432 :[FHLC]) ac_mode=$ac_tag; continue;;
6433 esac
6434 case $ac_mode$ac_tag in
6435 :[FHL]*:*);;
6436 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6437 :[FH]-) ac_tag=-:-;;
6438 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6439 esac
6440 ac_save_IFS=$IFS
6441 IFS=:
6442 set x $ac_tag
6443 IFS=$ac_save_IFS
6444 shift
6445 ac_file=$1
6446 shift
6448 case $ac_mode in
6449 :L) ac_source=$1;;
6450 :[FH])
6451 ac_file_inputs=
6452 for ac_f
6453 do
6454 case $ac_f in
6455 -) ac_f="$ac_tmp/stdin";;
6456 *) # Look for the file first in the build tree, then in the source tree
6457 # (if the path is not absolute). The absolute path cannot be DOS-style,
6458 # because $ac_f cannot contain `:'.
6459 test -f "$ac_f" ||
6460 case $ac_f in
6461 [\\/$]*) false;;
6462 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6463 esac ||
6464 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6465 esac
6466 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6467 as_fn_append ac_file_inputs " '$ac_f'"
6468 done
6470 # Let's still pretend it is `configure' which instantiates (i.e., don't
6471 # use $as_me), people would be surprised to read:
6472 # /* config.h. Generated by config.status. */
6473 configure_input='Generated from '`
6474 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6475 `' by configure.'
6476 if test x"$ac_file" != x-; then
6477 configure_input="$ac_file. $configure_input"
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6479 $as_echo "$as_me: creating $ac_file" >&6;}
6480 fi
6481 # Neutralize special characters interpreted by sed in replacement strings.
6482 case $configure_input in #(
6483 *\&* | *\|* | *\\* )
6484 ac_sed_conf_input=`$as_echo "$configure_input" |
6485 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6486 *) ac_sed_conf_input=$configure_input;;
6487 esac
6489 case $ac_tag in
6490 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6491 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6492 esac
6493 ;;
6494 esac
6496 ac_dir=`$as_dirname -- "$ac_file" ||
6497 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6498 X"$ac_file" : 'X\(//\)[^/]' \| \
6499 X"$ac_file" : 'X\(//\)$' \| \
6500 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6501 $as_echo X"$ac_file" |
6502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6503 s//\1/
6506 /^X\(\/\/\)[^/].*/{
6507 s//\1/
6510 /^X\(\/\/\)$/{
6511 s//\1/
6514 /^X\(\/\).*/{
6515 s//\1/
6518 s/.*/./; q'`
6519 as_dir="$ac_dir"; as_fn_mkdir_p
6520 ac_builddir=.
6522 case "$ac_dir" in
6523 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6524 *)
6525 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6526 # A ".." for each directory in $ac_dir_suffix.
6527 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6528 case $ac_top_builddir_sub in
6529 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6530 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6531 esac ;;
6532 esac
6533 ac_abs_top_builddir=$ac_pwd
6534 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6535 # for backward compatibility:
6536 ac_top_builddir=$ac_top_build_prefix
6538 case $srcdir in
6539 .) # We are building in place.
6540 ac_srcdir=.
6541 ac_top_srcdir=$ac_top_builddir_sub
6542 ac_abs_top_srcdir=$ac_pwd ;;
6543 [\\/]* | ?:[\\/]* ) # Absolute name.
6544 ac_srcdir=$srcdir$ac_dir_suffix;
6545 ac_top_srcdir=$srcdir
6546 ac_abs_top_srcdir=$srcdir ;;
6547 *) # Relative name.
6548 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6549 ac_top_srcdir=$ac_top_build_prefix$srcdir
6550 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6551 esac
6552 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6555 case $ac_mode in
6556 :F)
6558 # CONFIG_FILE
6561 case $INSTALL in
6562 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6563 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6564 esac
6565 ac_MKDIR_P=$MKDIR_P
6566 case $MKDIR_P in
6567 [\\/$]* | ?:[\\/]* ) ;;
6568 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6569 esac
6570 _ACEOF
6572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6573 # If the template does not know about datarootdir, expand it.
6574 # FIXME: This hack should be removed a few years after 2.60.
6575 ac_datarootdir_hack=; ac_datarootdir_seen=
6576 ac_sed_dataroot='
6577 /datarootdir/ {
6581 /@datadir@/p
6582 /@docdir@/p
6583 /@infodir@/p
6584 /@localedir@/p
6585 /@mandir@/p'
6586 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6587 *datarootdir*) ac_datarootdir_seen=yes;;
6588 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6590 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6591 _ACEOF
6592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6593 ac_datarootdir_hack='
6594 s&@datadir@&$datadir&g
6595 s&@docdir@&$docdir&g
6596 s&@infodir@&$infodir&g
6597 s&@localedir@&$localedir&g
6598 s&@mandir@&$mandir&g
6599 s&\\\${datarootdir}&$datarootdir&g' ;;
6600 esac
6601 _ACEOF
6603 # Neutralize VPATH when `$srcdir' = `.'.
6604 # Shell code in configure.ac might set extrasub.
6605 # FIXME: do we really want to maintain this feature?
6606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6607 ac_sed_extra="$ac_vpsub
6608 $extrasub
6609 _ACEOF
6610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6611 :t
6612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6613 s|@configure_input@|$ac_sed_conf_input|;t t
6614 s&@top_builddir@&$ac_top_builddir_sub&;t t
6615 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6616 s&@srcdir@&$ac_srcdir&;t t
6617 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6618 s&@top_srcdir@&$ac_top_srcdir&;t t
6619 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6620 s&@builddir@&$ac_builddir&;t t
6621 s&@abs_builddir@&$ac_abs_builddir&;t t
6622 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6623 s&@INSTALL@&$ac_INSTALL&;t t
6624 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6625 $ac_datarootdir_hack
6627 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6628 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6630 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6631 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6632 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6633 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6635 which seems to be undefined. Please make sure it is defined" >&5
6636 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6637 which seems to be undefined. Please make sure it is defined" >&2;}
6639 rm -f "$ac_tmp/stdin"
6640 case $ac_file in
6641 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6642 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6643 esac \
6644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6645 ;;
6646 :H)
6648 # CONFIG_HEADER
6650 if test x"$ac_file" != x-; then
6652 $as_echo "/* $configure_input */" \
6653 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6654 } >"$ac_tmp/config.h" \
6655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6656 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6658 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6659 else
6660 rm -f "$ac_file"
6661 mv "$ac_tmp/config.h" "$ac_file" \
6662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6663 fi
6664 else
6665 $as_echo "/* $configure_input */" \
6666 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6667 || as_fn_error $? "could not create -" "$LINENO" 5
6668 fi
6669 # Compute "$ac_file"'s index in $config_headers.
6670 _am_arg="$ac_file"
6671 _am_stamp_count=1
6672 for _am_header in $config_headers :; do
6673 case $_am_header in
6674 $_am_arg | $_am_arg:* )
6675 break ;;
6676 * )
6677 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6678 esac
6679 done
6680 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6681 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6682 X"$_am_arg" : 'X\(//\)[^/]' \| \
6683 X"$_am_arg" : 'X\(//\)$' \| \
6684 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6685 $as_echo X"$_am_arg" |
6686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6687 s//\1/
6690 /^X\(\/\/\)[^/].*/{
6691 s//\1/
6694 /^X\(\/\/\)$/{
6695 s//\1/
6698 /^X\(\/\).*/{
6699 s//\1/
6702 s/.*/./; q'`/stamp-h$_am_stamp_count
6703 ;;
6705 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6706 $as_echo "$as_me: executing $ac_file commands" >&6;}
6707 ;;
6708 esac
6711 case $ac_file$ac_mode in
6712 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6713 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6714 # are listed without --file. Let's play safe and only enable the eval
6715 # if we detect the quoting.
6716 case $CONFIG_FILES in
6717 *\'*) eval set x "$CONFIG_FILES" ;;
6718 *) set x $CONFIG_FILES ;;
6719 esac
6720 shift
6721 for mf
6722 do
6723 # Strip MF so we end up with the name of the file.
6724 mf=`echo "$mf" | sed -e 's/:.*$//'`
6725 # Check whether this is an Automake generated Makefile or not.
6726 # We used to match only the files named `Makefile.in', but
6727 # some people rename them; so instead we look at the file content.
6728 # Grep'ing the first line is not enough: some people post-process
6729 # each Makefile.in and add a new line on top of each file to say so.
6730 # Grep'ing the whole file is not good either: AIX grep has a line
6731 # limit of 2048, but all sed's we know have understand at least 4000.
6732 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6733 dirpart=`$as_dirname -- "$mf" ||
6734 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6735 X"$mf" : 'X\(//\)[^/]' \| \
6736 X"$mf" : 'X\(//\)$' \| \
6737 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6738 $as_echo X"$mf" |
6739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6740 s//\1/
6743 /^X\(\/\/\)[^/].*/{
6744 s//\1/
6747 /^X\(\/\/\)$/{
6748 s//\1/
6751 /^X\(\/\).*/{
6752 s//\1/
6755 s/.*/./; q'`
6756 else
6757 continue
6758 fi
6759 # Extract the definition of DEPDIR, am__include, and am__quote
6760 # from the Makefile without running `make'.
6761 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6762 test -z "$DEPDIR" && continue
6763 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6764 test -z "am__include" && continue
6765 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6766 # When using ansi2knr, U may be empty or an underscore; expand it
6767 U=`sed -n 's/^U = //p' < "$mf"`
6768 # Find all dependency output files, they are included files with
6769 # $(DEPDIR) in their names. We invoke sed twice because it is the
6770 # simplest approach to changing $(DEPDIR) to its actual value in the
6771 # expansion.
6772 for file in `sed -n "
6773 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6774 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6775 # Make sure the directory exists.
6776 test -f "$dirpart/$file" && continue
6777 fdir=`$as_dirname -- "$file" ||
6778 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6779 X"$file" : 'X\(//\)[^/]' \| \
6780 X"$file" : 'X\(//\)$' \| \
6781 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6782 $as_echo X"$file" |
6783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6784 s//\1/
6787 /^X\(\/\/\)[^/].*/{
6788 s//\1/
6791 /^X\(\/\/\)$/{
6792 s//\1/
6795 /^X\(\/\).*/{
6796 s//\1/
6799 s/.*/./; q'`
6800 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6801 # echo "creating $dirpart/$file"
6802 echo '# dummy' > "$dirpart/$file"
6803 done
6804 done
6806 ;;
6808 esac
6809 done # for ac_tag
6812 as_fn_exit 0
6813 _ACEOF
6814 ac_clean_files=$ac_clean_files_save
6816 test $ac_write_fail = 0 ||
6817 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6820 # configure is writing to config.log, and then calls config.status.
6821 # config.status does its own redirection, appending to config.log.
6822 # Unfortunately, on DOS this fails, as config.log is still kept open
6823 # by configure, so config.status won't be able to write to it; its
6824 # output is simply discarded. So we exec the FD to /dev/null,
6825 # effectively closing config.log, so it can be properly (re)opened and
6826 # appended to by config.status. When coming back to configure, we
6827 # need to make the FD available again.
6828 if test "$no_create" != yes; then
6829 ac_cs_success=:
6830 ac_config_status_args=
6831 test "$silent" = yes &&
6832 ac_config_status_args="$ac_config_status_args --quiet"
6833 exec 5>/dev/null
6834 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6835 exec 5>>config.log
6836 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6837 # would make configure fail if this is the last instruction.
6838 $ac_cs_success || as_fn_exit 1
6839 fi
6840 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6842 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6843 fi