masqmail

view configure @ 181:8b17ea9fd17b

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