masqmail

view configure @ 427:c96a755b5fc4

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