2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 if expr a : '\(a\)' >/dev/null 2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 if expr a : '\(a\)' >/dev/null 2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.file
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.file conf$$ 2>/dev/null; then
211 rm -f conf$$ conf$$.exe conf$$.file
213 as_executable_p="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix=/usr/local
247 SHELL=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file="mutt.h"
262 # Factoring default headers for most tests.
263 ac_includes_default="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name=s,x,x,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir='${exec_prefix}/bin'
326 sbindir='${exec_prefix}/sbin'
327 libexecdir='${exec_prefix}/libexec'
328 datadir='${prefix}/share'
329 sysconfdir='${prefix}/etc'
330 sharedstatedir='${prefix}/com'
331 localstatedir='${prefix}/var'
332 libdir='${exec_prefix}/lib'
333 includedir='${prefix}/include'
334 oldincludedir='/usr/include'
335 infodir='${prefix}/info'
336 mandir='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
372 cache_file=config.cache ;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
646 eval ac_val=$`echo $ac_var`
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687 test "$silent" = yes && exec 6>/dev/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 ac_env_CPP_set=${CPP+set}
752 ac_env_CPP_value=$CPP
753 ac_cv_env_CPP_set=${CPP+set}
754 ac_cv_env_CPP_value=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --program-prefix=PREFIX prepend PREFIX to installed program names
818 --program-suffix=SUFFIX append SUFFIX to installed program names
819 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
822 --build=BUILD configure for building on BUILD [guessed]
823 --host=HOST cross-compile to build programs to run on HOST [BUILD]
827 if test -n "$ac_init_help"; then
832 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
833 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
834 --disable-largefile omit support for large files
835 --enable-gpgme Enable GPGME support
836 --disable-pgp Disable PGP support
837 --disable-smime Disable SMIME support
838 --enable-external-dotlock Force use of an external dotlock program
839 --enable-pop Enable POP3 support
840 --enable-imap Enable IMAP support
841 --enable-nntp Enable NNTP support
842 --enable-debug Enable debugging support
843 --enable-flock Use flock() to lock files
844 --disable-fcntl Do NOT use fcntl() to lock files
845 --enable-inodesort Read files in maildir folders sorted by inode.
846 --disable-warnings Turn off compiler warnings (not recommended)
847 --enable-nfs-fix Work around an NFS with broken attributes caching
848 --enable-buffy-size Use file size attribute instead of access time
849 --enable-mailtool Enable Sun mailtool attachments support
850 --enable-compressed Enable compressed folders support
851 --enable-locales-fix The result of isprint() is unreliable
852 --enable-exact-address Enable regeneration of email addresses
853 --enable-hcache Enable header caching
854 --disable-iconv Disable iconv support
855 --disable-nls Do not use Native Language Support
858 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
859 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
860 --with-gpgme-prefix=PFX prefix where GPGME is installed (optional)
861 --with-mixmaster=PATH Include Mixmaster support
862 --with-slang=DIR Use S-Lang instead of ncurses
863 --with-curses=DIR Where ncurses is installed
864 --with-regex Use the GNU regex library
865 --with-homespool=FILE File in user's directory where new mail is spooled
866 --with-mailpath=DIR Directory where spool mailboxes are located
867 --with-docdir=PATH Specify where to put the documentation
868 --with-domain=DOMAIN Specify your DNS domain name
869 --with-gss=PFX Compile in GSSAPI authentication for IMAP
870 --with-ssl=PFX Compile in SSL support for POP/IMAP
871 --with-gnutls=PFX Compile in GNU TLS support for POP/IMAP
872 --with-nss=PFX Compile in SSL support for POP/IMAP via NSS
873 --with-gnutls=PFX Enable SSL support using gnutls
874 --with-sasl=PFX Use Cyrus SASL library for POP/IMAP authentication
875 --with-sasl2=PFX Use Cyrus SASL library version 2 for POP/IMAP authentication
876 --with-idn=PFX Use GNU libidn for domain names
877 --with-exec-shell=SHELL Specify alternate shell (ONLY if /bin/sh is broken)
878 --without-gdbm Get rid of gdbm even if it is available
879 --with-bdb=DIR Use BerkeleyDB4 if gdbm is not available
880 --with-libiconv-prefix=DIR Search for libiconv in DIR/include and DIR/lib
881 --with-included-gettext Use the GNU gettext library included here
882 --without-wc-funcs Do not use the system's wchar_t functions
883 --with-libesmtp=DIR Compile in support for libesmtp for the MTA
885 Some influential environment variables:
886 CC C compiler command
887 CFLAGS C compiler flags
888 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
889 nonstandard directory <lib dir>
890 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
891 headers in a nonstandard directory <include dir>
894 Use these variables to override the choices made by `configure' or to help
895 it to find libraries and programs with nonstandard names/locations.
900 if test "$ac_init_help" = "recursive"; then
901 # If there are subdirs, report their specific --help.
903 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
904 test -d $ac_dir || continue
907 if test "$ac_dir" != .; then
908 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
909 # A "../" for each directory in $ac_dir_suffix.
910 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
912 ac_dir_suffix= ac_top_builddir=
916 .) # No --srcdir option. We are building in place.
918 if test -z "$ac_top_builddir"; then
921 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
923 [\\/]* | ?:[\\/]* ) # Absolute path.
924 ac_srcdir=$srcdir$ac_dir_suffix;
925 ac_top_srcdir=$srcdir ;;
927 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
928 ac_top_srcdir=$ac_top_builddir$srcdir ;;
930 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
932 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
933 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
934 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
935 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
938 # Check for guested configure; otherwise get Cygnus style configure.
939 if test -f $ac_srcdir/configure.gnu; then
941 $SHELL $ac_srcdir/configure.gnu --help=recursive
942 elif test -f $ac_srcdir/configure; then
944 $SHELL $ac_srcdir/configure --help=recursive
945 elif test -f $ac_srcdir/configure.ac ||
946 test -f $ac_srcdir/configure.in; then
950 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
956 test -n "$ac_init_help" && exit 0
957 if $ac_init_version; then
960 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
961 Free Software Foundation, Inc.
962 This configure script is free software; the Free Software Foundation
963 gives unlimited permission to copy, distribute and modify it.
969 This file contains any messages produced by compilers while
970 running configure, to aid debugging if configure makes a mistake.
972 It was created by $as_me, which was
973 generated by GNU Autoconf 2.53. Invocation command line was
984 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
985 uname -m = `(uname -m) 2>/dev/null || echo unknown`
986 uname -r = `(uname -r) 2>/dev/null || echo unknown`
987 uname -s = `(uname -s) 2>/dev/null || echo unknown`
988 uname -v = `(uname -v) 2>/dev/null || echo unknown`
990 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
991 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
993 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
994 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
995 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
996 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
997 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
998 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
999 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1007 test -z "$as_dir" && as_dir=.
1008 echo "PATH: $as_dir"
1023 # Keep a trace of the command line.
1024 # Strip out --no-create and --no-recursion so they do not pile up.
1025 # Also quote any args containing shell meta-characters.
1031 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1032 | --no-cr | --no-c | -n ) continue ;;
1033 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1034 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1036 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1037 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1039 case " $ac_configure_args " in
1040 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1041 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1044 # Get rid of the leading space.
1047 # When interrupted or exit'd, cleanup temporary files, and complete
1048 # config.log. We remove comments because anyway the quotes in there
1049 # would cause problems or look ugly.
1050 # WARNING: Be sure not to use single quotes in there, as some shells,
1051 # such as our DU 5.0 friend, will then `close' the trap.
1052 trap 'exit_status=$?
1053 # Save into config.log some information that might help in debugging.
1057 ## ---------------- ##
1058 ## Cache variables. ##
1059 ## ---------------- ##
1062 # The following way of writing the cache mishandles newlines in values,
1065 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1068 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1073 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1078 if test -s confdefs.h; then
1085 sed "/^$/d" confdefs.h
1088 test "$ac_signal" != 0 &&
1089 echo "$as_me: caught signal $ac_signal"
1090 echo "$as_me: exit $exit_status"
1092 rm -f core core.* *.core &&
1093 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1096 for ac_signal in 1 2 13 15; do
1097 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1101 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1102 rm -rf conftest* confdefs.h
1103 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1106 # Predefined preprocessor variables.
1108 cat >>confdefs.h <<_ACEOF
1109 #define PACKAGE_NAME "$PACKAGE_NAME"
1113 cat >>confdefs.h <<_ACEOF
1114 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1118 cat >>confdefs.h <<_ACEOF
1119 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1123 cat >>confdefs.h <<_ACEOF
1124 #define PACKAGE_STRING "$PACKAGE_STRING"
1128 cat >>confdefs.h <<_ACEOF
1129 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1133 # Let the site file select an alternate cache file if it wants to.
1134 # Prefer explicitly selected file to automatically selected ones.
1135 if test -z "$CONFIG_SITE"; then
1136 if test "x$prefix" != xNONE; then
1137 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1139 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1142 for ac_site_file in $CONFIG_SITE; do
1143 if test -r "$ac_site_file"; then
1144 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1145 echo "$as_me: loading site script $ac_site_file" >&6;}
1146 sed 's/^/| /' "$ac_site_file" >&5
1151 if test -r "$cache_file"; then
1152 # Some versions of bash will fail to source /dev/null (special
1153 # files actually), so we avoid doing that.
1154 if test -f "$cache_file"; then
1155 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1156 echo "$as_me: loading cache $cache_file" >&6;}
1158 [\\/]* | ?:[\\/]* ) . $cache_file;;
1159 *) . ./$cache_file;;
1163 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1164 echo "$as_me: creating cache $cache_file" >&6;}
1168 # Check that the precious variables saved in the cache have kept the same
1170 ac_cache_corrupted=false
1171 for ac_var in `(set) 2>&1 |
1172 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1173 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1174 eval ac_new_set=\$ac_env_${ac_var}_set
1175 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1176 eval ac_new_val="\$ac_env_${ac_var}_value"
1177 case $ac_old_set,$ac_new_set in
1179 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1180 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1181 ac_cache_corrupted=: ;;
1183 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1184 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1185 ac_cache_corrupted=: ;;
1188 if test "x$ac_old_val" != "x$ac_new_val"; then
1189 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1190 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1191 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1192 echo "$as_me: former value: $ac_old_val" >&2;}
1193 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1194 echo "$as_me: current value: $ac_new_val" >&2;}
1195 ac_cache_corrupted=:
1198 # Pass precious variables to config.status.
1199 if test "$ac_new_set" = set; then
1201 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1202 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1203 *) ac_arg=$ac_var=$ac_new_val ;;
1205 case " $ac_configure_args " in
1206 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1207 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1211 if $ac_cache_corrupted; then
1212 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1213 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1214 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1215 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1216 { (exit 1); exit 1; }; }
1220 ac_cpp='$CPP $CPPFLAGS'
1221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1243 ac_config_headers="$ac_config_headers config.h"
1245 ac_config_commands="$ac_config_commands default-1"
1248 mutt_cv_version=`cat $srcdir/VERSION`
1251 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1252 if test -f $ac_dir/install-sh; then
1254 ac_install_sh="$ac_aux_dir/install-sh -c"
1256 elif test -f $ac_dir/install.sh; then
1258 ac_install_sh="$ac_aux_dir/install.sh -c"
1260 elif test -f $ac_dir/shtool; then
1262 ac_install_sh="$ac_aux_dir/shtool install -c"
1266 if test -z "$ac_aux_dir"; then
1267 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1268 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1269 { (exit 1); exit 1; }; }
1271 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1272 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1273 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1275 # Find a good install program. We prefer a C program (faster),
1276 # so one script is as good as another. But avoid the broken or
1277 # incompatible versions:
1278 # SysV /etc/install, /usr/sbin/install
1279 # SunOS /usr/etc/install
1280 # IRIX /sbin/install
1282 # AmigaOS /C/install, which installs bootblocks on floppy discs
1283 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1284 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1285 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1286 # ./install, which can be erroneously created by make from ./install.sh.
1287 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1288 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1289 if test -z "$INSTALL"; then
1290 if test "${ac_cv_path_install+set}" = set; then
1291 echo $ECHO_N "(cached) $ECHO_C" >&6
1293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1297 test -z "$as_dir" && as_dir=.
1298 # Account for people who put trailing slashes in PATH elements.
1300 ./ | .// | /cC/* | \
1301 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1304 # OSF1 and SCO ODT 3.0 have their own names for install.
1305 # Don't use installbsd from OSF since it installs stuff as root
1307 for ac_prog in ginstall scoinst install; do
1308 for ac_exec_ext in '' $ac_executable_extensions; do
1309 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1310 if test $ac_prog = install &&
1311 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1312 # AIX install. It has an incompatible calling convention.
1314 elif test $ac_prog = install &&
1315 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1316 # program-specific install script used by HP pwplus--don't use.
1319 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1331 if test "${ac_cv_path_install+set}" = set; then
1332 INSTALL=$ac_cv_path_install
1334 # As a last resort, use the slow shell script. We don't cache a
1335 # path for INSTALL within a source directory, because that will
1336 # break other packages using the cache if that directory is
1337 # removed, or if the path is relative.
1338 INSTALL=$ac_install_sh
1341 echo "$as_me:$LINENO: result: $INSTALL" >&5
1342 echo "${ECHO_T}$INSTALL" >&6
1344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1345 # It thinks the first close brace ends the variable substitution.
1346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1352 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1353 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1356 echo timestamp > conftestfile
1357 # Do `set' in a subshell so we don't clobber the current shell's
1358 # arguments. Must try -L first in case configure is actually a
1359 # symlink; some systems play weird games with the mod time of symlinks
1360 # (eg FreeBSD returns the mod time of the symlink's containing
1363 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1364 if test "$*" = "X"; then
1366 set X `ls -t $srcdir/configure conftestfile`
1368 if test "$*" != "X $srcdir/configure conftestfile" \
1369 && test "$*" != "X conftestfile $srcdir/configure"; then
1371 # If neither matched, then we have a broken ls. This can happen
1372 # if, for instance, CONFIG_SHELL is bash and it inherits a
1373 # broken ls alias from the environment. This has actually
1374 # happened. Such a system could not be considered "sane".
1375 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1376 alias in your environment" >&5
1377 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1378 alias in your environment" >&2;}
1379 { (exit 1); exit 1; }; }
1382 test "$2" = conftestfile
1388 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1389 Check your system clock" >&5
1390 echo "$as_me: error: newly created file is older than distributed files!
1391 Check your system clock" >&2;}
1392 { (exit 1); exit 1; }; }
1395 echo "$as_me:$LINENO: result: yes" >&5
1396 echo "${ECHO_T}yes" >&6
1397 test "$program_prefix" != NONE &&
1398 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1399 # Use a double $ so make ignores it.
1400 test "$program_suffix" != NONE &&
1401 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1402 # Double any \ or $. echo might interpret backslashes.
1403 # By default was `s,x,x', remove it if useless.
1404 cat <<\_ACEOF >conftest.sed
1405 s/[\\$]/&&/g;s/;s,x,x,$//
1407 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1410 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1411 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1412 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1413 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1414 echo $ECHO_N "(cached) $ECHO_C" >&6
1416 cat >conftest.make <<\_ACEOF
1418 @echo 'ac_maketemp="${MAKE}"'
1420 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1421 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1422 if test -n "$ac_maketemp"; then
1423 eval ac_cv_prog_make_${ac_make}_set=yes
1425 eval ac_cv_prog_make_${ac_make}_set=no
1429 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1430 echo "$as_me:$LINENO: result: yes" >&5
1431 echo "${ECHO_T}yes" >&6
1434 echo "$as_me:$LINENO: result: no" >&5
1435 echo "${ECHO_T}no" >&6
1436 SET_MAKE="MAKE=${MAKE-make}"
1442 VERSION=$mutt_cv_version
1444 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1445 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1446 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1447 { (exit 1); exit 1; }; }
1450 cat >>confdefs.h <<_ACEOF
1451 #define PACKAGE "$PACKAGE"
1455 cat >>confdefs.h <<_ACEOF
1456 #define VERSION "$VERSION"
1461 missing_dir=`cd $ac_aux_dir && pwd`
1462 echo "$as_me:$LINENO: checking for working aclocal" >&5
1463 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1464 # Run test in a subshell; some versions of sh will print an error if
1465 # an executable is not found, even if stderr is redirected.
1466 # Redirect stdin to placate older versions of autoconf. Sigh.
1467 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1469 echo "$as_me:$LINENO: result: found" >&5
1470 echo "${ECHO_T}found" >&6
1472 ACLOCAL="$missing_dir/missing aclocal"
1473 echo "$as_me:$LINENO: result: missing" >&5
1474 echo "${ECHO_T}missing" >&6
1477 echo "$as_me:$LINENO: checking for working autoconf" >&5
1478 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1479 # Run test in a subshell; some versions of sh will print an error if
1480 # an executable is not found, even if stderr is redirected.
1481 # Redirect stdin to placate older versions of autoconf. Sigh.
1482 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1484 echo "$as_me:$LINENO: result: found" >&5
1485 echo "${ECHO_T}found" >&6
1487 AUTOCONF="$missing_dir/missing autoconf"
1488 echo "$as_me:$LINENO: result: missing" >&5
1489 echo "${ECHO_T}missing" >&6
1492 echo "$as_me:$LINENO: checking for working automake" >&5
1493 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1494 # Run test in a subshell; some versions of sh will print an error if
1495 # an executable is not found, even if stderr is redirected.
1496 # Redirect stdin to placate older versions of autoconf. Sigh.
1497 if (automake --version) < /dev/null > /dev/null 2>&1; then
1499 echo "$as_me:$LINENO: result: found" >&5
1500 echo "${ECHO_T}found" >&6
1502 AUTOMAKE="$missing_dir/missing automake"
1503 echo "$as_me:$LINENO: result: missing" >&5
1504 echo "${ECHO_T}missing" >&6
1507 echo "$as_me:$LINENO: checking for working autoheader" >&5
1508 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1509 # Run test in a subshell; some versions of sh will print an error if
1510 # an executable is not found, even if stderr is redirected.
1511 # Redirect stdin to placate older versions of autoconf. Sigh.
1512 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1513 AUTOHEADER=autoheader
1514 echo "$as_me:$LINENO: result: found" >&5
1515 echo "${ECHO_T}found" >&6
1517 AUTOHEADER="$missing_dir/missing autoheader"
1518 echo "$as_me:$LINENO: result: missing" >&5
1519 echo "${ECHO_T}missing" >&6
1522 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1523 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1524 # Run test in a subshell; some versions of sh will print an error if
1525 # an executable is not found, even if stderr is redirected.
1526 # Redirect stdin to placate older versions of autoconf. Sigh.
1527 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1529 echo "$as_me:$LINENO: result: found" >&5
1530 echo "${ECHO_T}found" >&6
1532 MAKEINFO="$missing_dir/missing makeinfo"
1533 echo "$as_me:$LINENO: result: missing" >&5
1534 echo "${ECHO_T}missing" >&6
1541 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"
1543 # Make sure we can run config.sub.
1544 $ac_config_sub sun4 >/dev/null 2>&1 ||
1545 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1546 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1547 { (exit 1); exit 1; }; }
1549 echo "$as_me:$LINENO: checking build system type" >&5
1550 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1551 if test "${ac_cv_build+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 ac_cv_build_alias=$build_alias
1555 test -z "$ac_cv_build_alias" &&
1556 ac_cv_build_alias=`$ac_config_guess`
1557 test -z "$ac_cv_build_alias" &&
1558 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1559 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1560 { (exit 1); exit 1; }; }
1561 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1563 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1567 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1568 echo "${ECHO_T}$ac_cv_build" >&6
1570 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1571 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1572 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1575 echo "$as_me:$LINENO: checking host system type" >&5
1576 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1577 if test "${ac_cv_host+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_host_alias=$host_alias
1581 test -z "$ac_cv_host_alias" &&
1582 ac_cv_host_alias=$ac_cv_build_alias
1583 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1589 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1590 echo "${ECHO_T}$ac_cv_host" >&6
1592 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1598 echo "$as_me:$LINENO: checking for prefix" >&5
1599 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
1600 if test x$prefix = xNONE; then
1601 mutt_cv_prefix=$ac_default_prefix
1603 mutt_cv_prefix=$prefix
1605 echo "$as_me:$LINENO: result: $mutt_cv_prefix" >&5
1606 echo "${ECHO_T}$mutt_cv_prefix" >&6
1609 ac_cpp='$CPP $CPPFLAGS'
1610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1613 if test -n "$ac_tool_prefix"; then
1614 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1615 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1616 echo "$as_me:$LINENO: checking for $ac_word" >&5
1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1618 if test "${ac_cv_prog_CC+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 if test -n "$CC"; then
1622 ac_cv_prog_CC="$CC" # Let the user override the test.
1624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir=.
1629 for ac_exec_ext in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 if test -n "$CC"; then
1642 echo "$as_me:$LINENO: result: $CC" >&5
1643 echo "${ECHO_T}$CC" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1650 if test -z "$ac_cv_prog_CC"; then
1652 # Extract the first word of "gcc", so it can be a program name with args.
1653 set dummy gcc; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$ac_ct_CC"; then
1660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_ac_ct_CC="gcc"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1679 if test -n "$ac_ct_CC"; then
1680 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1681 echo "${ECHO_T}$ac_ct_CC" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1692 if test -z "$CC"; then
1693 if test -n "$ac_tool_prefix"; then
1694 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1695 set dummy ${ac_tool_prefix}cc; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$CC"; then
1702 ac_cv_prog_CC="$CC" # Let the user override the test.
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_CC="${ac_tool_prefix}cc"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 if test -n "$CC"; then
1722 echo "$as_me:$LINENO: result: $CC" >&5
1723 echo "${ECHO_T}$CC" >&6
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1730 if test -z "$ac_cv_prog_CC"; then
1732 # Extract the first word of "cc", so it can be a program name with args.
1733 set dummy cc; ac_word=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 if test -n "$ac_ct_CC"; then
1740 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1746 test -z "$as_dir" && as_dir=.
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749 ac_cv_prog_ac_ct_CC="cc"
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1759 if test -n "$ac_ct_CC"; then
1760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1761 echo "${ECHO_T}$ac_ct_CC" >&6
1763 echo "$as_me:$LINENO: result: no" >&5
1764 echo "${ECHO_T}no" >&6
1773 if test -z "$CC"; then
1774 # Extract the first word of "cc", so it can be a program name with args.
1775 set dummy cc; ac_word=$2
1776 echo "$as_me:$LINENO: checking for $ac_word" >&5
1777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1778 if test "${ac_cv_prog_CC+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 if test -n "$CC"; then
1782 ac_cv_prog_CC="$CC" # Let the user override the test.
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1793 ac_prog_rejected=yes
1797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1803 if test $ac_prog_rejected = yes; then
1804 # We found a bogon in the path, so make sure we never use it.
1805 set dummy $ac_cv_prog_CC
1807 if test $# != 0; then
1808 # We chose a different compiler from the bogus one.
1809 # However, it has the same basename, so the bogon will be chosen
1810 # first if we set CC to just the basename; use the full file name.
1812 set dummy "$as_dir/$ac_word" ${1+"$@"}
1820 if test -n "$CC"; then
1821 echo "$as_me:$LINENO: result: $CC" >&5
1822 echo "${ECHO_T}$CC" >&6
1824 echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6
1829 if test -z "$CC"; then
1830 if test -n "$ac_tool_prefix"; then
1833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1834 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$CC"; then
1841 ac_cv_prog_CC="$CC" # Let the user override the test.
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 if test -n "$CC"; then
1861 echo "$as_me:$LINENO: result: $CC" >&5
1862 echo "${ECHO_T}$CC" >&6
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1868 test -n "$CC" && break
1871 if test -z "$CC"; then
1875 # Extract the first word of "$ac_prog", so it can be a program name with args.
1876 set dummy $ac_prog; ac_word=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$ac_ct_CC"; then
1883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 test -z "$as_dir" && as_dir=.
1890 for ac_exec_ext in '' $ac_executable_extensions; do
1891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892 ac_cv_prog_ac_ct_CC="$ac_prog"
1893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1902 if test -n "$ac_ct_CC"; then
1903 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1904 echo "${ECHO_T}$ac_ct_CC" >&6
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1910 test -n "$ac_ct_CC" && break
1919 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1920 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1921 { (exit 1); exit 1; }; }
1923 # Provide some information about the compiler.
1924 echo "$as_me:$LINENO:" \
1925 "checking for C compiler version" >&5
1926 ac_compiler=`set X $ac_compile; echo $2`
1927 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1928 (eval $ac_compiler --version </dev/null >&5) 2>&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); }
1932 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1933 (eval $ac_compiler -v </dev/null >&5) 2>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }
1937 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1938 (eval $ac_compiler -V </dev/null >&5) 2>&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); }
1943 cat >conftest.$ac_ext <<_ACEOF
1944 #line $LINENO "configure"
1945 #include "confdefs.h"
1947 #ifdef F77_DUMMY_MAIN
1951 int F77_DUMMY_MAIN() { return 1; }
1961 ac_clean_files_save=$ac_clean_files
1962 ac_clean_files="$ac_clean_files a.out a.exe"
1963 # Try to create an executable without -o first, disregard a.out.
1964 # It will help us diagnose broken compilers, and finding out an intuition
1966 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1967 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1968 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1969 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1970 (eval $ac_link_default) 2>&5
1972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973 (exit $ac_status); }; then
1974 # Find the output, starting from the most likely. This scheme is
1975 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1978 # Be careful to initialize this variable, since it used to be cached.
1979 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1981 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1982 ls a.out conftest 2>/dev/null;
1983 ls a.* conftest.* 2>/dev/null`; do
1985 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1986 a.out ) # We found the default executable, but exeext='' is most
1989 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1990 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1997 echo "$as_me: failed program was:" >&5
1998 cat conftest.$ac_ext >&5
1999 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2000 echo "$as_me: error: C compiler cannot create executables" >&2;}
2001 { (exit 77); exit 77; }; }
2004 ac_exeext=$ac_cv_exeext
2005 echo "$as_me:$LINENO: result: $ac_file" >&5
2006 echo "${ECHO_T}$ac_file" >&6
2008 # Check the compiler produces executables we can run. If not, either
2009 # the compiler is broken, or we cross compile.
2010 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2011 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2012 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2013 # If not cross compiling, check that we can run a simple program.
2014 if test "$cross_compiling" != yes; then
2015 if { ac_try='./$ac_file'
2016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }; }; then
2023 if test "$cross_compiling" = maybe; then
2026 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2027 If you meant to cross compile, use \`--host'." >&5
2028 echo "$as_me: error: cannot run C compiled programs.
2029 If you meant to cross compile, use \`--host'." >&2;}
2030 { (exit 1); exit 1; }; }
2034 echo "$as_me:$LINENO: result: yes" >&5
2035 echo "${ECHO_T}yes" >&6
2037 rm -f a.out a.exe conftest$ac_cv_exeext
2038 ac_clean_files=$ac_clean_files_save
2039 # Check the compiler produces executables we can run. If not, either
2040 # the compiler is broken, or we cross compile.
2041 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2042 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2043 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2044 echo "${ECHO_T}$cross_compiling" >&6
2046 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2047 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2049 (eval $ac_link) 2>&5
2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2052 (exit $ac_status); }; then
2053 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2054 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2055 # work properly (i.e., refer to `conftest.exe'), while it won't with
2057 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2059 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2060 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2067 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2068 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2069 { (exit 1); exit 1; }; }
2072 rm -f conftest$ac_cv_exeext
2073 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2074 echo "${ECHO_T}$ac_cv_exeext" >&6
2076 rm -f conftest.$ac_ext
2077 EXEEXT=$ac_cv_exeext
2079 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2080 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2081 if test "${ac_cv_objext+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 cat >conftest.$ac_ext <<_ACEOF
2085 #line $LINENO "configure"
2086 #include "confdefs.h"
2088 #ifdef F77_DUMMY_MAIN
2092 int F77_DUMMY_MAIN() { return 1; }
2102 rm -f conftest.o conftest.obj
2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2104 (eval $ac_compile) 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; then
2108 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2111 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2116 echo "$as_me: failed program was:" >&5
2117 cat conftest.$ac_ext >&5
2118 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2119 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2120 { (exit 1); exit 1; }; }
2123 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2125 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2126 echo "${ECHO_T}$ac_cv_objext" >&6
2127 OBJEXT=$ac_cv_objext
2129 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2130 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2131 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 cat >conftest.$ac_ext <<_ACEOF
2135 #line $LINENO "configure"
2136 #include "confdefs.h"
2138 #ifdef F77_DUMMY_MAIN
2142 int F77_DUMMY_MAIN() { return 1; }
2155 rm -f conftest.$ac_objext
2156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2157 (eval $ac_compile) 2>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); } &&
2161 { ac_try='test -s conftest.$ac_objext'
2162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); }; }; then
2169 echo "$as_me: failed program was:" >&5
2170 cat conftest.$ac_ext >&5
2173 rm -f conftest.$ac_objext conftest.$ac_ext
2174 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2177 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2178 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2179 GCC=`test $ac_compiler_gnu = yes && echo yes`
2180 ac_test_CFLAGS=${CFLAGS+set}
2181 ac_save_CFLAGS=$CFLAGS
2183 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2184 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2185 if test "${ac_cv_prog_cc_g+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 cat >conftest.$ac_ext <<_ACEOF
2189 #line $LINENO "configure"
2190 #include "confdefs.h"
2192 #ifdef F77_DUMMY_MAIN
2196 int F77_DUMMY_MAIN() { return 1; }
2206 rm -f conftest.$ac_objext
2207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2208 (eval $ac_compile) 2>&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); } &&
2212 { ac_try='test -s conftest.$ac_objext'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; }; then
2220 echo "$as_me: failed program was:" >&5
2221 cat conftest.$ac_ext >&5
2224 rm -f conftest.$ac_objext conftest.$ac_ext
2226 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2227 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2228 if test "$ac_test_CFLAGS" = set; then
2229 CFLAGS=$ac_save_CFLAGS
2230 elif test $ac_cv_prog_cc_g = yes; then
2231 if test "$GCC" = yes; then
2237 if test "$GCC" = yes; then
2243 # Some people use a C++ compiler to compile C. Since we use `exit',
2244 # in C++ we need to declare it. In case someone uses the same compiler
2245 # for both compiling C and C++ we need to have the C++ compiler decide
2246 # the declaration of exit, since it's the most demanding environment.
2247 cat >conftest.$ac_ext <<_ACEOF
2252 rm -f conftest.$ac_objext
2253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2254 (eval $ac_compile) 2>&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); } &&
2258 { ac_try='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 for ac_declaration in \
2266 '#include <stdlib.h>' \
2267 'extern "C" void std::exit (int) throw (); using std::exit;' \
2268 'extern "C" void std::exit (int); using std::exit;' \
2269 'extern "C" void exit (int) throw ();' \
2270 'extern "C" void exit (int);' \
2273 cat >conftest.$ac_ext <<_ACEOF
2274 #line $LINENO "configure"
2275 #include "confdefs.h"
2278 #ifdef F77_DUMMY_MAIN
2282 int F77_DUMMY_MAIN() { return 1; }
2292 rm -f conftest.$ac_objext
2293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2294 (eval $ac_compile) 2>&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); } &&
2298 { ac_try='test -s conftest.$ac_objext'
2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; }; then
2306 echo "$as_me: failed program was:" >&5
2307 cat conftest.$ac_ext >&5
2310 rm -f conftest.$ac_objext conftest.$ac_ext
2311 cat >conftest.$ac_ext <<_ACEOF
2312 #line $LINENO "configure"
2313 #include "confdefs.h"
2315 #ifdef F77_DUMMY_MAIN
2319 int F77_DUMMY_MAIN() { return 1; }
2329 rm -f conftest.$ac_objext
2330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2331 (eval $ac_compile) 2>&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); } &&
2335 { ac_try='test -s conftest.$ac_objext'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; }; then
2343 echo "$as_me: failed program was:" >&5
2344 cat conftest.$ac_ext >&5
2346 rm -f conftest.$ac_objext conftest.$ac_ext
2349 if test -n "$ac_declaration"; then
2350 echo '#ifdef __cplusplus' >>confdefs.h
2351 echo $ac_declaration >>confdefs.h
2352 echo '#endif' >>confdefs.h
2356 echo "$as_me: failed program was:" >&5
2357 cat conftest.$ac_ext >&5
2359 rm -f conftest.$ac_objext conftest.$ac_ext
2361 ac_cpp='$CPP $CPPFLAGS'
2362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2368 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2369 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2370 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 ac_check_lib_save_LIBS=$LIBS
2374 LIBS="-lcposix $LIBS"
2375 cat >conftest.$ac_ext <<_ACEOF
2376 #line $LINENO "configure"
2377 #include "confdefs.h"
2379 /* Override any gcc2 internal prototype to avoid an error. */
2383 /* We use char because int might match the return type of a gcc2
2384 builtin and then its argument prototype would still apply. */
2386 #ifdef F77_DUMMY_MAIN
2390 int F77_DUMMY_MAIN() { return 1; }
2400 rm -f conftest.$ac_objext conftest$ac_exeext
2401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2402 (eval $ac_link) 2>&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); } &&
2406 { ac_try='test -s conftest$ac_exeext'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; }; then
2412 ac_cv_lib_cposix_strerror=yes
2414 echo "$as_me: failed program was:" >&5
2415 cat conftest.$ac_ext >&5
2416 ac_cv_lib_cposix_strerror=no
2418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2419 LIBS=$ac_check_lib_save_LIBS
2421 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2422 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2423 if test $ac_cv_lib_cposix_strerror = yes; then
2424 LIBS="$LIBS -lcposix"
2432 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2433 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2434 if test "${am_cv_prog_cc_stdc+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 am_cv_prog_cc_stdc=no
2439 # Don't try gcc -ansi; that turns off useful extensions and
2440 # breaks some systems' header files.
2441 # AIX -qlanglvl=ansi
2442 # Ultrix and OSF/1 -std1
2443 # HP-UX -Aa -D_HPUX_SOURCE
2444 # SVR4 -Xc -D__EXTENSIONS__
2445 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2447 CC="$ac_save_CC $ac_arg"
2448 cat >conftest.$ac_ext <<_ACEOF
2449 #line $LINENO "configure"
2450 #include "confdefs.h"
2453 #include <sys/types.h>
2454 #include <sys/stat.h>
2455 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2456 struct buf { int x; };
2457 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2458 static char *e (p, i)
2464 static char *f (char * (*g) (char **, int), char **p, ...)
2469 s = g (p, va_arg (v,int));
2473 int test (int i, double x);
2474 struct s1 {int (*f) (int a);};
2475 struct s2 {int (*f) (double a);};
2476 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2480 #ifdef F77_DUMMY_MAIN
2484 int F77_DUMMY_MAIN() { return 1; }
2490 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2496 rm -f conftest.$ac_objext
2497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498 (eval $ac_compile) 2>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } &&
2502 { ac_try='test -s conftest.$ac_objext'
2503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }; }; then
2508 am_cv_prog_cc_stdc="$ac_arg"; break
2510 echo "$as_me: failed program was:" >&5
2511 cat conftest.$ac_ext >&5
2513 rm -f conftest.$ac_objext conftest.$ac_ext
2519 if test -z "$am_cv_prog_cc_stdc"; then
2520 echo "$as_me:$LINENO: result: none needed" >&5
2521 echo "${ECHO_T}none needed" >&6
2523 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2524 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2526 case "x$am_cv_prog_cc_stdc" in
2528 *) CC="$CC $am_cv_prog_cc_stdc" ;;
2532 ac_cpp='$CPP $CPPFLAGS'
2533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2536 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2537 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2538 # On Suns, sometimes $CPP names a directory.
2539 if test -n "$CPP" && test -d "$CPP"; then
2542 if test -z "$CPP"; then
2543 if test "${ac_cv_prog_CPP+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 # Double quotes because CPP needs to be expanded
2547 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2550 for ac_c_preproc_warn_flag in '' yes
2552 # Use a header file that comes with gcc, so configuring glibc
2553 # with a fresh cross-compiler works.
2554 # On the NeXT, cc -E runs the code through the compiler's parser,
2555 # not just through cpp. "Syntax error" is here to catch this case.
2556 cat >conftest.$ac_ext <<_ACEOF
2557 #line $LINENO "configure"
2558 #include "confdefs.h"
2562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2565 egrep -v '^ *\+' conftest.er1 >conftest.err
2567 cat conftest.err >&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); } >/dev/null; then
2570 if test -s conftest.err; then
2571 ac_cpp_err=$ac_c_preproc_warn_flag
2578 if test -z "$ac_cpp_err"; then
2581 echo "$as_me: failed program was:" >&5
2582 cat conftest.$ac_ext >&5
2583 # Broken: fails on valid input.
2586 rm -f conftest.err conftest.$ac_ext
2588 # OK, works on sane cases. Now check whether non-existent headers
2589 # can be detected and how.
2590 cat >conftest.$ac_ext <<_ACEOF
2591 #line $LINENO "configure"
2592 #include "confdefs.h"
2593 #include <ac_nonexistent.h>
2595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2598 egrep -v '^ *\+' conftest.er1 >conftest.err
2600 cat conftest.err >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } >/dev/null; then
2603 if test -s conftest.err; then
2604 ac_cpp_err=$ac_c_preproc_warn_flag
2611 if test -z "$ac_cpp_err"; then
2612 # Broken: success on invalid input.
2615 echo "$as_me: failed program was:" >&5
2616 cat conftest.$ac_ext >&5
2617 # Passes both tests.
2621 rm -f conftest.err conftest.$ac_ext
2624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2625 rm -f conftest.err conftest.$ac_ext
2626 if $ac_preproc_ok; then
2638 echo "$as_me:$LINENO: result: $CPP" >&5
2639 echo "${ECHO_T}$CPP" >&6
2641 for ac_c_preproc_warn_flag in '' yes
2643 # Use a header file that comes with gcc, so configuring glibc
2644 # with a fresh cross-compiler works.
2645 # On the NeXT, cc -E runs the code through the compiler's parser,
2646 # not just through cpp. "Syntax error" is here to catch this case.
2647 cat >conftest.$ac_ext <<_ACEOF
2648 #line $LINENO "configure"
2649 #include "confdefs.h"
2653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2656 egrep -v '^ *\+' conftest.er1 >conftest.err
2658 cat conftest.err >&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); } >/dev/null; then
2661 if test -s conftest.err; then
2662 ac_cpp_err=$ac_c_preproc_warn_flag
2669 if test -z "$ac_cpp_err"; then
2672 echo "$as_me: failed program was:" >&5
2673 cat conftest.$ac_ext >&5
2674 # Broken: fails on valid input.
2677 rm -f conftest.err conftest.$ac_ext
2679 # OK, works on sane cases. Now check whether non-existent headers
2680 # can be detected and how.
2681 cat >conftest.$ac_ext <<_ACEOF
2682 #line $LINENO "configure"
2683 #include "confdefs.h"
2684 #include <ac_nonexistent.h>
2686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2689 egrep -v '^ *\+' conftest.er1 >conftest.err
2691 cat conftest.err >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); } >/dev/null; then
2694 if test -s conftest.err; then
2695 ac_cpp_err=$ac_c_preproc_warn_flag
2702 if test -z "$ac_cpp_err"; then
2703 # Broken: success on invalid input.
2706 echo "$as_me: failed program was:" >&5
2707 cat conftest.$ac_ext >&5
2708 # Passes both tests.
2712 rm -f conftest.err conftest.$ac_ext
2715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2716 rm -f conftest.err conftest.$ac_ext
2717 if $ac_preproc_ok; then
2720 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2721 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2722 { (exit 1); exit 1; }; }
2726 ac_cpp='$CPP $CPPFLAGS'
2727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2732 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2742 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2743 inttypes.h stdint.h unistd.h
2745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2746 echo "$as_me:$LINENO: checking for $ac_header" >&5
2747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2749 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 cat >conftest.$ac_ext <<_ACEOF
2752 #line $LINENO "configure"
2753 #include "confdefs.h"
2754 $ac_includes_default
2756 #include <$ac_header>
2758 rm -f conftest.$ac_objext
2759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2760 (eval $ac_compile) 2>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } &&
2764 { ac_try='test -s conftest.$ac_objext'
2765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; }; then
2770 eval "$as_ac_Header=yes"
2772 echo "$as_me: failed program was:" >&5
2773 cat conftest.$ac_ext >&5
2774 eval "$as_ac_Header=no"
2776 rm -f conftest.$ac_objext conftest.$ac_ext
2778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2781 cat >>confdefs.h <<_ACEOF
2782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2792 echo "$as_me:$LINENO: checking for function prototypes" >&5
2793 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
2794 if test "$am_cv_prog_cc_stdc" != no; then
2795 echo "$as_me:$LINENO: result: yes" >&5
2796 echo "${ECHO_T}yes" >&6
2798 cat >>confdefs.h <<\_ACEOF
2799 #define PROTOTYPES 1
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2806 U=_ ANSI2KNR=./ansi2knr
2807 # Ensure some checks needed by ansi2knr itself.
2808 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2809 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2810 if test "${ac_cv_header_stdc+set}" = set; then
2811 echo $ECHO_N "(cached) $ECHO_C" >&6
2813 cat >conftest.$ac_ext <<_ACEOF
2814 #line $LINENO "configure"
2815 #include "confdefs.h"
2822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2825 egrep -v '^ *\+' conftest.er1 >conftest.err
2827 cat conftest.err >&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } >/dev/null; then
2830 if test -s conftest.err; then
2831 ac_cpp_err=$ac_c_preproc_warn_flag
2838 if test -z "$ac_cpp_err"; then
2839 ac_cv_header_stdc=yes
2841 echo "$as_me: failed program was:" >&5
2842 cat conftest.$ac_ext >&5
2843 ac_cv_header_stdc=no
2845 rm -f conftest.err conftest.$ac_ext
2847 if test $ac_cv_header_stdc = yes; then
2848 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2849 cat >conftest.$ac_ext <<_ACEOF
2850 #line $LINENO "configure"
2851 #include "confdefs.h"
2855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2856 egrep "memchr" >/dev/null 2>&1; then
2859 ac_cv_header_stdc=no
2865 if test $ac_cv_header_stdc = yes; then
2866 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2867 cat >conftest.$ac_ext <<_ACEOF
2868 #line $LINENO "configure"
2869 #include "confdefs.h"
2873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2874 egrep "free" >/dev/null 2>&1; then
2877 ac_cv_header_stdc=no
2883 if test $ac_cv_header_stdc = yes; then
2884 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2885 if test "$cross_compiling" = yes; then
2888 cat >conftest.$ac_ext <<_ACEOF
2889 #line $LINENO "configure"
2890 #include "confdefs.h"
2892 #if ((' ' & 0x0FF) == 0x020)
2893 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2894 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2896 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2897 || ('j' <= (c) && (c) <= 'r') \
2898 || ('s' <= (c) && (c) <= 'z'))
2899 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2902 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2907 for (i = 0; i < 256; i++)
2908 if (XOR (islower (i), ISLOWER (i))
2909 || toupper (i) != TOUPPER (i))
2914 rm -f conftest$ac_exeext
2915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2916 (eval $ac_link) 2>&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then
2927 echo "$as_me: program exited with status $ac_status" >&5
2928 echo "$as_me: failed program was:" >&5
2929 cat conftest.$ac_ext >&5
2931 ac_cv_header_stdc=no
2933 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2937 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2938 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2939 if test $ac_cv_header_stdc = yes; then
2941 cat >>confdefs.h <<\_ACEOF
2942 #define STDC_HEADERS 1
2948 for ac_header in string.h
2950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2952 echo "$as_me:$LINENO: checking for $ac_header" >&5
2953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2960 # Is the header compilable?
2961 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2963 cat >conftest.$ac_ext <<_ACEOF
2964 #line $LINENO "configure"
2965 #include "confdefs.h"
2966 $ac_includes_default
2967 #include <$ac_header>
2969 rm -f conftest.$ac_objext
2970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2971 (eval $ac_compile) 2>&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); } &&
2975 { ac_try='test -s conftest.$ac_objext'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; }; then
2981 ac_header_compiler=yes
2983 echo "$as_me: failed program was:" >&5
2984 cat conftest.$ac_ext >&5
2985 ac_header_compiler=no
2987 rm -f conftest.$ac_objext conftest.$ac_ext
2988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2989 echo "${ECHO_T}$ac_header_compiler" >&6
2991 # Is the header present?
2992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2994 cat >conftest.$ac_ext <<_ACEOF
2995 #line $LINENO "configure"
2996 #include "confdefs.h"
2997 #include <$ac_header>
2999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3002 egrep -v '^ *\+' conftest.er1 >conftest.err
3004 cat conftest.err >&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); } >/dev/null; then
3007 if test -s conftest.err; then
3008 ac_cpp_err=$ac_c_preproc_warn_flag
3015 if test -z "$ac_cpp_err"; then
3016 ac_header_preproc=yes
3018 echo "$as_me: failed program was:" >&5
3019 cat conftest.$ac_ext >&5
3020 ac_header_preproc=no
3022 rm -f conftest.err conftest.$ac_ext
3023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3024 echo "${ECHO_T}$ac_header_preproc" >&6
3026 # So? What about this header?
3027 case $ac_header_compiler:$ac_header_preproc in
3029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3041 echo "$as_me:$LINENO: checking for $ac_header" >&5
3042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3046 eval "$as_ac_Header=$ac_header_preproc"
3048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3053 cat >>confdefs.h <<_ACEOF
3054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3063 if test "x$U" != "x"; then
3064 { { echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
3065 echo "$as_me: error: Compiler not ANSI compliant" >&2;}
3066 { (exit 1); exit 1; }; }
3069 ac_cpp='$CPP $CPPFLAGS'
3070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3073 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3074 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3075 # On Suns, sometimes $CPP names a directory.
3076 if test -n "$CPP" && test -d "$CPP"; then
3079 if test -z "$CPP"; then
3080 if test "${ac_cv_prog_CPP+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 # Double quotes because CPP needs to be expanded
3084 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3087 for ac_c_preproc_warn_flag in '' yes
3089 # Use a header file that comes with gcc, so configuring glibc
3090 # with a fresh cross-compiler works.
3091 # On the NeXT, cc -E runs the code through the compiler's parser,
3092 # not just through cpp. "Syntax error" is here to catch this case.
3093 cat >conftest.$ac_ext <<_ACEOF
3094 #line $LINENO "configure"
3095 #include "confdefs.h"
3099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3102 egrep -v '^ *\+' conftest.er1 >conftest.err
3104 cat conftest.err >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } >/dev/null; then
3107 if test -s conftest.err; then
3108 ac_cpp_err=$ac_c_preproc_warn_flag
3115 if test -z "$ac_cpp_err"; then
3118 echo "$as_me: failed program was:" >&5
3119 cat conftest.$ac_ext >&5
3120 # Broken: fails on valid input.
3123 rm -f conftest.err conftest.$ac_ext
3125 # OK, works on sane cases. Now check whether non-existent headers
3126 # can be detected and how.
3127 cat >conftest.$ac_ext <<_ACEOF
3128 #line $LINENO "configure"
3129 #include "confdefs.h"
3130 #include <ac_nonexistent.h>
3132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3135 egrep -v '^ *\+' conftest.er1 >conftest.err
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } >/dev/null; then
3140 if test -s conftest.err; then
3141 ac_cpp_err=$ac_c_preproc_warn_flag
3148 if test -z "$ac_cpp_err"; then
3149 # Broken: success on invalid input.
3152 echo "$as_me: failed program was:" >&5
3153 cat conftest.$ac_ext >&5
3154 # Passes both tests.
3158 rm -f conftest.err conftest.$ac_ext
3161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3162 rm -f conftest.err conftest.$ac_ext
3163 if $ac_preproc_ok; then
3175 echo "$as_me:$LINENO: result: $CPP" >&5
3176 echo "${ECHO_T}$CPP" >&6
3178 for ac_c_preproc_warn_flag in '' yes
3180 # Use a header file that comes with gcc, so configuring glibc
3181 # with a fresh cross-compiler works.
3182 # On the NeXT, cc -E runs the code through the compiler's parser,
3183 # not just through cpp. "Syntax error" is here to catch this case.
3184 cat >conftest.$ac_ext <<_ACEOF
3185 #line $LINENO "configure"
3186 #include "confdefs.h"
3190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3193 egrep -v '^ *\+' conftest.er1 >conftest.err
3195 cat conftest.err >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } >/dev/null; then
3198 if test -s conftest.err; then
3199 ac_cpp_err=$ac_c_preproc_warn_flag
3206 if test -z "$ac_cpp_err"; then
3209 echo "$as_me: failed program was:" >&5
3210 cat conftest.$ac_ext >&5
3211 # Broken: fails on valid input.
3214 rm -f conftest.err conftest.$ac_ext
3216 # OK, works on sane cases. Now check whether non-existent headers
3217 # can be detected and how.
3218 cat >conftest.$ac_ext <<_ACEOF
3219 #line $LINENO "configure"
3220 #include "confdefs.h"
3221 #include <ac_nonexistent.h>
3223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3226 egrep -v '^ *\+' conftest.er1 >conftest.err
3228 cat conftest.err >&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); } >/dev/null; then
3231 if test -s conftest.err; then
3232 ac_cpp_err=$ac_c_preproc_warn_flag
3239 if test -z "$ac_cpp_err"; then
3240 # Broken: success on invalid input.
3243 echo "$as_me: failed program was:" >&5
3244 cat conftest.$ac_ext >&5
3245 # Passes both tests.
3249 rm -f conftest.err conftest.$ac_ext
3252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3253 rm -f conftest.err conftest.$ac_ext
3254 if $ac_preproc_ok; then
3257 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3258 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3259 { (exit 1); exit 1; }; }
3263 ac_cpp='$CPP $CPPFLAGS'
3264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3268 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
3269 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
3270 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
3271 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3272 echo $ECHO_N "(cached) $ECHO_C" >&6
3274 cat >conftest.make <<\_ACEOF
3276 @echo 'ac_maketemp="${MAKE}"'
3278 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3279 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3280 if test -n "$ac_maketemp"; then
3281 eval ac_cv_prog_make_${ac_make}_set=yes
3283 eval ac_cv_prog_make_${ac_make}_set=no
3287 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3288 echo "$as_me:$LINENO: result: yes" >&5
3289 echo "${ECHO_T}yes" >&6
3292 echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6
3294 SET_MAKE="MAKE=${MAKE-make}"
3297 # Find a good install program. We prefer a C program (faster),
3298 # so one script is as good as another. But avoid the broken or
3299 # incompatible versions:
3300 # SysV /etc/install, /usr/sbin/install
3301 # SunOS /usr/etc/install
3302 # IRIX /sbin/install
3304 # AmigaOS /C/install, which installs bootblocks on floppy discs
3305 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3306 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3307 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3308 # ./install, which can be erroneously created by make from ./install.sh.
3309 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3310 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3311 if test -z "$INSTALL"; then
3312 if test "${ac_cv_path_install+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir=.
3320 # Account for people who put trailing slashes in PATH elements.
3322 ./ | .// | /cC/* | \
3323 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3326 # OSF1 and SCO ODT 3.0 have their own names for install.
3327 # Don't use installbsd from OSF since it installs stuff as root
3329 for ac_prog in ginstall scoinst install; do
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3332 if test $ac_prog = install &&
3333 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3334 # AIX install. It has an incompatible calling convention.
3336 elif test $ac_prog = install &&
3337 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3338 # program-specific install script used by HP pwplus--don't use.
3341 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3353 if test "${ac_cv_path_install+set}" = set; then
3354 INSTALL=$ac_cv_path_install
3356 # As a last resort, use the slow shell script. We don't cache a
3357 # path for INSTALL within a source directory, because that will
3358 # break other packages using the cache if that directory is
3359 # removed, or if the path is relative.
3360 INSTALL=$ac_install_sh
3363 echo "$as_me:$LINENO: result: $INSTALL" >&5
3364 echo "${ECHO_T}$INSTALL" >&6
3366 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3367 # It thinks the first close brace ends the variable substitution.
3368 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3370 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3372 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3374 if test -n "$ac_tool_prefix"; then
3375 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3376 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3377 echo "$as_me:$LINENO: checking for $ac_word" >&5
3378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3379 if test "${ac_cv_prog_RANLIB+set}" = set; then
3380 echo $ECHO_N "(cached) $ECHO_C" >&6
3382 if test -n "$RANLIB"; then
3383 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir=.
3390 for ac_exec_ext in '' $ac_executable_extensions; do
3391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3392 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3401 RANLIB=$ac_cv_prog_RANLIB
3402 if test -n "$RANLIB"; then
3403 echo "$as_me:$LINENO: result: $RANLIB" >&5
3404 echo "${ECHO_T}$RANLIB" >&6
3406 echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6
3411 if test -z "$ac_cv_prog_RANLIB"; then
3412 ac_ct_RANLIB=$RANLIB
3413 # Extract the first word of "ranlib", so it can be a program name with args.
3414 set dummy ranlib; ac_word=$2
3415 echo "$as_me:$LINENO: checking for $ac_word" >&5
3416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3417 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3418 echo $ECHO_N "(cached) $ECHO_C" >&6
3420 if test -n "$ac_ct_RANLIB"; then
3421 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427 test -z "$as_dir" && as_dir=.
3428 for ac_exec_ext in '' $ac_executable_extensions; do
3429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3430 ac_cv_prog_ac_ct_RANLIB="ranlib"
3431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3437 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3440 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3441 if test -n "$ac_ct_RANLIB"; then
3442 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3443 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3445 echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3449 RANLIB=$ac_ct_RANLIB
3451 RANLIB="$ac_cv_prog_RANLIB"
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}ar; ac_word=$2
3457 echo "$as_me:$LINENO: checking for $ac_word" >&5
3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3459 if test "${ac_cv_prog_AR+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 if test -n "$AR"; then
3463 ac_cv_prog_AR="$AR" # Let the user override the test.
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472 ac_cv_prog_AR="${ac_tool_prefix}ar"
3473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 if test -n "$AR"; then
3483 echo "$as_me:$LINENO: result: $AR" >&5
3484 echo "${ECHO_T}$AR" >&6
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3491 if test -z "$ac_cv_prog_AR"; then
3493 # Extract the first word of "ar", so it can be a program name with args.
3494 set dummy ar; ac_word=$2
3495 echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3497 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 if test -n "$ac_ct_AR"; then
3501 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510 ac_cv_prog_ac_ct_AR="ar"
3511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
3520 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3521 if test -n "$ac_ct_AR"; then
3522 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3523 echo "${ECHO_T}$ac_ct_AR" >&6
3525 echo "$as_me:$LINENO: result: no" >&5
3526 echo "${ECHO_T}no" >&6
3535 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3536 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3537 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 ac_cv_prog_cc_stdc=no
3542 cat >conftest.$ac_ext <<_ACEOF
3543 #line $LINENO "configure"
3544 #include "confdefs.h"
3547 #include <sys/types.h>
3548 #include <sys/stat.h>
3549 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3550 struct buf { int x; };
3551 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3552 static char *e (p, i)
3558 static char *f (char * (*g) (char **, int), char **p, ...)
3563 s = g (p, va_arg (v,int));
3567 int test (int i, double x);
3568 struct s1 {int (*f) (int a);};
3569 struct s2 {int (*f) (double a);};
3570 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3573 #ifdef F77_DUMMY_MAIN
3577 int F77_DUMMY_MAIN() { return 1; }
3582 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3587 # Don't try gcc -ansi; that turns off useful extensions and
3588 # breaks some systems' header files.
3589 # AIX -qlanglvl=ansi
3590 # Ultrix and OSF/1 -std1
3591 # HP-UX 10.20 and later -Ae
3592 # HP-UX older versions -Aa -D_HPUX_SOURCE
3593 # SVR4 -Xc -D__EXTENSIONS__
3594 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3596 CC="$ac_save_CC $ac_arg"
3597 rm -f conftest.$ac_objext
3598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3599 (eval $ac_compile) 2>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } &&
3603 { ac_try='test -s conftest.$ac_objext'
3604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); }; }; then
3609 ac_cv_prog_cc_stdc=$ac_arg
3612 echo "$as_me: failed program was:" >&5
3613 cat conftest.$ac_ext >&5
3615 rm -f conftest.$ac_objext
3617 rm -f conftest.$ac_ext conftest.$ac_objext
3622 case "x$ac_cv_prog_cc_stdc" in
3624 echo "$as_me:$LINENO: result: none needed" >&5
3625 echo "${ECHO_T}none needed" >&6 ;;
3627 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3628 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3629 CC="$CC $ac_cv_prog_cc_stdc" ;;
3632 echo "$as_me:$LINENO: checking for inline" >&5
3633 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3634 if test "${ac_cv_c_inline+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3638 for ac_kw in inline __inline__ __inline; do
3639 cat >conftest.$ac_ext <<_ACEOF
3640 #line $LINENO "configure"
3641 #include "confdefs.h"
3643 static $ac_kw int static_foo () {return 0; }
3644 $ac_kw int foo () {return 0; }
3648 rm -f conftest.$ac_objext
3649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3650 (eval $ac_compile) 2>&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); } &&
3654 { ac_try='test -s conftest.$ac_objext'
3655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); }; }; then
3660 ac_cv_c_inline=$ac_kw; break
3662 echo "$as_me: failed program was:" >&5
3663 cat conftest.$ac_ext >&5
3665 rm -f conftest.$ac_objext conftest.$ac_ext
3669 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3670 echo "${ECHO_T}$ac_cv_c_inline" >&6
3671 case $ac_cv_c_inline in
3674 cat >>confdefs.h <<\_ACEOF
3678 *) cat >>confdefs.h <<_ACEOF
3679 #define inline $ac_cv_c_inline
3684 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3685 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3686 if test "${ac_cv_c_const+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 cat >conftest.$ac_ext <<_ACEOF
3690 #line $LINENO "configure"
3691 #include "confdefs.h"
3693 #ifdef F77_DUMMY_MAIN
3697 int F77_DUMMY_MAIN() { return 1; }
3702 /* FIXME: Include the comments suggested by Paul. */
3704 /* Ultrix mips cc rejects this. */
3705 typedef int charset[2];
3707 /* SunOS 4.1.1 cc rejects this. */
3708 char const *const *ccp;
3710 /* NEC SVR4.0.2 mips cc rejects this. */
3711 struct point {int x, y;};
3712 static struct point const zero = {0,0};
3713 /* AIX XL C 1.02.0.0 rejects this.
3714 It does not let you subtract one const X* pointer from another in
3715 an arm of an if-expression whose if-part is not a constant
3717 const char *g = "string";
3718 ccp = &g + (g ? g-g : 0);
3719 /* HPUX 7.0 cc rejects these. */
3722 ccp = (char const *const *) p;
3723 { /* SCO 3.2v4 cc rejects this. */
3725 char const *s = 0 ? (char *) 0 : (char const *) 0;
3729 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3731 const int *foo = &x[0];
3734 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3735 typedef const int *iptr;
3739 { /* AIX XL C 1.02.0.0 rejects this saying
3740 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3741 struct s { int j; const int *ap[3]; };
3742 struct s *b; b->j = 5;
3744 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3753 rm -f conftest.$ac_objext
3754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3755 (eval $ac_compile) 2>&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); } &&
3759 { ac_try='test -s conftest.$ac_objext'
3760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }; }; then
3767 echo "$as_me: failed program was:" >&5
3768 cat conftest.$ac_ext >&5
3771 rm -f conftest.$ac_objext conftest.$ac_ext
3773 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3774 echo "${ECHO_T}$ac_cv_c_const" >&6
3775 if test $ac_cv_c_const = no; then
3777 cat >>confdefs.h <<\_ACEOF
3784 # Check whether --enable-largefile or --disable-largefile was given.
3785 if test "${enable_largefile+set}" = set; then
3786 enableval="$enable_largefile"
3789 if test "$enable_largefile" != no; then
3791 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3792 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3793 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 ac_cv_sys_largefile_CC=no
3797 if test "$GCC" != yes; then
3800 # IRIX 6.2 and later do not support large files by default,
3801 # so use the C compiler's -n32 option if that helps.
3802 cat >conftest.$ac_ext <<_ACEOF
3803 #line $LINENO "configure"
3804 #include "confdefs.h"
3805 #include <sys/types.h>
3806 /* Check that off_t can represent 2**63 - 1 correctly.
3807 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3808 since some C++ compilers masquerading as C compilers
3809 incorrectly reject 9223372036854775807. */
3810 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3811 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3812 && LARGE_OFF_T % 2147483647 == 1)
3814 #ifdef F77_DUMMY_MAIN
3818 int F77_DUMMY_MAIN() { return 1; }
3828 rm -f conftest.$ac_objext
3829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3830 (eval $ac_compile) 2>&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } &&
3834 { ac_try='test -s conftest.$ac_objext'
3835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); }; }; then
3842 echo "$as_me: failed program was:" >&5
3843 cat conftest.$ac_ext >&5
3845 rm -f conftest.$ac_objext
3847 rm -f conftest.$ac_objext
3848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3849 (eval $ac_compile) 2>&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } &&
3853 { ac_try='test -s conftest.$ac_objext'
3854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); }; }; then
3859 ac_cv_sys_largefile_CC=' -n32'; break
3861 echo "$as_me: failed program was:" >&5
3862 cat conftest.$ac_ext >&5
3864 rm -f conftest.$ac_objext
3868 rm -f conftest.$ac_ext
3871 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3872 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3873 if test "$ac_cv_sys_largefile_CC" != no; then
3874 CC=$CC$ac_cv_sys_largefile_CC
3877 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3878 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3879 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 ac_cv_sys_file_offset_bits=no
3884 cat >conftest.$ac_ext <<_ACEOF
3885 #line $LINENO "configure"
3886 #include "confdefs.h"
3887 #include <sys/types.h>
3888 /* Check that off_t can represent 2**63 - 1 correctly.
3889 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3890 since some C++ compilers masquerading as C compilers
3891 incorrectly reject 9223372036854775807. */
3892 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3893 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3894 && LARGE_OFF_T % 2147483647 == 1)
3896 #ifdef F77_DUMMY_MAIN
3900 int F77_DUMMY_MAIN() { return 1; }
3910 rm -f conftest.$ac_objext
3911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3912 (eval $ac_compile) 2>&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); } &&
3916 { ac_try='test -s conftest.$ac_objext'
3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; }; then
3924 echo "$as_me: failed program was:" >&5
3925 cat conftest.$ac_ext >&5
3927 rm -f conftest.$ac_objext conftest.$ac_ext
3928 cat >conftest.$ac_ext <<_ACEOF
3929 #line $LINENO "configure"
3930 #include "confdefs.h"
3931 #define _FILE_OFFSET_BITS 64
3932 #include <sys/types.h>
3933 /* Check that off_t can represent 2**63 - 1 correctly.
3934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3935 since some C++ compilers masquerading as C compilers
3936 incorrectly reject 9223372036854775807. */
3937 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3939 && LARGE_OFF_T % 2147483647 == 1)
3941 #ifdef F77_DUMMY_MAIN
3945 int F77_DUMMY_MAIN() { return 1; }
3955 rm -f conftest.$ac_objext
3956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3957 (eval $ac_compile) 2>&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); } &&
3961 { ac_try='test -s conftest.$ac_objext'
3962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); }; }; then
3967 ac_cv_sys_file_offset_bits=64; break
3969 echo "$as_me: failed program was:" >&5
3970 cat conftest.$ac_ext >&5
3972 rm -f conftest.$ac_objext conftest.$ac_ext
3976 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3977 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3978 if test "$ac_cv_sys_file_offset_bits" != no; then
3980 cat >>confdefs.h <<_ACEOF
3981 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3986 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3987 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3988 if test "${ac_cv_sys_large_files+set}" = set; then
3989 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 ac_cv_sys_large_files=no
3993 cat >conftest.$ac_ext <<_ACEOF
3994 #line $LINENO "configure"
3995 #include "confdefs.h"
3996 #include <sys/types.h>
3997 /* Check that off_t can represent 2**63 - 1 correctly.
3998 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3999 since some C++ compilers masquerading as C compilers
4000 incorrectly reject 9223372036854775807. */
4001 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4002 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4003 && LARGE_OFF_T % 2147483647 == 1)
4005 #ifdef F77_DUMMY_MAIN
4009 int F77_DUMMY_MAIN() { return 1; }
4019 rm -f conftest.$ac_objext
4020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4021 (eval $ac_compile) 2>&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try='test -s conftest.$ac_objext'
4026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); }; }; then
4033 echo "$as_me: failed program was:" >&5
4034 cat conftest.$ac_ext >&5
4036 rm -f conftest.$ac_objext conftest.$ac_ext
4037 cat >conftest.$ac_ext <<_ACEOF
4038 #line $LINENO "configure"
4039 #include "confdefs.h"
4040 #define _LARGE_FILES 1
4041 #include <sys/types.h>
4042 /* Check that off_t can represent 2**63 - 1 correctly.
4043 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4044 since some C++ compilers masquerading as C compilers
4045 incorrectly reject 9223372036854775807. */
4046 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4047 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4048 && LARGE_OFF_T % 2147483647 == 1)
4050 #ifdef F77_DUMMY_MAIN
4054 int F77_DUMMY_MAIN() { return 1; }
4064 rm -f conftest.$ac_objext
4065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4066 (eval $ac_compile) 2>&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); } &&
4070 { ac_try='test -s conftest.$ac_objext'
4071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075 (exit $ac_status); }; }; then
4076 ac_cv_sys_large_files=1; break
4078 echo "$as_me: failed program was:" >&5
4079 cat conftest.$ac_ext >&5
4081 rm -f conftest.$ac_objext conftest.$ac_ext
4085 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4086 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4087 if test "$ac_cv_sys_large_files" != no; then
4089 cat >>confdefs.h <<_ACEOF
4090 #define _LARGE_FILES $ac_cv_sys_large_files
4098 # Extract the first word of "dbx", so it can be a program name with args.
4099 set dummy dbx; ac_word=$2
4100 echo "$as_me:$LINENO: checking for $ac_word" >&5
4101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4102 if test "${ac_cv_path_DBX+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 ac_cv_path_DBX="$DBX" # Let the user override the test with a path.
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_path_DBX="$as_dir/$ac_word$ac_exec_ext"
4118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 test -z "$ac_cv_path_DBX" && ac_cv_path_DBX="no"
4130 if test -n "$DBX"; then
4131 echo "$as_me:$LINENO: result: $DBX" >&5
4132 echo "${ECHO_T}$DBX" >&6
4134 echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6
4138 # Extract the first word of "gdb", so it can be a program name with args.
4139 set dummy gdb; 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_path_GDB+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 ac_cv_path_GDB="$GDB" # Let the user override the test with a path.
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir=.
4155 for ac_exec_ext in '' $ac_executable_extensions; do
4156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4157 ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext"
4158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4164 test -z "$ac_cv_path_GDB" && ac_cv_path_GDB="no"
4170 if test -n "$GDB"; then
4171 echo "$as_me:$LINENO: result: $GDB" >&5
4172 echo "${ECHO_T}$GDB" >&6
4174 echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6
4178 # Extract the first word of "sdb", so it can be a program name with args.
4179 set dummy sdb; ac_word=$2
4180 echo "$as_me:$LINENO: checking for $ac_word" >&5
4181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4182 if test "${ac_cv_path_SDB+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 ac_cv_path_SDB="$SDB" # Let the user override the test with a path.
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_path_SDB="$as_dir/$ac_word$ac_exec_ext"
4198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4204 test -z "$ac_cv_path_SDB" && ac_cv_path_SDB="no"
4210 if test -n "$SDB"; then
4211 echo "$as_me:$LINENO: result: $SDB" >&5
4212 echo "${ECHO_T}$SDB" >&6
4214 echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4219 if test $GDB != no ; then
4221 elif test $DBX != no ; then
4223 elif test $SDB != no ; then
4253 for ac_header in inttypes.h
4255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4257 echo "$as_me:$LINENO: checking for $ac_header" >&5
4258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4265 # Is the header compilable?
4266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4268 cat >conftest.$ac_ext <<_ACEOF
4269 #line $LINENO "configure"
4270 #include "confdefs.h"
4271 $ac_includes_default
4272 #include <$ac_header>
4274 rm -f conftest.$ac_objext
4275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4276 (eval $ac_compile) 2>&5
4278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); } &&
4280 { ac_try='test -s conftest.$ac_objext'
4281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); }; }; then
4286 ac_header_compiler=yes
4288 echo "$as_me: failed program was:" >&5
4289 cat conftest.$ac_ext >&5
4290 ac_header_compiler=no
4292 rm -f conftest.$ac_objext conftest.$ac_ext
4293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4294 echo "${ECHO_T}$ac_header_compiler" >&6
4296 # Is the header present?
4297 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4299 cat >conftest.$ac_ext <<_ACEOF
4300 #line $LINENO "configure"
4301 #include "confdefs.h"
4302 #include <$ac_header>
4304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4307 egrep -v '^ *\+' conftest.er1 >conftest.err
4309 cat conftest.err >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } >/dev/null; then
4312 if test -s conftest.err; then
4313 ac_cpp_err=$ac_c_preproc_warn_flag
4320 if test -z "$ac_cpp_err"; then
4321 ac_header_preproc=yes
4323 echo "$as_me: failed program was:" >&5
4324 cat conftest.$ac_ext >&5
4325 ac_header_preproc=no
4327 rm -f conftest.err conftest.$ac_ext
4328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4329 echo "${ECHO_T}$ac_header_preproc" >&6
4331 # So? What about this header?
4332 case $ac_header_compiler:$ac_header_preproc in
4334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4339 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4340 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4341 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4342 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4346 echo "$as_me:$LINENO: checking for $ac_header" >&5
4347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 eval "$as_ac_Header=$ac_header_preproc"
4353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4358 cat >>confdefs.h <<_ACEOF
4359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4366 echo "$as_me:$LINENO: checking for uint32_t" >&5
4367 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
4368 if test "${ac_cv_type_uint32_t+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 cat >conftest.$ac_ext <<_ACEOF
4372 #line $LINENO "configure"
4373 #include "confdefs.h"
4374 $ac_includes_default
4375 #ifdef F77_DUMMY_MAIN
4379 int F77_DUMMY_MAIN() { return 1; }
4386 if (sizeof (uint32_t))
4392 rm -f conftest.$ac_objext
4393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4394 (eval $ac_compile) 2>&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); } &&
4398 { ac_try='test -s conftest.$ac_objext'
4399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); }; }; then
4404 ac_cv_type_uint32_t=yes
4406 echo "$as_me: failed program was:" >&5
4407 cat conftest.$ac_ext >&5
4408 ac_cv_type_uint32_t=no
4410 rm -f conftest.$ac_objext conftest.$ac_ext
4412 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
4413 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
4414 if test $ac_cv_type_uint32_t = yes; then
4416 cat >>confdefs.h <<\_ACEOF
4417 #define HAVE_C99_INTTYPES 1
4421 echo "$as_me:$LINENO: checking for short" >&5
4422 echo $ECHO_N "checking for short... $ECHO_C" >&6
4423 if test "${ac_cv_type_short+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4426 cat >conftest.$ac_ext <<_ACEOF
4427 #line $LINENO "configure"
4428 #include "confdefs.h"
4429 $ac_includes_default
4430 #ifdef F77_DUMMY_MAIN
4434 int F77_DUMMY_MAIN() { return 1; }
4447 rm -f conftest.$ac_objext
4448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4449 (eval $ac_compile) 2>&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try='test -s conftest.$ac_objext'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; }; then
4459 ac_cv_type_short=yes
4461 echo "$as_me: failed program was:" >&5
4462 cat conftest.$ac_ext >&5
4465 rm -f conftest.$ac_objext conftest.$ac_ext
4467 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4468 echo "${ECHO_T}$ac_cv_type_short" >&6
4470 echo "$as_me:$LINENO: checking size of short" >&5
4471 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4472 if test "${ac_cv_sizeof_short+set}" = set; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 if test "$ac_cv_type_short" = yes; then
4476 # The cast to unsigned long works around a bug in the HP C Compiler
4477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4479 # This bug is HP SR number 8606223364.
4480 if test "$cross_compiling" = yes; then
4481 # Depending upon the size, compute the lo and hi bounds.
4482 cat >conftest.$ac_ext <<_ACEOF
4483 #line $LINENO "configure"
4484 #include "confdefs.h"
4485 $ac_includes_default
4486 #ifdef F77_DUMMY_MAIN
4490 int F77_DUMMY_MAIN() { return 1; }
4495 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
4502 rm -f conftest.$ac_objext
4503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4504 (eval $ac_compile) 2>&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); } &&
4508 { ac_try='test -s conftest.$ac_objext'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; }; then
4516 cat >conftest.$ac_ext <<_ACEOF
4517 #line $LINENO "configure"
4518 #include "confdefs.h"
4519 $ac_includes_default
4520 #ifdef F77_DUMMY_MAIN
4524 int F77_DUMMY_MAIN() { return 1; }
4529 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4536 rm -f conftest.$ac_objext
4537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4538 (eval $ac_compile) 2>&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } &&
4542 { ac_try='test -s conftest.$ac_objext'
4543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; }; then
4548 ac_hi=$ac_mid; break
4550 echo "$as_me: failed program was:" >&5
4551 cat conftest.$ac_ext >&5
4552 ac_lo=`expr $ac_mid + 1`
4553 if test $ac_lo -le $ac_mid; then
4557 ac_mid=`expr 2 '*' $ac_mid + 1`
4559 rm -f conftest.$ac_objext conftest.$ac_ext
4562 echo "$as_me: failed program was:" >&5
4563 cat conftest.$ac_ext >&5
4564 cat >conftest.$ac_ext <<_ACEOF
4565 #line $LINENO "configure"
4566 #include "confdefs.h"
4567 $ac_includes_default
4568 #ifdef F77_DUMMY_MAIN
4572 int F77_DUMMY_MAIN() { return 1; }
4577 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
4584 rm -f conftest.$ac_objext
4585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4586 (eval $ac_compile) 2>&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } &&
4590 { ac_try='test -s conftest.$ac_objext'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; }; then
4598 cat >conftest.$ac_ext <<_ACEOF
4599 #line $LINENO "configure"
4600 #include "confdefs.h"
4601 $ac_includes_default
4602 #ifdef F77_DUMMY_MAIN
4606 int F77_DUMMY_MAIN() { return 1; }
4611 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
4618 rm -f conftest.$ac_objext
4619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4620 (eval $ac_compile) 2>&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); } &&
4624 { ac_try='test -s conftest.$ac_objext'
4625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); }; }; then
4630 ac_lo=$ac_mid; break
4632 echo "$as_me: failed program was:" >&5
4633 cat conftest.$ac_ext >&5
4634 ac_hi=`expr '(' $ac_mid ')' - 1`
4635 if test $ac_mid -le $ac_hi; then
4639 ac_mid=`expr 2 '*' $ac_mid`
4641 rm -f conftest.$ac_objext conftest.$ac_ext
4644 echo "$as_me: failed program was:" >&5
4645 cat conftest.$ac_ext >&5
4648 rm -f conftest.$ac_objext conftest.$ac_ext
4650 rm -f conftest.$ac_objext conftest.$ac_ext
4651 # Binary search between lo and hi bounds.
4652 while test "x$ac_lo" != "x$ac_hi"; do
4653 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4654 cat >conftest.$ac_ext <<_ACEOF
4655 #line $LINENO "configure"
4656 #include "confdefs.h"
4657 $ac_includes_default
4658 #ifdef F77_DUMMY_MAIN
4662 int F77_DUMMY_MAIN() { return 1; }
4667 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4674 rm -f conftest.$ac_objext
4675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4676 (eval $ac_compile) 2>&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } &&
4680 { ac_try='test -s conftest.$ac_objext'
4681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); }; }; then
4688 echo "$as_me: failed program was:" >&5
4689 cat conftest.$ac_ext >&5
4690 ac_lo=`expr '(' $ac_mid ')' + 1`
4692 rm -f conftest.$ac_objext conftest.$ac_ext
4695 ?*) ac_cv_sizeof_short=$ac_lo;;
4696 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
4697 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
4698 { (exit 1); exit 1; }; } ;;
4701 if test "$cross_compiling" = yes; then
4702 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
4703 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
4704 { (exit 1); exit 1; }; }
4706 cat >conftest.$ac_ext <<_ACEOF
4707 #line $LINENO "configure"
4708 #include "confdefs.h"
4709 $ac_includes_default
4710 long longval () { return (long) (sizeof (short)); }
4711 unsigned long ulongval () { return (long) (sizeof (short)); }
4714 #ifdef F77_DUMMY_MAIN
4718 int F77_DUMMY_MAIN() { return 1; }
4724 FILE *f = fopen ("conftest.val", "w");
4727 if (((long) (sizeof (short))) < 0)
4729 long i = longval ();
4730 if (i != ((long) (sizeof (short))))
4732 fprintf (f, "%ld\n", i);
4736 unsigned long i = ulongval ();
4737 if (i != ((long) (sizeof (short))))
4739 fprintf (f, "%lu\n", i);
4741 exit (ferror (f) || fclose (f) != 0);
4747 rm -f conftest$ac_exeext
4748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4749 (eval $ac_link) 2>&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4758 ac_cv_sizeof_short=`cat conftest.val`
4760 echo "$as_me: program exited with status $ac_status" >&5
4761 echo "$as_me: failed program was:" >&5
4762 cat conftest.$ac_ext >&5
4764 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
4765 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
4766 { (exit 1); exit 1; }; }
4768 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4773 ac_cv_sizeof_short=0
4776 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4777 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4778 cat >>confdefs.h <<_ACEOF
4779 #define SIZEOF_SHORT $ac_cv_sizeof_short
4783 echo "$as_me:$LINENO: checking for int" >&5
4784 echo $ECHO_N "checking for int... $ECHO_C" >&6
4785 if test "${ac_cv_type_int+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 cat >conftest.$ac_ext <<_ACEOF
4789 #line $LINENO "configure"
4790 #include "confdefs.h"
4791 $ac_includes_default
4792 #ifdef F77_DUMMY_MAIN
4796 int F77_DUMMY_MAIN() { return 1; }
4809 rm -f conftest.$ac_objext
4810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4811 (eval $ac_compile) 2>&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } &&
4815 { ac_try='test -s conftest.$ac_objext'
4816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); }; }; then
4823 echo "$as_me: failed program was:" >&5
4824 cat conftest.$ac_ext >&5
4827 rm -f conftest.$ac_objext conftest.$ac_ext
4829 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4830 echo "${ECHO_T}$ac_cv_type_int" >&6
4832 echo "$as_me:$LINENO: checking size of int" >&5
4833 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4834 if test "${ac_cv_sizeof_int+set}" = set; then
4835 echo $ECHO_N "(cached) $ECHO_C" >&6
4837 if test "$ac_cv_type_int" = yes; then
4838 # The cast to unsigned long works around a bug in the HP C Compiler
4839 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4840 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4841 # This bug is HP SR number 8606223364.
4842 if test "$cross_compiling" = yes; then
4843 # Depending upon the size, compute the lo and hi bounds.
4844 cat >conftest.$ac_ext <<_ACEOF
4845 #line $LINENO "configure"
4846 #include "confdefs.h"
4847 $ac_includes_default
4848 #ifdef F77_DUMMY_MAIN
4852 int F77_DUMMY_MAIN() { return 1; }
4857 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4864 rm -f conftest.$ac_objext
4865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5