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