masqmail

view configure @ 432:ddc05e12e307

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