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