2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file="mutt.h"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP U ANSI2KNR RANLIB ac_ct_RANLIB AR ac_ct_AR DBX GDB SDB DEBUGGER SENDMAIL GPGME_CONFIG LIBGPGME_CFLAGS LIBGPGME_LIBS OPS PGPAUX_TARGET SMIMEAUX_TARGET SUBVERSION ISPELL LIBOBJS DOTLOCK_TARGET docdir DOTLOCK_GROUP DOTLOCK_PERMISSION BUILD_IMAP_TRUE BUILD_IMAP_FALSE KRB5CFGPATH USE_GSS_TRUE USE_GSS_FALSE USE_SSL_TRUE USE_SSL_FALSE LIBGNUTLS_CONFIG LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS USE_SASL_TRUE USE_SASL_FALSE MUTTLIBS MUTT_LIB_OBJECTS LIBIMAP LIBIMAPDEPS ALLOCA GLIBC21 LIBICONV USE_NLS MSGFMT GMSGFMT XGETTEXT INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT GMOFILES INTLLIBS INTLOBJS POFILES POSUB DATADIRNAME INSTOBJEXT GENCAT MKINSTALLDIRS INTL_LIBTOOL_SUFFIX_PREFIX mutt_libesmtp_config_path LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CPP_set=${CPP+set}
769 ac_env_CPP_value=$CPP
770 ac_cv_env_CPP_set=${CPP+set}
771 ac_cv_env_CPP_value=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures this package to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
844 if test -n "$ac_init_help"; then
849 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
850 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
851 --disable-dependency-tracking Speeds up one-time builds
852 --enable-dependency-tracking Do not reject slow dependency extractors
853 --disable-largefile omit support for large files
854 --enable-gpgme Enable GPGME support
855 --disable-pgp Disable PGP support
856 --disable-smime Disable SMIME support
857 --enable-external-dotlock
858 Force use of an external dotlock program
859 --enable-pop Enable POP3 support
860 --enable-imap Enable IMAP support
861 --enable-nntp Enable NNTP support
862 --enable-debug Enable debugging support
863 --enable-flock Use flock() to lock files
864 --disable-fcntl Do NOT use fcntl() to lock files
865 --enable-inodesort Read files in maildir folders sorted by inode.
866 --disable-warnings Turn off compiler warnings (not recommended)
867 --enable-nfs-fix Work around an NFS with broken attributes caching
868 --enable-buffy-size Use file size attribute instead of access time
869 --enable-mailtool Enable Sun mailtool attachments support
870 --enable-compressed Enable compressed folders support
871 --enable-locales-fix The result of isprint() is unreliable
872 --enable-exact-address Enable regeneration of email addresses
873 --enable-hcache Enable header caching
874 --disable-iconv Disable iconv support
875 --disable-nls Do not use Native Language Support
878 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
879 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
880 --with-gpgme-prefix=PFX prefix where GPGME is installed (optional)
881 --with-mixmaster=PATH Include Mixmaster support
882 --with-slang=DIR Use S-Lang instead of ncurses
883 --with-curses=DIR Where ncurses is installed
884 --with-regex Use the GNU regex library
885 --with-homespool=FILE File in user's directory where new mail is spooled
886 --with-mailpath=DIR Directory where spool mailboxes are located
887 --with-docdir=PATH Specify where to put the documentation
888 --with-domain=DOMAIN Specify your DNS domain name
889 --with-gss=PFX Compile in GSSAPI authentication for IMAP
890 --with-ssl=PFX Compile in SSL support for POP/IMAP
891 --with-nss=PFX Compile in SSL support for POP/IMAP via NSS
892 --with-gnutls=PFX Enable SSL support using gnutls
893 --with-sasl=PFX Use Cyrus SASL library for POP/IMAP authentication
894 --with-sasl2=PFX Use Cyrus SASL library version 2 for POP/IMAP
896 --with-idn=PFX Use GNU libidn for domain names
897 --with-exec-shell=SHELL Specify alternate shell (ONLY if /bin/sh is broken)
898 --without-gdbm Don't use gdbm even if it is available
899 --with-bdb=DIR Use BerkeleyDB4 if gdbm is not available
900 --with-libiconv-prefix=DIR
901 Search for libiconv in DIR/include and DIR/lib
902 --with-included-gettext Use the GNU gettext library included here
903 --without-wc-funcs Do not use the system's wchar_t functions
904 --with-libesmtp=DIR Compile in support for libesmtp for the MTA
906 Some influential environment variables:
907 CC C compiler command
908 CFLAGS C compiler flags
909 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
910 nonstandard directory <lib dir>
911 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
912 headers in a nonstandard directory <include dir>
915 Use these variables to override the choices made by `configure' or to help
916 it to find libraries and programs with nonstandard names/locations.
921 if test "$ac_init_help" = "recursive"; then
922 # If there are subdirs, report their specific --help.
924 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
925 test -d $ac_dir || continue
928 if test "$ac_dir" != .; then
929 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
930 # A "../" for each directory in $ac_dir_suffix.
931 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
933 ac_dir_suffix= ac_top_builddir=
937 .) # No --srcdir option. We are building in place.
939 if test -z "$ac_top_builddir"; then
942 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
944 [\\/]* | ?:[\\/]* ) # Absolute path.
945 ac_srcdir=$srcdir$ac_dir_suffix;
946 ac_top_srcdir=$srcdir ;;
948 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
949 ac_top_srcdir=$ac_top_builddir$srcdir ;;
951 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
953 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
954 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
955 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
956 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
981 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
982 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by $as_me, which was
994 generated by GNU Autoconf 2.57. Invocation command line was
1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1012 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1014 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1015 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1017 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1018 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1019 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1020 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_must_keep_next=false
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 -* ) ac_must_keep_next=true ;;
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close' the trap.
1100 trap 'exit_status=$?
1101 # Save into config.log some information that might help in debugging.
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1111 # The following way of writing the cache mishandles newlines in values,
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1134 for ac_var in $ac_subst_vars
1136 eval ac_val=$`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -n "$ac_subst_files"; then
1148 for ac_var in $ac_subst_files
1150 eval ac_val=$`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -s confdefs.h; then
1163 sed "/^$/d" confdefs.h | sort
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1170 rm -f core core.* *.core &&
1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's/^/| /' "$ac_site_file" >&5
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1246 # Check that the precious variables saved in the cache have kept the same
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 ac_config_headers="$ac_config_headers config.h"
1324 mutt_cv_version=`cat $srcdir/VERSION`
1326 am__api_version="1.7"
1328 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1329 if test -f $ac_dir/install-sh; then
1331 ac_install_sh="$ac_aux_dir/install-sh -c"
1333 elif test -f $ac_dir/install.sh; then
1335 ac_install_sh="$ac_aux_dir/install.sh -c"
1337 elif test -f $ac_dir/shtool; then
1339 ac_install_sh="$ac_aux_dir/shtool install -c"
1343 if test -z "$ac_aux_dir"; then
1344 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1345 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1346 { (exit 1); exit 1; }; }
1348 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1349 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1350 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1352 # Find a good install program. We prefer a C program (faster),
1353 # so one script is as good as another. But avoid the broken or
1354 # incompatible versions:
1355 # SysV /etc/install, /usr/sbin/install
1356 # SunOS /usr/etc/install
1357 # IRIX /sbin/install
1359 # AmigaOS /C/install, which installs bootblocks on floppy discs
1360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1363 # ./install, which can be erroneously created by make from ./install.sh.
1364 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1365 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1366 if test -z "$INSTALL"; then
1367 if test "${ac_cv_path_install+set}" = set; then
1368 echo $ECHO_N "(cached) $ECHO_C" >&6
1370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir=.
1375 # Account for people who put trailing slashes in PATH elements.
1377 ./ | .// | /cC/* | \
1378 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1381 # OSF1 and SCO ODT 3.0 have their own names for install.
1382 # Don't use installbsd from OSF since it installs stuff as root
1384 for ac_prog in ginstall scoinst install; do
1385 for ac_exec_ext in '' $ac_executable_extensions; do
1386 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1387 if test $ac_prog = install &&
1388 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1389 # AIX install. It has an incompatible calling convention.
1391 elif test $ac_prog = install &&
1392 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1393 # program-specific install script used by HP pwplus--don't use.
1396 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1408 if test "${ac_cv_path_install+set}" = set; then
1409 INSTALL=$ac_cv_path_install
1411 # As a last resort, use the slow shell script. We don't cache a
1412 # path for INSTALL within a source directory, because that will
1413 # break other packages using the cache if that directory is
1414 # removed, or if the path is relative.
1415 INSTALL=$ac_install_sh
1418 echo "$as_me:$LINENO: result: $INSTALL" >&5
1419 echo "${ECHO_T}$INSTALL" >&6
1421 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1422 # It thinks the first close brace ends the variable substitution.
1423 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1425 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1427 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1429 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1430 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1433 echo timestamp > conftest.file
1434 # Do `set' in a subshell so we don't clobber the current shell's
1435 # arguments. Must try -L first in case configure is actually a
1436 # symlink; some systems play weird games with the mod time of symlinks
1437 # (eg FreeBSD returns the mod time of the symlink's containing
1440 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1441 if test "$*" = "X"; then
1443 set X `ls -t $srcdir/configure conftest.file`
1446 if test "$*" != "X $srcdir/configure conftest.file" \
1447 && test "$*" != "X conftest.file $srcdir/configure"; then
1449 # If neither matched, then we have a broken ls. This can happen
1450 # if, for instance, CONFIG_SHELL is bash and it inherits a
1451 # broken ls alias from the environment. This has actually
1452 # happened. Such a system could not be considered "sane".
1453 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1454 alias in your environment" >&5
1455 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1456 alias in your environment" >&2;}
1457 { (exit 1); exit 1; }; }
1460 test "$2" = conftest.file
1466 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1467 Check your system clock" >&5
1468 echo "$as_me: error: newly created file is older than distributed files!
1469 Check your system clock" >&2;}
1470 { (exit 1); exit 1; }; }
1472 echo "$as_me:$LINENO: result: yes" >&5
1473 echo "${ECHO_T}yes" >&6
1474 test "$program_prefix" != NONE &&
1475 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1476 # Use a double $ so make ignores it.
1477 test "$program_suffix" != NONE &&
1478 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1479 # Double any \ or $. echo might interpret backslashes.
1480 # By default was `s,x,x', remove it if useless.
1481 cat <<\_ACEOF >conftest.sed
1482 s/[\\$]/&&/g;s/;s,x,x,$//
1484 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1488 # expand $ac_aux_dir to an absolute path
1489 am_aux_dir=`cd $ac_aux_dir && pwd`
1491 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1492 # Use eval to expand $SHELL
1493 if eval "$MISSING --run true"; then
1494 am_missing_run="$MISSING --run "
1497 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1498 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1501 for ac_prog in gawk mawk nawk awk
1503 # Extract the first word of "$ac_prog", so it can be a program name with args.
1504 set dummy $ac_prog; ac_word=$2
1505 echo "$as_me:$LINENO: checking for $ac_word" >&5
1506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1507 if test "${ac_cv_prog_AWK+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 if test -n "$AWK"; then
1511 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1517 test -z "$as_dir" && as_dir=.
1518 for ac_exec_ext in '' $ac_executable_extensions; do
1519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1520 ac_cv_prog_AWK="$ac_prog"
1521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1530 if test -n "$AWK"; then
1531 echo "$as_me:$LINENO: result: $AWK" >&5
1532 echo "${ECHO_T}$AWK" >&6
1534 echo "$as_me:$LINENO: result: no" >&5
1535 echo "${ECHO_T}no" >&6
1538 test -n "$AWK" && break
1541 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1542 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1543 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1544 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1545 echo $ECHO_N "(cached) $ECHO_C" >&6
1547 cat >conftest.make <<\_ACEOF
1549 @echo 'ac_maketemp="$(MAKE)"'
1551 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1552 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1553 if test -n "$ac_maketemp"; then
1554 eval ac_cv_prog_make_${ac_make}_set=yes
1556 eval ac_cv_prog_make_${ac_make}_set=no
1560 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1561 echo "$as_me:$LINENO: result: yes" >&5
1562 echo "${ECHO_T}yes" >&6
1565 echo "$as_me:$LINENO: result: no" >&5
1566 echo "${ECHO_T}no" >&6
1567 SET_MAKE="MAKE=${MAKE-make}"
1570 rm -rf .tst 2>/dev/null
1571 mkdir .tst 2>/dev/null
1572 if test -d .tst; then
1577 rmdir .tst 2>/dev/null
1579 # test to see if srcdir already configured
1580 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1581 test -f $srcdir/config.status; then
1582 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1583 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1584 { (exit 1); exit 1; }; }
1587 # test whether we have cygpath
1588 if test -z "$CYGPATH_W"; then
1589 if (cygpath --version) >/dev/null 2>/dev/null; then
1590 CYGPATH_W='cygpath -w'
1597 # Define the identity of the package.
1599 VERSION=$mutt_cv_version
1602 cat >>confdefs.h <<_ACEOF
1603 #define PACKAGE "$PACKAGE"
1607 cat >>confdefs.h <<_ACEOF
1608 #define VERSION "$VERSION"
1611 # Some tools Automake needs.
1613 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1616 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1619 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1622 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1625 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1628 AMTAR=${AMTAR-"${am_missing_run}tar"}
1630 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1632 # Installed binaries are usually stripped using `strip' when the user
1633 # run `make install-strip'. However `strip' might not be the right
1634 # tool to use in cross-compilation environments, therefore Automake
1635 # will honor the `STRIP' environment variable to overrule this program.
1636 if test "$cross_compiling" != no; then
1637 if test -n "$ac_tool_prefix"; then
1638 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1639 set dummy ${ac_tool_prefix}strip; ac_word=$2
1640 echo "$as_me:$LINENO: checking for $ac_word" >&5
1641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1642 if test "${ac_cv_prog_STRIP+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 if test -n "$STRIP"; then
1646 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1652 test -z "$as_dir" && as_dir=.
1653 for ac_exec_ext in '' $ac_executable_extensions; do
1654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1655 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1664 STRIP=$ac_cv_prog_STRIP
1665 if test -n "$STRIP"; then
1666 echo "$as_me:$LINENO: result: $STRIP" >&5
1667 echo "${ECHO_T}$STRIP" >&6
1669 echo "$as_me:$LINENO: result: no" >&5
1670 echo "${ECHO_T}no" >&6
1674 if test -z "$ac_cv_prog_STRIP"; then
1676 # Extract the first word of "strip", so it can be a program name with args.
1677 set dummy strip; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$ac_ct_STRIP"; then
1684 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690 test -z "$as_dir" && as_dir=.
1691 for ac_exec_ext in '' $ac_executable_extensions; do
1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1693 ac_cv_prog_ac_ct_STRIP="strip"
1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1703 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1704 if test -n "$ac_ct_STRIP"; then
1705 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1706 echo "${ECHO_T}$ac_ct_STRIP" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1714 STRIP="$ac_cv_prog_STRIP"
1718 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1720 # We need awk for the "check" target. The system "awk" is bad on
1728 ALL_LINGUAS="de ru it es uk fr pl nl cs id sk ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca bg"
1730 # Make sure we can run config.sub.
1731 $ac_config_sub sun4 >/dev/null 2>&1 ||
1732 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1733 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1734 { (exit 1); exit 1; }; }
1736 echo "$as_me:$LINENO: checking build system type" >&5
1737 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1738 if test "${ac_cv_build+set}" = set; then
1739 echo $ECHO_N "(cached) $ECHO_C" >&6
1741 ac_cv_build_alias=$build_alias
1742 test -z "$ac_cv_build_alias" &&
1743 ac_cv_build_alias=`$ac_config_guess`
1744 test -z "$ac_cv_build_alias" &&
1745 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1746 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1747 { (exit 1); exit 1; }; }
1748 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1749 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1750 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1751 { (exit 1); exit 1; }; }
1754 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1755 echo "${ECHO_T}$ac_cv_build" >&6
1757 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1758 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1759 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1762 echo "$as_me:$LINENO: checking host system type" >&5
1763 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1764 if test "${ac_cv_host+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 ac_cv_host_alias=$host_alias
1768 test -z "$ac_cv_host_alias" &&
1769 ac_cv_host_alias=$ac_cv_build_alias
1770 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1771 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1772 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1773 { (exit 1); exit 1; }; }
1776 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1777 echo "${ECHO_T}$ac_cv_host" >&6
1779 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1780 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1781 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1785 echo "$as_me:$LINENO: checking for prefix" >&5
1786 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
1787 if test x$prefix = xNONE; then
1788 mutt_cv_prefix=$ac_default_prefix
1790 mutt_cv_prefix=$prefix
1792 echo "$as_me:$LINENO: result: $mutt_cv_prefix" >&5
1793 echo "${ECHO_T}$mutt_cv_prefix" >&6
1796 ac_cpp='$CPP $CPPFLAGS'
1797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1800 if test -n "$ac_tool_prefix"; then
1801 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1802 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1803 echo "$as_me:$LINENO: checking for $ac_word" >&5
1804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1805 if test "${ac_cv_prog_CC+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 if test -n "$CC"; then
1809 ac_cv_prog_CC="$CC" # Let the user override the test.
1811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1815 test -z "$as_dir" && as_dir=.
1816 for ac_exec_ext in '' $ac_executable_extensions; do
1817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1818 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828 if test -n "$CC"; then
1829 echo "$as_me:$LINENO: result: $CC" >&5
1830 echo "${ECHO_T}$CC" >&6
1832 echo "$as_me:$LINENO: result: no" >&5
1833 echo "${ECHO_T}no" >&6
1837 if test -z "$ac_cv_prog_CC"; then
1839 # Extract the first word of "gcc", so it can be a program name with args.
1840 set dummy gcc; ac_word=$2
1841 echo "$as_me:$LINENO: checking for $ac_word" >&5
1842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1843 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 if test -n "$ac_ct_CC"; then
1847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1853 test -z "$as_dir" && as_dir=.
1854 for ac_exec_ext in '' $ac_executable_extensions; do
1855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1856 ac_cv_prog_ac_ct_CC="gcc"
1857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1866 if test -n "$ac_ct_CC"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1868 echo "${ECHO_T}$ac_ct_CC" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1879 if test -z "$CC"; then
1880 if test -n "$ac_tool_prefix"; then
1881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1882 set dummy ${ac_tool_prefix}cc; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_CC+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$CC"; then
1889 ac_cv_prog_CC="$CC" # Let the user override the test.
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_CC="${ac_tool_prefix}cc"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 if test -n "$CC"; then
1909 echo "$as_me:$LINENO: result: $CC" >&5
1910 echo "${ECHO_T}$CC" >&6
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1917 if test -z "$ac_cv_prog_CC"; then
1919 # Extract the first word of "cc", so it can be a program name with args.
1920 set dummy cc; ac_word=$2
1921 echo "$as_me:$LINENO: checking for $ac_word" >&5
1922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1923 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 if test -n "$ac_ct_CC"; then
1927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 test -z "$as_dir" && as_dir=.
1934 for ac_exec_ext in '' $ac_executable_extensions; do
1935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1936 ac_cv_prog_ac_ct_CC="cc"
1937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1946 if test -n "$ac_ct_CC"; then
1947 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1948 echo "${ECHO_T}$ac_ct_CC" >&6
1950 echo "$as_me:$LINENO: result: no" >&5
1951 echo "${ECHO_T}no" >&6
1960 if test -z "$CC"; then
1961 # Extract the first word of "cc", so it can be a program name with args.
1962 set dummy cc; ac_word=$2
1963 echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965 if test "${ac_cv_prog_CC+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 if test -n "$CC"; then
1969 ac_cv_prog_CC="$CC" # Let the user override the test.
1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir=.
1977 for ac_exec_ext in '' $ac_executable_extensions; do
1978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1980 ac_prog_rejected=yes
1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 if test $ac_prog_rejected = yes; then
1991 # We found a bogon in the path, so make sure we never use it.
1992 set dummy $ac_cv_prog_CC
1994 if test $# != 0; then
1995 # We chose a different compiler from the bogus one.
1996 # However, it has the same basename, so the bogon will be chosen
1997 # first if we set CC to just the basename; use the full file name.
1999 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2005 if test -n "$CC"; then
2006 echo "$as_me:$LINENO: result: $CC" >&5
2007 echo "${ECHO_T}$CC" >&6
2009 echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6
2014 if test -z "$CC"; then
2015 if test -n "$ac_tool_prefix"; then
2018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2019 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2020 echo "$as_me:$LINENO: checking for $ac_word" >&5
2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2022 if test "${ac_cv_prog_CC+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 if test -n "$CC"; then
2026 ac_cv_prog_CC="$CC" # Let the user override the test.
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir=.
2033 for ac_exec_ext in '' $ac_executable_extensions; do
2034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2035 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045 if test -n "$CC"; then
2046 echo "$as_me:$LINENO: result: $CC" >&5
2047 echo "${ECHO_T}$CC" >&6
2049 echo "$as_me:$LINENO: result: no" >&5
2050 echo "${ECHO_T}no" >&6
2053 test -n "$CC" && break
2056 if test -z "$CC"; then
2060 # Extract the first word of "$ac_prog", so it can be a program name with args.
2061 set dummy $ac_prog; ac_word=$2
2062 echo "$as_me:$LINENO: checking for $ac_word" >&5
2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 if test -n "$ac_ct_CC"; then
2068 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir=.
2075 for ac_exec_ext in '' $ac_executable_extensions; do
2076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2077 ac_cv_prog_ac_ct_CC="$ac_prog"
2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2087 if test -n "$ac_ct_CC"; then
2088 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2089 echo "${ECHO_T}$ac_ct_CC" >&6
2091 echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6
2095 test -n "$ac_ct_CC" && break
2104 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2105 See \`config.log' for more details." >&5
2106 echo "$as_me: error: no acceptable C compiler found in \$PATH
2107 See \`config.log' for more details." >&2;}
2108 { (exit 1); exit 1; }; }
2110 # Provide some information about the compiler.
2111 echo "$as_me:$LINENO:" \
2112 "checking for C compiler version" >&5
2113 ac_compiler=`set X $ac_compile; echo $2`
2114 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2115 (eval $ac_compiler --version </dev/null >&5) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }
2119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2120 (eval $ac_compiler -v </dev/null >&5) 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }
2124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2125 (eval $ac_compiler -V </dev/null >&5) 2>&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }
2130 cat >conftest.$ac_ext <<_ACEOF
2131 #line $LINENO "configure"
2134 cat confdefs.h >>conftest.$ac_ext
2135 cat >>conftest.$ac_ext <<_ACEOF
2136 /* end confdefs.h. */
2146 ac_clean_files_save=$ac_clean_files
2147 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2148 # Try to create an executable without -o first, disregard a.out.
2149 # It will help us diagnose broken compilers, and finding out an intuition
2151 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2152 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2153 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2154 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2155 (eval $ac_link_default) 2>&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; then
2159 # Find the output, starting from the most likely. This scheme is
2160 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2163 # Be careful to initialize this variable, since it used to be cached.
2164 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2166 # b.out is created by i960 compilers.
2167 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2169 test -f "$ac_file" || continue
2171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2174 # This is the source file.
2177 # We found the default executable, but exeext='' is most
2181 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2182 # FIXME: I believe we export ac_cv_exeext for Libtool,
2183 # but it would be cool to find out if it's true. Does anybody
2184 # maintain Libtool? --akim.
2192 echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.$ac_ext >&5
2195 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2196 See \`config.log' for more details." >&5
2197 echo "$as_me: error: C compiler cannot create executables
2198 See \`config.log' for more details." >&2;}
2199 { (exit 77); exit 77; }; }
2202 ac_exeext=$ac_cv_exeext
2203 echo "$as_me:$LINENO: result: $ac_file" >&5
2204 echo "${ECHO_T}$ac_file" >&6
2206 # Check the compiler produces executables we can run. If not, either
2207 # the compiler is broken, or we cross compile.
2208 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2209 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2210 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2211 # If not cross compiling, check that we can run a simple program.
2212 if test "$cross_compiling" != yes; then
2213 if { ac_try='./$ac_file'
2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; }; then
2221 if test "$cross_compiling" = maybe; then
2224 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2225 If you meant to cross compile, use \`--host'.
2226 See \`config.log' for more details." >&5
2227 echo "$as_me: error: cannot run C compiled programs.
2228 If you meant to cross compile, use \`--host'.
2229 See \`config.log' for more details." >&2;}
2230 { (exit 1); exit 1; }; }
2234 echo "$as_me:$LINENO: result: yes" >&5
2235 echo "${ECHO_T}yes" >&6
2237 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2238 ac_clean_files=$ac_clean_files_save
2239 # Check the compiler produces executables we can run. If not, either
2240 # the compiler is broken, or we cross compile.
2241 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2242 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2243 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2244 echo "${ECHO_T}$cross_compiling" >&6
2246 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2247 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2249 (eval $ac_link) 2>&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); }; then
2253 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2254 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2255 # work properly (i.e., refer to `conftest.exe'), while it won't with
2257 for ac_file in conftest.exe conftest conftest.*; do
2258 test -f "$ac_file" || continue
2260 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2261 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2268 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2269 See \`config.log' for more details." >&5
2270 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2271 See \`config.log' for more details." >&2;}
2272 { (exit 1); exit 1; }; }
2275 rm -f conftest$ac_cv_exeext
2276 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2277 echo "${ECHO_T}$ac_cv_exeext" >&6
2279 rm -f conftest.$ac_ext
2280 EXEEXT=$ac_cv_exeext
2282 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2283 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2284 if test "${ac_cv_objext+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2287 cat >conftest.$ac_ext <<_ACEOF
2288 #line $LINENO "configure"
2291 cat confdefs.h >>conftest.$ac_ext
2292 cat >>conftest.$ac_ext <<_ACEOF
2293 /* end confdefs.h. */
2303 rm -f conftest.o conftest.obj
2304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2305 (eval $ac_compile) 2>&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }; then
2309 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2312 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2317 echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.$ac_ext >&5
2320 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2321 See \`config.log' for more details." >&5
2322 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2323 See \`config.log' for more details." >&2;}
2324 { (exit 1); exit 1; }; }
2327 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2329 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2330 echo "${ECHO_T}$ac_cv_objext" >&6
2331 OBJEXT=$ac_cv_objext
2333 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2334 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2335 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 cat >conftest.$ac_ext <<_ACEOF
2339 #line $LINENO "configure"
2342 cat confdefs.h >>conftest.$ac_ext
2343 cat >>conftest.$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2357 rm -f conftest.$ac_objext
2358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2359 (eval $ac_compile) 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); } &&
2363 { ac_try='test -s conftest.$ac_objext'
2364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; }; then
2371 echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.$ac_ext >&5
2376 rm -f conftest.$ac_objext conftest.$ac_ext
2377 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2380 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2381 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2382 GCC=`test $ac_compiler_gnu = yes && echo yes`
2383 ac_test_CFLAGS=${CFLAGS+set}
2384 ac_save_CFLAGS=$CFLAGS
2386 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2387 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2388 if test "${ac_cv_prog_cc_g+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 cat >conftest.$ac_ext <<_ACEOF
2392 #line $LINENO "configure"
2395 cat confdefs.h >>conftest.$ac_ext
2396 cat >>conftest.$ac_ext <<_ACEOF
2397 /* end confdefs.h. */
2407 rm -f conftest.$ac_objext
2408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2409 (eval $ac_compile) 2>&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); } &&
2413 { ac_try='test -s conftest.$ac_objext'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; }; then
2421 echo "$as_me: failed program was:" >&5
2422 sed 's/^/| /' conftest.$ac_ext >&5
2426 rm -f conftest.$ac_objext conftest.$ac_ext
2428 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2429 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2430 if test "$ac_test_CFLAGS" = set; then
2431 CFLAGS=$ac_save_CFLAGS
2432 elif test $ac_cv_prog_cc_g = yes; then
2433 if test "$GCC" = yes; then
2439 if test "$GCC" = yes; then
2445 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2446 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2447 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 ac_cv_prog_cc_stdc=no
2452 cat >conftest.$ac_ext <<_ACEOF
2453 #line $LINENO "configure"
2456 cat confdefs.h >>conftest.$ac_ext
2457 cat >>conftest.$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2461 #include <sys/types.h>
2462 #include <sys/stat.h>
2463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2464 struct buf { int x; };
2465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2466 static char *e (p, i)
2472 static char *f (char * (*g) (char **, int), char **p, ...)
2477 s = g (p, va_arg (v,int));
2481 int test (int i, double x);
2482 struct s1 {int (*f) (int a);};
2483 struct s2 {int (*f) (double a);};
2484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2490 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2495 # Don't try gcc -ansi; that turns off useful extensions and
2496 # breaks some systems' header files.
2497 # AIX -qlanglvl=ansi
2498 # Ultrix and OSF/1 -std1
2499 # HP-UX 10.20 and later -Ae
2500 # HP-UX older versions -Aa -D_HPUX_SOURCE
2501 # SVR4 -Xc -D__EXTENSIONS__
2502 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2504 CC="$ac_save_CC $ac_arg"
2505 rm -f conftest.$ac_objext
2506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2507 (eval $ac_compile) 2>&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); } &&
2511 { ac_try='test -s conftest.$ac_objext'
2512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }; }; then
2517 ac_cv_prog_cc_stdc=$ac_arg
2520 echo "$as_me: failed program was:" >&5
2521 sed 's/^/| /' conftest.$ac_ext >&5
2524 rm -f conftest.$ac_objext
2526 rm -f conftest.$ac_ext conftest.$ac_objext
2531 case "x$ac_cv_prog_cc_stdc" in
2533 echo "$as_me:$LINENO: result: none needed" >&5
2534 echo "${ECHO_T}none needed" >&6 ;;
2536 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2537 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2538 CC="$CC $ac_cv_prog_cc_stdc" ;;
2541 # Some people use a C++ compiler to compile C. Since we use `exit',
2542 # in C++ we need to declare it. In case someone uses the same compiler
2543 # for both compiling C and C++ we need to have the C++ compiler decide
2544 # the declaration of exit, since it's the most demanding environment.
2545 cat >conftest.$ac_ext <<_ACEOF
2550 rm -f conftest.$ac_objext
2551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2552 (eval $ac_compile) 2>&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); } &&
2556 { ac_try='test -s conftest.$ac_objext'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; }; then
2562 for ac_declaration in \
2564 '#include <stdlib.h>' \
2565 'extern "C" void std::exit (int) throw (); using std::exit;' \
2566 'extern "C" void std::exit (int); using std::exit;' \
2567 'extern "C" void exit (int) throw ();' \
2568 'extern "C" void exit (int);' \
2571 cat >conftest.$ac_ext <<_ACEOF
2572 #line $LINENO "configure"
2575 cat confdefs.h >>conftest.$ac_ext
2576 cat >>conftest.$ac_ext <<_ACEOF
2577 /* end confdefs.h. */
2588 rm -f conftest.$ac_objext
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590 (eval $ac_compile) 2>&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } &&
2594 { ac_try='test -s conftest.$ac_objext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2607 rm -f conftest.$ac_objext conftest.$ac_ext
2608 cat >conftest.$ac_ext <<_ACEOF
2609 #line $LINENO "configure"
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2624 rm -f conftest.$ac_objext
2625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2626 (eval $ac_compile) 2>&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try='test -s conftest.$ac_objext'
2631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; }; then
2638 echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2642 rm -f conftest.$ac_objext conftest.$ac_ext
2645 if test -n "$ac_declaration"; then
2646 echo '#ifdef __cplusplus' >>confdefs.h
2647 echo $ac_declaration >>confdefs.h
2648 echo '#endif' >>confdefs.h
2652 echo "$as_me: failed program was:" >&5
2653 sed 's/^/| /' conftest.$ac_ext >&5
2656 rm -f conftest.$ac_objext conftest.$ac_ext
2658 ac_cpp='$CPP $CPPFLAGS'
2659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2662 DEPDIR="${am__leading_dot}deps"
2664 ac_config_commands="$ac_config_commands depfiles"
2667 am_make=${MAKE-make}
2668 cat > confinc << 'END'
2673 # If we don't find an include directive, just comment out the code.
2674 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2675 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2679 # First try GNU make style include.
2680 echo "include confinc" > confmf
2681 # We grep out `Entering directory' and `Leaving directory'
2682 # messages which can occur if `w' ends up in MAKEFLAGS.
2683 # In particular we don't look at `^make:' because GNU make might
2684 # be invoked under some other name (usually "gmake"), in which
2685 # case it prints its new name instead of `make'.
2686 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2691 # Now try BSD make style include.
2692 if test "$am__include" = "#"; then
2693 echo '.include "confinc"' > confmf
2694 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2695 am__include=.include
2702 echo "$as_me:$LINENO: result: $_am_result" >&5
2703 echo "${ECHO_T}$_am_result" >&6
2704 rm -f confinc confmf
2706 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2707 if test "${enable_dependency_tracking+set}" = set; then
2708 enableval="$enable_dependency_tracking"
2711 if test "x$enable_dependency_tracking" != xno; then
2712 am_depcomp="$ac_aux_dir/depcomp"
2717 if test "x$enable_dependency_tracking" != xno; then
2728 depcc="$CC" am_compiler_list=
2730 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2731 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2732 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2735 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2736 # We make a subdir and do the tests there. Otherwise we can end up
2737 # making bogus files that we don't know about and never remove. For
2738 # instance it was reported that on HP-UX the gcc test will end up
2739 # making a dummy file named `D' -- because `-MD' means `put the output
2742 # Copy depcomp to subdir because otherwise we won't find it if we're
2743 # using a relative directory.
2744 cp "$am_depcomp" conftest.dir
2746 # We will build objects and dependencies in a subdirectory because
2747 # it helps to detect inapplicable dependency modes. For instance
2748 # both Tru64's cc and ICC support -MD to output dependencies as a
2749 # side effect of compilation, but ICC will put the dependencies in
2750 # the current directory while Tru64 will put them in the object
2754 am_cv_CC_dependencies_compiler_type=none
2755 if test "$am_compiler_list" = ""; then
2756 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2758 for depmode in $am_compiler_list; do
2759 # Setup a source with many dependencies, because some compilers
2760 # like to wrap large dependency lists on column 80 (with \), and
2761 # we should not choose a depcomp mode which is confused by this.
2763 # We need to recreate these files for each test, as the compiler may
2764 # overwrite some of them when testing with obscure command lines.
2765 # This happens at least with the AIX C compiler.
2767 for i in 1 2 3 4 5 6; do
2768 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2771 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2775 # after this tag, mechanisms are not by side-effect, so they'll
2776 # only be used when explicitly requested
2777 if test "x$enable_dependency_tracking" = xyes; then
2785 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2786 # mode. It turns out that the SunPro C++ compiler does not properly
2787 # handle `-M -o', and we need to detect this.
2788 if depmode=$depmode \
2789 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2790 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2791 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2792 >/dev/null 2>conftest.err &&
2793 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2794 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2795 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2796 # icc doesn't choke on unknown options, it will just issue warnings
2797 # (even with -Werror). So we grep stderr for any message
2798 # that says an option was ignored.
2799 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2800 am_cv_CC_dependencies_compiler_type=$depmode
2809 am_cv_CC_dependencies_compiler_type=none
2813 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2814 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2815 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2820 test "x$enable_dependency_tracking" != xno \
2821 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2823 am__fastdepCC_FALSE='#'
2825 am__fastdepCC_TRUE='#'
2826 am__fastdepCC_FALSE=
2832 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2833 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2834 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 ac_check_lib_save_LIBS=$LIBS
2838 LIBS="-lcposix $LIBS"
2839 cat >conftest.$ac_ext <<_ACEOF
2840 #line $LINENO "configure"
2843 cat confdefs.h >>conftest.$ac_ext
2844 cat >>conftest.$ac_ext <<_ACEOF
2845 /* end confdefs.h. */
2847 /* Override any gcc2 internal prototype to avoid an error. */
2851 /* We use char because int might match the return type of a gcc2
2852 builtin and then its argument prototype would still apply. */
2862 rm -f conftest.$ac_objext conftest$ac_exeext
2863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2864 (eval $ac_link) 2>&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } &&
2868 { ac_try='test -s conftest$ac_exeext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2874 ac_cv_lib_cposix_strerror=yes
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2879 ac_cv_lib_cposix_strerror=no
2881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2882 LIBS=$ac_check_lib_save_LIBS
2884 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2885 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2886 if test $ac_cv_lib_cposix_strerror = yes; then
2887 LIBS="$LIBS -lcposix"
2895 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2896 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2897 if test "${am_cv_prog_cc_stdc+set}" = set; then
2898 echo $ECHO_N "(cached) $ECHO_C" >&6
2900 am_cv_prog_cc_stdc=no
2902 # Don't try gcc -ansi; that turns off useful extensions and
2903 # breaks some systems' header files.
2904 # AIX -qlanglvl=ansi
2905 # Ultrix and OSF/1 -std1
2906 # HP-UX 10.20 and later -Ae
2907 # HP-UX older versions -Aa -D_HPUX_SOURCE
2908 # SVR4 -Xc -D__EXTENSIONS__
2909 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2911 CC="$ac_save_CC $ac_arg"
2912 cat >conftest.$ac_ext <<_ACEOF
2913 #line $LINENO "configure"
2916 cat confdefs.h >>conftest.$ac_ext
2917 cat >>conftest.$ac_ext <<_ACEOF
2918 /* end confdefs.h. */
2921 #include <sys/types.h>
2922 #include <sys/stat.h>
2923 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2924 struct buf { int x; };
2925 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2926 static char *e (p, i)
2932 static char *f (char * (*g) (char **, int), char **p, ...)
2937 s = g (p, va_arg (v,int));
2941 int test (int i, double x);
2942 struct s1 {int (*f) (int a);};
2943 struct s2 {int (*f) (double a);};
2944 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2952 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2958 rm -f conftest.$ac_objext
2959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2960 (eval $ac_compile) 2>&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); } &&
2964 { ac_try='test -s conftest.$ac_objext'
2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; }; then
2970 am_cv_prog_cc_stdc="$ac_arg"; break
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2976 rm -f conftest.$ac_objext conftest.$ac_ext
2982 if test -z "$am_cv_prog_cc_stdc"; then
2983 echo "$as_me:$LINENO: result: none needed" >&5
2984 echo "${ECHO_T}none needed" >&6
2986 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2987 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2989 case "x$am_cv_prog_cc_stdc" in
2991 *) CC="$CC $am_cv_prog_cc_stdc" ;;
2995 ac_cpp='$CPP $CPPFLAGS'
2996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2999 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3000 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3001 # On Suns, sometimes $CPP names a directory.
3002 if test -n "$CPP" && test -d "$CPP"; then
3005 if test -z "$CPP"; then
3006 if test "${ac_cv_prog_CPP+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 # Double quotes because CPP needs to be expanded
3010 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3013 for ac_c_preproc_warn_flag in '' yes
3015 # Use a header file that comes with gcc, so configuring glibc
3016 # with a fresh cross-compiler works.
3017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3018 # <limits.h> exists even on freestanding compilers.
3019 # On the NeXT, cc -E runs the code through the compiler's parser,
3020 # not just through cpp. "Syntax error" is here to catch this case.
3021 cat >conftest.$ac_ext <<_ACEOF
3022 #line $LINENO "configure"
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3029 # include <limits.h>
3031 # include <assert.h>
3035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3038 grep -v '^ *+' conftest.er1 >conftest.err
3040 cat conftest.err >&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); } >/dev/null; then
3043 if test -s conftest.err; then
3044 ac_cpp_err=$ac_c_preproc_warn_flag
3051 if test -z "$ac_cpp_err"; then
3054 echo "$as_me: failed program was:" >&5
3055 sed 's/^/| /' conftest.$ac_ext >&5
3057 # Broken: fails on valid input.
3060 rm -f conftest.err conftest.$ac_ext
3062 # OK, works on sane cases. Now check whether non-existent headers
3063 # can be detected and how.
3064 cat >conftest.$ac_ext <<_ACEOF
3065 #line $LINENO "configure"
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3070 /* end confdefs.h. */
3071 #include <ac_nonexistent.h>
3073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3076 grep -v '^ *+' conftest.er1 >conftest.err
3078 cat conftest.err >&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } >/dev/null; then
3081 if test -s conftest.err; then
3082 ac_cpp_err=$ac_c_preproc_warn_flag
3089 if test -z "$ac_cpp_err"; then
3090 # Broken: success on invalid input.
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3096 # Passes both tests.
3100 rm -f conftest.err conftest.$ac_ext
3103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3104 rm -f conftest.err conftest.$ac_ext
3105 if $ac_preproc_ok; then
3117 echo "$as_me:$LINENO: result: $CPP" >&5
3118 echo "${ECHO_T}$CPP" >&6
3120 for ac_c_preproc_warn_flag in '' yes
3122 # Use a header file that comes with gcc, so configuring glibc
3123 # with a fresh cross-compiler works.
3124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3125 # <limits.h> exists even on freestanding compilers.
3126 # On the NeXT, cc -E runs the code through the compiler's parser,
3127 # not just through cpp. "Syntax error" is here to catch this case.
3128 cat >conftest.$ac_ext <<_ACEOF
3129 #line $LINENO "configure"
3132 cat confdefs.h >>conftest.$ac_ext
3133 cat >>conftest.$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3136 # include <limits.h>
3138 # include <assert.h>
3142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3145 grep -v '^ *+' conftest.er1 >conftest.err
3147 cat conftest.err >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } >/dev/null; then
3150 if test -s conftest.err; then
3151 ac_cpp_err=$ac_c_preproc_warn_flag
3158 if test -z "$ac_cpp_err"; then
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3164 # Broken: fails on valid input.
3167 rm -f conftest.err conftest.$ac_ext
3169 # OK, works on sane cases. Now check whether non-existent headers
3170 # can be detected and how.
3171 cat >conftest.$ac_ext <<_ACEOF
3172 #line $LINENO "configure"
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3178 #include <ac_nonexistent.h>
3180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3183 grep -v '^ *+' conftest.er1 >conftest.err
3185 cat conftest.err >&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } >/dev/null; then
3188 if test -s conftest.err; then
3189 ac_cpp_err=$ac_c_preproc_warn_flag
3196 if test -z "$ac_cpp_err"; then
3197 # Broken: success on invalid input.
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 # Passes both tests.
3207 rm -f conftest.err conftest.$ac_ext
3210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3211 rm -f conftest.err conftest.$ac_ext
3212 if $ac_preproc_ok; then
3215 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3216 See \`config.log' for more details." >&5
3217 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3218 See \`config.log' for more details." >&2;}
3219 { (exit 1); exit 1; }; }
3223 ac_cpp='$CPP $CPPFLAGS'
3224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3229 echo "$as_me:$LINENO: checking for egrep" >&5
3230 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3231 if test "${ac_cv_prog_egrep+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3235 then ac_cv_prog_egrep='grep -E'
3236 else ac_cv_prog_egrep='egrep'
3239 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3240 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3241 EGREP=$ac_cv_prog_egrep
3244 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3254 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3255 inttypes.h stdint.h unistd.h
3257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3258 echo "$as_me:$LINENO: checking for $ac_header" >&5
3259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 cat >conftest.$ac_ext <<_ACEOF
3264 #line $LINENO "configure"
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3270 $ac_includes_default
3272 #include <$ac_header>
3274 rm -f conftest.$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3276 (eval $ac_compile) 2>&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } &&
3280 { ac_try='test -s conftest.$ac_objext'
3281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; }; then
3286 eval "$as_ac_Header=yes"
3288 echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3291 eval "$as_ac_Header=no"
3293 rm -f conftest.$ac_objext conftest.$ac_ext
3295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3298 cat >>confdefs.h <<_ACEOF
3299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3309 echo "$as_me:$LINENO: checking for function prototypes" >&5
3310 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
3311 if test "$am_cv_prog_cc_stdc" != no; then
3312 echo "$as_me:$LINENO: result: yes" >&5
3313 echo "${ECHO_T}yes" >&6
3315 cat >>confdefs.h <<\_ACEOF
3316 #define PROTOTYPES 1
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3323 U=_ ANSI2KNR=./ansi2knr
3325 # Ensure some checks needed by ansi2knr itself.
3326 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3327 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3328 if test "${ac_cv_header_stdc+set}" = set; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3331 cat >conftest.$ac_ext <<_ACEOF
3332 #line $LINENO "configure"
3335 cat confdefs.h >>conftest.$ac_ext
3336 cat >>conftest.$ac_ext <<_ACEOF
3337 /* end confdefs.h. */
3351 rm -f conftest.$ac_objext
3352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3353 (eval $ac_compile) 2>&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } &&
3357 { ac_try='test -s conftest.$ac_objext'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3363 ac_cv_header_stdc=yes
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 ac_cv_header_stdc=no
3370 rm -f conftest.$ac_objext conftest.$ac_ext
3372 if test $ac_cv_header_stdc = yes; then
3373 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3374 cat >conftest.$ac_ext <<_ACEOF
3375 #line $LINENO "configure"
3378 cat confdefs.h >>conftest.$ac_ext
3379 cat >>conftest.$ac_ext <<_ACEOF
3380 /* end confdefs.h. */
3384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3385 $EGREP "memchr" >/dev/null 2>&1; then
3388 ac_cv_header_stdc=no
3394 if test $ac_cv_header_stdc = yes; then
3395 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3396 cat >conftest.$ac_ext <<_ACEOF
3397 #line $LINENO "configure"
3400 cat confdefs.h >>conftest.$ac_ext
3401 cat >>conftest.$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3407 $EGREP "free" >/dev/null 2>&1; then
3410 ac_cv_header_stdc=no
3416 if test $ac_cv_header_stdc = yes; then
3417 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3418 if test "$cross_compiling" = yes; then
3421 cat >conftest.$ac_ext <<_ACEOF
3422 #line $LINENO "configure"
3425 cat confdefs.h >>conftest.$ac_ext
3426 cat >>conftest.$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3429 #if ((' ' & 0x0FF) == 0x020)
3430 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3431 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3433 # define ISLOWER(c) \
3434 (('a' <= (c) && (c) <= 'i') \
3435 || ('j' <= (c) && (c) <= 'r') \
3436 || ('s' <= (c) && (c) <= 'z'))
3437 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3440 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3445 for (i = 0; i < 256; i++)
3446 if (XOR (islower (i), ISLOWER (i))
3447 || toupper (i) != TOUPPER (i))
3452 rm -f conftest$ac_exeext
3453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3454 (eval $ac_link) 2>&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3465 echo "$as_me: program exited with status $ac_status" >&5
3466 echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3470 ac_cv_header_stdc=no
3472 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3476 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3477 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3478 if test $ac_cv_header_stdc = yes; then
3480 cat >>confdefs.h <<\_ACEOF
3481 #define STDC_HEADERS 1
3487 for ac_header in string.h
3489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3491 echo "$as_me:$LINENO: checking for $ac_header" >&5
3492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3499 # Is the header compilable?
3500 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3502 cat >conftest.$ac_ext <<_ACEOF
3503 #line $LINENO "configure"
3506 cat confdefs.h >>conftest.$ac_ext
3507 cat >>conftest.$ac_ext <<_ACEOF
3508 /* end confdefs.h. */
3509 $ac_includes_default
3510 #include <$ac_header>
3512 rm -f conftest.$ac_objext
3513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514 (eval $ac_compile) 2>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try='test -s conftest.$ac_objext'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; }; then
3524 ac_header_compiler=yes
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3529 ac_header_compiler=no
3531 rm -f conftest.$ac_objext conftest.$ac_ext
3532 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3533 echo "${ECHO_T}$ac_header_compiler" >&6
3535 # Is the header present?
3536 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3537 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3538 cat >conftest.$ac_ext <<_ACEOF
3539 #line $LINENO "configure"
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <$ac_header>
3547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3550 grep -v '^ *+' conftest.er1 >conftest.err
3552 cat conftest.err >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); } >/dev/null; then
3555 if test -s conftest.err; then
3556 ac_cpp_err=$ac_c_preproc_warn_flag
3563 if test -z "$ac_cpp_err"; then
3564 ac_header_preproc=yes
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 ac_header_preproc=no
3571 rm -f conftest.err conftest.$ac_ext
3572 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3573 echo "${ECHO_T}$ac_header_preproc" >&6
3575 # So? What about this header?
3576 case $ac_header_compiler:$ac_header_preproc in
3578 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3579 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3584 ## ------------------------------------ ##
3585 ## Report this to bug-autoconf@gnu.org. ##
3586 ## ------------------------------------ ##
3589 sed "s/^/$as_me: WARNING: /" >&2
3592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3600 ## ------------------------------------ ##
3601 ## Report this to bug-autoconf@gnu.org. ##
3602 ## ------------------------------------ ##
3605 sed "s/^/$as_me: WARNING: /" >&2
3608 echo "$as_me:$LINENO: checking for $ac_header" >&5
3609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 eval "$as_ac_Header=$ac_header_preproc"
3615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3620 cat >>confdefs.h <<_ACEOF
3621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3629 if test "x$U" != "x"; then
3630 { { echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
3631 echo "$as_me: error: Compiler not ANSI compliant" >&2;}
3632 { (exit 1); exit 1; }; }
3635 ac_cpp='$CPP $CPPFLAGS'
3636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3639 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3640 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3641 # On Suns, sometimes $CPP names a directory.
3642 if test -n "$CPP" && test -d "$CPP"; then
3645 if test -z "$CPP"; then
3646 if test "${ac_cv_prog_CPP+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 # Double quotes because CPP needs to be expanded
3650 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3653 for ac_c_preproc_warn_flag in '' yes
3655 # Use a header file that comes with gcc, so configuring glibc
3656 # with a fresh cross-compiler works.
3657 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3658 # <limits.h> exists even on freestanding compilers.
3659 # On the NeXT, cc -E runs the code through the compiler's parser,
3660 # not just through cpp. "Syntax error" is here to catch this case.
3661 cat >conftest.$ac_ext <<_ACEOF
3662 #line $LINENO "configure"
3665 cat confdefs.h >>conftest.$ac_ext
3666 cat >>conftest.$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3669 # include <limits.h>
3671 # include <assert.h>
3675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3678 grep -v '^ *+' conftest.er1 >conftest.err
3680 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } >/dev/null; then
3683 if test -s conftest.err; then
3684 ac_cpp_err=$ac_c_preproc_warn_flag
3691 if test -z "$ac_cpp_err"; then
3694 echo "$as_me: failed program was:" >&5
3695 sed 's/^/| /' conftest.$ac_ext >&5
3697 # Broken: fails on valid input.
3700 rm -f conftest.err conftest.$ac_ext
3702 # OK, works on sane cases. Now check whether non-existent headers
3703 # can be detected and how.
3704 cat >conftest.$ac_ext <<_ACEOF
3705 #line $LINENO "configure"
3708 cat confdefs.h >>conftest.$ac_ext
3709 cat >>conftest.$ac_ext <<_ACEOF
3710 /* end confdefs.h. */
3711 #include <ac_nonexistent.h>
3713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3716 grep -v '^ *+' conftest.er1 >conftest.err
3718 cat conftest.err >&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); } >/dev/null; then
3721 if test -s conftest.err; then
3722 ac_cpp_err=$ac_c_preproc_warn_flag
3729 if test -z "$ac_cpp_err"; then
3730 # Broken: success on invalid input.
3733 echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 # Passes both tests.
3740 rm -f conftest.err conftest.$ac_ext
3743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3744 rm -f conftest.err conftest.$ac_ext
3745 if $ac_preproc_ok; then
3757 echo "$as_me:$LINENO: result: $CPP" >&5
3758 echo "${ECHO_T}$CPP" >&6
3760 for ac_c_preproc_warn_flag in '' yes
3762 # Use a header file that comes with gcc, so configuring glibc
3763 # with a fresh cross-compiler works.
3764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3765 # <limits.h> exists even on freestanding compilers.
3766 # On the NeXT, cc -E runs the code through the compiler's parser,
3767 # not just through cpp. "Syntax error" is here to catch this case.
3768 cat >conftest.$ac_ext <<_ACEOF
3769 #line $LINENO "configure"
3772 cat confdefs.h >>conftest.$ac_ext
3773 cat >>conftest.$ac_ext <<_ACEOF
3774 /* end confdefs.h. */
3776 # include <limits.h>
3778 # include <assert.h>
3782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3785 grep -v '^ *+' conftest.er1 >conftest.err
3787 cat conftest.err >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } >/dev/null; then
3790 if test -s conftest.err; then
3791 ac_cpp_err=$ac_c_preproc_warn_flag
3798 if test -z "$ac_cpp_err"; then
3801 echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3804 # Broken: fails on valid input.
3807 rm -f conftest.err conftest.$ac_ext
3809 # OK, works on sane cases. Now check whether non-existent headers
3810 # can be detected and how.
3811 cat >conftest.$ac_ext <<_ACEOF
3812 #line $LINENO "configure"
3815 cat confdefs.h >>conftest.$ac_ext
3816 cat >>conftest.$ac_ext <<_ACEOF
3817 /* end confdefs.h. */
3818 #include <ac_nonexistent.h>
3820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3823 grep -v '^ *+' conftest.er1 >conftest.err
3825 cat conftest.err >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); } >/dev/null; then
3828 if test -s conftest.err; then
3829 ac_cpp_err=$ac_c_preproc_warn_flag
3836 if test -z "$ac_cpp_err"; then
3837 # Broken: success on invalid input.
3840 echo "$as_me: failed program was:" >&5
3841 sed 's/^/| /' conftest.$ac_ext >&5
3843 # Passes both tests.
3847 rm -f conftest.err conftest.$ac_ext
3850 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3851 rm -f conftest.err conftest.$ac_ext
3852 if $ac_preproc_ok; then
3855 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3856 See \`config.log' for more details." >&5
3857 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3858 See \`config.log' for more details." >&2;}
3859 { (exit 1); exit 1; }; }
3863 ac_cpp='$CPP $CPPFLAGS'
3864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3868 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3869 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3870 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
3871 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 cat >conftest.make <<\_ACEOF
3876 @echo 'ac_maketemp="$(MAKE)"'
3878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3879 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3880 if test -n "$ac_maketemp"; then
3881 eval ac_cv_prog_make_${ac_make}_set=yes
3883 eval ac_cv_prog_make_${ac_make}_set=no
3887 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3888 echo "$as_me:$LINENO: result: yes" >&5
3889 echo "${ECHO_T}yes" >&6
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3894 SET_MAKE="MAKE=${MAKE-make}"
3897 # Find a good install program. We prefer a C program (faster),
3898 # so one script is as good as another. But avoid the broken or
3899 # incompatible versions:
3900 # SysV /etc/install, /usr/sbin/install
3901 # SunOS /usr/etc/install
3902 # IRIX /sbin/install
3904 # AmigaOS /C/install, which installs bootblocks on floppy discs
3905 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3906 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3907 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3908 # ./install, which can be erroneously created by make from ./install.sh.
3909 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3910 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3911 if test -z "$INSTALL"; then
3912 if test "${ac_cv_path_install+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3919 test -z "$as_dir" && as_dir=.
3920 # Account for people who put trailing slashes in PATH elements.
3922 ./ | .// | /cC/* | \
3923 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3926 # OSF1 and SCO ODT 3.0 have their own names for install.
3927 # Don't use installbsd from OSF since it installs stuff as root
3929 for ac_prog in ginstall scoinst install; do
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3932 if test $ac_prog = install &&
3933 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3934 # AIX install. It has an incompatible calling convention.
3936 elif test $ac_prog = install &&
3937 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3938 # program-specific install script used by HP pwplus--don't use.
3941 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3953 if test "${ac_cv_path_install+set}" = set; then
3954 INSTALL=$ac_cv_path_install
3956 # As a last resort, use the slow shell script. We don't cache a
3957 # path for INSTALL within a source directory, because that will
3958 # break other packages using the cache if that directory is
3959 # removed, or if the path is relative.
3960 INSTALL=$ac_install_sh
3963 echo "$as_me:$LINENO: result: $INSTALL" >&5
3964 echo "${ECHO_T}$INSTALL" >&6
3966 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3967 # It thinks the first close brace ends the variable substitution.
3968 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3970 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3972 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3974 if test -n "$ac_tool_prefix"; then
3975 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3976 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3977 echo "$as_me:$LINENO: checking for $ac_word" >&5
3978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3979 if test "${ac_cv_prog_RANLIB+set}" = set; then
3980 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 if test -n "$RANLIB"; then
3983 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989 test -z "$as_dir" && as_dir=.
3990 for ac_exec_ext in '' $ac_executable_extensions; do
3991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3992 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 RANLIB=$ac_cv_prog_RANLIB
4002 if test -n "$RANLIB"; then
4003 echo "$as_me:$LINENO: result: $RANLIB" >&5
4004 echo "${ECHO_T}$RANLIB" >&6
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4011 if test -z "$ac_cv_prog_RANLIB"; then
4012 ac_ct_RANLIB=$RANLIB
4013 # Extract the first word of "ranlib", so it can be a program name with args.
4014 set dummy ranlib; ac_word=$2
4015 echo "$as_me:$LINENO: checking for $ac_word" >&5
4016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4017 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 if test -n "$ac_ct_RANLIB"; then
4021 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027 test -z "$as_dir" && as_dir=.
4028 for ac_exec_ext in '' $ac_executable_extensions; do
4029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4030 ac_cv_prog_ac_ct_RANLIB="ranlib"
4031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4040 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4041 if test -n "$ac_ct_RANLIB"; then
4042 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4043 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4045 echo "$as_me:$LINENO: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4049 RANLIB=$ac_ct_RANLIB
4051 RANLIB="$ac_cv_prog_RANLIB"
4054 if test -n "$ac_tool_prefix"; then
4055 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4056 set dummy ${ac_tool_prefix}ar; ac_word=$2
4057 echo "$as_me:$LINENO: checking for $ac_word" >&5
4058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4059 if test "${ac_cv_prog_AR+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 if test -n "$AR"; then
4063 ac_cv_prog_AR="$AR" # Let the user override the test.
4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 test -z "$as_dir" && as_dir=.
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4072 ac_cv_prog_AR="${ac_tool_prefix}ar"
4073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 if test -n "$AR"; then
4083 echo "$as_me:$LINENO: result: $AR" >&5
4084 echo "${ECHO_T}$AR" >&6
4086 echo "$as_me:$LINENO: result: no" >&5
4087 echo "${ECHO_T}no" >&6
4091 if test -z "$ac_cv_prog_AR"; then
4093 # Extract the first word of "ar", so it can be a program name with args.
4094 set dummy ar; ac_word=$2
4095 echo "$as_me:$LINENO: checking for $ac_word" >&5
4096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4097 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 if test -n "$ac_ct_AR"; then
4101 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 ac_cv_prog_ac_ct_AR="ar"
4111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4120 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4121 if test -n "$ac_ct_AR"; then
4122 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4123 echo "${ECHO_T}$ac_ct_AR" >&6
4125 echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6
4135 echo "$as_me:$LINENO: checking for inline" >&5
4136 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4137 if test "${ac_cv_c_inline+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 for ac_kw in inline __inline__ __inline; do
4142 cat >conftest.$ac_ext <<_ACEOF
4143 #line $LINENO "configure"
4146 cat confdefs.h >>conftest.$ac_ext
4147 cat >>conftest.$ac_ext <<_ACEOF
4148 /* end confdefs.h. */
4151 static $ac_kw foo_t static_foo () {return 0; }
4152 $ac_kw foo_t foo () {return 0; }
4156 rm -f conftest.$ac_objext
4157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4158 (eval $ac_compile) 2>&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } &&
4162 { ac_try='test -s conftest.$ac_objext'
4163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; }; then
4168 ac_cv_c_inline=$ac_kw; break
4170 echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4174 rm -f conftest.$ac_objext conftest.$ac_ext
4178 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4179 echo "${ECHO_T}$ac_cv_c_inline" >&6
4180 case $ac_cv_c_inline in
4183 cat >>confdefs.h <<\_ACEOF
4187 *) cat >>confdefs.h <<_ACEOF
4188 #define inline $ac_cv_c_inline
4193 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4194 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4195 if test "${ac_cv_c_const+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 cat >conftest.$ac_ext <<_ACEOF
4199 #line $LINENO "configure"
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4209 /* FIXME: Include the comments suggested by Paul. */
4211 /* Ultrix mips cc rejects this. */
4212 typedef int charset[2];
4214 /* SunOS 4.1.1 cc rejects this. */
4215 char const *const *ccp;
4217 /* NEC SVR4.0.2 mips cc rejects this. */
4218 struct point {int x, y;};
4219 static struct point const zero = {0,0};
4220 /* AIX XL C 1.02.0.0 rejects this.
4221 It does not let you subtract one const X* pointer from another in
4222 an arm of an if-expression whose if-part is not a constant
4224 const char *g = "string";
4225 ccp = &g + (g ? g-g : 0);
4226 /* HPUX 7.0 cc rejects these. */
4229 ccp = (char const *const *) p;
4230 { /* SCO 3.2v4 cc rejects this. */
4232 char const *s = 0 ? (char *) 0 : (char const *) 0;
4236 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4238 const int *foo = &x[0];
4241 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4242 typedef const int *iptr;
4246 { /* AIX XL C 1.02.0.0 rejects this saying
4247 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4248 struct s { int j; const int *ap[3]; };
4249 struct s *b; b->j = 5;
4251 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4260 rm -f conftest.$ac_objext
4261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4262 (eval $ac_compile) 2>&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); } &&
4266 { ac_try='test -s conftest.$ac_objext'
4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; }; then
4274 echo "$as_me: failed program was:" >&5
4275 sed 's/^/| /' conftest.$ac_ext >&5
4279 rm -f conftest.$ac_objext conftest.$ac_ext
4281 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4282 echo "${ECHO_T}$ac_cv_c_const" >&6
4283 if test $ac_cv_c_const = no; then
4285 cat >>confdefs.h <<\_ACEOF
4292 # Check whether --enable-largefile or --disable-largefile was given.
4293 if test "${enable_largefile+set}" = set; then
4294 enableval="$enable_largefile"
4297 if test "$enable_largefile" != no; then
4299 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4300 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4301 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 ac_cv_sys_largefile_CC=no
4305 if test "$GCC" != yes; then
4308 # IRIX 6.2 and later do not support large files by default,
4309 # so use the C compiler's -n32 option if that helps.
4310 cat >conftest.$ac_ext <<_ACEOF
4311 #line $LINENO "configure"
4314 cat confdefs.h >>conftest.$ac_ext
4315 cat >>conftest.$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4317 #include <sys/types.h>
4318 /* Check that off_t can represent 2**63 - 1 correctly.
4319 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4320 since some C++ compilers masquerading as C compilers
4321 incorrectly reject 9223372036854775807. */
4322 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4323 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4324 && LARGE_OFF_T % 2147483647 == 1)
4334 rm -f conftest.$ac_objext
4335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4336 (eval $ac_compile) 2>&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } &&
4340 { ac_try='test -s conftest.$ac_objext'
4341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; }; then
4348 echo "$as_me: failed program was:" >&5
4349 sed 's/^/| /' conftest.$ac_ext >&5
4352 rm -f conftest.$ac_objext
4354 rm -f conftest.$ac_objext
4355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4356 (eval $ac_compile) 2>&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } &&
4360 { ac_try='test -s conftest.$ac_objext'
4361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); }; }; then
4366 ac_cv_sys_largefile_CC=' -n32'; break
4368 echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.$ac_ext >&5
4372 rm -f conftest.$ac_objext
4376 rm -f conftest.$ac_ext
4379 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4380 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4381 if test "$ac_cv_sys_largefile_CC" != no; then
4382 CC=$CC$ac_cv_sys_largefile_CC
4385 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4386 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4387 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 ac_cv_sys_file_offset_bits=no
4392 cat >conftest.$ac_ext <<_ACEOF
4393 #line $LINENO "configure"
4396 cat confdefs.h >>conftest.$ac_ext
4397 cat >>conftest.$ac_ext <<_ACEOF
4398 /* end confdefs.h. */
4399 #include <sys/types.h>
4400 /* Check that off_t can represent 2**63 - 1 correctly.
4401 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4402 since some C++ compilers masquerading as C compilers
4403 incorrectly reject 9223372036854775807. */
4404 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4405 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4406 && LARGE_OFF_T % 2147483647 == 1)
4416 rm -f conftest.$ac_objext
4417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4418 (eval $ac_compile) 2>&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } &&
4422 { ac_try='test -s conftest.$ac_objext'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; }; then
4430 echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.$ac_ext >&5
4434 rm -f conftest.$ac_objext conftest.$ac_ext
4435 cat >conftest.$ac_ext <<_ACEOF
4436 #line $LINENO "configure"
4439 cat confdefs.h >>conftest.$ac_ext
4440 cat >>conftest.$ac_ext <<_ACEOF
4441 /* end confdefs.h. */
4442 #define _FILE_OFFSET_BITS 64
4443 #include <sys/types.h>
4444 /* Check that off_t can represent 2**63 - 1 correctly.
4445 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4446 since some C++ compilers masquerading as C compilers
4447 incorrectly reject 9223372036854775807. */
4448 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4449 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4450 && LARGE_OFF_T % 2147483647 == 1)
4460 rm -f conftest.$ac_objext
4461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4462 (eval $ac_compile) 2>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } &&
4466 { ac_try='test -s conftest.$ac_objext'
4467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }; }; then
4472 ac_cv_sys_file_offset_bits=64; break
4474 echo "$as_me: failed program was:" >&5
4475 sed 's/^/| /' conftest.$ac_ext >&5
4478 rm -f conftest.$ac_objext conftest.$ac_ext
4482 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4483 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4484 if test "$ac_cv_sys_file_offset_bits" != no; then
4486 cat >>confdefs.h <<_ACEOF
4487 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4492 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4493 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4494 if test "${ac_cv_sys_large_files+set}" = set; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4498 ac_cv_sys_large_files=no
4499 cat >conftest.$ac_ext <<_ACEOF
4500 #line $LINENO "configure"
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4506 #include <sys/types.h>
4507 /* Check that off_t can represent 2**63 - 1 correctly.
4508 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4509 since some C++ compilers masquerading as C compilers
4510 incorrectly reject 9223372036854775807. */
4511 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4512 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4513 && LARGE_OFF_T % 2147483647 == 1)
4523 rm -f conftest.$ac_objext
4524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4525 (eval $ac_compile) 2>&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } &&
4529 { ac_try='test -s conftest.$ac_objext'
4530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }; }; then
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.$ac_ext >&5
4541 rm -f conftest.$ac_objext conftest.$ac_ext
4542 cat >conftest.$ac_ext <<_ACEOF
4543 #line $LINENO "configure"
4546 cat confdefs.h >>conftest.$ac_ext
4547 cat >>conftest.$ac_ext <<_ACEOF
4548 /* end confdefs.h. */
4549 #define _LARGE_FILES 1
4550 #include <sys/types.h>
4551 /* Check that off_t can represent 2**63 - 1 correctly.
4552 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4553 since some C++ compilers masquerading as C compilers
4554 incorrectly reject 9223372036854775807. */
4555 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4556 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4557 && LARGE_OFF_T % 2147483647 == 1)
4567 rm -f conftest.$ac_objext
4568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4569 (eval $ac_compile) 2>&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } &&
4573 { ac_try='test -s conftest.$ac_objext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4579 ac_cv_sys_large_files=1; break
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4585 rm -f conftest.$ac_objext conftest.$ac_ext
4589 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4590 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4591 if test "$ac_cv_sys_large_files" != no; then
4593 cat >>confdefs.h <<_ACEOF
4594 #define _LARGE_FILES $ac_cv_sys_large_files
4602 # Extract the first word of "dbx", so it can be a program name with args.
4603 set dummy dbx; ac_word=$2
4604 echo "$as_me:$LINENO: checking for $ac_word" >&5
4605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4606 if test "${ac_cv_path_DBX+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 ac_cv_path_DBX="$DBX" # Let the user override the test with a path.
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir=.
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_path_DBX="$as_dir/$ac_word$ac_exec_ext"
4622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 test -z "$ac_cv_path_DBX" && ac_cv_path_DBX="no"
4634 if test -n "$DBX"; then
4635 echo "$as_me:$LINENO: result: $DBX" >&5
4636 echo "${ECHO_T}$DBX" >&6
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4642 # Extract the first word of "gdb", so it can be a program name with args.
4643 set dummy gdb; ac_word=$2
4644 echo "$as_me:$LINENO: checking for $ac_word" >&5
4645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4646 if test "${ac_cv_path_GDB+set}" = set; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4651 ac_cv_path_GDB="$GDB" # Let the user override the test with a path.
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext"
4662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 test -z "$ac_cv_path_GDB" && ac_cv_path_GDB="no"
4674 if test -n "$GDB"; then
4675 echo "$as_me:$LINENO: result: $GDB" >&5
4676 echo "${ECHO_T}$GDB" >&6
4678 echo "$as_me:$LINENO: result: no" >&5
4679 echo "${ECHO_T}no" >&6
4682 # Extract the first word of "sdb", so it can be a program name with args.
4683 set dummy sdb; ac_word=$2
4684 echo "$as_me:$LINENO: checking for $ac_word" >&5
4685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4686 if test "${ac_cv_path_SDB+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 ac_cv_path_SDB="$SDB" # Let the user override the test with a path.
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_path_SDB="$as_dir/$ac_word$ac_exec_ext"
4702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 test -z "$ac_cv_path_SDB" && ac_cv_path_SDB="no"
4714 if test -n "$SDB"; then
4715 echo "$as_me:$LINENO: result: $SDB" >&5
4716 echo "${ECHO_T}$SDB" >&6
4718 echo "$as_me:$LINENO: result: no" >&5
4719 echo "${ECHO_T}no" >&6
4723 if test $GDB != no ; then
4725 elif test $DBX != no ; then
4727 elif test $SDB != no ; then
4757 for ac_header in inttypes.h
4759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4761 echo "$as_me:$LINENO: checking for $ac_header" >&5
4762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4769 # Is the header compilable?
4770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4772 cat >conftest.$ac_ext <<_ACEOF
4773 #line $LINENO "configure"
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4779 $ac_includes_default
4780 #include <$ac_header>
4782 rm -f conftest.$ac_objext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784 (eval $ac_compile) 2>&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } &&
4788 { ac_try='test -s conftest.$ac_objext'
4789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; }; then
4794 ac_header_compiler=yes
4796 echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.$ac_ext >&5
4799 ac_header_compiler=no
4801 rm -f conftest.$ac_objext conftest.$ac_ext
4802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4803 echo "${ECHO_T}$ac_header_compiler" >&6
4805 # Is the header present?
4806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4808 cat >conftest.$ac_ext <<_ACEOF
4809 #line $LINENO "configure"
4812 cat confdefs.h >>conftest.$ac_ext
4813 cat >>conftest.$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 #include <$ac_header>
4817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4820 grep -v '^ *+' conftest.er1 >conftest.err
4822 cat conftest.err >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } >/dev/null; then
4825 if test -s conftest.err; then
4826 ac_cpp_err=$ac_c_preproc_warn_flag
4833 if test -z "$ac_cpp_err"; then
4834 ac_header_preproc=yes
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4839 ac_header_preproc=no
4841 rm -f conftest.err conftest.$ac_ext
4842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4843 echo "${ECHO_T}$ac_header_preproc" >&6
4845 # So? What about this header?
4846 case $ac_header_compiler:$ac_header_preproc in
4848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4854 ## ------------------------------------ ##
4855 ## Report this to bug-autoconf@gnu.org. ##
4856 ## ------------------------------------ ##
4859 sed "s/^/$as_me: WARNING: /" >&2
4862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}