masqmail

view configure @ 336:2d4aa516ba0e

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