Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for esmtp 1.2.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150 esac
151 fi
152 "
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167 exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
191 /*)
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200 fi
201 fi
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell [email protected] about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235 fi
236 exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254 { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263 return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271 set +e
272 as_fn_set_status $1
273 exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
334 else
335 as_fn_append ()
336 {
337 eval $1=\$$1\$2
338 }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351 else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356 fi # as_fn_arith
357
358
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
365 {
366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$3"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 fi
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378 else
379 as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384 else
385 as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390 else
391 as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426 sed -n '
427 p
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
433 b
434 :lineno
435 N
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
461 *)
462 ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468 else
469 rm -f conf$$.dir
470 mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s'
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
485 fi
486 else
487 as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
494 else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501 else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1
531
532 # Name of the host.
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537 #
538 # Initializations.
539 #
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIBOBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
548
549 # Identity of this package.
550 PACKAGE_NAME='esmtp'
551 PACKAGE_TARNAME='esmtp'
552 PACKAGE_VERSION='1.2'
553 PACKAGE_STRING='esmtp 1.2'
554 PACKAGE_BUGREPORT=''
555 PACKAGE_URL=''
556
557 ac_unique_file="Makefile.am"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
560 #include <stdio.h>
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
563 #endif
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
566 #endif
567 #ifdef STDC_HEADERS
568 # include <stdlib.h>
569 # include <stddef.h>
570 #else
571 # ifdef HAVE_STDLIB_H
572 # include <stdlib.h>
573 # endif
574 #endif
575 #ifdef HAVE_STRING_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 # include <memory.h>
578 # endif
579 # include <string.h>
580 #endif
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
583 #endif
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
586 #endif
587 #ifdef HAVE_STDINT_H
588 # include <stdint.h>
589 #endif
590 #ifdef HAVE_UNISTD_H
591 # include <unistd.h>
592 #endif"
593
594 ac_subst_vars='am__EXEEXT_FALSE
595 am__EXEEXT_TRUE
596 LTLIBOBJS
597 LIBOBJS
598 YFLAGS
599 YACC
600 LN_S
601 LEXLIB
602 LEX_OUTPUT_ROOT
603 LEX
604 EGREP
605 GREP
606 CPP
607 am__fastdepCC_FALSE
608 am__fastdepCC_TRUE
609 CCDEPMODE
610 AMDEPBACKSLASH
611 AMDEP_FALSE
612 AMDEP_TRUE
613 am__quote
614 am__include
615 DEPDIR
616 OBJEXT
617 EXEEXT
618 ac_ct_CC
619 CPPFLAGS
620 LDFLAGS
621 CFLAGS
622 CC
623 MAINT
624 MAINTAINER_MODE_FALSE
625 MAINTAINER_MODE_TRUE
626 am__untar
627 am__tar
628 AMTAR
629 am__leading_dot
630 SET_MAKE
631 AWK
632 mkdir_p
633 MKDIR_P
634 INSTALL_STRIP_PROGRAM
635 STRIP
636 install_sh
637 MAKEINFO
638 AUTOHEADER
639 AUTOMAKE
640 AUTOCONF
641 ACLOCAL
642 VERSION
643 PACKAGE
644 CYGPATH_W
645 am__isrc
646 INSTALL_DATA
647 INSTALL_SCRIPT
648 INSTALL_PROGRAM
649 target_alias
650 host_alias
651 build_alias
652 LIBS
653 ECHO_T
654 ECHO_N
655 ECHO_C
656 DEFS
657 mandir
658 localedir
659 libdir
660 psdir
661 pdfdir
662 dvidir
663 htmldir
664 infodir
665 docdir
666 oldincludedir
667 includedir
668 localstatedir
669 sharedstatedir
670 sysconfdir
671 datadir
672 datarootdir
673 libexecdir
674 sbindir
675 bindir
676 program_transform_name
677 prefix
678 exec_prefix
679 PACKAGE_URL
680 PACKAGE_BUGREPORT
681 PACKAGE_STRING
682 PACKAGE_VERSION
683 PACKAGE_TARNAME
684 PACKAGE_NAME
685 PATH_SEPARATOR
686 SHELL'
687 ac_subst_files=''
688 ac_user_opts='
689 enable_option_checking
690 enable_maintainer_mode
691 enable_dependency_tracking
692 with_libesmtp
693 '
694 ac_precious_vars='build_alias
695 host_alias
696 target_alias
697 CC
698 CFLAGS
699 LDFLAGS
700 LIBS
701 CPPFLAGS
702 CPP
703 YACC
704 YFLAGS'
705
706
707 # Initialize some variables set by options.
708 ac_init_help=
709 ac_init_version=false
710 ac_unrecognized_opts=
711 ac_unrecognized_sep=
712 # The variables have the same names as the options, with
713 # dashes changed to underlines.
714 cache_file=/dev/null
715 exec_prefix=NONE
716 no_create=
717 no_recursion=
718 prefix=NONE
719 program_prefix=NONE
720 program_suffix=NONE
721 program_transform_name=s,x,x,
722 silent=
723 site=
724 srcdir=
725 verbose=
726 x_includes=NONE
727 x_libraries=NONE
728
729 # Installation directory options.
730 # These are left unexpanded so users can "make install exec_prefix=/foo"
731 # and all the variables that are supposed to be based on exec_prefix
732 # by default will actually change.
733 # Use braces instead of parens because sh, perl, etc. also accept them.
734 # (The list follows the same order as the GNU Coding Standards.)
735 bindir='${exec_prefix}/bin'
736 sbindir='${exec_prefix}/sbin'
737 libexecdir='${exec_prefix}/libexec'
738 datarootdir='${prefix}/share'
739 datadir='${datarootdir}'
740 sysconfdir='${prefix}/etc'
741 sharedstatedir='${prefix}/com'
742 localstatedir='${prefix}/var'
743 includedir='${prefix}/include'
744 oldincludedir='/usr/include'
745 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
746 infodir='${datarootdir}/info'
747 htmldir='${docdir}'
748 dvidir='${docdir}'
749 pdfdir='${docdir}'
750 psdir='${docdir}'
751 libdir='${exec_prefix}/lib'
752 localedir='${datarootdir}/locale'
753 mandir='${datarootdir}/man'
754
755 ac_prev=
756 ac_dashdash=
757 for ac_option
758 do
759 # If the previous option needs an argument, assign it.
760 if test -n "$ac_prev"; then
761 eval $ac_prev=\$ac_option
762 ac_prev=
763 continue
764 fi
765
766 case $ac_option in
767 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
768 *) ac_optarg=yes ;;
769 esac
770
771 # Accept the important Cygnus configure options, so we can diagnose typos.
772
773 case $ac_dashdash$ac_option in
774 --)
775 ac_dashdash=yes ;;
776
777 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 ac_prev=bindir ;;
779 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
780 bindir=$ac_optarg ;;
781
782 -build | --build | --buil | --bui | --bu)
783 ac_prev=build_alias ;;
784 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
785 build_alias=$ac_optarg ;;
786
787 -cache-file | --cache-file | --cache-fil | --cache-fi \
788 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
789 ac_prev=cache_file ;;
790 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
791 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
792 cache_file=$ac_optarg ;;
793
794 --config-cache | -C)
795 cache_file=config.cache ;;
796
797 -datadir | --datadir | --datadi | --datad)
798 ac_prev=datadir ;;
799 -datadir=* | --datadir=* | --datadi=* | --datad=*)
800 datadir=$ac_optarg ;;
801
802 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
803 | --dataroo | --dataro | --datar)
804 ac_prev=datarootdir ;;
805 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
806 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
807 datarootdir=$ac_optarg ;;
808
809 -disable-* | --disable-*)
810 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
813 as_fn_error "invalid feature name: $ac_useropt"
814 ac_useropt_orig=$ac_useropt
815 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
817 *"
818 "enable_$ac_useropt"
819 "*) ;;
820 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
821 ac_unrecognized_sep=', ';;
822 esac
823 eval enable_$ac_useropt=no ;;
824
825 -docdir | --docdir | --docdi | --doc | --do)
826 ac_prev=docdir ;;
827 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
828 docdir=$ac_optarg ;;
829
830 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 ac_prev=dvidir ;;
832 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
833 dvidir=$ac_optarg ;;
834
835 -enable-* | --enable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error "invalid feature name: $ac_useropt"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
843 *"
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=\$ac_optarg ;;
850
851 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
852 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
853 | --exec | --exe | --ex)
854 ac_prev=exec_prefix ;;
855 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
856 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
857 | --exec=* | --exe=* | --ex=*)
858 exec_prefix=$ac_optarg ;;
859
860 -gas | --gas | --ga | --g)
861 # Obsolete; use --with-gas.
862 with_gas=yes ;;
863
864 -help | --help | --hel | --he | -h)
865 ac_init_help=long ;;
866 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
867 ac_init_help=recursive ;;
868 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
869 ac_init_help=short ;;
870
871 -host | --host | --hos | --ho)
872 ac_prev=host_alias ;;
873 -host=* | --host=* | --hos=* | --ho=*)
874 host_alias=$ac_optarg ;;
875
876 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 ac_prev=htmldir ;;
878 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 | --ht=*)
880 htmldir=$ac_optarg ;;
881
882 -includedir | --includedir | --includedi | --included | --include \
883 | --includ | --inclu | --incl | --inc)
884 ac_prev=includedir ;;
885 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
886 | --includ=* | --inclu=* | --incl=* | --inc=*)
887 includedir=$ac_optarg ;;
888
889 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 ac_prev=infodir ;;
891 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
892 infodir=$ac_optarg ;;
893
894 -libdir | --libdir | --libdi | --libd)
895 ac_prev=libdir ;;
896 -libdir=* | --libdir=* | --libdi=* | --libd=*)
897 libdir=$ac_optarg ;;
898
899 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
900 | --libexe | --libex | --libe)
901 ac_prev=libexecdir ;;
902 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
903 | --libexe=* | --libex=* | --libe=*)
904 libexecdir=$ac_optarg ;;
905
906 -localedir | --localedir | --localedi | --localed | --locale)
907 ac_prev=localedir ;;
908 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
909 localedir=$ac_optarg ;;
910
911 -localstatedir | --localstatedir | --localstatedi | --localstated \
912 | --localstate | --localstat | --localsta | --localst | --locals)
913 ac_prev=localstatedir ;;
914 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
915 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
916 localstatedir=$ac_optarg ;;
917
918 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 ac_prev=mandir ;;
920 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921 mandir=$ac_optarg ;;
922
923 -nfp | --nfp | --nf)
924 # Obsolete; use --without-fp.
925 with_fp=no ;;
926
927 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
928 | --no-cr | --no-c | -n)
929 no_create=yes ;;
930
931 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
932 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
933 no_recursion=yes ;;
934
935 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
936 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
937 | --oldin | --oldi | --old | --ol | --o)
938 ac_prev=oldincludedir ;;
939 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
940 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
941 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
942 oldincludedir=$ac_optarg ;;
943
944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 ac_prev=prefix ;;
946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
947 prefix=$ac_optarg ;;
948
949 -program-prefix | --program-prefix | --program-prefi | --program-pref \
950 | --program-pre | --program-pr | --program-p)
951 ac_prev=program_prefix ;;
952 -program-prefix=* | --program-prefix=* | --program-prefi=* \
953 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
954 program_prefix=$ac_optarg ;;
955
956 -program-suffix | --program-suffix | --program-suffi | --program-suff \
957 | --program-suf | --program-su | --program-s)
958 ac_prev=program_suffix ;;
959 -program-suffix=* | --program-suffix=* | --program-suffi=* \
960 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
961 program_suffix=$ac_optarg ;;
962
963 -program-transform-name | --program-transform-name \
964 | --program-transform-nam | --program-transform-na \
965 | --program-transform-n | --program-transform- \
966 | --program-transform | --program-transfor \
967 | --program-transfo | --program-transf \
968 | --program-trans | --program-tran \
969 | --progr-tra | --program-tr | --program-t)
970 ac_prev=program_transform_name ;;
971 -program-transform-name=* | --program-transform-name=* \
972 | --program-transform-nam=* | --program-transform-na=* \
973 | --program-transform-n=* | --program-transform-=* \
974 | --program-transform=* | --program-transfor=* \
975 | --program-transfo=* | --program-transf=* \
976 | --program-trans=* | --program-tran=* \
977 | --progr-tra=* | --program-tr=* | --program-t=*)
978 program_transform_name=$ac_optarg ;;
979
980 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 ac_prev=pdfdir ;;
982 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
983 pdfdir=$ac_optarg ;;
984
985 -psdir | --psdir | --psdi | --psd | --ps)
986 ac_prev=psdir ;;
987 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
988 psdir=$ac_optarg ;;
989
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
992 silent=yes ;;
993
994 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
995 ac_prev=sbindir ;;
996 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
997 | --sbi=* | --sb=*)
998 sbindir=$ac_optarg ;;
999
1000 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1001 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1002 | --sharedst | --shareds | --shared | --share | --shar \
1003 | --sha | --sh)
1004 ac_prev=sharedstatedir ;;
1005 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1006 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1007 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1008 | --sha=* | --sh=*)
1009 sharedstatedir=$ac_optarg ;;
1010
1011 -site | --site | --sit)
1012 ac_prev=site ;;
1013 -site=* | --site=* | --sit=*)
1014 site=$ac_optarg ;;
1015
1016 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1017 ac_prev=srcdir ;;
1018 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1019 srcdir=$ac_optarg ;;
1020
1021 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1022 | --syscon | --sysco | --sysc | --sys | --sy)
1023 ac_prev=sysconfdir ;;
1024 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1025 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1026 sysconfdir=$ac_optarg ;;
1027
1028 -target | --target | --targe | --targ | --tar | --ta | --t)
1029 ac_prev=target_alias ;;
1030 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1031 target_alias=$ac_optarg ;;
1032
1033 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1034 verbose=yes ;;
1035
1036 -version | --version | --versio | --versi | --vers | -V)
1037 ac_init_version=: ;;
1038
1039 -with-* | --with-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error "invalid package name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1047 *"
1048 "with_$ac_useropt"
1049 "*) ;;
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1052 esac
1053 eval with_$ac_useropt=\$ac_optarg ;;
1054
1055 -without-* | --without-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error "invalid package name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1063 *"
1064 "with_$ac_useropt"
1065 "*) ;;
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1068 esac
1069 eval with_$ac_useropt=no ;;
1070
1071 --x)
1072 # Obsolete; use --with-x.
1073 with_x=yes ;;
1074
1075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076 | --x-incl | --x-inc | --x-in | --x-i)
1077 ac_prev=x_includes ;;
1078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080 x_includes=$ac_optarg ;;
1081
1082 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084 ac_prev=x_libraries ;;
1085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087 x_libraries=$ac_optarg ;;
1088
1089 -*) as_fn_error "unrecognized option: \`$ac_option'
1090 Try \`$0 --help' for more information."
1091 ;;
1092
1093 *=*)
1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 case $ac_envvar in #(
1097 '' | [0-9]* | *[!_$as_cr_alnum]* )
1098 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1099 esac
1100 eval $ac_envvar=\$ac_optarg
1101 export $ac_envvar ;;
1102
1103 *)
1104 # FIXME: should be removed in autoconf 3.0.
1105 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1107 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1109 ;;
1110
1111 esac
1112 done
1113
1114 if test -n "$ac_prev"; then
1115 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1116 as_fn_error "missing argument to $ac_option"
1117 fi
1118
1119 if test -n "$ac_unrecognized_opts"; then
1120 case $enable_option_checking in
1121 no) ;;
1122 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1123 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1124 esac
1125 fi
1126
1127 # Check all directory arguments for consistency.
1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1129 datadir sysconfdir sharedstatedir localstatedir includedir \
1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1131 libdir localedir mandir
1132 do
1133 eval ac_val=\$$ac_var
1134 # Remove trailing slashes.
1135 case $ac_val in
1136 */ )
1137 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1138 eval $ac_var=\$ac_val;;
1139 esac
1140 # Be sure to have absolute directory names.
1141 case $ac_val in
1142 [\\/$]* | ?:[\\/]* ) continue;;
1143 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1144 esac
1145 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1146 done
1147
1148 # There might be people who depend on the old broken behavior: `$host'
1149 # used to hold the argument of --host etc.
1150 # FIXME: To remove some day.
1151 build=$build_alias
1152 host=$host_alias
1153 target=$target_alias
1154
1155 # FIXME: To remove some day.
1156 if test "x$host_alias" != x; then
1157 if test "x$build_alias" = x; then
1158 cross_compiling=maybe
1159 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1160 If a cross compiler is detected then cross compile mode will be used." >&2
1161 elif test "x$build_alias" != "x$host_alias"; then
1162 cross_compiling=yes
1163 fi
1164 fi
1165
1166 ac_tool_prefix=
1167 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1168
1169 test "$silent" = yes && exec 6>/dev/null
1170
1171
1172 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1173 ac_ls_di=`ls -di .` &&
1174 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1175 as_fn_error "working directory cannot be determined"
1176 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1177 as_fn_error "pwd does not report name of working directory"
1178
1179
1180 # Find the source files, if location was not specified.
1181 if test -z "$srcdir"; then
1182 ac_srcdir_defaulted=yes
1183 # Try the directory containing this script, then the parent directory.
1184 ac_confdir=`$as_dirname -- "$as_myself" ||
1185 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1186 X"$as_myself" : 'X\(//\)[^/]' \| \
1187 X"$as_myself" : 'X\(//\)$' \| \
1188 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1189 $as_echo X"$as_myself" |
1190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1191 s//\1/
1192 q
1193 }
1194 /^X\(\/\/\)[^/].*/{
1195 s//\1/
1196 q
1197 }
1198 /^X\(\/\/\)$/{
1199 s//\1/
1200 q
1201 }
1202 /^X\(\/\).*/{
1203 s//\1/
1204 q
1205 }
1206 s/.*/./; q'`
1207 srcdir=$ac_confdir
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1209 srcdir=..
1210 fi
1211 else
1212 ac_srcdir_defaulted=no
1213 fi
1214 if test ! -r "$srcdir/$ac_unique_file"; then
1215 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1216 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1217 fi
1218 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1219 ac_abs_confdir=`(
1220 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1221 pwd)`
1222 # When building in place, set srcdir=.
1223 if test "$ac_abs_confdir" = "$ac_pwd"; then
1224 srcdir=.
1225 fi
1226 # Remove unnecessary trailing slashes from srcdir.
1227 # Double slashes in file names in object file debugging info
1228 # mess up M-x gdb in Emacs.
1229 case $srcdir in
1230 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231 esac
1232 for ac_var in $ac_precious_vars; do
1233 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1234 eval ac_env_${ac_var}_value=\$${ac_var}
1235 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1237 done
1238
1239 #
1240 # Report the --help message.
1241 #
1242 if test "$ac_init_help" = "long"; then
1243 # Omit some internal or obsolete options to make the list less imposing.
1244 # This message is too long to be a string in the A/UX 3.1 sh.
1245 cat <<_ACEOF
1246 \`configure' configures esmtp 1.2 to adapt to many kinds of systems.
1247
1248 Usage: $0 [OPTION]... [VAR=VALUE]...
1249
1250 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1251 VAR=VALUE. See below for descriptions of some of the useful variables.
1252
1253 Defaults for the options are specified in brackets.
1254
1255 Configuration:
1256 -h, --help display this help and exit
1257 --help=short display options specific to this package
1258 --help=recursive display the short help of all the included packages
1259 -V, --version display version information and exit
1260 -q, --quiet, --silent do not print \`checking...' messages
1261 --cache-file=FILE cache test results in FILE [disabled]
1262 -C, --config-cache alias for \`--cache-file=config.cache'
1263 -n, --no-create do not create output files
1264 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1265
1266 Installation directories:
1267 --prefix=PREFIX install architecture-independent files in PREFIX
1268 [$ac_default_prefix]
1269 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1270 [PREFIX]
1271
1272 By default, \`make install' will install all the files in
1273 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1274 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1275 for instance \`--prefix=\$HOME'.
1276
1277 For better control, use the options below.
1278
1279 Fine tuning of the installation directories:
1280 --bindir=DIR user executables [EPREFIX/bin]
1281 --sbindir=DIR system admin executables [EPREFIX/sbin]
1282 --libexecdir=DIR program executables [EPREFIX/libexec]
1283 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1284 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1285 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1286 --libdir=DIR object code libraries [EPREFIX/lib]
1287 --includedir=DIR C header files [PREFIX/include]
1288 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1289 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1290 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1291 --infodir=DIR info documentation [DATAROOTDIR/info]
1292 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1293 --mandir=DIR man documentation [DATAROOTDIR/man]
1294 --docdir=DIR documentation root [DATAROOTDIR/doc/esmtp]
1295 --htmldir=DIR html documentation [DOCDIR]
1296 --dvidir=DIR dvi documentation [DOCDIR]
1297 --pdfdir=DIR pdf documentation [DOCDIR]
1298 --psdir=DIR ps documentation [DOCDIR]
1299 _ACEOF
1300
1301 cat <<\_ACEOF
1302
1303 Program names:
1304 --program-prefix=PREFIX prepend PREFIX to installed program names
1305 --program-suffix=SUFFIX append SUFFIX to installed program names
1306 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1307 _ACEOF
1308 fi
1309
1310 if test -n "$ac_init_help"; then
1311 case $ac_init_help in
1312 short | recursive ) echo "Configuration of esmtp 1.2:";;
1313 esac
1314 cat <<\_ACEOF
1315
1316 Optional Features:
1317 --disable-option-checking ignore unrecognized --enable/--with options
1318 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1319 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1320 --enable-maintainer-mode enable make rules and dependencies not useful
1321 (and sometimes confusing) to the casual installer
1322 --disable-dependency-tracking speeds up one-time build
1323 --enable-dependency-tracking do not reject slow dependency extractors
1324
1325 Optional Packages:
1326 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1327 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1328 --with-libesmtp=DIR use libesmtp library from (prefix) directory DIR
1329
1330 Some influential environment variables:
1331 CC C compiler command
1332 CFLAGS C compiler flags
1333 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1334 nonstandard directory <lib dir>
1335 LIBS libraries to pass to the linker, e.g. -l<library>
1336 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1337 you have headers in a nonstandard directory <include dir>
1338 CPP C preprocessor
1339 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1340 the first program found out of: `bison -y', `byacc', `yacc'.
1341 YFLAGS The list of arguments that will be passed by default to $YACC.
1342 This script will default YFLAGS to the empty string to avoid a
1343 default value of `-d' given by some make applications.
1344
1345 Use these variables to override the choices made by `configure' or to help
1346 it to find libraries and programs with nonstandard names/locations.
1347
1348 Report bugs to the package provider.
1349 _ACEOF
1350 ac_status=$?
1351 fi
1352
1353 if test "$ac_init_help" = "recursive"; then
1354 # If there are subdirs, report their specific --help.
1355 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1356 test -d "$ac_dir" ||
1357 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1358 continue
1359 ac_builddir=.
1360
1361 case "$ac_dir" in
1362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 *)
1364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1365 # A ".." for each directory in $ac_dir_suffix.
1366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1367 case $ac_top_builddir_sub in
1368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1370 esac ;;
1371 esac
1372 ac_abs_top_builddir=$ac_pwd
1373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1374 # for backward compatibility:
1375 ac_top_builddir=$ac_top_build_prefix
1376
1377 case $srcdir in
1378 .) # We are building in place.
1379 ac_srcdir=.
1380 ac_top_srcdir=$ac_top_builddir_sub
1381 ac_abs_top_srcdir=$ac_pwd ;;
1382 [\\/]* | ?:[\\/]* ) # Absolute name.
1383 ac_srcdir=$srcdir$ac_dir_suffix;
1384 ac_top_srcdir=$srcdir
1385 ac_abs_top_srcdir=$srcdir ;;
1386 *) # Relative name.
1387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1388 ac_top_srcdir=$ac_top_build_prefix$srcdir
1389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1390 esac
1391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392
1393 cd "$ac_dir" || { ac_status=$?; continue; }
1394 # Check for guested configure.
1395 if test -f "$ac_srcdir/configure.gnu"; then
1396 echo &&
1397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1398 elif test -f "$ac_srcdir/configure"; then
1399 echo &&
1400 $SHELL "$ac_srcdir/configure" --help=recursive
1401 else
1402 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403 fi || ac_status=$?
1404 cd "$ac_pwd" || { ac_status=$?; break; }
1405 done
1406 fi
1407
1408 test -n "$ac_init_help" && exit $ac_status
1409 if $ac_init_version; then
1410 cat <<\_ACEOF
1411 esmtp configure 1.2
1412 generated by GNU Autoconf 2.65
1413
1414 Copyright (C) 2009 Free Software Foundation, Inc.
1415 This configure script is free software; the Free Software Foundation
1416 gives unlimited permission to copy, distribute and modify it.
1417 _ACEOF
1418 exit
1419 fi
1420
1421 ## ------------------------ ##
1422 ## Autoconf initialization. ##
1423 ## ------------------------ ##
1424
1425 # ac_fn_c_try_compile LINENO
1426 # --------------------------
1427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1428 ac_fn_c_try_compile ()
1429 {
1430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1431 rm -f conftest.$ac_objext
1432 if { { ac_try="$ac_compile"
1433 case "(($ac_try" in
1434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1436 esac
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_compile") 2>conftest.err
1440 ac_status=$?
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1445 fi
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } && {
1448 test -z "$ac_c_werror_flag" ||
1449 test ! -s conftest.err
1450 } && test -s conftest.$ac_objext; then :
1451 ac_retval=0
1452 else
1453 $as_echo "$as_me: failed program was:" >&5
1454 sed 's/^/| /' conftest.$ac_ext >&5
1455
1456 ac_retval=1
1457 fi
1458 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1459 as_fn_set_status $ac_retval
1460
1461 } # ac_fn_c_try_compile
1462
1463 # ac_fn_c_try_cpp LINENO
1464 # ----------------------
1465 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1466 ac_fn_c_try_cpp ()
1467 {
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 if { { ac_try="$ac_cpp conftest.$ac_ext"
1470 case "(($ac_try" in
1471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472 *) ac_try_echo=$ac_try;;
1473 esac
1474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1477 ac_status=$?
1478 if test -s conftest.err; then
1479 grep -v '^ *+' conftest.err >conftest.er1
1480 cat conftest.er1 >&5
1481 mv -f conftest.er1 conftest.err
1482 fi
1483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484 test $ac_status = 0; } >/dev/null && {
1485 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1486 test ! -s conftest.err
1487 }; then :
1488 ac_retval=0
1489 else
1490 $as_echo "$as_me: failed program was:" >&5
1491 sed 's/^/| /' conftest.$ac_ext >&5
1492
1493 ac_retval=1
1494 fi
1495 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1496 as_fn_set_status $ac_retval
1497
1498 } # ac_fn_c_try_cpp
1499
1500 # ac_fn_c_try_run LINENO
1501 # ----------------------
1502 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1503 # that executables *can* be run.
1504 ac_fn_c_try_run ()
1505 {
1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507 if { { ac_try="$ac_link"
1508 case "(($ac_try" in
1509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1510 *) ac_try_echo=$ac_try;;
1511 esac
1512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513 $as_echo "$ac_try_echo"; } >&5
1514 (eval "$ac_link") 2>&5
1515 ac_status=$?
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1518 { { case "(($ac_try" in
1519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1521 esac
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_try") 2>&5
1525 ac_status=$?
1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527 test $ac_status = 0; }; }; then :
1528 ac_retval=0
1529 else
1530 $as_echo "$as_me: program exited with status $ac_status" >&5
1531 $as_echo "$as_me: failed program was:" >&5
1532 sed 's/^/| /' conftest.$ac_ext >&5
1533
1534 ac_retval=$ac_status
1535 fi
1536 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1538 as_fn_set_status $ac_retval
1539
1540 } # ac_fn_c_try_run
1541
1542 # ac_fn_c_try_link LINENO
1543 # -----------------------
1544 # Try to link conftest.$ac_ext, and return whether this succeeded.
1545 ac_fn_c_try_link ()
1546 {
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 rm -f conftest.$ac_objext conftest$ac_exeext
1549 if { { ac_try="$ac_link"
1550 case "(($ac_try" in
1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1552 *) ac_try_echo=$ac_try;;
1553 esac
1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_link") 2>conftest.err
1557 ac_status=$?
1558 if test -s conftest.err; then
1559 grep -v '^ *+' conftest.err >conftest.er1
1560 cat conftest.er1 >&5
1561 mv -f conftest.er1 conftest.err
1562 fi
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } && {
1565 test -z "$ac_c_werror_flag" ||
1566 test ! -s conftest.err
1567 } && test -s conftest$ac_exeext && {
1568 test "$cross_compiling" = yes ||
1569 $as_test_x conftest$ac_exeext
1570 }; then :
1571 ac_retval=0
1572 else
1573 $as_echo "$as_me: failed program was:" >&5
1574 sed 's/^/| /' conftest.$ac_ext >&5
1575
1576 ac_retval=1
1577 fi
1578 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1579 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1580 # interfere with the next link command; also delete a directory that is
1581 # left behind by Apple's compiler. We do this before executing the actions.
1582 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1583 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1584 as_fn_set_status $ac_retval
1585
1586 } # ac_fn_c_try_link
1587
1588 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1589 # -------------------------------------------------------
1590 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1591 # the include files in INCLUDES and setting the cache variable VAR
1592 # accordingly.
1593 ac_fn_c_check_header_mongrel ()
1594 {
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1600 $as_echo_n "(cached) " >&6
1601 fi
1602 eval ac_res=\$$3
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1604 $as_echo "$ac_res" >&6; }
1605 else
1606 # Is the header compilable?
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1608 $as_echo_n "checking $2 usability... " >&6; }
1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h. */
1611 $4
1612 #include <$2>
1613 _ACEOF
1614 if ac_fn_c_try_compile "$LINENO"; then :
1615 ac_header_compiler=yes
1616 else
1617 ac_header_compiler=no
1618 fi
1619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1621 $as_echo "$ac_header_compiler" >&6; }
1622
1623 # Is the header present?
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1625 $as_echo_n "checking $2 presence... " >&6; }
1626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1628 #include <$2>
1629 _ACEOF
1630 if ac_fn_c_try_cpp "$LINENO"; then :
1631 ac_header_preproc=yes
1632 else
1633 ac_header_preproc=no
1634 fi
1635 rm -f conftest.err conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1637 $as_echo "$ac_header_preproc" >&6; }
1638
1639 # So? What about this header?
1640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1641 yes:no: )
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1643 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1646 ;;
1647 no:yes:* )
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1649 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1651 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1653 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1655 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1657 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1658 ;;
1659 esac
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1661 $as_echo_n "checking for $2... " >&6; }
1662 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1663 $as_echo_n "(cached) " >&6
1664 else
1665 eval "$3=\$ac_header_compiler"
1666 fi
1667 eval ac_res=\$$3
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1670 fi
1671 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672
1673 } # ac_fn_c_check_header_mongrel
1674
1675 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1676 # -------------------------------------------------------
1677 # Tests whether HEADER exists and can be compiled using the include files in
1678 # INCLUDES, setting the cache variable VAR accordingly.
1679 ac_fn_c_check_header_compile ()
1680 {
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683 $as_echo_n "checking for $2... " >&6; }
1684 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1685 $as_echo_n "(cached) " >&6
1686 else
1687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1689 $4
1690 #include <$2>
1691 _ACEOF
1692 if ac_fn_c_try_compile "$LINENO"; then :
1693 eval "$3=yes"
1694 else
1695 eval "$3=no"
1696 fi
1697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698 fi
1699 eval ac_res=\$$3
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701 $as_echo "$ac_res" >&6; }
1702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703
1704 } # ac_fn_c_check_header_compile
1705
1706 # ac_fn_c_check_func LINENO FUNC VAR
1707 # ----------------------------------
1708 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1709 ac_fn_c_check_func ()
1710 {
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1715 $as_echo_n "(cached) " >&6
1716 else
1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1719 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1721 #define $2 innocuous_$2
1722
1723 /* System header to define __stub macros and hopefully few prototypes,
1724 which can conflict with char $2 (); below.
1725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1726 <limits.h> exists even on freestanding compilers. */
1727
1728 #ifdef __STDC__
1729 # include <limits.h>
1730 #else
1731 # include <assert.h>
1732 #endif
1733
1734 #undef $2
1735
1736 /* Override any GCC internal prototype to avoid an error.
1737 Use char because int might match the return type of a GCC
1738 builtin and then its argument prototype would still apply. */
1739 #ifdef __cplusplus
1740 extern "C"
1741 #endif
1742 char $2 ();
1743 /* The GNU C library defines this for functions which it implements
1744 to always fail with ENOSYS. Some functions are actually named
1745 something starting with __ and the normal name is an alias. */
1746 #if defined __stub_$2 || defined __stub___$2
1747 choke me
1748 #endif
1749
1750 int
1751 main ()
1752 {
1753 return $2 ();
1754 ;
1755 return 0;
1756 }
1757 _ACEOF
1758 if ac_fn_c_try_link "$LINENO"; then :
1759 eval "$3=yes"
1760 else
1761 eval "$3=no"
1762 fi
1763 rm -f core conftest.err conftest.$ac_objext \
1764 conftest$ac_exeext conftest.$ac_ext
1765 fi
1766 eval ac_res=\$$3
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770
1771 } # ac_fn_c_check_func
1772 cat >config.log <<_ACEOF
1773 This file contains any messages produced by compilers while
1774 running configure, to aid debugging if configure makes a mistake.
1775
1776 It was created by esmtp $as_me 1.2, which was
1777 generated by GNU Autoconf 2.65. Invocation command line was
1778
1779 $ $0 $@
1780
1781 _ACEOF
1782 exec 5>>config.log
1783 {
1784 cat <<_ASUNAME
1785 ## --------- ##
1786 ## Platform. ##
1787 ## --------- ##
1788
1789 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1790 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1791 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1792 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1793 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1794
1795 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1796 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1797
1798 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1799 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1800 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1801 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1802 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1803 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1804 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1805
1806 _ASUNAME
1807
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809 for as_dir in $PATH
1810 do
1811 IFS=$as_save_IFS
1812 test -z "$as_dir" && as_dir=.
1813 $as_echo "PATH: $as_dir"
1814 done
1815 IFS=$as_save_IFS
1816
1817 } >&5
1818
1819 cat >&5 <<_ACEOF
1820
1821
1822 ## ----------- ##
1823 ## Core tests. ##
1824 ## ----------- ##
1825
1826 _ACEOF
1827
1828
1829 # Keep a trace of the command line.
1830 # Strip out --no-create and --no-recursion so they do not pile up.
1831 # Strip out --silent because we don't want to record it for future runs.
1832 # Also quote any args containing shell meta-characters.
1833 # Make two passes to allow for proper duplicate-argument suppression.
1834 ac_configure_args=
1835 ac_configure_args0=
1836 ac_configure_args1=
1837 ac_must_keep_next=false
1838 for ac_pass in 1 2
1839 do
1840 for ac_arg
1841 do
1842 case $ac_arg in
1843 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1844 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1845 | -silent | --silent | --silen | --sile | --sil)
1846 continue ;;
1847 *\'*)
1848 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1849 esac
1850 case $ac_pass in
1851 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1852 2)
1853 as_fn_append ac_configure_args1 " '$ac_arg'"
1854 if test $ac_must_keep_next = true; then
1855 ac_must_keep_next=false # Got value, back to normal.
1856 else
1857 case $ac_arg in
1858 *=* | --config-cache | -C | -disable-* | --disable-* \
1859 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1860 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1861 | -with-* | --with-* | -without-* | --without-* | --x)
1862 case "$ac_configure_args0 " in
1863 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1864 esac
1865 ;;
1866 -* ) ac_must_keep_next=true ;;
1867 esac
1868 fi
1869 as_fn_append ac_configure_args " '$ac_arg'"
1870 ;;
1871 esac
1872 done
1873 done
1874 { ac_configure_args0=; unset ac_configure_args0;}
1875 { ac_configure_args1=; unset ac_configure_args1;}
1876
1877 # When interrupted or exit'd, cleanup temporary files, and complete
1878 # config.log. We remove comments because anyway the quotes in there
1879 # would cause problems or look ugly.
1880 # WARNING: Use '\'' to represent an apostrophe within the trap.
1881 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1882 trap 'exit_status=$?
1883 # Save into config.log some information that might help in debugging.
1884 {
1885 echo
1886
1887 cat <<\_ASBOX
1888 ## ---------------- ##
1889 ## Cache variables. ##
1890 ## ---------------- ##
1891 _ASBOX
1892 echo
1893 # The following way of writing the cache mishandles newlines in values,
1894 (
1895 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1896 eval ac_val=\$$ac_var
1897 case $ac_val in #(
1898 *${as_nl}*)
1899 case $ac_var in #(
1900 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1901 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1902 esac
1903 case $ac_var in #(
1904 _ | IFS | as_nl) ;; #(
1905 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1906 *) { eval $ac_var=; unset $ac_var;} ;;
1907 esac ;;
1908 esac
1909 done
1910 (set) 2>&1 |
1911 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1912 *${as_nl}ac_space=\ *)
1913 sed -n \
1914 "s/'\''/'\''\\\\'\'''\''/g;
1915 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1916 ;; #(
1917 *)
1918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1919 ;;
1920 esac |
1921 sort
1922 )
1923 echo
1924
1925 cat <<\_ASBOX
1926 ## ----------------- ##
1927 ## Output variables. ##
1928 ## ----------------- ##
1929 _ASBOX
1930 echo
1931 for ac_var in $ac_subst_vars
1932 do
1933 eval ac_val=\$$ac_var
1934 case $ac_val in
1935 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1936 esac
1937 $as_echo "$ac_var='\''$ac_val'\''"
1938 done | sort
1939 echo
1940
1941 if test -n "$ac_subst_files"; then
1942 cat <<\_ASBOX
1943 ## ------------------- ##
1944 ## File substitutions. ##
1945 ## ------------------- ##
1946 _ASBOX
1947 echo
1948 for ac_var in $ac_subst_files
1949 do
1950 eval ac_val=\$$ac_var
1951 case $ac_val in
1952 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1953 esac
1954 $as_echo "$ac_var='\''$ac_val'\''"
1955 done | sort
1956 echo
1957 fi
1958
1959 if test -s confdefs.h; then
1960 cat <<\_ASBOX
1961 ## ----------- ##
1962 ## confdefs.h. ##
1963 ## ----------- ##
1964 _ASBOX
1965 echo
1966 cat confdefs.h
1967 echo
1968 fi
1969 test "$ac_signal" != 0 &&
1970 $as_echo "$as_me: caught signal $ac_signal"
1971 $as_echo "$as_me: exit $exit_status"
1972 } >&5
1973 rm -f core *.core core.conftest.* &&
1974 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1975 exit $exit_status
1976 ' 0
1977 for ac_signal in 1 2 13 15; do
1978 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1979 done
1980 ac_signal=0
1981
1982 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1983 rm -f -r conftest* confdefs.h
1984
1985 $as_echo "/* confdefs.h */" > confdefs.h
1986
1987 # Predefined preprocessor variables.
1988
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_NAME "$PACKAGE_NAME"
1991 _ACEOF
1992
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1995 _ACEOF
1996
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1999 _ACEOF
2000
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_STRING "$PACKAGE_STRING"
2003 _ACEOF
2004
2005 cat >>confdefs.h <<_ACEOF
2006 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2007 _ACEOF
2008
2009 cat >>confdefs.h <<_ACEOF
2010 #define PACKAGE_URL "$PACKAGE_URL"
2011 _ACEOF
2012
2013
2014 # Let the site file select an alternate cache file if it wants to.
2015 # Prefer an explicitly selected file to automatically selected ones.
2016 ac_site_file1=NONE
2017 ac_site_file2=NONE
2018 if test -n "$CONFIG_SITE"; then
2019 ac_site_file1=$CONFIG_SITE
2020 elif test "x$prefix" != xNONE; then
2021 ac_site_file1=$prefix/share/config.site
2022 ac_site_file2=$prefix/etc/config.site
2023 else
2024 ac_site_file1=$ac_default_prefix/share/config.site
2025 ac_site_file2=$ac_default_prefix/etc/config.site
2026 fi
2027 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2028 do
2029 test "x$ac_site_file" = xNONE && continue
2030 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2032 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2033 sed 's/^/| /' "$ac_site_file" >&5
2034 . "$ac_site_file"
2035 fi
2036 done
2037
2038 if test -r "$cache_file"; then
2039 # Some versions of bash will fail to source /dev/null (special files
2040 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2041 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2043 $as_echo "$as_me: loading cache $cache_file" >&6;}
2044 case $cache_file in
2045 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2046 *) . "./$cache_file";;
2047 esac
2048 fi
2049 else
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2051 $as_echo "$as_me: creating cache $cache_file" >&6;}
2052 >$cache_file
2053 fi
2054
2055 # Check that the precious variables saved in the cache have kept the same
2056 # value.
2057 ac_cache_corrupted=false
2058 for ac_var in $ac_precious_vars; do
2059 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2060 eval ac_new_set=\$ac_env_${ac_var}_set
2061 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2062 eval ac_new_val=\$ac_env_${ac_var}_value
2063 case $ac_old_set,$ac_new_set in
2064 set,)
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2066 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2067 ac_cache_corrupted=: ;;
2068 ,set)
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2070 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2071 ac_cache_corrupted=: ;;
2072 ,);;
2073 *)
2074 if test "x$ac_old_val" != "x$ac_new_val"; then
2075 # differences in whitespace do not lead to failure.
2076 ac_old_val_w=`echo x $ac_old_val`
2077 ac_new_val_w=`echo x $ac_new_val`
2078 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2080 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2081 ac_cache_corrupted=:
2082 else
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2084 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2085 eval $ac_var=\$ac_old_val
2086 fi
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2088 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2090 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2091 fi;;
2092 esac
2093 # Pass precious variables to config.status.
2094 if test "$ac_new_set" = set; then
2095 case $ac_new_val in
2096 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2097 *) ac_arg=$ac_var=$ac_new_val ;;
2098 esac
2099 case " $ac_configure_args " in
2100 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2101 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2102 esac
2103 fi
2104 done
2105 if $ac_cache_corrupted; then
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2109 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2110 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2111 fi
2112 ## -------------------- ##
2113 ## Main body of script. ##
2114 ## -------------------- ##
2115
2116 ac_ext=c
2117 ac_cpp='$CPP $CPPFLAGS'
2118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2121
2122
2123
2124 ac_config_headers="$ac_config_headers config.h"
2125
2126 am__api_version='1.11'
2127
2128 ac_aux_dir=
2129 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2130 for ac_t in install-sh install.sh shtool; do
2131 if test -f "$ac_dir/$ac_t"; then
2132 ac_aux_dir=$ac_dir
2133 ac_install_sh="$ac_aux_dir/$ac_t -c"
2134 break 2
2135 fi
2136 done
2137 done
2138 if test -z "$ac_aux_dir"; then
2139 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2140 fi
2141
2142 # These three variables are undocumented and unsupported,
2143 # and are intended to be withdrawn in a future Autoconf release.
2144 # They can cause serious problems if a builder's source tree is in a directory
2145 # whose full name contains unusual characters.
2146 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2147 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2148 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2149
2150
2151 # Find a good install program. We prefer a C program (faster),
2152 # so one script is as good as another. But avoid the broken or
2153 # incompatible versions:
2154 # SysV /etc/install, /usr/sbin/install
2155 # SunOS /usr/etc/install
2156 # IRIX /sbin/install
2157 # AIX /bin/install
2158 # AmigaOS /C/install, which installs bootblocks on floppy discs
2159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2162 # OS/2's system install, which has a completely different semantic
2163 # ./install, which can be erroneously created by make from ./install.sh.
2164 # Reject install programs that cannot install multiple files.
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2167 if test -z "$INSTALL"; then
2168 if test "${ac_cv_path_install+set}" = set; then :
2169 $as_echo_n "(cached) " >&6
2170 else
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 for as_dir in $PATH
2173 do
2174 IFS=$as_save_IFS
2175 test -z "$as_dir" && as_dir=.
2176 # Account for people who put trailing slashes in PATH elements.
2177 case $as_dir/ in #((
2178 ./ | .// | /[cC]/* | \
2179 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2180 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2181 /usr/ucb/* ) ;;
2182 *)
2183 # OSF1 and SCO ODT 3.0 have their own names for install.
2184 # Don't use installbsd from OSF since it installs stuff as root
2185 # by default.
2186 for ac_prog in ginstall scoinst install; do
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2189 if test $ac_prog = install &&
2190 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2191 # AIX install. It has an incompatible calling convention.
2192 :
2193 elif test $ac_prog = install &&
2194 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2195 # program-specific install script used by HP pwplus--don't use.
2196 :
2197 else
2198 rm -rf conftest.one conftest.two conftest.dir
2199 echo one > conftest.one
2200 echo two > conftest.two
2201 mkdir conftest.dir
2202 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2203 test -s conftest.one && test -s conftest.two &&
2204 test -s conftest.dir/conftest.one &&
2205 test -s conftest.dir/conftest.two
2206 then
2207 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2208 break 3
2209 fi
2210 fi
2211 fi
2212 done
2213 done
2214 ;;
2215 esac
2216
2217 done
2218 IFS=$as_save_IFS
2219
2220 rm -rf conftest.one conftest.two conftest.dir
2221
2222 fi
2223 if test "${ac_cv_path_install+set}" = set; then
2224 INSTALL=$ac_cv_path_install
2225 else
2226 # As a last resort, use the slow shell script. Don't cache a
2227 # value for INSTALL within a source directory, because that will
2228 # break other packages using the cache if that directory is
2229 # removed, or if the value is a relative name.
2230 INSTALL=$ac_install_sh
2231 fi
2232 fi
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2234 $as_echo "$INSTALL" >&6; }
2235
2236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2237 # It thinks the first close brace ends the variable substitution.
2238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2239
2240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2241
2242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2243
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2245 $as_echo_n "checking whether build environment is sane... " >&6; }
2246 # Just in case
2247 sleep 1
2248 echo timestamp > conftest.file
2249 # Reject unsafe characters in $srcdir or the absolute working directory
2250 # name. Accept space and tab only in the latter.
2251 am_lf='
2252 '
2253 case `pwd` in
2254 *[\\\"\#\$\&\'\`$am_lf]*)
2255 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2256 esac
2257 case $srcdir in
2258 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2259 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2260 esac
2261
2262 # Do `set' in a subshell so we don't clobber the current shell's
2263 # arguments. Must try -L first in case configure is actually a
2264 # symlink; some systems play weird games with the mod time of symlinks
2265 # (eg FreeBSD returns the mod time of the symlink's containing
2266 # directory).
2267 if (
2268 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2269 if test "$*" = "X"; then
2270 # -L didn't work.
2271 set X `ls -t "$srcdir/configure" conftest.file`
2272 fi
2273 rm -f conftest.file
2274 if test "$*" != "X $srcdir/configure conftest.file" \
2275 && test "$*" != "X conftest.file $srcdir/configure"; then
2276
2277 # If neither matched, then we have a broken ls. This can happen
2278 # if, for instance, CONFIG_SHELL is bash and it inherits a
2279 # broken ls alias from the environment. This has actually
2280 # happened. Such a system could not be considered "sane".
2281 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2282 alias in your environment" "$LINENO" 5
2283 fi
2284
2285 test "$2" = conftest.file
2286 )
2287 then
2288 # Ok.
2289 :
2290 else
2291 as_fn_error "newly created file is older than distributed files!
2292 Check your system clock" "$LINENO" 5
2293 fi
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2295 $as_echo "yes" >&6; }
2296 test "$program_prefix" != NONE &&
2297 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2298 # Use a double $ so make ignores it.
2299 test "$program_suffix" != NONE &&
2300 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2301 # Double any \ or $.
2302 # By default was `s,x,x', remove it if useless.
2303 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2304 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2305
2306 # expand $ac_aux_dir to an absolute path
2307 am_aux_dir=`cd $ac_aux_dir && pwd`
2308
2309 if test x"${MISSING+set}" != xset; then
2310 case $am_aux_dir in
2311 *\ * | *\ *)
2312 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2313 *)
2314 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2315 esac
2316 fi
2317 # Use eval to expand $SHELL
2318 if eval "$MISSING --run true"; then
2319 am_missing_run="$MISSING --run "
2320 else
2321 am_missing_run=
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2323 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2324 fi
2325
2326 if test x"${install_sh}" != xset; then
2327 case $am_aux_dir in
2328 *\ * | *\ *)
2329 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2330 *)
2331 install_sh="\${SHELL} $am_aux_dir/install-sh"
2332 esac
2333 fi
2334
2335 # Installed binaries are usually stripped using `strip' when the user
2336 # run `make install-strip'. However `strip' might not be the right
2337 # tool to use in cross-compilation environments, therefore Automake
2338 # will honor the `STRIP' environment variable to overrule this program.
2339 if test "$cross_compiling" != no; then
2340 if test -n "$ac_tool_prefix"; then
2341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2342 set dummy ${ac_tool_prefix}strip; ac_word=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if test "${ac_cv_prog_STRIP+set}" = set; then :
2346 $as_echo_n "(cached) " >&6
2347 else
2348 if test -n "$STRIP"; then
2349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2350 else
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 for as_dir in $PATH
2353 do
2354 IFS=$as_save_IFS
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 break 2
2361 fi
2362 done
2363 done
2364 IFS=$as_save_IFS
2365
2366 fi
2367 fi
2368 STRIP=$ac_cv_prog_STRIP
2369 if test -n "$STRIP"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2371 $as_echo "$STRIP" >&6; }
2372 else
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2375 fi
2376
2377
2378 fi
2379 if test -z "$ac_cv_prog_STRIP"; then
2380 ac_ct_STRIP=$STRIP
2381 # Extract the first word of "strip", so it can be a program name with args.
2382 set dummy strip; ac_word=$2
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2384 $as_echo_n "checking for $ac_word... " >&6; }
2385 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2386 $as_echo_n "(cached) " >&6
2387 else
2388 if test -n "$ac_ct_STRIP"; then
2389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2390 else
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 for as_dir in $PATH
2393 do
2394 IFS=$as_save_IFS
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2398 ac_cv_prog_ac_ct_STRIP="strip"
2399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 break 2
2401 fi
2402 done
2403 done
2404 IFS=$as_save_IFS
2405
2406 fi
2407 fi
2408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2409 if test -n "$ac_ct_STRIP"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2411 $as_echo "$ac_ct_STRIP" >&6; }
2412 else
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2414 $as_echo "no" >&6; }
2415 fi
2416
2417 if test "x$ac_ct_STRIP" = x; then
2418 STRIP=":"
2419 else
2420 case $cross_compiling:$ac_tool_warned in
2421 yes:)
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2424 ac_tool_warned=yes ;;
2425 esac
2426 STRIP=$ac_ct_STRIP
2427 fi
2428 else
2429 STRIP="$ac_cv_prog_STRIP"
2430 fi
2431
2432 fi
2433 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2434
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2436 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2437 if test -z "$MKDIR_P"; then
2438 if test "${ac_cv_path_mkdir+set}" = set; then :
2439 $as_echo_n "(cached) " >&6
2440 else
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2443 do
2444 IFS=$as_save_IFS
2445 test -z "$as_dir" && as_dir=.
2446 for ac_prog in mkdir gmkdir; do
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2449 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2450 'mkdir (GNU coreutils) '* | \
2451 'mkdir (coreutils) '* | \
2452 'mkdir (fileutils) '4.1*)
2453 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2454 break 3;;
2455 esac
2456 done
2457 done
2458 done
2459 IFS=$as_save_IFS
2460
2461 fi
2462
2463 test -d ./--version && rmdir ./--version
2464 if test "${ac_cv_path_mkdir+set}" = set; then
2465 MKDIR_P="$ac_cv_path_mkdir -p"
2466 else
2467 # As a last resort, use the slow shell script. Don't cache a
2468 # value for MKDIR_P within a source directory, because that will
2469 # break other packages using the cache if that directory is
2470 # removed, or if the value is a relative name.
2471 MKDIR_P="$ac_install_sh -d"
2472 fi
2473 fi
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2475 $as_echo "$MKDIR_P" >&6; }
2476
2477 mkdir_p="$MKDIR_P"
2478 case $mkdir_p in
2479 [\\/$]* | ?:[\\/]*) ;;
2480 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2481 esac
2482
2483 for ac_prog in gawk mawk nawk awk
2484 do
2485 # Extract the first word of "$ac_prog", so it can be a program name with args.
2486 set dummy $ac_prog; ac_word=$2
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2488 $as_echo_n "checking for $ac_word... " >&6; }
2489 if test "${ac_cv_prog_AWK+set}" = set; then :
2490 $as_echo_n "(cached) " >&6
2491 else
2492 if test -n "$AWK"; then
2493 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2494 else
2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496 for as_dir in $PATH
2497 do
2498 IFS=$as_save_IFS
2499 test -z "$as_dir" && as_dir=.
2500 for ac_exec_ext in '' $ac_executable_extensions; do
2501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2502 ac_cv_prog_AWK="$ac_prog"
2503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 break 2
2505 fi
2506 done
2507 done
2508 IFS=$as_save_IFS
2509
2510 fi
2511 fi
2512 AWK=$ac_cv_prog_AWK
2513 if test -n "$AWK"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2515 $as_echo "$AWK" >&6; }
2516 else
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2518 $as_echo "no" >&6; }
2519 fi
2520
2521
2522 test -n "$AWK" && break
2523 done
2524
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2527 set x ${MAKE-make}
2528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2529 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2530 $as_echo_n "(cached) " >&6
2531 else
2532 cat >conftest.make <<\_ACEOF
2533 SHELL = /bin/sh
2534 all:
2535 @echo '@@@%%%=$(MAKE)=@@@%%%'
2536 _ACEOF
2537 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2539 *@@@%%%=?*=@@@%%%*)
2540 eval ac_cv_prog_make_${ac_make}_set=yes;;
2541 *)
2542 eval ac_cv_prog_make_${ac_make}_set=no;;
2543 esac
2544 rm -f conftest.make
2545 fi
2546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2548 $as_echo "yes" >&6; }
2549 SET_MAKE=
2550 else
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2552 $as_echo "no" >&6; }
2553 SET_MAKE="MAKE=${MAKE-make}"
2554 fi
2555
2556 rm -rf .tst 2>/dev/null
2557 mkdir .tst 2>/dev/null
2558 if test -d .tst; then
2559 am__leading_dot=.
2560 else
2561 am__leading_dot=_
2562 fi
2563 rmdir .tst 2>/dev/null
2564
2565 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2566 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2567 # is not polluted with repeated "-I."
2568 am__isrc=' -I$(srcdir)'
2569 # test to see if srcdir already configured
2570 if test -f $srcdir/config.status; then
2571 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2572 fi
2573 fi
2574
2575 # test whether we have cygpath
2576 if test -z "$CYGPATH_W"; then
2577 if (cygpath --version) >/dev/null 2>/dev/null; then
2578 CYGPATH_W='cygpath -w'
2579 else
2580 CYGPATH_W=echo
2581 fi
2582 fi
2583
2584
2585 # Define the identity of the package.
2586 PACKAGE='esmtp'
2587 VERSION='1.2'
2588
2589
2590 cat >>confdefs.h <<_ACEOF
2591 #define PACKAGE "$PACKAGE"
2592 _ACEOF
2593
2594
2595 cat >>confdefs.h <<_ACEOF
2596 #define VERSION "$VERSION"
2597 _ACEOF
2598
2599 # Some tools Automake needs.
2600
2601 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2602
2603
2604 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2605
2606
2607 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2608
2609
2610 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2611
2612
2613 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2614
2615 # We need awk for the "check" target. The system "awk" is bad on
2616 # some platforms.
2617 # Always define AMTAR for backward compatibility.
2618
2619 AMTAR=${AMTAR-"${am_missing_run}tar"}
2620
2621 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2622
2623
2624
2625
2626
2627
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2629 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2630 # Check whether --enable-maintainer-mode was given.
2631 if test "${enable_maintainer_mode+set}" = set; then :
2632 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2633 else
2634 USE_MAINTAINER_MODE=no
2635 fi
2636
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2638 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2639 if test $USE_MAINTAINER_MODE = yes; then
2640 MAINTAINER_MODE_TRUE=
2641 MAINTAINER_MODE_FALSE='#'
2642 else
2643 MAINTAINER_MODE_TRUE='#'
2644 MAINTAINER_MODE_FALSE=
2645 fi
2646
2647 MAINT=$MAINTAINER_MODE_TRUE
2648
2649
2650
2651 ac_ext=c
2652 ac_cpp='$CPP $CPPFLAGS'
2653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2656 if test -n "$ac_tool_prefix"; then
2657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2658 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if test "${ac_cv_prog_CC+set}" = set; then :
2662 $as_echo_n "(cached) " >&6
2663 else
2664 if test -n "$CC"; then
2665 ac_cv_prog_CC="$CC" # Let the user override the test.
2666 else
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 for as_dir in $PATH
2669 do
2670 IFS=$as_save_IFS
2671 test -z "$as_dir" && as_dir=.
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 break 2
2677 fi
2678 done
2679 done
2680 IFS=$as_save_IFS
2681
2682 fi
2683 fi
2684 CC=$ac_cv_prog_CC
2685 if test -n "$CC"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2687 $as_echo "$CC" >&6; }
2688 else
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690 $as_echo "no" >&6; }
2691 fi
2692
2693
2694 fi
2695 if test -z "$ac_cv_prog_CC"; then
2696 ac_ct_CC=$CC
2697 # Extract the first word of "gcc", so it can be a program name with args.
2698 set dummy gcc; ac_word=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2702 $as_echo_n "(cached) " >&6
2703 else
2704 if test -n "$ac_ct_CC"; then
2705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2706 else
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 for as_dir in $PATH
2709 do
2710 IFS=$as_save_IFS
2711 test -z "$as_dir" && as_dir=.
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 ac_cv_prog_ac_ct_CC="gcc"
2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 break 2
2717 fi
2718 done
2719 done
2720 IFS=$as_save_IFS
2721
2722 fi
2723 fi
2724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2725 if test -n "$ac_ct_CC"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2727 $as_echo "$ac_ct_CC" >&6; }
2728 else
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2731 fi
2732
2733 if test "x$ac_ct_CC" = x; then
2734 CC=""
2735 else
2736 case $cross_compiling:$ac_tool_warned in
2737 yes:)
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2740 ac_tool_warned=yes ;;
2741 esac
2742 CC=$ac_ct_CC
2743 fi
2744 else
2745 CC="$ac_cv_prog_CC"
2746 fi
2747
2748 if test -z "$CC"; then
2749 if test -n "$ac_tool_prefix"; then
2750 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2751 set dummy ${ac_tool_prefix}cc; ac_word=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if test "${ac_cv_prog_CC+set}" = set; then :
2755 $as_echo_n "(cached) " >&6
2756 else
2757 if test -n "$CC"; then
2758 ac_cv_prog_CC="$CC" # Let the user override the test.
2759 else
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 for as_dir in $PATH
2762 do
2763 IFS=$as_save_IFS
2764 test -z "$as_dir" && as_dir=.
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2767 ac_cv_prog_CC="${ac_tool_prefix}cc"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 break 2
2770 fi
2771 done
2772 done
2773 IFS=$as_save_IFS
2774
2775 fi
2776 fi
2777 CC=$ac_cv_prog_CC
2778 if test -n "$CC"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2780 $as_echo "$CC" >&6; }
2781 else
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2784 fi
2785
2786
2787 fi
2788 fi
2789 if test -z "$CC"; then
2790 # Extract the first word of "cc", so it can be a program name with args.
2791 set dummy cc; ac_word=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if test "${ac_cv_prog_CC+set}" = set; then :
2795 $as_echo_n "(cached) " >&6
2796 else
2797 if test -n "$CC"; then
2798 ac_cv_prog_CC="$CC" # Let the user override the test.
2799 else
2800 ac_prog_rejected=no
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2803 do
2804 IFS=$as_save_IFS
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2809 ac_prog_rejected=yes
2810 continue
2811 fi
2812 ac_cv_prog_CC="cc"
2813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 break 2
2815 fi
2816 done
2817 done
2818 IFS=$as_save_IFS
2819
2820 if test $ac_prog_rejected = yes; then
2821 # We found a bogon in the path, so make sure we never use it.
2822 set dummy $ac_cv_prog_CC
2823 shift
2824 if test $# != 0; then
2825 # We chose a different compiler from the bogus one.
2826 # However, it has the same basename, so the bogon will be chosen
2827 # first if we set CC to just the basename; use the full file name.
2828 shift
2829 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2830 fi
2831 fi
2832 fi
2833 fi
2834 CC=$ac_cv_prog_CC
2835 if test -n "$CC"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2837 $as_echo "$CC" >&6; }
2838 else
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2841 fi
2842
2843
2844 fi
2845 if test -z "$CC"; then
2846 if test -n "$ac_tool_prefix"; then
2847 for ac_prog in cl.exe
2848 do
2849 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2850 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2852 $as_echo_n "checking for $ac_word... " >&6; }
2853 if test "${ac_cv_prog_CC+set}" = set; then :
2854 $as_echo_n "(cached) " >&6
2855 else
2856 if test -n "$CC"; then
2857 ac_cv_prog_CC="$CC" # Let the user override the test.
2858 else
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 for as_dir in $PATH
2861 do
2862 IFS=$as_save_IFS
2863 test -z "$as_dir" && as_dir=.
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2866 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 break 2
2869 fi
2870 done
2871 done
2872 IFS=$as_save_IFS
2873
2874 fi
2875 fi
2876 CC=$ac_cv_prog_CC
2877 if test -n "$CC"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2879 $as_echo "$CC" >&6; }
2880 else
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2883 fi
2884
2885
2886 test -n "$CC" && break
2887 done
2888 fi
2889 if test -z "$CC"; then
2890 ac_ct_CC=$CC
2891 for ac_prog in cl.exe
2892 do
2893 # Extract the first word of "$ac_prog", so it can be a program name with args.
2894 set dummy $ac_prog; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2898 $as_echo_n "(cached) " >&6
2899 else
2900 if test -n "$ac_ct_CC"; then
2901 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2902 else
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904 for as_dir in $PATH
2905 do
2906 IFS=$as_save_IFS
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2910 ac_cv_prog_ac_ct_CC="$ac_prog"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 break 2
2913 fi
2914 done
2915 done
2916 IFS=$as_save_IFS
2917
2918 fi
2919 fi
2920 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2921 if test -n "$ac_ct_CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2923 $as_echo "$ac_ct_CC" >&6; }
2924 else
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 fi
2928
2929
2930 test -n "$ac_ct_CC" && break
2931 done
2932
2933 if test "x$ac_ct_CC" = x; then
2934 CC=""
2935 else
2936 case $cross_compiling:$ac_tool_warned in
2937 yes:)
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2940 ac_tool_warned=yes ;;
2941 esac
2942 CC=$ac_ct_CC
2943 fi
2944 fi
2945
2946 fi
2947
2948
2949 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951 as_fn_error "no acceptable C compiler found in \$PATH
2952 See \`config.log' for more details." "$LINENO" 5; }
2953
2954 # Provide some information about the compiler.
2955 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2956 set X $ac_compile
2957 ac_compiler=$2
2958 for ac_option in --version -v -V -qversion; do
2959 { { ac_try="$ac_compiler $ac_option >&5"
2960 case "(($ac_try" in
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2963 esac
2964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2965 $as_echo "$ac_try_echo"; } >&5
2966 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2967 ac_status=$?
2968 if test -s conftest.err; then
2969 sed '10a\
2970 ... rest of stderr output deleted ...
2971 10q' conftest.err >conftest.er1
2972 cat conftest.er1 >&5
2973 fi
2974 rm -f conftest.er1 conftest.err
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; }
2977 done
2978
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2981
2982 int
2983 main ()
2984 {
2985
2986 ;
2987 return 0;
2988 }
2989 _ACEOF
2990 ac_clean_files_save=$ac_clean_files
2991 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2992 # Try to create an executable without -o first, disregard a.out.
2993 # It will help us diagnose broken compilers, and finding out an intuition
2994 # of exeext.
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2996 $as_echo_n "checking whether the C compiler works... " >&6; }
2997 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2998
2999 # The possible output files:
3000 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3001
3002 ac_rmfiles=
3003 for ac_file in $ac_files
3004 do
3005 case $ac_file in
3006 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3007 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3008 esac
3009 done
3010 rm -f $ac_rmfiles
3011
3012 if { { ac_try="$ac_link_default"
3013 case "(($ac_try" in
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3016 esac
3017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3018 $as_echo "$ac_try_echo"; } >&5
3019 (eval "$ac_link_default") 2>&5
3020 ac_status=$?
3021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3022 test $ac_status = 0; }; then :
3023 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3024 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3025 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3026 # so that the user can short-circuit this test for compilers unknown to
3027 # Autoconf.
3028 for ac_file in $ac_files ''
3029 do
3030 test -f "$ac_file" || continue
3031 case $ac_file in
3032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3033 ;;
3034 [ab].out )
3035 # We found the default executable, but exeext='' is most
3036 # certainly right.
3037 break;;
3038 *.* )
3039 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3040 then :; else
3041 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3042 fi
3043 # We set ac_cv_exeext here because the later test for it is not
3044 # safe: cross compilers may not add the suffix if given an `-o'
3045 # argument, so we may need to know it at that point already.
3046 # Even if this section looks crufty: it has the advantage of
3047 # actually working.
3048 break;;
3049 * )
3050 break;;
3051 esac
3052 done
3053 test "$ac_cv_exeext" = no && ac_cv_exeext=
3054
3055 else
3056 ac_file=''
3057 fi
3058 if test -z "$ac_file"; then :
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3061 $as_echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.$ac_ext >&5
3063
3064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3066 { as_fn_set_status 77
3067 as_fn_error "C compiler cannot create executables
3068 See \`config.log' for more details." "$LINENO" 5; }; }
3069 else
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3071 $as_echo "yes" >&6; }
3072 fi
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3074 $as_echo_n "checking for C compiler default output file name... " >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3076 $as_echo "$ac_file" >&6; }
3077 ac_exeext=$ac_cv_exeext
3078
3079 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3080 ac_clean_files=$ac_clean_files_save
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3082 $as_echo_n "checking for suffix of executables... " >&6; }
3083 if { { ac_try="$ac_link"
3084 case "(($ac_try" in
3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3087 esac
3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_link") 2>&5
3091 ac_status=$?
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; }; then :
3094 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3095 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3096 # work properly (i.e., refer to `conftest.exe'), while it won't with
3097 # `rm'.
3098 for ac_file in conftest.exe conftest conftest.*; do
3099 test -f "$ac_file" || continue
3100 case $ac_file in
3101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3102 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3103 break;;
3104 * ) break;;
3105 esac
3106 done
3107 else
3108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3110 as_fn_error "cannot compute suffix of executables: cannot compile and link
3111 See \`config.log' for more details." "$LINENO" 5; }
3112 fi
3113 rm -f conftest conftest$ac_cv_exeext
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3115 $as_echo "$ac_cv_exeext" >&6; }
3116
3117 rm -f conftest.$ac_ext
3118 EXEEXT=$ac_cv_exeext
3119 ac_exeext=$EXEEXT
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3122 #include <stdio.h>
3123 int
3124 main ()
3125 {
3126 FILE *f = fopen ("conftest.out", "w");
3127 return ferror (f) || fclose (f) != 0;
3128
3129 ;
3130 return 0;
3131 }
3132 _ACEOF
3133 ac_clean_files="$ac_clean_files conftest.out"
3134 # Check that the compiler produces executables we can run. If not, either
3135 # the compiler is broken, or we cross compile.
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3137 $as_echo_n "checking whether we are cross compiling... " >&6; }
3138 if test "$cross_compiling" != yes; then
3139 { { ac_try="$ac_link"
3140 case "(($ac_try" in
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3143 esac
3144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145 $as_echo "$ac_try_echo"; } >&5
3146 (eval "$ac_link") 2>&5
3147 ac_status=$?
3148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3149 test $ac_status = 0; }
3150 if { ac_try='./conftest$ac_cv_exeext'
3151 { { case "(($ac_try" in
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3154 esac
3155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156 $as_echo "$ac_try_echo"; } >&5
3157 (eval "$ac_try") 2>&5
3158 ac_status=$?
3159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3160 test $ac_status = 0; }; }; then
3161 cross_compiling=no
3162 else
3163 if test "$cross_compiling" = maybe; then
3164 cross_compiling=yes
3165 else
3166 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3168 as_fn_error "cannot run C compiled programs.
3169 If you meant to cross compile, use \`--host'.
3170 See \`config.log' for more details." "$LINENO" 5; }
3171 fi
3172 fi
3173 fi
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3175 $as_echo "$cross_compiling" >&6; }
3176
3177 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3178 ac_clean_files=$ac_clean_files_save
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3180 $as_echo_n "checking for suffix of object files... " >&6; }
3181 if test "${ac_cv_objext+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3183 else
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3186
3187 int
3188 main ()
3189 {
3190
3191 ;
3192 return 0;
3193 }
3194 _ACEOF
3195 rm -f conftest.o conftest.obj
3196 if { { ac_try="$ac_compile"
3197 case "(($ac_try" in
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3200 esac
3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_compile") 2>&5
3204 ac_status=$?
3205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3206 test $ac_status = 0; }; then :
3207 for ac_file in conftest.o conftest.obj conftest.*; do
3208 test -f "$ac_file" || continue;
3209 case $ac_file in
3210 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3211 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3212 break;;
3213 esac
3214 done
3215 else
3216 $as_echo "$as_me: failed program was:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3218
3219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3221 as_fn_error "cannot compute suffix of object files: cannot compile
3222 See \`config.log' for more details." "$LINENO" 5; }
3223 fi
3224 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3225 fi
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3227 $as_echo "$ac_cv_objext" >&6; }
3228 OBJEXT=$ac_cv_objext
3229 ac_objext=$OBJEXT
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3231 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3232 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3233 $as_echo_n "(cached) " >&6
3234 else
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3237
3238 int
3239 main ()
3240 {
3241 #ifndef __GNUC__
3242 choke me
3243 #endif
3244
3245 ;
3246 return 0;
3247 }
3248 _ACEOF
3249 if ac_fn_c_try_compile "$LINENO"; then :
3250 ac_compiler_gnu=yes
3251 else
3252 ac_compiler_gnu=no
3253 fi
3254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3255 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3256
3257 fi
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3259 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3260 if test $ac_compiler_gnu = yes; then
3261 GCC=yes
3262 else
3263 GCC=
3264 fi
3265 ac_test_CFLAGS=${CFLAGS+set}
3266 ac_save_CFLAGS=$CFLAGS
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3268 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3269 if test "${ac_cv_prog_cc_g+set}" = set; then :
3270 $as_echo_n "(cached) " >&6
3271 else
3272 ac_save_c_werror_flag=$ac_c_werror_flag
3273 ac_c_werror_flag=yes
3274 ac_cv_prog_cc_g=no
3275 CFLAGS="-g"
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3278
3279 int
3280 main ()
3281 {
3282
3283 ;
3284 return 0;
3285 }
3286 _ACEOF
3287 if ac_fn_c_try_compile "$LINENO"; then :
3288 ac_cv_prog_cc_g=yes
3289 else
3290 CFLAGS=""
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3293
3294 int
3295 main ()
3296 {
3297
3298 ;
3299 return 0;
3300 }
3301 _ACEOF
3302 if ac_fn_c_try_compile "$LINENO"; then :
3303
3304 else
3305 ac_c_werror_flag=$ac_save_c_werror_flag
3306 CFLAGS="-g"
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3309
3310 int
3311 main ()
3312 {
3313
3314 ;
3315 return 0;
3316 }
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 ac_cv_prog_cc_g=yes
3320 fi
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 fi
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 fi
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 ac_c_werror_flag=$ac_save_c_werror_flag
3327 fi
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3329 $as_echo "$ac_cv_prog_cc_g" >&6; }
3330 if test "$ac_test_CFLAGS" = set; then
3331 CFLAGS=$ac_save_CFLAGS
3332 elif test $ac_cv_prog_cc_g = yes; then
3333 if test "$GCC" = yes; then
3334 CFLAGS="-g -O2"
3335 else
3336 CFLAGS="-g"
3337 fi
3338 else
3339 if test "$GCC" = yes; then
3340 CFLAGS="-O2"
3341 else
3342 CFLAGS=
3343 fi
3344 fi
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3346 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3347 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 ac_cv_prog_cc_c89=no
3351 ac_save_CC=$CC
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3354 #include <stdarg.h>
3355 #include <stdio.h>
3356 #include <sys/types.h>
3357 #include <sys/stat.h>
3358 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3359 struct buf { int x; };
3360 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3361 static char *e (p, i)
3362 char **p;
3363 int i;
3364 {
3365 return p[i];
3366 }
3367 static char *f (char * (*g) (char **, int), char **p, ...)
3368 {
3369 char *s;
3370 va_list v;
3371 va_start (v,p);
3372 s = g (p, va_arg (v,int));
3373 va_end (v);
3374 return s;
3375 }
3376
3377 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3378 function prototypes and stuff, but not '\xHH' hex character constants.
3379 These don't provoke an error unfortunately, instead are silently treated
3380 as 'x'. The following induces an error, until -std is added to get
3381 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3382 array size at least. It's necessary to write '\x00'==0 to get something
3383 that's true only with -std. */
3384 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3385
3386 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3387 inside strings and character constants. */
3388 #define FOO(x) 'x'
3389 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3390
3391 int test (int i, double x);
3392 struct s1 {int (*f) (int a);};
3393 struct s2 {int (*f) (double a);};
3394 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3395 int argc;
3396 char **argv;
3397 int
3398 main ()
3399 {
3400 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3401 ;
3402 return 0;
3403 }
3404 _ACEOF
3405 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3406 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3407 do
3408 CC="$ac_save_CC $ac_arg"
3409 if ac_fn_c_try_compile "$LINENO"; then :
3410 ac_cv_prog_cc_c89=$ac_arg
3411 fi
3412 rm -f core conftest.err conftest.$ac_objext
3413 test "x$ac_cv_prog_cc_c89" != "xno" && break
3414 done
3415 rm -f conftest.$ac_ext
3416 CC=$ac_save_CC
3417
3418 fi
3419 # AC_CACHE_VAL
3420 case "x$ac_cv_prog_cc_c89" in
3421 x)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3423 $as_echo "none needed" >&6; } ;;
3424 xno)
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3426 $as_echo "unsupported" >&6; } ;;
3427 *)
3428 CC="$CC $ac_cv_prog_cc_c89"
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3430 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3431 esac
3432 if test "x$ac_cv_prog_cc_c89" != xno; then :
3433
3434 fi
3435
3436 ac_ext=c
3437 ac_cpp='$CPP $CPPFLAGS'
3438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3441 DEPDIR="${am__leading_dot}deps"
3442
3443 ac_config_commands="$ac_config_commands depfiles"
3444
3445
3446 am_make=${MAKE-make}
3447 cat > confinc << 'END'
3448 am__doit:
3449 @echo this is the am__doit target
3450 .PHONY: am__doit
3451 END
3452 # If we don't find an include directive, just comment out the code.
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3454 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3455 am__include="#"
3456 am__quote=
3457 _am_result=none
3458 # First try GNU make style include.
3459 echo "include confinc" > confmf
3460 # Ignore all kinds of additional output from `make'.
3461 case `$am_make -s -f confmf 2> /dev/null` in #(
3462 *the\ am__doit\ target*)
3463 am__include=include
3464 am__quote=
3465 _am_result=GNU
3466 ;;
3467 esac
3468 # Now try BSD make style include.
3469 if test "$am__include" = "#"; then
3470 echo '.include "confinc"' > confmf
3471 case `$am_make -s -f confmf 2> /dev/null` in #(
3472 *the\ am__doit\ target*)
3473 am__include=.include
3474 am__quote="\""
3475 _am_result=BSD
3476 ;;
3477 esac
3478 fi
3479
3480
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3482 $as_echo "$_am_result" >&6; }
3483 rm -f confinc confmf
3484
3485 # Check whether --enable-dependency-tracking was given.
3486 if test "${enable_dependency_tracking+set}" = set; then :
3487 enableval=$enable_dependency_tracking;
3488 fi
3489
3490 if test "x$enable_dependency_tracking" != xno; then
3491 am_depcomp="$ac_aux_dir/depcomp"
3492 AMDEPBACKSLASH='\'
3493 fi
3494 if test "x$enable_dependency_tracking" != xno; then
3495 AMDEP_TRUE=
3496 AMDEP_FALSE='#'
3497 else
3498 AMDEP_TRUE='#'
3499 AMDEP_FALSE=
3500 fi
3501
3502
3503
3504 depcc="$CC" am_compiler_list=
3505
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3507 $as_echo_n "checking dependency style of $depcc... " >&6; }
3508 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3509 $as_echo_n "(cached) " >&6
3510 else
3511 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3512 # We make a subdir and do the tests there. Otherwise we can end up
3513 # making bogus files that we don't know about and never remove. For
3514 # instance it was reported that on HP-UX the gcc test will end up
3515 # making a dummy file named `D' -- because `-MD' means `put the output
3516 # in D'.
3517 mkdir conftest.dir
3518 # Copy depcomp to subdir because otherwise we won't find it if we're
3519 # using a relative directory.
3520 cp "$am_depcomp" conftest.dir
3521 cd conftest.dir
3522 # We will build objects and dependencies in a subdirectory because
3523 # it helps to detect inapplicable dependency modes. For instance
3524 # both Tru64's cc and ICC support -MD to output dependencies as a
3525 # side effect of compilation, but ICC will put the dependencies in
3526 # the current directory while Tru64 will put them in the object
3527 # directory.
3528 mkdir sub
3529
3530 am_cv_CC_dependencies_compiler_type=none
3531 if test "$am_compiler_list" = ""; then
3532 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3533 fi
3534 am__universal=false
3535 case " $depcc " in #(
3536 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3537 esac
3538
3539 for depmode in $am_compiler_list; do
3540 # Setup a source with many dependencies, because some compilers
3541 # like to wrap large dependency lists on column 80 (with \), and
3542 # we should not choose a depcomp mode which is confused by this.
3543 #
3544 # We need to recreate these files for each test, as the compiler may
3545 # overwrite some of them when testing with obscure command lines.
3546 # This happens at least with the AIX C compiler.
3547 : > sub/conftest.c
3548 for i in 1 2 3 4 5 6; do
3549 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3550 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3551 # Solaris 8's {/usr,}/bin/sh.
3552 touch sub/conftst$i.h
3553 done
3554 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3555
3556 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3557 # mode. It turns out that the SunPro C++ compiler does not properly
3558 # handle `-M -o', and we need to detect this. Also, some Intel
3559 # versions had trouble with output in subdirs
3560 am__obj=sub/conftest.${OBJEXT-o}
3561 am__minus_obj="-o $am__obj"
3562 case $depmode in
3563 gcc)
3564 # This depmode causes a compiler race in universal mode.
3565 test "$am__universal" = false || continue
3566 ;;
3567 nosideeffect)
3568 # after this tag, mechanisms are not by side-effect, so they'll
3569 # only be used when explicitly requested
3570 if test "x$enable_dependency_tracking" = xyes; then
3571 continue
3572 else
3573 break
3574 fi
3575 ;;
3576 msvisualcpp | msvcmsys)
3577 # This compiler won't grok `-c -o', but also, the minuso test has
3578 # not run yet. These depmodes are late enough in the game, and
3579 # so weak that their functioning should not be impacted.
3580 am__obj=conftest.${OBJEXT-o}
3581 am__minus_obj=
3582 ;;
3583 none) break ;;
3584 esac
3585 if depmode=$depmode \
3586 source=sub/conftest.c object=$am__obj \
3587 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3588 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3589 >/dev/null 2>conftest.err &&
3590 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3591 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3592 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3593 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3594 # icc doesn't choke on unknown options, it will just issue warnings
3595 # or remarks (even with -Werror). So we grep stderr for any message
3596 # that says an option was ignored or not supported.
3597 # When given -MP, icc 7.0 and 7.1 complain thusly:
3598 # icc: Command line warning: ignoring option '-M'; no argument required
3599 # The diagnosis changed in icc 8.0:
3600 # icc: Command line remark: option '-MP' not supported
3601 if (grep 'ignoring option' conftest.err ||
3602 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3603 am_cv_CC_dependencies_compiler_type=$depmode
3604 break
3605 fi
3606 fi
3607 done
3608
3609 cd ..
3610 rm -rf conftest.dir
3611 else
3612 am_cv_CC_dependencies_compiler_type=none
3613 fi
3614
3615 fi
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3617 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3618 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3619
3620 if
3621 test "x$enable_dependency_tracking" != xno \
3622 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3623 am__fastdepCC_TRUE=
3624 am__fastdepCC_FALSE='#'
3625 else
3626 am__fastdepCC_TRUE='#'
3627 am__fastdepCC_FALSE=
3628 fi
3629
3630
3631
3632
3633 ac_ext=c
3634 ac_cpp='$CPP $CPPFLAGS'
3635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3639 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3640 # On Suns, sometimes $CPP names a directory.
3641 if test -n "$CPP" && test -d "$CPP"; then
3642 CPP=
3643 fi
3644 if test -z "$CPP"; then
3645 if test "${ac_cv_prog_CPP+set}" = set; then :
3646 $as_echo_n "(cached) " >&6
3647 else
3648 # Double quotes because CPP needs to be expanded
3649 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3650 do
3651 ac_preproc_ok=false
3652 for ac_c_preproc_warn_flag in '' yes
3653 do
3654 # Use a header file that comes with gcc, so configuring glibc
3655 # with a fresh cross-compiler works.
3656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3657 # <limits.h> exists even on freestanding compilers.
3658 # On the NeXT, cc -E runs the code through the compiler's parser,
3659 # not just through cpp. "Syntax error" is here to catch this case.
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3662 #ifdef __STDC__
3663 # include <limits.h>
3664 #else
3665 # include <assert.h>
3666 #endif
3667 Syntax error
3668 _ACEOF
3669 if ac_fn_c_try_cpp "$LINENO"; then :
3670
3671 else
3672 # Broken: fails on valid input.
3673 continue
3674 fi
3675 rm -f conftest.err conftest.$ac_ext
3676
3677 # OK, works on sane cases. Now check whether nonexistent headers
3678 # can be detected and how.
3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3681 #include <ac_nonexistent.h>
3682 _ACEOF
3683 if ac_fn_c_try_cpp "$LINENO"; then :
3684 # Broken: success on invalid input.
3685 continue
3686 else
3687 # Passes both tests.
3688 ac_preproc_ok=:
3689 break
3690 fi
3691 rm -f conftest.err conftest.$ac_ext
3692
3693 done
3694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3695 rm -f conftest.err conftest.$ac_ext
3696 if $ac_preproc_ok; then :
3697 break
3698 fi
3699
3700 done
3701 ac_cv_prog_CPP=$CPP
3702
3703 fi
3704 CPP=$ac_cv_prog_CPP
3705 else
3706 ac_cv_prog_CPP=$CPP
3707 fi
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3709 $as_echo "$CPP" >&6; }
3710 ac_preproc_ok=false
3711 for ac_c_preproc_warn_flag in '' yes
3712 do
3713 # Use a header file that comes with gcc, so configuring glibc
3714 # with a fresh cross-compiler works.
3715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3716 # <limits.h> exists even on freestanding compilers.
3717 # On the NeXT, cc -E runs the code through the compiler's parser,
3718 # not just through cpp. "Syntax error" is here to catch this case.
3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3721 #ifdef __STDC__
3722 # include <limits.h>
3723 #else
3724 # include <assert.h>
3725 #endif
3726 Syntax error
3727 _ACEOF
3728 if ac_fn_c_try_cpp "$LINENO"; then :
3729
3730 else
3731 # Broken: fails on valid input.
3732 continue
3733 fi
3734 rm -f conftest.err conftest.$ac_ext
3735
3736 # OK, works on sane cases. Now check whether nonexistent headers
3737 # can be detected and how.
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3740 #include <ac_nonexistent.h>
3741 _ACEOF
3742 if ac_fn_c_try_cpp "$LINENO"; then :
3743 # Broken: success on invalid input.
3744 continue
3745 else
3746 # Passes both tests.
3747 ac_preproc_ok=:
3748 break
3749 fi
3750 rm -f conftest.err conftest.$ac_ext
3751
3752 done
3753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3754 rm -f conftest.err conftest.$ac_ext
3755 if $ac_preproc_ok; then :
3756
3757 else
3758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3760 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3761 See \`config.log' for more details." "$LINENO" 5; }
3762 fi
3763
3764 ac_ext=c
3765 ac_cpp='$CPP $CPPFLAGS'
3766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3769
3770
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3772 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3773 if test "${ac_cv_path_GREP+set}" = set; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test -z "$GREP"; then
3777 ac_path_GREP_found=false
3778 # Loop through the user's path and test for each of PROGNAME-LIST
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3781 do
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_prog in grep ggrep; do
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3787 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3788 # Check for GNU ac_path_GREP and select it if it is found.
3789 # Check for GNU $ac_path_GREP
3790 case `"$ac_path_GREP" --version 2>&1` in
3791 *GNU*)
3792 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3793 *)
3794 ac_count=0
3795 $as_echo_n 0123456789 >"conftest.in"
3796 while :
3797 do
3798 cat "conftest.in" "conftest.in" >"conftest.tmp"
3799 mv "conftest.tmp" "conftest.in"
3800 cp "conftest.in" "conftest.nl"
3801 $as_echo 'GREP' >> "conftest.nl"
3802 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3803 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3804 as_fn_arith $ac_count + 1 && ac_count=$as_val
3805 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3806 # Best one so far, save it but keep looking for a better one
3807 ac_cv_path_GREP="$ac_path_GREP"
3808 ac_path_GREP_max=$ac_count
3809 fi
3810 # 10*(2^10) chars as input seems more than enough
3811 test $ac_count -gt 10 && break
3812 done
3813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3814 esac
3815
3816 $ac_path_GREP_found && break 3
3817 done
3818 done
3819 done
3820 IFS=$as_save_IFS
3821 if test -z "$ac_cv_path_GREP"; then
3822 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3823 fi
3824 else
3825 ac_cv_path_GREP=$GREP
3826 fi
3827
3828 fi
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3830 $as_echo "$ac_cv_path_GREP" >&6; }
3831 GREP="$ac_cv_path_GREP"
3832
3833
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3835 $as_echo_n "checking for egrep... " >&6; }
3836 if test "${ac_cv_path_EGREP+set}" = set; then :
3837 $as_echo_n "(cached) " >&6
3838 else
3839 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3840 then ac_cv_path_EGREP="$GREP -E"
3841 else
3842 if test -z "$EGREP"; then
3843 ac_path_EGREP_found=false
3844 # Loop through the user's path and test for each of PROGNAME-LIST
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3847 do
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for ac_prog in egrep; do
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3853 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3854 # Check for GNU ac_path_EGREP and select it if it is found.
3855 # Check for GNU $ac_path_EGREP
3856 case `"$ac_path_EGREP" --version 2>&1` in
3857 *GNU*)
3858 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3859 *)
3860 ac_count=0
3861 $as_echo_n 0123456789 >"conftest.in"
3862 while :
3863 do
3864 cat "conftest.in" "conftest.in" >"conftest.tmp"
3865 mv "conftest.tmp" "conftest.in"
3866 cp "conftest.in" "conftest.nl"
3867 $as_echo 'EGREP' >> "conftest.nl"
3868 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3869 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3870 as_fn_arith $ac_count + 1 && ac_count=$as_val
3871 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3872 # Best one so far, save it but keep looking for a better one
3873 ac_cv_path_EGREP="$ac_path_EGREP"
3874 ac_path_EGREP_max=$ac_count
3875 fi
3876 # 10*(2^10) chars as input seems more than enough
3877 test $ac_count -gt 10 && break
3878 done
3879 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3880 esac
3881
3882 $ac_path_EGREP_found && break 3
3883 done
3884 done
3885 done
3886 IFS=$as_save_IFS
3887 if test -z "$ac_cv_path_EGREP"; then
3888 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3889 fi
3890 else
3891 ac_cv_path_EGREP=$EGREP
3892 fi
3893
3894 fi
3895 fi
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3897 $as_echo "$ac_cv_path_EGREP" >&6; }
3898 EGREP="$ac_cv_path_EGREP"
3899
3900
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3902 $as_echo_n "checking for ANSI C header files... " >&6; }
3903 if test "${ac_cv_header_stdc+set}" = set; then :
3904 $as_echo_n "(cached) " >&6
3905 else
3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 /* end confdefs.h. */
3908 #include <stdlib.h>
3909 #include <stdarg.h>
3910 #include <string.h>
3911 #include <float.h>
3912
3913 int
3914 main ()
3915 {
3916
3917 ;
3918 return 0;
3919 }
3920 _ACEOF
3921 if ac_fn_c_try_compile "$LINENO"; then :
3922 ac_cv_header_stdc=yes
3923 else
3924 ac_cv_header_stdc=no
3925 fi
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927
3928 if test $ac_cv_header_stdc = yes; then
3929 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931 /* end confdefs.h. */
3932 #include <string.h>
3933
3934 _ACEOF
3935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3936 $EGREP "memchr" >/dev/null 2>&1; then :
3937
3938 else
3939 ac_cv_header_stdc=no
3940 fi
3941 rm -f conftest*
3942
3943 fi
3944
3945 if test $ac_cv_header_stdc = yes; then
3946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3948 /* end confdefs.h. */
3949 #include <stdlib.h>
3950
3951 _ACEOF
3952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3953 $EGREP "free" >/dev/null 2>&1; then :
3954
3955 else
3956 ac_cv_header_stdc=no
3957 fi
3958 rm -f conftest*
3959
3960 fi
3961
3962 if test $ac_cv_header_stdc = yes; then
3963 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3964 if test "$cross_compiling" = yes; then :
3965 :
3966 else
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3969 #include <ctype.h>
3970 #include <stdlib.h>
3971 #if ((' ' & 0x0FF) == 0x020)
3972 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3973 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3974 #else
3975 # define ISLOWER(c) \
3976 (('a' <= (c) && (c) <= 'i') \
3977 || ('j' <= (c) && (c) <= 'r') \
3978 || ('s' <= (c) && (c) <= 'z'))
3979 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3980 #endif
3981
3982 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3983 int
3984 main ()
3985 {
3986 int i;
3987 for (i = 0; i < 256; i++)
3988 if (XOR (islower (i), ISLOWER (i))
3989 || toupper (i) != TOUPPER (i))
3990 return 2;
3991 return 0;
3992 }
3993 _ACEOF
3994 if ac_fn_c_try_run "$LINENO"; then :
3995
3996 else
3997 ac_cv_header_stdc=no
3998 fi
3999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4000 conftest.$ac_objext conftest.beam conftest.$ac_ext
4001 fi
4002
4003 fi
4004 fi
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4006 $as_echo "$ac_cv_header_stdc" >&6; }
4007 if test $ac_cv_header_stdc = yes; then
4008
4009 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4010
4011 fi
4012
4013
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4015 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4016 if test "${ac_cv_c_const+set}" = set; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4021
4022 int
4023 main ()
4024 {
4025 /* FIXME: Include the comments suggested by Paul. */
4026 #ifndef __cplusplus
4027 /* Ultrix mips cc rejects this. */
4028 typedef int charset[2];
4029 const charset cs;
4030 /* SunOS 4.1.1 cc rejects this. */
4031 char const *const *pcpcc;
4032 char **ppc;
4033 /* NEC SVR4.0.2 mips cc rejects this. */
4034 struct point {int x, y;};
4035 static struct point const zero = {0,0};
4036 /* AIX XL C 1.02.0.0 rejects this.
4037 It does not let you subtract one const X* pointer from another in
4038 an arm of an if-expression whose if-part is not a constant
4039 expression */
4040 const char *g = "string";
4041 pcpcc = &g + (g ? g-g : 0);
4042 /* HPUX 7.0 cc rejects these. */
4043 ++pcpcc;
4044 ppc = (char**) pcpcc;
4045 pcpcc = (char const *const *) ppc;
4046 { /* SCO 3.2v4 cc rejects this. */
4047 char *t;
4048 char const *s = 0 ? (char *) 0 : (char const *) 0;
4049
4050 *t++ = 0;
4051 if (s) return 0;
4052 }
4053 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4054 int x[] = {25, 17};
4055 const int *foo = &x[0];
4056 ++foo;
4057 }
4058 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4059 typedef const int *iptr;
4060 iptr p = 0;
4061 ++p;
4062 }
4063 { /* AIX XL C 1.02.0.0 rejects this saying
4064 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4065 struct s { int j; const int *ap[3]; };
4066 struct s *b; b->j = 5;
4067 }
4068 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4069 const int foo = 10;
4070 if (!foo) return 0;
4071 }
4072 return !cs[0] && !zero.x;
4073 #endif
4074
4075 ;
4076 return 0;
4077 }
4078 _ACEOF
4079 if ac_fn_c_try_compile "$LINENO"; then :
4080 ac_cv_c_const=yes
4081 else
4082 ac_cv_c_const=no
4083 fi
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 fi
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4087 $as_echo "$ac_cv_c_const" >&6; }
4088 if test $ac_cv_c_const = no; then
4089
4090 $as_echo "#define const /**/" >>confdefs.h
4091
4092 fi
4093
4094
4095 for ac_prog in flex lex
4096 do
4097 # Extract the first word of "$ac_prog", so it can be a program name with args.
4098 set dummy $ac_prog; ac_word=$2
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4100 $as_echo_n "checking for $ac_word... " >&6; }
4101 if test "${ac_cv_prog_LEX+set}" = set; then :
4102 $as_echo_n "(cached) " >&6
4103 else
4104 if test -n "$LEX"; then
4105 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4106 else
4107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4108 for as_dir in $PATH
4109 do
4110 IFS=$as_save_IFS
4111 test -z "$as_dir" && as_dir=.
4112 for ac_exec_ext in '' $ac_executable_extensions; do
4113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4114 ac_cv_prog_LEX="$ac_prog"
4115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 break 2
4117 fi
4118 done
4119 done
4120 IFS=$as_save_IFS
4121
4122 fi
4123 fi
4124 LEX=$ac_cv_prog_LEX
4125 if test -n "$LEX"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4127 $as_echo "$LEX" >&6; }
4128 else
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4131 fi
4132
4133
4134 test -n "$LEX" && break
4135 done
4136 test -n "$LEX" || LEX=":"
4137
4138 if test "x$LEX" != "x:"; then
4139 cat >conftest.l <<_ACEOF
4140 %%
4141 a { ECHO; }
4142 b { REJECT; }
4143 c { yymore (); }
4144 d { yyless (1); }
4145 e { yyless (input () != 0); }
4146 f { unput (yytext[0]); }
4147 . { BEGIN INITIAL; }
4148 %%
4149 #ifdef YYTEXT_POINTER
4150 extern char *yytext;
4151 #endif
4152 int
4153 main (void)
4154 {
4155 return ! yylex () + ! yywrap ();
4156 }
4157 _ACEOF
4158 { { ac_try="$LEX conftest.l"
4159 case "(($ac_try" in
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4162 esac
4163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4164 $as_echo "$ac_try_echo"; } >&5
4165 (eval "$LEX conftest.l") 2>&5
4166 ac_status=$?
4167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4168 test $ac_status = 0; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4170 $as_echo_n "checking lex output file root... " >&6; }
4171 if test "${ac_cv_prog_lex_root+set}" = set; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174
4175 if test -f lex.yy.c; then
4176 ac_cv_prog_lex_root=lex.yy
4177 elif test -f lexyy.c; then
4178 ac_cv_prog_lex_root=lexyy
4179 else
4180 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
4181 fi
4182 fi
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4184 $as_echo "$ac_cv_prog_lex_root" >&6; }
4185 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4186
4187 if test -z "${LEXLIB+set}"; then
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4189 $as_echo_n "checking lex library... " >&6; }
4190 if test "${ac_cv_lib_lex+set}" = set; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193
4194 ac_save_LIBS=$LIBS
4195 ac_cv_lib_lex='none needed'
4196 for ac_lib in '' -lfl -ll; do
4197 LIBS="$ac_lib $ac_save_LIBS"
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4200 `cat $LEX_OUTPUT_ROOT.c`
4201 _ACEOF
4202 if ac_fn_c_try_link "$LINENO"; then :
4203 ac_cv_lib_lex=$ac_lib
4204 fi
4205 rm -f core conftest.err conftest.$ac_objext \
4206 conftest$ac_exeext conftest.$ac_ext
4207 test "$ac_cv_lib_lex" != 'none needed' && break
4208 done
4209 LIBS=$ac_save_LIBS
4210
4211 fi
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4213 $as_echo "$ac_cv_lib_lex" >&6; }
4214 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4215 fi
4216
4217
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4219 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4220 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
4221 $as_echo_n "(cached) " >&6
4222 else
4223 # POSIX says lex can declare yytext either as a pointer or an array; the
4224 # default is implementation-dependent. Figure out which it is, since
4225 # not all implementations provide the %pointer and %array declarations.
4226 ac_cv_prog_lex_yytext_pointer=no
4227 ac_save_LIBS=$LIBS
4228 LIBS="$LEXLIB $ac_save_LIBS"
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4231 #define YYTEXT_POINTER 1
4232 `cat $LEX_OUTPUT_ROOT.c`
4233 _ACEOF
4234 if ac_fn_c_try_link "$LINENO"; then :
4235 ac_cv_prog_lex_yytext_pointer=yes
4236 fi
4237 rm -f core conftest.err conftest.$ac_objext \
4238 conftest$ac_exeext conftest.$ac_ext
4239 LIBS=$ac_save_LIBS
4240
4241 fi
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4243 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4244 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4245
4246 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4247
4248 fi
4249 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4250
4251 fi
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4253 $as_echo_n "checking whether ln -s works... " >&6; }
4254 LN_S=$as_ln_s
4255 if test "$LN_S" = "ln -s"; then
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4257 $as_echo "yes" >&6; }
4258 else
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4260 $as_echo "no, using $LN_S" >&6; }
4261 fi
4262
4263 for ac_prog in 'bison -y' byacc
4264 do
4265 # Extract the first word of "$ac_prog", so it can be a program name with args.
4266 set dummy $ac_prog; ac_word=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if test "${ac_cv_prog_YACC+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4271 else
4272 if test -n "$YACC"; then
4273 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4274 else
4275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 for as_dir in $PATH
4277 do
4278 IFS=$as_save_IFS
4279 test -z "$as_dir" && as_dir=.
4280 for ac_exec_ext in '' $ac_executable_extensions; do
4281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4282 ac_cv_prog_YACC="$ac_prog"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 break 2
4285 fi
4286 done
4287 done
4288 IFS=$as_save_IFS
4289
4290 fi
4291 fi
4292 YACC=$ac_cv_prog_YACC
4293 if test -n "$YACC"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4295 $as_echo "$YACC" >&6; }
4296 else
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4299 fi
4300
4301
4302 test -n "$YACC" && break
4303 done
4304 test -n "$YACC" || YACC="yacc"
4305
4306
4307
4308 # Check whether --with-libesmtp was given.
4309 if test "${with_libesmtp+set}" = set; then :
4310 withval=$with_libesmtp;
4311 fi
4312
4313 if test "$with_libesmtp" != "no" -a "$with_libesmtp" != "yes"
4314 then
4315 CPPFLAGS="$CPPFLAGS -I$with_libesmtp/include"
4316 LDFLAGS="$LDFLAGS -L$with_libesmtp/lib"
4317 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4318 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4319 inttypes.h stdint.h unistd.h
4320 do :
4321 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4322 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4323 "
4324 eval as_val=\$$as_ac_Header
4325 if test "x$as_val" = x""yes; then :
4326 cat >>confdefs.h <<_ACEOF
4327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4328 _ACEOF
4329
4330 fi
4331
4332 done
4333
4334
4335 ac_fn_c_check_header_mongrel "$LINENO" "libesmtp.h" "ac_cv_header_libesmtp_h" "$ac_includes_default"
4336 if test "x$ac_cv_header_libesmtp_h" = x""yes; then :
4337
4338 else
4339 as_fn_error "libesmtp.h not found in $with_libesmtp" "$LINENO" 5
4340 fi
4341
4342
4343 fi
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libESMTP" >&5
4345 $as_echo_n "checking for libESMTP... " >&6; }
4346 if libesmtp-config --version > /dev/null 2>&1
4347 then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4349 $as_echo "yes" >&6; }
4350 CFLAGS="$CFLAGS `libesmtp-config --cflags`"
4351 LIBS="$LIBS `libesmtp-config --libs`"
4352 else
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4355 as_fn_error "libESMTP library not found" "$LINENO" 5
4356 fi
4357
4358 # Check for getopt_long support
4359 for ac_header in getopt.h
4360 do :
4361 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
4362 if test "x$ac_cv_header_getopt_h" = x""yes; then :
4363 cat >>confdefs.h <<_ACEOF
4364 #define HAVE_GETOPT_H 1
4365 _ACEOF
4366
4367 fi
4368
4369 done
4370
4371 for ac_func in getopt
4372 do :
4373 ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
4374 if test "x$ac_cv_func_getopt" = x""yes; then :
4375 cat >>confdefs.h <<_ACEOF
4376 #define HAVE_GETOPT 1
4377 _ACEOF
4378
4379 else
4380 # FreeBSD has a gnugetopt library for this
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt in -lgnugetopt" >&5
4382 $as_echo_n "checking for getopt in -lgnugetopt... " >&6; }
4383 if test "${ac_cv_lib_gnugetopt_getopt+set}" = set; then :
4384 $as_echo_n "(cached) " >&6
4385 else
4386 ac_check_lib_save_LIBS=$LIBS
4387 LIBS="-lgnugetopt $LIBS"
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4390
4391 /* Override any GCC internal prototype to avoid an error.
4392 Use char because int might match the return type of a GCC
4393 builtin and then its argument prototype would still apply. */
4394 #ifdef __cplusplus
4395 extern "C"
4396 #endif
4397 char getopt ();
4398 int
4399 main ()
4400 {
4401 return getopt ();
4402 ;
4403 return 0;
4404 }
4405 _ACEOF
4406 if ac_fn_c_try_link "$LINENO"; then :
4407 ac_cv_lib_gnugetopt_getopt=yes
4408 else
4409 ac_cv_lib_gnugetopt_getopt=no
4410 fi
4411 rm -f core conftest.err conftest.$ac_objext \
4412 conftest$ac_exeext conftest.$ac_ext
4413 LIBS=$ac_check_lib_save_LIBS
4414 fi
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnugetopt_getopt" >&5
4416 $as_echo "$ac_cv_lib_gnugetopt_getopt" >&6; }
4417 if test "x$ac_cv_lib_gnugetopt_getopt" = x""yes; then :
4418 $as_echo "#define HAVE_GETOPT 1" >>confdefs.h
4419
4420 fi
4421
4422 fi
4423 done
4424
4425
4426 for ac_func in getuid geteuid
4427 do :
4428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4430 eval as_val=\$$as_ac_var
4431 if test "x$as_val" = x""yes; then :
4432 cat >>confdefs.h <<_ACEOF
4433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4434 _ACEOF
4435
4436 fi
4437 done
4438
4439
4440 ac_config_files="$ac_config_files Makefile"
4441
4442 cat >confcache <<\_ACEOF
4443 # This file is a shell script that caches the results of configure
4444 # tests run on this system so they can be shared between configure
4445 # scripts and configure runs, see configure's option --config-cache.
4446 # It is not useful on other systems. If it contains results you don't
4447 # want to keep, you may remove or edit it.
4448 #
4449 # config.status only pays attention to the cache file if you give it
4450 # the --recheck option to rerun configure.
4451 #
4452 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4453 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4454 # following values.
4455
4456 _ACEOF
4457
4458 # The following way of writing the cache mishandles newlines in values,
4459 # but we know of no workaround that is simple, portable, and efficient.
4460 # So, we kill variables containing newlines.
4461 # Ultrix sh set writes to stderr and can't be redirected directly,
4462 # and sets the high bit in the cache file unless we assign to the vars.
4463 (
4464 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4465 eval ac_val=\$$ac_var
4466 case $ac_val in #(
4467 *${as_nl}*)
4468 case $ac_var in #(
4469 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4470 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4471 esac
4472 case $ac_var in #(
4473 _ | IFS | as_nl) ;; #(
4474 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4475 *) { eval $ac_var=; unset $ac_var;} ;;
4476 esac ;;
4477 esac
4478 done
4479
4480 (set) 2>&1 |
4481 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4482 *${as_nl}ac_space=\ *)
4483 # `set' does not quote correctly, so add quotes: double-quote
4484 # substitution turns \\\\ into \\, and sed turns \\ into \.
4485 sed -n \
4486 "s/'/'\\\\''/g;
4487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4488 ;; #(
4489 *)
4490 # `set' quotes correctly as required by POSIX, so do not add quotes.
4491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4492 ;;
4493 esac |
4494 sort
4495 ) |
4496 sed '
4497 /^ac_cv_env_/b end
4498 t clear
4499 :clear
4500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4501 t end
4502 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4503 :end' >>confcache
4504 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4505 if test -w "$cache_file"; then
4506 test "x$cache_file" != "x/dev/null" &&
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4508 $as_echo "$as_me: updating cache $cache_file" >&6;}
4509 cat confcache >$cache_file
4510 else
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4512 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4513 fi
4514 fi
4515 rm -f confcache
4516
4517 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4518 # Let make expand exec_prefix.
4519 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4520
4521 DEFS=-DHAVE_CONFIG_H
4522
4523 ac_libobjs=
4524 ac_ltlibobjs=
4525 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4526 # 1. Remove the extension, and $U if already installed.
4527 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4528 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4529 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4530 # will be set to the directory where LIBOBJS objects are built.
4531 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4532 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4533 done
4534 LIBOBJS=$ac_libobjs
4535
4536 LTLIBOBJS=$ac_ltlibobjs
4537
4538
4539 if test -n "$EXEEXT"; then
4540 am__EXEEXT_TRUE=
4541 am__EXEEXT_FALSE='#'
4542 else
4543 am__EXEEXT_TRUE='#'
4544 am__EXEEXT_FALSE=
4545 fi
4546
4547 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4548 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
4549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4550 fi
4551 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4552 as_fn_error "conditional \"AMDEP\" was never defined.
4553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4554 fi
4555 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4556 as_fn_error "conditional \"am__fastdepCC\" was never defined.
4557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4558 fi
4559
4560 : ${CONFIG_STATUS=./config.status}
4561 ac_write_fail=0
4562 ac_clean_files_save=$ac_clean_files
4563 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4565 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4566 as_write_fail=0
4567 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4568 #! $SHELL
4569 # Generated by $as_me.
4570 # Run this file to recreate the current configuration.
4571 # Compiler output produced by configure, useful for debugging
4572 # configure, is in config.log if it exists.
4573
4574 debug=false
4575 ac_cs_recheck=false
4576 ac_cs_silent=false
4577
4578 SHELL=\${CONFIG_SHELL-$SHELL}
4579 export SHELL
4580 _ASEOF
4581 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4582 ## -------------------- ##
4583 ## M4sh Initialization. ##
4584 ## -------------------- ##
4585
4586 # Be more Bourne compatible
4587 DUALCASE=1; export DUALCASE # for MKS sh
4588 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4589 emulate sh
4590 NULLCMD=:
4591 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4592 # is contrary to our usage. Disable this feature.
4593 alias -g '${1+"$@"}'='"$@"'
4594 setopt NO_GLOB_SUBST
4595 else
4596 case `(set -o) 2>/dev/null` in #(
4597 *posix*) :
4598 set -o posix ;; #(
4599 *) :
4600 ;;
4601 esac
4602 fi
4603
4604
4605 as_nl='
4606 '
4607 export as_nl
4608 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4609 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4610 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4611 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4612 # Prefer a ksh shell builtin over an external printf program on Solaris,
4613 # but without wasting forks for bash or zsh.
4614 if test -z "$BASH_VERSION$ZSH_VERSION" \
4615 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4616 as_echo='print -r --'
4617 as_echo_n='print -rn --'
4618 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4619 as_echo='printf %s\n'
4620 as_echo_n='printf %s'
4621 else
4622 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4623 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4624 as_echo_n='/usr/ucb/echo -n'
4625 else
4626 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4627 as_echo_n_body='eval
4628 arg=$1;
4629 case $arg in #(
4630 *"$as_nl"*)
4631 expr "X$arg" : "X\\(.*\\)$as_nl";
4632 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4633 esac;
4634 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4635 '
4636 export as_echo_n_body
4637 as_echo_n='sh -c $as_echo_n_body as_echo'
4638 fi
4639 export as_echo_body
4640 as_echo='sh -c $as_echo_body as_echo'
4641 fi
4642
4643 # The user is always right.
4644 if test "${PATH_SEPARATOR+set}" != set; then
4645 PATH_SEPARATOR=:
4646 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4647 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4648 PATH_SEPARATOR=';'
4649 }
4650 fi
4651
4652
4653 # IFS
4654 # We need space, tab and new line, in precisely that order. Quoting is
4655 # there to prevent editors from complaining about space-tab.
4656 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4657 # splitting by setting IFS to empty value.)
4658 IFS=" "" $as_nl"
4659
4660 # Find who we are. Look in the path if we contain no directory separator.
4661 case $0 in #((
4662 *[\\/]* ) as_myself=$0 ;;
4663 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH
4665 do
4666 IFS=$as_save_IFS
4667 test -z "$as_dir" && as_dir=.
4668 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4669 done
4670 IFS=$as_save_IFS
4671
4672 ;;
4673 esac
4674 # We did not find ourselves, most probably we were run as `sh COMMAND'
4675 # in which case we are not to be found in the path.
4676 if test "x$as_myself" = x; then
4677 as_myself=$0
4678 fi
4679 if test ! -f "$as_myself"; then
4680 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4681 exit 1
4682 fi
4683
4684 # Unset variables that we do not need and which cause bugs (e.g. in
4685 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4686 # suppresses any "Segmentation fault" message there. '((' could
4687 # trigger a bug in pdksh 5.2.14.
4688 for as_var in BASH_ENV ENV MAIL MAILPATH
4689 do eval test x\${$as_var+set} = xset \
4690 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4691 done
4692 PS1='$ '
4693 PS2='> '
4694 PS4='+ '
4695
4696 # NLS nuisances.
4697 LC_ALL=C
4698 export LC_ALL
4699 LANGUAGE=C
4700 export LANGUAGE
4701
4702 # CDPATH.
4703 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4704
4705
4706 # as_fn_error ERROR [LINENO LOG_FD]
4707 # ---------------------------------
4708 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4709 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4710 # script with status $?, using 1 if that was 0.
4711 as_fn_error ()
4712 {
4713 as_status=$?; test $as_status -eq 0 && as_status=1
4714 if test "$3"; then
4715 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4716 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4717 fi
4718 $as_echo "$as_me: error: $1" >&2
4719 as_fn_exit $as_status
4720 } # as_fn_error
4721
4722
4723 # as_fn_set_status STATUS
4724 # -----------------------
4725 # Set $? to STATUS, without forking.
4726 as_fn_set_status ()
4727 {
4728 return $1
4729 } # as_fn_set_status
4730
4731 # as_fn_exit STATUS
4732 # -----------------
4733 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4734 as_fn_exit ()
4735 {
4736 set +e
4737 as_fn_set_status $1
4738 exit $1
4739 } # as_fn_exit
4740
4741 # as_fn_unset VAR
4742 # ---------------
4743 # Portably unset VAR.
4744 as_fn_unset ()
4745 {
4746 { eval $1=; unset $1;}
4747 }
4748 as_unset=as_fn_unset
4749 # as_fn_append VAR VALUE
4750 # ----------------------
4751 # Append the text in VALUE to the end of the definition contained in VAR. Take
4752 # advantage of any shell optimizations that allow amortized linear growth over
4753 # repeated appends, instead of the typical quadratic growth present in naive
4754 # implementations.
4755 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4756 eval 'as_fn_append ()
4757 {
4758 eval $1+=\$2
4759 }'
4760 else
4761 as_fn_append ()
4762 {
4763 eval $1=\$$1\$2
4764 }
4765 fi # as_fn_append
4766
4767 # as_fn_arith ARG...
4768 # ------------------
4769 # Perform arithmetic evaluation on the ARGs, and store the result in the
4770 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4771 # must be portable across $(()) and expr.
4772 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4773 eval 'as_fn_arith ()
4774 {
4775 as_val=$(( $* ))
4776 }'
4777 else
4778 as_fn_arith ()
4779 {
4780 as_val=`expr "$@" || test $? -eq 1`
4781 }
4782 fi # as_fn_arith
4783
4784
4785 if expr a : '\(a\)' >/dev/null 2>&1 &&
4786 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4787 as_expr=expr
4788 else
4789 as_expr=false
4790 fi
4791
4792 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4793 as_basename=basename
4794 else
4795 as_basename=false
4796 fi
4797
4798 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4799 as_dirname=dirname
4800 else
4801 as_dirname=false
4802 fi
4803
4804 as_me=`$as_basename -- "$0" ||
4805 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4806 X"$0" : 'X\(//\)$' \| \
4807 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4808 $as_echo X/"$0" |
4809 sed '/^.*\/\([^/][^/]*\)\/*$/{
4810 s//\1/
4811 q
4812 }
4813 /^X\/\(\/\/\)$/{
4814 s//\1/
4815 q
4816 }
4817 /^X\/\(\/\).*/{
4818 s//\1/
4819 q
4820 }
4821 s/.*/./; q'`
4822
4823 # Avoid depending upon Character Ranges.
4824 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4825 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4826 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4827 as_cr_digits='0123456789'
4828 as_cr_alnum=$as_cr_Letters$as_cr_digits
4829
4830 ECHO_C= ECHO_N= ECHO_T=
4831 case `echo -n x` in #(((((
4832 -n*)
4833 case `echo 'xy\c'` in
4834 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4835 xy) ECHO_C='\c';;
4836 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4837 ECHO_T=' ';;
4838 esac;;
4839 *)
4840 ECHO_N='-n';;
4841 esac
4842
4843 rm -f conf$$ conf$$.exe conf$$.file
4844 if test -d conf$$.dir; then
4845 rm -f conf$$.dir/conf$$.file
4846 else
4847 rm -f conf$$.dir
4848 mkdir conf$$.dir 2>/dev/null
4849 fi
4850 if (echo >conf$$.file) 2>/dev/null; then
4851 if ln -s conf$$.file conf$$ 2>/dev/null; then
4852 as_ln_s='ln -s'
4853 # ... but there are two gotchas:
4854 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4855 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4856 # In both cases, we have to default to `cp -p'.
4857 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4858 as_ln_s='cp -p'
4859 elif ln conf$$.file conf$$ 2>/dev/null; then
4860 as_ln_s=ln
4861 else
4862 as_ln_s='cp -p'
4863 fi
4864 else
4865 as_ln_s='cp -p'
4866 fi
4867 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4868 rmdir conf$$.dir 2>/dev/null
4869
4870
4871 # as_fn_mkdir_p
4872 # -------------
4873 # Create "$as_dir" as a directory, including parents if necessary.
4874 as_fn_mkdir_p ()
4875 {
4876
4877 case $as_dir in #(
4878 -*) as_dir=./$as_dir;;
4879 esac
4880 test -d "$as_dir" || eval $as_mkdir_p || {
4881 as_dirs=
4882 while :; do
4883 case $as_dir in #(
4884 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4885 *) as_qdir=$as_dir;;
4886 esac
4887 as_dirs="'$as_qdir' $as_dirs"
4888 as_dir=`$as_dirname -- "$as_dir" ||
4889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4890 X"$as_dir" : 'X\(//\)[^/]' \| \
4891 X"$as_dir" : 'X\(//\)$' \| \
4892 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4893 $as_echo X"$as_dir" |
4894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4895 s//\1/
4896 q
4897 }
4898 /^X\(\/\/\)[^/].*/{
4899 s//\1/
4900 q
4901 }
4902 /^X\(\/\/\)$/{
4903 s//\1/
4904 q
4905 }
4906 /^X\(\/\).*/{
4907 s//\1/
4908 q
4909 }
4910 s/.*/./; q'`
4911 test -d "$as_dir" && break
4912 done
4913 test -z "$as_dirs" || eval "mkdir $as_dirs"
4914 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4915
4916
4917 } # as_fn_mkdir_p
4918 if mkdir -p . 2>/dev/null; then
4919 as_mkdir_p='mkdir -p "$as_dir"'
4920 else
4921 test -d ./-p && rmdir ./-p
4922 as_mkdir_p=false
4923 fi
4924
4925 if test -x / >/dev/null 2>&1; then
4926 as_test_x='test -x'
4927 else
4928 if ls -dL / >/dev/null 2>&1; then
4929 as_ls_L_option=L
4930 else
4931 as_ls_L_option=
4932 fi
4933 as_test_x='
4934 eval sh -c '\''
4935 if test -d "$1"; then
4936 test -d "$1/.";
4937 else
4938 case $1 in #(
4939 -*)set "./$1";;
4940 esac;
4941 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4942 ???[sx]*):;;*)false;;esac;fi
4943 '\'' sh
4944 '
4945 fi
4946 as_executable_p=$as_test_x
4947
4948 # Sed expression to map a string onto a valid CPP name.
4949 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4950
4951 # Sed expression to map a string onto a valid variable name.
4952 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4953
4954
4955 exec 6>&1
4956 ## ----------------------------------- ##
4957 ## Main body of $CONFIG_STATUS script. ##
4958 ## ----------------------------------- ##
4959 _ASEOF
4960 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4961
4962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4963 # Save the log message, to keep $0 and so on meaningful, and to
4964 # report actual input values of CONFIG_FILES etc. instead of their
4965 # values after options handling.
4966 ac_log="
4967 This file was extended by esmtp $as_me 1.2, which was
4968 generated by GNU Autoconf 2.65. Invocation command line was
4969
4970 CONFIG_FILES = $CONFIG_FILES
4971 CONFIG_HEADERS = $CONFIG_HEADERS
4972 CONFIG_LINKS = $CONFIG_LINKS
4973 CONFIG_COMMANDS = $CONFIG_COMMANDS
4974 $ $0 $@
4975
4976 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4977 "
4978
4979 _ACEOF
4980
4981 case $ac_config_files in *"
4982 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4983 esac
4984
4985 case $ac_config_headers in *"
4986 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4987 esac
4988
4989
4990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4991 # Files that config.status was made for.
4992 config_files="$ac_config_files"
4993 config_headers="$ac_config_headers"
4994 config_commands="$ac_config_commands"
4995
4996 _ACEOF
4997
4998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4999 ac_cs_usage="\
5000 \`$as_me' instantiates files and other configuration actions
5001 from templates according to the current configuration. Unless the files
5002 and actions are specified as TAGs, all are instantiated by default.
5003
5004 Usage: $0 [OPTION]... [TAG]...
5005
5006 -h, --help print this help, then exit
5007 -V, --version print version number and configuration settings, then exit
5008 --config print configuration, then exit
5009 -q, --quiet, --silent
5010 do not print progress messages
5011 -d, --debug don't remove temporary files
5012 --recheck update $as_me by reconfiguring in the same conditions
5013 --file=FILE[:TEMPLATE]
5014 instantiate the configuration file FILE
5015 --header=FILE[:TEMPLATE]
5016 instantiate the configuration header FILE
5017
5018 Configuration files:
5019 $config_files
5020
5021 Configuration headers:
5022 $config_headers
5023
5024 Configuration commands:
5025 $config_commands
5026
5027 Report bugs to the package provider."
5028
5029 _ACEOF
5030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5031 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5032 ac_cs_version="\\
5033 esmtp config.status 1.2
5034 configured by $0, generated by GNU Autoconf 2.65,
5035 with options \\"\$ac_cs_config\\"
5036
5037 Copyright (C) 2009 Free Software Foundation, Inc.
5038 This config.status script is free software; the Free Software Foundation
5039 gives unlimited permission to copy, distribute and modify it."
5040
5041 ac_pwd='$ac_pwd'
5042 srcdir='$srcdir'
5043 INSTALL='$INSTALL'
5044 MKDIR_P='$MKDIR_P'
5045 AWK='$AWK'
5046 test -n "\$AWK" || AWK=awk
5047 _ACEOF
5048
5049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5050 # The default lists apply if the user does not specify any file.
5051 ac_need_defaults=:
5052 while test $# != 0
5053 do
5054 case $1 in
5055 --*=*)
5056 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5057 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5058 ac_shift=:
5059 ;;
5060 *)
5061 ac_option=$1
5062 ac_optarg=$2
5063 ac_shift=shift
5064 ;;
5065 esac
5066
5067 case $ac_option in
5068 # Handling of the options.
5069 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5070 ac_cs_recheck=: ;;
5071 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5072 $as_echo "$ac_cs_version"; exit ;;
5073 --config | --confi | --conf | --con | --co | --c )
5074 $as_echo "$ac_cs_config"; exit ;;
5075 --debug | --debu | --deb | --de | --d | -d )
5076 debug=: ;;
5077 --file | --fil | --fi | --f )
5078 $ac_shift
5079 case $ac_optarg in
5080 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5081 esac
5082 as_fn_append CONFIG_FILES " '$ac_optarg'"
5083 ac_need_defaults=false;;
5084 --header | --heade | --head | --hea )
5085 $ac_shift
5086 case $ac_optarg in
5087 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5088 esac
5089 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5090 ac_need_defaults=false;;
5091 --he | --h)
5092 # Conflict between --help and --header
5093 as_fn_error "ambiguous option: \`$1'
5094 Try \`$0 --help' for more information.";;
5095 --help | --hel | -h )
5096 $as_echo "$ac_cs_usage"; exit ;;
5097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5098 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5099 ac_cs_silent=: ;;
5100
5101 # This is an error.
5102 -*) as_fn_error "unrecognized option: \`$1'
5103 Try \`$0 --help' for more information." ;;
5104
5105 *) as_fn_append ac_config_targets " $1"
5106 ac_need_defaults=false ;;
5107
5108 esac
5109 shift
5110 done
5111
5112 ac_configure_extra_args=
5113
5114 if $ac_cs_silent; then
5115 exec 6>/dev/null
5116 ac_configure_extra_args="$ac_configure_extra_args --silent"
5117 fi
5118
5119 _ACEOF
5120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5121 if \$ac_cs_recheck; then
5122 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5123 shift
5124 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5125 CONFIG_SHELL='$SHELL'
5126 export CONFIG_SHELL
5127 exec "\$@"
5128 fi
5129
5130 _ACEOF
5131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5132 exec 5>>config.log
5133 {
5134 echo
5135 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5136 ## Running $as_me. ##
5137 _ASBOX
5138 $as_echo "$ac_log"
5139 } >&5
5140
5141 _ACEOF
5142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5143 #
5144 # INIT-COMMANDS
5145 #
5146 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5147
5148 _ACEOF
5149
5150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5151
5152 # Handling of arguments.
5153 for ac_config_target in $ac_config_targets
5154 do
5155 case $ac_config_target in
5156 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5157 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5158 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5159
5160 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5161 esac
5162 done
5163
5164
5165 # If the user did not use the arguments to specify the items to instantiate,
5166 # then the envvar interface is used. Set only those that are not.
5167 # We use the long form for the default assignment because of an extremely
5168 # bizarre bug on SunOS 4.1.3.
5169 if $ac_need_defaults; then
5170 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5171 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5172 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5173 fi
5174
5175 # Have a temporary directory for convenience. Make it in the build tree
5176 # simply because there is no reason against having it here, and in addition,
5177 # creating and moving files from /tmp can sometimes cause problems.
5178 # Hook for its removal unless debugging.
5179 # Note that there is a small window in which the directory will not be cleaned:
5180 # after its creation but before its name has been assigned to `$tmp'.
5181 $debug ||
5182 {
5183 tmp=
5184 trap 'exit_status=$?
5185 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5186 ' 0
5187 trap 'as_fn_exit 1' 1 2 13 15
5188 }
5189 # Create a (secure) tmp directory for tmp files.
5190
5191 {
5192 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5193 test -n "$tmp" && test -d "$tmp"
5194 } ||
5195 {
5196 tmp=./conf$$-$RANDOM
5197 (umask 077 && mkdir "$tmp")
5198 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5199
5200 # Set up the scripts for CONFIG_FILES section.
5201 # No need to generate them if there are no CONFIG_FILES.
5202 # This happens for instance with `./config.status config.h'.
5203 if test -n "$CONFIG_FILES"; then
5204
5205
5206 ac_cr=`echo X | tr X '\015'`
5207 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5208 # But we know of no other shell where ac_cr would be empty at this
5209 # point, so we can use a bashism as a fallback.
5210 if test "x$ac_cr" = x; then
5211 eval ac_cr=\$\'\\r\'
5212 fi
5213 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5214 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5215 ac_cs_awk_cr='\r'
5216 else
5217 ac_cs_awk_cr=$ac_cr
5218 fi
5219
5220 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5221 _ACEOF
5222
5223
5224 {
5225 echo "cat >conf$$subs.awk <<_ACEOF" &&
5226 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5227 echo "_ACEOF"
5228 } >conf$$subs.sh ||
5229 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5230 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5231 ac_delim='%!_!# '
5232 for ac_last_try in false false false false false :; do
5233 . ./conf$$subs.sh ||
5234 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5235
5236 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5237 if test $ac_delim_n = $ac_delim_num; then
5238 break
5239 elif $ac_last_try; then
5240 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5241 else
5242 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5243 fi
5244 done
5245 rm -f conf$$subs.sh
5246
5247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5248 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5249 _ACEOF
5250 sed -n '
5251 h
5252 s/^/S["/; s/!.*/"]=/
5253 p
5254 g
5255 s/^[^!]*!//
5256 :repl
5257 t repl
5258 s/'"$ac_delim"'$//
5259 t delim
5260 :nl
5261 h
5262 s/\(.\{148\}\)..*/\1/
5263 t more1
5264 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5265 p
5266 n
5267 b repl
5268 :more1
5269 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5270 p
5271 g
5272 s/.\{148\}//
5273 t nl
5274 :delim
5275 h
5276 s/\(.\{148\}\)..*/\1/
5277 t more2
5278 s/["\\]/\\&/g; s/^/"/; s/$/"/
5279 p
5280 b
5281 :more2
5282 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5283 p
5284 g
5285 s/.\{148\}//
5286 t delim
5287 ' <conf$$subs.awk | sed '
5288 /^[^""]/{
5289 N
5290 s/\n//
5291 }
5292 ' >>$CONFIG_STATUS || ac_write_fail=1
5293 rm -f conf$$subs.awk
5294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5295 _ACAWK
5296 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5297 for (key in S) S_is_set[key] = 1
5298 FS = ""
5299
5300 }
5301 {
5302 line = $ 0
5303 nfields = split(line, field, "@")
5304 substed = 0
5305 len = length(field[1])
5306 for (i = 2; i < nfields; i++) {
5307 key = field[i]
5308 keylen = length(key)
5309 if (S_is_set[key]) {
5310 value = S[key]
5311 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5312 len += length(value) + length(field[++i])
5313 substed = 1
5314 } else
5315 len += 1 + keylen
5316 }
5317
5318 print line
5319 }
5320
5321 _ACAWK
5322 _ACEOF
5323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5324 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5325 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5326 else
5327 cat
5328 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5329 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5330 _ACEOF
5331
5332 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5333 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5334 # trailing colons and then remove the whole line if VPATH becomes empty
5335 # (actually we leave an empty line to preserve line numbers).
5336 if test "x$srcdir" = x.; then
5337 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5338 s/:*\$(srcdir):*/:/
5339 s/:*\${srcdir}:*/:/
5340 s/:*@srcdir@:*/:/
5341 s/^\([^=]*=[ ]*\):*/\1/
5342 s/:*$//
5343 s/^[^=]*=[ ]*$//
5344 }'
5345 fi
5346
5347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5348 fi # test -n "$CONFIG_FILES"
5349
5350 # Set up the scripts for CONFIG_HEADERS section.
5351 # No need to generate them if there are no CONFIG_HEADERS.
5352 # This happens for instance with `./config.status Makefile'.
5353 if test -n "$CONFIG_HEADERS"; then
5354 cat >"$tmp/defines.awk" <<\_ACAWK ||
5355 BEGIN {
5356 _ACEOF
5357
5358 # Transform confdefs.h into an awk script `defines.awk', embedded as
5359 # here-document in config.status, that substitutes the proper values into
5360 # config.h.in to produce config.h.
5361
5362 # Create a delimiter string that does not exist in confdefs.h, to ease
5363 # handling of long lines.
5364 ac_delim='%!_!# '
5365 for ac_last_try in false false :; do
5366 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5367 if test -z "$ac_t"; then
5368 break
5369 elif $ac_last_try; then
5370 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5371 else
5372 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5373 fi
5374 done
5375
5376 # For the awk script, D is an array of macro values keyed by name,
5377 # likewise P contains macro parameters if any. Preserve backslash
5378 # newline sequences.
5379
5380 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5381 sed -n '
5382 s/.\{148\}/&'"$ac_delim"'/g
5383 t rset
5384 :rset
5385 s/^[ ]*#[ ]*define[ ][ ]*/ /
5386 t def
5387 d
5388 :def
5389 s/\\$//
5390 t bsnl
5391 s/["\\]/\\&/g
5392 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5393 D["\1"]=" \3"/p
5394 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5395 d
5396 :bsnl
5397 s/["\\]/\\&/g
5398 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5399 D["\1"]=" \3\\\\\\n"\\/p
5400 t cont
5401 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5402 t cont
5403 d
5404 :cont
5405 n
5406 s/.\{148\}/&'"$ac_delim"'/g
5407 t clear
5408 :clear
5409 s/\\$//
5410 t bsnlc
5411 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5412 d
5413 :bsnlc
5414 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5415 b cont
5416 ' <confdefs.h | sed '
5417 s/'"$ac_delim"'/"\\\
5418 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5419
5420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5421 for (key in D) D_is_set[key] = 1
5422 FS = ""
5423 }
5424 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5425 line = \$ 0
5426 split(line, arg, " ")
5427 if (arg[1] == "#") {
5428 defundef = arg[2]
5429 mac1 = arg[3]
5430 } else {
5431 defundef = substr(arg[1], 2)
5432 mac1 = arg[2]
5433 }
5434 split(mac1, mac2, "(") #)
5435 macro = mac2[1]
5436 prefix = substr(line, 1, index(line, defundef) - 1)
5437 if (D_is_set[macro]) {
5438 # Preserve the white space surrounding the "#".
5439 print prefix "define", macro P[macro] D[macro]
5440 next
5441 } else {
5442 # Replace #undef with comments. This is necessary, for example,
5443 # in the case of _POSIX_SOURCE, which is predefined and required
5444 # on some systems where configure will not decide to define it.
5445 if (defundef == "undef") {
5446 print "/*", prefix defundef, macro, "*/"
5447 next
5448 }
5449 }
5450 }
5451 { print }
5452 _ACAWK
5453 _ACEOF
5454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5455 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5456 fi # test -n "$CONFIG_HEADERS"
5457
5458
5459 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5460 shift
5461 for ac_tag
5462 do
5463 case $ac_tag in
5464 :[FHLC]) ac_mode=$ac_tag; continue;;
5465 esac
5466 case $ac_mode$ac_tag in
5467 :[FHL]*:*);;
5468 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5469 :[FH]-) ac_tag=-:-;;
5470 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5471 esac
5472 ac_save_IFS=$IFS
5473 IFS=:
5474 set x $ac_tag
5475 IFS=$ac_save_IFS
5476 shift
5477 ac_file=$1
5478 shift
5479
5480 case $ac_mode in
5481 :L) ac_source=$1;;
5482 :[FH])
5483 ac_file_inputs=
5484 for ac_f
5485 do
5486 case $ac_f in
5487 -) ac_f="$tmp/stdin";;
5488 *) # Look for the file first in the build tree, then in the source tree
5489 # (if the path is not absolute). The absolute path cannot be DOS-style,
5490 # because $ac_f cannot contain `:'.
5491 test -f "$ac_f" ||
5492 case $ac_f in
5493 [\\/$]*) false;;
5494 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5495 esac ||
5496 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5497 esac
5498 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5499 as_fn_append ac_file_inputs " '$ac_f'"
5500 done
5501
5502 # Let's still pretend it is `configure' which instantiates (i.e., don't
5503 # use $as_me), people would be surprised to read:
5504 # /* config.h. Generated by config.status. */
5505 configure_input='Generated from '`
5506 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5507 `' by configure.'
5508 if test x"$ac_file" != x-; then
5509 configure_input="$ac_file. $configure_input"
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5511 $as_echo "$as_me: creating $ac_file" >&6;}
5512 fi
5513 # Neutralize special characters interpreted by sed in replacement strings.
5514 case $configure_input in #(
5515 *\&* | *\|* | *\\* )
5516 ac_sed_conf_input=`$as_echo "$configure_input" |
5517 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5518 *) ac_sed_conf_input=$configure_input;;
5519 esac
5520
5521 case $ac_tag in
5522 *:-:* | *:-) cat >"$tmp/stdin" \
5523 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5524 esac
5525 ;;
5526 esac
5527
5528 ac_dir=`$as_dirname -- "$ac_file" ||
5529 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5530 X"$ac_file" : 'X\(//\)[^/]' \| \
5531 X"$ac_file" : 'X\(//\)$' \| \
5532 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5533 $as_echo X"$ac_file" |
5534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5535 s//\1/
5536 q
5537 }
5538 /^X\(\/\/\)[^/].*/{
5539 s//\1/
5540 q
5541 }
5542 /^X\(\/\/\)$/{
5543 s//\1/
5544 q
5545 }
5546 /^X\(\/\).*/{
5547 s//\1/
5548 q
5549 }
5550 s/.*/./; q'`
5551 as_dir="$ac_dir"; as_fn_mkdir_p
5552 ac_builddir=.
5553
5554 case "$ac_dir" in
5555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5556 *)
5557 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5558 # A ".." for each directory in $ac_dir_suffix.
5559 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5560 case $ac_top_builddir_sub in
5561 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5562 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5563 esac ;;
5564 esac
5565 ac_abs_top_builddir=$ac_pwd
5566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5567 # for backward compatibility:
5568 ac_top_builddir=$ac_top_build_prefix
5569
5570 case $srcdir in
5571 .) # We are building in place.
5572 ac_srcdir=.
5573 ac_top_srcdir=$ac_top_builddir_sub
5574 ac_abs_top_srcdir=$ac_pwd ;;
5575 [\\/]* | ?:[\\/]* ) # Absolute name.
5576 ac_srcdir=$srcdir$ac_dir_suffix;
5577 ac_top_srcdir=$srcdir
5578 ac_abs_top_srcdir=$srcdir ;;
5579 *) # Relative name.
5580 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5581 ac_top_srcdir=$ac_top_build_prefix$srcdir
5582 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5583 esac
5584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5585
5586
5587 case $ac_mode in
5588 :F)
5589 #
5590 # CONFIG_FILE
5591 #
5592
5593 case $INSTALL in
5594 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5595 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5596 esac
5597 ac_MKDIR_P=$MKDIR_P
5598 case $MKDIR_P in
5599 [\\/$]* | ?:[\\/]* ) ;;
5600 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5601 esac
5602 _ACEOF
5603
5604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5605 # If the template does not know about datarootdir, expand it.
5606 # FIXME: This hack should be removed a few years after 2.60.
5607 ac_datarootdir_hack=; ac_datarootdir_seen=
5608 ac_sed_dataroot='
5609 /datarootdir/ {
5610 p
5611 q
5612 }
5613 /@datadir@/p
5614 /@docdir@/p
5615 /@infodir@/p
5616 /@localedir@/p
5617 /@mandir@/p'
5618 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5619 *datarootdir*) ac_datarootdir_seen=yes;;
5620 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5622 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5623 _ACEOF
5624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5625 ac_datarootdir_hack='
5626 s&@datadir@&$datadir&g
5627 s&@docdir@&$docdir&g
5628 s&@infodir@&$infodir&g
5629 s&@localedir@&$localedir&g
5630 s&@mandir@&$mandir&g
5631 s&\\\${datarootdir}&$datarootdir&g' ;;
5632 esac
5633 _ACEOF
5634
5635 # Neutralize VPATH when `$srcdir' = `.'.
5636 # Shell code in configure.ac might set extrasub.
5637 # FIXME: do we really want to maintain this feature?
5638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5639 ac_sed_extra="$ac_vpsub
5640 $extrasub
5641 _ACEOF
5642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5643 :t
5644 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5645 s|@configure_input@|$ac_sed_conf_input|;t t
5646 s&@top_builddir@&$ac_top_builddir_sub&;t t
5647 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5648 s&@srcdir@&$ac_srcdir&;t t
5649 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5650 s&@top_srcdir@&$ac_top_srcdir&;t t
5651 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5652 s&@builddir@&$ac_builddir&;t t
5653 s&@abs_builddir@&$ac_abs_builddir&;t t
5654 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5655 s&@INSTALL@&$ac_INSTALL&;t t
5656 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5657 $ac_datarootdir_hack
5658 "
5659 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5660 || as_fn_error "could not create $ac_file" "$LINENO" 5
5661
5662 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5663 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5664 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5666 which seems to be undefined. Please make sure it is defined." >&5
5667 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5668 which seems to be undefined. Please make sure it is defined." >&2;}
5669
5670 rm -f "$tmp/stdin"
5671 case $ac_file in
5672 -) cat "$tmp/out" && rm -f "$tmp/out";;
5673 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5674 esac \
5675 || as_fn_error "could not create $ac_file" "$LINENO" 5
5676 ;;
5677 :H)
5678 #
5679 # CONFIG_HEADER
5680 #
5681 if test x"$ac_file" != x-; then
5682 {
5683 $as_echo "/* $configure_input */" \
5684 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5685 } >"$tmp/config.h" \
5686 || as_fn_error "could not create $ac_file" "$LINENO" 5
5687 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5689 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5690 else
5691 rm -f "$ac_file"
5692 mv "$tmp/config.h" "$ac_file" \
5693 || as_fn_error "could not create $ac_file" "$LINENO" 5
5694 fi
5695 else
5696 $as_echo "/* $configure_input */" \
5697 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5698 || as_fn_error "could not create -" "$LINENO" 5
5699 fi
5700 # Compute "$ac_file"'s index in $config_headers.
5701 _am_arg="$ac_file"
5702 _am_stamp_count=1
5703 for _am_header in $config_headers :; do
5704 case $_am_header in
5705 $_am_arg | $_am_arg:* )
5706 break ;;
5707 * )
5708 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5709 esac
5710 done
5711 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5712 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5713 X"$_am_arg" : 'X\(//\)[^/]' \| \
5714 X"$_am_arg" : 'X\(//\)$' \| \
5715 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5716 $as_echo X"$_am_arg" |
5717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5718 s//\1/
5719 q
5720 }
5721 /^X\(\/\/\)[^/].*/{
5722 s//\1/
5723 q
5724 }
5725 /^X\(\/\/\)$/{
5726 s//\1/
5727 q
5728 }
5729 /^X\(\/\).*/{
5730 s//\1/
5731 q
5732 }
5733 s/.*/./; q'`/stamp-h$_am_stamp_count
5734 ;;
5735
5736 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5737 $as_echo "$as_me: executing $ac_file commands" >&6;}
5738 ;;
5739 esac
5740
5741
5742 case $ac_file$ac_mode in
5743 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5744 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5745 # are listed without --file. Let's play safe and only enable the eval
5746 # if we detect the quoting.
5747 case $CONFIG_FILES in
5748 *\'*) eval set x "$CONFIG_FILES" ;;
5749 *) set x $CONFIG_FILES ;;
5750 esac
5751 shift
5752 for mf
5753 do
5754 # Strip MF so we end up with the name of the file.
5755 mf=`echo "$mf" | sed -e 's/:.*$//'`
5756 # Check whether this is an Automake generated Makefile or not.
5757 # We used to match only the files named `Makefile.in', but
5758 # some people rename them; so instead we look at the file content.
5759 # Grep'ing the first line is not enough: some people post-process
5760 # each Makefile.in and add a new line on top of each file to say so.
5761 # Grep'ing the whole file is not good either: AIX grep has a line
5762 # limit of 2048, but all sed's we know have understand at least 4000.
5763 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5764 dirpart=`$as_dirname -- "$mf" ||
5765 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5766 X"$mf" : 'X\(//\)[^/]' \| \
5767 X"$mf" : 'X\(//\)$' \| \
5768 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5769 $as_echo X"$mf" |
5770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5771 s//\1/
5772 q
5773 }
5774 /^X\(\/\/\)[^/].*/{
5775 s//\1/
5776 q
5777 }
5778 /^X\(\/\/\)$/{
5779 s//\1/
5780 q
5781 }
5782 /^X\(\/\).*/{
5783 s//\1/
5784 q
5785 }
5786 s/.*/./; q'`
5787 else
5788 continue
5789 fi
5790 # Extract the definition of DEPDIR, am__include, and am__quote
5791 # from the Makefile without running `make'.
5792 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5793 test -z "$DEPDIR" && continue
5794 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5795 test -z "am__include" && continue
5796 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5797 # When using ansi2knr, U may be empty or an underscore; expand it
5798 U=`sed -n 's/^U = //p' < "$mf"`
5799 # Find all dependency output files, they are included files with
5800 # $(DEPDIR) in their names. We invoke sed twice because it is the
5801 # simplest approach to changing $(DEPDIR) to its actual value in the
5802 # expansion.
5803 for file in `sed -n "
5804 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5805 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5806 # Make sure the directory exists.
5807 test -f "$dirpart/$file" && continue
5808 fdir=`$as_dirname -- "$file" ||
5809 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5810 X"$file" : 'X\(//\)[^/]' \| \
5811 X"$file" : 'X\(//\)$' \| \
5812 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5813 $as_echo X"$file" |
5814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5815 s//\1/
5816 q
5817 }
5818 /^X\(\/\/\)[^/].*/{
5819 s//\1/
5820 q
5821 }
5822 /^X\(\/\/\)$/{
5823 s//\1/
5824 q
5825 }
5826 /^X\(\/\).*/{
5827 s//\1/
5828 q
5829 }
5830 s/.*/./; q'`
5831 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5832 # echo "creating $dirpart/$file"
5833 echo '# dummy' > "$dirpart/$file"
5834 done
5835 done
5836 }
5837 ;;
5838
5839 esac
5840 done # for ac_tag
5841
5842
5843 as_fn_exit 0
5844 _ACEOF
5845 ac_clean_files=$ac_clean_files_save
5846
5847 test $ac_write_fail = 0 ||
5848 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5849
5850
5851 # configure is writing to config.log, and then calls config.status.
5852 # config.status does its own redirection, appending to config.log.
5853 # Unfortunately, on DOS this fails, as config.log is still kept open
5854 # by configure, so config.status won't be able to write to it; its
5855 # output is simply discarded. So we exec the FD to /dev/null,
5856 # effectively closing config.log, so it can be properly (re)opened and
5857 # appended to by config.status. When coming back to configure, we
5858 # need to make the FD available again.
5859 if test "$no_create" != yes; then
5860 ac_cs_success=:
5861 ac_config_status_args=
5862 test "$silent" = yes &&
5863 ac_config_status_args="$ac_config_status_args --quiet"
5864 exec 5>/dev/null
5865 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5866 exec 5>>config.log
5867 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5868 # would make configure fail if this is the last instruction.
5869 $ac_cs_success || as_fn_exit $?
5870 fi
5871 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5873 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5874 fi
5875