masqmail

view configure @ 356:f4ba4ed28848

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