2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="mutt.h"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 USE_GNUTLS_TRUE USE_GNUTLS_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'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
840 --build=BUILD configure for building on BUILD [guessed]
841 --host=HOST cross-compile to build programs to run on HOST [BUILD]
845 if test -n "$ac_init_help"; then
850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852 --disable-dependency-tracking Speeds up one-time builds
853 --enable-dependency-tracking Do not reject slow dependency extractors
854 --disable-largefile omit support for large files
855 --enable-gpgme Enable GPGME support
856 --disable-pgp Disable PGP support
857 --disable-smime Disable SMIME support
858 --enable-external-dotlock
859 Force use of an external dotlock program
860 --enable-pop Enable POP3 support
861 --enable-imap Enable IMAP support
862 --enable-nntp Enable NNTP support
863 --enable-debug Enable debugging support
864 --enable-flock Use flock() to lock files
865 --disable-fcntl Do NOT use fcntl() to lock files
866 --enable-inodesort Read files in maildir folders sorted by inode.
867 --disable-warnings Turn off compiler warnings (not recommended)
868 --enable-nfs-fix Work around an NFS with broken attributes caching
869 --enable-buffy-size Use file size attribute instead of access time
870 --enable-mailtool Enable Sun mailtool attachments support
871 --enable-compressed Enable compressed folders support
872 --enable-locales-fix The result of isprint() is unreliable
873 --enable-exact-address Enable regeneration of email addresses
874 --enable-hcache Enable header caching
875 --disable-iconv Disable iconv support
876 --disable-nls Do not use Native Language Support
879 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
880 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
881 --with-gpgme-prefix=PFX prefix where GPGME is installed (optional)
882 --with-mixmaster=PATH Include Mixmaster support
883 --with-slang=DIR Use S-Lang instead of ncurses
884 --with-curses=DIR Where ncurses is installed
885 --with-regex Use the GNU regex library
886 --with-homespool=FILE File in user's directory where new mail is spooled
887 --with-mailpath=DIR Directory where spool mailboxes are located
888 --with-docdir=PATH Specify where to put the documentation
889 --with-domain=DOMAIN Specify your DNS domain name
890 --with-gss=PFX Compile in GSSAPI authentication for IMAP
891 --with-ssl=PFX Compile in SSL support for POP/IMAP
892 --with-gnutls=PFX Compile in GNU TLS support for POP/IMAP
893 --with-nss=PFX Compile in SSL support for POP/IMAP via NSS
894 --with-gnutls=PFX Enable SSL support using gnutls
895 --with-sasl=PFX Use Cyrus SASL library for POP/IMAP authentication
896 --with-sasl2=PFX Use Cyrus SASL library version 2 for POP/IMAP
898 --with-idn=PFX Use GNU libidn for domain names
899 --with-exec-shell=SHELL Specify alternate shell (ONLY if /bin/sh is broken)
900 --without-gdbm Don't use gdbm even if it is available
901 --with-bdb=DIR Use BerkeleyDB4 if gdbm is not available
902 --with-libiconv-prefix=DIR
903 Search for libiconv in DIR/include and DIR/lib
904 --with-included-gettext Use the GNU gettext library included here
905 --without-wc-funcs Do not use the system's wchar_t functions
906 --with-libesmtp=DIR Compile in support for libesmtp for the MTA
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
917 Use these variables to override the choices made by `configure' or to help
918 it to find libraries and programs with nonstandard names/locations.
923 if test "$ac_init_help" = "recursive"; then
924 # If there are subdirs, report their specific --help.
926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
927 test -d $ac_dir || continue
930 if test "$ac_dir" != .; then
931 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
932 # A "../" for each directory in $ac_dir_suffix.
933 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
935 ac_dir_suffix= ac_top_builddir=
939 .) # No --srcdir option. We are building in place.
941 if test -z "$ac_top_builddir"; then
944 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
946 [\\/]* | ?:[\\/]* ) # Absolute path.
947 ac_srcdir=$srcdir$ac_dir_suffix;
948 ac_top_srcdir=$srcdir ;;
950 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
951 ac_top_srcdir=$ac_top_builddir$srcdir ;;
954 # Do not use `cd foo && pwd` to compute absolute paths, because
955 # the directories may not exist.
957 .) ac_abs_builddir="$ac_dir";;
960 .) ac_abs_builddir=`pwd`;;
961 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
962 *) ac_abs_builddir=`pwd`/"$ac_dir";;
965 case $ac_abs_builddir in
966 .) ac_abs_top_builddir=${ac_top_builddir}.;;
968 case ${ac_top_builddir}. in
969 .) ac_abs_top_builddir=$ac_abs_builddir;;
970 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
971 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
974 case $ac_abs_builddir in
975 .) ac_abs_srcdir=$ac_srcdir;;
978 .) ac_abs_srcdir=$ac_abs_builddir;;
979 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
980 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
983 case $ac_abs_builddir in
984 .) ac_abs_top_srcdir=$ac_top_srcdir;;
986 case $ac_top_srcdir in
987 .) ac_abs_top_srcdir=$ac_abs_builddir;;
988 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
989 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
994 # Check for guested configure; otherwise get Cygnus style configure.
995 if test -f $ac_srcdir/configure.gnu; then
997 $SHELL $ac_srcdir/configure.gnu --help=recursive
998 elif test -f $ac_srcdir/configure; then
1000 $SHELL $ac_srcdir/configure --help=recursive
1001 elif test -f $ac_srcdir/configure.ac ||
1002 test -f $ac_srcdir/configure.in; then
1004 $ac_configure --help
1006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1012 test -n "$ac_init_help" && exit 0
1013 if $ac_init_version; then
1016 Copyright (C) 2003 Free Software Foundation, Inc.
1017 This configure script is free software; the Free Software Foundation
1018 gives unlimited permission to copy, distribute and modify it.
1024 This file contains any messages produced by compilers while
1025 running configure, to aid debugging if configure makes a mistake.
1027 It was created by $as_me, which was
1028 generated by GNU Autoconf 2.59. Invocation command line was
1039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1046 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1048 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1049 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1051 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1052 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1053 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1054 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1062 test -z "$as_dir" && as_dir=.
1063 echo "PATH: $as_dir"
1078 # Keep a trace of the command line.
1079 # Strip out --no-create and --no-recursion so they do not pile up.
1080 # Strip out --silent because we don't want to record it for future runs.
1081 # Also quote any args containing shell meta-characters.
1082 # Make two passes to allow for proper duplicate-argument suppression.
1087 ac_must_keep_next=false
1093 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1095 | -silent | --silent | --silen | --sile | --sil)
1097 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1098 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1103 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1104 if test $ac_must_keep_next = true; then
1105 ac_must_keep_next=false # Got value, back to normal.
1108 *=* | --config-cache | -C | -disable-* | --disable-* \
1109 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1110 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1111 | -with-* | --with-* | -without-* | --without-* | --x)
1112 case "$ac_configure_args0 " in
1113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116 -* ) ac_must_keep_next=true ;;
1119 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1120 # Get rid of the leading space.
1126 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1127 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1129 # When interrupted or exit'd, cleanup temporary files, and complete
1130 # config.log. We remove comments because anyway the quotes in there
1131 # would cause problems or look ugly.
1132 # WARNING: Be sure not to use single quotes in there, as some shells,
1133 # such as our DU 5.0 friend, will then `close' the trap.
1134 trap 'exit_status=$?
1135 # Save into config.log some information that might help in debugging.
1140 ## ---------------- ##
1141 ## Cache variables. ##
1142 ## ---------------- ##
1145 # The following way of writing the cache mishandles newlines in values,
1148 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 ## ----------------- ##
1164 ## Output variables. ##
1165 ## ----------------- ##
1168 for ac_var in $ac_subst_vars
1170 eval ac_val=$`echo $ac_var`
1171 echo "$ac_var='"'"'$ac_val'"'"'"
1175 if test -n "$ac_subst_files"; then
1182 for ac_var in $ac_subst_files
1184 eval ac_val=$`echo $ac_var`
1185 echo "$ac_var='"'"'$ac_val'"'"'"
1190 if test -s confdefs.h; then
1197 sed "/^$/d" confdefs.h | sort
1200 test "$ac_signal" != 0 &&
1201 echo "$as_me: caught signal $ac_signal"
1202 echo "$as_me: exit $exit_status"
1204 rm -f core *.core &&
1205 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208 for ac_signal in 1 2 13 15; do
1209 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1214 rm -rf conftest* confdefs.h
1215 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 # Predefined preprocessor variables.
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_NAME "$PACKAGE_NAME"
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_STRING "$PACKAGE_STRING"
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1245 # Let the site file select an alternate cache file if it wants to.
1246 # Prefer explicitly selected file to automatically selected ones.
1247 if test -z "$CONFIG_SITE"; then
1248 if test "x$prefix" != xNONE; then
1249 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1251 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1254 for ac_site_file in $CONFIG_SITE; do
1255 if test -r "$ac_site_file"; then
1256 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1257 echo "$as_me: loading site script $ac_site_file" >&6;}
1258 sed 's/^/| /' "$ac_site_file" >&5
1263 if test -r "$cache_file"; then
1264 # Some versions of bash will fail to source /dev/null (special
1265 # files actually), so we avoid doing that.
1266 if test -f "$cache_file"; then
1267 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1268 echo "$as_me: loading cache $cache_file" >&6;}
1270 [\\/]* | ?:[\\/]* ) . $cache_file;;
1271 *) . ./$cache_file;;
1275 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1276 echo "$as_me: creating cache $cache_file" >&6;}
1280 # Check that the precious variables saved in the cache have kept the same
1282 ac_cache_corrupted=false
1283 for ac_var in `(set) 2>&1 |
1284 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1285 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1286 eval ac_new_set=\$ac_env_${ac_var}_set
1287 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1288 eval ac_new_val="\$ac_env_${ac_var}_value"
1289 case $ac_old_set,$ac_new_set in
1291 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1292 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1293 ac_cache_corrupted=: ;;
1295 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1296 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1297 ac_cache_corrupted=: ;;
1300 if test "x$ac_old_val" != "x$ac_new_val"; then
1301 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1302 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1303 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1304 echo "$as_me: former value: $ac_old_val" >&2;}
1305 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1306 echo "$as_me: current value: $ac_new_val" >&2;}
1307 ac_cache_corrupted=:
1310 # Pass precious variables to config.status.
1311 if test "$ac_new_set" = set; then
1313 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1314 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1315 *) ac_arg=$ac_var=$ac_new_val ;;
1317 case " $ac_configure_args " in
1318 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1319 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1323 if $ac_cache_corrupted; then
1324 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1325 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1326 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1327 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1328 { (exit 1); exit 1; }; }
1332 ac_cpp='$CPP $CPPFLAGS'
1333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1355 ac_config_headers="$ac_config_headers config.h"
1358 mutt_cv_version=`cat $srcdir/VERSION`
1360 am__api_version="1.7"
1362 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1363 if test -f $ac_dir/install-sh; then
1365 ac_install_sh="$ac_aux_dir/install-sh -c"
1367 elif test -f $ac_dir/install.sh; then
1369 ac_install_sh="$ac_aux_dir/install.sh -c"
1371 elif test -f $ac_dir/shtool; then
1373 ac_install_sh="$ac_aux_dir/shtool install -c"
1377 if test -z "$ac_aux_dir"; then
1378 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1379 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1380 { (exit 1); exit 1; }; }
1382 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1383 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1384 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1386 # Find a good install program. We prefer a C program (faster),
1387 # so one script is as good as another. But avoid the broken or
1388 # incompatible versions:
1389 # SysV /etc/install, /usr/sbin/install
1390 # SunOS /usr/etc/install
1391 # IRIX /sbin/install
1393 # AmigaOS /C/install, which installs bootblocks on floppy discs
1394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1397 # OS/2's system install, which has a completely different semantic
1398 # ./install, which can be erroneously created by make from ./install.sh.
1399 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1400 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1401 if test -z "$INSTALL"; then
1402 if test "${ac_cv_path_install+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 test -z "$as_dir" && as_dir=.
1410 # Account for people who put trailing slashes in PATH elements.
1412 ./ | .// | /cC/* | \
1413 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1414 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1417 # OSF1 and SCO ODT 3.0 have their own names for install.
1418 # Don't use installbsd from OSF since it installs stuff as root
1420 for ac_prog in ginstall scoinst install; do
1421 for ac_exec_ext in '' $ac_executable_extensions; do
1422 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1423 if test $ac_prog = install &&
1424 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1425 # AIX install. It has an incompatible calling convention.
1427 elif test $ac_prog = install &&
1428 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1429 # program-specific install script used by HP pwplus--don't use.
1432 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1444 if test "${ac_cv_path_install+set}" = set; then
1445 INSTALL=$ac_cv_path_install
1447 # As a last resort, use the slow shell script. We don't cache a
1448 # path for INSTALL within a source directory, because that will
1449 # break other packages using the cache if that directory is
1450 # removed, or if the path is relative.
1451 INSTALL=$ac_install_sh
1454 echo "$as_me:$LINENO: result: $INSTALL" >&5
1455 echo "${ECHO_T}$INSTALL" >&6
1457 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1458 # It thinks the first close brace ends the variable substitution.
1459 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1461 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1463 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1465 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1466 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1469 echo timestamp > conftest.file
1470 # Do `set' in a subshell so we don't clobber the current shell's
1471 # arguments. Must try -L first in case configure is actually a
1472 # symlink; some systems play weird games with the mod time of symlinks
1473 # (eg FreeBSD returns the mod time of the symlink's containing
1476 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1477 if test "$*" = "X"; then
1479 set X `ls -t $srcdir/configure conftest.file`
1482 if test "$*" != "X $srcdir/configure conftest.file" \
1483 && test "$*" != "X conftest.file $srcdir/configure"; then
1485 # If neither matched, then we have a broken ls. This can happen
1486 # if, for instance, CONFIG_SHELL is bash and it inherits a
1487 # broken ls alias from the environment. This has actually
1488 # happened. Such a system could not be considered "sane".
1489 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1490 alias in your environment" >&5
1491 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1492 alias in your environment" >&2;}
1493 { (exit 1); exit 1; }; }
1496 test "$2" = conftest.file
1502 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1503 Check your system clock" >&5
1504 echo "$as_me: error: newly created file is older than distributed files!
1505 Check your system clock" >&2;}
1506 { (exit 1); exit 1; }; }
1508 echo "$as_me:$LINENO: result: yes" >&5
1509 echo "${ECHO_T}yes" >&6
1510 test "$program_prefix" != NONE &&
1511 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1512 # Use a double $ so make ignores it.
1513 test "$program_suffix" != NONE &&
1514 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1515 # Double any \ or $. echo might interpret backslashes.
1516 # By default was `s,x,x', remove it if useless.
1517 cat <<\_ACEOF >conftest.sed
1518 s/[\\$]/&&/g;s/;s,x,x,$//
1520 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1524 # expand $ac_aux_dir to an absolute path
1525 am_aux_dir=`cd $ac_aux_dir && pwd`
1527 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1528 # Use eval to expand $SHELL
1529 if eval "$MISSING --run true"; then
1530 am_missing_run="$MISSING --run "
1533 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1534 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1537 for ac_prog in gawk mawk nawk awk
1539 # Extract the first word of "$ac_prog", so it can be a program name with args.
1540 set dummy $ac_prog; ac_word=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_AWK+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 if test -n "$AWK"; then
1547 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir=.
1554 for ac_exec_ext in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_AWK="$ac_prog"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1566 if test -n "$AWK"; then
1567 echo "$as_me:$LINENO: result: $AWK" >&5
1568 echo "${ECHO_T}$AWK" >&6
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1574 test -n "$AWK" && break
1577 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1578 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1579 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1580 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 cat >conftest.make <<\_ACEOF
1585 @echo 'ac_maketemp="$(MAKE)"'
1587 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1588 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1589 if test -n "$ac_maketemp"; then
1590 eval ac_cv_prog_make_${ac_make}_set=yes
1592 eval ac_cv_prog_make_${ac_make}_set=no
1596 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1597 echo "$as_me:$LINENO: result: yes" >&5
1598 echo "${ECHO_T}yes" >&6
1601 echo "$as_me:$LINENO: result: no" >&5
1602 echo "${ECHO_T}no" >&6
1603 SET_MAKE="MAKE=${MAKE-make}"
1606 rm -rf .tst 2>/dev/null
1607 mkdir .tst 2>/dev/null
1608 if test -d .tst; then
1613 rmdir .tst 2>/dev/null
1615 # test to see if srcdir already configured
1616 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1617 test -f $srcdir/config.status; then
1618 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1619 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1620 { (exit 1); exit 1; }; }
1623 # test whether we have cygpath
1624 if test -z "$CYGPATH_W"; then
1625 if (cygpath --version) >/dev/null 2>/dev/null; then
1626 CYGPATH_W='cygpath -w'
1633 # Define the identity of the package.
1635 VERSION=$mutt_cv_version
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE "$PACKAGE"
1643 cat >>confdefs.h <<_ACEOF
1644 #define VERSION "$VERSION"
1647 # Some tools Automake needs.
1649 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1652 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1655 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1658 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1661 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1664 AMTAR=${AMTAR-"${am_missing_run}tar"}
1666 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1668 # Installed binaries are usually stripped using `strip' when the user
1669 # run `make install-strip'. However `strip' might not be the right
1670 # tool to use in cross-compilation environments, therefore Automake
1671 # will honor the `STRIP' environment variable to overrule this program.
1672 if test "$cross_compiling" != no; then
1673 if test -n "$ac_tool_prefix"; then
1674 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1675 set dummy ${ac_tool_prefix}strip; ac_word=$2
1676 echo "$as_me:$LINENO: checking for $ac_word" >&5
1677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1678 if test "${ac_cv_prog_STRIP+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 if test -n "$STRIP"; then
1682 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 test -z "$as_dir" && as_dir=.
1689 for ac_exec_ext in '' $ac_executable_extensions; do
1690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1691 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 STRIP=$ac_cv_prog_STRIP
1701 if test -n "$STRIP"; then
1702 echo "$as_me:$LINENO: result: $STRIP" >&5
1703 echo "${ECHO_T}$STRIP" >&6
1705 echo "$as_me:$LINENO: result: no" >&5
1706 echo "${ECHO_T}no" >&6
1710 if test -z "$ac_cv_prog_STRIP"; then
1712 # Extract the first word of "strip", so it can be a program name with args.
1713 set dummy strip; ac_word=$2
1714 echo "$as_me:$LINENO: checking for $ac_word" >&5
1715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1716 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1717 echo $ECHO_N "(cached) $ECHO_C" >&6
1719 if test -n "$ac_ct_STRIP"; then
1720 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1726 test -z "$as_dir" && as_dir=.
1727 for ac_exec_ext in '' $ac_executable_extensions; do
1728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1729 ac_cv_prog_ac_ct_STRIP="strip"
1730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1739 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1740 if test -n "$ac_ct_STRIP"; then
1741 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1742 echo "${ECHO_T}$ac_ct_STRIP" >&6
1744 echo "$as_me:$LINENO: result: no" >&5
1745 echo "${ECHO_T}no" >&6
1750 STRIP="$ac_cv_prog_STRIP"
1754 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1756 # We need awk for the "check" target. The system "awk" is bad on
1764 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"
1766 # Make sure we can run config.sub.
1767 $ac_config_sub sun4 >/dev/null 2>&1 ||
1768 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1769 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1770 { (exit 1); exit 1; }; }
1772 echo "$as_me:$LINENO: checking build system type" >&5
1773 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1774 if test "${ac_cv_build+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 ac_cv_build_alias=$build_alias
1778 test -z "$ac_cv_build_alias" &&
1779 ac_cv_build_alias=`$ac_config_guess`
1780 test -z "$ac_cv_build_alias" &&
1781 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1782 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1783 { (exit 1); exit 1; }; }
1784 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1785 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1786 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1787 { (exit 1); exit 1; }; }
1790 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1791 echo "${ECHO_T}$ac_cv_build" >&6
1793 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1794 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1795 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1798 echo "$as_me:$LINENO: checking host system type" >&5
1799 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1800 if test "${ac_cv_host+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 ac_cv_host_alias=$host_alias
1804 test -z "$ac_cv_host_alias" &&
1805 ac_cv_host_alias=$ac_cv_build_alias
1806 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1807 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1808 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1809 { (exit 1); exit 1; }; }
1812 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1813 echo "${ECHO_T}$ac_cv_host" >&6
1815 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1816 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1817 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1821 echo "$as_me:$LINENO: checking for prefix" >&5
1822 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
1823 if test x$prefix = xNONE; then
1824 mutt_cv_prefix=$ac_default_prefix
1826 mutt_cv_prefix=$prefix
1828 echo "$as_me:$LINENO: result: $mutt_cv_prefix" >&5
1829 echo "${ECHO_T}$mutt_cv_prefix" >&6
1832 ac_cpp='$CPP $CPPFLAGS'
1833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1836 if test -n "$ac_tool_prefix"; then
1837 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1838 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_CC+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 if test -n "$CC"; then
1845 ac_cv_prog_CC="$CC" # Let the user override the test.
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 if test -n "$CC"; then
1865 echo "$as_me:$LINENO: result: $CC" >&5
1866 echo "${ECHO_T}$CC" >&6
1868 echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6
1873 if test -z "$ac_cv_prog_CC"; then
1875 # Extract the first word of "gcc", so it can be a program name with args.
1876 set dummy gcc; ac_word=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$ac_ct_CC"; then
1883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 test -z "$as_dir" && as_dir=.
1890 for ac_exec_ext in '' $ac_executable_extensions; do
1891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892 ac_cv_prog_ac_ct_CC="gcc"
1893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1902 if test -n "$ac_ct_CC"; then
1903 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1904 echo "${ECHO_T}$ac_ct_CC" >&6
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1915 if test -z "$CC"; then
1916 if test -n "$ac_tool_prefix"; then
1917 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1918 set dummy ${ac_tool_prefix}cc; ac_word=$2
1919 echo "$as_me:$LINENO: checking for $ac_word" >&5
1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1921 if test "${ac_cv_prog_CC+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 if test -n "$CC"; then
1925 ac_cv_prog_CC="$CC" # Let the user override the test.
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 test -z "$as_dir" && as_dir=.
1932 for ac_exec_ext in '' $ac_executable_extensions; do
1933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1934 ac_cv_prog_CC="${ac_tool_prefix}cc"
1935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 if test -n "$CC"; then
1945 echo "$as_me:$LINENO: result: $CC" >&5
1946 echo "${ECHO_T}$CC" >&6
1948 echo "$as_me:$LINENO: result: no" >&5
1949 echo "${ECHO_T}no" >&6
1953 if test -z "$ac_cv_prog_CC"; then
1955 # Extract the first word of "cc", so it can be a program name with args.
1956 set dummy cc; ac_word=$2
1957 echo "$as_me:$LINENO: checking for $ac_word" >&5
1958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1960 echo $ECHO_N "(cached) $ECHO_C" >&6
1962 if test -n "$ac_ct_CC"; then
1963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir=.
1970 for ac_exec_ext in '' $ac_executable_extensions; do
1971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1972 ac_cv_prog_ac_ct_CC="cc"
1973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1982 if test -n "$ac_ct_CC"; then
1983 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1984 echo "${ECHO_T}$ac_ct_CC" >&6
1986 echo "$as_me:$LINENO: result: no" >&5
1987 echo "${ECHO_T}no" >&6
1996 if test -z "$CC"; then
1997 # Extract the first word of "cc", so it can be a program name with args.
1998 set dummy cc; ac_word=$2
1999 echo "$as_me:$LINENO: checking for $ac_word" >&5
2000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2001 if test "${ac_cv_prog_CC+set}" = set; then
2002 echo $ECHO_N "(cached) $ECHO_C" >&6
2004 if test -n "$CC"; then
2005 ac_cv_prog_CC="$CC" # Let the user override the test.
2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir=.
2013 for ac_exec_ext in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2016 ac_prog_rejected=yes
2020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 if test $ac_prog_rejected = yes; then
2027 # We found a bogon in the path, so make sure we never use it.
2028 set dummy $ac_cv_prog_CC
2030 if test $# != 0; then
2031 # We chose a different compiler from the bogus one.
2032 # However, it has the same basename, so the bogon will be chosen
2033 # first if we set CC to just the basename; use the full file name.
2035 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2041 if test -n "$CC"; then
2042 echo "$as_me:$LINENO: result: $CC" >&5
2043 echo "${ECHO_T}$CC" >&6
2045 echo "$as_me:$LINENO: result: no" >&5
2046 echo "${ECHO_T}no" >&6
2050 if test -z "$CC"; then
2051 if test -n "$ac_tool_prefix"; then
2054 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2055 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2056 echo "$as_me:$LINENO: checking for $ac_word" >&5
2057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2058 if test "${ac_cv_prog_CC+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 if test -n "$CC"; then
2062 ac_cv_prog_CC="$CC" # Let the user override the test.
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 if test -n "$CC"; then
2082 echo "$as_me:$LINENO: result: $CC" >&5
2083 echo "${ECHO_T}$CC" >&6
2085 echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6
2089 test -n "$CC" && break
2092 if test -z "$CC"; then
2096 # Extract the first word of "$ac_prog", so it can be a program name with args.
2097 set dummy $ac_prog; ac_word=$2
2098 echo "$as_me:$LINENO: checking for $ac_word" >&5
2099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2100 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 if test -n "$ac_ct_CC"; then
2104 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir=.
2111 for ac_exec_ext in '' $ac_executable_extensions; do
2112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2113 ac_cv_prog_ac_ct_CC="$ac_prog"
2114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2123 if test -n "$ac_ct_CC"; then
2124 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2125 echo "${ECHO_T}$ac_ct_CC" >&6
2127 echo "$as_me:$LINENO: result: no" >&5
2128 echo "${ECHO_T}no" >&6
2131 test -n "$ac_ct_CC" && break
2140 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2141 See \`config.log' for more details." >&5
2142 echo "$as_me: error: no acceptable C compiler found in \$PATH
2143 See \`config.log' for more details." >&2;}
2144 { (exit 1); exit 1; }; }
2146 # Provide some information about the compiler.
2147 echo "$as_me:$LINENO:" \
2148 "checking for C compiler version" >&5
2149 ac_compiler=`set X $ac_compile; echo $2`
2150 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2151 (eval $ac_compiler --version </dev/null >&5) 2>&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }
2155 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2156 (eval $ac_compiler -v </dev/null >&5) 2>&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }
2160 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2161 (eval $ac_compiler -V </dev/null >&5) 2>&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }
2166 cat >conftest.$ac_ext <<_ACEOF
2169 cat confdefs.h >>conftest.$ac_ext
2170 cat >>conftest.$ac_ext <<_ACEOF
2171 /* end confdefs.h. */
2181 ac_clean_files_save=$ac_clean_files
2182 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2183 # Try to create an executable without -o first, disregard a.out.
2184 # It will help us diagnose broken compilers, and finding out an intuition
2186 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2187 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2188 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2189 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2190 (eval $ac_link_default) 2>&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }; then
2194 # Find the output, starting from the most likely. This scheme is
2195 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2198 # Be careful to initialize this variable, since it used to be cached.
2199 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2201 # b.out is created by i960 compilers.
2202 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2204 test -f "$ac_file" || continue
2206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2209 # This is the source file.
2212 # We found the default executable, but exeext='' is most
2216 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2217 # FIXME: I believe we export ac_cv_exeext for Libtool,
2218 # but it would be cool to find out if it's true. Does anybody
2219 # maintain Libtool? --akim.
2227 echo "$as_me: failed program was:" >&5
2228 sed 's/^/| /' conftest.$ac_ext >&5
2230 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2231 See \`config.log' for more details." >&5
2232 echo "$as_me: error: C compiler cannot create executables
2233 See \`config.log' for more details." >&2;}
2234 { (exit 77); exit 77; }; }
2237 ac_exeext=$ac_cv_exeext
2238 echo "$as_me:$LINENO: result: $ac_file" >&5
2239 echo "${ECHO_T}$ac_file" >&6
2241 # Check the compiler produces executables we can run. If not, either
2242 # the compiler is broken, or we cross compile.
2243 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2244 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2245 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2246 # If not cross compiling, check that we can run a simple program.
2247 if test "$cross_compiling" != yes; then
2248 if { ac_try='./$ac_file'
2249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }; }; then
2256 if test "$cross_compiling" = maybe; then
2259 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2260 If you meant to cross compile, use \`--host'.
2261 See \`config.log' for more details." >&5
2262 echo "$as_me: error: cannot run C compiled programs.
2263 If you meant to cross compile, use \`--host'.
2264 See \`config.log' for more details." >&2;}
2265 { (exit 1); exit 1; }; }
2269 echo "$as_me:$LINENO: result: yes" >&5
2270 echo "${ECHO_T}yes" >&6
2272 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2273 ac_clean_files=$ac_clean_files_save
2274 # Check the compiler produces executables we can run. If not, either
2275 # the compiler is broken, or we cross compile.
2276 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2277 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2278 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2279 echo "${ECHO_T}$cross_compiling" >&6
2281 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2282 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2284 (eval $ac_link) 2>&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; then
2288 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2289 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2290 # work properly (i.e., refer to `conftest.exe'), while it won't with
2292 for ac_file in conftest.exe conftest conftest.*; do
2293 test -f "$ac_file" || continue
2295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2296 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2303 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2304 See \`config.log' for more details." >&5
2305 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2306 See \`config.log' for more details." >&2;}
2307 { (exit 1); exit 1; }; }
2310 rm -f conftest$ac_cv_exeext
2311 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2312 echo "${ECHO_T}$ac_cv_exeext" >&6
2314 rm -f conftest.$ac_ext
2315 EXEEXT=$ac_cv_exeext
2317 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2318 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2319 if test "${ac_cv_objext+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 cat >conftest.$ac_ext <<_ACEOF
2325 cat confdefs.h >>conftest.$ac_ext
2326 cat >>conftest.$ac_ext <<_ACEOF
2327 /* end confdefs.h. */
2337 rm -f conftest.o conftest.obj
2338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2339 (eval $ac_compile) 2>&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }; then
2343 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2346 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2351 echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.$ac_ext >&5
2354 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2355 See \`config.log' for more details." >&5
2356 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2357 See \`config.log' for more details." >&2;}
2358 { (exit 1); exit 1; }; }
2361 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2363 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2364 echo "${ECHO_T}$ac_cv_objext" >&6
2365 OBJEXT=$ac_cv_objext
2367 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2368 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2369 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 cat >conftest.$ac_ext <<_ACEOF
2375 cat confdefs.h >>conftest.$ac_ext
2376 cat >>conftest.$ac_ext <<_ACEOF
2377 /* end confdefs.h. */
2390 rm -f conftest.$ac_objext
2391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2392 (eval $ac_compile) 2>conftest.er1
2394 grep -v '^ *+' conftest.er1 >conftest.err
2396 cat conftest.err >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } &&
2399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; } &&
2405 { ac_try='test -s conftest.$ac_objext'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; }; then
2413 echo "$as_me: failed program was:" >&5
2414 sed 's/^/| /' conftest.$ac_ext >&5
2418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2419 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2422 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2423 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2424 GCC=`test $ac_compiler_gnu = yes && echo yes`
2425 ac_test_CFLAGS=${CFLAGS+set}
2426 ac_save_CFLAGS=$CFLAGS
2428 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2429 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2430 if test "${ac_cv_prog_cc_g+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 cat >conftest.$ac_ext <<_ACEOF
2436 cat confdefs.h >>conftest.$ac_ext
2437 cat >>conftest.$ac_ext <<_ACEOF
2438 /* end confdefs.h. */
2448 rm -f conftest.$ac_objext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450 (eval $ac_compile) 2>conftest.er1
2452 grep -v '^ *+' conftest.er1 >conftest.err
2454 cat conftest.err >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); } &&
2457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; } &&
2463 { ac_try='test -s conftest.$ac_objext'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; }; then
2471 echo "$as_me: failed program was:" >&5
2472 sed 's/^/| /' conftest.$ac_ext >&5
2476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2478 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2479 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2480 if test "$ac_test_CFLAGS" = set; then
2481 CFLAGS=$ac_save_CFLAGS
2482 elif test $ac_cv_prog_cc_g = yes; then
2483 if test "$GCC" = yes; then
2489 if test "$GCC" = yes; then
2495 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2496 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2497 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 ac_cv_prog_cc_stdc=no
2502 cat >conftest.$ac_ext <<_ACEOF
2505 cat confdefs.h >>conftest.$ac_ext
2506 cat >>conftest.$ac_ext <<_ACEOF
2507 /* end confdefs.h. */
2510 #include <sys/types.h>
2511 #include <sys/stat.h>
2512 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2513 struct buf { int x; };
2514 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2515 static char *e (p, i)
2521 static char *f (char * (*g) (char **, int), char **p, ...)
2526 s = g (p, va_arg (v,int));
2531 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2532 function prototypes and stuff, but not '\xHH' hex character constants.
2533 These don't provoke an error unfortunately, instead are silently treated
2534 as 'x'. The following induces an error, until -std1 is added to get
2535 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2536 array size at least. It's necessary to write '\x00'==0 to get something
2537 that's true only with -std1. */
2538 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2540 int test (int i, double x);
2541 struct s1 {int (*f) (int a);};
2542 struct s2 {int (*f) (double a);};
2543 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2549 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2554 # Don't try gcc -ansi; that turns off useful extensions and
2555 # breaks some systems' header files.
2556 # AIX -qlanglvl=ansi
2557 # Ultrix and OSF/1 -std1
2558 # HP-UX 10.20 and later -Ae
2559 # HP-UX older versions -Aa -D_HPUX_SOURCE
2560 # SVR4 -Xc -D__EXTENSIONS__
2561 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2563 CC="$ac_save_CC $ac_arg"
2564 rm -f conftest.$ac_objext
2565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2566 (eval $ac_compile) 2>conftest.er1
2568 grep -v '^ *+' conftest.er1 >conftest.err
2570 cat conftest.err >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } &&
2573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; } &&
2579 { ac_try='test -s conftest.$ac_objext'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; }; then
2585 ac_cv_prog_cc_stdc=$ac_arg
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2592 rm -f conftest.err conftest.$ac_objext
2594 rm -f conftest.$ac_ext conftest.$ac_objext
2599 case "x$ac_cv_prog_cc_stdc" in
2601 echo "$as_me:$LINENO: result: none needed" >&5
2602 echo "${ECHO_T}none needed" >&6 ;;
2604 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2605 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2606 CC="$CC $ac_cv_prog_cc_stdc" ;;
2609 # Some people use a C++ compiler to compile C. Since we use `exit',
2610 # in C++ we need to declare it. In case someone uses the same compiler
2611 # for both compiling C and C++ we need to have the C++ compiler decide
2612 # the declaration of exit, since it's the most demanding environment.
2613 cat >conftest.$ac_ext <<_ACEOF
2618 rm -f conftest.$ac_objext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2620 (eval $ac_compile) 2>conftest.er1
2622 grep -v '^ *+' conftest.er1 >conftest.err
2624 cat conftest.err >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); } &&
2627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; } &&
2633 { ac_try='test -s conftest.$ac_objext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2639 for ac_declaration in \
2641 'extern "C" void std::exit (int) throw (); using std::exit;' \
2642 'extern "C" void std::exit (int); using std::exit;' \
2643 'extern "C" void exit (int) throw ();' \
2644 'extern "C" void exit (int);' \
2647 cat >conftest.$ac_ext <<_ACEOF
2650 cat confdefs.h >>conftest.$ac_ext
2651 cat >>conftest.$ac_ext <<_ACEOF
2652 /* end confdefs.h. */
2663 rm -f conftest.$ac_objext
2664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665 (eval $ac_compile) 2>conftest.er1
2667 grep -v '^ *+' conftest.er1 >conftest.err
2669 cat conftest.err >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); } &&
2672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; } &&
2678 { ac_try='test -s conftest.$ac_objext'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; }; then
2686 echo "$as_me: failed program was:" >&5
2687 sed 's/^/| /' conftest.$ac_ext >&5
2691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2692 cat >conftest.$ac_ext <<_ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2707 rm -f conftest.$ac_objext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709 (eval $ac_compile) 2>conftest.er1
2711 grep -v '^ *+' conftest.er1 >conftest.err
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; } &&
2722 { ac_try='test -s conftest.$ac_objext'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2737 if test -n "$ac_declaration"; then
2738 echo '#ifdef __cplusplus' >>confdefs.h
2739 echo $ac_declaration >>confdefs.h
2740 echo '#endif' >>confdefs.h
2744 echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2750 ac_cpp='$CPP $CPPFLAGS'
2751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2754 DEPDIR="${am__leading_dot}deps"
2756 ac_config_commands="$ac_config_commands depfiles"
2759 am_make=${MAKE-make}
2760 cat > confinc << 'END'
2765 # If we don't find an include directive, just comment out the code.
2766 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2767 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2771 # First try GNU make style include.
2772 echo "include confinc" > confmf
2773 # We grep out `Entering directory' and `Leaving directory'
2774 # messages which can occur if `w' ends up in MAKEFLAGS.
2775 # In particular we don't look at `^make:' because GNU make might
2776 # be invoked under some other name (usually "gmake"), in which
2777 # case it prints its new name instead of `make'.
2778 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2783 # Now try BSD make style include.
2784 if test "$am__include" = "#"; then
2785 echo '.include "confinc"' > confmf
2786 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2787 am__include=.include
2794 echo "$as_me:$LINENO: result: $_am_result" >&5
2795 echo "${ECHO_T}$_am_result" >&6
2796 rm -f confinc confmf
2798 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2799 if test "${enable_dependency_tracking+set}" = set; then
2800 enableval="$enable_dependency_tracking"
2803 if test "x$enable_dependency_tracking" != xno; then
2804 am_depcomp="$ac_aux_dir/depcomp"
2809 if test "x$enable_dependency_tracking" != xno; then
2820 depcc="$CC" am_compiler_list=
2822 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2823 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2824 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2825 echo $ECHO_N "(cached) $ECHO_C" >&6
2827 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2828 # We make a subdir and do the tests there. Otherwise we can end up
2829 # making bogus files that we don't know about and never remove. For
2830 # instance it was reported that on HP-UX the gcc test will end up
2831 # making a dummy file named `D' -- because `-MD' means `put the output
2834 # Copy depcomp to subdir because otherwise we won't find it if we're
2835 # using a relative directory.
2836 cp "$am_depcomp" conftest.dir
2838 # We will build objects and dependencies in a subdirectory because
2839 # it helps to detect inapplicable dependency modes. For instance
2840 # both Tru64's cc and ICC support -MD to output dependencies as a
2841 # side effect of compilation, but ICC will put the dependencies in
2842 # the current directory while Tru64 will put them in the object
2846 am_cv_CC_dependencies_compiler_type=none
2847 if test "$am_compiler_list" = ""; then
2848 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2850 for depmode in $am_compiler_list; do
2851 # Setup a source with many dependencies, because some compilers
2852 # like to wrap large dependency lists on column 80 (with \), and
2853 # we should not choose a depcomp mode which is confused by this.
2855 # We need to recreate these files for each test, as the compiler may
2856 # overwrite some of them when testing with obscure command lines.
2857 # This happens at least with the AIX C compiler.
2859 for i in 1 2 3 4 5 6; do
2860 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2863 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2867 # after this tag, mechanisms are not by side-effect, so they'll
2868 # only be used when explicitly requested
2869 if test "x$enable_dependency_tracking" = xyes; then
2877 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2878 # mode. It turns out that the SunPro C++ compiler does not properly
2879 # handle `-M -o', and we need to detect this.
2880 if depmode=$depmode \
2881 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2882 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2883 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2884 >/dev/null 2>conftest.err &&
2885 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2886 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2887 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2888 # icc doesn't choke on unknown options, it will just issue warnings
2889 # (even with -Werror). So we grep stderr for any message
2890 # that says an option was ignored.
2891 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2892 am_cv_CC_dependencies_compiler_type=$depmode
2901 am_cv_CC_dependencies_compiler_type=none
2905 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2906 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2907 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2912 test "x$enable_dependency_tracking" != xno \
2913 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2915 am__fastdepCC_FALSE='#'
2917 am__fastdepCC_TRUE='#'
2918 am__fastdepCC_FALSE=
2924 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2925 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2926 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2927 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 ac_check_lib_save_LIBS=$LIBS
2930 LIBS="-lcposix $LIBS"
2931 cat >conftest.$ac_ext <<_ACEOF
2934 cat confdefs.h >>conftest.$ac_ext
2935 cat >>conftest.$ac_ext <<_ACEOF
2936 /* end confdefs.h. */
2938 /* Override any gcc2 internal prototype to avoid an error. */
2942 /* We use char because int might match the return type of a gcc2
2943 builtin and then its argument prototype would still apply. */
2953 rm -f conftest.$ac_objext conftest$ac_exeext
2954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2955 (eval $ac_link) 2>conftest.er1
2957 grep -v '^ *+' conftest.er1 >conftest.err
2959 cat conftest.err >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); } &&
2962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); }; } &&
2968 { ac_try='test -s conftest$ac_exeext'
2969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; }; then
2974 ac_cv_lib_cposix_strerror=yes
2976 echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2979 ac_cv_lib_cposix_strerror=no
2981 rm -f conftest.err conftest.$ac_objext \
2982 conftest$ac_exeext conftest.$ac_ext
2983 LIBS=$ac_check_lib_save_LIBS
2985 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2986 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2987 if test $ac_cv_lib_cposix_strerror = yes; then
2988 LIBS="$LIBS -lcposix"
2996 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2997 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2998 if test "${am_cv_prog_cc_stdc+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 am_cv_prog_cc_stdc=no
3003 # Don't try gcc -ansi; that turns off useful extensions and
3004 # breaks some systems' header files.
3005 # AIX -qlanglvl=ansi
3006 # Ultrix and OSF/1 -std1
3007 # HP-UX 10.20 and later -Ae
3008 # HP-UX older versions -Aa -D_HPUX_SOURCE
3009 # SVR4 -Xc -D__EXTENSIONS__
3010 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3012 CC="$ac_save_CC $ac_arg"
3013 cat >conftest.$ac_ext <<_ACEOF
3016 cat confdefs.h >>conftest.$ac_ext
3017 cat >>conftest.$ac_ext <<_ACEOF
3018 /* end confdefs.h. */
3021 #include <sys/types.h>
3022 #include <sys/stat.h>
3023 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3024 struct buf { int x; };
3025 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3026 static char *e (p, i)
3032 static char *f (char * (*g) (char **, int), char **p, ...)
3037 s = g (p, va_arg (v,int));
3041 int test (int i, double x);
3042 struct s1 {int (*f) (int a);};
3043 struct s2 {int (*f) (double a);};
3044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3052 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3058 rm -f conftest.$ac_objext
3059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3060 (eval $ac_compile) 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } &&
3067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); }; } &&
3073 { ac_try='test -s conftest.$ac_objext'
3074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }; }; then
3079 am_cv_prog_cc_stdc="$ac_arg"; break
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3091 if test -z "$am_cv_prog_cc_stdc"; then
3092 echo "$as_me:$LINENO: result: none needed" >&5
3093 echo "${ECHO_T}none needed" >&6
3095 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3096 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3098 case "x$am_cv_prog_cc_stdc" in
3100 *) CC="$CC $am_cv_prog_cc_stdc" ;;
3104 ac_cpp='$CPP $CPPFLAGS'
3105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3108 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3109 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3110 # On Suns, sometimes $CPP names a directory.
3111 if test -n "$CPP" && test -d "$CPP"; then
3114 if test -z "$CPP"; then
3115 if test "${ac_cv_prog_CPP+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 # Double quotes because CPP needs to be expanded
3119 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3122 for ac_c_preproc_warn_flag in '' yes
3124 # Use a header file that comes with gcc, so configuring glibc
3125 # with a fresh cross-compiler works.
3126 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3127 # <limits.h> exists even on freestanding compilers.
3128 # On the NeXT, cc -E runs the code through the compiler's parser,
3129 # not just through cpp. "Syntax error" is here to catch this case.
3130 cat >conftest.$ac_ext <<_ACEOF
3133 cat confdefs.h >>conftest.$ac_ext
3134 cat >>conftest.$ac_ext <<_ACEOF
3135 /* end confdefs.h. */
3137 # include <limits.h>
3139 # include <assert.h>
3143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3146 grep -v '^ *+' conftest.er1 >conftest.err
3148 cat conftest.err >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); } >/dev/null; then
3151 if test -s conftest.err; then
3152 ac_cpp_err=$ac_c_preproc_warn_flag
3153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3160 if test -z "$ac_cpp_err"; then
3163 echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3166 # Broken: fails on valid input.
3169 rm -f conftest.err conftest.$ac_ext
3171 # OK, works on sane cases. Now check whether non-existent headers
3172 # can be detected and how.
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3179 #include <ac_nonexistent.h>
3181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3184 grep -v '^ *+' conftest.er1 >conftest.err
3186 cat conftest.err >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } >/dev/null; then
3189 if test -s conftest.err; then
3190 ac_cpp_err=$ac_c_preproc_warn_flag
3191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3198 if test -z "$ac_cpp_err"; then
3199 # Broken: success on invalid input.
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3205 # Passes both tests.
3209 rm -f conftest.err conftest.$ac_ext
3212 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3213 rm -f conftest.err conftest.$ac_ext
3214 if $ac_preproc_ok; then
3226 echo "$as_me:$LINENO: result: $CPP" >&5
3227 echo "${ECHO_T}$CPP" >&6
3229 for ac_c_preproc_warn_flag in '' yes
3231 # Use a header file that comes with gcc, so configuring glibc
3232 # with a fresh cross-compiler works.
3233 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3234 # <limits.h> exists even on freestanding compilers.
3235 # On the NeXT, cc -E runs the code through the compiler's parser,
3236 # not just through cpp. "Syntax error" is here to catch this case.
3237 cat >conftest.$ac_ext <<_ACEOF
3240 cat confdefs.h >>conftest.$ac_ext
3241 cat >>conftest.$ac_ext <<_ACEOF
3242 /* end confdefs.h. */
3244 # include <limits.h>
3246 # include <assert.h>
3250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3253 grep -v '^ *+' conftest.er1 >conftest.err
3255 cat conftest.err >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); } >/dev/null; then
3258 if test -s conftest.err; then
3259 ac_cpp_err=$ac_c_preproc_warn_flag
3260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3267 if test -z "$ac_cpp_err"; then
3270 echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.$ac_ext >&5
3273 # Broken: fails on valid input.
3276 rm -f conftest.err conftest.$ac_ext
3278 # OK, works on sane cases. Now check whether non-existent headers
3279 # can be detected and how.
3280 cat >conftest.$ac_ext <<_ACEOF
3283 cat confdefs.h >>conftest.$ac_ext
3284 cat >>conftest.$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3286 #include <ac_nonexistent.h>
3288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3291 grep -v '^ *+' conftest.er1 >conftest.err
3293 cat conftest.err >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } >/dev/null; then
3296 if test -s conftest.err; then
3297 ac_cpp_err=$ac_c_preproc_warn_flag
3298 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3305 if test -z "$ac_cpp_err"; then
3306 # Broken: success on invalid input.
3309 echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.$ac_ext >&5
3312 # Passes both tests.
3316 rm -f conftest.err conftest.$ac_ext
3319 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3320 rm -f conftest.err conftest.$ac_ext
3321 if $ac_preproc_ok; then
3324 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3325 See \`config.log' for more details." >&5
3326 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3327 See \`config.log' for more details." >&2;}
3328 { (exit 1); exit 1; }; }
3332 ac_cpp='$CPP $CPPFLAGS'
3333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3338 echo "$as_me:$LINENO: checking for egrep" >&5
3339 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3340 if test "${ac_cv_prog_egrep+set}" = set; then
3341 echo $ECHO_N "(cached) $ECHO_C" >&6
3343 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3344 then ac_cv_prog_egrep='grep -E'
3345 else ac_cv_prog_egrep='egrep'
3348 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3349 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3350 EGREP=$ac_cv_prog_egrep
3353 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3363 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3364 inttypes.h stdint.h unistd.h
3366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3367 echo "$as_me:$LINENO: checking for $ac_header" >&5
3368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 cat >conftest.$ac_ext <<_ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3378 $ac_includes_default
3380 #include <$ac_header>
3382 rm -f conftest.$ac_objext
3383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3384 (eval $ac_compile) 2>conftest.er1
3386 grep -v '^ *+' conftest.er1 >conftest.err
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } &&
3391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; } &&
3397 { ac_try='test -s conftest.$ac_objext'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; }; then
3403 eval "$as_ac_Header=yes"
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3408 eval "$as_ac_Header=no"
3410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3415 cat >>confdefs.h <<_ACEOF
3416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3426 echo "$as_me:$LINENO: checking for function prototypes" >&5
3427 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
3428 if test "$am_cv_prog_cc_stdc" != no; then
3429 echo "$as_me:$LINENO: result: yes" >&5
3430 echo "${ECHO_T}yes" >&6
3432 cat >>confdefs.h <<\_ACEOF
3433 #define PROTOTYPES 1
3438 echo "$as_me:$LINENO: result: no" >&5
3439 echo "${ECHO_T}no" >&6
3440 U=_ ANSI2KNR=./ansi2knr
3442 # Ensure some checks needed by ansi2knr itself.
3443 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3444 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3445 if test "${ac_cv_header_stdc+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 cat >conftest.$ac_ext <<_ACEOF
3451 cat confdefs.h >>conftest.$ac_ext
3452 cat >>conftest.$ac_ext <<_ACEOF
3453 /* end confdefs.h. */
3467 rm -f conftest.$ac_objext
3468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3469 (eval $ac_compile) 2>conftest.er1
3471 grep -v '^ *+' conftest.er1 >conftest.err
3473 cat conftest.err >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); } &&
3476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; } &&
3482 { ac_try='test -s conftest.$ac_objext'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; }; then
3488 ac_cv_header_stdc=yes
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 ac_cv_header_stdc=no
3495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3497 if test $ac_cv_header_stdc = yes; then
3498 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3499 cat >conftest.$ac_ext <<_ACEOF
3502 cat confdefs.h >>conftest.$ac_ext
3503 cat >>conftest.$ac_ext <<_ACEOF
3504 /* end confdefs.h. */
3508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3509 $EGREP "memchr" >/dev/null 2>&1; then
3512 ac_cv_header_stdc=no
3518 if test $ac_cv_header_stdc = yes; then
3519 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3520 cat >conftest.$ac_ext <<_ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3530 $EGREP "free" >/dev/null 2>&1; then
3533 ac_cv_header_stdc=no
3539 if test $ac_cv_header_stdc = yes; then
3540 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3541 if test "$cross_compiling" = yes; then
3544 cat >conftest.$ac_ext <<_ACEOF
3547 cat confdefs.h >>conftest.$ac_ext
3548 cat >>conftest.$ac_ext <<_ACEOF
3549 /* end confdefs.h. */
3551 #if ((' ' & 0x0FF) == 0x020)
3552 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3553 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3555 # define ISLOWER(c) \
3556 (('a' <= (c) && (c) <= 'i') \
3557 || ('j' <= (c) && (c) <= 'r') \
3558 || ('s' <= (c) && (c) <= 'z'))
3559 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3562 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3567 for (i = 0; i < 256; i++)
3568 if (XOR (islower (i), ISLOWER (i))
3569 || toupper (i) != TOUPPER (i))
3574 rm -f conftest$ac_exeext
3575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3576 (eval $ac_link) 2>&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); }; }; then
3587 echo "$as_me: program exited with status $ac_status" >&5
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3592 ac_cv_header_stdc=no
3594 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3598 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3599 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3600 if test $ac_cv_header_stdc = yes; then
3602 cat >>confdefs.h <<\_ACEOF
3603 #define STDC_HEADERS 1
3609 for ac_header in string.h
3611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3613 echo "$as_me:$LINENO: checking for $ac_header" >&5
3614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3621 # Is the header compilable?
3622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3624 cat >conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 $ac_includes_default
3631 #include <$ac_header>
3633 rm -f conftest.$ac_objext
3634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3635 (eval $ac_compile) 2>conftest.er1
3637 grep -v '^ *+' conftest.er1 >conftest.err
3639 cat conftest.err >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); } &&
3642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; } &&
3648 { ac_try='test -s conftest.$ac_objext'
3649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); }; }; then
3654 ac_header_compiler=yes
3656 echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.$ac_ext >&5
3659 ac_header_compiler=no
3661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3663 echo "${ECHO_T}$ac_header_compiler" >&6
3665 # Is the header present?
3666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3668 cat >conftest.$ac_ext <<_ACEOF
3671 cat confdefs.h >>conftest.$ac_ext
3672 cat >>conftest.$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3674 #include <$ac_header>
3676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3679 grep -v '^ *+' conftest.er1 >conftest.err
3681 cat conftest.err >&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } >/dev/null; then
3684 if test -s conftest.err; then
3685 ac_cpp_err=$ac_c_preproc_warn_flag
3686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3693 if test -z "$ac_cpp_err"; then
3694 ac_header_preproc=yes
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.$ac_ext >&5
3699 ac_header_preproc=no
3701 rm -f conftest.err conftest.$ac_ext
3702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3703 echo "${ECHO_T}$ac_header_preproc" >&6
3705 # So? What about this header?
3706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3712 ac_header_preproc=yes
3715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3719 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3721 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3722 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3725 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3729 ## ------------------------------------------ ##
3730 ## Report this to the AC_PACKAGE_NAME lists. ##
3731 ## ------------------------------------------ ##
3734 sed "s/^/$as_me: WARNING: /" >&2
3737 echo "$as_me:$LINENO: checking for $ac_header" >&5
3738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 eval "$as_ac_Header=\$ac_header_preproc"
3744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3749 cat >>confdefs.h <<_ACEOF
3750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3758 if test "x$U" != "x"; then
3759 { { echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
3760 echo "$as_me: error: Compiler not ANSI compliant" >&2;}
3761 { (exit 1); exit 1; }; }
3764 ac_cpp='$CPP $CPPFLAGS'
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3769 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3770 # On Suns, sometimes $CPP names a directory.
3771 if test -n "$CPP" && test -d "$CPP"; then
3774 if test -z "$CPP"; then
3775 if test "${ac_cv_prog_CPP+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 # Double quotes because CPP needs to be expanded
3779 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3782 for ac_c_preproc_warn_flag in '' yes
3784 # Use a header file that comes with gcc, so configuring glibc
3785 # with a fresh cross-compiler works.
3786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787 # <limits.h> exists even on freestanding compilers.
3788 # On the NeXT, cc -E runs the code through the compiler's parser,
3789 # not just through cpp. "Syntax error" is here to catch this case.
3790 cat >conftest.$ac_ext <<_ACEOF
3793 cat confdefs.h >>conftest.$ac_ext
3794 cat >>conftest.$ac_ext <<_ACEOF
3795 /* end confdefs.h. */
3797 # include <limits.h>
3799 # include <assert.h>
3803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3806 grep -v '^ *+' conftest.er1 >conftest.err
3808 cat conftest.err >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } >/dev/null; then
3811 if test -s conftest.err; then
3812 ac_cpp_err=$ac_c_preproc_warn_flag
3813 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3820 if test -z "$ac_cpp_err"; then
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3826 # Broken: fails on valid input.
3829 rm -f conftest.err conftest.$ac_ext
3831 # OK, works on sane cases. Now check whether non-existent headers
3832 # can be detected and how.
3833 cat >conftest.$ac_ext <<_ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3839 #include <ac_nonexistent.h>
3841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3844 grep -v '^ *+' conftest.er1 >conftest.err
3846 cat conftest.err >&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); } >/dev/null; then
3849 if test -s conftest.err; then
3850 ac_cpp_err=$ac_c_preproc_warn_flag
3851 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3858 if test -z "$ac_cpp_err"; then
3859 # Broken: success on invalid input.
3862 echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.$ac_ext >&5
3865 # Passes both tests.
3869 rm -f conftest.err conftest.$ac_ext
3872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3873 rm -f conftest.err conftest.$ac_ext
3874 if $ac_preproc_ok; then
3886 echo "$as_me:$LINENO: result: $CPP" >&5
3887 echo "${ECHO_T}$CPP" >&6
3889 for ac_c_preproc_warn_flag in '' yes
3891 # Use a header file that comes with gcc, so configuring glibc
3892 # with a fresh cross-compiler works.
3893 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3894 # <limits.h> exists even on freestanding compilers.
3895 # On the NeXT, cc -E runs the code through the compiler's parser,
3896 # not just through cpp. "Syntax error" is here to catch this case.
3897 cat >conftest.$ac_ext <<_ACEOF
3900 cat confdefs.h >>conftest.$ac_ext
3901 cat >>conftest.$ac_ext <<_ACEOF
3902 /* end confdefs.h. */
3904 # include <limits.h>
3906 # include <assert.h>
3910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3913 grep -v '^ *+' conftest.er1 >conftest.err
3915 cat conftest.err >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); } >/dev/null; then
3918 if test -s conftest.err; then
3919 ac_cpp_err=$ac_c_preproc_warn_flag
3920 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3927 if test -z "$ac_cpp_err"; then
3930 echo "$as_me: failed program was:" >&5
3931 sed 's/^/| /' conftest.$ac_ext >&5
3933 # Broken: fails on valid input.
3936 rm -f conftest.err conftest.$ac_ext
3938 # OK, works on sane cases. Now check whether non-existent headers
3939 # can be detected and how.
3940 cat >conftest.$ac_ext <<_ACEOF
3943 cat confdefs.h >>conftest.$ac_ext
3944 cat >>conftest.$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3946 #include <ac_nonexistent.h>
3948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3951 grep -v '^ *+' conftest.er1 >conftest.err
3953 cat conftest.err >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } >/dev/null; then
3956 if test -s conftest.err; then
3957 ac_cpp_err=$ac_c_preproc_warn_flag
3958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3965 if test -z "$ac_cpp_err"; then
3966 # Broken: success on invalid input.
3969 echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.$ac_ext >&5
3972 # Passes both tests.
3976 rm -f conftest.err conftest.$ac_ext
3979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3980 rm -f conftest.err conftest.$ac_ext
3981 if $ac_preproc_ok; then
3984 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3985 See \`config.log' for more details." >&5
3986 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3987 See \`config.log' for more details." >&2;}
3988 { (exit 1); exit 1; }; }
3992 ac_cpp='$CPP $CPPFLAGS'
3993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3997 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3998 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3999 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
4000 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 cat >conftest.make <<\_ACEOF
4005 @echo 'ac_maketemp="$(MAKE)"'
4007 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4008 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4009 if test -n "$ac_maketemp"; then
4010 eval ac_cv_prog_make_${ac_make}_set=yes
4012 eval ac_cv_prog_make_${ac_make}_set=no
4016 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4017 echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6
4021 echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6
4023 SET_MAKE="MAKE=${MAKE-make}"
4026 # Find a good install program. We prefer a C program (faster),
4027 # so one script is as good as another. But avoid the broken or
4028 # incompatible versions:
4029 # SysV /etc/install, /usr/sbin/install
4030 # SunOS /usr/etc/install
4031 # IRIX /sbin/install
4033 # AmigaOS /C/install, which installs bootblocks on floppy discs
4034 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4035 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4036 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4037 # OS/2's system install, which has a completely different semantic
4038 # ./install, which can be erroneously created by make from ./install.sh.
4039 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4040 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4041 if test -z "$INSTALL"; then
4042 if test "${ac_cv_path_install+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir=.
4050 # Account for people who put trailing slashes in PATH elements.
4052 ./ | .// | /cC/* | \
4053 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4054 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4057 # OSF1 and SCO ODT 3.0 have their own names for install.
4058 # Don't use installbsd from OSF since it installs stuff as root
4060 for ac_prog in ginstall scoinst install; do
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4063 if test $ac_prog = install &&
4064 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4065 # AIX install. It has an incompatible calling convention.
4067 elif test $ac_prog = install &&
4068 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4069 # program-specific install script used by HP pwplus--don't use.
4072 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4084 if test "${ac_cv_path_install+set}" = set; then
4085 INSTALL=$ac_cv_path_install
4087 # As a last resort, use the slow shell script. We don't cache a
4088 # path for INSTALL within a source directory, because that will
4089 # break other packages using the cache if that directory is
4090 # removed, or if the path is relative.
4091 INSTALL=$ac_install_sh
4094 echo "$as_me:$LINENO: result: $INSTALL" >&5
4095 echo "${ECHO_T}$INSTALL" >&6
4097 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4098 # It thinks the first close brace ends the variable substitution.
4099 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4101 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4103 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4105 if test -n "$ac_tool_prefix"; then
4106 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4107 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4108 echo "$as_me:$LINENO: checking for $ac_word" >&5
4109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4110 if test "${ac_cv_prog_RANLIB+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 if test -n "$RANLIB"; then
4114 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120 test -z "$as_dir" && as_dir=.
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 RANLIB=$ac_cv_prog_RANLIB
4133 if test -n "$RANLIB"; then
4134 echo "$as_me:$LINENO: result: $RANLIB" >&5
4135 echo "${ECHO_T}$RANLIB" >&6
4137 echo "$as_me:$LINENO: result: no" >&5
4138 echo "${ECHO_T}no" >&6
4142 if test -z "$ac_cv_prog_RANLIB"; then
4143 ac_ct_RANLIB=$RANLIB
4144 # Extract the first word of "ranlib", so it can be a program name with args.
4145 set dummy ranlib; ac_word=$2
4146 echo "$as_me:$LINENO: checking for $ac_word" >&5
4147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4148 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 if test -n "$ac_ct_RANLIB"; then
4152 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir=.
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4161 ac_cv_prog_ac_ct_RANLIB="ranlib"
4162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4168 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4171 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4172 if test -n "$ac_ct_RANLIB"; then
4173 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4174 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4180 RANLIB=$ac_ct_RANLIB
4182 RANLIB="$ac_cv_prog_RANLIB"
4185 if test -n "$ac_tool_prefix"; then
4186 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4187 set dummy ${ac_tool_prefix}ar; ac_word=$2
4188 echo "$as_me:$LINENO: checking for $ac_word" >&5
4189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4190 if test "${ac_cv_prog_AR+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 if test -n "$AR"; then
4194 ac_cv_prog_AR="$AR" # Let the user override the test.
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir=.
4201 for ac_exec_ext in '' $ac_executable_extensions; do
4202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203 ac_cv_prog_AR="${ac_tool_prefix}ar"
4204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 if test -n "$AR"; then
4214 echo "$as_me:$LINENO: result: $AR" >&5
4215 echo "${ECHO_T}$AR" >&6
4217 echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6
4222 if test -z "$ac_cv_prog_AR"; then
4224 # Extract the first word of "ar", so it can be a program name with args.
4225 set dummy ar; ac_word=$2
4226 echo "$as_me:$LINENO: checking for $ac_word" >&5
4227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4228 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 if test -n "$ac_ct_AR"; then
4232 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir=.
4239 for ac_exec_ext in '' $ac_executable_extensions; do
4240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4241 ac_cv_prog_ac_ct_AR="ar"
4242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4251 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4252 if test -n "$ac_ct_AR"; then
4253 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4254 echo "${ECHO_T}$ac_ct_AR" >&6
4256 echo "$as_me:$LINENO: result: no" >&5
4257 echo "${ECHO_T}no" >&6
4266 echo "$as_me:$LINENO: checking for inline" >&5
4267 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4268 if test "${ac_cv_c_inline+set}" = set; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 for ac_kw in inline __inline__ __inline; do
4273 cat >conftest.$ac_ext <<_ACEOF
4276 cat confdefs.h >>conftest.$ac_ext
4277 cat >>conftest.$ac_ext <<_ACEOF
4278 /* end confdefs.h. */
4281 static $ac_kw foo_t static_foo () {return 0; }
4282 $ac_kw foo_t foo () {return 0; }
4286 rm -f conftest.$ac_objext
4287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4288 (eval $ac_compile) 2>conftest.er1
4290 grep -v '^ *+' conftest.er1 >conftest.err
4292 cat conftest.err >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); } &&
4295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); }; } &&
4301 { ac_try='test -s conftest.$ac_objext'
4302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); }; }; then
4307 ac_cv_c_inline=$ac_kw; break
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4317 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4318 echo "${ECHO_T}$ac_cv_c_inline" >&6
4321 case $ac_cv_c_inline in
4324 case $ac_cv_c_inline in
4326 *) ac_val=$ac_cv_c_inline;;
4328 cat >>confdefs.h <<_ACEOF
4330 #define inline $ac_val
4336 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4337 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4338 if test "${ac_cv_c_const+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4341 cat >conftest.$ac_ext <<_ACEOF
4344 cat confdefs.h >>conftest.$ac_ext
4345 cat >>conftest.$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4351 /* FIXME: Include the comments suggested by Paul. */
4353 /* Ultrix mips cc rejects this. */
4354 typedef int charset[2];
4356 /* SunOS 4.1.1 cc rejects this. */
4357 char const *const *ccp;
4359 /* NEC SVR4.0.2 mips cc rejects this. */
4360 struct point {int x, y;};
4361 static struct point const zero = {0,0};
4362 /* AIX XL C 1.02.0.0 rejects this.
4363 It does not let you subtract one const X* pointer from another in
4364 an arm of an if-expression whose if-part is not a constant
4366 const char *g = "string";
4367 ccp = &g + (g ? g-g : 0);
4368 /* HPUX 7.0 cc rejects these. */
4371 ccp = (char const *const *) p;
4372 { /* SCO 3.2v4 cc rejects this. */
4374 char const *s = 0 ? (char *) 0 : (char const *) 0;
4378 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4380 const int *foo = &x[0];
4383 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4384 typedef const int *iptr;
4388 { /* AIX XL C 1.02.0.0 rejects this saying
4389 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4390 struct s { int j; const int *ap[3]; };
4391 struct s *b; b->j = 5;
4393 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4402 rm -f conftest.$ac_objext
4403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4404 (eval $ac_compile) 2>conftest.er1
4406 grep -v '^ *+' conftest.er1 >conftest.err
4408 cat conftest.err >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); } &&
4411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; } &&
4417 { ac_try='test -s conftest.$ac_objext'
4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; }; then
4425 echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.$ac_ext >&5
4430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4432 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4433 echo "${ECHO_T}$ac_cv_c_const" >&6
4434 if test $ac_cv_c_const = no; then
4436 cat >>confdefs.h <<\_ACEOF
4443 # Check whether --enable-largefile or --disable-largefile was given.
4444 if test "${enable_largefile+set}" = set; then
4445 enableval="$enable_largefile"
4448 if test "$enable_largefile" != no; then
4450 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4451 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4452 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 ac_cv_sys_largefile_CC=no
4456 if test "$GCC" != yes; then
4459 # IRIX 6.2 and later do not support large files by default,
4460 # so use the C compiler's -n32 option if that helps.
4461 cat >conftest.$ac_ext <<_ACEOF
4464 cat confdefs.h >>conftest.$ac_ext
4465 cat >>conftest.$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4467 #include <sys/types.h>
4468 /* Check that off_t can represent 2**63 - 1 correctly.
4469 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4470 since some C++ compilers masquerading as C compilers
4471 incorrectly reject 9223372036854775807. */
4472 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4473 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4474 && LARGE_OFF_T % 2147483647 == 1)
4484 rm -f conftest.$ac_objext
4485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4486 (eval $ac_compile) 2>conftest.er1
4488 grep -v '^ *+' conftest.er1 >conftest.err
4490 cat conftest.err >&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } &&
4493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; } &&
4499 { ac_try='test -s conftest.$ac_objext'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; }; then
4507 echo "$as_me: failed program was:" >&5
4508 sed 's/^/| /' conftest.$ac_ext >&5
4511 rm -f conftest.err conftest.$ac_objext
4513 rm -f conftest.$ac_objext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4515 (eval $ac_compile) 2>conftest.er1
4517 grep -v '^ *+' conftest.er1 >conftest.err
4519 cat conftest.err >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } &&
4522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; } &&
4528 { ac_try='test -s conftest.$ac_objext'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; }; then
4534 ac_cv_sys_largefile_CC=' -n32'; break
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4540 rm -f conftest.err conftest.$ac_objext
4544 rm -f conftest.$ac_ext
4547 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4548 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4549 if test "$ac_cv_sys_largefile_CC" != no; then
4550 CC=$CC$ac_cv_sys_largefile_CC
4553 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4554 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4555 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4556 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 ac_cv_sys_file_offset_bits=no
4560 cat >conftest.$ac_ext <<_ACEOF
4563 cat confdefs.h >>conftest.$ac_ext
4564 cat >>conftest.$ac_ext <<_ACEOF
4565 /* end confdefs.h. */
4566 #include <sys/types.h>
4567 /* Check that off_t can represent 2**63 - 1 correctly.
4568 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4569 since some C++ compilers masquerading as C compilers
4570 incorrectly reject 9223372036854775807. */
4571 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4572 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4573 && LARGE_OFF_T % 2147483647 == 1)
4583 rm -f conftest.$ac_objext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4585 (eval $ac_compile) 2>conftest.er1
4587 grep -v '^ *+' conftest.er1 >conftest.err
4589 cat conftest.err >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; } &&
4598 { ac_try='test -s conftest.$ac_objext'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; }; then
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.$ac_ext >&5
4610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4611 cat >conftest.$ac_ext <<_ACEOF
4614 cat confdefs.h >>conftest.$ac_ext
4615 cat >>conftest.$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4617 #define _FILE_OFFSET_BITS 64
4618 #include <sys/types.h>
4619 /* Check that off_t can represent 2**63 - 1 correctly.
4620 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4621 since some C++ compilers masquerading as C compilers
4622 incorrectly reject 9223372036854775807. */
4623 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4624 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4625 && LARGE_OFF_T % 2147483647 == 1)
4635 rm -f conftest.$ac_objext
4636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4637 (eval $ac_compile) 2>conftest.er1
4639 grep -v '^ *+' conftest.er1 >conftest.err
4641 cat conftest.err >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } &&
4644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; } &&
4650 { ac_try='test -s conftest.$ac_objext'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; }; then
4656 ac_cv_sys_file_offset_bits=64; break
4658 echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.$ac_ext >&5
4662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4666 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4667 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4668 if test "$ac_cv_sys_file_offset_bits" != no; then
4670 cat >>confdefs.h <<_ACEOF
4671 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4676 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4677 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4678 if test "${ac_cv_sys_large_files+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 ac_cv_sys_large_files=no
4683 cat >conftest.$ac_ext <<_ACEOF
4686 cat confdefs.h >>conftest.$ac_ext
4687 cat >>conftest.$ac_ext <<_ACEOF
4688 /* end confdefs.h. */
4689 #include <sys/types.h>
4690 /* Check that off_t can represent 2**63 - 1 correctly.
4691 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4692 since some C++ compilers masquerading as C compilers
4693 incorrectly reject 9223372036854775807. */
4694 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4695 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4696 && LARGE_OFF_T % 2147483647 == 1)
4706 rm -f conftest.$ac_objext
4707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4708 (eval $ac_compile) 2>conftest.er1
4710 grep -v '^ *+' conftest.er1 >conftest.err
4712 cat conftest.err >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); } &&
4715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }; } &&
4721 { ac_try='test -s conftest.$ac_objext'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; }; then
4729 echo "$as_me: failed program was:" >&5
4730 sed 's/^/| /' conftest.$ac_ext >&5
4733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4734 cat >conftest.$ac_ext <<_ACEOF
4737 cat confdefs.h >>conftest.$ac_ext
4738 cat >>conftest.$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4740 #define _LARGE_FILES 1
4741 #include <sys/types.h>
4742 /* Check that off_t can represent 2**63 - 1 correctly.
4743 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4744 since some C++ compilers masquerading as C compilers
4745 incorrectly reject 9223372036854775807. */
4746 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4747 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4748 && LARGE_OFF_T % 2147483647 == 1)
4758 rm -f conftest.$ac_objext
4759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4760 (eval $ac_compile) 2>conftest.er1
4762 grep -v '^ *+' conftest.er1 >conftest.err
4764 cat conftest.err >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } &&
4767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; } &&
4773 { ac_try='test -s conftest.$ac_objext'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; }; then
4779 ac_cv_sys_large_files=1; break
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4789 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4790 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4791 if test "$ac_cv_sys_large_files" != no; then
4793 cat >>confdefs.h <<_ACEOF
4794 #define _LARGE_FILES $ac_cv_sys_large_files
4802 # Extract the first word of "dbx", so it can be a program name with args.
4803 set dummy dbx; ac_word=$2
4804 echo "$as_me:$LINENO: checking for $ac_word" >&5
4805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4806 if test "${ac_cv_path_DBX+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 ac_cv_path_DBX="$DBX" # Let the user override the test with a path.
4814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818 test -z "$as_dir" &&&nbs