masqmail

view configure @ 177:6530806d418f

better debug logging of outgoing SMTP dialogs the dialog is logged in the style of the RFC examples: ``C: foo'' is said by the client, ``S: bar'' is said by the server debug level 4 is used, but login data is logged on level 6
author meillo@marmaro.de
date Wed, 14 Jul 2010 16:35:17 +0200
parents 5b621742b2e7 4917e764f108
children 8b17ea9fd17b
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 with_glib_static
708 enable_smtp_server
709 enable_pop3
710 enable_auth
711 enable_maildir
712 with_libcrypto
713 enable_ident
714 with_liblockfile
715 with_logdir
716 with_spooldir
717 with_confdir
718 '
719 ac_precious_vars='build_alias
720 host_alias
721 target_alias
722 CC
723 CFLAGS
724 LDFLAGS
725 LIBS
726 CPPFLAGS
727 CPP
728 PKG_CONFIG
729 PKG_CONFIG_PATH
730 PKG_CONFIG_LIBDIR
731 GLIB_CFLAGS
732 GLIB_LIBS'
735 # Initialize some variables set by options.
736 ac_init_help=
737 ac_init_version=false
738 ac_unrecognized_opts=
739 ac_unrecognized_sep=
740 # The variables have the same names as the options, with
741 # dashes changed to underlines.
742 cache_file=/dev/null
743 exec_prefix=NONE
744 no_create=
745 no_recursion=
746 prefix=NONE
747 program_prefix=NONE
748 program_suffix=NONE
749 program_transform_name=s,x,x,
750 silent=
751 site=
752 srcdir=
753 verbose=
754 x_includes=NONE
755 x_libraries=NONE
757 # Installation directory options.
758 # These are left unexpanded so users can "make install exec_prefix=/foo"
759 # and all the variables that are supposed to be based on exec_prefix
760 # by default will actually change.
761 # Use braces instead of parens because sh, perl, etc. also accept them.
762 # (The list follows the same order as the GNU Coding Standards.)
763 bindir='${exec_prefix}/bin'
764 sbindir='${exec_prefix}/sbin'
765 libexecdir='${exec_prefix}/libexec'
766 datarootdir='${prefix}/share'
767 datadir='${datarootdir}'
768 sysconfdir='${prefix}/etc'
769 sharedstatedir='${prefix}/com'
770 localstatedir='${prefix}/var'
771 includedir='${prefix}/include'
772 oldincludedir='/usr/include'
773 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
774 infodir='${datarootdir}/info'
775 htmldir='${docdir}'
776 dvidir='${docdir}'
777 pdfdir='${docdir}'
778 psdir='${docdir}'
779 libdir='${exec_prefix}/lib'
780 localedir='${datarootdir}/locale'
781 mandir='${datarootdir}/man'
783 ac_prev=
784 ac_dashdash=
785 for ac_option
786 do
787 # If the previous option needs an argument, assign it.
788 if test -n "$ac_prev"; then
789 eval $ac_prev=\$ac_option
790 ac_prev=
791 continue
792 fi
794 case $ac_option in
795 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796 *) ac_optarg=yes ;;
797 esac
799 # Accept the important Cygnus configure options, so we can diagnose typos.
801 case $ac_dashdash$ac_option in
802 --)
803 ac_dashdash=yes ;;
805 -bindir | --bindir | --bindi | --bind | --bin | --bi)
806 ac_prev=bindir ;;
807 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
808 bindir=$ac_optarg ;;
810 -build | --build | --buil | --bui | --bu)
811 ac_prev=build_alias ;;
812 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
813 build_alias=$ac_optarg ;;
815 -cache-file | --cache-file | --cache-fil | --cache-fi \
816 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
817 ac_prev=cache_file ;;
818 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
819 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
820 cache_file=$ac_optarg ;;
822 --config-cache | -C)
823 cache_file=config.cache ;;
825 -datadir | --datadir | --datadi | --datad)
826 ac_prev=datadir ;;
827 -datadir=* | --datadir=* | --datadi=* | --datad=*)
828 datadir=$ac_optarg ;;
830 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
831 | --dataroo | --dataro | --datar)
832 ac_prev=datarootdir ;;
833 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
834 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
835 datarootdir=$ac_optarg ;;
837 -disable-* | --disable-*)
838 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
841 as_fn_error "invalid feature name: $ac_useropt"
842 ac_useropt_orig=$ac_useropt
843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
844 case $ac_user_opts in
845 *"
846 "enable_$ac_useropt"
847 "*) ;;
848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
849 ac_unrecognized_sep=', ';;
850 esac
851 eval enable_$ac_useropt=no ;;
853 -docdir | --docdir | --docdi | --doc | --do)
854 ac_prev=docdir ;;
855 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
856 docdir=$ac_optarg ;;
858 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
859 ac_prev=dvidir ;;
860 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
861 dvidir=$ac_optarg ;;
863 -enable-* | --enable-*)
864 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
867 as_fn_error "invalid feature name: $ac_useropt"
868 ac_useropt_orig=$ac_useropt
869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870 case $ac_user_opts in
871 *"
872 "enable_$ac_useropt"
873 "*) ;;
874 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
875 ac_unrecognized_sep=', ';;
876 esac
877 eval enable_$ac_useropt=\$ac_optarg ;;
879 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
880 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
881 | --exec | --exe | --ex)
882 ac_prev=exec_prefix ;;
883 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
884 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
885 | --exec=* | --exe=* | --ex=*)
886 exec_prefix=$ac_optarg ;;
888 -gas | --gas | --ga | --g)
889 # Obsolete; use --with-gas.
890 with_gas=yes ;;
892 -help | --help | --hel | --he | -h)
893 ac_init_help=long ;;
894 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
895 ac_init_help=recursive ;;
896 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
897 ac_init_help=short ;;
899 -host | --host | --hos | --ho)
900 ac_prev=host_alias ;;
901 -host=* | --host=* | --hos=* | --ho=*)
902 host_alias=$ac_optarg ;;
904 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
905 ac_prev=htmldir ;;
906 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
907 | --ht=*)
908 htmldir=$ac_optarg ;;
910 -includedir | --includedir | --includedi | --included | --include \
911 | --includ | --inclu | --incl | --inc)
912 ac_prev=includedir ;;
913 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
914 | --includ=* | --inclu=* | --incl=* | --inc=*)
915 includedir=$ac_optarg ;;
917 -infodir | --infodir | --infodi | --infod | --info | --inf)
918 ac_prev=infodir ;;
919 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
920 infodir=$ac_optarg ;;
922 -libdir | --libdir | --libdi | --libd)
923 ac_prev=libdir ;;
924 -libdir=* | --libdir=* | --libdi=* | --libd=*)
925 libdir=$ac_optarg ;;
927 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
928 | --libexe | --libex | --libe)
929 ac_prev=libexecdir ;;
930 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
931 | --libexe=* | --libex=* | --libe=*)
932 libexecdir=$ac_optarg ;;
934 -localedir | --localedir | --localedi | --localed | --locale)
935 ac_prev=localedir ;;
936 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
937 localedir=$ac_optarg ;;
939 -localstatedir | --localstatedir | --localstatedi | --localstated \
940 | --localstate | --localstat | --localsta | --localst | --locals)
941 ac_prev=localstatedir ;;
942 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
943 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
944 localstatedir=$ac_optarg ;;
946 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
947 ac_prev=mandir ;;
948 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
949 mandir=$ac_optarg ;;
951 -nfp | --nfp | --nf)
952 # Obsolete; use --without-fp.
953 with_fp=no ;;
955 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
956 | --no-cr | --no-c | -n)
957 no_create=yes ;;
959 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
960 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
961 no_recursion=yes ;;
963 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
964 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
965 | --oldin | --oldi | --old | --ol | --o)
966 ac_prev=oldincludedir ;;
967 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
968 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
969 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
970 oldincludedir=$ac_optarg ;;
972 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
973 ac_prev=prefix ;;
974 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
975 prefix=$ac_optarg ;;
977 -program-prefix | --program-prefix | --program-prefi | --program-pref \
978 | --program-pre | --program-pr | --program-p)
979 ac_prev=program_prefix ;;
980 -program-prefix=* | --program-prefix=* | --program-prefi=* \
981 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
982 program_prefix=$ac_optarg ;;
984 -program-suffix | --program-suffix | --program-suffi | --program-suff \
985 | --program-suf | --program-su | --program-s)
986 ac_prev=program_suffix ;;
987 -program-suffix=* | --program-suffix=* | --program-suffi=* \
988 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
989 program_suffix=$ac_optarg ;;
991 -program-transform-name | --program-transform-name \
992 | --program-transform-nam | --program-transform-na \
993 | --program-transform-n | --program-transform- \
994 | --program-transform | --program-transfor \
995 | --program-transfo | --program-transf \
996 | --program-trans | --program-tran \
997 | --progr-tra | --program-tr | --program-t)
998 ac_prev=program_transform_name ;;
999 -program-transform-name=* | --program-transform-name=* \
1000 | --program-transform-nam=* | --program-transform-na=* \
1001 | --program-transform-n=* | --program-transform-=* \
1002 | --program-transform=* | --program-transfor=* \
1003 | --program-transfo=* | --program-transf=* \
1004 | --program-trans=* | --program-tran=* \
1005 | --progr-tra=* | --program-tr=* | --program-t=*)
1006 program_transform_name=$ac_optarg ;;
1008 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1009 ac_prev=pdfdir ;;
1010 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1011 pdfdir=$ac_optarg ;;
1013 -psdir | --psdir | --psdi | --psd | --ps)
1014 ac_prev=psdir ;;
1015 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1016 psdir=$ac_optarg ;;
1018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1019 | -silent | --silent | --silen | --sile | --sil)
1020 silent=yes ;;
1022 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1023 ac_prev=sbindir ;;
1024 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1025 | --sbi=* | --sb=*)
1026 sbindir=$ac_optarg ;;
1028 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1029 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1030 | --sharedst | --shareds | --shared | --share | --shar \
1031 | --sha | --sh)
1032 ac_prev=sharedstatedir ;;
1033 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1034 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1035 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1036 | --sha=* | --sh=*)
1037 sharedstatedir=$ac_optarg ;;
1039 -site | --site | --sit)
1040 ac_prev=site ;;
1041 -site=* | --site=* | --sit=*)
1042 site=$ac_optarg ;;
1044 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1045 ac_prev=srcdir ;;
1046 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1047 srcdir=$ac_optarg ;;
1049 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1050 | --syscon | --sysco | --sysc | --sys | --sy)
1051 ac_prev=sysconfdir ;;
1052 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1053 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1054 sysconfdir=$ac_optarg ;;
1056 -target | --target | --targe | --targ | --tar | --ta | --t)
1057 ac_prev=target_alias ;;
1058 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1059 target_alias=$ac_optarg ;;
1061 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1062 verbose=yes ;;
1064 -version | --version | --versio | --versi | --vers | -V)
1065 ac_init_version=: ;;
1067 -with-* | --with-*)
1068 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1071 as_fn_error "invalid package name: $ac_useropt"
1072 ac_useropt_orig=$ac_useropt
1073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1075 *"
1076 "with_$ac_useropt"
1077 "*) ;;
1078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1079 ac_unrecognized_sep=', ';;
1080 esac
1081 eval with_$ac_useropt=\$ac_optarg ;;
1083 -without-* | --without-*)
1084 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1087 as_fn_error "invalid package name: $ac_useropt"
1088 ac_useropt_orig=$ac_useropt
1089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1091 *"
1092 "with_$ac_useropt"
1093 "*) ;;
1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1095 ac_unrecognized_sep=', ';;
1096 esac
1097 eval with_$ac_useropt=no ;;
1099 --x)
1100 # Obsolete; use --with-x.
1101 with_x=yes ;;
1103 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1104 | --x-incl | --x-inc | --x-in | --x-i)
1105 ac_prev=x_includes ;;
1106 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1107 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1108 x_includes=$ac_optarg ;;
1110 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1111 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1112 ac_prev=x_libraries ;;
1113 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1114 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1115 x_libraries=$ac_optarg ;;
1117 -*) as_fn_error "unrecognized option: \`$ac_option'
1118 Try \`$0 --help' for more information."
1119 ;;
1121 *=*)
1122 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1123 # Reject names that are not valid shell variable names.
1124 case $ac_envvar in #(
1125 '' | [0-9]* | *[!_$as_cr_alnum]* )
1126 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1127 esac
1128 eval $ac_envvar=\$ac_optarg
1129 export $ac_envvar ;;
1131 *)
1132 # FIXME: should be removed in autoconf 3.0.
1133 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1134 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1135 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1136 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1137 ;;
1139 esac
1140 done
1142 if test -n "$ac_prev"; then
1143 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1144 as_fn_error "missing argument to $ac_option"
1145 fi
1147 if test -n "$ac_unrecognized_opts"; then
1148 case $enable_option_checking in
1149 no) ;;
1150 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1151 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1152 esac
1153 fi
1155 # Check all directory arguments for consistency.
1156 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1157 datadir sysconfdir sharedstatedir localstatedir includedir \
1158 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1159 libdir localedir mandir
1160 do
1161 eval ac_val=\$$ac_var
1162 # Remove trailing slashes.
1163 case $ac_val in
1164 */ )
1165 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1166 eval $ac_var=\$ac_val;;
1167 esac
1168 # Be sure to have absolute directory names.
1169 case $ac_val in
1170 [\\/$]* | ?:[\\/]* ) continue;;
1171 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1172 esac
1173 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1174 done
1176 # There might be people who depend on the old broken behavior: `$host'
1177 # used to hold the argument of --host etc.
1178 # FIXME: To remove some day.
1179 build=$build_alias
1180 host=$host_alias
1181 target=$target_alias
1183 # FIXME: To remove some day.
1184 if test "x$host_alias" != x; then
1185 if test "x$build_alias" = x; then
1186 cross_compiling=maybe
1187 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1188 If a cross compiler is detected then cross compile mode will be used." >&2
1189 elif test "x$build_alias" != "x$host_alias"; then
1190 cross_compiling=yes
1191 fi
1192 fi
1194 ac_tool_prefix=
1195 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1197 test "$silent" = yes && exec 6>/dev/null
1200 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1201 ac_ls_di=`ls -di .` &&
1202 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1203 as_fn_error "working directory cannot be determined"
1204 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1205 as_fn_error "pwd does not report name of working directory"
1208 # Find the source files, if location was not specified.
1209 if test -z "$srcdir"; then
1210 ac_srcdir_defaulted=yes
1211 # Try the directory containing this script, then the parent directory.
1212 ac_confdir=`$as_dirname -- "$as_myself" ||
1213 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1214 X"$as_myself" : 'X\(//\)[^/]' \| \
1215 X"$as_myself" : 'X\(//\)$' \| \
1216 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1217 $as_echo X"$as_myself" |
1218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1219 s//\1/
1222 /^X\(\/\/\)[^/].*/{
1223 s//\1/
1226 /^X\(\/\/\)$/{
1227 s//\1/
1230 /^X\(\/\).*/{
1231 s//\1/
1234 s/.*/./; q'`
1235 srcdir=$ac_confdir
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1237 srcdir=..
1238 fi
1239 else
1240 ac_srcdir_defaulted=no
1241 fi
1242 if test ! -r "$srcdir/$ac_unique_file"; then
1243 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1244 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1245 fi
1246 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1247 ac_abs_confdir=`(
1248 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1249 pwd)`
1250 # When building in place, set srcdir=.
1251 if test "$ac_abs_confdir" = "$ac_pwd"; then
1252 srcdir=.
1253 fi
1254 # Remove unnecessary trailing slashes from srcdir.
1255 # Double slashes in file names in object file debugging info
1256 # mess up M-x gdb in Emacs.
1257 case $srcdir in
1258 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1259 esac
1260 for ac_var in $ac_precious_vars; do
1261 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1262 eval ac_env_${ac_var}_value=\$${ac_var}
1263 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1264 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1265 done
1268 # Report the --help message.
1270 if test "$ac_init_help" = "long"; then
1271 # Omit some internal or obsolete options to make the list less imposing.
1272 # This message is too long to be a string in the A/UX 3.1 sh.
1273 cat <<_ACEOF
1274 \`configure' configures masqmail 0.3.0 to adapt to many kinds of systems.
1276 Usage: $0 [OPTION]... [VAR=VALUE]...
1278 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1279 VAR=VALUE. See below for descriptions of some of the useful variables.
1281 Defaults for the options are specified in brackets.
1283 Configuration:
1284 -h, --help display this help and exit
1285 --help=short display options specific to this package
1286 --help=recursive display the short help of all the included packages
1287 -V, --version display version information and exit
1288 -q, --quiet, --silent do not print \`checking...' messages
1289 --cache-file=FILE cache test results in FILE [disabled]
1290 -C, --config-cache alias for \`--cache-file=config.cache'
1291 -n, --no-create do not create output files
1292 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1294 Installation directories:
1295 --prefix=PREFIX install architecture-independent files in PREFIX
1296 [$ac_default_prefix]
1297 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1298 [PREFIX]
1300 By default, \`make install' will install all the files in
1301 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1302 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1303 for instance \`--prefix=\$HOME'.
1305 For better control, use the options below.
1307 Fine tuning of the installation directories:
1308 --bindir=DIR user executables [EPREFIX/bin]
1309 --sbindir=DIR system admin executables [EPREFIX/sbin]
1310 --libexecdir=DIR program executables [EPREFIX/libexec]
1311 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1312 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1313 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1314 --libdir=DIR object code libraries [EPREFIX/lib]
1315 --includedir=DIR C header files [PREFIX/include]
1316 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1317 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1318 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1319 --infodir=DIR info documentation [DATAROOTDIR/info]
1320 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1321 --mandir=DIR man documentation [DATAROOTDIR/man]
1322 --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail]
1323 --htmldir=DIR html documentation [DOCDIR]
1324 --dvidir=DIR dvi documentation [DOCDIR]
1325 --pdfdir=DIR pdf documentation [DOCDIR]
1326 --psdir=DIR ps documentation [DOCDIR]
1327 _ACEOF
1329 cat <<\_ACEOF
1331 Program names:
1332 --program-prefix=PREFIX prepend PREFIX to installed program names
1333 --program-suffix=SUFFIX append SUFFIX to installed program names
1334 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1335 _ACEOF
1336 fi
1338 if test -n "$ac_init_help"; then
1339 case $ac_init_help in
1340 short | recursive ) echo "Configuration of masqmail 0.3.0:";;
1341 esac
1342 cat <<\_ACEOF
1344 Optional Features:
1345 --disable-option-checking ignore unrecognized --enable/--with options
1346 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1347 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1348 --disable-dependency-tracking speeds up one-time build
1349 --enable-dependency-tracking do not reject slow dependency extractors
1350 --disable-resolver disable resolver support
1351 --disable-debug disable debugging
1352 --disable-smtp-server disable smtp server support
1353 --disable-pop3 disable pop3 support
1354 --enable-auth enable AUTH (RFC 2554) client support
1355 --enable-maildir enable qmail style maildir support
1356 --enable-ident enable ident (RFC 1413) support
1358 Optional Packages:
1359 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1360 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1361 --with-user=USER set user mail
1362 --with-group=GROUP set group trusted
1363 --with-glib-static=path link glib statically (path mandatory!)
1364 --with-libcrypto use libcrypto
1365 --with-liblockfile use liblock (for Debian)
1366 --with-logdir=DIR set log directory /var/log/masqmail
1367 --with-spooldir=DIR set spool directory /var/spool/masqmail
1368 --with-confdir directory for configuration /etc/masqmail
1370 Some influential environment variables:
1371 CC C compiler command
1372 CFLAGS C compiler flags
1373 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1374 nonstandard directory <lib dir>
1375 LIBS libraries to pass to the linker, e.g. -l<library>
1376 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1377 you have headers in a nonstandard directory <include dir>
1378 CPP C preprocessor
1379 PKG_CONFIG path to pkg-config utility
1380 PKG_CONFIG_PATH
1381 directories to add to pkg-config's search path
1382 PKG_CONFIG_LIBDIR
1383 path overriding pkg-config's built-in search path
1384 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1385 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1387 Use these variables to override the choices made by `configure' or to help
1388 it to find libraries and programs with nonstandard names/locations.
1390 Report bugs to <meillo@marmaro.de>.
1391 _ACEOF
1392 ac_status=$?
1393 fi
1395 if test "$ac_init_help" = "recursive"; then
1396 # If there are subdirs, report their specific --help.
1397 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1398 test -d "$ac_dir" ||
1399 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1400 continue
1401 ac_builddir=.
1403 case "$ac_dir" in
1404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *)
1406 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1407 # A ".." for each directory in $ac_dir_suffix.
1408 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1409 case $ac_top_builddir_sub in
1410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1412 esac ;;
1413 esac
1414 ac_abs_top_builddir=$ac_pwd
1415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1416 # for backward compatibility:
1417 ac_top_builddir=$ac_top_build_prefix
1419 case $srcdir in
1420 .) # We are building in place.
1421 ac_srcdir=.
1422 ac_top_srcdir=$ac_top_builddir_sub
1423 ac_abs_top_srcdir=$ac_pwd ;;
1424 [\\/]* | ?:[\\/]* ) # Absolute name.
1425 ac_srcdir=$srcdir$ac_dir_suffix;
1426 ac_top_srcdir=$srcdir
1427 ac_abs_top_srcdir=$srcdir ;;
1428 *) # Relative name.
1429 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1430 ac_top_srcdir=$ac_top_build_prefix$srcdir
1431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1432 esac
1433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1435 cd "$ac_dir" || { ac_status=$?; continue; }
1436 # Check for guested configure.
1437 if test -f "$ac_srcdir/configure.gnu"; then
1438 echo &&
1439 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1440 elif test -f "$ac_srcdir/configure"; then
1441 echo &&
1442 $SHELL "$ac_srcdir/configure" --help=recursive
1443 else
1444 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1445 fi || ac_status=$?
1446 cd "$ac_pwd" || { ac_status=$?; break; }
1447 done
1448 fi
1450 test -n "$ac_init_help" && exit $ac_status
1451 if $ac_init_version; then
1452 cat <<\_ACEOF
1453 masqmail configure 0.3.0
1454 generated by GNU Autoconf 2.65
1456 Copyright (C) 2009 Free Software Foundation, Inc.
1457 This configure script is free software; the Free Software Foundation
1458 gives unlimited permission to copy, distribute and modify it.
1459 _ACEOF
1460 exit
1461 fi
1463 ## ------------------------ ##
1464 ## Autoconf initialization. ##
1465 ## ------------------------ ##
1467 # ac_fn_c_try_compile LINENO
1468 # --------------------------
1469 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1470 ac_fn_c_try_compile ()
1472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1473 rm -f conftest.$ac_objext
1474 if { { ac_try="$ac_compile"
1475 case "(($ac_try" in
1476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1477 *) ac_try_echo=$ac_try;;
1478 esac
1479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480 $as_echo "$ac_try_echo"; } >&5
1481 (eval "$ac_compile") 2>conftest.err
1482 ac_status=$?
1483 if test -s conftest.err; then
1484 grep -v '^ *+' conftest.err >conftest.er1
1485 cat conftest.er1 >&5
1486 mv -f conftest.er1 conftest.err
1487 fi
1488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489 test $ac_status = 0; } && {
1490 test -z "$ac_c_werror_flag" ||
1491 test ! -s conftest.err
1492 } && test -s conftest.$ac_objext; then :
1493 ac_retval=0
1494 else
1495 $as_echo "$as_me: failed program was:" >&5
1496 sed 's/^/| /' conftest.$ac_ext >&5
1498 ac_retval=1
1499 fi
1500 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1501 as_fn_set_status $ac_retval
1503 } # ac_fn_c_try_compile
1505 # ac_fn_c_try_link LINENO
1506 # -----------------------
1507 # Try to link conftest.$ac_ext, and return whether this succeeded.
1508 ac_fn_c_try_link ()
1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1511 rm -f conftest.$ac_objext conftest$ac_exeext
1512 if { { ac_try="$ac_link"
1513 case "(($ac_try" in
1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1515 *) ac_try_echo=$ac_try;;
1516 esac
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1518 $as_echo "$ac_try_echo"; } >&5
1519 (eval "$ac_link") 2>conftest.err
1520 ac_status=$?
1521 if test -s conftest.err; then
1522 grep -v '^ *+' conftest.err >conftest.er1
1523 cat conftest.er1 >&5
1524 mv -f conftest.er1 conftest.err
1525 fi
1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527 test $ac_status = 0; } && {
1528 test -z "$ac_c_werror_flag" ||
1529 test ! -s conftest.err
1530 } && test -s conftest$ac_exeext && {
1531 test "$cross_compiling" = yes ||
1532 $as_test_x conftest$ac_exeext
1533 }; then :
1534 ac_retval=0
1535 else
1536 $as_echo "$as_me: failed program was:" >&5
1537 sed 's/^/| /' conftest.$ac_ext >&5
1539 ac_retval=1
1540 fi
1541 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1542 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1543 # interfere with the next link command; also delete a directory that is
1544 # left behind by Apple's compiler. We do this before executing the actions.
1545 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1546 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1547 as_fn_set_status $ac_retval
1549 } # ac_fn_c_try_link
1551 # ac_fn_c_try_cpp LINENO
1552 # ----------------------
1553 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1554 ac_fn_c_try_cpp ()
1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557 if { { ac_try="$ac_cpp conftest.$ac_ext"
1558 case "(($ac_try" in
1559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560 *) ac_try_echo=$ac_try;;
1561 esac
1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1565 ac_status=$?
1566 if test -s conftest.err; then
1567 grep -v '^ *+' conftest.err >conftest.er1
1568 cat conftest.er1 >&5
1569 mv -f conftest.er1 conftest.err
1570 fi
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572 test $ac_status = 0; } >/dev/null && {
1573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1574 test ! -s conftest.err
1575 }; then :
1576 ac_retval=0
1577 else
1578 $as_echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.$ac_ext >&5
1581 ac_retval=1
1582 fi
1583 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1584 as_fn_set_status $ac_retval
1586 } # ac_fn_c_try_cpp
1588 # ac_fn_c_try_run LINENO
1589 # ----------------------
1590 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1591 # that executables *can* be run.
1592 ac_fn_c_try_run ()
1594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595 if { { ac_try="$ac_link"
1596 case "(($ac_try" in
1597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1598 *) ac_try_echo=$ac_try;;
1599 esac
1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 $as_echo "$ac_try_echo"; } >&5
1602 (eval "$ac_link") 2>&5
1603 ac_status=$?
1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1606 { { case "(($ac_try" in
1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608 *) ac_try_echo=$ac_try;;
1609 esac
1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_try") 2>&5
1613 ac_status=$?
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; }; }; then :
1616 ac_retval=0
1617 else
1618 $as_echo "$as_me: program exited with status $ac_status" >&5
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.$ac_ext >&5
1622 ac_retval=$ac_status
1623 fi
1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1625 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1626 as_fn_set_status $ac_retval
1628 } # ac_fn_c_try_run
1630 # ac_fn_c_check_func LINENO FUNC VAR
1631 # ----------------------------------
1632 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1633 ac_fn_c_check_func ()
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1639 $as_echo_n "(cached) " >&6
1640 else
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1643 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1645 #define $2 innocuous_$2
1647 /* System header to define __stub macros and hopefully few prototypes,
1648 which can conflict with char $2 (); below.
1649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1650 <limits.h> exists even on freestanding compilers. */
1652 #ifdef __STDC__
1653 # include <limits.h>
1654 #else
1655 # include <assert.h>
1656 #endif
1658 #undef $2
1660 /* Override any GCC internal prototype to avoid an error.
1661 Use char because int might match the return type of a GCC
1662 builtin and then its argument prototype would still apply. */
1663 #ifdef __cplusplus
1664 extern "C"
1665 #endif
1666 char $2 ();
1667 /* The GNU C library defines this for functions which it implements
1668 to always fail with ENOSYS. Some functions are actually named
1669 something starting with __ and the normal name is an alias. */
1670 #if defined __stub_$2 || defined __stub___$2
1671 choke me
1672 #endif
1674 int
1675 main ()
1677 return $2 ();
1679 return 0;
1681 _ACEOF
1682 if ac_fn_c_try_link "$LINENO"; then :
1683 eval "$3=yes"
1684 else
1685 eval "$3=no"
1686 fi
1687 rm -f core conftest.err conftest.$ac_objext \
1688 conftest$ac_exeext conftest.$ac_ext
1689 fi
1690 eval ac_res=\$$3
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 } # ac_fn_c_check_func
1697 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1700 # the include files in INCLUDES and setting the cache variable VAR
1701 # accordingly.
1702 ac_fn_c_check_header_mongrel ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1709 $as_echo_n "(cached) " >&6
1710 fi
1711 eval ac_res=\$$3
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 else
1715 # Is the header compilable?
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1717 $as_echo_n "checking $2 usability... " >&6; }
1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1720 $4
1721 #include <$2>
1722 _ACEOF
1723 if ac_fn_c_try_compile "$LINENO"; then :
1724 ac_header_compiler=yes
1725 else
1726 ac_header_compiler=no
1727 fi
1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1730 $as_echo "$ac_header_compiler" >&6; }
1732 # Is the header present?
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1734 $as_echo_n "checking $2 presence... " >&6; }
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1737 #include <$2>
1738 _ACEOF
1739 if ac_fn_c_try_cpp "$LINENO"; then :
1740 ac_header_preproc=yes
1741 else
1742 ac_header_preproc=no
1743 fi
1744 rm -f conftest.err conftest.$ac_ext
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1746 $as_echo "$ac_header_preproc" >&6; }
1748 # So? What about this header?
1749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1750 yes:no: )
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1752 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1754 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1755 ;;
1756 no:yes:* )
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1758 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1760 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1762 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1764 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1766 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1767 ( cat <<\_ASBOX
1768 ## -------------------------------- ##
1769 ## Report this to meillo@marmaro.de ##
1770 ## -------------------------------- ##
1771 _ASBOX
1772 ) | sed "s/^/$as_me: WARNING: /" >&2
1773 ;;
1774 esac
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1778 $as_echo_n "(cached) " >&6
1779 else
1780 eval "$3=\$ac_header_compiler"
1781 fi
1782 eval ac_res=\$$3
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 fi
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788 } # ac_fn_c_check_header_mongrel
1790 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1791 # -------------------------------------------------------
1792 # Tests whether HEADER exists and can be compiled using the include files in
1793 # INCLUDES, setting the cache variable VAR accordingly.
1794 ac_fn_c_check_header_compile ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1800 $as_echo_n "(cached) " >&6
1801 else
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1804 $4
1805 #include <$2>
1806 _ACEOF
1807 if ac_fn_c_try_compile "$LINENO"; then :
1808 eval "$3=yes"
1809 else
1810 eval "$3=no"
1811 fi
1812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813 fi
1814 eval ac_res=\$$3
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816 $as_echo "$ac_res" >&6; }
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1819 } # ac_fn_c_check_header_compile
1821 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1822 # -------------------------------------------
1823 # Tests whether TYPE exists after having included INCLUDES, setting cache
1824 # variable VAR accordingly.
1825 ac_fn_c_check_type ()
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1831 $as_echo_n "(cached) " >&6
1832 else
1833 eval "$3=no"
1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1836 $4
1837 int
1838 main ()
1840 if (sizeof ($2))
1841 return 0;
1843 return 0;
1845 _ACEOF
1846 if ac_fn_c_try_compile "$LINENO"; then :
1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1849 $4
1850 int
1851 main ()
1853 if (sizeof (($2)))
1854 return 0;
1856 return 0;
1858 _ACEOF
1859 if ac_fn_c_try_compile "$LINENO"; then :
1861 else
1862 eval "$3=yes"
1863 fi
1864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1865 fi
1866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867 fi
1868 eval ac_res=\$$3
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873 } # ac_fn_c_check_type
1874 cat >config.log <<_ACEOF
1875 This file contains any messages produced by compilers while
1876 running configure, to aid debugging if configure makes a mistake.
1878 It was created by masqmail $as_me 0.3.0, which was
1879 generated by GNU Autoconf 2.65. Invocation command line was
1881 $ $0 $@
1883 _ACEOF
1884 exec 5>>config.log
1886 cat <<_ASUNAME
1887 ## --------- ##
1888 ## Platform. ##
1889 ## --------- ##
1891 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1892 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1893 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1894 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1895 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1897 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1898 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1900 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1901 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1902 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1903 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1904 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1905 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1906 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1908 _ASUNAME
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH
1912 do
1913 IFS=$as_save_IFS
1914 test -z "$as_dir" && as_dir=.
1915 $as_echo "PATH: $as_dir"
1916 done
1917 IFS=$as_save_IFS
1919 } >&5
1921 cat >&5 <<_ACEOF
1924 ## ----------- ##
1925 ## Core tests. ##
1926 ## ----------- ##
1928 _ACEOF
1931 # Keep a trace of the command line.
1932 # Strip out --no-create and --no-recursion so they do not pile up.
1933 # Strip out --silent because we don't want to record it for future runs.
1934 # Also quote any args containing shell meta-characters.
1935 # Make two passes to allow for proper duplicate-argument suppression.
1936 ac_configure_args=
1937 ac_configure_args0=
1938 ac_configure_args1=
1939 ac_must_keep_next=false
1940 for ac_pass in 1 2
1941 do
1942 for ac_arg
1943 do
1944 case $ac_arg in
1945 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1947 | -silent | --silent | --silen | --sile | --sil)
1948 continue ;;
1949 *\'*)
1950 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1951 esac
1952 case $ac_pass in
1953 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1954 2)
1955 as_fn_append ac_configure_args1 " '$ac_arg'"
1956 if test $ac_must_keep_next = true; then
1957 ac_must_keep_next=false # Got value, back to normal.
1958 else
1959 case $ac_arg in
1960 *=* | --config-cache | -C | -disable-* | --disable-* \
1961 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1962 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1963 | -with-* | --with-* | -without-* | --without-* | --x)
1964 case "$ac_configure_args0 " in
1965 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1966 esac
1967 ;;
1968 -* ) ac_must_keep_next=true ;;
1969 esac
1970 fi
1971 as_fn_append ac_configure_args " '$ac_arg'"
1972 ;;
1973 esac
1974 done
1975 done
1976 { ac_configure_args0=; unset ac_configure_args0;}
1977 { ac_configure_args1=; unset ac_configure_args1;}
1979 # When interrupted or exit'd, cleanup temporary files, and complete
1980 # config.log. We remove comments because anyway the quotes in there
1981 # would cause problems or look ugly.
1982 # WARNING: Use '\'' to represent an apostrophe within the trap.
1983 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1984 trap 'exit_status=$?
1985 # Save into config.log some information that might help in debugging.
1987 echo
1989 cat <<\_ASBOX
1990 ## ---------------- ##
1991 ## Cache variables. ##
1992 ## ---------------- ##
1993 _ASBOX
1994 echo
1995 # The following way of writing the cache mishandles newlines in values,
1997 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998 eval ac_val=\$$ac_var
1999 case $ac_val in #(
2000 *${as_nl}*)
2001 case $ac_var in #(
2002 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2004 esac
2005 case $ac_var in #(
2006 _ | IFS | as_nl) ;; #(
2007 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2008 *) { eval $ac_var=; unset $ac_var;} ;;
2009 esac ;;
2010 esac
2011 done
2012 (set) 2>&1 |
2013 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2014 *${as_nl}ac_space=\ *)
2015 sed -n \
2016 "s/'\''/'\''\\\\'\'''\''/g;
2017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2018 ;; #(
2019 *)
2020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2021 ;;
2022 esac |
2023 sort
2025 echo
2027 cat <<\_ASBOX
2028 ## ----------------- ##
2029 ## Output variables. ##
2030 ## ----------------- ##
2031 _ASBOX
2032 echo
2033 for ac_var in $ac_subst_vars
2034 do
2035 eval ac_val=\$$ac_var
2036 case $ac_val in
2037 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2038 esac
2039 $as_echo "$ac_var='\''$ac_val'\''"
2040 done | sort
2041 echo
2043 if test -n "$ac_subst_files"; then
2044 cat <<\_ASBOX
2045 ## ------------------- ##
2046 ## File substitutions. ##
2047 ## ------------------- ##
2048 _ASBOX
2049 echo
2050 for ac_var in $ac_subst_files
2051 do
2052 eval ac_val=\$$ac_var
2053 case $ac_val in
2054 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2055 esac
2056 $as_echo "$ac_var='\''$ac_val'\''"
2057 done | sort
2058 echo
2059 fi
2061 if test -s confdefs.h; then
2062 cat <<\_ASBOX
2063 ## ----------- ##
2064 ## confdefs.h. ##
2065 ## ----------- ##
2066 _ASBOX
2067 echo
2068 cat confdefs.h
2069 echo
2070 fi
2071 test "$ac_signal" != 0 &&
2072 $as_echo "$as_me: caught signal $ac_signal"
2073 $as_echo "$as_me: exit $exit_status"
2074 } >&5
2075 rm -f core *.core core.conftest.* &&
2076 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2077 exit $exit_status
2078 ' 0
2079 for ac_signal in 1 2 13 15; do
2080 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2081 done
2082 ac_signal=0
2084 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2085 rm -f -r conftest* confdefs.h
2087 $as_echo "/* confdefs.h */" > confdefs.h
2089 # Predefined preprocessor variables.
2091 cat >>confdefs.h <<_ACEOF
2092 #define PACKAGE_NAME "$PACKAGE_NAME"
2093 _ACEOF
2095 cat >>confdefs.h <<_ACEOF
2096 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2097 _ACEOF
2099 cat >>confdefs.h <<_ACEOF
2100 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2101 _ACEOF
2103 cat >>confdefs.h <<_ACEOF
2104 #define PACKAGE_STRING "$PACKAGE_STRING"
2105 _ACEOF
2107 cat >>confdefs.h <<_ACEOF
2108 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2109 _ACEOF
2111 cat >>confdefs.h <<_ACEOF
2112 #define PACKAGE_URL "$PACKAGE_URL"
2113 _ACEOF
2116 # Let the site file select an alternate cache file if it wants to.
2117 # Prefer an explicitly selected file to automatically selected ones.
2118 ac_site_file1=NONE
2119 ac_site_file2=NONE
2120 if test -n "$CONFIG_SITE"; then
2121 ac_site_file1=$CONFIG_SITE
2122 elif test "x$prefix" != xNONE; then
2123 ac_site_file1=$prefix/share/config.site
2124 ac_site_file2=$prefix/etc/config.site
2125 else
2126 ac_site_file1=$ac_default_prefix/share/config.site
2127 ac_site_file2=$ac_default_prefix/etc/config.site
2128 fi
2129 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2130 do
2131 test "x$ac_site_file" = xNONE && continue
2132 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2134 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2135 sed 's/^/| /' "$ac_site_file" >&5
2136 . "$ac_site_file"
2137 fi
2138 done
2140 if test -r "$cache_file"; then
2141 # Some versions of bash will fail to source /dev/null (special files
2142 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2143 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2145 $as_echo "$as_me: loading cache $cache_file" >&6;}
2146 case $cache_file in
2147 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2148 *) . "./$cache_file";;
2149 esac
2150 fi
2151 else
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2153 $as_echo "$as_me: creating cache $cache_file" >&6;}
2154 >$cache_file
2155 fi
2157 # Check that the precious variables saved in the cache have kept the same
2158 # value.
2159 ac_cache_corrupted=false
2160 for ac_var in $ac_precious_vars; do
2161 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2162 eval ac_new_set=\$ac_env_${ac_var}_set
2163 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2164 eval ac_new_val=\$ac_env_${ac_var}_value
2165 case $ac_old_set,$ac_new_set in
2166 set,)
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2168 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2169 ac_cache_corrupted=: ;;
2170 ,set)
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2172 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2173 ac_cache_corrupted=: ;;
2174 ,);;
2175 *)
2176 if test "x$ac_old_val" != "x$ac_new_val"; then
2177 # differences in whitespace do not lead to failure.
2178 ac_old_val_w=`echo x $ac_old_val`
2179 ac_new_val_w=`echo x $ac_new_val`
2180 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2182 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2183 ac_cache_corrupted=:
2184 else
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2186 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2187 eval $ac_var=\$ac_old_val
2188 fi
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2190 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2192 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2193 fi;;
2194 esac
2195 # Pass precious variables to config.status.
2196 if test "$ac_new_set" = set; then
2197 case $ac_new_val in
2198 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2199 *) ac_arg=$ac_var=$ac_new_val ;;
2200 esac
2201 case " $ac_configure_args " in
2202 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2203 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2204 esac
2205 fi
2206 done
2207 if $ac_cache_corrupted; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2211 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2212 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2213 fi
2214 ## -------------------- ##
2215 ## Main body of script. ##
2216 ## -------------------- ##
2218 ac_ext=c
2219 ac_cpp='$CPP $CPPFLAGS'
2220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226 ac_config_headers="$ac_config_headers config.h"
2228 am__api_version='1.11'
2230 ac_aux_dir=
2231 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2232 for ac_t in install-sh install.sh shtool; do
2233 if test -f "$ac_dir/$ac_t"; then
2234 ac_aux_dir=$ac_dir
2235 ac_install_sh="$ac_aux_dir/$ac_t -c"
2236 break 2
2237 fi
2238 done
2239 done
2240 if test -z "$ac_aux_dir"; then
2241 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2242 fi
2244 # These three variables are undocumented and unsupported,
2245 # and are intended to be withdrawn in a future Autoconf release.
2246 # They can cause serious problems if a builder's source tree is in a directory
2247 # whose full name contains unusual characters.
2248 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2249 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2250 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2253 # Find a good install program. We prefer a C program (faster),
2254 # so one script is as good as another. But avoid the broken or
2255 # incompatible versions:
2256 # SysV /etc/install, /usr/sbin/install
2257 # SunOS /usr/etc/install
2258 # IRIX /sbin/install
2259 # AIX /bin/install
2260 # AmigaOS /C/install, which installs bootblocks on floppy discs
2261 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2262 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2263 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2264 # OS/2's system install, which has a completely different semantic
2265 # ./install, which can be erroneously created by make from ./install.sh.
2266 # Reject install programs that cannot install multiple files.
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2268 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2269 if test -z "$INSTALL"; then
2270 if test "${ac_cv_path_install+set}" = set; then :
2271 $as_echo_n "(cached) " >&6
2272 else
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 for as_dir in $PATH
2275 do
2276 IFS=$as_save_IFS
2277 test -z "$as_dir" && as_dir=.
2278 # Account for people who put trailing slashes in PATH elements.
2279 case $as_dir/ in #((
2280 ./ | .// | /[cC]/* | \
2281 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2282 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2283 /usr/ucb/* ) ;;
2284 *)
2285 # OSF1 and SCO ODT 3.0 have their own names for install.
2286 # Don't use installbsd from OSF since it installs stuff as root
2287 # by default.
2288 for ac_prog in ginstall scoinst install; do
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2291 if test $ac_prog = install &&
2292 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2293 # AIX install. It has an incompatible calling convention.
2295 elif test $ac_prog = install &&
2296 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2297 # program-specific install script used by HP pwplus--don't use.
2299 else
2300 rm -rf conftest.one conftest.two conftest.dir
2301 echo one > conftest.one
2302 echo two > conftest.two
2303 mkdir conftest.dir
2304 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2305 test -s conftest.one && test -s conftest.two &&
2306 test -s conftest.dir/conftest.one &&
2307 test -s conftest.dir/conftest.two
2308 then
2309 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2310 break 3
2311 fi
2312 fi
2313 fi
2314 done
2315 done
2316 ;;
2317 esac
2319 done
2320 IFS=$as_save_IFS
2322 rm -rf conftest.one conftest.two conftest.dir
2324 fi
2325 if test "${ac_cv_path_install+set}" = set; then
2326 INSTALL=$ac_cv_path_install
2327 else
2328 # As a last resort, use the slow shell script. Don't cache a
2329 # value for INSTALL within a source directory, because that will
2330 # break other packages using the cache if that directory is
2331 # removed, or if the value is a relative name.
2332 INSTALL=$ac_install_sh
2333 fi
2334 fi
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2336 $as_echo "$INSTALL" >&6; }
2338 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2339 # It thinks the first close brace ends the variable substitution.
2340 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2342 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2344 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2347 $as_echo_n "checking whether build environment is sane... " >&6; }
2348 # Just in case
2349 sleep 1
2350 echo timestamp > conftest.file
2351 # Reject unsafe characters in $srcdir or the absolute working directory
2352 # name. Accept space and tab only in the latter.
2353 am_lf='
2355 case `pwd` in
2356 *[\\\"\#\$\&\'\`$am_lf]*)
2357 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2358 esac
2359 case $srcdir in
2360 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2361 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2362 esac
2364 # Do `set' in a subshell so we don't clobber the current shell's
2365 # arguments. Must try -L first in case configure is actually a
2366 # symlink; some systems play weird games with the mod time of symlinks
2367 # (eg FreeBSD returns the mod time of the symlink's containing
2368 # directory).
2369 if (
2370 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2371 if test "$*" = "X"; then
2372 # -L didn't work.
2373 set X `ls -t "$srcdir/configure" conftest.file`
2374 fi
2375 rm -f conftest.file
2376 if test "$*" != "X $srcdir/configure conftest.file" \
2377 && test "$*" != "X conftest.file $srcdir/configure"; then
2379 # If neither matched, then we have a broken ls. This can happen
2380 # if, for instance, CONFIG_SHELL is bash and it inherits a
2381 # broken ls alias from the environment. This has actually
2382 # happened. Such a system could not be considered "sane".
2383 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2384 alias in your environment" "$LINENO" 5
2385 fi
2387 test "$2" = conftest.file
2389 then
2390 # Ok.
2392 else
2393 as_fn_error "newly created file is older than distributed files!
2394 Check your system clock" "$LINENO" 5
2395 fi
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2397 $as_echo "yes" >&6; }
2398 test "$program_prefix" != NONE &&
2399 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2400 # Use a double $ so make ignores it.
2401 test "$program_suffix" != NONE &&
2402 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2403 # Double any \ or $.
2404 # By default was `s,x,x', remove it if useless.
2405 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2406 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2408 # expand $ac_aux_dir to an absolute path
2409 am_aux_dir=`cd $ac_aux_dir && pwd`
2411 if test x"${MISSING+set}" != xset; then
2412 case $am_aux_dir in
2413 *\ * | *\ *)
2414 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2415 *)
2416 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2417 esac
2418 fi
2419 # Use eval to expand $SHELL
2420 if eval "$MISSING --run true"; then
2421 am_missing_run="$MISSING --run "
2422 else
2423 am_missing_run=
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2425 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2426 fi
2428 if test x"${install_sh}" != xset; then
2429 case $am_aux_dir in
2430 *\ * | *\ *)
2431 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2432 *)
2433 install_sh="\${SHELL} $am_aux_dir/install-sh"
2434 esac
2435 fi
2437 # Installed binaries are usually stripped using `strip' when the user
2438 # run `make install-strip'. However `strip' might not be the right
2439 # tool to use in cross-compilation environments, therefore Automake
2440 # will honor the `STRIP' environment variable to overrule this program.
2441 if test "$cross_compiling" != no; then
2442 if test -n "$ac_tool_prefix"; then
2443 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2444 set dummy ${ac_tool_prefix}strip; ac_word=$2
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2446 $as_echo_n "checking for $ac_word... " >&6; }
2447 if test "${ac_cv_prog_STRIP+set}" = set; then :
2448 $as_echo_n "(cached) " >&6
2449 else
2450 if test -n "$STRIP"; then
2451 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2452 else
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 for as_dir in $PATH
2455 do
2456 IFS=$as_save_IFS
2457 test -z "$as_dir" && as_dir=.
2458 for ac_exec_ext in '' $ac_executable_extensions; do
2459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2460 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 break 2
2463 fi
2464 done
2465 done
2466 IFS=$as_save_IFS
2468 fi
2469 fi
2470 STRIP=$ac_cv_prog_STRIP
2471 if test -n "$STRIP"; then
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2473 $as_echo "$STRIP" >&6; }
2474 else
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2476 $as_echo "no" >&6; }
2477 fi
2480 fi
2481 if test -z "$ac_cv_prog_STRIP"; then
2482 ac_ct_STRIP=$STRIP
2483 # Extract the first word of "strip", so it can be a program name with args.
2484 set dummy strip; ac_word=$2
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486 $as_echo_n "checking for $ac_word... " >&6; }
2487 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2488 $as_echo_n "(cached) " >&6
2489 else
2490 if test -n "$ac_ct_STRIP"; then
2491 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2492 else
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 for as_dir in $PATH
2495 do
2496 IFS=$as_save_IFS
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2500 ac_cv_prog_ac_ct_STRIP="strip"
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 break 2
2503 fi
2504 done
2505 done
2506 IFS=$as_save_IFS
2508 fi
2509 fi
2510 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2511 if test -n "$ac_ct_STRIP"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2513 $as_echo "$ac_ct_STRIP" >&6; }
2514 else
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2517 fi
2519 if test "x$ac_ct_STRIP" = x; then
2520 STRIP=":"
2521 else
2522 case $cross_compiling:$ac_tool_warned in
2523 yes:)
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2526 ac_tool_warned=yes ;;
2527 esac
2528 STRIP=$ac_ct_STRIP
2529 fi
2530 else
2531 STRIP="$ac_cv_prog_STRIP"
2532 fi
2534 fi
2535 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2538 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2539 if test -z "$MKDIR_P"; then
2540 if test "${ac_cv_path_mkdir+set}" = set; then :
2541 $as_echo_n "(cached) " >&6
2542 else
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2545 do
2546 IFS=$as_save_IFS
2547 test -z "$as_dir" && as_dir=.
2548 for ac_prog in mkdir gmkdir; do
2549 for ac_exec_ext in '' $ac_executable_extensions; do
2550 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2551 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2552 'mkdir (GNU coreutils) '* | \
2553 'mkdir (coreutils) '* | \
2554 'mkdir (fileutils) '4.1*)
2555 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2556 break 3;;
2557 esac
2558 done
2559 done
2560 done
2561 IFS=$as_save_IFS
2563 fi
2565 test -d ./--version && rmdir ./--version
2566 if test "${ac_cv_path_mkdir+set}" = set; then
2567 MKDIR_P="$ac_cv_path_mkdir -p"
2568 else
2569 # As a last resort, use the slow shell script. Don't cache a
2570 # value for MKDIR_P within a source directory, because that will
2571 # break other packages using the cache if that directory is
2572 # removed, or if the value is a relative name.
2573 MKDIR_P="$ac_install_sh -d"
2574 fi
2575 fi
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2577 $as_echo "$MKDIR_P" >&6; }
2579 mkdir_p="$MKDIR_P"
2580 case $mkdir_p in
2581 [\\/$]* | ?:[\\/]*) ;;
2582 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2583 esac
2585 for ac_prog in gawk mawk nawk awk
2586 do
2587 # Extract the first word of "$ac_prog", so it can be a program name with args.
2588 set dummy $ac_prog; ac_word=$2
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if test "${ac_cv_prog_AWK+set}" = set; then :
2592 $as_echo_n "(cached) " >&6
2593 else
2594 if test -n "$AWK"; then
2595 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2596 else
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 for as_dir in $PATH
2599 do
2600 IFS=$as_save_IFS
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 ac_cv_prog_AWK="$ac_prog"
2605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 break 2
2607 fi
2608 done
2609 done
2610 IFS=$as_save_IFS
2612 fi
2613 fi
2614 AWK=$ac_cv_prog_AWK
2615 if test -n "$AWK"; then
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2617 $as_echo "$AWK" >&6; }
2618 else
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620 $as_echo "no" >&6; }
2621 fi
2624 test -n "$AWK" && break
2625 done
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2628 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2629 set x ${MAKE-make}
2630 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2631 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2632 $as_echo_n "(cached) " >&6
2633 else
2634 cat >conftest.make <<\_ACEOF
2635 SHELL = /bin/sh
2636 all:
2637 @echo '@@@%%%=$(MAKE)=@@@%%%'
2638 _ACEOF
2639 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2640 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2641 *@@@%%%=?*=@@@%%%*)
2642 eval ac_cv_prog_make_${ac_make}_set=yes;;
2643 *)
2644 eval ac_cv_prog_make_${ac_make}_set=no;;
2645 esac
2646 rm -f conftest.make
2647 fi
2648 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2650 $as_echo "yes" >&6; }
2651 SET_MAKE=
2652 else
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 $as_echo "no" >&6; }
2655 SET_MAKE="MAKE=${MAKE-make}"
2656 fi
2658 rm -rf .tst 2>/dev/null
2659 mkdir .tst 2>/dev/null
2660 if test -d .tst; then
2661 am__leading_dot=.
2662 else
2663 am__leading_dot=_
2664 fi
2665 rmdir .tst 2>/dev/null
2667 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2668 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2669 # is not polluted with repeated "-I."
2670 am__isrc=' -I$(srcdir)'
2671 # test to see if srcdir already configured
2672 if test -f $srcdir/config.status; then
2673 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2674 fi
2675 fi
2677 # test whether we have cygpath
2678 if test -z "$CYGPATH_W"; then
2679 if (cygpath --version) >/dev/null 2>/dev/null; then
2680 CYGPATH_W='cygpath -w'
2681 else
2682 CYGPATH_W=echo
2683 fi
2684 fi
2687 # Define the identity of the package.
2688 PACKAGE='masqmail'
2689 VERSION='0.3.0'
2692 cat >>confdefs.h <<_ACEOF
2693 #define PACKAGE "$PACKAGE"
2694 _ACEOF
2697 cat >>confdefs.h <<_ACEOF
2698 #define VERSION "$VERSION"
2699 _ACEOF
2701 # Some tools Automake needs.
2703 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2706 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2709 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2712 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2715 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2717 # We need awk for the "check" target. The system "awk" is bad on
2718 # some platforms.
2719 # Always define AMTAR for backward compatibility.
2721 AMTAR=${AMTAR-"${am_missing_run}tar"}
2723 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2732 ac_ext=c
2733 ac_cpp='$CPP $CPPFLAGS'
2734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2737 if test -n "$ac_tool_prefix"; then
2738 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2739 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if test "${ac_cv_prog_CC+set}" = set; then :
2743 $as_echo_n "(cached) " >&6
2744 else
2745 if test -n "$CC"; then
2746 ac_cv_prog_CC="$CC" # Let the user override the test.
2747 else
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH
2750 do
2751 IFS=$as_save_IFS
2752 test -z "$as_dir" && as_dir=.
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 break 2
2758 fi
2759 done
2760 done
2761 IFS=$as_save_IFS
2763 fi
2764 fi
2765 CC=$ac_cv_prog_CC
2766 if test -n "$CC"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2768 $as_echo "$CC" >&6; }
2769 else
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2772 fi
2775 fi
2776 if test -z "$ac_cv_prog_CC"; then
2777 ac_ct_CC=$CC
2778 # Extract the first word of "gcc", so it can be a program name with args.
2779 set dummy gcc; ac_word=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2784 else
2785 if test -n "$ac_ct_CC"; then
2786 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2787 else
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 for as_dir in $PATH
2790 do
2791 IFS=$as_save_IFS
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 ac_cv_prog_ac_ct_CC="gcc"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 break 2
2798 fi
2799 done
2800 done
2801 IFS=$as_save_IFS
2803 fi
2804 fi
2805 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2806 if test -n "$ac_ct_CC"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2808 $as_echo "$ac_ct_CC" >&6; }
2809 else
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2812 fi
2814 if test "x$ac_ct_CC" = x; then
2815 CC=""
2816 else
2817 case $cross_compiling:$ac_tool_warned in
2818 yes:)
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2821 ac_tool_warned=yes ;;
2822 esac
2823 CC=$ac_ct_CC
2824 fi
2825 else
2826 CC="$ac_cv_prog_CC"
2827 fi
2829 if test -z "$CC"; then
2830 if test -n "$ac_tool_prefix"; then
2831 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2832 set dummy ${ac_tool_prefix}cc; ac_word=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if test "${ac_cv_prog_CC+set}" = set; then :
2836 $as_echo_n "(cached) " >&6
2837 else
2838 if test -n "$CC"; then
2839 ac_cv_prog_CC="$CC" # Let the user override the test.
2840 else
2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 for as_dir in $PATH
2843 do
2844 IFS=$as_save_IFS
2845 test -z "$as_dir" && as_dir=.
2846 for ac_exec_ext in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_CC="${ac_tool_prefix}cc"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 break 2
2851 fi
2852 done
2853 done
2854 IFS=$as_save_IFS
2856 fi
2857 fi
2858 CC=$ac_cv_prog_CC
2859 if test -n "$CC"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2861 $as_echo "$CC" >&6; }
2862 else
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2865 fi
2868 fi
2869 fi
2870 if test -z "$CC"; then
2871 # Extract the first word of "cc", so it can be a program name with args.
2872 set dummy cc; ac_word=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if test "${ac_cv_prog_CC+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2877 else
2878 if test -n "$CC"; then
2879 ac_cv_prog_CC="$CC" # Let the user override the test.
2880 else
2881 ac_prog_rejected=no
2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2883 for as_dir in $PATH
2884 do
2885 IFS=$as_save_IFS
2886 test -z "$as_dir" && as_dir=.
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2889 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2890 ac_prog_rejected=yes
2891 continue
2892 fi
2893 ac_cv_prog_CC="cc"
2894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 break 2
2896 fi
2897 done
2898 done
2899 IFS=$as_save_IFS
2901 if test $ac_prog_rejected = yes; then
2902 # We found a bogon in the path, so make sure we never use it.
2903 set dummy $ac_cv_prog_CC
2904 shift
2905 if test $# != 0; then
2906 # We chose a different compiler from the bogus one.
2907 # However, it has the same basename, so the bogon will be chosen
2908 # first if we set CC to just the basename; use the full file name.
2909 shift
2910 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2911 fi
2912 fi
2913 fi
2914 fi
2915 CC=$ac_cv_prog_CC
2916 if test -n "$CC"; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2918 $as_echo "$CC" >&6; }
2919 else
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2922 fi
2925 fi
2926 if test -z "$CC"; then
2927 if test -n "$ac_tool_prefix"; then
2928 for ac_prog in cl.exe
2929 do
2930 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2931 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if test "${ac_cv_prog_CC+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 if test -n "$CC"; then
2938 ac_cv_prog_CC="$CC" # Let the user override the test.
2939 else
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2941 for as_dir in $PATH
2942 do
2943 IFS=$as_save_IFS
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 break 2
2950 fi
2951 done
2952 done
2953 IFS=$as_save_IFS
2955 fi
2956 fi
2957 CC=$ac_cv_prog_CC
2958 if test -n "$CC"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2960 $as_echo "$CC" >&6; }
2961 else
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2964 fi
2967 test -n "$CC" && break
2968 done
2969 fi
2970 if test -z "$CC"; then
2971 ac_ct_CC=$CC
2972 for ac_prog in cl.exe
2973 do
2974 # Extract the first word of "$ac_prog", so it can be a program name with args.
2975 set dummy $ac_prog; ac_word=$2
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2977 $as_echo_n "checking for $ac_word... " >&6; }
2978 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2979 $as_echo_n "(cached) " >&6
2980 else
2981 if test -n "$ac_ct_CC"; then
2982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2983 else
2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 for as_dir in $PATH
2986 do
2987 IFS=$as_save_IFS
2988 test -z "$as_dir" && as_dir=.
2989 for ac_exec_ext in '' $ac_executable_extensions; do
2990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2991 ac_cv_prog_ac_ct_CC="$ac_prog"
2992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 break 2
2994 fi
2995 done
2996 done
2997 IFS=$as_save_IFS
2999 fi
3000 fi
3001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3002 if test -n "$ac_ct_CC"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3004 $as_echo "$ac_ct_CC" >&6; }
3005 else
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007 $as_echo "no" >&6; }
3008 fi
3011 test -n "$ac_ct_CC" && break
3012 done
3014 if test "x$ac_ct_CC" = x; then
3015 CC=""
3016 else
3017 case $cross_compiling:$ac_tool_warned in
3018 yes:)
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3021 ac_tool_warned=yes ;;
3022 esac
3023 CC=$ac_ct_CC
3024 fi
3025 fi
3027 fi
3030 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032 as_fn_error "no acceptable C compiler found in \$PATH
3033 See \`config.log' for more details." "$LINENO" 5; }
3035 # Provide some information about the compiler.
3036 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3037 set X $ac_compile
3038 ac_compiler=$2
3039 for ac_option in --version -v -V -qversion; do
3040 { { ac_try="$ac_compiler $ac_option >&5"
3041 case "(($ac_try" in
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3044 esac
3045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3046 $as_echo "$ac_try_echo"; } >&5
3047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3048 ac_status=$?
3049 if test -s conftest.err; then
3050 sed '10a\
3051 ... rest of stderr output deleted ...
3052 10q' conftest.err >conftest.er1
3053 cat conftest.er1 >&5
3054 fi
3055 rm -f conftest.er1 conftest.err
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }
3058 done
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3063 int
3064 main ()
3068 return 0;
3070 _ACEOF
3071 ac_clean_files_save=$ac_clean_files
3072 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3073 # Try to create an executable without -o first, disregard a.out.
3074 # It will help us diagnose broken compilers, and finding out an intuition
3075 # of exeext.
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3077 $as_echo_n "checking whether the C compiler works... " >&6; }
3078 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3080 # The possible output files:
3081 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3083 ac_rmfiles=
3084 for ac_file in $ac_files
3085 do
3086 case $ac_file in
3087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3088 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3089 esac
3090 done
3091 rm -f $ac_rmfiles
3093 if { { ac_try="$ac_link_default"
3094 case "(($ac_try" in
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3097 esac
3098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3099 $as_echo "$ac_try_echo"; } >&5
3100 (eval "$ac_link_default") 2>&5
3101 ac_status=$?
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; }; then :
3104 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3105 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3106 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3107 # so that the user can short-circuit this test for compilers unknown to
3108 # Autoconf.
3109 for ac_file in $ac_files ''
3110 do
3111 test -f "$ac_file" || continue
3112 case $ac_file in
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3114 ;;
3115 [ab].out )
3116 # We found the default executable, but exeext='' is most
3117 # certainly right.
3118 break;;
3119 *.* )
3120 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3121 then :; else
3122 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3123 fi
3124 # We set ac_cv_exeext here because the later test for it is not
3125 # safe: cross compilers may not add the suffix if given an `-o'
3126 # argument, so we may need to know it at that point already.
3127 # Even if this section looks crufty: it has the advantage of
3128 # actually working.
3129 break;;
3130 * )
3131 break;;
3132 esac
3133 done
3134 test "$ac_cv_exeext" = no && ac_cv_exeext=
3136 else
3137 ac_file=''
3138 fi
3139 if test -z "$ac_file"; then :
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3142 $as_echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3145 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3147 { as_fn_set_status 77
3148 as_fn_error "C compiler cannot create executables
3149 See \`config.log' for more details." "$LINENO" 5; }; }
3150 else
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3152 $as_echo "yes" >&6; }
3153 fi
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3155 $as_echo_n "checking for C compiler default output file name... " >&6; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3157 $as_echo "$ac_file" >&6; }
3158 ac_exeext=$ac_cv_exeext
3160 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3161 ac_clean_files=$ac_clean_files_save
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3163 $as_echo_n "checking for suffix of executables... " >&6; }
3164 if { { ac_try="$ac_link"
3165 case "(($ac_try" in
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3168 esac
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_link") 2>&5
3172 ac_status=$?
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; }; then :
3175 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3176 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3177 # work properly (i.e., refer to `conftest.exe'), while it won't with
3178 # `rm'.
3179 for ac_file in conftest.exe conftest conftest.*; do
3180 test -f "$ac_file" || continue
3181 case $ac_file in
3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3183 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3184 break;;
3185 * ) break;;
3186 esac
3187 done
3188 else
3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 as_fn_error "cannot compute suffix of executables: cannot compile and link
3192 See \`config.log' for more details." "$LINENO" 5; }
3193 fi
3194 rm -f conftest conftest$ac_cv_exeext
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3196 $as_echo "$ac_cv_exeext" >&6; }
3198 rm -f conftest.$ac_ext
3199 EXEEXT=$ac_cv_exeext
3200 ac_exeext=$EXEEXT
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3203 #include <stdio.h>
3204 int
3205 main ()
3207 FILE *f = fopen ("conftest.out", "w");
3208 return ferror (f) || fclose (f) != 0;
3211 return 0;
3213 _ACEOF
3214 ac_clean_files="$ac_clean_files conftest.out"
3215 # Check that the compiler produces executables we can run. If not, either
3216 # the compiler is broken, or we cross compile.
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3218 $as_echo_n "checking whether we are cross compiling... " >&6; }
3219 if test "$cross_compiling" != yes; then
3220 { { ac_try="$ac_link"
3221 case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3224 esac
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_link") 2>&5
3228 ac_status=$?
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }
3231 if { ac_try='./conftest$ac_cv_exeext'
3232 { { case "(($ac_try" in
3233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3235 esac
3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237 $as_echo "$ac_try_echo"; } >&5
3238 (eval "$ac_try") 2>&5
3239 ac_status=$?
3240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3241 test $ac_status = 0; }; }; then
3242 cross_compiling=no
3243 else
3244 if test "$cross_compiling" = maybe; then
3245 cross_compiling=yes
3246 else
3247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249 as_fn_error "cannot run C compiled programs.
3250 If you meant to cross compile, use \`--host'.
3251 See \`config.log' for more details." "$LINENO" 5; }
3252 fi
3253 fi
3254 fi
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3256 $as_echo "$cross_compiling" >&6; }
3258 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3259 ac_clean_files=$ac_clean_files_save
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3261 $as_echo_n "checking for suffix of object files... " >&6; }
3262 if test "${ac_cv_objext+set}" = set; then :
3263 $as_echo_n "(cached) " >&6
3264 else
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3268 int
3269 main ()
3273 return 0;
3275 _ACEOF
3276 rm -f conftest.o conftest.obj
3277 if { { ac_try="$ac_compile"
3278 case "(($ac_try" in
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3281 esac
3282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3283 $as_echo "$ac_try_echo"; } >&5
3284 (eval "$ac_compile") 2>&5
3285 ac_status=$?
3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3287 test $ac_status = 0; }; then :
3288 for ac_file in conftest.o conftest.obj conftest.*; do
3289 test -f "$ac_file" || continue;
3290 case $ac_file in
3291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3292 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3293 break;;
3294 esac
3295 done
3296 else
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error "cannot compute suffix of object files: cannot compile
3303 See \`config.log' for more details." "$LINENO" 5; }
3304 fi
3305 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3306 fi
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3308 $as_echo "$ac_cv_objext" >&6; }
3309 OBJEXT=$ac_cv_objext
3310 ac_objext=$OBJEXT
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3312 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3313 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3314 $as_echo_n "(cached) " >&6
3315 else
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3319 int
3320 main ()
3322 #ifndef __GNUC__
3323 choke me
3324 #endif
3327 return 0;
3329 _ACEOF
3330 if ac_fn_c_try_compile "$LINENO"; then :
3331 ac_compiler_gnu=yes
3332 else
3333 ac_compiler_gnu=no
3334 fi
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3338 fi
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3340 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3341 if test $ac_compiler_gnu = yes; then
3342 GCC=yes
3343 else
3344 GCC=
3345 fi
3346 ac_test_CFLAGS=${CFLAGS+set}
3347 ac_save_CFLAGS=$CFLAGS
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3349 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3350 if test "${ac_cv_prog_cc_g+set}" = set; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 ac_save_c_werror_flag=$ac_c_werror_flag
3354 ac_c_werror_flag=yes
3355 ac_cv_prog_cc_g=no
3356 CFLAGS="-g"
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3360 int
3361 main ()
3365 return 0;
3367 _ACEOF
3368 if ac_fn_c_try_compile "$LINENO"; then :
3369 ac_cv_prog_cc_g=yes
3370 else
3371 CFLAGS=""
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3375 int
3376 main ()
3380 return 0;
3382 _ACEOF
3383 if ac_fn_c_try_compile "$LINENO"; then :
3385 else
3386 ac_c_werror_flag=$ac_save_c_werror_flag
3387 CFLAGS="-g"
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3391 int
3392 main ()
3396 return 0;
3398 _ACEOF
3399 if ac_fn_c_try_compile "$LINENO"; then :
3400 ac_cv_prog_cc_g=yes
3401 fi
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 fi
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 fi
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 ac_c_werror_flag=$ac_save_c_werror_flag
3408 fi
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3410 $as_echo "$ac_cv_prog_cc_g" >&6; }
3411 if test "$ac_test_CFLAGS" = set; then
3412 CFLAGS=$ac_save_CFLAGS
3413 elif test $ac_cv_prog_cc_g = yes; then
3414 if test "$GCC" = yes; then
3415 CFLAGS="-g -O2"
3416 else
3417 CFLAGS="-g"
3418 fi
3419 else
3420 if test "$GCC" = yes; then
3421 CFLAGS="-O2"
3422 else
3423 CFLAGS=
3424 fi
3425 fi
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3427 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3428 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3429 $as_echo_n "(cached) " >&6
3430 else
3431 ac_cv_prog_cc_c89=no
3432 ac_save_CC=$CC
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3435 #include <stdarg.h>
3436 #include <stdio.h>
3437 #include <sys/types.h>
3438 #include <sys/stat.h>
3439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3440 struct buf { int x; };
3441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3442 static char *e (p, i)
3443 char **p;
3444 int i;
3446 return p[i];
3448 static char *f (char * (*g) (char **, int), char **p, ...)
3450 char *s;
3451 va_list v;
3452 va_start (v,p);
3453 s = g (p, va_arg (v,int));
3454 va_end (v);
3455 return s;
3458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3459 function prototypes and stuff, but not '\xHH' hex character constants.
3460 These don't provoke an error unfortunately, instead are silently treated
3461 as 'x'. The following induces an error, until -std is added to get
3462 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3463 array size at least. It's necessary to write '\x00'==0 to get something
3464 that's true only with -std. */
3465 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3467 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3468 inside strings and character constants. */
3469 #define FOO(x) 'x'
3470 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3472 int test (int i, double x);
3473 struct s1 {int (*f) (int a);};
3474 struct s2 {int (*f) (double a);};
3475 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3476 int argc;
3477 char **argv;
3478 int
3479 main ()
3481 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3483 return 0;
3485 _ACEOF
3486 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3487 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3488 do
3489 CC="$ac_save_CC $ac_arg"
3490 if ac_fn_c_try_compile "$LINENO"; then :
3491 ac_cv_prog_cc_c89=$ac_arg
3492 fi
3493 rm -f core conftest.err conftest.$ac_objext
3494 test "x$ac_cv_prog_cc_c89" != "xno" && break
3495 done
3496 rm -f conftest.$ac_ext
3497 CC=$ac_save_CC
3499 fi
3500 # AC_CACHE_VAL
3501 case "x$ac_cv_prog_cc_c89" in
3502 x)
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3504 $as_echo "none needed" >&6; } ;;
3505 xno)
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3507 $as_echo "unsupported" >&6; } ;;
3508 *)
3509 CC="$CC $ac_cv_prog_cc_c89"
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3511 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3512 esac
3513 if test "x$ac_cv_prog_cc_c89" != xno; then :
3515 fi
3517 ac_ext=c
3518 ac_cpp='$CPP $CPPFLAGS'
3519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3522 DEPDIR="${am__leading_dot}deps"
3524 ac_config_commands="$ac_config_commands depfiles"
3527 am_make=${MAKE-make}
3528 cat > confinc << 'END'
3529 am__doit:
3530 @echo this is the am__doit target
3531 .PHONY: am__doit
3532 END
3533 # If we don't find an include directive, just comment out the code.
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3535 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3536 am__include="#"
3537 am__quote=
3538 _am_result=none
3539 # First try GNU make style include.
3540 echo "include confinc" > confmf
3541 # Ignore all kinds of additional output from `make'.
3542 case `$am_make -s -f confmf 2> /dev/null` in #(
3543 *the\ am__doit\ target*)
3544 am__include=include
3545 am__quote=
3546 _am_result=GNU
3547 ;;
3548 esac
3549 # Now try BSD make style include.
3550 if test "$am__include" = "#"; then
3551 echo '.include "confinc"' > confmf
3552 case `$am_make -s -f confmf 2> /dev/null` in #(
3553 *the\ am__doit\ target*)
3554 am__include=.include
3555 am__quote="\""
3556 _am_result=BSD
3557 ;;
3558 esac
3559 fi
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3563 $as_echo "$_am_result" >&6; }
3564 rm -f confinc confmf
3566 # Check whether --enable-dependency-tracking was given.
3567 if test "${enable_dependency_tracking+set}" = set; then :
3568 enableval=$enable_dependency_tracking;
3569 fi
3571 if test "x$enable_dependency_tracking" != xno; then
3572 am_depcomp="$ac_aux_dir/depcomp"
3573 AMDEPBACKSLASH='\'
3574 fi
3575 if test "x$enable_dependency_tracking" != xno; then
3576 AMDEP_TRUE=
3577 AMDEP_FALSE='#'
3578 else
3579 AMDEP_TRUE='#'
3580 AMDEP_FALSE=
3581 fi
3585 depcc="$CC" am_compiler_list=
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3588 $as_echo_n "checking dependency style of $depcc... " >&6; }
3589 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3591 else
3592 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3593 # We make a subdir and do the tests there. Otherwise we can end up
3594 # making bogus files that we don't know about and never remove. For
3595 # instance it was reported that on HP-UX the gcc test will end up
3596 # making a dummy file named `D' -- because `-MD' means `put the output
3597 # in D'.
3598 mkdir conftest.dir
3599 # Copy depcomp to subdir because otherwise we won't find it if we're
3600 # using a relative directory.
3601 cp "$am_depcomp" conftest.dir
3602 cd conftest.dir
3603 # We will build objects and dependencies in a subdirectory because
3604 # it helps to detect inapplicable dependency modes. For instance
3605 # both Tru64's cc and ICC support -MD to output dependencies as a
3606 # side effect of compilation, but ICC will put the dependencies in
3607 # the current directory while Tru64 will put them in the object
3608 # directory.
3609 mkdir sub
3611 am_cv_CC_dependencies_compiler_type=none
3612 if test "$am_compiler_list" = ""; then
3613 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3614 fi
3615 am__universal=false
3616 case " $depcc " in #(
3617 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3618 esac
3620 for depmode in $am_compiler_list; do
3621 # Setup a source with many dependencies, because some compilers
3622 # like to wrap large dependency lists on column 80 (with \), and
3623 # we should not choose a depcomp mode which is confused by this.
3625 # We need to recreate these files for each test, as the compiler may
3626 # overwrite some of them when testing with obscure command lines.
3627 # This happens at least with the AIX C compiler.
3628 : > sub/conftest.c
3629 for i in 1 2 3 4 5 6; do
3630 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3631 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3632 # Solaris 8's {/usr,}/bin/sh.
3633 touch sub/conftst$i.h
3634 done
3635 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3637 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3638 # mode. It turns out that the SunPro C++ compiler does not properly
3639 # handle `-M -o', and we need to detect this. Also, some Intel
3640 # versions had trouble with output in subdirs
3641 am__obj=sub/conftest.${OBJEXT-o}
3642 am__minus_obj="-o $am__obj"
3643 case $depmode in
3644 gcc)
3645 # This depmode causes a compiler race in universal mode.
3646 test "$am__universal" = false || continue
3647 ;;
3648 nosideeffect)
3649 # after this tag, mechanisms are not by side-effect, so they'll
3650 # only be used when explicitly requested
3651 if test "x$enable_dependency_tracking" = xyes; then
3652 continue
3653 else
3654 break
3655 fi
3656 ;;
3657 msvisualcpp | msvcmsys)
3658 # This compiler won't grok `-c -o', but also, the minuso test has
3659 # not run yet. These depmodes are late enough in the game, and
3660 # so weak that their functioning should not be impacted.
3661 am__obj=conftest.${OBJEXT-o}
3662 am__minus_obj=
3663 ;;
3664 none) break ;;
3665 esac
3666 if depmode=$depmode \
3667 source=sub/conftest.c object=$am__obj \
3668 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3669 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3670 >/dev/null 2>conftest.err &&
3671 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3672 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3673 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3674 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3675 # icc doesn't choke on unknown options, it will just issue warnings
3676 # or remarks (even with -Werror). So we grep stderr for any message
3677 # that says an option was ignored or not supported.
3678 # When given -MP, icc 7.0 and 7.1 complain thusly:
3679 # icc: Command line warning: ignoring option '-M'; no argument required
3680 # The diagnosis changed in icc 8.0:
3681 # icc: Command line remark: option '-MP' not supported
3682 if (grep 'ignoring option' conftest.err ||
3683 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3684 am_cv_CC_dependencies_compiler_type=$depmode
3685 break
3686 fi
3687 fi
3688 done
3690 cd ..
3691 rm -rf conftest.dir
3692 else
3693 am_cv_CC_dependencies_compiler_type=none
3694 fi
3696 fi
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3698 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3699 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3701 if
3702 test "x$enable_dependency_tracking" != xno \
3703 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3704 am__fastdepCC_TRUE=
3705 am__fastdepCC_FALSE='#'
3706 else
3707 am__fastdepCC_TRUE='#'
3708 am__fastdepCC_FALSE=
3709 fi
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3714 $as_echo_n "checking for library containing strerror... " >&6; }
3715 if test "${ac_cv_search_strerror+set}" = set; then :
3716 $as_echo_n "(cached) " >&6
3717 else
3718 ac_func_search_save_LIBS=$LIBS
3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3722 /* Override any GCC internal prototype to avoid an error.
3723 Use char because int might match the return type of a GCC
3724 builtin and then its argument prototype would still apply. */
3725 #ifdef __cplusplus
3726 extern "C"
3727 #endif
3728 char strerror ();
3729 int
3730 main ()
3732 return strerror ();
3734 return 0;
3736 _ACEOF
3737 for ac_lib in '' cposix; do
3738 if test -z "$ac_lib"; then
3739 ac_res="none required"
3740 else
3741 ac_res=-l$ac_lib
3742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3743 fi
3744 if ac_fn_c_try_link "$LINENO"; then :
3745 ac_cv_search_strerror=$ac_res
3746 fi
3747 rm -f core conftest.err conftest.$ac_objext \
3748 conftest$ac_exeext
3749 if test "${ac_cv_search_strerror+set}" = set; then :
3750 break
3751 fi
3752 done
3753 if test "${ac_cv_search_strerror+set}" = set; then :
3755 else
3756 ac_cv_search_strerror=no
3757 fi
3758 rm conftest.$ac_ext
3759 LIBS=$ac_func_search_save_LIBS
3760 fi
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3762 $as_echo "$ac_cv_search_strerror" >&6; }
3763 ac_res=$ac_cv_search_strerror
3764 if test "$ac_res" != no; then :
3765 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3767 fi
3769 ac_ext=c
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3775 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3776 # On Suns, sometimes $CPP names a directory.
3777 if test -n "$CPP" && test -d "$CPP"; then
3778 CPP=
3779 fi
3780 if test -z "$CPP"; then
3781 if test "${ac_cv_prog_CPP+set}" = set; then :
3782 $as_echo_n "(cached) " >&6
3783 else
3784 # Double quotes because CPP needs to be expanded
3785 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3786 do
3787 ac_preproc_ok=false
3788 for ac_c_preproc_warn_flag in '' yes
3789 do
3790 # Use a header file that comes with gcc, so configuring glibc
3791 # with a fresh cross-compiler works.
3792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3793 # <limits.h> exists even on freestanding compilers.
3794 # On the NeXT, cc -E runs the code through the compiler's parser,
3795 # not just through cpp. "Syntax error" is here to catch this case.
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3798 #ifdef __STDC__
3799 # include <limits.h>
3800 #else
3801 # include <assert.h>
3802 #endif
3803 Syntax error
3804 _ACEOF
3805 if ac_fn_c_try_cpp "$LINENO"; then :
3807 else
3808 # Broken: fails on valid input.
3809 continue
3810 fi
3811 rm -f conftest.err conftest.$ac_ext
3813 # OK, works on sane cases. Now check whether nonexistent headers
3814 # can be detected and how.
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3817 #include <ac_nonexistent.h>
3818 _ACEOF
3819 if ac_fn_c_try_cpp "$LINENO"; then :
3820 # Broken: success on invalid input.
3821 continue
3822 else
3823 # Passes both tests.
3824 ac_preproc_ok=:
3825 break
3826 fi
3827 rm -f conftest.err conftest.$ac_ext
3829 done
3830 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3831 rm -f conftest.err conftest.$ac_ext
3832 if $ac_preproc_ok; then :
3833 break
3834 fi
3836 done
3837 ac_cv_prog_CPP=$CPP
3839 fi
3840 CPP=$ac_cv_prog_CPP
3841 else
3842 ac_cv_prog_CPP=$CPP
3843 fi
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3845 $as_echo "$CPP" >&6; }
3846 ac_preproc_ok=false
3847 for ac_c_preproc_warn_flag in '' yes
3848 do
3849 # Use a header file that comes with gcc, so configuring glibc
3850 # with a fresh cross-compiler works.
3851 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3852 # <limits.h> exists even on freestanding compilers.
3853 # On the NeXT, cc -E runs the code through the compiler's parser,
3854 # not just through cpp. "Syntax error" is here to catch this case.
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3857 #ifdef __STDC__
3858 # include <limits.h>
3859 #else
3860 # include <assert.h>
3861 #endif
3862 Syntax error
3863 _ACEOF
3864 if ac_fn_c_try_cpp "$LINENO"; then :
3866 else
3867 # Broken: fails on valid input.
3868 continue
3869 fi
3870 rm -f conftest.err conftest.$ac_ext
3872 # OK, works on sane cases. Now check whether nonexistent headers
3873 # can be detected and how.
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3876 #include <ac_nonexistent.h>
3877 _ACEOF
3878 if ac_fn_c_try_cpp "$LINENO"; then :
3879 # Broken: success on invalid input.
3880 continue
3881 else
3882 # Passes both tests.
3883 ac_preproc_ok=:
3884 break
3885 fi
3886 rm -f conftest.err conftest.$ac_ext
3888 done
3889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3890 rm -f conftest.err conftest.$ac_ext
3891 if $ac_preproc_ok; then :
3893 else
3894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3896 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3897 See \`config.log' for more details." "$LINENO" 5; }
3898 fi
3900 ac_ext=c
3901 ac_cpp='$CPP $CPPFLAGS'
3902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3908 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3909 if test "${ac_cv_path_GREP+set}" = set; then :
3910 $as_echo_n "(cached) " >&6
3911 else
3912 if test -z "$GREP"; then
3913 ac_path_GREP_found=false
3914 # Loop through the user's path and test for each of PROGNAME-LIST
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3917 do
3918 IFS=$as_save_IFS
3919 test -z "$as_dir" && as_dir=.
3920 for ac_prog in grep ggrep; do
3921 for ac_exec_ext in '' $ac_executable_extensions; do
3922 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3923 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3924 # Check for GNU ac_path_GREP and select it if it is found.
3925 # Check for GNU $ac_path_GREP
3926 case `"$ac_path_GREP" --version 2>&1` in
3927 *GNU*)
3928 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3929 *)
3930 ac_count=0
3931 $as_echo_n 0123456789 >"conftest.in"
3932 while :
3933 do
3934 cat "conftest.in" "conftest.in" >"conftest.tmp"
3935 mv "conftest.tmp" "conftest.in"
3936 cp "conftest.in" "conftest.nl"
3937 $as_echo 'GREP' >> "conftest.nl"
3938 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3939 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3940 as_fn_arith $ac_count + 1 && ac_count=$as_val
3941 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3942 # Best one so far, save it but keep looking for a better one
3943 ac_cv_path_GREP="$ac_path_GREP"
3944 ac_path_GREP_max=$ac_count
3945 fi
3946 # 10*(2^10) chars as input seems more than enough
3947 test $ac_count -gt 10 && break
3948 done
3949 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3950 esac
3952 $ac_path_GREP_found && break 3
3953 done
3954 done
3955 done
3956 IFS=$as_save_IFS
3957 if test -z "$ac_cv_path_GREP"; then
3958 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3959 fi
3960 else
3961 ac_cv_path_GREP=$GREP
3962 fi
3964 fi
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3966 $as_echo "$ac_cv_path_GREP" >&6; }
3967 GREP="$ac_cv_path_GREP"
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3971 $as_echo_n "checking for egrep... " >&6; }
3972 if test "${ac_cv_path_EGREP+set}" = set; then :
3973 $as_echo_n "(cached) " >&6
3974 else
3975 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3976 then ac_cv_path_EGREP="$GREP -E"
3977 else
3978 if test -z "$EGREP"; then
3979 ac_path_EGREP_found=false
3980 # Loop through the user's path and test for each of PROGNAME-LIST
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3983 do
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_prog in egrep; do
3987 for ac_exec_ext in '' $ac_executable_extensions; do
3988 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3989 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3990 # Check for GNU ac_path_EGREP and select it if it is found.
3991 # Check for GNU $ac_path_EGREP
3992 case `"$ac_path_EGREP" --version 2>&1` in
3993 *GNU*)
3994 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3995 *)
3996 ac_count=0
3997 $as_echo_n 0123456789 >"conftest.in"
3998 while :
3999 do
4000 cat "conftest.in" "conftest.in" >"conftest.tmp"
4001 mv "conftest.tmp" "conftest.in"
4002 cp "conftest.in" "conftest.nl"
4003 $as_echo 'EGREP' >> "conftest.nl"
4004 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4005 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4006 as_fn_arith $ac_count + 1 && ac_count=$as_val
4007 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4008 # Best one so far, save it but keep looking for a better one
4009 ac_cv_path_EGREP="$ac_path_EGREP"
4010 ac_path_EGREP_max=$ac_count
4011 fi
4012 # 10*(2^10) chars as input seems more than enough
4013 test $ac_count -gt 10 && break
4014 done
4015 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4016 esac
4018 $ac_path_EGREP_found && break 3
4019 done
4020 done
4021 done
4022 IFS=$as_save_IFS
4023 if test -z "$ac_cv_path_EGREP"; then
4024 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4025 fi
4026 else
4027 ac_cv_path_EGREP=$EGREP
4028 fi
4030 fi
4031 fi
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4033 $as_echo "$ac_cv_path_EGREP" >&6; }
4034 EGREP="$ac_cv_path_EGREP"
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4038 $as_echo_n "checking for ANSI C header files... " >&6; }
4039 if test "${ac_cv_header_stdc+set}" = set; then :
4040 $as_echo_n "(cached) " >&6
4041 else
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4044 #include <stdlib.h>
4045 #include <stdarg.h>
4046 #include <string.h>
4047 #include <float.h>
4049 int
4050 main ()
4054 return 0;
4056 _ACEOF
4057 if ac_fn_c_try_compile "$LINENO"; then :
4058 ac_cv_header_stdc=yes
4059 else
4060 ac_cv_header_stdc=no
4061 fi
4062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4064 if test $ac_cv_header_stdc = yes; then
4065 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4068 #include <string.h>
4070 _ACEOF
4071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4072 $EGREP "memchr" >/dev/null 2>&1; then :
4074 else
4075 ac_cv_header_stdc=no
4076 fi
4077 rm -f conftest*
4079 fi
4081 if test $ac_cv_header_stdc = yes; then
4082 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4085 #include <stdlib.h>
4087 _ACEOF
4088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4089 $EGREP "free" >/dev/null 2>&1; then :
4091 else
4092 ac_cv_header_stdc=no
4093 fi
4094 rm -f conftest*
4096 fi
4098 if test $ac_cv_header_stdc = yes; then
4099 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4100 if test "$cross_compiling" = yes; then :
4102 else
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4105 #include <ctype.h>
4106 #include <stdlib.h>
4107 #if ((' ' & 0x0FF) == 0x020)
4108 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4109 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4110 #else
4111 # define ISLOWER(c) \
4112 (('a' <= (c) && (c) <= 'i') \
4113 || ('j' <= (c) && (c) <= 'r') \
4114 || ('s' <= (c) && (c) <= 'z'))
4115 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4116 #endif
4118 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4119 int
4120 main ()
4122 int i;
4123 for (i = 0; i < 256; i++)
4124 if (XOR (islower (i), ISLOWER (i))
4125 || toupper (i) != TOUPPER (i))
4126 return 2;
4127 return 0;
4129 _ACEOF
4130 if ac_fn_c_try_run "$LINENO"; then :
4132 else
4133 ac_cv_header_stdc=no
4134 fi
4135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4136 conftest.$ac_objext conftest.beam conftest.$ac_ext
4137 fi
4139 fi
4140 fi
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4142 $as_echo "$ac_cv_header_stdc" >&6; }
4143 if test $ac_cv_header_stdc = yes; then
4145 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4147 fi
4149 if test -n "$ac_tool_prefix"; then
4150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4153 $as_echo_n "checking for $ac_word... " >&6; }
4154 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4156 else
4157 if test -n "$RANLIB"; then
4158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4159 else
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH
4162 do
4163 IFS=$as_save_IFS
4164 test -z "$as_dir" && as_dir=.
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 break 2
4170 fi
4171 done
4172 done
4173 IFS=$as_save_IFS
4175 fi
4176 fi
4177 RANLIB=$ac_cv_prog_RANLIB
4178 if test -n "$RANLIB"; then
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4180 $as_echo "$RANLIB" >&6; }
4181 else
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4183 $as_echo "no" >&6; }
4184 fi
4187 fi
4188 if test -z "$ac_cv_prog_RANLIB"; then
4189 ac_ct_RANLIB=$RANLIB
4190 # Extract the first word of "ranlib", so it can be a program name with args.
4191 set dummy ranlib; ac_word=$2
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4193 $as_echo_n "checking for $ac_word... " >&6; }
4194 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4195 $as_echo_n "(cached) " >&6
4196 else
4197 if test -n "$ac_ct_RANLIB"; then
4198 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4199 else
4200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 for as_dir in $PATH
4202 do
4203 IFS=$as_save_IFS
4204 test -z "$as_dir" && as_dir=.
4205 for ac_exec_ext in '' $ac_executable_extensions; do
4206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4207 ac_cv_prog_ac_ct_RANLIB="ranlib"
4208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4209 break 2
4210 fi
4211 done
4212 done
4213 IFS=$as_save_IFS
4215 fi
4216 fi
4217 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4218 if test -n "$ac_ct_RANLIB"; then
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4220 $as_echo "$ac_ct_RANLIB" >&6; }
4221 else
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223 $as_echo "no" >&6; }
4224 fi
4226 if test "x$ac_ct_RANLIB" = x; then
4227 RANLIB=":"
4228 else
4229 case $cross_compiling:$ac_tool_warned in
4230 yes:)
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4233 ac_tool_warned=yes ;;
4234 esac
4235 RANLIB=$ac_ct_RANLIB
4236 fi
4237 else
4238 RANLIB="$ac_cv_prog_RANLIB"
4239 fi
4248 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4249 if test -n "$ac_tool_prefix"; then
4250 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4251 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4253 $as_echo_n "checking for $ac_word... " >&6; }
4254 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4256 else
4257 case $PKG_CONFIG in
4258 [\\/]* | ?:[\\/]*)
4259 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4260 ;;
4261 *)
4262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4263 for as_dir in $PATH
4264 do
4265 IFS=$as_save_IFS
4266 test -z "$as_dir" && as_dir=.
4267 for ac_exec_ext in '' $ac_executable_extensions; do
4268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4269 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 break 2
4272 fi
4273 done
4274 done
4275 IFS=$as_save_IFS
4277 ;;
4278 esac
4279 fi
4280 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4281 if test -n "$PKG_CONFIG"; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4283 $as_echo "$PKG_CONFIG" >&6; }
4284 else
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286 $as_echo "no" >&6; }
4287 fi
4290 fi
4291 if test -z "$ac_cv_path_PKG_CONFIG"; then
4292 ac_pt_PKG_CONFIG=$PKG_CONFIG
4293 # Extract the first word of "pkg-config", so it can be a program name with args.
4294 set dummy pkg-config; ac_word=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4298 $as_echo_n "(cached) " >&6
4299 else
4300 case $ac_pt_PKG_CONFIG in
4301 [\\/]* | ?:[\\/]*)
4302 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4303 ;;
4304 *)
4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4306 for as_dir in $PATH
4307 do
4308 IFS=$as_save_IFS
4309 test -z "$as_dir" && as_dir=.
4310 for ac_exec_ext in '' $ac_executable_extensions; do
4311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4312 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4314 break 2
4315 fi
4316 done
4317 done
4318 IFS=$as_save_IFS
4320 ;;
4321 esac
4322 fi
4323 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4324 if test -n "$ac_pt_PKG_CONFIG"; then
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4326 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4327 else
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4329 $as_echo "no" >&6; }
4330 fi
4332 if test "x$ac_pt_PKG_CONFIG" = x; then
4333 PKG_CONFIG=""
4334 else
4335 case $cross_compiling:$ac_tool_warned in
4336 yes:)
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4339 ac_tool_warned=yes ;;
4340 esac
4341 PKG_CONFIG=$ac_pt_PKG_CONFIG
4342 fi
4343 else
4344 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4345 fi
4347 fi
4348 if test -n "$PKG_CONFIG"; then
4349 _pkg_min_version=0.9.0
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4351 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4352 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4354 $as_echo "yes" >&6; }
4355 else
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4357 $as_echo "no" >&6; }
4358 PKG_CONFIG=""
4359 fi
4360 fi
4362 pkg_failed=no
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
4364 $as_echo_n "checking for GLIB... " >&6; }
4366 if test -n "$GLIB_CFLAGS"; then
4367 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4368 elif test -n "$PKG_CONFIG"; then
4369 if test -n "$PKG_CONFIG" && \
4370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
4371 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4372 ac_status=$?
4373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4374 test $ac_status = 0; }; then
4375 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
4376 else
4377 pkg_failed=yes
4378 fi
4379 else
4380 pkg_failed=untried
4381 fi
4382 if test -n "$GLIB_LIBS"; then
4383 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4384 elif test -n "$PKG_CONFIG"; then
4385 if test -n "$PKG_CONFIG" && \
4386 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
4387 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
4388 ac_status=$?
4389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4390 test $ac_status = 0; }; then
4391 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
4392 else
4393 pkg_failed=yes
4394 fi
4395 else
4396 pkg_failed=untried
4397 fi
4401 if test $pkg_failed = yes; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4406 _pkg_short_errors_supported=yes
4407 else
4408 _pkg_short_errors_supported=no
4409 fi
4410 if test $_pkg_short_errors_supported = yes; then
4411 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
4412 else
4413 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
4414 fi
4415 # Put the nasty error message in config.log where it belongs
4416 echo "$GLIB_PKG_ERRORS" >&5
4418 as_fn_error "Package requirements (glib-2.0) were not met:
4420 $GLIB_PKG_ERRORS
4422 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4423 installed software in a non-standard prefix.
4425 Alternatively, you may set the environment variables GLIB_CFLAGS
4426 and GLIB_LIBS to avoid the need to call pkg-config.
4427 See the pkg-config man page for more details." "$LINENO" 5
4428 elif test $pkg_failed = untried; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4433 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
4434 is in your PATH or set the PKG_CONFIG environment variable to the full
4435 path to pkg-config.
4437 Alternatively, you may set the environment variables GLIB_CFLAGS
4438 and GLIB_LIBS to avoid the need to call pkg-config.
4439 See the pkg-config man page for more details.
4441 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4442 See \`config.log' for more details." "$LINENO" 5; }
4443 else
4444 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4445 GLIB_LIBS=$pkg_cv_GLIB_LIBS
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4447 $as_echo "yes" >&6; }
4449 fi
4453 # Check whether --enable-resolver was given.
4454 if test "${enable_resolver+set}" = set; then :
4455 enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then
4456 resolver_enabled='yes'
4457 fi
4458 else
4459 resolver_enabled='yes'
4461 fi
4464 if test "$resolver_enabled" = yes; then
4466 $as_echo "#define ENABLE_RESOLVER 1" >>confdefs.h
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lc" >&5
4469 $as_echo_n "checking for res_search in -lc... " >&6; }
4470 if test "${ac_cv_lib_c_res_search+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 ac_check_lib_save_LIBS=$LIBS
4474 LIBS="-lc $LIBS"
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4478 /* Override any GCC internal prototype to avoid an error.
4479 Use char because int might match the return type of a GCC
4480 builtin and then its argument prototype would still apply. */
4481 #ifdef __cplusplus
4482 extern "C"
4483 #endif
4484 char res_search ();
4485 int
4486 main ()
4488 return res_search ();
4490 return 0;
4492 _ACEOF
4493 if ac_fn_c_try_link "$LINENO"; then :
4494 ac_cv_lib_c_res_search=yes
4495 else
4496 ac_cv_lib_c_res_search=no
4497 fi
4498 rm -f core conftest.err conftest.$ac_objext \
4499 conftest$ac_exeext conftest.$ac_ext
4500 LIBS=$ac_check_lib_save_LIBS
4501 fi
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_res_search" >&5
4503 $as_echo "$ac_cv_lib_c_res_search" >&6; }
4504 if test "x$ac_cv_lib_c_res_search" = x""yes; then :
4505 need_resolv=no
4506 else
4507 need_resolv=yes
4508 fi
4510 if test "$need_resolv" = yes; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
4512 $as_echo_n "checking for res_search in -lresolv... " >&6; }
4513 if test "${ac_cv_lib_resolv_res_search+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 ac_check_lib_save_LIBS=$LIBS
4517 LIBS="-lresolv $LIBS"
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4521 /* Override any GCC internal prototype to avoid an error.
4522 Use char because int might match the return type of a GCC
4523 builtin and then its argument prototype would still apply. */
4524 #ifdef __cplusplus
4525 extern "C"
4526 #endif
4527 char res_search ();
4528 int
4529 main ()
4531 return res_search ();
4533 return 0;
4535 _ACEOF
4536 if ac_fn_c_try_link "$LINENO"; then :
4537 ac_cv_lib_resolv_res_search=yes
4538 else
4539 ac_cv_lib_resolv_res_search=no
4540 fi
4541 rm -f core conftest.err conftest.$ac_objext \
4542 conftest$ac_exeext conftest.$ac_ext
4543 LIBS=$ac_check_lib_save_LIBS
4544 fi
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5
4546 $as_echo "$ac_cv_lib_resolv_res_search" >&6; }
4547 if test "x$ac_cv_lib_resolv_res_search" = x""yes; then :
4548 has_resolv=yes; RESOLV_LIBS="-lresolv"
4549 else
4550 has_resolv=no
4551 fi
4553 if test "$has_resolv" = no; then
4554 saved_LIBS="$LIBS"
4555 LIBS="$LIBS -lresolv"
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
4557 $as_echo_n "checking for res_search in -lresolv... " >&6; }
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4560 #include <resolv.h>
4561 int
4562 main ()
4564 res_search (0, 0, 0, 0, 0);
4566 return 0;
4568 _ACEOF
4569 if ac_fn_c_try_link "$LINENO"; then :
4570 RESOLV_LIBS="-lresolv"; has_resolv=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4571 $as_echo "yes" >&6; }
4572 else
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4574 $as_echo "no" >&6; }
4575 fi
4576 rm -f core conftest.err conftest.$ac_objext \
4577 conftest$ac_exeext conftest.$ac_ext;
4578 LIBS="$saved_LIBS"
4579 fi
4580 if test "$has_resolv" = no; then
4581 as_fn_error "\"no libresolv\"" "$LINENO" 5
4582 RESOLV_LIBS=''
4583 fi
4584 fi
4585 else
4586 RESOLV_LIBS=''
4587 fi
4590 for ac_func in getline
4591 do :
4592 ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
4593 if test "x$ac_cv_func_getline" = x""yes; then :
4594 cat >>confdefs.h <<_ACEOF
4595 #define HAVE_GETLINE 1
4596 _ACEOF
4598 fi
4599 done
4602 for ac_func in fdatasync
4603 do :
4604 ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync"
4605 if test "x$ac_cv_func_fdatasync" = x""yes; then :
4606 cat >>confdefs.h <<_ACEOF
4607 #define HAVE_FDATASYNC 1
4608 _ACEOF
4610 fi
4611 done
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4615 $as_echo_n "checking for ANSI C header files... " >&6; }
4616 if test "${ac_cv_header_stdc+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4618 else
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4621 #include <stdlib.h>
4622 #include <stdarg.h>
4623 #include <string.h>
4624 #include <float.h>
4626 int
4627 main ()
4631 return 0;
4633 _ACEOF
4634 if ac_fn_c_try_compile "$LINENO"; then :
4635 ac_cv_header_stdc=yes
4636 else
4637 ac_cv_header_stdc=no
4638 fi
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 if test $ac_cv_header_stdc = yes; then
4642 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4645 #include <string.h>
4647 _ACEOF
4648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4649 $EGREP "memchr" >/dev/null 2>&1; then :
4651 else
4652 ac_cv_header_stdc=no
4653 fi
4654 rm -f conftest*
4656 fi
4658 if test $ac_cv_header_stdc = yes; then
4659 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <stdlib.h>
4664 _ACEOF
4665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4666 $EGREP "free" >/dev/null 2>&1; then :
4668 else
4669 ac_cv_header_stdc=no
4670 fi
4671 rm -f conftest*
4673 fi
4675 if test $ac_cv_header_stdc = yes; then
4676 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4677 if test "$cross_compiling" = yes; then :
4679 else
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4682 #include <ctype.h>
4683 #include <stdlib.h>
4684 #if ((' ' & 0x0FF) == 0x020)
4685 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4686 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4687 #else
4688 # define ISLOWER(c) \
4689 (('a' <= (c) && (c) <= 'i') \
4690 || ('j' <= (c) && (c) <= 'r') \
4691 || ('s' <= (c) && (c) <= 'z'))
4692 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4693 #endif
4695 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4696 int
4697 main ()
4699 int i;
4700 for (i = 0; i < 256; i++)
4701 if (XOR (islower (i), ISLOWER (i))
4702 || toupper (i) != TOUPPER (i))
4703 return 2;
4704 return 0;
4706 _ACEOF
4707 if ac_fn_c_try_run "$LINENO"; then :
4709 else
4710 ac_cv_header_stdc=no
4711 fi
4712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4713 conftest.$ac_objext conftest.beam conftest.$ac_ext
4714 fi
4716 fi
4717 fi
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4719 $as_echo "$ac_cv_header_stdc" >&6; }
4720 if test $ac_cv_header_stdc = yes; then
4722 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4724 fi
4726 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4727 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4728 inttypes.h stdint.h unistd.h
4729 do :
4730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4733 eval as_val=\$$as_ac_Header
4734 if test "x$as_val" = x""yes; then :
4735 cat >>confdefs.h <<_ACEOF
4736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4737 _ACEOF
4739 fi
4741 done
4744 for ac_header in fcntl.h sys/time.h syslog.h unistd.h
4745 do :
4746 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4747 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4748 eval as_val=\$$as_ac_Header
4749 if test "x$as_val" = x""yes; then :
4750 cat >>confdefs.h <<_ACEOF
4751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4752 _ACEOF
4754 fi
4756 done
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4760 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4761 if test "${ac_cv_c_const+set}" = set; then :
4762 $as_echo_n "(cached) " >&6
4763 else
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4767 int
4768 main ()
4770 /* FIXME: Include the comments suggested by Paul. */
4771 #ifndef __cplusplus
4772 /* Ultrix mips cc rejects this. */
4773 typedef int charset[2];
4774 const charset cs;
4775 /* SunOS 4.1.1 cc rejects this. */
4776 char const *const *pcpcc;
4777 char **ppc;
4778 /* NEC SVR4.0.2 mips cc rejects this. */
4779 struct point {int x, y;};
4780 static struct point const zero = {0,0};
4781 /* AIX XL C 1.02.0.0 rejects this.
4782 It does not let you subtract one const X* pointer from another in
4783 an arm of an if-expression whose if-part is not a constant
4784 expression */
4785 const char *g = "string";
4786 pcpcc = &g + (g ? g-g : 0);
4787 /* HPUX 7.0 cc rejects these. */
4788 ++pcpcc;
4789 ppc = (char**) pcpcc;
4790 pcpcc = (char const *const *) ppc;
4791 { /* SCO 3.2v4 cc rejects this. */
4792 char *t;
4793 char const *s = 0 ? (char *) 0 : (char const *) 0;
4795 *t++ = 0;
4796 if (s) return 0;
4798 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4799 int x[] = {25, 17};
4800 const int *foo = &x[0];
4801 ++foo;
4803 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4804 typedef const int *iptr;
4805 iptr p = 0;
4806 ++p;
4808 { /* AIX XL C 1.02.0.0 rejects this saying
4809 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4810 struct s { int j; const int *ap[3]; };
4811 struct s *b; b->j = 5;
4813 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4814 const int foo = 10;
4815 if (!foo) return 0;
4817 return !cs[0] && !zero.x;
4818 #endif
4821 return 0;
4823 _ACEOF
4824 if ac_fn_c_try_compile "$LINENO"; then :
4825 ac_cv_c_const=yes
4826 else
4827 ac_cv_c_const=no
4828 fi
4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4830 fi
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4832 $as_echo "$ac_cv_c_const" >&6; }
4833 if test $ac_cv_c_const = no; then
4835 $as_echo "#define const /**/" >>confdefs.h
4837 fi
4839 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4840 if test "x$ac_cv_type_pid_t" = x""yes; then :
4842 else
4844 cat >>confdefs.h <<_ACEOF
4845 #define pid_t int
4846 _ACEOF
4848 fi
4850 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4851 if test "x$ac_cv_type_size_t" = x""yes; then :
4853 else
4855 cat >>confdefs.h <<_ACEOF
4856 #define size_t unsigned int
4857 _ACEOF
4859 fi
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4862 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4863 if test "${ac_cv_header_time+set}" = set; then :
4864 $as_echo_n "(cached) " >&6
4865 else
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4868 #include <sys/types.h>
4869 #include <sys/time.h>
4870 #include <time.h>
4872 int
4873 main ()
4875 if ((struct tm *) 0)
4876 return 0;
4878 return 0;
4880 _ACEOF
4881 if ac_fn_c_try_compile "$LINENO"; then :
4882 ac_cv_header_time=yes
4883 else
4884 ac_cv_header_time=no
4885 fi
4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4887 fi
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4889 $as_echo "$ac_cv_header_time" >&6; }
4890 if test $ac_cv_header_time = yes; then
4892 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4894 fi
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4897 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4898 if test "${ac_cv_struct_tm+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4903 #include <sys/types.h>
4904 #include <time.h>
4906 int
4907 main ()
4909 struct tm tm;
4910 int *p = &tm.tm_sec;
4911 return !p;
4913 return 0;
4915 _ACEOF
4916 if ac_fn_c_try_compile "$LINENO"; then :
4917 ac_cv_struct_tm=time.h
4918 else
4919 ac_cv_struct_tm=sys/time.h
4920 fi
4921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4922 fi
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4924 $as_echo "$ac_cv_struct_tm" >&6; }
4925 if test $ac_cv_struct_tm = sys/time.h; then
4927 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4929 fi
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
4933 $as_echo_n "checking for working POSIX fnmatch... " >&6; }
4934 if test "${ac_cv_func_fnmatch_works+set}" = set; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 # Some versions of Solaris, SCO, and the GNU C Library
4938 # have a broken or incompatible fnmatch.
4939 # So we run a test program. If we are cross-compiling, take no chance.
4940 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
4941 if test "$cross_compiling" = yes; then :
4942 ac_cv_func_fnmatch_works=cross
4943 else
4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4946 #include <fnmatch.h>
4947 # define y(a, b, c) (fnmatch (a, b, c) == 0)
4948 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
4950 int
4951 main ()
4953 return
4954 (!(y ("a*", "abc", 0)
4955 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
4956 && y ("a\\\\bc", "abc", 0)
4957 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
4958 && y ("*x", ".x", 0)
4959 && n ("*x", ".x", FNM_PERIOD)
4960 && 1));
4962 return 0;
4964 _ACEOF
4965 if ac_fn_c_try_run "$LINENO"; then :
4966 ac_cv_func_fnmatch_works=yes
4967 else
4968 ac_cv_func_fnmatch_works=no
4969 fi
4970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4971 conftest.$ac_objext conftest.beam conftest.$ac_ext
4972 fi
4974 fi
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
4976 $as_echo "$ac_cv_func_fnmatch_works" >&6; }
4977 if test $ac_cv_func_fnmatch_works = yes; then :
4979 $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
4981 fi
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4985 $as_echo_n "checking return type of signal handlers... " >&6; }
4986 if test "${ac_cv_type_signal+set}" = set; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4991 #include <sys/types.h>
4992 #include <signal.h>
4994 int
4995 main ()
4997 return *(signal (0, 0)) (0) == 1;
4999 return 0;
5001 _ACEOF
5002 if ac_fn_c_try_compile "$LINENO"; then :
5003 ac_cv_type_signal=int
5004 else
5005 ac_cv_type_signal=void
5006 fi
5007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5008 fi
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5010 $as_echo "$ac_cv_type_signal" >&6; }
5012 cat >>confdefs.h <<_ACEOF
5013 #define RETSIGTYPE $ac_cv_type_signal
5014 _ACEOF
5017 for ac_func in strftime
5018 do :
5019 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
5020 if test "x$ac_cv_func_strftime" = x""yes; then :
5021 cat >>confdefs.h <<_ACEOF
5022 #define HAVE_STRFTIME 1
5023 _ACEOF
5025 else
5026 # strftime is in -lintl on SCO UNIX.
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
5028 $as_echo_n "checking for strftime in -lintl... " >&6; }
5029 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5031 else
5032 ac_check_lib_save_LIBS=$LIBS
5033 LIBS="-lintl $LIBS"
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5037 /* Override any GCC internal prototype to avoid an error.
5038 Use char because int might match the return type of a GCC
5039 builtin and then its argument prototype would still apply. */
5040 #ifdef __cplusplus
5041 extern "C"
5042 #endif
5043 char strftime ();
5044 int
5045 main ()
5047 return strftime ();
5049 return 0;
5051 _ACEOF
5052 if ac_fn_c_try_link "$LINENO"; then :
5053 ac_cv_lib_intl_strftime=yes
5054 else
5055 ac_cv_lib_intl_strftime=no
5056 fi
5057 rm -f core conftest.err conftest.$ac_objext \
5058 conftest$ac_exeext conftest.$ac_ext
5059 LIBS=$ac_check_lib_save_LIBS
5060 fi
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
5062 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
5063 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
5064 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
5066 LIBS="-lintl $LIBS"
5067 fi
5069 fi
5070 done
5072 for ac_func in vprintf
5073 do :
5074 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
5075 if test "x$ac_cv_func_vprintf" = x""yes; then :
5076 cat >>confdefs.h <<_ACEOF
5077 #define HAVE_VPRINTF 1
5078 _ACEOF
5080 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
5081 if test "x$ac_cv_func__doprnt" = x""yes; then :
5083 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
5085 fi
5087 fi
5088 done
5091 for ac_func in select socket strerror strstr
5092 do :
5093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5095 eval as_val=\$$as_ac_var
5096 if test "x$as_val" = x""yes; then :
5097 cat >>confdefs.h <<_ACEOF
5098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5099 _ACEOF
5101 fi
5102 done
5106 # Check whether --with-user was given.
5107 if test "${with_user+set}" = set; then :
5108 withval=$with_user;
5109 fi
5111 if test "x$with_user" = 'x'; then
5112 with_user='mail'
5113 fi
5116 # Check whether --with-group was given.
5117 if test "${with_group+set}" = set; then :
5118 withval=$with_group;
5119 fi
5121 if test "x$with_group" = 'x'; then
5122 with_group='trusted'
5123 fi
5125 # Check whether --enable-debug was given.
5126 if test "${enable_debug+set}" = set; then :
5127 enableval=$enable_debug; if test "x$enable_debug" != 'xno'; then
5128 debug_enabled='yes'
5129 fi
5130 else
5131 debug_enabled='yes'
5133 fi
5135 if test "x$debug_enabled" = xyes; then
5137 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
5139 fi
5142 cat >>confdefs.h <<_ACEOF
5143 #define DEF_MAIL_USER "${with_user}"
5144 _ACEOF
5148 cat >>confdefs.h <<_ACEOF
5149 #define DEF_MAIL_GROUP "${with_group}"
5150 _ACEOF
5155 # Check whether --with-glib_static was given.
5156 if test "${with_glib_static+set}" = set; then :
5157 withval=$with_glib_static;
5158 fi
5160 if test "x$with_glib_static" != 'x'; then
5161 GLIB_LIBS=$with_glib_static
5163 fi
5165 MD5_LIBS=''
5166 BASE64_LIBS=''
5168 # Check whether --enable-smtp_server was given.
5169 if test "${enable_smtp_server+set}" = set; then :
5170 enableval=$enable_smtp_server; if test "x$enable_smtp_server" != 'xno'; then
5171 smtp_server_enabled='yes'
5172 fi
5173 else
5174 smtp_server_enabled='yes'
5176 fi
5178 if test "x$smtp_server_enabled" = xyes; then
5180 $as_echo "#define ENABLE_SMTP_SERVER 1" >>confdefs.h
5182 fi
5184 # Check whether --enable-pop3 was given.
5185 if test "${enable_pop3+set}" = set; then :
5186 enableval=$enable_pop3; if test "x$enable_pop3" != 'xno'; then
5187 pop3_enabled='yes'
5188 fi
5189 fi
5191 if test "x$pop3_enabled" = xyes; then
5193 $as_echo "#define ENABLE_POP3 1" >>confdefs.h
5195 # MD5_LIBS='md5/libmd5c.a'
5196 need_md5='yes'
5197 fi
5199 # Check whether --enable-auth was given.
5200 if test "${enable_auth+set}" = set; then :
5201 enableval=$enable_auth; if test "x$enable_auth" != 'xno'; then
5202 auth_enabled='yes'
5203 fi
5204 fi
5206 if test "x$auth_enabled" = xyes; then
5208 $as_echo "#define ENABLE_AUTH 1" >>confdefs.h
5210 BASE64_LIBS='base64/libbase64.a'
5211 # MD5_LIBS='md5/libmd5c.a'
5212 need_md5='yes'
5213 fi
5216 # Check whether --enable-maildir was given.
5217 if test "${enable_maildir+set}" = set; then :
5218 enableval=$enable_maildir; if test "x$enable_maildir" != 'xno'; then
5219 maildir_enabled='yes'
5220 fi
5221 fi
5223 if test "x$maildir_enabled" = xyes; then
5225 $as_echo "#define ENABLE_MAILDIR 1" >>confdefs.h
5227 fi
5230 # Check whether --with-libcrypto was given.
5231 if test "${with_libcrypto+set}" = set; then :
5232 withval=$with_libcrypto;
5233 fi
5235 if test "x$with_libcrypto" != 'xyes'; then
5236 with_libcrypto='no'
5237 fi
5239 if test "x$need_md5" = 'xyes'; then
5240 if test "x$with_libcrypto" = "xyes"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5
5242 $as_echo_n "checking for MD5 in -lcrypto... " >&6; }
5243 if test "${ac_cv_lib_crypto_MD5+set}" = set; then :
5244 $as_echo_n "(cached) " >&6
5245 else
5246 ac_check_lib_save_LIBS=$LIBS
5247 LIBS="-lcrypto $LIBS"
5248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h. */
5251 /* Override any GCC internal prototype to avoid an error.
5252 Use char because int might match the return type of a GCC
5253 builtin and then its argument prototype would still apply. */
5254 #ifdef __cplusplus
5255 extern "C"
5256 #endif
5257 char MD5 ();
5258 int
5259 main ()
5261 return MD5 ();
5263 return 0;
5265 _ACEOF
5266 if ac_fn_c_try_link "$LINENO"; then :
5267 ac_cv_lib_crypto_MD5=yes
5268 else
5269 ac_cv_lib_crypto_MD5=no
5270 fi
5271 rm -f core conftest.err conftest.$ac_objext \
5272 conftest$ac_exeext conftest.$ac_ext
5273 LIBS=$ac_check_lib_save_LIBS
5274 fi
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5
5276 $as_echo "$ac_cv_lib_crypto_MD5" >&6; }
5277 if test "x$ac_cv_lib_crypto_MD5" = x""yes; then :
5278 has_crypto='yes'
5279 else
5280 as_fn_error "'no libcrypto'" "$LINENO" 5
5281 fi
5283 if test "x$has_crypto" = 'xyes'; then
5285 $as_echo "#define USE_LIB_CRYPTO 1" >>confdefs.h
5287 MD5_LIBS='-lcrypto'
5288 fi
5289 else
5290 MD5_LIBS='md5/libmd5c.a'
5291 fi
5292 fi
5295 IDENT_LIBS=''
5296 # Check whether --enable-ident was given.
5297 if test "${enable_ident+set}" = set; then :
5298 enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then
5299 ident_enabled='yes'
5300 fi
5301 fi
5304 if test "x$ident_enabled" = xyes; then
5306 $as_echo "#define ENABLE_IDENT 1" >>confdefs.h
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ident_id in -lident" >&5
5309 $as_echo_n "checking for ident_id in -lident... " >&6; }
5310 if test "${ac_cv_lib_ident_ident_id+set}" = set; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 ac_check_lib_save_LIBS=$LIBS
5314 LIBS="-lident $LIBS"
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5318 /* Override any GCC internal prototype to avoid an error.
5319 Use char because int might match the return type of a GCC
5320 builtin and then its argument prototype would still apply. */
5321 #ifdef __cplusplus
5322 extern "C"
5323 #endif
5324 char ident_id ();
5325 int
5326 main ()
5328 return ident_id ();
5330 return 0;
5332 _ACEOF
5333 if ac_fn_c_try_link "$LINENO"; then :
5334 ac_cv_lib_ident_ident_id=yes
5335 else
5336 ac_cv_lib_ident_ident_id=no
5337 fi
5338 rm -f core conftest.err conftest.$ac_objext \
5339 conftest$ac_exeext conftest.$ac_ext
5340 LIBS=$ac_check_lib_save_LIBS
5341 fi
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ident_ident_id" >&5
5343 $as_echo "$ac_cv_lib_ident_ident_id" >&6; }
5344 if test "x$ac_cv_lib_ident_ident_id" = x""yes; then :
5345 IDENT_LIBS='-lident'
5346 else
5347 IDENT_LIBS='libident/libident.a'
5348 fi
5350 fi
5354 # Check whether --with-liblockfile was given.
5355 if test "${with_liblockfile+set}" = set; then :
5356 withval=$with_liblockfile;
5357 fi
5359 if test "x$with_liblockfile" = 'xno'; then
5360 with_liblockfile=''
5361 fi
5362 if test "x$with_liblockfile" != 'x'; then
5363 with_liblockfile='yes'
5364 fi
5365 if test "x$with_liblockfile" = xyes; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
5367 $as_echo_n "checking for maillock in -llockfile... " >&6; }
5368 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 ac_check_lib_save_LIBS=$LIBS
5372 LIBS="-llockfile $LIBS"
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5376 /* Override any GCC internal prototype to avoid an error.
5377 Use char because int might match the return type of a GCC
5378 builtin and then its argument prototype would still apply. */
5379 #ifdef __cplusplus
5380 extern "C"
5381 #endif
5382 char maillock ();
5383 int
5384 main ()
5386 return maillock ();
5388 return 0;
5390 _ACEOF
5391 if ac_fn_c_try_link "$LINENO"; then :
5392 ac_cv_lib_lockfile_maillock=yes
5393 else
5394 ac_cv_lib_lockfile_maillock=no
5395 fi
5396 rm -f core conftest.err conftest.$ac_objext \
5397 conftest$ac_exeext conftest.$ac_ext
5398 LIBS=$ac_check_lib_save_LIBS
5399 fi
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
5401 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
5402 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then :
5403 has_lockfile=yes
5404 else
5405 as_fn_error "\"no liblockfile\"" "$LINENO" 5
5406 fi
5408 LOCKFILE_LIBS='-llockfile'
5410 $as_echo "#define USE_LIBLOCKFILE 1" >>confdefs.h
5412 else
5413 LOCKFILE_LIBS=''
5414 fi
5419 # Check whether --with-logdir was given.
5420 if test "${with_logdir+set}" = set; then :
5421 withval=$with_logdir;
5422 else
5423 with_logdir='/var/log/masqmail/'
5425 fi
5428 cat >>confdefs.h <<_ACEOF
5429 #define LOG_DIR "${with_logdir}"
5430 _ACEOF
5435 # Check whether --with-spooldir was given.
5436 if test "${with_spooldir+set}" = set; then :
5437 withval=$with_spooldir;
5438 else
5439 with_spooldir='/var/spool/masqmail/'
5441 fi
5444 cat >>confdefs.h <<_ACEOF
5445 #define SPOOL_DIR "${with_spooldir}"
5446 _ACEOF
5451 # Check whether --with-confdir was given.
5452 if test "${with_confdir+set}" = set; then :
5453 withval=$with_confdir;
5454 else
5455 with_confdir='/etc/masqmail'
5457 fi
5460 cat >>confdefs.h <<_ACEOF
5461 #define CONF_DIR "${with_confdir}"
5462 _ACEOF
5466 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
5469 cat >>confdefs.h <<_ACEOF
5470 #define DATA_DIR "`eval eval echo $datadir`/masqmail"
5471 _ACEOF
5474 if test "x${exec_prefix}" != 'xNONE'; then
5476 cat >>confdefs.h <<_ACEOF
5477 #define SBINDIR "${exec_prefix}/sbin"
5478 _ACEOF
5480 else
5481 if test "x${prefix}" != 'xNONE'; then
5482 cat >>confdefs.h <<_ACEOF
5483 #define SBINDIR "${prefix}/sbin"
5484 _ACEOF
5486 else
5487 cat >>confdefs.h <<_ACEOF
5488 #define SBINDIR "/usr/sbin"
5489 _ACEOF
5491 fi
5492 fi
5494 ac_config_files="$ac_config_files Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile man/Makefile"
5496 cat >confcache <<\_ACEOF
5497 # This file is a shell script that caches the results of configure
5498 # tests run on this system so they can be shared between configure
5499 # scripts and configure runs, see configure's option --config-cache.
5500 # It is not useful on other systems. If it contains results you don't
5501 # want to keep, you may remove or edit it.
5503 # config.status only pays attention to the cache file if you give it
5504 # the --recheck option to rerun configure.
5506 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5507 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5508 # following values.
5510 _ACEOF
5512 # The following way of writing the cache mishandles newlines in values,
5513 # but we know of no workaround that is simple, portable, and efficient.
5514 # So, we kill variables containing newlines.
5515 # Ultrix sh set writes to stderr and can't be redirected directly,
5516 # and sets the high bit in the cache file unless we assign to the vars.
5518 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5519 eval ac_val=\$$ac_var
5520 case $ac_val in #(
5521 *${as_nl}*)
5522 case $ac_var in #(
5523 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5524 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5525 esac
5526 case $ac_var in #(
5527 _ | IFS | as_nl) ;; #(
5528 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5529 *) { eval $ac_var=; unset $ac_var;} ;;
5530 esac ;;
5531 esac
5532 done
5534 (set) 2>&1 |
5535 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5536 *${as_nl}ac_space=\ *)
5537 # `set' does not quote correctly, so add quotes: double-quote
5538 # substitution turns \\\\ into \\, and sed turns \\ into \.
5539 sed -n \
5540 "s/'/'\\\\''/g;
5541 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5542 ;; #(
5543 *)
5544 # `set' quotes correctly as required by POSIX, so do not add quotes.
5545 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5546 ;;
5547 esac |
5548 sort
5549 ) |
5550 sed '
5551 /^ac_cv_env_/b end
5552 t clear
5553 :clear
5554 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5555 t end
5556 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5557 :end' >>confcache
5558 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5559 if test -w "$cache_file"; then
5560 test "x$cache_file" != "x/dev/null" &&
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5562 $as_echo "$as_me: updating cache $cache_file" >&6;}
5563 cat confcache >$cache_file
5564 else
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5566 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5567 fi
5568 fi
5569 rm -f confcache
5571 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5572 # Let make expand exec_prefix.
5573 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5575 DEFS=-DHAVE_CONFIG_H
5577 ac_libobjs=
5578 ac_ltlibobjs=
5579 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5580 # 1. Remove the extension, and $U if already installed.
5581 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5582 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5583 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5584 # will be set to the directory where LIBOBJS objects are built.
5585 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5586 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5587 done
5588 LIBOBJS=$ac_libobjs
5590 LTLIBOBJS=$ac_ltlibobjs
5593 if test -n "$EXEEXT"; then
5594 am__EXEEXT_TRUE=
5595 am__EXEEXT_FALSE='#'
5596 else
5597 am__EXEEXT_TRUE='#'
5598 am__EXEEXT_FALSE=
5599 fi
5601 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5602 as_fn_error "conditional \"AMDEP\" was never defined.
5603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5604 fi
5605 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5606 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5608 fi
5610 : ${CONFIG_STATUS=./config.status}
5611 ac_write_fail=0
5612 ac_clean_files_save=$ac_clean_files
5613 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5615 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5616 as_write_fail=0
5617 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5618 #! $SHELL
5619 # Generated by $as_me.
5620 # Run this file to recreate the current configuration.
5621 # Compiler output produced by configure, useful for debugging
5622 # configure, is in config.log if it exists.
5624 debug=false
5625 ac_cs_recheck=false
5626 ac_cs_silent=false
5628 SHELL=\${CONFIG_SHELL-$SHELL}
5629 export SHELL
5630 _ASEOF
5631 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5632 ## -------------------- ##
5633 ## M4sh Initialization. ##
5634 ## -------------------- ##
5636 # Be more Bourne compatible
5637 DUALCASE=1; export DUALCASE # for MKS sh
5638 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5639 emulate sh
5640 NULLCMD=:
5641 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5642 # is contrary to our usage. Disable this feature.
5643 alias -g '${1+"$@"}'='"$@"'
5644 setopt NO_GLOB_SUBST
5645 else
5646 case `(set -o) 2>/dev/null` in #(
5647 *posix*) :
5648 set -o posix ;; #(
5649 *) :
5650 ;;
5651 esac
5652 fi
5655 as_nl='
5657 export as_nl
5658 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5659 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5661 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5662 # Prefer a ksh shell builtin over an external printf program on Solaris,
5663 # but without wasting forks for bash or zsh.
5664 if test -z "$BASH_VERSION$ZSH_VERSION" \
5665 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5666 as_echo='print -r --'
5667 as_echo_n='print -rn --'
5668 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5669 as_echo='printf %s\n'
5670 as_echo_n='printf %s'
5671 else
5672 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5673 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5674 as_echo_n='/usr/ucb/echo -n'
5675 else
5676 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5677 as_echo_n_body='eval
5678 arg=$1;
5679 case $arg in #(
5680 *"$as_nl"*)
5681 expr "X$arg" : "X\\(.*\\)$as_nl";
5682 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5683 esac;
5684 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5686 export as_echo_n_body
5687 as_echo_n='sh -c $as_echo_n_body as_echo'
5688 fi
5689 export as_echo_body
5690 as_echo='sh -c $as_echo_body as_echo'
5691 fi
5693 # The user is always right.
5694 if test "${PATH_SEPARATOR+set}" != set; then
5695 PATH_SEPARATOR=:
5696 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5697 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5698 PATH_SEPARATOR=';'
5700 fi
5703 # IFS
5704 # We need space, tab and new line, in precisely that order. Quoting is
5705 # there to prevent editors from complaining about space-tab.
5706 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5707 # splitting by setting IFS to empty value.)
5708 IFS=" "" $as_nl"
5710 # Find who we are. Look in the path if we contain no directory separator.
5711 case $0 in #((
5712 *[\\/]* ) as_myself=$0 ;;
5713 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5715 do
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5719 done
5720 IFS=$as_save_IFS
5722 ;;
5723 esac
5724 # We did not find ourselves, most probably we were run as `sh COMMAND'
5725 # in which case we are not to be found in the path.
5726 if test "x$as_myself" = x; then
5727 as_myself=$0
5728 fi
5729 if test ! -f "$as_myself"; then
5730 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5731 exit 1
5732 fi
5734 # Unset variables that we do not need and which cause bugs (e.g. in
5735 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5736 # suppresses any "Segmentation fault" message there. '((' could
5737 # trigger a bug in pdksh 5.2.14.
5738 for as_var in BASH_ENV ENV MAIL MAILPATH
5739 do eval test x\${$as_var+set} = xset \
5740 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5741 done
5742 PS1='$ '
5743 PS2='> '
5744 PS4='+ '
5746 # NLS nuisances.
5747 LC_ALL=C
5748 export LC_ALL
5749 LANGUAGE=C
5750 export LANGUAGE
5752 # CDPATH.
5753 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5756 # as_fn_error ERROR [LINENO LOG_FD]
5757 # ---------------------------------
5758 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5759 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5760 # script with status $?, using 1 if that was 0.
5761 as_fn_error ()
5763 as_status=$?; test $as_status -eq 0 && as_status=1
5764 if test "$3"; then
5765 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5766 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5767 fi
5768 $as_echo "$as_me: error: $1" >&2
5769 as_fn_exit $as_status
5770 } # as_fn_error
5773 # as_fn_set_status STATUS
5774 # -----------------------
5775 # Set $? to STATUS, without forking.
5776 as_fn_set_status ()
5778 return $1
5779 } # as_fn_set_status
5781 # as_fn_exit STATUS
5782 # -----------------
5783 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5784 as_fn_exit ()
5786 set +e
5787 as_fn_set_status $1
5788 exit $1
5789 } # as_fn_exit
5791 # as_fn_unset VAR
5792 # ---------------
5793 # Portably unset VAR.
5794 as_fn_unset ()
5796 { eval $1=; unset $1;}
5798 as_unset=as_fn_unset
5799 # as_fn_append VAR VALUE
5800 # ----------------------
5801 # Append the text in VALUE to the end of the definition contained in VAR. Take
5802 # advantage of any shell optimizations that allow amortized linear growth over
5803 # repeated appends, instead of the typical quadratic growth present in naive
5804 # implementations.
5805 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5806 eval 'as_fn_append ()
5808 eval $1+=\$2
5809 }'
5810 else
5811 as_fn_append ()
5813 eval $1=\$$1\$2
5815 fi # as_fn_append
5817 # as_fn_arith ARG...
5818 # ------------------
5819 # Perform arithmetic evaluation on the ARGs, and store the result in the
5820 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5821 # must be portable across $(()) and expr.
5822 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5823 eval 'as_fn_arith ()
5825 as_val=$(( $* ))
5826 }'
5827 else
5828 as_fn_arith ()
5830 as_val=`expr "$@" || test $? -eq 1`
5832 fi # as_fn_arith
5835 if expr a : '\(a\)' >/dev/null 2>&1 &&
5836 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5837 as_expr=expr
5838 else
5839 as_expr=false
5840 fi
5842 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5843 as_basename=basename
5844 else
5845 as_basename=false
5846 fi
5848 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5849 as_dirname=dirname
5850 else
5851 as_dirname=false
5852 fi
5854 as_me=`$as_basename -- "$0" ||
5855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5856 X"$0" : 'X\(//\)$' \| \
5857 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5858 $as_echo X/"$0" |
5859 sed '/^.*\/\([^/][^/]*\)\/*$/{
5860 s//\1/
5863 /^X\/\(\/\/\)$/{
5864 s//\1/
5867 /^X\/\(\/\).*/{
5868 s//\1/
5871 s/.*/./; q'`
5873 # Avoid depending upon Character Ranges.
5874 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5875 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5876 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5877 as_cr_digits='0123456789'
5878 as_cr_alnum=$as_cr_Letters$as_cr_digits
5880 ECHO_C= ECHO_N= ECHO_T=
5881 case `echo -n x` in #(((((
5882 -n*)
5883 case `echo 'xy\c'` in
5884 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5885 xy) ECHO_C='\c';;
5886 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5887 ECHO_T=' ';;
5888 esac;;
5889 *)
5890 ECHO_N='-n';;
5891 esac
5893 rm -f conf$$ conf$$.exe conf$$.file
5894 if test -d conf$$.dir; then
5895 rm -f conf$$.dir/conf$$.file
5896 else
5897 rm -f conf$$.dir
5898 mkdir conf$$.dir 2>/dev/null
5899 fi
5900 if (echo >conf$$.file) 2>/dev/null; then
5901 if ln -s conf$$.file conf$$ 2>/dev/null; then
5902 as_ln_s='ln -s'
5903 # ... but there are two gotchas:
5904 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5905 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5906 # In both cases, we have to default to `cp -p'.
5907 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5908 as_ln_s='cp -p'
5909 elif ln conf$$.file conf$$ 2>/dev/null; then
5910 as_ln_s=ln
5911 else
5912 as_ln_s='cp -p'
5913 fi
5914 else
5915 as_ln_s='cp -p'
5916 fi
5917 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5918 rmdir conf$$.dir 2>/dev/null
5921 # as_fn_mkdir_p
5922 # -------------
5923 # Create "$as_dir" as a directory, including parents if necessary.
5924 as_fn_mkdir_p ()
5927 case $as_dir in #(
5928 -*) as_dir=./$as_dir;;
5929 esac
5930 test -d "$as_dir" || eval $as_mkdir_p || {
5931 as_dirs=
5932 while :; do
5933 case $as_dir in #(
5934 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5935 *) as_qdir=$as_dir;;
5936 esac
5937 as_dirs="'$as_qdir' $as_dirs"
5938 as_dir=`$as_dirname -- "$as_dir" ||
5939 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5940 X"$as_dir" : 'X\(//\)[^/]' \| \
5941 X"$as_dir" : 'X\(//\)$' \| \
5942 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5943 $as_echo X"$as_dir" |
5944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5945 s//\1/
5948 /^X\(\/\/\)[^/].*/{
5949 s//\1/
5952 /^X\(\/\/\)$/{
5953 s//\1/
5956 /^X\(\/\).*/{
5957 s//\1/
5960 s/.*/./; q'`
5961 test -d "$as_dir" && break
5962 done
5963 test -z "$as_dirs" || eval "mkdir $as_dirs"
5964 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5967 } # as_fn_mkdir_p
5968 if mkdir -p . 2>/dev/null; then
5969 as_mkdir_p='mkdir -p "$as_dir"'
5970 else
5971 test -d ./-p && rmdir ./-p
5972 as_mkdir_p=false
5973 fi
5975 if test -x / >/dev/null 2>&1; then
5976 as_test_x='test -x'
5977 else
5978 if ls -dL / >/dev/null 2>&1; then
5979 as_ls_L_option=L
5980 else
5981 as_ls_L_option=
5982 fi
5983 as_test_x='
5984 eval sh -c '\''
5985 if test -d "$1"; then
5986 test -d "$1/.";
5987 else
5988 case $1 in #(
5989 -*)set "./$1";;
5990 esac;
5991 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5992 ???[sx]*):;;*)false;;esac;fi
5993 '\'' sh
5995 fi
5996 as_executable_p=$as_test_x
5998 # Sed expression to map a string onto a valid CPP name.
5999 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6001 # Sed expression to map a string onto a valid variable name.
6002 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6005 exec 6>&1
6006 ## ----------------------------------- ##
6007 ## Main body of $CONFIG_STATUS script. ##
6008 ## ----------------------------------- ##
6009 _ASEOF
6010 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6013 # Save the log message, to keep $0 and so on meaningful, and to
6014 # report actual input values of CONFIG_FILES etc. instead of their
6015 # values after options handling.
6016 ac_log="
6017 This file was extended by masqmail $as_me 0.3.0, which was
6018 generated by GNU Autoconf 2.65. Invocation command line was
6020 CONFIG_FILES = $CONFIG_FILES
6021 CONFIG_HEADERS = $CONFIG_HEADERS
6022 CONFIG_LINKS = $CONFIG_LINKS
6023 CONFIG_COMMANDS = $CONFIG_COMMANDS
6024 $ $0 $@
6026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6029 _ACEOF
6031 case $ac_config_files in *"
6032 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6033 esac
6035 case $ac_config_headers in *"
6036 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6037 esac
6040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6041 # Files that config.status was made for.
6042 config_files="$ac_config_files"
6043 config_headers="$ac_config_headers"
6044 config_commands="$ac_config_commands"
6046 _ACEOF
6048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6049 ac_cs_usage="\
6050 \`$as_me' instantiates files and other configuration actions
6051 from templates according to the current configuration. Unless the files
6052 and actions are specified as TAGs, all are instantiated by default.
6054 Usage: $0 [OPTION]... [TAG]...
6056 -h, --help print this help, then exit
6057 -V, --version print version number and configuration settings, then exit
6058 --config print configuration, then exit
6059 -q, --quiet, --silent
6060 do not print progress messages
6061 -d, --debug don't remove temporary files
6062 --recheck update $as_me by reconfiguring in the same conditions
6063 --file=FILE[:TEMPLATE]
6064 instantiate the configuration file FILE
6065 --header=FILE[:TEMPLATE]
6066 instantiate the configuration header FILE
6068 Configuration files:
6069 $config_files
6071 Configuration headers:
6072 $config_headers
6074 Configuration commands:
6075 $config_commands
6077 Report bugs to <meillo@marmaro.de>."
6079 _ACEOF
6080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6081 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6082 ac_cs_version="\\
6083 masqmail config.status 0.3.0
6084 configured by $0, generated by GNU Autoconf 2.65,
6085 with options \\"\$ac_cs_config\\"
6087 Copyright (C) 2009 Free Software Foundation, Inc.
6088 This config.status script is free software; the Free Software Foundation
6089 gives unlimited permission to copy, distribute and modify it."
6091 ac_pwd='$ac_pwd'
6092 srcdir='$srcdir'
6093 INSTALL='$INSTALL'
6094 MKDIR_P='$MKDIR_P'
6095 AWK='$AWK'
6096 test -n "\$AWK" || AWK=awk
6097 _ACEOF
6099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6100 # The default lists apply if the user does not specify any file.
6101 ac_need_defaults=:
6102 while test $# != 0
6103 do
6104 case $1 in
6105 --*=*)
6106 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6107 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6108 ac_shift=:
6109 ;;
6110 *)
6111 ac_option=$1
6112 ac_optarg=$2
6113 ac_shift=shift
6114 ;;
6115 esac
6117 case $ac_option in
6118 # Handling of the options.
6119 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6120 ac_cs_recheck=: ;;
6121 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6122 $as_echo "$ac_cs_version"; exit ;;
6123 --config | --confi | --conf | --con | --co | --c )
6124 $as_echo "$ac_cs_config"; exit ;;
6125 --debug | --debu | --deb | --de | --d | -d )
6126 debug=: ;;
6127 --file | --fil | --fi | --f )
6128 $ac_shift
6129 case $ac_optarg in
6130 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6131 esac
6132 as_fn_append CONFIG_FILES " '$ac_optarg'"
6133 ac_need_defaults=false;;
6134 --header | --heade | --head | --hea )
6135 $ac_shift
6136 case $ac_optarg in
6137 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6138 esac
6139 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6140 ac_need_defaults=false;;
6141 --he | --h)
6142 # Conflict between --help and --header
6143 as_fn_error "ambiguous option: \`$1'
6144 Try \`$0 --help' for more information.";;
6145 --help | --hel | -h )
6146 $as_echo "$ac_cs_usage"; exit ;;
6147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6148 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6149 ac_cs_silent=: ;;
6151 # This is an error.
6152 -*) as_fn_error "unrecognized option: \`$1'
6153 Try \`$0 --help' for more information." ;;
6155 *) as_fn_append ac_config_targets " $1"
6156 ac_need_defaults=false ;;
6158 esac
6159 shift
6160 done
6162 ac_configure_extra_args=
6164 if $ac_cs_silent; then
6165 exec 6>/dev/null
6166 ac_configure_extra_args="$ac_configure_extra_args --silent"
6167 fi
6169 _ACEOF
6170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6171 if \$ac_cs_recheck; then
6172 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6173 shift
6174 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6175 CONFIG_SHELL='$SHELL'
6176 export CONFIG_SHELL
6177 exec "\$@"
6178 fi
6180 _ACEOF
6181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6182 exec 5>>config.log
6184 echo
6185 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6186 ## Running $as_me. ##
6187 _ASBOX
6188 $as_echo "$ac_log"
6189 } >&5
6191 _ACEOF
6192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6194 # INIT-COMMANDS
6196 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6198 _ACEOF
6200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6202 # Handling of arguments.
6203 for ac_config_target in $ac_config_targets
6204 do
6205 case $ac_config_target in
6206 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6207 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6208 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6209 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6210 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;;
6211 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
6212 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;;
6213 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6215 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6216 esac
6217 done
6220 # If the user did not use the arguments to specify the items to instantiate,
6221 # then the envvar interface is used. Set only those that are not.
6222 # We use the long form for the default assignment because of an extremely
6223 # bizarre bug on SunOS 4.1.3.
6224 if $ac_need_defaults; then
6225 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6226 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6227 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6228 fi
6230 # Have a temporary directory for convenience. Make it in the build tree
6231 # simply because there is no reason against having it here, and in addition,
6232 # creating and moving files from /tmp can sometimes cause problems.
6233 # Hook for its removal unless debugging.
6234 # Note that there is a small window in which the directory will not be cleaned:
6235 # after its creation but before its name has been assigned to `$tmp'.
6236 $debug ||
6238 tmp=
6239 trap 'exit_status=$?
6240 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6241 ' 0
6242 trap 'as_fn_exit 1' 1 2 13 15
6244 # Create a (secure) tmp directory for tmp files.
6247 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6248 test -n "$tmp" && test -d "$tmp"
6249 } ||
6251 tmp=./conf$$-$RANDOM
6252 (umask 077 && mkdir "$tmp")
6253 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6255 # Set up the scripts for CONFIG_FILES section.
6256 # No need to generate them if there are no CONFIG_FILES.
6257 # This happens for instance with `./config.status config.h'.
6258 if test -n "$CONFIG_FILES"; then
6261 ac_cr=`echo X | tr X '\015'`
6262 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6263 # But we know of no other shell where ac_cr would be empty at this
6264 # point, so we can use a bashism as a fallback.
6265 if test "x$ac_cr" = x; then
6266 eval ac_cr=\$\'\\r\'
6267 fi
6268 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6269 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6270 ac_cs_awk_cr='\r'
6271 else
6272 ac_cs_awk_cr=$ac_cr
6273 fi
6275 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6276 _ACEOF
6280 echo "cat >conf$$subs.awk <<_ACEOF" &&
6281 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6282 echo "_ACEOF"
6283 } >conf$$subs.sh ||
6284 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6285 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6286 ac_delim='%!_!# '
6287 for ac_last_try in false false false false false :; do
6288 . ./conf$$subs.sh ||
6289 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6291 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6292 if test $ac_delim_n = $ac_delim_num; then
6293 break
6294 elif $ac_last_try; then
6295 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6296 else
6297 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6298 fi
6299 done
6300 rm -f conf$$subs.sh
6302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6303 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6304 _ACEOF
6305 sed -n '
6307 s/^/S["/; s/!.*/"]=/
6310 s/^[^!]*!//
6311 :repl
6312 t repl
6313 s/'"$ac_delim"'$//
6314 t delim
6315 :nl
6317 s/\(.\{148\}\)..*/\1/
6318 t more1
6319 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6322 b repl
6323 :more1
6324 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6327 s/.\{148\}//
6328 t nl
6329 :delim
6331 s/\(.\{148\}\)..*/\1/
6332 t more2
6333 s/["\\]/\\&/g; s/^/"/; s/$/"/
6336 :more2
6337 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6340 s/.\{148\}//
6341 t delim
6342 ' <conf$$subs.awk | sed '
6343 /^[^""]/{
6345 s/\n//
6347 ' >>$CONFIG_STATUS || ac_write_fail=1
6348 rm -f conf$$subs.awk
6349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6350 _ACAWK
6351 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6352 for (key in S) S_is_set[key] = 1
6353 FS = ""
6357 line = $ 0
6358 nfields = split(line, field, "@")
6359 substed = 0
6360 len = length(field[1])
6361 for (i = 2; i < nfields; i++) {
6362 key = field[i]
6363 keylen = length(key)
6364 if (S_is_set[key]) {
6365 value = S[key]
6366 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6367 len += length(value) + length(field[++i])
6368 substed = 1
6369 } else
6370 len += 1 + keylen
6373 print line
6376 _ACAWK
6377 _ACEOF
6378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6379 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6380 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6381 else
6382 cat
6383 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6384 || as_fn_error "could not setup config files machinery" "$LINENO" 5
6385 _ACEOF
6387 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6388 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6389 # trailing colons and then remove the whole line if VPATH becomes empty
6390 # (actually we leave an empty line to preserve line numbers).
6391 if test "x$srcdir" = x.; then
6392 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6393 s/:*\$(srcdir):*/:/
6394 s/:*\${srcdir}:*/:/
6395 s/:*@srcdir@:*/:/
6396 s/^\([^=]*=[ ]*\):*/\1/
6397 s/:*$//
6398 s/^[^=]*=[ ]*$//
6399 }'
6400 fi
6402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6403 fi # test -n "$CONFIG_FILES"
6405 # Set up the scripts for CONFIG_HEADERS section.
6406 # No need to generate them if there are no CONFIG_HEADERS.
6407 # This happens for instance with `./config.status Makefile'.
6408 if test -n "$CONFIG_HEADERS"; then
6409 cat >"$tmp/defines.awk" <<\_ACAWK ||
6410 BEGIN {
6411 _ACEOF
6413 # Transform confdefs.h into an awk script `defines.awk', embedded as
6414 # here-document in config.status, that substitutes the proper values into
6415 # config.h.in to produce config.h.
6417 # Create a delimiter string that does not exist in confdefs.h, to ease
6418 # handling of long lines.
6419 ac_delim='%!_!# '
6420 for ac_last_try in false false :; do
6421 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6422 if test -z "$ac_t"; then
6423 break
6424 elif $ac_last_try; then
6425 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6426 else
6427 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6428 fi
6429 done
6431 # For the awk script, D is an array of macro values keyed by name,
6432 # likewise P contains macro parameters if any. Preserve backslash
6433 # newline sequences.
6435 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6436 sed -n '
6437 s/.\{148\}/&'"$ac_delim"'/g
6438 t rset
6439 :rset
6440 s/^[ ]*#[ ]*define[ ][ ]*/ /
6441 t def
6443 :def
6444 s/\\$//
6445 t bsnl
6446 s/["\\]/\\&/g
6447 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6448 D["\1"]=" \3"/p
6449 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6451 :bsnl
6452 s/["\\]/\\&/g
6453 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6454 D["\1"]=" \3\\\\\\n"\\/p
6455 t cont
6456 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6457 t cont
6459 :cont
6461 s/.\{148\}/&'"$ac_delim"'/g
6462 t clear
6463 :clear
6464 s/\\$//
6465 t bsnlc
6466 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6468 :bsnlc
6469 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6470 b cont
6471 ' <confdefs.h | sed '
6472 s/'"$ac_delim"'/"\\\
6473 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6476 for (key in D) D_is_set[key] = 1
6477 FS = ""
6479 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6480 line = \$ 0
6481 split(line, arg, " ")
6482 if (arg[1] == "#") {
6483 defundef = arg[2]
6484 mac1 = arg[3]
6485 } else {
6486 defundef = substr(arg[1], 2)
6487 mac1 = arg[2]
6489 split(mac1, mac2, "(") #)
6490 macro = mac2[1]
6491 prefix = substr(line, 1, index(line, defundef) - 1)
6492 if (D_is_set[macro]) {
6493 # Preserve the white space surrounding the "#".
6494 print prefix "define", macro P[macro] D[macro]
6495 next
6496 } else {
6497 # Replace #undef with comments. This is necessary, for example,
6498 # in the case of _POSIX_SOURCE, which is predefined and required
6499 # on some systems where configure will not decide to define it.
6500 if (defundef == "undef") {
6501 print "/*", prefix defundef, macro, "*/"
6502 next
6506 { print }
6507 _ACAWK
6508 _ACEOF
6509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6510 as_fn_error "could not setup config headers machinery" "$LINENO" 5
6511 fi # test -n "$CONFIG_HEADERS"
6514 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6515 shift
6516 for ac_tag
6517 do
6518 case $ac_tag in
6519 :[FHLC]) ac_mode=$ac_tag; continue;;
6520 esac
6521 case $ac_mode$ac_tag in
6522 :[FHL]*:*);;
6523 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6524 :[FH]-) ac_tag=-:-;;
6525 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6526 esac
6527 ac_save_IFS=$IFS
6528 IFS=:
6529 set x $ac_tag
6530 IFS=$ac_save_IFS
6531 shift
6532 ac_file=$1
6533 shift
6535 case $ac_mode in
6536 :L) ac_source=$1;;
6537 :[FH])
6538 ac_file_inputs=
6539 for ac_f
6540 do
6541 case $ac_f in
6542 -) ac_f="$tmp/stdin";;
6543 *) # Look for the file first in the build tree, then in the source tree
6544 # (if the path is not absolute). The absolute path cannot be DOS-style,
6545 # because $ac_f cannot contain `:'.
6546 test -f "$ac_f" ||
6547 case $ac_f in
6548 [\\/$]*) false;;
6549 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6550 esac ||
6551 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6552 esac
6553 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6554 as_fn_append ac_file_inputs " '$ac_f'"
6555 done
6557 # Let's still pretend it is `configure' which instantiates (i.e., don't
6558 # use $as_me), people would be surprised to read:
6559 # /* config.h. Generated by config.status. */
6560 configure_input='Generated from '`
6561 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6562 `' by configure.'
6563 if test x"$ac_file" != x-; then
6564 configure_input="$ac_file. $configure_input"
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6566 $as_echo "$as_me: creating $ac_file" >&6;}
6567 fi
6568 # Neutralize special characters interpreted by sed in replacement strings.
6569 case $configure_input in #(
6570 *\&* | *\|* | *\\* )
6571 ac_sed_conf_input=`$as_echo "$configure_input" |
6572 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6573 *) ac_sed_conf_input=$configure_input;;
6574 esac
6576 case $ac_tag in
6577 *:-:* | *:-) cat >"$tmp/stdin" \
6578 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6579 esac
6580 ;;
6581 esac
6583 ac_dir=`$as_dirname -- "$ac_file" ||
6584 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6585 X"$ac_file" : 'X\(//\)[^/]' \| \
6586 X"$ac_file" : 'X\(//\)$' \| \
6587 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6588 $as_echo X"$ac_file" |
6589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6590 s//\1/
6593 /^X\(\/\/\)[^/].*/{
6594 s//\1/
6597 /^X\(\/\/\)$/{
6598 s//\1/
6601 /^X\(\/\).*/{
6602 s//\1/
6605 s/.*/./; q'`
6606 as_dir="$ac_dir"; as_fn_mkdir_p
6607 ac_builddir=.
6609 case "$ac_dir" in
6610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6611 *)
6612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6613 # A ".." for each directory in $ac_dir_suffix.
6614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6615 case $ac_top_builddir_sub in
6616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6618 esac ;;
6619 esac
6620 ac_abs_top_builddir=$ac_pwd
6621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6622 # for backward compatibility:
6623 ac_top_builddir=$ac_top_build_prefix
6625 case $srcdir in
6626 .) # We are building in place.
6627 ac_srcdir=.
6628 ac_top_srcdir=$ac_top_builddir_sub
6629 ac_abs_top_srcdir=$ac_pwd ;;
6630 [\\/]* | ?:[\\/]* ) # Absolute name.
6631 ac_srcdir=$srcdir$ac_dir_suffix;
6632 ac_top_srcdir=$srcdir
6633 ac_abs_top_srcdir=$srcdir ;;
6634 *) # Relative name.
6635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6636 ac_top_srcdir=$ac_top_build_prefix$srcdir
6637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6638 esac
6639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6642 case $ac_mode in
6643 :F)
6645 # CONFIG_FILE
6648 case $INSTALL in
6649 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6650 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6651 esac
6652 ac_MKDIR_P=$MKDIR_P
6653 case $MKDIR_P in
6654 [\\/$]* | ?:[\\/]* ) ;;
6655 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6656 esac
6657 _ACEOF
6659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6660 # If the template does not know about datarootdir, expand it.
6661 # FIXME: This hack should be removed a few years after 2.60.
6662 ac_datarootdir_hack=; ac_datarootdir_seen=
6663 ac_sed_dataroot='
6664 /datarootdir/ {
6668 /@datadir@/p
6669 /@docdir@/p
6670 /@infodir@/p
6671 /@localedir@/p
6672 /@mandir@/p'
6673 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6674 *datarootdir*) ac_datarootdir_seen=yes;;
6675 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6677 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6678 _ACEOF
6679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6680 ac_datarootdir_hack='
6681 s&@datadir@&$datadir&g
6682 s&@docdir@&$docdir&g
6683 s&@infodir@&$infodir&g
6684 s&@localedir@&$localedir&g
6685 s&@mandir@&$mandir&g
6686 s&\\\${datarootdir}&$datarootdir&g' ;;
6687 esac
6688 _ACEOF
6690 # Neutralize VPATH when `$srcdir' = `.'.
6691 # Shell code in configure.ac might set extrasub.
6692 # FIXME: do we really want to maintain this feature?
6693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6694 ac_sed_extra="$ac_vpsub
6695 $extrasub
6696 _ACEOF
6697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6698 :t
6699 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6700 s|@configure_input@|$ac_sed_conf_input|;t t
6701 s&@top_builddir@&$ac_top_builddir_sub&;t t
6702 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6703 s&@srcdir@&$ac_srcdir&;t t
6704 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6705 s&@top_srcdir@&$ac_top_srcdir&;t t
6706 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6707 s&@builddir@&$ac_builddir&;t t
6708 s&@abs_builddir@&$ac_abs_builddir&;t t
6709 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6710 s&@INSTALL@&$ac_INSTALL&;t t
6711 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6712 $ac_datarootdir_hack
6714 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6715 || as_fn_error "could not create $ac_file" "$LINENO" 5
6717 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6718 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6719 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6721 which seems to be undefined. Please make sure it is defined." >&5
6722 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6723 which seems to be undefined. Please make sure it is defined." >&2;}
6725 rm -f "$tmp/stdin"
6726 case $ac_file in
6727 -) cat "$tmp/out" && rm -f "$tmp/out";;
6728 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6729 esac \
6730 || as_fn_error "could not create $ac_file" "$LINENO" 5
6731 ;;
6732 :H)
6734 # CONFIG_HEADER
6736 if test x"$ac_file" != x-; then
6738 $as_echo "/* $configure_input */" \
6739 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6740 } >"$tmp/config.h" \
6741 || as_fn_error "could not create $ac_file" "$LINENO" 5
6742 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6744 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6745 else
6746 rm -f "$ac_file"
6747 mv "$tmp/config.h" "$ac_file" \
6748 || as_fn_error "could not create $ac_file" "$LINENO" 5
6749 fi
6750 else
6751 $as_echo "/* $configure_input */" \
6752 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6753 || as_fn_error "could not create -" "$LINENO" 5
6754 fi
6755 # Compute "$ac_file"'s index in $config_headers.
6756 _am_arg="$ac_file"
6757 _am_stamp_count=1
6758 for _am_header in $config_headers :; do
6759 case $_am_header in
6760 $_am_arg | $_am_arg:* )
6761 break ;;
6762 * )
6763 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6764 esac
6765 done
6766 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6767 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6768 X"$_am_arg" : 'X\(//\)[^/]' \| \
6769 X"$_am_arg" : 'X\(//\)$' \| \
6770 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6771 $as_echo X"$_am_arg" |
6772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6773 s//\1/
6776 /^X\(\/\/\)[^/].*/{
6777 s//\1/
6780 /^X\(\/\/\)$/{
6781 s//\1/
6784 /^X\(\/\).*/{
6785 s//\1/
6788 s/.*/./; q'`/stamp-h$_am_stamp_count
6789 ;;
6791 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6792 $as_echo "$as_me: executing $ac_file commands" >&6;}
6793 ;;
6794 esac
6797 case $ac_file$ac_mode in
6798 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6799 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6800 # are listed without --file. Let's play safe and only enable the eval
6801 # if we detect the quoting.
6802 case $CONFIG_FILES in
6803 *\'*) eval set x "$CONFIG_FILES" ;;
6804 *) set x $CONFIG_FILES ;;
6805 esac
6806 shift
6807 for mf
6808 do
6809 # Strip MF so we end up with the name of the file.
6810 mf=`echo "$mf" | sed -e 's/:.*$//'`
6811 # Check whether this is an Automake generated Makefile or not.
6812 # We used to match only the files named `Makefile.in', but
6813 # some people rename them; so instead we look at the file content.
6814 # Grep'ing the first line is not enough: some people post-process
6815 # each Makefile.in and add a new line on top of each file to say so.
6816 # Grep'ing the whole file is not good either: AIX grep has a line
6817 # limit of 2048, but all sed's we know have understand at least 4000.
6818 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6819 dirpart=`$as_dirname -- "$mf" ||
6820 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6821 X"$mf" : 'X\(//\)[^/]' \| \
6822 X"$mf" : 'X\(//\)$' \| \
6823 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6824 $as_echo X"$mf" |
6825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6826 s//\1/
6829 /^X\(\/\/\)[^/].*/{
6830 s//\1/
6833 /^X\(\/\/\)$/{
6834 s//\1/
6837 /^X\(\/\).*/{
6838 s//\1/
6841 s/.*/./; q'`
6842 else
6843 continue
6844 fi
6845 # Extract the definition of DEPDIR, am__include, and am__quote
6846 # from the Makefile without running `make'.
6847 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6848 test -z "$DEPDIR" && continue
6849 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6850 test -z "am__include" && continue
6851 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6852 # When using ansi2knr, U may be empty or an underscore; expand it
6853 U=`sed -n 's/^U = //p' < "$mf"`
6854 # Find all dependency output files, they are included files with
6855 # $(DEPDIR) in their names. We invoke sed twice because it is the
6856 # simplest approach to changing $(DEPDIR) to its actual value in the
6857 # expansion.
6858 for file in `sed -n "
6859 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6860 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6861 # Make sure the directory exists.
6862 test -f "$dirpart/$file" && continue
6863 fdir=`$as_dirname -- "$file" ||
6864 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6865 X"$file" : 'X\(//\)[^/]' \| \
6866 X"$file" : 'X\(//\)$' \| \
6867 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6868 $as_echo X"$file" |
6869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6870 s//\1/
6873 /^X\(\/\/\)[^/].*/{
6874 s//\1/
6877 /^X\(\/\/\)$/{
6878 s//\1/
6881 /^X\(\/\).*/{
6882 s//\1/
6885 s/.*/./; q'`
6886 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6887 # echo "creating $dirpart/$file"
6888 echo '# dummy' > "$dirpart/$file"
6889 done
6890 done
6892 ;;
6894 esac
6895 done # for ac_tag
6898 as_fn_exit 0
6899 _ACEOF
6900 ac_clean_files=$ac_clean_files_save
6902 test $ac_write_fail = 0 ||
6903 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6906 # configure is writing to config.log, and then calls config.status.
6907 # config.status does its own redirection, appending to config.log.
6908 # Unfortunately, on DOS this fails, as config.log is still kept open
6909 # by configure, so config.status won't be able to write to it; its
6910 # output is simply discarded. So we exec the FD to /dev/null,
6911 # effectively closing config.log, so it can be properly (re)opened and
6912 # appended to by config.status. When coming back to configure, we
6913 # need to make the FD available again.
6914 if test "$no_create" != yes; then
6915 ac_cs_success=:
6916 ac_config_status_args=
6917 test "$silent" = yes &&
6918 ac_config_status_args="$ac_config_status_args --quiet"
6919 exec 5>/dev/null
6920 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6921 exec 5>>config.log
6922 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6923 # would make configure fail if this is the last instruction.
6924 $ac_cs_success || as_fn_exit $?
6925 fi
6926 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6928 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6929 fi