masqmail

view configure @ 40:8071dc6c6ed1

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