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 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 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-pgp Disable PGP support
855 --disable-smime Disable SMIME support
856 --enable-external-dotlock Force use of an external dotlock program
857 --enable-pop Enable POP3 support
858 --enable-imap Enable IMAP support
859 --enable-nntp Enable NNTP support
860 --enable-debug Enable debugging support
861 --enable-flock Use flock() to lock files
862 --disable-fcntl Do NOT use fcntl() to lock files
863 --disable-inodesort Do NOT read files in maildir folders sorted by inode.
864 --disable-warnings Turn off compiler warnings (not recommended)
865 --enable-nfs-fix Work around an NFS with broken attributes caching
866 --enable-buffy-size Use file size attribute instead of access time
867 --enable-mailtool Enable Sun mailtool attachments support
868 --enable-compressed Enable compressed folders support
869 --enable-locales-fix The result of isprint() is unreliable
870 --enable-exact-address Enable regeneration of email addresses
871 --enable-hcache Enable header caching
872 --disable-iconv Disable iconv support
873 --disable-nls Do not use Native Language Support
876 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
877 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
878 --with-mixmaster=PATH Include Mixmaster support
879 --with-slang=DIR Use S-Lang instead of ncurses
880 --with-curses=DIR Where ncurses is installed
881 --with-regex Use the GNU regex library
882 --with-homespool=FILE File in user's directory where new mail is spooled
883 --with-mailpath=DIR Directory where spool mailboxes are located
884 --with-docdir=PATH Specify where to put the documentation
885 --with-domain=DOMAIN Specify your DNS domain name
886 --with-gss=PFX Compile in GSSAPI authentication for IMAP
887 --with-ssl=PFX Compile in SSL support for POP/IMAP
888 --with-gnutls=PFX Compile in GNU TLS support for POP/IMAP
889 --with-nss=PFX Compile in SSL support for POP/IMAP via NSS
890 --with-sasl=PFX Use Cyrus SASL library for POP/IMAP authentication
891 --with-sasl2=PFX Use Cyrus SASL library version 2 for POP/IMAP authentication
892 --with-idn=PFX Use GNU libidn for domain names
893 --with-exec-shell=SHELL Specify alternate shell (ONLY if /bin/sh is broken)
894 --without-gdbm Get rid of gdbm even if it is available
895 --with-bdb=DIR Use BerkeleyDB4 if gdbm is not available
896 --with-libiconv-prefix=DIR Search for libiconv in DIR/include and DIR/lib
897 --with-included-gettext Use the GNU gettext library included here
898 --without-wc-funcs Do not use the system's wchar_t functions
899 --with-libesmtp=DIR Compile in support for libesmtp for the MTA
901 Some influential environment variables:
902 CC C compiler command
903 CFLAGS C compiler flags
904 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
905 nonstandard directory <lib dir>
906 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
907 headers in a nonstandard directory <include dir>
910 Use these variables to override the choices made by `configure' or to help
911 it to find libraries and programs with nonstandard names/locations.
916 if test "$ac_init_help" = "recursive"; then
917 # If there are subdirs, report their specific --help.
919 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
920 test -d $ac_dir || continue
923 if test "$ac_dir" != .; then
924 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
925 # A "../" for each directory in $ac_dir_suffix.
926 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
928 ac_dir_suffix= ac_top_builddir=
932 .) # No --srcdir option. We are building in place.
934 if test -z "$ac_top_builddir"; then
937 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
939 [\\/]* | ?:[\\/]* ) # Absolute path.
940 ac_srcdir=$srcdir$ac_dir_suffix;
941 ac_top_srcdir=$srcdir ;;
943 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
944 ac_top_srcdir=$ac_top_builddir$srcdir ;;
947 # Do not use `cd foo && pwd` to compute absolute paths, because
948 # the directories may not exist.
950 .) ac_abs_builddir="$ac_dir";;
953 .) ac_abs_builddir=`pwd`;;
954 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
955 *) ac_abs_builddir=`pwd`/"$ac_dir";;
958 case $ac_abs_builddir in
959 .) ac_abs_top_builddir=${ac_top_builddir}.;;
961 case ${ac_top_builddir}. in
962 .) ac_abs_top_builddir=$ac_abs_builddir;;
963 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
964 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
967 case $ac_abs_builddir in
968 .) ac_abs_srcdir=$ac_srcdir;;
971 .) ac_abs_srcdir=$ac_abs_builddir;;
972 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
973 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
976 case $ac_abs_builddir in
977 .) ac_abs_top_srcdir=$ac_top_srcdir;;
979 case $ac_top_srcdir in
980 .) ac_abs_top_srcdir=$ac_abs_builddir;;
981 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
982 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
987 # Check for guested configure; otherwise get Cygnus style configure.
988 if test -f $ac_srcdir/configure.gnu; then
990 $SHELL $ac_srcdir/configure.gnu --help=recursive
991 elif test -f $ac_srcdir/configure; then
993 $SHELL $ac_srcdir/configure --help=recursive
994 elif test -f $ac_srcdir/configure.ac ||
995 test -f $ac_srcdir/configure.in; then
999 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1005 test -n "$ac_init_help" && exit 0
1006 if $ac_init_version; then
1009 Copyright (C) 2003 Free Software Foundation, Inc.
1010 This configure script is free software; the Free Software Foundation
1011 gives unlimited permission to copy, distribute and modify it.
1017 This file contains any messages produced by compilers while
1018 running configure, to aid debugging if configure makes a mistake.
1020 It was created by $as_me, which was
1021 generated by GNU Autoconf 2.59. Invocation command line was
1032 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1033 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1034 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1035 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1036 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1038 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1039 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1041 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1042 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1043 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1044 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1045 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1046 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1047 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1055 test -z "$as_dir" && as_dir=.
1056 echo "PATH: $as_dir"
1071 # Keep a trace of the command line.
1072 # Strip out --no-create and --no-recursion so they do not pile up.
1073 # Strip out --silent because we don't want to record it for future runs.
1074 # Also quote any args containing shell meta-characters.
1075 # Make two passes to allow for proper duplicate-argument suppression.
1080 ac_must_keep_next=false
1086 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1088 | -silent | --silent | --silen | --sile | --sil)
1090 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1091 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1094 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1096 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1097 if test $ac_must_keep_next = true; then
1098 ac_must_keep_next=false # Got value, back to normal.
1101 *=* | --config-cache | -C | -disable-* | --disable-* \
1102 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1103 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1104 | -with-* | --with-* | -without-* | --without-* | --x)
1105 case "$ac_configure_args0 " in
1106 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1109 -* ) ac_must_keep_next=true ;;
1112 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1113 # Get rid of the leading space.
1119 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1120 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1122 # When interrupted or exit'd, cleanup temporary files, and complete
1123 # config.log. We remove comments because anyway the quotes in there
1124 # would cause problems or look ugly.
1125 # WARNING: Be sure not to use single quotes in there, as some shells,
1126 # such as our DU 5.0 friend, will then `close' the trap.
1127 trap 'exit_status=$?
1128 # Save into config.log some information that might help in debugging.
1133 ## ---------------- ##
1134 ## Cache variables. ##
1135 ## ---------------- ##
1138 # The following way of writing the cache mishandles newlines in values,
1141 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1144 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1149 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1156 ## ----------------- ##
1157 ## Output variables. ##
1158 ## ----------------- ##
1161 for ac_var in $ac_subst_vars
1163 eval ac_val=$`echo $ac_var`
1164 echo "$ac_var='"'"'$ac_val'"'"'"
1168 if test -n "$ac_subst_files"; then
1175 for ac_var in $ac_subst_files
1177 eval ac_val=$`echo $ac_var`
1178 echo "$ac_var='"'"'$ac_val'"'"'"
1183 if test -s confdefs.h; then
1190 sed "/^$/d" confdefs.h | sort
1193 test "$ac_signal" != 0 &&
1194 echo "$as_me: caught signal $ac_signal"
1195 echo "$as_me: exit $exit_status"
1197 rm -f core *.core &&
1198 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1201 for ac_signal in 1 2 13 15; do
1202 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1206 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1207 rm -rf conftest* confdefs.h
1208 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1211 # Predefined preprocessor variables.
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_NAME "$PACKAGE_NAME"
1218 cat >>confdefs.h <<_ACEOF
1219 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1223 cat >>confdefs.h <<_ACEOF
1224 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1228 cat >>confdefs.h <<_ACEOF
1229 #define PACKAGE_STRING "$PACKAGE_STRING"
1233 cat >>confdefs.h <<_ACEOF
1234 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1238 # Let the site file select an alternate cache file if it wants to.
1239 # Prefer explicitly selected file to automatically selected ones.
1240 if test -z "$CONFIG_SITE"; then
1241 if test "x$prefix" != xNONE; then
1242 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1244 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1247 for ac_site_file in $CONFIG_SITE; do
1248 if test -r "$ac_site_file"; then
1249 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1250 echo "$as_me: loading site script $ac_site_file" >&6;}
1251 sed 's/^/| /' "$ac_site_file" >&5
1256 if test -r "$cache_file"; then
1257 # Some versions of bash will fail to source /dev/null (special
1258 # files actually), so we avoid doing that.
1259 if test -f "$cache_file"; then
1260 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1261 echo "$as_me: loading cache $cache_file" >&6;}
1263 [\\/]* | ?:[\\/]* ) . $cache_file;;
1264 *) . ./$cache_file;;
1268 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1269 echo "$as_me: creating cache $cache_file" >&6;}
1273 # Check that the precious variables saved in the cache have kept the same
1275 ac_cache_corrupted=false
1276 for ac_var in `(set) 2>&1 |
1277 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1278 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1279 eval ac_new_set=\$ac_env_${ac_var}_set
1280 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1281 eval ac_new_val="\$ac_env_${ac_var}_value"
1282 case $ac_old_set,$ac_new_set in
1284 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1285 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1286 ac_cache_corrupted=: ;;
1288 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1289 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1290 ac_cache_corrupted=: ;;
1293 if test "x$ac_old_val" != "x$ac_new_val"; then
1294 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1295 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1296 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1297 echo "$as_me: former value: $ac_old_val" >&2;}
1298 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1299 echo "$as_me: current value: $ac_new_val" >&2;}
1300 ac_cache_corrupted=:
1303 # Pass precious variables to config.status.
1304 if test "$ac_new_set" = set; then
1306 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1307 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1308 *) ac_arg=$ac_var=$ac_new_val ;;
1310 case " $ac_configure_args " in
1311 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1312 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1316 if $ac_cache_corrupted; then
1317 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1318 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1319 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1320 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1321 { (exit 1); exit 1; }; }
1325 ac_cpp='$CPP $CPPFLAGS'
1326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1348 ac_config_headers="$ac_config_headers config.h"
1351 mutt_cv_version=`cat $srcdir/VERSION`
1354 am__api_version="1.7"
1356 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1357 if test -f $ac_dir/install-sh; then
1359 ac_install_sh="$ac_aux_dir/install-sh -c"
1361 elif test -f $ac_dir/install.sh; then
1363 ac_install_sh="$ac_aux_dir/install.sh -c"
1365 elif test -f $ac_dir/shtool; then
1367 ac_install_sh="$ac_aux_dir/shtool install -c"
1371 if test -z "$ac_aux_dir"; then
1372 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1373 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1374 { (exit 1); exit 1; }; }
1376 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1377 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1378 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1380 # Find a good install program. We prefer a C program (faster),
1381 # so one script is as good as another. But avoid the broken or
1382 # incompatible versions:
1383 # SysV /etc/install, /usr/sbin/install
1384 # SunOS /usr/etc/install
1385 # IRIX /sbin/install
1387 # AmigaOS /C/install, which installs bootblocks on floppy discs
1388 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1389 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1390 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1391 # OS/2's system install, which has a completely different semantic
1392 # ./install, which can be erroneously created by make from ./install.sh.
1393 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1394 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1395 if test -z "$INSTALL"; then
1396 if test "${ac_cv_path_install+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1403 test -z "$as_dir" && as_dir=.
1404 # Account for people who put trailing slashes in PATH elements.
1406 ./ | .// | /cC/* | \
1407 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1408 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1411 # OSF1 and SCO ODT 3.0 have their own names for install.
1412 # Don't use installbsd from OSF since it installs stuff as root
1414 for ac_prog in ginstall scoinst install; do
1415 for ac_exec_ext in '' $ac_executable_extensions; do
1416 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1417 if test $ac_prog = install &&
1418 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1419 # AIX install. It has an incompatible calling convention.
1421 elif test $ac_prog = install &&
1422 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1423 # program-specific install script used by HP pwplus--don't use.
1426 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1438 if test "${ac_cv_path_install+set}" = set; then
1439 INSTALL=$ac_cv_path_install
1441 # As a last resort, use the slow shell script. We don't cache a
1442 # path for INSTALL within a source directory, because that will
1443 # break other packages using the cache if that directory is
1444 # removed, or if the path is relative.
1445 INSTALL=$ac_install_sh
1448 echo "$as_me:$LINENO: result: $INSTALL" >&5
1449 echo "${ECHO_T}$INSTALL" >&6
1451 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1452 # It thinks the first close brace ends the variable substitution.
1453 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1455 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1457 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1459 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1460 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1463 echo timestamp > conftest.file
1464 # Do `set' in a subshell so we don't clobber the current shell's
1465 # arguments. Must try -L first in case configure is actually a
1466 # symlink; some systems play weird games with the mod time of symlinks
1467 # (eg FreeBSD returns the mod time of the symlink's containing
1470 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1471 if test "$*" = "X"; then
1473 set X `ls -t $srcdir/configure conftest.file`
1476 if test "$*" != "X $srcdir/configure conftest.file" \
1477 && test "$*" != "X conftest.file $srcdir/configure"; then
1479 # If neither matched, then we have a broken ls. This can happen
1480 # if, for instance, CONFIG_SHELL is bash and it inherits a
1481 # broken ls alias from the environment. This has actually
1482 # happened. Such a system could not be considered "sane".
1483 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1484 alias in your environment" >&5
1485 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1486 alias in your environment" >&2;}
1487 { (exit 1); exit 1; }; }
1490 test "$2" = conftest.file
1496 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1497 Check your system clock" >&5
1498 echo "$as_me: error: newly created file is older than distributed files!
1499 Check your system clock" >&2;}
1500 { (exit 1); exit 1; }; }
1502 echo "$as_me:$LINENO: result: yes" >&5
1503 echo "${ECHO_T}yes" >&6
1504 test "$program_prefix" != NONE &&
1505 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1506 # Use a double $ so make ignores it.
1507 test "$program_suffix" != NONE &&
1508 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1509 # Double any \ or $. echo might interpret backslashes.
1510 # By default was `s,x,x', remove it if useless.
1511 cat <<\_ACEOF >conftest.sed
1512 s/[\\$]/&&/g;s/;s,x,x,$//
1514 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1518 # expand $ac_aux_dir to an absolute path
1519 am_aux_dir=`cd $ac_aux_dir && pwd`
1521 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1522 # Use eval to expand $SHELL
1523 if eval "$MISSING --run true"; then
1524 am_missing_run="$MISSING --run "
1527 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1528 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1531 for ac_prog in gawk mawk nawk awk
1533 # Extract the first word of "$ac_prog", so it can be a program name with args.
1534 set dummy $ac_prog; ac_word=$2
1535 echo "$as_me:$LINENO: checking for $ac_word" >&5
1536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1537 if test "${ac_cv_prog_AWK+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1540 if test -n "$AWK"; then
1541 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir=.
1548 for ac_exec_ext in '' $ac_executable_extensions; do
1549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1550 ac_cv_prog_AWK="$ac_prog"
1551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1560 if test -n "$AWK"; then
1561 echo "$as_me:$LINENO: result: $AWK" >&5
1562 echo "${ECHO_T}$AWK" >&6
1564 echo "$as_me:$LINENO: result: no" >&5
1565 echo "${ECHO_T}no" >&6
1568 test -n "$AWK" && break
1571 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1572 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1573 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1574 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 cat >conftest.make <<\_ACEOF
1579 @echo 'ac_maketemp="$(MAKE)"'
1581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1582 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1583 if test -n "$ac_maketemp"; then
1584 eval ac_cv_prog_make_${ac_make}_set=yes
1586 eval ac_cv_prog_make_${ac_make}_set=no
1590 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1591 echo "$as_me:$LINENO: result: yes" >&5
1592 echo "${ECHO_T}yes" >&6
1595 echo "$as_me:$LINENO: result: no" >&5
1596 echo "${ECHO_T}no" >&6
1597 SET_MAKE="MAKE=${MAKE-make}"
1600 rm -rf .tst 2>/dev/null
1601 mkdir .tst 2>/dev/null
1602 if test -d .tst; then
1607 rmdir .tst 2>/dev/null
1609 # test to see if srcdir already configured
1610 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1611 test -f $srcdir/config.status; then
1612 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1613 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1614 { (exit 1); exit 1; }; }
1617 # test whether we have cygpath
1618 if test -z "$CYGPATH_W"; then
1619 if (cygpath --version) >/dev/null 2>/dev/null; then
1620 CYGPATH_W='cygpath -w'
1627 # Define the identity of the package.
1629 VERSION=$mutt_cv_version
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE "$PACKAGE"
1637 cat >>confdefs.h <<_ACEOF
1638 #define VERSION "$VERSION"
1641 # Some tools Automake needs.
1643 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1646 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1649 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1652 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1655 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1658 AMTAR=${AMTAR-"${am_missing_run}tar"}
1660 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1662 # Installed binaries are usually stripped using `strip' when the user
1663 # run `make install-strip'. However `strip' might not be the right
1664 # tool to use in cross-compilation environments, therefore Automake
1665 # will honor the `STRIP' environment variable to overrule this program.
1666 if test "$cross_compiling" != no; then
1667 if test -n "$ac_tool_prefix"; then
1668 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1669 set dummy ${ac_tool_prefix}strip; ac_word=$2
1670 echo "$as_me:$LINENO: checking for $ac_word" >&5
1671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672 if test "${ac_cv_prog_STRIP+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 if test -n "$STRIP"; then
1676 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682 test -z "$as_dir" && as_dir=.
1683 for ac_exec_ext in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694 STRIP=$ac_cv_prog_STRIP
1695 if test -n "$STRIP"; then
1696 echo "$as_me:$LINENO: result: $STRIP" >&5
1697 echo "${ECHO_T}$STRIP" >&6
1699 echo "$as_me:$LINENO: result: no" >&5
1700 echo "${ECHO_T}no" >&6
1704 if test -z "$ac_cv_prog_STRIP"; then
1706 # Extract the first word of "strip", so it can be a program name with args.
1707 set dummy strip; ac_word=$2
1708 echo "$as_me:$LINENO: checking for $ac_word" >&5
1709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1710 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 if test -n "$ac_ct_STRIP"; then
1714 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir=.
1721 for ac_exec_ext in '' $ac_executable_extensions; do
1722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1723 ac_cv_prog_ac_ct_STRIP="strip"
1724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1733 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1734 if test -n "$ac_ct_STRIP"; then
1735 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1736 echo "${ECHO_T}$ac_ct_STRIP" >&6
1738 echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1744 STRIP="$ac_cv_prog_STRIP"
1748 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1750 # We need awk for the "check" target. The system "awk" is bad on
1758 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"
1760 # Make sure we can run config.sub.
1761 $ac_config_sub sun4 >/dev/null 2>&1 ||
1762 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1763 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1764 { (exit 1); exit 1; }; }
1766 echo "$as_me:$LINENO: checking build system type" >&5
1767 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1768 if test "${ac_cv_build+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 ac_cv_build_alias=$build_alias
1772 test -z "$ac_cv_build_alias" &&
1773 ac_cv_build_alias=`$ac_config_guess`
1774 test -z "$ac_cv_build_alias" &&
1775 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1776 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1777 { (exit 1); exit 1; }; }
1778 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1779 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1780 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1781 { (exit 1); exit 1; }; }
1784 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1785 echo "${ECHO_T}$ac_cv_build" >&6
1787 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1788 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1789 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792 echo "$as_me:$LINENO: checking host system type" >&5
1793 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1794 if test "${ac_cv_host+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 ac_cv_host_alias=$host_alias
1798 test -z "$ac_cv_host_alias" &&
1799 ac_cv_host_alias=$ac_cv_build_alias
1800 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1801 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1802 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1803 { (exit 1); exit 1; }; }
1806 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1807 echo "${ECHO_T}$ac_cv_host" >&6
1809 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1810 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1811 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1815 echo "$as_me:$LINENO: checking for prefix" >&5
1816 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
1817 if test x$prefix = xNONE; then
1818 mutt_cv_prefix=$ac_default_prefix
1820 mutt_cv_prefix=$prefix
1822 echo "$as_me:$LINENO: result: $mutt_cv_prefix" >&5
1823 echo "${ECHO_T}$mutt_cv_prefix" >&6
1826 ac_cpp='$CPP $CPPFLAGS'
1827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1830 if test -n "$ac_tool_prefix"; then
1831 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1832 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1833 echo "$as_me:$LINENO: checking for $ac_word" >&5
1834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1835 if test "${ac_cv_prog_CC+set}" = set; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 if test -n "$CC"; then
1839 ac_cv_prog_CC="$CC" # Let the user override the test.
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1848 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1858 if test -n "$CC"; then
1859 echo "$as_me:$LINENO: result: $CC" >&5
1860 echo "${ECHO_T}$CC" >&6
1862 echo "$as_me:$LINENO: result: no" >&5
1863 echo "${ECHO_T}no" >&6
1867 if test -z "$ac_cv_prog_CC"; then
1869 # Extract the first word of "gcc", so it can be a program name with args.
1870 set dummy gcc; ac_word=$2
1871 echo "$as_me:$LINENO: checking for $ac_word" >&5
1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 if test -n "$ac_ct_CC"; then
1877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883 test -z "$as_dir" && as_dir=.
1884 for ac_exec_ext in '' $ac_executable_extensions; do
1885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1886 ac_cv_prog_ac_ct_CC="gcc"
1887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1896 if test -n "$ac_ct_CC"; then
1897 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1898 echo "${ECHO_T}$ac_ct_CC" >&6
1900 echo "$as_me:$LINENO: result: no" >&5
1901 echo "${ECHO_T}no" >&6
1909 if test -z "$CC"; then
1910 if test -n "$ac_tool_prefix"; then
1911 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1912 set dummy ${ac_tool_prefix}cc; ac_word=$2
1913 echo "$as_me:$LINENO: checking for $ac_word" >&5
1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1915 if test "${ac_cv_prog_CC+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 if test -n "$CC"; then
1919 ac_cv_prog_CC="$CC" # Let the user override the test.
1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 test -z "$as_dir" && as_dir=.
1926 for ac_exec_ext in '' $ac_executable_extensions; do
1927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1928 ac_cv_prog_CC="${ac_tool_prefix}cc"
1929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1938 if test -n "$CC"; then
1939 echo "$as_me:$LINENO: result: $CC" >&5
1940 echo "${ECHO_T}$CC" >&6
1942 echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6
1947 if test -z "$ac_cv_prog_CC"; then
1949 # Extract the first word of "cc", so it can be a program name with args.
1950 set dummy cc; ac_word=$2
1951 echo "$as_me:$LINENO: checking for $ac_word" >&5
1952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 if test -n "$ac_ct_CC"; then
1957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir=.
1964 for ac_exec_ext in '' $ac_executable_extensions; do
1965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1966 ac_cv_prog_ac_ct_CC="cc"
1967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1976 if test -n "$ac_ct_CC"; then
1977 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1978 echo "${ECHO_T}$ac_ct_CC" >&6
1980 echo "$as_me:$LINENO: result: no" >&5
1981 echo "${ECHO_T}no" >&6
1990 if test -z "$CC"; then
1991 # Extract the first word of "cc", so it can be a program name with args.
1992 set dummy cc; ac_word=$2
1993 echo "$as_me:$LINENO: checking for $ac_word" >&5
1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995 if test "${ac_cv_prog_CC+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 if test -n "$CC"; then
1999 ac_cv_prog_CC="$CC" # Let the user override the test.
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir=.
2007 for ac_exec_ext in '' $ac_executable_extensions; do
2008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2010 ac_prog_rejected=yes
2014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020 if test $ac_prog_rejected = yes; then
2021 # We found a bogon in the path, so make sure we never use it.
2022 set dummy $ac_cv_prog_CC
2024 if test $# != 0; then
2025 # We chose a different compiler from the bogus one.
2026 # However, it has the same basename, so the bogon will be chosen
2027 # first if we set CC to just the basename; use the full file name.
2029 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2035 if test -n "$CC"; then
2036 echo "$as_me:$LINENO: result: $CC" >&5
2037 echo "${ECHO_T}$CC" >&6
2039 echo "$as_me:$LINENO: result: no" >&5
2040 echo "${ECHO_T}no" >&6
2044 if test -z "$CC"; then
2045 if test -n "$ac_tool_prefix"; then
2048 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2049 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2050 echo "$as_me:$LINENO: checking for $ac_word" >&5
2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2052 if test "${ac_cv_prog_CC+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 if test -n "$CC"; then
2056 ac_cv_prog_CC="$CC" # Let the user override the test.
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir=.
2063 for ac_exec_ext in '' $ac_executable_extensions; do
2064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2065 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 if test -n "$CC"; then
2076 echo "$as_me:$LINENO: result: $CC" >&5
2077 echo "${ECHO_T}$CC" >&6
2079 echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6
2083 test -n "$CC" && break
2086 if test -z "$CC"; then
2090 # Extract the first word of "$ac_prog", so it can be a program name with args.
2091 set dummy $ac_prog; ac_word=$2
2092 echo "$as_me:$LINENO: checking for $ac_word" >&5
2093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2094 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 if test -n "$ac_ct_CC"; then
2098 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir=.
2105 for ac_exec_ext in '' $ac_executable_extensions; do
2106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107 ac_cv_prog_ac_ct_CC="$ac_prog"
2108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2117 if test -n "$ac_ct_CC"; then
2118 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2119 echo "${ECHO_T}$ac_ct_CC" >&6
2121 echo "$as_me:$LINENO: result: no" >&5
2122 echo "${ECHO_T}no" >&6
2125 test -n "$ac_ct_CC" && break
2134 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2135 See \`config.log' for more details." >&5
2136 echo "$as_me: error: no acceptable C compiler found in \$PATH
2137 See \`config.log' for more details." >&2;}
2138 { (exit 1); exit 1; }; }
2140 # Provide some information about the compiler.
2141 echo "$as_me:$LINENO:" \
2142 "checking for C compiler version" >&5
2143 ac_compiler=`set X $ac_compile; echo $2`
2144 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2145 (eval $ac_compiler --version </dev/null >&5) 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }
2149 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2150 (eval $ac_compiler -v </dev/null >&5) 2>&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }
2154 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2155 (eval $ac_compiler -V </dev/null >&5) 2>&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }
2160 cat >conftest.$ac_ext <<_ACEOF
2163 cat confdefs.h >>conftest.$ac_ext
2164 cat >>conftest.$ac_ext <<_ACEOF
2165 /* end confdefs.h. */
2175 ac_clean_files_save=$ac_clean_files
2176 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2177 # Try to create an executable without -o first, disregard a.out.
2178 # It will help us diagnose broken compilers, and finding out an intuition
2180 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2181 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2182 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2183 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2184 (eval $ac_link_default) 2>&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; then
2188 # Find the output, starting from the most likely. This scheme is
2189 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2192 # Be careful to initialize this variable, since it used to be cached.
2193 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2195 # b.out is created by i960 compilers.
2196 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2198 test -f "$ac_file" || continue
2200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2203 # This is the source file.
2206 # We found the default executable, but exeext='' is most
2210 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2211 # FIXME: I believe we export ac_cv_exeext for Libtool,
2212 # but it would be cool to find out if it's true. Does anybody
2213 # maintain Libtool? --akim.
2221 echo "$as_me: failed program was:" >&5
2222 sed 's/^/| /' conftest.$ac_ext >&5
2224 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2225 See \`config.log' for more details." >&5
2226 echo "$as_me: error: C compiler cannot create executables
2227 See \`config.log' for more details." >&2;}
2228 { (exit 77); exit 77; }; }
2231 ac_exeext=$ac_cv_exeext
2232 echo "$as_me:$LINENO: result: $ac_file" >&5
2233 echo "${ECHO_T}$ac_file" >&6
2235 # Check the compiler produces executables we can run. If not, either
2236 # the compiler is broken, or we cross compile.
2237 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2238 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2239 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2240 # If not cross compiling, check that we can run a simple program.
2241 if test "$cross_compiling" != yes; then
2242 if { ac_try='./$ac_file'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2250 if test "$cross_compiling" = maybe; then
2253 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2254 If you meant to cross compile, use \`--host'.
2255 See \`config.log' for more details." >&5
2256 echo "$as_me: error: cannot run C compiled programs.
2257 If you meant to cross compile, use \`--host'.
2258 See \`config.log' for more details." >&2;}
2259 { (exit 1); exit 1; }; }
2263 echo "$as_me:$LINENO: result: yes" >&5
2264 echo "${ECHO_T}yes" >&6
2266 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2267 ac_clean_files=$ac_clean_files_save
2268 # Check the compiler produces executables we can run. If not, either
2269 # the compiler is broken, or we cross compile.
2270 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2271 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2272 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2273 echo "${ECHO_T}$cross_compiling" >&6
2275 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2276 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2278 (eval $ac_link) 2>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; then
2282 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2283 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2284 # work properly (i.e., refer to `conftest.exe'), while it won't with
2286 for ac_file in conftest.exe conftest conftest.*; do
2287 test -f "$ac_file" || continue
2289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2290 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2297 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2298 See \`config.log' for more details." >&5
2299 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2300 See \`config.log' for more details." >&2;}
2301 { (exit 1); exit 1; }; }
2304 rm -f conftest$ac_cv_exeext
2305 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2306 echo "${ECHO_T}$ac_cv_exeext" >&6
2308 rm -f conftest.$ac_ext
2309 EXEEXT=$ac_cv_exeext
2311 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2312 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2313 if test "${ac_cv_objext+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 cat >conftest.$ac_ext <<_ACEOF
2319 cat confdefs.h >>conftest.$ac_ext
2320 cat >>conftest.$ac_ext <<_ACEOF
2321 /* end confdefs.h. */
2331 rm -f conftest.o conftest.obj
2332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2333 (eval $ac_compile) 2>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; then
2337 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2345 echo "$as_me: failed program was:" >&5
2346 sed 's/^/| /' conftest.$ac_ext >&5
2348 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2349 See \`config.log' for more details." >&5
2350 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2351 See \`config.log' for more details." >&2;}
2352 { (exit 1); exit 1; }; }
2355 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2357 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2358 echo "${ECHO_T}$ac_cv_objext" >&6
2359 OBJEXT=$ac_cv_objext
2361 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2362 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2363 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 cat >conftest.$ac_ext <<_ACEOF
2369 cat confdefs.h >>conftest.$ac_ext
2370 cat >>conftest.$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2384 rm -f conftest.$ac_objext
2385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2386 (eval $ac_compile) 2>conftest.er1
2388 grep -v '^ *+' conftest.er1 >conftest.err
2390 cat conftest.err >&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); } &&
2393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; } &&
2399 { ac_try='test -s conftest.$ac_objext'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.$ac_ext >&5
2412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2413 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2416 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2417 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2418 GCC=`test $ac_compiler_gnu = yes && echo yes`
2419 ac_test_CFLAGS=${CFLAGS+set}
2420 ac_save_CFLAGS=$CFLAGS
2422 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2423 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2424 if test "${ac_cv_prog_cc_g+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 cat >conftest.$ac_ext <<_ACEOF
2430 cat confdefs.h >>conftest.$ac_ext
2431 cat >>conftest.$ac_ext <<_ACEOF
2432 /* end confdefs.h. */
2442 rm -f conftest.$ac_objext
2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2444 (eval $ac_compile) 2>conftest.er1
2446 grep -v '^ *+' conftest.er1 >conftest.err
2448 cat conftest.err >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); } &&
2451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; } &&
2457 { ac_try='test -s conftest.$ac_objext'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; }; then
2465 echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2472 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2473 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2474 if test "$ac_test_CFLAGS" = set; then
2475 CFLAGS=$ac_save_CFLAGS
2476 elif test $ac_cv_prog_cc_g = yes; then
2477 if test "$GCC" = yes; then
2483 if test "$GCC" = yes; then
2489 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2490 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2491 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 ac_cv_prog_cc_stdc=no
2496 cat >conftest.$ac_ext <<_ACEOF
2499 cat confdefs.h >>conftest.$ac_ext
2500 cat >>conftest.$ac_ext <<_ACEOF
2501 /* end confdefs.h. */
2504 #include <sys/types.h>
2505 #include <sys/stat.h>
2506 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2507 struct buf { int x; };
2508 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2509 static char *e (p, i)
2515 static char *f (char * (*g) (char **, int), char **p, ...)
2520 s = g (p, va_arg (v,int));
2525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2526 function prototypes and stuff, but not '\xHH' hex character constants.
2527 These don't provoke an error unfortunately, instead are silently treated
2528 as 'x'. The following induces an error, until -std1 is added to get
2529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2530 array size at least. It's necessary to write '\x00'==0 to get something
2531 that's true only with -std1. */
2532 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2534 int test (int i, double x);
2535 struct s1 {int (*f) (int a);};
2536 struct s2 {int (*f) (double a);};
2537 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2543 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2548 # Don't try gcc -ansi; that turns off useful extensions and
2549 # breaks some systems' header files.
2550 # AIX -qlanglvl=ansi
2551 # Ultrix and OSF/1 -std1
2552 # HP-UX 10.20 and later -Ae
2553 # HP-UX older versions -Aa -D_HPUX_SOURCE
2554 # SVR4 -Xc -D__EXTENSIONS__
2555 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2557 CC="$ac_save_CC $ac_arg"
2558 rm -f conftest.$ac_objext
2559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2560 (eval $ac_compile) 2>conftest.er1
2562 grep -v '^ *+' conftest.er1 >conftest.err
2564 cat conftest.err >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); } &&
2567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; } &&
2573 { ac_try='test -s conftest.$ac_objext'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; }; then
2579 ac_cv_prog_cc_stdc=$ac_arg
2582 echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2586 rm -f conftest.err conftest.$ac_objext
2588 rm -f conftest.$ac_ext conftest.$ac_objext
2593 case "x$ac_cv_prog_cc_stdc" in
2595 echo "$as_me:$LINENO: result: none needed" >&5
2596 echo "${ECHO_T}none needed" >&6 ;;
2598 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2599 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2600 CC="$CC $ac_cv_prog_cc_stdc" ;;
2603 # Some people use a C++ compiler to compile C. Since we use `exit',
2604 # in C++ we need to declare it. In case someone uses the same compiler
2605 # for both compiling C and C++ we need to have the C++ compiler decide
2606 # the declaration of exit, since it's the most demanding environment.
2607 cat >conftest.$ac_ext <<_ACEOF
2612 rm -f conftest.$ac_objext
2613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2614 (eval $ac_compile) 2>conftest.er1
2616 grep -v '^ *+' conftest.er1 >conftest.err
2618 cat conftest.err >&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); } &&
2621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; } &&
2627 { ac_try='test -s conftest.$ac_objext'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; }; then
2633 for ac_declaration in \
2635 'extern "C" void std::exit (int) throw (); using std::exit;' \
2636 'extern "C" void std::exit (int); using std::exit;' \
2637 'extern "C" void exit (int) throw ();' \
2638 'extern "C" void exit (int);' \
2641 cat >conftest.$ac_ext <<_ACEOF
2644 cat confdefs.h >>conftest.$ac_ext
2645 cat >>conftest.$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2657 rm -f conftest.$ac_objext
2658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2659 (eval $ac_compile) 2>conftest.er1
2661 grep -v '^ *+' conftest.er1 >conftest.err
2663 cat conftest.err >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); } &&
2666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; } &&
2672 { ac_try='test -s conftest.$ac_objext'
2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; }; then
2680 echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2686 cat >conftest.$ac_ext <<_ACEOF
2689 cat confdefs.h >>conftest.$ac_ext
2690 cat >>conftest.$ac_ext <<_ACEOF
2691 /* end confdefs.h. */
2701 rm -f conftest.$ac_objext
2702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2703 (eval $ac_compile) 2>conftest.er1
2705 grep -v '^ *+' conftest.er1 >conftest.err
2707 cat conftest.err >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); } &&
2710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; } &&
2716 { ac_try='test -s conftest.$ac_objext'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; }; then
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2731 if test -n "$ac_declaration"; then
2732 echo '#ifdef __cplusplus' >>confdefs.h
2733 echo $ac_declaration >>confdefs.h
2734 echo '#endif' >>confdefs.h
2738 echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
2742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2744 ac_cpp='$CPP $CPPFLAGS'
2745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2748 DEPDIR="${am__leading_dot}deps"
2750 ac_config_commands="$ac_config_commands depfiles"
2753 am_make=${MAKE-make}
2754 cat > confinc << 'END'
2759 # If we don't find an include directive, just comment out the code.
2760 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2761 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2765 # First try GNU make style include.
2766 echo "include confinc" > confmf
2767 # We grep out `Entering directory' and `Leaving directory'
2768 # messages which can occur if `w' ends up in MAKEFLAGS.
2769 # In particular we don't look at `^make:' because GNU make might
2770 # be invoked under some other name (usually "gmake"), in which
2771 # case it prints its new name instead of `make'.
2772 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2777 # Now try BSD make style include.
2778 if test "$am__include" = "#"; then
2779 echo '.include "confinc"' > confmf
2780 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2781 am__include=.include
2788 echo "$as_me:$LINENO: result: $_am_result" >&5
2789 echo "${ECHO_T}$_am_result" >&6
2790 rm -f confinc confmf
2792 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2793 if test "${enable_dependency_tracking+set}" = set; then
2794 enableval="$enable_dependency_tracking"
2797 if test "x$enable_dependency_tracking" != xno; then
2798 am_depcomp="$ac_aux_dir/depcomp"
2803 if test "x$enable_dependency_tracking" != xno; then
2814 depcc="$CC" am_compiler_list=
2816 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2817 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2818 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2822 # We make a subdir and do the tests there. Otherwise we can end up
2823 # making bogus files that we don't know about and never remove. For
2824 # instance it was reported that on HP-UX the gcc test will end up
2825 # making a dummy file named `D' -- because `-MD' means `put the output
2828 # Copy depcomp to subdir because otherwise we won't find it if we're
2829 # using a relative directory.
2830 cp "$am_depcomp" conftest.dir
2832 # We will build objects and dependencies in a subdirectory because
2833 # it helps to detect inapplicable dependency modes. For instance
2834 # both Tru64's cc and ICC support -MD to output dependencies as a
2835 # side effect of compilation, but ICC will put the dependencies in
2836 # the current directory while Tru64 will put them in the object
2840 am_cv_CC_dependencies_compiler_type=none
2841 if test "$am_compiler_list" = ""; then
2842 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2844 for depmode in $am_compiler_list; do
2845 # Setup a source with many dependencies, because some compilers
2846 # like to wrap large dependency lists on column 80 (with \), and
2847 # we should not choose a depcomp mode which is confused by this.
2849 # We need to recreate these files for each test, as the compiler may
2850 # overwrite some of them when testing with obscure command lines.
2851 # This happens at least with the AIX C compiler.
2853 for i in 1 2 3 4 5 6; do
2854 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2857 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2861 # after this tag, mechanisms are not by side-effect, so they'll
2862 # only be used when explicitly requested
2863 if test "x$enable_dependency_tracking" = xyes; then
2871 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2872 # mode. It turns out that the SunPro C++ compiler does not properly
2873 # handle `-M -o', and we need to detect this.
2874 if depmode=$depmode \
2875 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2876 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2877 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2878 >/dev/null 2>conftest.err &&
2879 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2880 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2881 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2882 # icc doesn't choke on unknown options, it will just issue warnings
2883 # (even with -Werror). So we grep stderr for any message
2884 # that says an option was ignored.
2885 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2886 am_cv_CC_dependencies_compiler_type=$depmode
2895 am_cv_CC_dependencies_compiler_type=none
2899 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2900 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2901 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2906 test "x$enable_dependency_tracking" != xno \
2907 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2909 am__fastdepCC_FALSE='#'
2911 am__fastdepCC_TRUE='#'
2912 am__fastdepCC_FALSE=
2918 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2919 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2920 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 ac_check_lib_save_LIBS=$LIBS
2924 LIBS="-lcposix $LIBS"
2925 cat >conftest.$ac_ext <<_ACEOF
2928 cat confdefs.h >>conftest.$ac_ext
2929 cat >>conftest.$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2932 /* Override any gcc2 internal prototype to avoid an error. */
2936 /* We use char because int might match the return type of a gcc2
2937 builtin and then its argument prototype would still apply. */
2947 rm -f conftest.$ac_objext conftest$ac_exeext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2949 (eval $ac_link) 2>conftest.er1
2951 grep -v '^ *+' conftest.er1 >conftest.err
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; } &&
2962 { ac_try='test -s conftest$ac_exeext'
2963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); }; }; then
2968 ac_cv_lib_cposix_strerror=yes
2970 echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 ac_cv_lib_cposix_strerror=no
2975 rm -f conftest.err conftest.$ac_objext \
2976 conftest$ac_exeext conftest.$ac_ext
2977 LIBS=$ac_check_lib_save_LIBS
2979 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2980 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2981 if test $ac_cv_lib_cposix_strerror = yes; then
2982 LIBS="$LIBS -lcposix"
2990 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2991 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2992 if test "${am_cv_prog_cc_stdc+set}" = set; then
2993 echo $ECHO_N "(cached) $ECHO_C" >&6
2995 am_cv_prog_cc_stdc=no
2997 # Don't try gcc -ansi; that turns off useful extensions and
2998 # breaks some systems' header files.
2999 # AIX -qlanglvl=ansi
3000 # Ultrix and OSF/1 -std1
3001 # HP-UX 10.20 and later -Ae
3002 # HP-UX older versions -Aa -D_HPUX_SOURCE
3003 # SVR4 -Xc -D__EXTENSIONS__
3004 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3006 CC="$ac_save_CC $ac_arg"
3007 cat >conftest.$ac_ext <<_ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3015 #include <sys/types.h>
3016 #include <sys/stat.h>
3017 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3018 struct buf { int x; };
3019 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3020 static char *e (p, i)
3026 static char *f (char * (*g) (char **, int), char **p, ...)
3031 s = g (p, va_arg (v,int));
3035 int test (int i, double x);
3036 struct s1 {int (*f) (int a);};
3037 struct s2 {int (*f) (double a);};
3038 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3046 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3052 rm -f conftest.$ac_objext
3053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3054 (eval $ac_compile) 2>conftest.er1
3056 grep -v '^ *+' conftest.er1 >conftest.err
3058 cat conftest.err >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); } &&
3061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); }; } &&
3067 { ac_try='test -s conftest.$ac_objext'
3068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); }; }; then
3073 am_cv_prog_cc_stdc="$ac_arg"; break
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3085 if test -z "$am_cv_prog_cc_stdc"; then
3086 echo "$as_me:$LINENO: result: none needed" >&5
3087 echo "${ECHO_T}none needed" >&6
3089 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3090 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3092 case "x$am_cv_prog_cc_stdc" in
3094 *) CC="$CC $am_cv_prog_cc_stdc" ;;
3098 ac_cpp='$CPP $CPPFLAGS'
3099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3102 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3103 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3104 # On Suns, sometimes $CPP names a directory.
3105 if test -n "$CPP" && test -d "$CPP"; then
3108 if test -z "$CPP"; then
3109 if test "${ac_cv_prog_CPP+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 # Double quotes because CPP needs to be expanded
3113 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3116 for ac_c_preproc_warn_flag in '' yes
3118 # Use a header file that comes with gcc, so configuring glibc
3119 # with a fresh cross-compiler works.
3120 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3121 # <limits.h> exists even on freestanding compilers.
3122 # On the NeXT, cc -E runs the code through the compiler's parser,
3123 # not just through cpp. "Syntax error" is here to catch this case.
3124 cat >conftest.$ac_ext <<_ACEOF
3127 cat confdefs.h >>conftest.$ac_ext
3128 cat >>conftest.$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3131 # include <limits.h>
3133 # include <assert.h>
3137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3140 grep -v '^ *+' conftest.er1 >conftest.err
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } >/dev/null; then
3145 if test -s conftest.err; then
3146 ac_cpp_err=$ac_c_preproc_warn_flag
3147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3154 if test -z "$ac_cpp_err"; then
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3160 # Broken: fails on valid input.
3163 rm -f conftest.err conftest.$ac_ext
3165 # OK, works on sane cases. Now check whether non-existent headers
3166 # can be detected and how.
3167 cat >conftest.$ac_ext <<_ACEOF
3170 cat confdefs.h >>conftest.$ac_ext
3171 cat >>conftest.$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3173 #include <ac_nonexistent.h>
3175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3176 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3178 grep -v '^ *+' conftest.er1 >conftest.err
3180 cat conftest.err >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } >/dev/null; then
3183 if test -s conftest.err; then
3184 ac_cpp_err=$ac_c_preproc_warn_flag
3185 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3192 if test -z "$ac_cpp_err"; then
3193 # Broken: success on invalid input.
3196 echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.$ac_ext >&5
3199 # Passes both tests.
3203 rm -f conftest.err conftest.$ac_ext
3206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3207 rm -f conftest.err conftest.$ac_ext
3208 if $ac_preproc_ok; then
3220 echo "$as_me:$LINENO: result: $CPP" >&5
3221 echo "${ECHO_T}$CPP" >&6
3223 for ac_c_preproc_warn_flag in '' yes
3225 # Use a header file that comes with gcc, so configuring glibc
3226 # with a fresh cross-compiler works.
3227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3228 # <limits.h> exists even on freestanding compilers.
3229 # On the NeXT, cc -E runs the code through the compiler's parser,
3230 # not just through cpp. "Syntax error" is here to catch this case.
3231 cat >conftest.$ac_ext <<_ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3238 # include <limits.h>
3240 # include <assert.h>
3244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3247 grep -v '^ *+' conftest.er1 >conftest.err
3249 cat conftest.err >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } >/dev/null; then
3252 if test -s conftest.err; then
3253 ac_cpp_err=$ac_c_preproc_warn_flag
3254 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3261 if test -z "$ac_cpp_err"; then
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3267 # Broken: fails on valid input.
3270 rm -f conftest.err conftest.$ac_ext
3272 # OK, works on sane cases. Now check whether non-existent headers
3273 # can be detected and how.
3274 cat >conftest.$ac_ext <<_ACEOF
3277 cat confdefs.h >>conftest.$ac_ext
3278 cat >>conftest.$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3280 #include <ac_nonexistent.h>
3282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3285 grep -v '^ *+' conftest.er1 >conftest.err
3287 cat conftest.err >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } >/dev/null; then
3290 if test -s conftest.err; then
3291 ac_cpp_err=$ac_c_preproc_warn_flag
3292 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3299 if test -z "$ac_cpp_err"; then
3300 # Broken: success on invalid input.
3303 echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.$ac_ext >&5
3306 # Passes both tests.
3310 rm -f conftest.err conftest.$ac_ext
3313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3314 rm -f conftest.err conftest.$ac_ext
3315 if $ac_preproc_ok; then
3318 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3319 See \`config.log' for more details." >&5
3320 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3321 See \`config.log' for more details." >&2;}
3322 { (exit 1); exit 1; }; }
3326 ac_cpp='$CPP $CPPFLAGS'
3327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3332 echo "$as_me:$LINENO: checking for egrep" >&5
3333 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3334 if test "${ac_cv_prog_egrep+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3338 then ac_cv_prog_egrep='grep -E'
3339 else ac_cv_prog_egrep='egrep'
3342 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3343 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3344 EGREP=$ac_cv_prog_egrep
3347 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3357 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3358 inttypes.h stdint.h unistd.h
3360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3361 echo "$as_me:$LINENO: checking for $ac_header" >&5
3362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 cat >conftest.$ac_ext <<_ACEOF
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3372 $ac_includes_default
3374 #include <$ac_header>
3376 rm -f conftest.$ac_objext
3377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3378 (eval $ac_compile) 2>conftest.er1
3380 grep -v '^ *+' conftest.er1 >conftest.err
3382 cat conftest.err >&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); } &&
3385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; } &&
3391 { ac_try='test -s conftest.$ac_objext'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; }; then
3397 eval "$as_ac_Header=yes"
3399 echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.$ac_ext >&5
3402 eval "$as_ac_Header=no"
3404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3409 cat >>confdefs.h <<_ACEOF
3410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3420 echo "$as_me:$LINENO: checking for function prototypes" >&5
3421 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
3422 if test "$am_cv_prog_cc_stdc" != no; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3426 cat >>confdefs.h <<\_ACEOF
3427 #define PROTOTYPES 1
3432 echo "$as_me:$LINENO: result: no" >&5
3433 echo "${ECHO_T}no" >&6
3434 U=_ ANSI2KNR=./ansi2knr
3436 # Ensure some checks needed by ansi2knr itself.
3437 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3438 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3439 if test "${ac_cv_header_stdc+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 cat >conftest.$ac_ext <<_ACEOF
3445 cat confdefs.h >>conftest.$ac_ext
3446 cat >>conftest.$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3461 rm -f conftest.$ac_objext
3462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3463 (eval $ac_compile) 2>conftest.er1
3465 grep -v '^ *+' conftest.er1 >conftest.err
3467 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } &&
3470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; } &&
3476 { ac_try='test -s conftest.$ac_objext'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3482 ac_cv_header_stdc=yes
3484 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3487 ac_cv_header_stdc=no
3489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3491 if test $ac_cv_header_stdc = yes; then
3492 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3493 cat >conftest.$ac_ext <<_ACEOF
3496 cat confdefs.h >>conftest.$ac_ext
3497 cat >>conftest.$ac_ext <<_ACEOF
3498 /* end confdefs.h. */
3502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3503 $EGREP "memchr" >/dev/null 2>&1; then
3506 ac_cv_header_stdc=no
3512 if test $ac_cv_header_stdc = yes; then
3513 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3514 cat >conftest.$ac_ext <<_ACEOF
3517 cat confdefs.h >>conftest.$ac_ext
3518 cat >>conftest.$ac_ext <<_ACEOF
3519 /* end confdefs.h. */
3523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3524 $EGREP "free" >/dev/null 2>&1; then
3527 ac_cv_header_stdc=no
3533 if test $ac_cv_header_stdc = yes; then
3534 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3535 if test "$cross_compiling" = yes; then
3538 cat >conftest.$ac_ext <<_ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3545 #if ((' ' & 0x0FF) == 0x020)
3546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3549 # define ISLOWER(c) \
3550 (('a' <= (c) && (c) <= 'i') \
3551 || ('j' <= (c) && (c) <= 'r') \
3552 || ('s' <= (c) && (c) <= 'z'))
3553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3561 for (i = 0; i < 256; i++)
3562 if (XOR (islower (i), ISLOWER (i))
3563 || toupper (i) != TOUPPER (i))
3568 rm -f conftest$ac_exeext
3569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3570 (eval $ac_link) 2>&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); }; }; then
3581 echo "$as_me: program exited with status $ac_status" >&5
3582 echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.$ac_ext >&5
3586 ac_cv_header_stdc=no
3588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3592 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3593 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3594 if test $ac_cv_header_stdc = yes; then
3596 cat >>confdefs.h <<\_ACEOF
3597 #define STDC_HEADERS 1
3603 for ac_header in string.h
3605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3607 echo "$as_me:$LINENO: checking for $ac_header" >&5
3608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3615 # Is the header compilable?
3616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3618 cat >conftest.$ac_ext <<_ACEOF
3621 cat confdefs.h >>conftest.$ac_ext
3622 cat >>conftest.$ac_ext <<_ACEOF
3623 /* end confdefs.h. */
3624 $ac_includes_default
3625 #include <$ac_header>
3627 rm -f conftest.$ac_objext
3628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3629 (eval $ac_compile) 2>conftest.er1
3631 grep -v '^ *+' conftest.er1 >conftest.err
3633 cat conftest.err >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); } &&
3636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; } &&
3642 { ac_try='test -s conftest.$ac_objext'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3648 ac_header_compiler=yes
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 ac_header_compiler=no
3655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3657 echo "${ECHO_T}$ac_header_compiler" >&6
3659 # Is the header present?
3660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3662 cat >conftest.$ac_ext <<_ACEOF
3665 cat confdefs.h >>conftest.$ac_ext
3666 cat >>conftest.$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3668 #include <$ac_header>
3670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3671 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3673 grep -v '^ *+' conftest.er1 >conftest.err
3675 cat conftest.err >&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); } >/dev/null; then
3678 if test -s conftest.err; then
3679 ac_cpp_err=$ac_c_preproc_warn_flag
3680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3687 if test -z "$ac_cpp_err"; then
3688 ac_header_preproc=yes
3690 echo "$as_me: failed program was:" >&5
3691 sed 's/^/| /' conftest.$ac_ext >&5
3693 ac_header_preproc=no
3695 rm -f conftest.err conftest.$ac_ext
3696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3697 echo "${ECHO_T}$ac_header_preproc" >&6
3699 # So? What about this header?
3700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3706 ac_header_preproc=yes
3709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3723 ## ------------------------------------------ ##
3724 ## Report this to the AC_PACKAGE_NAME lists. ##
3725 ## ------------------------------------------ ##
3728 sed "s/^/$as_me: WARNING: /" >&2
3731 echo "$as_me:$LINENO: checking for $ac_header" >&5
3732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 eval "$as_ac_Header=\$ac_header_preproc"
3738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3743 cat >>confdefs.h <<_ACEOF
3744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3752 if test "x$U" != "x"; then
3753 { { echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
3754 echo "$as_me: error: Compiler not ANSI compliant" >&2;}
3755 { (exit 1); exit 1; }; }
3758 ac_cpp='$CPP $CPPFLAGS'
3759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3762 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3763 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3764 # On Suns, sometimes $CPP names a directory.
3765 if test -n "$CPP" && test -d "$CPP"; then
3768 if test -z "$CPP"; then
3769 if test "${ac_cv_prog_CPP+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 # Double quotes because CPP needs to be expanded
3773 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3776 for ac_c_preproc_warn_flag in '' yes
3778 # Use a header file that comes with gcc, so configuring glibc
3779 # with a fresh cross-compiler works.
3780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3781 # <limits.h> exists even on freestanding compilers.
3782 # On the NeXT, cc -E runs the code through the compiler's parser,
3783 # not just through cpp. "Syntax error" is here to catch this case.
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3791 # include <limits.h>
3793 # include <assert.h>
3797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3800 grep -v '^ *+' conftest.er1 >conftest.err
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } >/dev/null; then
3805 if test -s conftest.err; then
3806 ac_cpp_err=$ac_c_preproc_warn_flag
3807 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3814 if test -z "$ac_cpp_err"; then
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 # Broken: fails on valid input.
3823 rm -f conftest.err conftest.$ac_ext
3825 # OK, works on sane cases. Now check whether non-existent headers
3826 # can be detected and how.
3827 cat >conftest.$ac_ext <<_ACEOF
3830 cat confdefs.h >>conftest.$ac_ext
3831 cat >>conftest.$ac_ext <<_ACEOF
3832 /* end confdefs.h. */
3833 #include <ac_nonexistent.h>
3835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3838 grep -v '^ *+' conftest.er1 >conftest.err
3840 cat conftest.err >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); } >/dev/null; then
3843 if test -s conftest.err; then
3844 ac_cpp_err=$ac_c_preproc_warn_flag
3845 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3852 if test -z "$ac_cpp_err"; then
3853 # Broken: success on invalid input.
3856 echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.$ac_ext >&5
3859 # Passes both tests.
3863 rm -f conftest.err conftest.$ac_ext
3866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3867 rm -f conftest.err conftest.$ac_ext
3868 if $ac_preproc_ok; then
3880 echo "$as_me:$LINENO: result: $CPP" >&5
3881 echo "${ECHO_T}$CPP" >&6
3883 for ac_c_preproc_warn_flag in '' yes
3885 # Use a header file that comes with gcc, so configuring glibc
3886 # with a fresh cross-compiler works.
3887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3888 # <limits.h> exists even on freestanding compilers.
3889 # On the NeXT, cc -E runs the code through the compiler's parser,
3890 # not just through cpp. "Syntax error" is here to catch this case.
3891 cat >conftest.$ac_ext <<_ACEOF
3894 cat confdefs.h >>conftest.$ac_ext
3895 cat >>conftest.$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3898 # include <limits.h>
3900 # include <assert.h>
3904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3907 grep -v '^ *+' conftest.er1 >conftest.err
3909 cat conftest.err >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); } >/dev/null; then
3912 if test -s conftest.err; then
3913 ac_cpp_err=$ac_c_preproc_warn_flag
3914 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3921 if test -z "$ac_cpp_err"; then
3924 echo "$as_me: failed program was:" >&5
3925 sed 's/^/| /' conftest.$ac_ext >&5
3927 # Broken: fails on valid input.
3930 rm -f conftest.err conftest.$ac_ext
3932 # OK, works on sane cases. Now check whether non-existent headers
3933 # can be detected and how.
3934 cat >conftest.$ac_ext <<_ACEOF
3937 cat confdefs.h >>conftest.$ac_ext
3938 cat >>conftest.$ac_ext <<_ACEOF
3939 /* end confdefs.h. */
3940 #include <ac_nonexistent.h>
3942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3945 grep -v '^ *+' conftest.er1 >conftest.err
3947 cat conftest.err >&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } >/dev/null; then
3950 if test -s conftest.err; then
3951 ac_cpp_err=$ac_c_preproc_warn_flag
3952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3959 if test -z "$ac_cpp_err"; then
3960 # Broken: success on invalid input.
3963 echo "$as_me: failed program was:" >&5
3964 sed 's/^/| /' conftest.$ac_ext >&5
3966 # Passes both tests.
3970 rm -f conftest.err conftest.$ac_ext
3973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3974 rm -f conftest.err conftest.$ac_ext
3975 if $ac_preproc_ok; then
3978 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3979 See \`config.log' for more details." >&5
3980 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3981 See \`config.log' for more details." >&2;}
3982 { (exit 1); exit 1; }; }
3986 ac_cpp='$CPP $CPPFLAGS'
3987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3991 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3992 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3993 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3994 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3995 echo $ECHO_N "(cached) $ECHO_C" >&6
3997 cat >conftest.make <<\_ACEOF
3999 @echo 'ac_maketemp="$(MAKE)"'
4001 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4002 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4003 if test -n "$ac_maketemp"; then
4004 eval ac_cv_prog_make_${ac_make}_set=yes
4006 eval ac_cv_prog_make_${ac_make}_set=no
4010 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4011 echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6
4015 echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6
4017 SET_MAKE="MAKE=${MAKE-make}"
4020 # Find a good install program. We prefer a C program (faster),
4021 # so one script is as good as another. But avoid the broken or
4022 # incompatible versions:
4023 # SysV /etc/install, /usr/sbin/install
4024 # SunOS /usr/etc/install
4025 # IRIX /sbin/install
4027 # AmigaOS /C/install, which installs bootblocks on floppy discs
4028 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4029 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4030 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4031 # OS/2's system install, which has a completely different semantic
4032 # ./install, which can be erroneously created by make from ./install.sh.
4033 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4034 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4035 if test -z "$INSTALL"; then
4036 if test "${ac_cv_path_install+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir=.
4044 # Account for people who put trailing slashes in PATH elements.
4046 ./ | .// | /cC/* | \
4047 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4048 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4051 # OSF1 and SCO ODT 3.0 have their own names for install.
4052 # Don't use installbsd from OSF since it installs stuff as root
4054 for ac_prog in ginstall scoinst install; do
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4057 if test $ac_prog = install &&
4058 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4059 # AIX install. It has an incompatible calling convention.
4061 elif test $ac_prog = install &&
4062 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4063 # program-specific install script used by HP pwplus--don't use.
4066 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4078 if test "${ac_cv_path_install+set}" = set; then
4079 INSTALL=$ac_cv_path_install
4081 # As a last resort, use the slow shell script. We don't cache a
4082 # path for INSTALL within a source directory, because that will
4083 # break other packages using the cache if that directory is
4084 # removed, or if the path is relative.
4085 INSTALL=$ac_install_sh
4088 echo "$as_me:$LINENO: result: $INSTALL" >&5
4089 echo "${ECHO_T}$INSTALL" >&6
4091 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4092 # It thinks the first close brace ends the variable substitution.
4093 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4095 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4097 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4099 if test -n "$ac_tool_prefix"; then
4100 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4101 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4102 echo "$as_me:$LINENO: checking for $ac_word" >&5
4103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4104 if test "${ac_cv_prog_RANLIB+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 if test -n "$RANLIB"; then
4108 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4114 test -z "$as_dir" && as_dir=.
4115 for ac_exec_ext in '' $ac_executable_extensions; do
4116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4117 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4126 RANLIB=$ac_cv_prog_RANLIB
4127 if test -n "$RANLIB"; then
4128 echo "$as_me:$LINENO: result: $RANLIB" >&5
4129 echo "${ECHO_T}$RANLIB" >&6
4131 echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4136 if test -z "$ac_cv_prog_RANLIB"; then
4137 ac_ct_RANLIB=$RANLIB
4138 # Extract the first word of "ranlib", so it can be a program name with args.
4139 set dummy ranlib; ac_word=$2
4140 echo "$as_me:$LINENO: checking for $ac_word" >&5
4141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4142 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 if test -n "$ac_ct_RANLIB"; then
4146 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4152 test -z "$as_dir" && as_dir=.
4153 for ac_exec_ext in '' $ac_executable_extensions; do
4154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4155 ac_cv_prog_ac_ct_RANLIB="ranlib"
4156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4162 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4165 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4166 if test -n "$ac_ct_RANLIB"; then
4167 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4168 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4174 RANLIB=$ac_ct_RANLIB
4176 RANLIB="$ac_cv_prog_RANLIB"
4179 if test -n "$ac_tool_prefix"; then
4180 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4181 set dummy ${ac_tool_prefix}ar; ac_word=$2
4182 echo "$as_me:$LINENO: checking for $ac_word" >&5
4183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4184 if test "${ac_cv_prog_AR+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 if test -n "$AR"; then
4188 ac_cv_prog_AR="$AR" # Let the user override the test.
4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 test -z "$as_dir" && as_dir=.
4195 for ac_exec_ext in '' $ac_executable_extensions; do
4196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4197 ac_cv_prog_AR="${ac_tool_prefix}ar"
4198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 if test -n "$AR"; then
4208 echo "$as_me:$LINENO: result: $AR" >&5
4209 echo "${ECHO_T}$AR" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4216 if test -z "$ac_cv_prog_AR"; then
4218 # Extract the first word of "ar", so it can be a program name with args.
4219 set dummy ar; ac_word=$2
4220 echo "$as_me:$LINENO: checking for $ac_word" >&5
4221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4222 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4223 echo $ECHO_N "(cached) $ECHO_C" >&6
4225 if test -n "$ac_ct_AR"; then
4226 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_ac_ct_AR="ar"
4236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4245 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4246 if test -n "$ac_ct_AR"; then
4247 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4248 echo "${ECHO_T}$ac_ct_AR" >&6
4250 echo "$as_me:$LINENO: result: no" >&5
4251 echo "${ECHO_T}no" >&6
4260 echo "$as_me:$LINENO: checking for inline" >&5
4261 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4262 if test "${ac_cv_c_inline+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4266 for ac_kw in inline __inline__ __inline; do
4267 cat >conftest.$ac_ext <<_ACEOF
4270 cat confdefs.h >>conftest.$ac_ext
4271 cat >>conftest.$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4275 static $ac_kw foo_t static_foo () {return 0; }
4276 $ac_kw foo_t foo () {return 0; }
4280 rm -f conftest.$ac_objext
4281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4282 (eval $ac_compile) 2>conftest.er1
4284 grep -v '^ *+' conftest.er1 >conftest.err
4286 cat conftest.err >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); } &&
4289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; } &&
4295 { ac_try='test -s conftest.$ac_objext'
4296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); }; }; then
4301 ac_cv_c_inline=$ac_kw; break
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.$ac_ext >&5
4307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4311 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4312 echo "${ECHO_T}$ac_cv_c_inline" >&6
4315 case $ac_cv_c_inline in
4318 case $ac_cv_c_inline in
4320 *) ac_val=$ac_cv_c_inline;;
4322 cat >>confdefs.h <<_ACEOF
4324 #define inline $ac_val
4330 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4331 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4332 if test "${ac_cv_c_const+set}" = set; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 cat >conftest.$ac_ext <<_ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4345 /* FIXME: Include the comments suggested by Paul. */
4347 /* Ultrix mips cc rejects this. */
4348 typedef int charset[2];
4350 /* SunOS 4.1.1 cc rejects this. */
4351 char const *const *ccp;
4353 /* NEC SVR4.0.2 mips cc rejects this. */
4354 struct point {int x, y;};
4355 static struct point const zero = {0,0};
4356 /* AIX XL C 1.02.0.0 rejects this.
4357 It does not let you subtract one const X* pointer from another in
4358 an arm of an if-expression whose if-part is not a constant
4360 const char *g = "string";
4361 ccp = &g + (g ? g-g : 0);
4362 /* HPUX 7.0 cc rejects these. */
4365 ccp = (char const *const *) p;
4366 { /* SCO 3.2v4 cc rejects this. */
4368 char const *s = 0 ? (char *) 0 : (char const *) 0;
4372 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4374 const int *foo = &x[0];
4377 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4378 typedef const int *iptr;
4382 { /* AIX XL C 1.02.0.0 rejects this saying
4383 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4384 struct s { int j; const int *ap[3]; };
4385 struct s *b; b->j = 5;
4387 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4396 rm -f conftest.$ac_objext
4397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4398 (eval $ac_compile) 2>conftest.er1
4400 grep -v '^ *+' conftest.er1 >conftest.err
4402 cat conftest.err >&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); } &&
4405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; } &&
4411 { ac_try='test -s conftest.$ac_objext'
4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; }; then
4419 echo "$as_me: failed program was:" >&5
4420 sed 's/^/| /' conftest.$ac_ext >&5
4424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4426 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4427 echo "${ECHO_T}$ac_cv_c_const" >&6
4428 if test $ac_cv_c_const = no; then
4430 cat >>confdefs.h <<\_ACEOF
4437 # Extract the first word of "dbx", so it can be a program name with args.
4438 set dummy dbx; ac_word=$2
4439 echo "$as_me:$LINENO: checking for $ac_word" >&5
4440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4441 if test "${ac_cv_path_DBX+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 ac_cv_path_DBX="$DBX" # Let the user override the test with a path.
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456 ac_cv_path_DBX="$as_dir/$ac_word$ac_exec_ext"
4457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 test -z "$ac_cv_path_DBX" && ac_cv_path_DBX="no"
4469 if test -n "$DBX"; then
4470 echo "$as_me:$LINENO: result: $DBX" >&5
4471 echo "${ECHO_T}$DBX" >&6
4473 echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6
4477 # Extract the first word of "gdb", so it can be a program name with args.
4478 set dummy gdb; ac_word=$2
4479 echo "$as_me:$LINENO: checking for $ac_word" >&5
4480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4481 if test "${ac_cv_path_GDB+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 ac_cv_path_GDB="$GDB" # Let the user override the test with a path.
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496 ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext"
4497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 test -z "$ac_cv_path_GDB" && ac_cv_path_GDB="no"
4509 if test -n "$GDB"; then
4510 echo "$as_me:$LINENO: result: $GDB" >&5
4511 echo "${ECHO_T}$GDB" >&6
4513 echo "$as_me:$LINENO: result: no" >&5
4514 echo "${ECHO_T}no" >&6
4517 # Extract the first word of "sdb", so it can be a program name with args.
4518 set dummy sdb; ac_word=$2
4519 echo "$as_me:$LINENO: checking for $ac_word" >&5
4520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4521 if test "${ac_cv_path_SDB+set}" = set; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 ac_cv_path_SDB="$SDB" # Let the user override the test with a path.
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 test -z "$as_dir" && as_dir=.
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4536 ac_cv_path_SDB="$as_dir/$ac_word$ac_exec_ext"
4537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 test -z "$ac_cv_path_SDB" && ac_cv_path_SDB="no"
4549 if test -n "$SDB"; then
4550 echo "$as_me:$LINENO: result: $SDB" >&5
4551 echo "${ECHO_T}$SDB" >&6
4553 echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6
4558 if test $GDB != no ; then
4560 elif test $DBX != no ; then
4562 elif test $SDB != no ; then
4570 # The following templates should be used with newer automakes
4571 # instead of acconfig.h
4573 #AH_TEMPLATE([sig_atomic_t],
4574 # [/* Define to `int' if <signal.h> doesn't define.])
4575 #AH_TEMPLATE([HAVE_START_COLOR],
4576 # [Define if you have start_color, as a function or macro.])
4577 #AH_TEMPLATE([HAVE_TYPEAHEAD],
4578 # [Define if you have typeahead, as a function or macro.])
4579 #AH_TEMPLATE([HAVE_BKGDSET],
4580 # [Define if you have bkgdset, as a function or macro.])
4581 #AH_TEMPLATE([HAVE_CURS_SET],
4582 # [Define if you have curs_set, as a function or macro.])
4583 #AH_TEMPLATE([HAVE_META],
4584 # [Define if you have meta, as a function or macro.])
4585 #AH_TEMPLATE([HAVE_USE_DEFAULT_COLORS],
4586 # [Define if you have use_default_colors, as a function or macro.])
4587 #AH_TEMPLATE([HAVE_RESIZETERM],
4588 # [Define if you have resizeterm, as a function or macro.])
4589 #AH_TEMPLATE([SIG_ATOMIC_VOLATILE_T],
4590 # [Some systems declare sig_atomic_t as volatile, some others -- no.
4591 # This define will have value `sig_atomic_t' or
4592 # `volatile sig_atomic_t' accordingly.])
4593 #AH_TEMPLATE([ICONV_NONTRANS],
4594 # [Define as 1 if iconv() only converts exactly and we should treat
4595 # all return values other than (size_t)(-1) as equivalent.])
4598 ac_aux_path_sendmail=/usr/sbin:/usr/lib
4599 # Extract the first word of "sendmail", so it can be a program name with args.
4600 set dummy sendmail; ac_word=$2
4601 echo "$as_me:$LINENO: checking for $ac_word" >&5
4602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4603 if test "${ac_cv_path_SENDMAIL+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 as_dummy="$PATH:$ac_aux_path_sendmail"
4613 for as_dir in $as_dummy
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
4620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL="/usr/sbin/sendmail"
4630 SENDMAIL=$ac_cv_path_SENDMAIL
4632 if test -n "$SENDMAIL"; then
4633 echo "$as_me:$LINENO: result: $SENDMAIL" >&5
4634 echo "${ECHO_T}$SENDMAIL" >&6
4636 echo "$as_me:$LINENO: result: no" >&5
4637 echo "${ECHO_T}no" >&6
4641 cat >>confdefs.h <<_ACEOF
4642 #define SENDMAIL "$ac_cv_path_SENDMAIL"
4647 if test -f $srcdir/EXPORTABLE ; then
4652 # Check whether --enable-pgp or --disable-pgp was given.
4653 if test "${enable_pgp+set}" = set; then
4654 enableval="$enable_pgp"
4655 if test x$enableval = xno ; then
4661 if test x$have_pgp != xno ; then
4663 cat >>confdefs.h <<\_ACEOF
4664 #define CRYPT_BACKEND_CLASSIC_PGP 1
4667 PGPAUX_TARGET="pgpring pgpewrap"
4668 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS pgp.o pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o pgppacket.o crypt-mod-pgp-classic.o"
4671 # Check whether --enable-smime or --disable-smime was given.
4672 if test "${enable_smime+set}" = set; then
4673 enableval="$enable_smime"
4674 if test x$enableval = xno ; then
4680 if test x$have_smime != xno ; then
4682 cat >>confdefs.h <<\_ACEOF
4683 #define CRYPT_BACKEND_CLASSIC_SMIME 1
4686 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS smime.o crypt-mod-smime-classic.o"
4687 SMIMEAUX_TARGET="smime_keys"
4691 # Check whether --with-mixmaster or --without-mixmaster was given.
4692 if test "${with_mixmaster+set}" = set; then
4693 withval="$with_mixmaster"
4694 if test -x "$withval" ; then
4695 MIXMASTER="$withval"
4697 MIXMASTER="mixmaster"
4699 OPS="$OPS \$(srcdir)/OPS.MIX"
4700 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS remailer.o"
4702 cat >>confdefs.h <<_ACEOF
4703 #define MIXMASTER "$MIXMASTER"
4710 # We now require all OPS
4711 OPS="$OPS \$(srcdir)/OPS.PGP \$(srcdir)/OPS.SMIME \$(srcdir)/OPS.CRYPT "
4719 cat >>confdefs.h <<_ACEOF
4720 #define SUBVERSION "$SUBVERSION"
4725 # Extract the first word of "ispell", so it can be a program name with args.
4726 set dummy ispell; ac_word=$2
4727 echo "$as_me:$LINENO: checking for $ac_word" >&5
4728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4729 if test "${ac_cv_path_ISPELL+set}" = set; then
4730 echo $ECHO_N "(cached) $ECHO_C" >&6
4734 ac_cv_path_ISPELL="$ISPELL" # Let the user override the test with a path.
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 test -z "$as_dir" && as_dir=.
4742 for ac_exec_ext in '' $ac_executable_extensions; do
4743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4744 ac_cv_path_ISPELL="$as_dir/$ac_word$ac_exec_ext"
4745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 test -z "$ac_cv_path_ISPELL" && ac_cv_path_ISPELL="no"
4755 ISPELL=$ac_cv_path_ISPELL
4757 if test -n "$ISPELL"; then
4758 echo "$as_me:$LINENO: result: $ISPELL" >&5
4759 echo "${ECHO_T}$ISPELL" >&6
4761 echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6
4765 if test $ISPELL != no; then
4767 cat >>confdefs.h <<_ACEOF
4768 #define ISPELL "$ISPELL"
4774 # Check whether --with-slang or --without-slang was given.
4775 if test "${with_slang+set}" = set; then
4776 withval="$with_slang"
4777 echo "$as_me:$LINENO: checking if this is a BSD system" >&5
4778 echo $ECHO_N "checking if this is a BSD system... $ECHO_C" >&6
4779 if test "${mutt_cv_bsdish+set}" = set; then
4780 echo $ECHO_N "(cached) $ECHO_C" >&6
4782 if test "$cross_compiling" = yes; then
4785 cat >conftest.$ac_ext <<_ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 #include <sys/param.h>
4802 rm -f conftest$ac_exeext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4804 (eval $ac_link) 2>&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4815 echo "$as_me: program exited with status $ac_status" >&5
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.$ac_ext >&5
4822 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4825 echo "$as_me:$LINENO: result: $mutt_cv_bsdish" >&5
4826 echo "${ECHO_T}$mutt_cv_bsdish" >&6
4828 echo "$as_me:$LINENO: checking for S-Lang" >&5
4829 echo $ECHO_N "checking for S-Lang... $ECHO_C" >&6
4830 if test $withval = yes; then
4831 if test -d $srcdir/../slang; then
4832 mutt_cv_slang=$srcdir/../slang/src
4833 CPPFLAGS="$CPPFLAGS -I${mutt_cv_slang}"
4834 LDFLAGS="$LDFLAGS -L${mutt_cv_slang}/objs"