2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME
='libgfortran'
270 PACKAGE_VERSION
='0.2'
271 PACKAGE_STRING
='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir gcc_version toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static F77 FFLAGS LDFLAGS ac_ct_F77 CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_F77_set
=${F77+set}
753 ac_env_F77_value
=$F77
754 ac_cv_env_F77_set
=${F77+set}
755 ac_cv_env_F77_value
=$F77
756 ac_env_FFLAGS_set
=${FFLAGS+set}
757 ac_env_FFLAGS_value
=$FFLAGS
758 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
759 ac_cv_env_FFLAGS_value
=$FFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPP_set
=${CPP+set}
765 ac_env_CPP_value
=$CPP
766 ac_cv_env_CPP_set
=${CPP+set}
767 ac_cv_env_CPP_value
=$CPP
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
839 --build=BUILD configure
for building on BUILD
[guessed
]
840 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing
) to the casual installer
857 --enable-multilib build many library versions
(default
)
858 --enable-shared=PKGS build shared libraries default
=yes
859 --enable-static=PKGS build static libraries default
=yes
860 --enable-fast-install=PKGS optimize
for fast installation default
=yes
861 --disable-libtool-lock avoid locking
(might
break parallel builds
)
862 --enable-cmath Include complex math functions
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-gnu-ld assume the C compiler uses GNU ld default
=no
868 --with-pic try to use only PIC
/non-PIC objects default
=use both
870 Some influential environment variables
:
871 CC C compiler
command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
874 nonstandard directory
<lib dir
>
875 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
876 headers
in a nonstandard directory
<include dir
>
877 F77 Fortran
77 compiler
command
878 FFLAGS Fortran
77 compiler flags
881 Use these variables to override the choices made by
`configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
899 ac_dir_suffix= ac_top_builddir=
903 .) # No --srcdir option. We are building in place.
905 if test -z "$ac_top_builddir"; then
908 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
918 # Do not use `cd foo
&& pwd` to compute absolute paths, because
919 # the directories may not exist.
921 .) ac_abs_builddir="$ac_dir";;
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
979 GNU Fortran Runtime Library configure 0.2
980 generated by GNU Autoconf 2.59
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
994 generated by GNU Autoconf 2.59. Invocation command line was
1005 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1006 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1007 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1008 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1009 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1012 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1014 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1016 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1017 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1018 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1020 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_must_keep_next=false
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 -* ) ac_must_keep_next=true ;;
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close
' the trap.
1100 trap 'exit_status
=$?
1101 # Save into config.log some information that might help in debugging.
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1111 # The following way of writing the cache mishandles newlines in values,
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1134 for ac_var
in $ac_subst_vars
1136 eval ac_val
=$
`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -n "$ac_subst_files"; then
1148 for ac_var
in $ac_subst_files
1150 eval ac_val
=$
`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -s confdefs.h
; then
1163 sed "/^$/d" confdefs.h |
sort
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1170 rm -f core
*.core
&&
1171 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's
/^
/|
/' "$ac_site_file" >&5
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1246 # Check that the precious variables saved in the cache have kept the same
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1259 ac_cache_corrupted=: ;;
1261 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1268 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1293 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 ac_config_headers="$ac_config_headers config.h"
1336 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1337 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1338 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1339 if test "${enable_version_specific_runtime_libs+set}" = set; then
1340 enableval="$enable_version_specific_runtime_libs"
1341 case "$enableval" in
1342 yes) version_specific_libs=yes ;;
1343 no) version_specific_libs=no ;;
1344 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1345 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1346 { (exit 1); exit 1; }; };;
1349 version_specific_libs=no
1351 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1352 echo "${ECHO_T}$version_specific_libs" >&6
1355 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1357 # You will slowly go insane if you do not grok the following fact: when
1358 # building this library, the top-level /target/ becomes the library's
/host
/.
1360 # configure then causes --target to default to --host, exactly like any
1361 # other package using autoconf. Therefore, 'target' and 'host' will
1362 # always be the same. This makes sense both for native and cross compilers
1363 # just think about it for a little while. :-)
1365 # Also, if this library is being configured as part of a cross compiler, the
1366 # top-level configure script will pass the "real" host as $with_cross_host.
1368 # Do not delete or change the following two lines. For why, see
1369 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1371 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1372 if test -f $ac_dir/install-sh
; then
1374 ac_install_sh
="$ac_aux_dir/install-sh -c"
1376 elif test -f $ac_dir/install.sh
; then
1378 ac_install_sh
="$ac_aux_dir/install.sh -c"
1380 elif test -f $ac_dir/shtool
; then
1382 ac_install_sh
="$ac_aux_dir/shtool install -c"
1386 if test -z "$ac_aux_dir"; then
1387 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1388 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1389 { (exit 1); exit 1; }; }
1391 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1392 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1393 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_build_alias
=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias
=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1422 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1427 echo "$as_me:$LINENO: checking host system type" >&5
1428 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1429 if test "${ac_cv_host+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 ac_cv_host_alias
=$host_alias
1433 test -z "$ac_cv_host_alias" &&
1434 ac_cv_host_alias
=$ac_cv_build_alias
1435 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1441 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1442 echo "${ECHO_T}$ac_cv_host" >&6
1444 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1445 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1446 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1449 echo "$as_me:$LINENO: checking target system type" >&5
1450 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1451 if test "${ac_cv_target+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 ac_cv_target_alias
=$target_alias
1455 test "x$ac_cv_target_alias" = "x" &&
1456 ac_cv_target_alias
=$ac_cv_host_alias
1457 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1458 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1459 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1460 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1464 echo "${ECHO_T}$ac_cv_target" >&6
1465 target
=$ac_cv_target
1466 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1467 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1468 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1471 # The aliases save the names the user supplied, while $host etc.
1472 # will get canonicalized.
1473 test -n "$target_alias" &&
1474 test "$program_prefix$program_suffix$program_transform_name" = \
1476 program_prefix
=${target_alias}-
1477 target_alias
=${target_alias-$host_alias}
1479 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1480 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1481 # 1.8.2: minimum required version
1482 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1483 # of other PACKAGE_* variables will, however, and there's nothing
1484 # we can do about that; they come from AC_INIT).
1485 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1486 # file in the top srcdir, etc, etc), so stop complaining.
1487 # no-dependencies: turns off auto dependency generation (just for now)
1488 # -Wall: turns on all automake warnings...
1489 # -Wno-portability: ...except this one, since GNU make is required.
1490 am__api_version
="1.8"
1491 # Find a good install program. We prefer a C program (faster),
1492 # so one script is as good as another. But avoid the broken or
1493 # incompatible versions:
1494 # SysV /etc/install, /usr/sbin/install
1495 # SunOS /usr/etc/install
1496 # IRIX /sbin/install
1498 # AmigaOS /C/install, which installs bootblocks on floppy discs
1499 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1500 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1501 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1502 # OS/2's system install, which has a completely different semantic
1503 # ./install, which can be erroneously created by make from ./install.sh.
1504 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1505 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1506 if test -z "$INSTALL"; then
1507 if test "${ac_cv_path_install+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1514 test -z "$as_dir" && as_dir
=.
1515 # Account for people who put trailing slashes in PATH elements.
1517 .
/ | .
// |
/cC
/* | \
1518 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1519 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1522 # OSF1 and SCO ODT 3.0 have their own names for install.
1523 # Don't use installbsd from OSF since it installs stuff as root
1525 for ac_prog
in ginstall scoinst
install; do
1526 for ac_exec_ext
in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1528 if test $ac_prog = install &&
1529 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1530 # AIX install. It has an incompatible calling convention.
1532 elif test $ac_prog = install &&
1533 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1534 # program-specific install script used by HP pwplus--don't use.
1537 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1549 if test "${ac_cv_path_install+set}" = set; then
1550 INSTALL
=$ac_cv_path_install
1552 # As a last resort, use the slow shell script. We don't cache a
1553 # path for INSTALL within a source directory, because that will
1554 # break other packages using the cache if that directory is
1555 # removed, or if the path is relative.
1556 INSTALL
=$ac_install_sh
1559 echo "$as_me:$LINENO: result: $INSTALL" >&5
1560 echo "${ECHO_T}$INSTALL" >&6
1562 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1563 # It thinks the first close brace ends the variable substitution.
1564 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1566 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1568 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1570 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1571 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1574 echo timestamp
> conftest.
file
1575 # Do `set' in a subshell so we don't clobber the current shell's
1576 # arguments. Must try -L first in case configure is actually a
1577 # symlink; some systems play weird games with the mod time of symlinks
1578 # (eg FreeBSD returns the mod time of the symlink's containing
1581 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1582 if test "$*" = "X"; then
1584 set X
`ls -t $srcdir/configure conftest.file`
1587 if test "$*" != "X $srcdir/configure conftest.file" \
1588 && test "$*" != "X conftest.file $srcdir/configure"; then
1590 # If neither matched, then we have a broken ls. This can happen
1591 # if, for instance, CONFIG_SHELL is bash and it inherits a
1592 # broken ls alias from the environment. This has actually
1593 # happened. Such a system could not be considered "sane".
1594 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1595 alias in your environment" >&5
1596 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1597 alias in your environment" >&2;}
1598 { (exit 1); exit 1; }; }
1601 test "$2" = conftest.
file
1607 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1608 Check your system clock" >&5
1609 echo "$as_me: error: newly created file is older than distributed files!
1610 Check your system clock" >&2;}
1611 { (exit 1); exit 1; }; }
1613 echo "$as_me:$LINENO: result: yes" >&5
1614 echo "${ECHO_T}yes" >&6
1615 test "$program_prefix" != NONE
&&
1616 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1617 # Use a double $ so make ignores it.
1618 test "$program_suffix" != NONE
&&
1619 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1620 # Double any \ or $. echo might interpret backslashes.
1621 # By default was `s,x,x', remove it if useless.
1622 cat <<\_ACEOF
>conftest.
sed
1623 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1625 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1628 # expand $ac_aux_dir to an absolute path
1629 am_aux_dir
=`cd $ac_aux_dir && pwd`
1631 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1632 # Use eval to expand $SHELL
1633 if eval "$MISSING --run true"; then
1634 am_missing_run
="$MISSING --run "
1637 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1638 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1641 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1642 # Keeping the `.' argument allows $(mkdir_p) to be used without
1643 # argument. Indeed, we sometimes output rules like
1644 # $(mkdir_p) $(somedir)
1645 # where $(somedir) is conditionally defined.
1646 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1647 # expensive solution, as it forces Make to start a sub-shell.)
1648 mkdir_p
='mkdir -p -- .'
1650 # On NextStep and OpenStep, the `mkdir' command does not
1651 # recognize any option. It will interpret all options as
1652 # directories to create, and then abort because `.' already
1654 for d
in .
/-p .
/--version;
1656 test -d $d && rmdir $d
1658 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1659 if test -f "$ac_aux_dir/mkinstalldirs"; then
1660 mkdir_p
='$(mkinstalldirs)'
1662 mkdir_p
='$(install_sh) -d'
1666 for ac_prog
in gawk mawk nawk
awk
1668 # Extract the first word of "$ac_prog", so it can be a program name with args.
1669 set dummy
$ac_prog; ac_word
=$2
1670 echo "$as_me:$LINENO: checking for $ac_word" >&5
1671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672 if test "${ac_cv_prog_AWK+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 if test -n "$AWK"; then
1676 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1682 test -z "$as_dir" && as_dir
=.
1683 for ac_exec_ext
in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_AWK
="$ac_prog"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695 if test -n "$AWK"; then
1696 echo "$as_me:$LINENO: result: $AWK" >&5
1697 echo "${ECHO_T}$AWK" >&6
1699 echo "$as_me:$LINENO: result: no" >&5
1700 echo "${ECHO_T}no" >&6
1703 test -n "$AWK" && break
1706 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1707 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1708 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1709 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 cat >conftest.
make <<\_ACEOF
1714 @
echo 'ac_maketemp="$(MAKE)"'
1716 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1717 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1718 if test -n "$ac_maketemp"; then
1719 eval ac_cv_prog_make_
${ac_make}_set
=yes
1721 eval ac_cv_prog_make_
${ac_make}_set
=no
1725 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1726 echo "$as_me:$LINENO: result: yes" >&5
1727 echo "${ECHO_T}yes" >&6
1730 echo "$as_me:$LINENO: result: no" >&5
1731 echo "${ECHO_T}no" >&6
1732 SET_MAKE
="MAKE=${MAKE-make}"
1735 rm -rf .tst
2>/dev
/null
1736 mkdir .tst
2>/dev
/null
1737 if test -d .tst
; then
1742 rmdir .tst
2>/dev
/null
1744 # test to see if srcdir already configured
1745 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1746 test -f $srcdir/config.status
; then
1747 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1748 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1749 { (exit 1); exit 1; }; }
1752 # test whether we have cygpath
1753 if test -z "$CYGPATH_W"; then
1754 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1755 CYGPATH_W
='cygpath -w'
1762 # Define the identity of the package.
1763 PACKAGE
='libgfortran'
1767 # Some tools Automake needs.
1769 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1772 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1775 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1778 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1781 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1784 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1786 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1788 # Installed binaries are usually stripped using `strip' when the user
1789 # run `make install-strip'. However `strip' might not be the right
1790 # tool to use in cross-compilation environments, therefore Automake
1791 # will honor the `STRIP' environment variable to overrule this program.
1792 if test "$cross_compiling" != no
; then
1793 if test -n "$ac_tool_prefix"; then
1794 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1795 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1796 echo "$as_me:$LINENO: checking for $ac_word" >&5
1797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1798 if test "${ac_cv_prog_STRIP+set}" = set; then
1799 echo $ECHO_N "(cached) $ECHO_C" >&6
1801 if test -n "$STRIP"; then
1802 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1808 test -z "$as_dir" && as_dir
=.
1809 for ac_exec_ext
in '' $ac_executable_extensions; do
1810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1811 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1820 STRIP
=$ac_cv_prog_STRIP
1821 if test -n "$STRIP"; then
1822 echo "$as_me:$LINENO: result: $STRIP" >&5
1823 echo "${ECHO_T}$STRIP" >&6
1825 echo "$as_me:$LINENO: result: no" >&5
1826 echo "${ECHO_T}no" >&6
1830 if test -z "$ac_cv_prog_STRIP"; then
1832 # Extract the first word of "strip", so it can be a program name with args.
1833 set dummy strip
; ac_word
=$2
1834 echo "$as_me:$LINENO: checking for $ac_word" >&5
1835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1836 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 if test -n "$ac_ct_STRIP"; then
1840 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir
=.
1847 for ac_exec_ext
in '' $ac_executable_extensions; do
1848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1849 ac_cv_prog_ac_ct_STRIP
="strip"
1850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1859 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1860 if test -n "$ac_ct_STRIP"; then
1861 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1862 echo "${ECHO_T}$ac_ct_STRIP" >&6
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1870 STRIP
="$ac_cv_prog_STRIP"
1874 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1876 # We need awk for the "check" target. The system "awk" is bad on
1882 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1883 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1884 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1885 if test "${enable_maintainer_mode+set}" = set; then
1886 enableval
="$enable_maintainer_mode"
1887 USE_MAINTAINER_MODE
=$enableval
1889 USE_MAINTAINER_MODE
=no
1891 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1892 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1895 if test $USE_MAINTAINER_MODE = yes; then
1896 MAINTAINER_MODE_TRUE
=
1897 MAINTAINER_MODE_FALSE
='#'
1899 MAINTAINER_MODE_TRUE
='#'
1900 MAINTAINER_MODE_FALSE
=
1903 MAINT
=$MAINTAINER_MODE_TRUE
1906 # Default to --enable-multilib
1907 # Check whether --enable-multilib or --disable-multilib was given.
1908 if test "${enable_multilib+set}" = set; then
1909 enableval
="$enable_multilib"
1910 case "$enableval" in
1911 yes) multilib
=yes ;;
1913 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1914 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1915 { (exit 1); exit 1; }; } ;;
1921 # We may get other options which we leave undocumented:
1922 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1923 # See config-ml.in if you want the gory details.
1925 if test "$srcdir" = "."; then
1926 if test "$with_target_subdir" != "."; then
1927 multi_basedir
="$srcdir/$with_multisrctop../.."
1929 multi_basedir
="$srcdir/$with_multisrctop.."
1932 multi_basedir
="$srcdir/.."
1936 ac_config_commands
="$ac_config_commands default-1"
1939 # Handy for debugging:
1940 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1942 # Are we being configured with some form of cross compiler?
1943 # NB: We don't actually need to know this just now, but when, say, a test
1944 # suite is included, we'll have to know.
1945 if test "$build" != "$host"; then
1946 LIBGFOR_IS_NATIVE
=false
1949 LIBGFOR_IS_NATIVE
=true
1952 # Process the option "--enable-version-specific-runtime-libs"
1953 gcc_version_trigger
=${srcdir}/..
/gcc
/version.c
1954 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
1955 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
1958 # Calculate toolexeclibdir
1959 # Also toolexecdir, though it's only used in toolexeclibdir
1960 case ${version_specific_libs} in
1962 # Need the gcc compiler version to know where to install libraries
1963 # and header files if --enable-version-specific-runtime-libs option
1965 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1966 toolexeclibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1969 if test -n "$with_cross_host" &&
1970 test x
"$with_cross_host" != x
"no"; then
1971 # Install a library built with a cross compiler in tooldir, not libdir.
1972 toolexecdir
='$(exec_prefix)/$(target_alias)'
1973 toolexeclibdir
='$(toolexecdir)/lib'
1975 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1976 toolexeclibdir
='$(libdir)'
1978 multi_os_directory
=`$CC -print-multi-os-directory`
1979 case $multi_os_directory in
1980 .
) ;; # Avoid trailing /.
1981 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1988 # Check the compiler.
1989 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1990 # We must force CC to /not/ be precious variables; otherwise
1991 # the wrong, non-multilib-adjusted value will be used in multilibs.
1992 # As a side effect, we have to subst CFLAGS ourselves.
1997 ac_cpp
='$CPP $CPPFLAGS'
1998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2001 if test -n "$ac_tool_prefix"; then
2002 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2003 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2004 echo "$as_me:$LINENO: checking for $ac_word" >&5
2005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2006 if test "${ac_cv_prog_CC+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 if test -n "$CC"; then
2010 ac_cv_prog_CC
="$CC" # Let the user override the test.
2012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir
=.
2017 for ac_exec_ext
in '' $ac_executable_extensions; do
2018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2019 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029 if test -n "$CC"; then
2030 echo "$as_me:$LINENO: result: $CC" >&5
2031 echo "${ECHO_T}$CC" >&6
2033 echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2038 if test -z "$ac_cv_prog_CC"; then
2040 # Extract the first word of "gcc", so it can be a program name with args.
2041 set dummy gcc
; ac_word
=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$ac_ct_CC"; then
2048 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir
=.
2055 for ac_exec_ext
in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_ac_ct_CC
="gcc"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2067 if test -n "$ac_ct_CC"; then
2068 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2069 echo "${ECHO_T}$ac_ct_CC" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2080 if test -z "$CC"; then
2081 if test -n "$ac_tool_prefix"; then
2082 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2083 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2084 echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2086 if test "${ac_cv_prog_CC+set}" = set; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 if test -n "$CC"; then
2090 ac_cv_prog_CC
="$CC" # Let the user override the test.
2092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir
=.
2097 for ac_exec_ext
in '' $ac_executable_extensions; do
2098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2099 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 if test -n "$CC"; then
2110 echo "$as_me:$LINENO: result: $CC" >&5
2111 echo "${ECHO_T}$CC" >&6
2113 echo "$as_me:$LINENO: result: no" >&5
2114 echo "${ECHO_T}no" >&6
2118 if test -z "$ac_cv_prog_CC"; then
2120 # Extract the first word of "cc", so it can be a program name with args.
2121 set dummy cc
; ac_word
=$2
2122 echo "$as_me:$LINENO: checking for $ac_word" >&5
2123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2124 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 if test -n "$ac_ct_CC"; then
2128 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2134 test -z "$as_dir" && as_dir
=.
2135 for ac_exec_ext
in '' $ac_executable_extensions; do
2136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2137 ac_cv_prog_ac_ct_CC
="cc"
2138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2147 if test -n "$ac_ct_CC"; then
2148 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2149 echo "${ECHO_T}$ac_ct_CC" >&6
2151 echo "$as_me:$LINENO: result: no" >&5
2152 echo "${ECHO_T}no" >&6
2161 if test -z "$CC"; then
2162 # Extract the first word of "cc", so it can be a program name with args.
2163 set dummy cc
; ac_word
=$2
2164 echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2166 if test "${ac_cv_prog_CC+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC
="$CC" # Let the user override the test.
2173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir
=.
2178 for ac_exec_ext
in '' $ac_executable_extensions; do
2179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2181 ac_prog_rejected
=yes
2185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 if test $ac_prog_rejected = yes; then
2192 # We found a bogon in the path, so make sure we never use it.
2193 set dummy
$ac_cv_prog_CC
2195 if test $# != 0; then
2196 # We chose a different compiler from the bogus one.
2197 # However, it has the same basename, so the bogon will be chosen
2198 # first if we set CC to just the basename; use the full file name.
2200 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2206 if test -n "$CC"; then
2207 echo "$as_me:$LINENO: result: $CC" >&5
2208 echo "${ECHO_T}$CC" >&6
2210 echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2215 if test -z "$CC"; then
2216 if test -n "$ac_tool_prefix"; then
2219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2220 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2221 echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_CC+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 if test -n "$CC"; then
2227 ac_cv_prog_CC
="$CC" # Let the user override the test.
2229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir
=.
2234 for ac_exec_ext
in '' $ac_executable_extensions; do
2235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2236 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 if test -n "$CC"; then
2247 echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6
2250 echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2254 test -n "$CC" && break
2257 if test -z "$CC"; then
2261 # Extract the first word of "$ac_prog", so it can be a program name with args.
2262 set dummy
$ac_prog; ac_word
=$2
2263 echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2265 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 if test -n "$ac_ct_CC"; then
2269 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir
=.
2276 for ac_exec_ext
in '' $ac_executable_extensions; do
2277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2278 ac_cv_prog_ac_ct_CC
="$ac_prog"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2288 if test -n "$ac_ct_CC"; then
2289 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2290 echo "${ECHO_T}$ac_ct_CC" >&6
2292 echo "$as_me:$LINENO: result: no" >&5
2293 echo "${ECHO_T}no" >&6
2296 test -n "$ac_ct_CC" && break
2305 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2306 See \`config.log' for more details." >&5
2307 echo "$as_me: error: no acceptable C compiler found in \$PATH
2308 See \`config.log' for more details." >&2;}
2309 { (exit 1); exit 1; }; }
2311 # Provide some information about the compiler.
2312 echo "$as_me:$LINENO:" \
2313 "checking for C compiler version" >&5
2314 ac_compiler
=`set X $ac_compile; echo $2`
2315 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2316 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }
2320 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2321 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }
2325 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2326 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }
2331 cat >conftest.
$ac_ext <<_ACEOF
2334 cat confdefs.h
>>conftest.
$ac_ext
2335 cat >>conftest.
$ac_ext <<_ACEOF
2336 /* end confdefs.h. */
2346 ac_clean_files_save
=$ac_clean_files
2347 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2348 # Try to create an executable without -o first, disregard a.out.
2349 # It will help us diagnose broken compilers, and finding out an intuition
2351 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2352 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2353 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2354 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2355 (eval $ac_link_default) 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }; then
2359 # Find the output, starting from the most likely. This scheme is
2360 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2363 # Be careful to initialize this variable, since it used to be cached.
2364 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2366 # b.out is created by i960 compilers.
2367 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2369 test -f "$ac_file" ||
continue
2371 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2374 # This is the source file.
2377 # We found the default executable, but exeext='' is most
2381 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2382 # FIXME: I believe we export ac_cv_exeext for Libtool,
2383 # but it would be cool to find out if it's true. Does anybody
2384 # maintain Libtool? --akim.
2392 echo "$as_me: failed program was:" >&5
2393 sed 's/^/| /' conftest.
$ac_ext >&5
2395 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2396 See \`config.log' for more details." >&5
2397 echo "$as_me: error: C compiler cannot create executables
2398 See \`config.log' for more details." >&2;}
2399 { (exit 77); exit 77; }; }
2402 ac_exeext
=$ac_cv_exeext
2403 echo "$as_me:$LINENO: result: $ac_file" >&5
2404 echo "${ECHO_T}$ac_file" >&6
2406 # Check the compiler produces executables we can run. If not, either
2407 # the compiler is broken, or we cross compile.
2408 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2409 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2410 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2411 # If not cross compiling, check that we can run a simple program.
2412 if test "$cross_compiling" != yes; then
2413 if { ac_try
='./$ac_file'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; }; then
2421 if test "$cross_compiling" = maybe
; then
2424 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2425 If you meant to cross compile, use \`--host'.
2426 See \`config.log' for more details." >&5
2427 echo "$as_me: error: cannot run C compiled programs.
2428 If you meant to cross compile, use \`--host'.
2429 See \`config.log' for more details." >&2;}
2430 { (exit 1); exit 1; }; }
2434 echo "$as_me:$LINENO: result: yes" >&5
2435 echo "${ECHO_T}yes" >&6
2437 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2438 ac_clean_files
=$ac_clean_files_save
2439 # Check the compiler produces executables we can run. If not, either
2440 # the compiler is broken, or we cross compile.
2441 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2442 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2443 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2444 echo "${ECHO_T}$cross_compiling" >&6
2446 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2447 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2449 (eval $ac_link) 2>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); }; then
2453 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2454 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2455 # work properly (i.e., refer to `conftest.exe'), while it won't with
2457 for ac_file
in conftest.exe conftest conftest.
*; do
2458 test -f "$ac_file" ||
continue
2460 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2461 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2468 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2469 See \`config.log' for more details." >&5
2470 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2471 See \`config.log' for more details." >&2;}
2472 { (exit 1); exit 1; }; }
2475 rm -f conftest
$ac_cv_exeext
2476 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2477 echo "${ECHO_T}$ac_cv_exeext" >&6
2479 rm -f conftest.
$ac_ext
2480 EXEEXT
=$ac_cv_exeext
2482 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2483 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2484 if test "${ac_cv_objext+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 cat >conftest.
$ac_ext <<_ACEOF
2490 cat confdefs.h
>>conftest.
$ac_ext
2491 cat >>conftest.
$ac_ext <<_ACEOF
2492 /* end confdefs.h. */
2502 rm -f conftest.o conftest.obj
2503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2504 (eval $ac_compile) 2>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }; then
2508 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2510 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2511 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2516 echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.
$ac_ext >&5
2519 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2520 See \`config.log' for more details." >&5
2521 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2522 See \`config.log' for more details." >&2;}
2523 { (exit 1); exit 1; }; }
2526 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2528 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2529 echo "${ECHO_T}$ac_cv_objext" >&6
2530 OBJEXT
=$ac_cv_objext
2532 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2533 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2534 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 cat >conftest.
$ac_ext <<_ACEOF
2540 cat confdefs.h
>>conftest.
$ac_ext
2541 cat >>conftest.
$ac_ext <<_ACEOF
2542 /* end confdefs.h. */
2555 rm -f conftest.
$ac_objext
2556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2557 (eval $ac_compile) 2>conftest.er1
2559 grep -v '^ *+' conftest.er1
>conftest.err
2561 cat conftest.err
>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); } &&
2564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; } &&
2570 { ac_try
='test -s conftest.$ac_objext'
2571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; }; then
2578 echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.
$ac_ext >&5
2583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2584 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2587 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2588 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2589 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2590 ac_test_CFLAGS
=${CFLAGS+set}
2591 ac_save_CFLAGS
=$CFLAGS
2593 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2594 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2595 if test "${ac_cv_prog_cc_g+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 cat >conftest.
$ac_ext <<_ACEOF
2601 cat confdefs.h
>>conftest.
$ac_ext
2602 cat >>conftest.
$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2613 rm -f conftest.
$ac_objext
2614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2615 (eval $ac_compile) 2>conftest.er1
2617 grep -v '^ *+' conftest.er1
>conftest.err
2619 cat conftest.err
>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } &&
2622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }; } &&
2628 { ac_try
='test -s conftest.$ac_objext'
2629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); }; }; then
2636 echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.
$ac_ext >&5
2641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2643 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2644 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2645 if test "$ac_test_CFLAGS" = set; then
2646 CFLAGS
=$ac_save_CFLAGS
2647 elif test $ac_cv_prog_cc_g = yes; then
2648 if test "$GCC" = yes; then
2654 if test "$GCC" = yes; then
2660 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2661 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2662 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 ac_cv_prog_cc_stdc
=no
2667 cat >conftest.
$ac_ext <<_ACEOF
2670 cat confdefs.h
>>conftest.
$ac_ext
2671 cat >>conftest.
$ac_ext <<_ACEOF
2672 /* end confdefs.h. */
2675 #include <sys/types.h>
2676 #include <sys/stat.h>
2677 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2678 struct buf { int x; };
2679 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2680 static char *e (p, i)
2686 static char *f (char * (*g) (char **, int), char **p, ...)
2691 s = g (p, va_arg (v,int));
2696 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2697 function prototypes and stuff, but not '\xHH' hex character constants.
2698 These don't provoke an error unfortunately, instead are silently treated
2699 as 'x'. The following induces an error, until -std1 is added to get
2700 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2701 array size at least. It's necessary to write '\x00'==0 to get something
2702 that's true only with -std1. */
2703 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2705 int test (int i, double x);
2706 struct s1 {int (*f) (int a);};
2707 struct s2 {int (*f) (double a);};
2708 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2714 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2719 # Don't try gcc -ansi; that turns off useful extensions and
2720 # breaks some systems' header files.
2721 # AIX -qlanglvl=ansi
2722 # Ultrix and OSF/1 -std1
2723 # HP-UX 10.20 and later -Ae
2724 # HP-UX older versions -Aa -D_HPUX_SOURCE
2725 # SVR4 -Xc -D__EXTENSIONS__
2726 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2728 CC
="$ac_save_CC $ac_arg"
2729 rm -f conftest.
$ac_objext
2730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2731 (eval $ac_compile) 2>conftest.er1
2733 grep -v '^ *+' conftest.er1
>conftest.err
2735 cat conftest.err
>&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); } &&
2738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; } &&
2744 { ac_try
='test -s conftest.$ac_objext'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2750 ac_cv_prog_cc_stdc
=$ac_arg
2753 echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.
$ac_ext >&5
2757 rm -f conftest.err conftest.
$ac_objext
2759 rm -f conftest.
$ac_ext conftest.
$ac_objext
2764 case "x$ac_cv_prog_cc_stdc" in
2766 echo "$as_me:$LINENO: result: none needed" >&5
2767 echo "${ECHO_T}none needed" >&6 ;;
2769 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2770 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2771 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2774 # Some people use a C++ compiler to compile C. Since we use `exit',
2775 # in C++ we need to declare it. In case someone uses the same compiler
2776 # for both compiling C and C++ we need to have the C++ compiler decide
2777 # the declaration of exit, since it's the most demanding environment.
2778 cat >conftest.
$ac_ext <<_ACEOF
2783 rm -f conftest.
$ac_objext
2784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2785 (eval $ac_compile) 2>conftest.er1
2787 grep -v '^ *+' conftest.er1
>conftest.err
2789 cat conftest.err
>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); } &&
2792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; } &&
2798 { ac_try
='test -s conftest.$ac_objext'
2799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; }; then
2804 for ac_declaration
in \
2806 'extern "C" void std::exit (int) throw (); using std::exit;' \
2807 'extern "C" void std::exit (int); using std::exit;' \
2808 'extern "C" void exit (int) throw ();' \
2809 'extern "C" void exit (int);' \
2812 cat >conftest.
$ac_ext <<_ACEOF
2815 cat confdefs.h
>>conftest.
$ac_ext
2816 cat >>conftest.
$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2828 rm -f conftest.
$ac_objext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>conftest.er1
2832 grep -v '^ *+' conftest.er1
>conftest.err
2834 cat conftest.err
>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; } &&
2843 { ac_try
='test -s conftest.$ac_objext'
2844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }; }; then
2851 echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.
$ac_ext >&5
2856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2857 cat >conftest.
$ac_ext <<_ACEOF
2860 cat confdefs.h
>>conftest.
$ac_ext
2861 cat >>conftest.
$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2872 rm -f conftest.
$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>conftest.er1
2876 grep -v '^ *+' conftest.er1
>conftest.err
2878 cat conftest.err
>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; } &&
2887 { ac_try
='test -s conftest.$ac_objext'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2895 echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.
$ac_ext >&5
2899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2902 if test -n "$ac_declaration"; then
2903 echo '#ifdef __cplusplus' >>confdefs.h
2904 echo $ac_declaration >>confdefs.h
2905 echo '#endif' >>confdefs.h
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.
$ac_ext >&5
2913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2915 ac_cpp
='$CPP $CPPFLAGS'
2916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2924 # Add -Wall if we are using GCC.
2925 if test "x$GCC" = "xyes"; then
2926 CFLAGS
="$CFLAGS -Wall"
2929 # Find other programs we need.
2930 if test -n "$ac_tool_prefix"; then
2931 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2932 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2933 echo "$as_me:$LINENO: checking for $ac_word" >&5
2934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2935 if test "${ac_cv_prog_AS+set}" = set; then
2936 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 if test -n "$AS"; then
2939 ac_cv_prog_AS
="$AS" # Let the user override the test.
2941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir
=.
2946 for ac_exec_ext
in '' $ac_executable_extensions; do
2947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2948 ac_cv_prog_AS
="${ac_tool_prefix}as"
2949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 if test -n "$AS"; then
2959 echo "$as_me:$LINENO: result: $AS" >&5
2960 echo "${ECHO_T}$AS" >&6
2962 echo "$as_me:$LINENO: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2967 if test -z "$ac_cv_prog_AS"; then
2969 # Extract the first word of "as", so it can be a program name with args.
2970 set dummy as
; ac_word
=$2
2971 echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2973 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 if test -n "$ac_ct_AS"; then
2977 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir
=.
2984 for ac_exec_ext
in '' $ac_executable_extensions; do
2985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2986 ac_cv_prog_ac_ct_AS
="as"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
2996 if test -n "$ac_ct_AS"; then
2997 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2998 echo "${ECHO_T}$ac_ct_AS" >&6
3000 echo "$as_me:$LINENO: result: no" >&5
3001 echo "${ECHO_T}no" >&6
3009 if test -n "$ac_tool_prefix"; then
3010 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3011 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3012 echo "$as_me:$LINENO: checking for $ac_word" >&5
3013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3014 if test "${ac_cv_prog_AR+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 if test -n "$AR"; then
3018 ac_cv_prog_AR
="$AR" # Let the user override the test.
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir
=.
3025 for ac_exec_ext
in '' $ac_executable_extensions; do
3026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 if test -n "$AR"; then
3038 echo "$as_me:$LINENO: result: $AR" >&5
3039 echo "${ECHO_T}$AR" >&6
3041 echo "$as_me:$LINENO: result: no" >&5
3042 echo "${ECHO_T}no" >&6
3046 if test -z "$ac_cv_prog_AR"; then
3048 # Extract the first word of "ar", so it can be a program name with args.
3049 set dummy
ar; ac_word
=$2
3050 echo "$as_me:$LINENO: checking for $ac_word" >&5
3051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3052 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3053 echo $ECHO_N "(cached) $ECHO_C" >&6
3055 if test -n "$ac_ct_AR"; then
3056 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3062 test -z "$as_dir" && as_dir
=.
3063 for ac_exec_ext
in '' $ac_executable_extensions; do
3064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3065 ac_cv_prog_ac_ct_AR
="ar"
3066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3075 if test -n "$ac_ct_AR"; then
3076 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3077 echo "${ECHO_T}$ac_ct_AR" >&6
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3088 if test -n "$ac_tool_prefix"; then
3089 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3090 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3091 echo "$as_me:$LINENO: checking for $ac_word" >&5
3092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3093 if test "${ac_cv_prog_RANLIB+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 if test -n "$RANLIB"; then
3097 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir
=.
3104 for ac_exec_ext
in '' $ac_executable_extensions; do
3105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 RANLIB
=$ac_cv_prog_RANLIB
3116 if test -n "$RANLIB"; then
3117 echo "$as_me:$LINENO: result: $RANLIB" >&5
3118 echo "${ECHO_T}$RANLIB" >&6
3120 echo "$as_me:$LINENO: result: no" >&5
3121 echo "${ECHO_T}no" >&6
3125 if test -z "$ac_cv_prog_RANLIB"; then
3126 ac_ct_RANLIB
=$RANLIB
3127 # Extract the first word of "ranlib", so it can be a program name with args.
3128 set dummy ranlib
; ac_word
=$2
3129 echo "$as_me:$LINENO: checking for $ac_word" >&5
3130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3131 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3132 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 if test -n "$ac_ct_RANLIB"; then
3135 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3144 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3154 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3155 if test -n "$ac_ct_RANLIB"; then
3156 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3157 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3163 RANLIB
=$ac_ct_RANLIB
3165 RANLIB
="$ac_cv_prog_RANLIB"
3168 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3169 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3170 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3171 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3172 echo $ECHO_N "(cached) $ECHO_C" >&6
3174 cat >conftest.
make <<\_ACEOF
3176 @
echo 'ac_maketemp="$(MAKE)"'
3178 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3179 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3180 if test -n "$ac_maketemp"; then
3181 eval ac_cv_prog_make_
${ac_make}_set
=yes
3183 eval ac_cv_prog_make_
${ac_make}_set
=no
3187 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3188 echo "$as_me:$LINENO: result: yes" >&5
3189 echo "${ECHO_T}yes" >&6
3192 echo "$as_me:$LINENO: result: no" >&5
3193 echo "${ECHO_T}no" >&6
3194 SET_MAKE
="MAKE=${MAKE-make}"
3197 # Find a good install program. We prefer a C program (faster),
3198 # so one script is as good as another. But avoid the broken or
3199 # incompatible versions:
3200 # SysV /etc/install, /usr/sbin/install
3201 # SunOS /usr/etc/install
3202 # IRIX /sbin/install
3204 # AmigaOS /C/install, which installs bootblocks on floppy discs
3205 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3206 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3207 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3208 # OS/2's system install, which has a completely different semantic
3209 # ./install, which can be erroneously created by make from ./install.sh.
3210 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3211 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3212 if test -z "$INSTALL"; then
3213 if test "${ac_cv_path_install+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir
=.
3221 # Account for people who put trailing slashes in PATH elements.
3223 .
/ | .
// |
/cC
/* | \
3224 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3225 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3228 # OSF1 and SCO ODT 3.0 have their own names for install.
3229 # Don't use installbsd from OSF since it installs stuff as root
3231 for ac_prog
in ginstall scoinst
install; do
3232 for ac_exec_ext
in '' $ac_executable_extensions; do
3233 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3234 if test $ac_prog = install &&
3235 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3236 # AIX install. It has an incompatible calling convention.
3238 elif test $ac_prog = install &&
3239 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3240 # program-specific install script used by HP pwplus--don't use.
3243 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3255 if test "${ac_cv_path_install+set}" = set; then
3256 INSTALL
=$ac_cv_path_install
3258 # As a last resort, use the slow shell script. We don't cache a
3259 # path for INSTALL within a source directory, because that will
3260 # break other packages using the cache if that directory is
3261 # removed, or if the path is relative.
3262 INSTALL
=$ac_install_sh
3265 echo "$as_me:$LINENO: result: $INSTALL" >&5
3266 echo "${ECHO_T}$INSTALL" >&6
3268 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3269 # It thinks the first close brace ends the variable substitution.
3270 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3272 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3274 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3278 #AC_MSG_NOTICE([====== Starting libtool configuration])
3280 # Check whether --enable-shared or --disable-shared was given.
3281 if test "${enable_shared+set}" = set; then
3282 enableval
="$enable_shared"
3283 p
=${PACKAGE-default}
3285 yes) enable_shared
=yes ;;
3286 no
) enable_shared
=no
;;
3289 # Look at the argument we got. We use all the common list separators.
3290 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3291 for pkg
in $enableval; do
3292 if test "X$pkg" = "X$p"; then
3302 # Check whether --enable-static or --disable-static was given.
3303 if test "${enable_static+set}" = set; then
3304 enableval
="$enable_static"
3305 p
=${PACKAGE-default}
3307 yes) enable_static
=yes ;;
3308 no
) enable_static
=no
;;
3311 # Look at the argument we got. We use all the common list separators.
3312 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3313 for pkg
in $enableval; do
3314 if test "X$pkg" = "X$p"; then
3324 # Check whether --enable-fast-install or --disable-fast-install was given.
3325 if test "${enable_fast_install+set}" = set; then
3326 enableval
="$enable_fast_install"
3327 p
=${PACKAGE-default}
3329 yes) enable_fast_install
=yes ;;
3330 no
) enable_fast_install
=no
;;
3332 enable_fast_install
=no
3333 # Look at the argument we got. We use all the common list separators.
3334 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3335 for pkg
in $enableval; do
3336 if test "X$pkg" = "X$p"; then
3337 enable_fast_install
=yes
3344 enable_fast_install
=yes
3347 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3348 if test "${with_gnu_ld+set}" = set; then
3349 withval
="$with_gnu_ld"
3350 test "$withval" = no || with_gnu_ld
=yes
3355 if test "$GCC" = yes; then
3356 # Check if gcc -print-prog-name=ld gives a path.
3357 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3358 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3361 # gcc leaves a trailing carriage return which upsets mingw
3362 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3364 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3367 # Accept absolute paths.
3368 [\\/]* |
[A-Za-z
]:[\\/]*)
3369 re_direlt
='/[^/][^/]*/\.\./'
3370 # Canonicalize the path of ld
3371 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3372 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3373 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3375 test -z "$LD" && LD
="$ac_prog"
3378 # If it fails, then pretend we aren't using GCC.
3382 # If it is relative, then search for the first ld in PATH.
3386 elif test "$with_gnu_ld" = yes; then
3387 echo "$as_me:$LINENO: checking for GNU ld" >&5
3388 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3390 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3391 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3393 if test "${lt_cv_path_LD+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 if test -z "$LD"; then
3397 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3398 for ac_dir
in $PATH; do
3399 test -z "$ac_dir" && ac_dir
=.
3400 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3401 lt_cv_path_LD
="$ac_dir/$ac_prog"
3402 # Check to see if the program is GNU ld. I'd rather use --version,
3403 # but apparently some GNU ld's only accept -v.
3404 # Break only if it was the GNU/non-GNU ld that we prefer.
3405 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3406 test "$with_gnu_ld" != no
&& break
3408 test "$with_gnu_ld" != yes && break
3414 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3419 if test -n "$LD"; then
3420 echo "$as_me:$LINENO: result: $LD" >&5
3421 echo "${ECHO_T}$LD" >&6
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3426 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3427 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3428 { (exit 1); exit 1; }; }
3429 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3430 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3431 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3432 echo $ECHO_N "(cached) $ECHO_C" >&6
3434 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3435 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3436 lt_cv_prog_gnu_ld
=yes
3438 lt_cv_prog_gnu_ld
=no
3441 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3442 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3443 with_gnu_ld
=$lt_cv_prog_gnu_ld
3446 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3447 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3448 if test "${lt_cv_ld_reload_flag+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 lt_cv_ld_reload_flag
='-r'
3453 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3454 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3455 reload_flag
=$lt_cv_ld_reload_flag
3456 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3458 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3459 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3460 if test "${lt_cv_path_NM+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 if test -n "$NM"; then
3464 # Let the user override the test.
3467 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3468 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3469 test -z "$ac_dir" && ac_dir
=.
3470 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3471 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3472 # Check to see if the nm accepts a BSD-compat flag.
3473 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3474 # nm: unknown option "B" ignored
3475 # Tru64's nm complains that /dev/null is an invalid object file
3476 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3477 lt_cv_path_NM
="$tmp_nm -B"
3479 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3480 lt_cv_path_NM
="$tmp_nm -p"
3483 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3484 continue # so that we can try to find one that supports BSD flags
3489 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3494 echo "$as_me:$LINENO: result: $NM" >&5
3495 echo "${ECHO_T}$NM" >&6
3497 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3498 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3500 if test "$LN_S" = "ln -s"; then
3501 echo "$as_me:$LINENO: result: yes" >&5
3502 echo "${ECHO_T}yes" >&6
3504 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3505 echo "${ECHO_T}no, using $LN_S" >&6
3508 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3509 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3510 if test "${lt_cv_deplibs_check_method+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3513 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3514 lt_cv_file_magic_test_file
=
3515 lt_cv_deplibs_check_method
='unknown'
3516 # Need to set the preceding variable on all platforms that support
3517 # interlibrary dependencies.
3518 # 'none' -- dependencies not supported.
3519 # `unknown' -- same as none, but documents that we really don't know.
3520 # 'pass_all' -- all dependencies passed with no checks.
3521 # 'test_compile' -- check by making test program.
3522 # 'file_magic [regex]' -- check by looking for files in library path
3523 # which responds to the $file_magic_cmd with a given egrep regex.
3524 # If you have `file' or equivalent on your system and you're not sure
3525 # whether `pass_all' will *always* work, you probably want this one.
3529 lt_cv_deplibs_check_method
=pass_all
3533 lt_cv_deplibs_check_method
=pass_all
3537 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3538 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3539 lt_cv_file_magic_test_file
=/shlib
/libc.so
3542 cygwin
* | mingw
* |pw32
*)
3543 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3544 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3547 darwin
* | rhapsody
*)
3548 # this will be overwritten by pass_all, but leave it in just in case
3549 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3550 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3552 rhapsody
* | darwin1.012
)
3553 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3556 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3559 lt_cv_deplibs_check_method
=pass_all
3562 freebsd
* | kfreebsd
*-gnu)
3563 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3566 # Not sure whether the presence of OpenBSD here was a mistake.
3567 # Let's accept both of them until this is cleared up.
3568 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3569 lt_cv_file_magic_cmd
=/usr
/bin
/file
3570 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3574 lt_cv_deplibs_check_method
=pass_all
3579 lt_cv_deplibs_check_method
=pass_all
3585 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3586 lt_cv_file_magic_cmd
=/usr
/bin
/file
3587 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3590 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3591 lt_cv_file_magic_cmd
=/usr
/bin
/file
3592 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3600 # this will be overridden with pass_all, but let us keep it just in case
3601 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3605 *-32|
*"-32 ") libmagic
=32-bit;;
3606 *-n32|
*"-n32 ") libmagic
=N32
;;
3607 *-64|
*"-64 ") libmagic
=64-bit;;
3608 *) libmagic
=never-match
;;
3610 # this will be overridden with pass_all, but let us keep it just in case
3611 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3614 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3615 lt_cv_deplibs_check_method
=pass_all
3618 # This must be Linux ELF.
3621 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
3622 lt_cv_deplibs_check_method
=pass_all
;;
3624 # glibc up to 2.1.1 does not perform some relocations on ARM
3625 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3627 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3630 netbsd
* | knetbsd
*-gnu)
3631 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3632 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3634 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3639 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3640 lt_cv_file_magic_cmd
=/usr
/bin
/file
3641 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3644 osf3
* | osf4
* | osf5
*)
3645 # this will be overridden with pass_all, but let us keep it just in case
3646 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3647 lt_cv_file_magic_test_file
=/shlib
/libc.so
3648 lt_cv_deplibs_check_method
=pass_all
3652 lt_cv_deplibs_check_method
=pass_all
3656 lt_cv_deplibs_check_method
=pass_all
3657 lt_cv_file_magic_test_file
=/lib
/libc.so
3660 sysv5uw
[78]* | sysv4
*uw2
*)
3661 lt_cv_deplibs_check_method
=pass_all
3664 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3665 case $host_vendor in
3667 lt_cv_deplibs_check_method
=pass_all
3670 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3671 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3678 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3679 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3680 file_magic_cmd
=$lt_cv_file_magic_cmd
3681 deplibs_check_method
=$lt_cv_deplibs_check_method
3687 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3689 # Only perform the check for file, if the check method requires it
3690 case $deplibs_check_method in
3692 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3693 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3694 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3695 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3703 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3706 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3707 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3708 ac_dummy
="/usr/bin:$PATH"
3709 for ac_dir
in $ac_dummy; do
3710 test -z "$ac_dir" && ac_dir
=.
3711 if test -f $ac_dir/${ac_tool_prefix}file; then
3712 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3713 if test -n "$file_magic_test_file"; then
3714 case $deplibs_check_method in
3716 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3717 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3718 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3719 egrep "$file_magic_regex" > /dev
/null
; then
3724 *** Warning: the command libtool uses to detect shared libraries,
3725 *** $file_magic_cmd, produces output that libtool cannot recognize.
3726 *** The result is that libtool may fail to recognize shared libraries
3727 *** as such. This will affect the creation of libtool libraries that
3728 *** depend on shared libraries, but programs linked with such libtool
3729 *** libraries will work regardless of this problem. Nevertheless, you
3730 *** may want to report the problem to your system manager and/or to
3731 *** bug-libtool@gnu.org
3741 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3746 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3747 if test -n "$MAGIC_CMD"; then
3748 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3749 echo "${ECHO_T}$MAGIC_CMD" >&6
3751 echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6
3755 if test -z "$lt_cv_path_MAGIC_CMD"; then
3756 if test -n "$ac_tool_prefix"; then
3757 echo "$as_me:$LINENO: checking for file" >&5
3758 echo $ECHO_N "checking for file... $ECHO_C" >&6
3759 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3767 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3770 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3771 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3772 ac_dummy
="/usr/bin:$PATH"
3773 for ac_dir
in $ac_dummy; do
3774 test -z "$ac_dir" && ac_dir
=.
3775 if test -f $ac_dir/file; then
3776 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3777 if test -n "$file_magic_test_file"; then
3778 case $deplibs_check_method in
3780 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3781 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3782 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3783 egrep "$file_magic_regex" > /dev
/null
; then
3788 *** Warning: the command libtool uses to detect shared libraries,
3789 *** $file_magic_cmd, produces output that libtool cannot recognize.
3790 *** The result is that libtool may fail to recognize shared libraries
3791 *** as such. This will affect the creation of libtool libraries that
3792 *** depend on shared libraries, but programs linked with such libtool
3793 *** libraries will work regardless of this problem. Nevertheless, you
3794 *** may want to report the problem to your system manager and/or to
3795 *** bug-libtool@gnu.org
3805 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3810 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3811 if test -n "$MAGIC_CMD"; then
3812 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3813 echo "${ECHO_T}$MAGIC_CMD" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3828 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3830 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3831 echo "$as_me:$LINENO: checking for $ac_word" >&5
3832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3833 if test "${ac_cv_prog_RANLIB+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 if test -n "$RANLIB"; then
3837 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 RANLIB
=$ac_cv_prog_RANLIB
3856 if test -n "$RANLIB"; then
3857 echo "$as_me:$LINENO: result: $RANLIB" >&5
3858 echo "${ECHO_T}$RANLIB" >&6
3860 echo "$as_me:$LINENO: result: no" >&5
3861 echo "${ECHO_T}no" >&6
3865 if test -z "$ac_cv_prog_RANLIB"; then
3866 ac_ct_RANLIB
=$RANLIB
3867 # Extract the first word of "ranlib", so it can be a program name with args.
3868 set dummy ranlib
; ac_word
=$2
3869 echo "$as_me:$LINENO: checking for $ac_word" >&5
3870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3871 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 if test -n "$ac_ct_RANLIB"; then
3875 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3881 test -z "$as_dir" && as_dir
=.
3882 for ac_exec_ext
in '' $ac_executable_extensions; do
3883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3884 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3894 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3895 if test -n "$ac_ct_RANLIB"; then
3896 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3897 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3903 RANLIB
=$ac_ct_RANLIB
3905 RANLIB
="$ac_cv_prog_RANLIB"
3908 if test -n "$ac_tool_prefix"; then
3909 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3910 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3911 echo "$as_me:$LINENO: checking for $ac_word" >&5
3912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3913 if test "${ac_cv_prog_STRIP+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 if test -n "$STRIP"; then
3917 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3923 test -z "$as_dir" && as_dir
=.
3924 for ac_exec_ext
in '' $ac_executable_extensions; do
3925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 STRIP
=$ac_cv_prog_STRIP
3936 if test -n "$STRIP"; then
3937 echo "$as_me:$LINENO: result: $STRIP" >&5
3938 echo "${ECHO_T}$STRIP" >&6
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3945 if test -z "$ac_cv_prog_STRIP"; then
3947 # Extract the first word of "strip", so it can be a program name with args.
3948 set dummy strip
; ac_word
=$2
3949 echo "$as_me:$LINENO: checking for $ac_word" >&5
3950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3951 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 if test -n "$ac_ct_STRIP"; then
3955 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3961 test -z "$as_dir" && as_dir
=.
3962 for ac_exec_ext
in '' $ac_executable_extensions; do
3963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_ac_ct_STRIP
="strip"
3965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3974 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3975 if test -n "$ac_ct_STRIP"; then
3976 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3977 echo "${ECHO_T}$ac_ct_STRIP" >&6
3979 echo "$as_me:$LINENO: result: no" >&5
3980 echo "${ECHO_T}no" >&6
3985 STRIP
="$ac_cv_prog_STRIP"
3989 # Check for any special flags to pass to ltconfig.
3990 libtool_flags
="--cache-file=$cache_file"
3991 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3992 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3993 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3994 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3995 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3998 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3999 if test "${enable_libtool_lock+set}" = set; then
4000 enableval
="$enable_libtool_lock"
4003 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4004 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4007 # Check whether --with-pic or --without-pic was given.
4008 if test "${with_pic+set}" = set; then
4014 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4015 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4017 # Some flags need to be propagated to the compiler or linker for good
4021 # Find out which ABI we are using.
4022 echo '#line 4022 "configure"' > conftest.
$ac_ext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4024 (eval $ac_compile) 2>&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }; then
4028 if test "$lt_cv_prog_gnu_ld" = yes; then
4029 case `/usr/bin/file conftest.$ac_objext` in
4031 LD
="${LD-ld} -melf32bsmip"
4034 LD
="${LD-ld} -melf32bmipn32"
4037 LD
="${LD-ld} -melf64bmip"
4041 case `/usr/bin/file conftest.$ac_objext` in
4058 # Find out which ABI we are using.
4059 echo 'int i;' > conftest.
$ac_ext
4060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4061 (eval $ac_compile) 2>&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; then
4065 case "`/usr/bin/file conftest.o`" in
4077 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4078 # Find out which ABI we are using.
4079 echo 'int i;' > conftest.
$ac_ext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4081 (eval $ac_compile) 2>&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); }; then
4085 case "`/usr/bin/file conftest.o`" in
4089 LD
="${LD-ld} -m elf_i386"
4091 ppc64-
*linux
*|powerpc64-
*linux
*)
4092 LD
="${LD-ld} -m elf32ppclinux"
4095 LD
="${LD-ld} -m elf_s390"
4098 LD
="${LD-ld} -m elf32_sparc"
4105 LD
="${LD-ld} -m elf_x86_64"
4107 ppc
*-*linux
*|powerpc
*-*linux
*)
4108 LD
="${LD-ld} -m elf64ppc"
4111 LD
="${LD-ld} -m elf64_s390"
4114 LD
="${LD-ld} -m elf64_sparc"
4124 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4125 SAVE_CFLAGS
="$CFLAGS"
4126 CFLAGS
="$CFLAGS -belf"
4127 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4128 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4129 if test "${lt_cv_cc_needs_belf+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4135 ac_cpp
='$CPP $CPPFLAGS'
4136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4140 cat >conftest.
$ac_ext <<_ACEOF
4143 cat confdefs.h
>>conftest.
$ac_ext
4144 cat >>conftest.
$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4155 rm -f conftest.
$ac_objext conftest
$ac_exeext
4156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4157 (eval $ac_link) 2>conftest.er1
4159 grep -v '^ *+' conftest.er1
>conftest.err
4161 cat conftest.err
>&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); } &&
4164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; } &&
4170 { ac_try
='test -s conftest$ac_exeext'
4171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); }; }; then
4176 lt_cv_cc_needs_belf
=yes
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.
$ac_ext >&5
4181 lt_cv_cc_needs_belf
=no
4183 rm -f conftest.err conftest.
$ac_objext \
4184 conftest
$ac_exeext conftest.
$ac_ext
4186 ac_cpp
='$CPP $CPPFLAGS'
4187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4192 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4193 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4194 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4195 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4196 CFLAGS
="$SAVE_CFLAGS"
4204 # Save cache, so that ltconfig can load it
4205 cat >confcache
<<\_ACEOF
4206 # This file is a shell script that caches the results of configure
4207 # tests run on this system so they can be shared between configure
4208 # scripts and configure runs, see configure's option --config-cache.
4209 # It is not useful on other systems. If it contains results you don't
4210 # want to keep, you may remove or edit it.
4212 # config.status only pays attention to the cache file if you give it
4213 # the --recheck option to rerun configure.
4215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4221 # The following way of writing the cache mishandles newlines in values,
4222 # but we know of no workaround that is simple, portable, and efficient.
4223 # So, don't put newlines in cache variables' values.
4224 # Ultrix sh set writes to stderr and can't be redirected directly,
4225 # and sets the high bit in the cache file unless we assign to the vars.
4228 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4230 # `set' does not quote correctly, so add quotes (double-quote
4231 # substitution turns \\\\ into \\, and sed turns \\ into \).
4234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4237 # `set' quotes correctly as required by POSIX, so do not add quotes.
4239 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4246 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4248 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4250 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4251 if test -w $cache_file; then
4252 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4253 cat confcache
>$cache_file
4255 echo "not updating unwritable cache $cache_file"
4260 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4261 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4262 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4263 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4264 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4265 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4266 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4267 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4268 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4269 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4270 echo "$as_me: error: libtool configure failed" >&2;}
4271 { (exit 1); exit 1; }; }
4273 # Reload cache, that may have been modified by ltconfig
4274 if test -r "$cache_file"; then
4275 # Some versions of bash will fail to source /dev/null (special
4276 # files actually), so we avoid doing that.
4277 if test -f "$cache_file"; then
4278 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4279 echo "$as_me: loading cache $cache_file" >&6;}
4281 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4282 *) . .
/$cache_file;;
4286 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4287 echo "$as_me: creating cache $cache_file" >&6;}
4292 # This can be used to rebuild libtool when needed
4293 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4295 # Always use our own libtool.
4296 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4298 # Redirect the config.log output again, so that the ltconfig log is not
4299 # clobbered by the next message.
4300 exec 5>>.
/config.log
4309 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4311 # We need gfortran to compile parts of the library
4312 # We can't use AC_PROG_F77 because it expects a fully working gfortran.
4313 #AC_PROG_F77(gfortran)
4316 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4317 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4318 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
4319 if test -n "$ac_tool_prefix"; then
4320 for ac_prog
in gfortran
4322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4323 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4324 echo "$as_me:$LINENO: checking for $ac_word" >&5
4325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4326 if test "${ac_cv_prog_F77+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 if test -n "$F77"; then
4330 ac_cv_prog_F77
="$F77" # Let the user override the test.
4332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir
=.
4337 for ac_exec_ext
in '' $ac_executable_extensions; do
4338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4339 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
4340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 if test -n "$F77"; then
4350 echo "$as_me:$LINENO: result: $F77" >&5
4351 echo "${ECHO_T}$F77" >&6
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
4357 test -n "$F77" && break
4360 if test -z "$F77"; then
4362 for ac_prog
in gfortran
4364 # Extract the first word of "$ac_prog", so it can be a program name with args.
4365 set dummy
$ac_prog; ac_word
=$2
4366 echo "$as_me:$LINENO: checking for $ac_word" >&5
4367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4368 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 if test -n "$ac_ct_F77"; then
4372 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
4374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir
=.
4379 for ac_exec_ext
in '' $ac_executable_extensions; do
4380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4381 ac_cv_prog_ac_ct_F77
="$ac_prog"
4382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
4391 if test -n "$ac_ct_F77"; then
4392 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4393 echo "${ECHO_T}$ac_ct_F77" >&6
4395 echo "$as_me:$LINENO: result: no" >&5
4396 echo "${ECHO_T}no" >&6
4399 test -n "$ac_ct_F77" && break
4406 # Provide some information about the compiler.
4407 echo "$as_me:4407:" \
4408 "checking for Fortran 77 compiler version" >&5
4409 ac_compiler
=`set X $ac_compile; echo $2`
4410 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4411 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); }
4415 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4416 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }
4420 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4421 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }
4427 # If we don't use `.F' as extension, the preprocessor is not run on the
4428 # input file. (Note that this only needs to work for GNU compilers.)
4431 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4432 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4433 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 cat >conftest.
$ac_ext <<_ACEOF
4444 rm -f conftest.
$ac_objext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>conftest.er1
4448 grep -v '^ *+' conftest.er1
>conftest.err
4450 cat conftest.err
>&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try
='test -s conftest.$ac_objext'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.
$ac_ext >&5
4472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4473 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
4476 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4477 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
4479 ac_test_FFLAGS
=${FFLAGS+set}
4480 ac_save_FFLAGS
=$FFLAGS
4482 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4483 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
4484 if test "${ac_cv_prog_f77_g+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.
$ac_ext <<_ACEOF
4493 rm -f conftest.
$ac_objext
4494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4495 (eval $ac_compile) 2>conftest.er1
4497 grep -v '^ *+' conftest.er1
>conftest.err
4499 cat conftest.err
>&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); } &&
4502 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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
4514 ac_cv_prog_f77_g
=yes
4516 echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.
$ac_ext >&5
4521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
4525 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
4526 if test "$ac_test_FFLAGS" = set; then
4527 FFLAGS
=$ac_save_FFLAGS
4528 elif test $ac_cv_prog_f77_g = yes; then
4529 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
4535 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
4542 G77
=`test $ac_compiler_gnu = yes && echo yes`
4544 ac_cpp
='$CPP $CPPFLAGS'
4545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4549 FFLAGS
="$FFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4552 ac_cpp
='$CPP $CPPFLAGS'
4553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4556 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4557 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4558 # On Suns, sometimes $CPP names a directory.
4559 if test -n "$CPP" && test -d "$CPP"; then
4562 if test -z "$CPP"; then
4563 if test "${ac_cv_prog_CPP+set}" = set; then
4564 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 # Double quotes because CPP needs to be expanded
4567 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4570 for ac_c_preproc_warn_flag
in '' yes
4572 # Use a header file that comes with gcc, so configuring glibc
4573 # with a fresh cross-compiler works.
4574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4575 # <limits.h> exists even on freestanding compilers.
4576 # On the NeXT, cc -E runs the code through the compiler's parser,
4577 # not just through cpp. "Syntax error" is here to catch this case.
4578 cat >conftest.
$ac_ext <<_ACEOF
4581 cat confdefs.h
>>conftest.
$ac_ext
4582 cat >>conftest.
$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4585 # include <limits.h>
4587 # include <assert.h>
4591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4592 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4594 grep -v '^ *+' conftest.er1
>conftest.err
4596 cat conftest.err
>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } >/dev
/null
; then
4599 if test -s conftest.err
; then
4600 ac_cpp_err
=$ac_c_preproc_warn_flag
4601 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4608 if test -z "$ac_cpp_err"; then
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.
$ac_ext >&5
4614 # Broken: fails on valid input.
4617 rm -f conftest.err conftest.
$ac_ext
4619 # OK, works on sane cases. Now check whether non-existent headers
4620 # can be detected and how.
4621 cat >conftest.
$ac_ext <<_ACEOF
4624 cat confdefs.h
>>conftest.
$ac_ext
4625 cat >>conftest.
$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 #include <ac_nonexistent.h>
4629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4632 grep -v '^ *+' conftest.er1
>conftest.err
4634 cat conftest.err
>&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); } >/dev
/null
; then
4637 if test -s conftest.err
; then
4638 ac_cpp_err
=$ac_c_preproc_warn_flag
4639 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4646 if test -z "$ac_cpp_err"; then
4647 # Broken: success on invalid input.
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.
$ac_ext >&5
4653 # Passes both tests.
4657 rm -f conftest.err conftest.
$ac_ext
4660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4661 rm -f conftest.err conftest.
$ac_ext
4662 if $ac_preproc_ok; then
4674 echo "$as_me:$LINENO: result: $CPP" >&5
4675 echo "${ECHO_T}$CPP" >&6
4677 for ac_c_preproc_warn_flag
in '' yes
4679 # Use a header file that comes with gcc, so configuring glibc
4680 # with a fresh cross-compiler works.
4681 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4682 # <limits.h> exists even on freestanding compilers.
4683 # On the NeXT, cc -E runs the code through the compiler's parser,
4684 # not just through cpp. "Syntax error" is here to catch this case.
4685 cat >conftest.
$ac_ext <<_ACEOF
4688 cat confdefs.h
>>conftest.
$ac_ext
4689 cat >>conftest.
$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4692 # include <limits.h>
4694 # include <assert.h>
4698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4701 grep -v '^ *+' conftest.er1
>conftest.err
4703 cat conftest.err
>&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } >/dev
/null
; then
4706 if test -s conftest.err
; then
4707 ac_cpp_err
=$ac_c_preproc_warn_flag
4708 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4715 if test -z "$ac_cpp_err"; then
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.
$ac_ext >&5
4721 # Broken: fails on valid input.
4724 rm -f conftest.err conftest.
$ac_ext
4726 # OK, works on sane cases. Now check whether non-existent headers
4727 # can be detected and how.
4728 cat >conftest.
$ac_ext <<_ACEOF
4731 cat confdefs.h
>>conftest.
$ac_ext
4732 cat >>conftest.
$ac_ext <<_ACEOF
4733 /* end confdefs.h. */
4734 #include <ac_nonexistent.h>
4736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4737 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4739 grep -v '^ *+' conftest.er1
>conftest.err
4741 cat conftest.err
>&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); } >/dev
/null
; then
4744 if test -s conftest.err
; then
4745 ac_cpp_err
=$ac_c_preproc_warn_flag
4746 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4753 if test -z "$ac_cpp_err"; then
4754 # Broken: success on invalid input.
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.
$ac_ext >&5
4760 # Passes both tests.
4764 rm -f conftest.err conftest.
$ac_ext
4767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4768 rm -f conftest.err conftest.
$ac_ext
4769 if $ac_preproc_ok; then
4772 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4773 See \`config.log' for more details." >&5
4774 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4775 See \`config.log' for more details." >&2;}
4776 { (exit 1); exit 1; }; }
4780 ac_cpp
='$CPP $CPPFLAGS'
4781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4786 echo "$as_me:$LINENO: checking for egrep" >&5
4787 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4788 if test "${ac_cv_prog_egrep+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4792 then ac_cv_prog_egrep
='grep -E'
4793 else ac_cv_prog_egrep
='egrep'
4796 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4797 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4798 EGREP
=$ac_cv_prog_egrep
4801 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4802 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4803 if test "${ac_cv_header_stdc+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 cat >conftest.
$ac_ext <<_ACEOF
4809 cat confdefs.h
>>conftest.
$ac_ext
4810 cat >>conftest.
$ac_ext <<_ACEOF
4811 /* end confdefs.h. */
4825 rm -f conftest.
$ac_objext
4826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4827 (eval $ac_compile) 2>conftest.er1
4829 grep -v '^ *+' conftest.er1
>conftest.err
4831 cat conftest.err
>&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } &&
4834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }; } &&
4840 { ac_try
='test -s conftest.$ac_objext'
4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }; }; then
4846 ac_cv_header_stdc
=yes
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.
$ac_ext >&5
4851 ac_cv_header_stdc
=no
4853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4855 if test $ac_cv_header_stdc = yes; then
4856 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4857 cat >conftest.
$ac_ext <<_ACEOF
4860 cat confdefs.h
>>conftest.
$ac_ext
4861 cat >>conftest.
$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4867 $EGREP "memchr" >/dev
/null
2>&1; then
4870 ac_cv_header_stdc
=no
4876 if test $ac_cv_header_stdc = yes; then
4877 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4878 cat >conftest.
$ac_ext <<_ACEOF
4881 cat confdefs.h
>>conftest.
$ac_ext
4882 cat >>conftest.
$ac_ext <<_ACEOF
4883 /* end confdefs.h. */
4887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4888 $EGREP "free" >/dev
/null
2>&1; then
4891 ac_cv_header_stdc
=no
4897 if test $ac_cv_header_stdc = yes; then
4898 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4899 if test "$cross_compiling" = yes; then
4902 cat >conftest.
$ac_ext <<_ACEOF
4905 cat confdefs.h
>>conftest.
$ac_ext
4906 cat >>conftest.
$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4909 #if ((' ' & 0x0FF) == 0x020)
4910 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4911 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4913 # define ISLOWER(c) \
4914 (('a' <= (c) && (c) <= 'i') \
4915 || ('j' <= (c) && (c) <= 'r') \
4916 || ('s' <= (c) && (c) <= 'z'))
4917 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4920 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4925 for (i = 0; i < 256; i++)
4926 if (XOR (islower (i), ISLOWER (i))
4927 || toupper (i) != TOUPPER (i))
4932 rm -f conftest
$ac_exeext
4933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4934 (eval $ac_link) 2>&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; }; then
4945 echo "$as_me: program exited with status $ac_status" >&5
4946 echo "$as_me: failed program was:" >&5
4947 sed 's/^/| /' conftest.
$ac_ext >&5
4950 ac_cv_header_stdc
=no
4952 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4956 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4957 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4958 if test $ac_cv_header_stdc = yes; then
4960 cat >>confdefs.h
<<\_ACEOF
4961 #define STDC_HEADERS 1
4966 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4976 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4977 inttypes.h stdint.h unistd.h
4979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4980 echo "$as_me:$LINENO: checking for $ac_header" >&5
4981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4983 echo $ECHO_N "(cached) $ECHO_C" >&6
4985 cat >conftest.
$ac_ext <<_ACEOF
4988 cat confdefs.h
>>conftest.
$ac_ext
4989 cat >>conftest.
$ac_ext <<_ACEOF
4990 /* end confdefs.h. */
4991 $ac_includes_default
4993 #include <$ac_header>
4995 rm -f conftest.
$ac_objext
4996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4997 (eval $ac_compile) 2>conftest.er1
4999 grep -v '^ *+' conftest.er1
>conftest.err
5001 cat conftest.err
>&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); } &&
5004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); }; } &&
5010 { ac_try
='test -s conftest.$ac_objext'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; }; then
5016 eval "$as_ac_Header=yes"
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.
$ac_ext >&5
5021 eval "$as_ac_Header=no"
5023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5028 cat >>confdefs.h
<<_ACEOF
5029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5039 for ac_header
in stdlib.h unistd.h
5041 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5043 echo "$as_me:$LINENO: checking for $ac_header" >&5
5044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5051 # Is the header compilable?
5052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5054 cat >conftest.
$ac_ext <<_ACEOF
5057 cat confdefs.h
>>conftest.
$ac_ext
5058 cat >>conftest.
$ac_ext <<_ACEOF
5059 /* end confdefs.h. */
5060 $ac_includes_default
5061 #include <$ac_header>
5063 rm -f conftest.
$ac_objext
5064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5065 (eval $ac_compile) 2>conftest.er1
5067 grep -v '^ *+' conftest.er1
>conftest.err
5069 cat conftest.err
>&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } &&
5072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); }; } &&
5078 { ac_try
='test -s conftest.$ac_objext'
5079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); }; }; then
5084 ac_header_compiler
=yes
5086 echo "$as_me: failed program was:" >&5
5087 sed 's/^/| /' conftest.
$ac_ext >&5
5089 ac_header_compiler
=no
5091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5093 echo "${ECHO_T}$ac_header_compiler" >&6
5095 # Is the header present?
5096 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5098 cat >conftest.
$ac_ext <<_ACEOF
5101 cat confdefs.h
>>conftest.
$ac_ext
5102 cat >>conftest.
$ac_ext <<_ACEOF
5103 /* end confdefs.h. */
5104 #include <$ac_header>
5106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5109 grep -v '^ *+' conftest.er1
>conftest.err
5111 cat conftest.err
>&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); } >/dev
/null
; then
5114 if test -s conftest.err
; then
5115 ac_cpp_err
=$ac_c_preproc_warn_flag
5116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5123 if test -z "$ac_cpp_err"; then
5124 ac_header_preproc
=yes
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.
$ac_ext >&5
5129 ac_header_preproc
=no
5131 rm -f conftest.err conftest.
$ac_ext
5132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5133 echo "${ECHO_T}$ac_header_preproc" >&6
5135 # So? What about this header?
5136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5142 ac_header_preproc
=yes
5145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5159 ## ------------------------------------------------------ ##
5160 ## Report this to the GNU Fortran Runtime Library lists. ##
5161 ## ------------------------------------------------------ ##
5164 sed "s/^/$as_me: WARNING: /" >&2
5167 echo "$as_me:$LINENO: checking for $ac_header" >&5
5168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 eval "$as_ac_Header=\$ac_header_preproc"
5174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5179 cat >>confdefs.h
<<_ACEOF
5180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5188 for ac_func
in getpagesize
5190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5191 echo "$as_me:$LINENO: checking for $ac_func" >&5
5192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5193 if eval "test \"\${$as_ac_var+set}\" = set"; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5196 cat >conftest.
$ac_ext <<_ACEOF
5199 cat confdefs.h
>>conftest.
$ac_ext
5200 cat >>conftest.
$ac_ext <<_ACEOF
5201 /* end confdefs.h. */
5202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5204 #define $ac_func innocuous_$ac_func
5206 /* System header to define __stub macros and hopefully few prototypes,
5207 which can conflict with char $ac_func (); below.
5208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5209 <limits.h> exists even on freestanding compilers. */
5212 # include <limits.h>
5214 # include <assert.h>
5219 /* Override any gcc2 internal prototype to avoid an error. */
5224 /* We use char because int might match the return type of a gcc2
5225 builtin and then its argument prototype would still apply. */
5227 /* The GNU C library defines this for functions which it implements
5228 to always fail with ENOSYS. Some functions are actually named
5229 something starting with __ and the normal name is an alias. */
5230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5233 char (*f) () = $ac_func;
5242 return f != $ac_func;
5247 rm -f conftest.
$ac_objext conftest
$ac_exeext
5248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5249 (eval $ac_link) 2>conftest.er1
5251 grep -v '^ *+' conftest.er1
>conftest.err
5253 cat conftest.err
>&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); } &&
5256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); }; } &&
5262 { ac_try
='test -s conftest$ac_exeext'
5263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); }; }; then
5268 eval "$as_ac_var=yes"
5270 echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.
$ac_ext >&5
5273 eval "$as_ac_var=no"
5275 rm -f conftest.err conftest.
$ac_objext \
5276 conftest
$ac_exeext conftest.
$ac_ext
5278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5280 if test `eval echo '${'$as_ac_var'}'` = yes; then
5281 cat >>confdefs.h
<<_ACEOF
5282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5288 echo "$as_me:$LINENO: checking for working mmap" >&5
5289 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5290 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 if test "$cross_compiling" = yes; then
5294 ac_cv_func_mmap_fixed_mapped
=no
5296 cat >conftest.
$ac_ext <<_ACEOF
5299 cat confdefs.h
>>conftest.
$ac_ext
5300 cat >>conftest.
$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5302 $ac_includes_default
5303 /* malloc might have been renamed as rpl_malloc. */
5306 /* Thanks to Mike Haertel and Jim Avera for this test.
5307 Here is a matrix of mmap possibilities:
5308 mmap private not fixed
5309 mmap private fixed at somewhere currently unmapped
5310 mmap private fixed at somewhere already mapped
5311 mmap shared not fixed
5312 mmap shared fixed at somewhere currently unmapped
5313 mmap shared fixed at somewhere already mapped
5314 For private mappings, we should verify that changes cannot be read()
5315 back from the file, nor mmap's back from the file at a different
5316 address. (There have been systems where private was not correctly
5317 implemented like the infamous i386 svr4.0, and systems where the
5318 VM page cache was not coherent with the file system buffer cache
5319 like early versions of FreeBSD and possibly contemporary NetBSD.)
5320 For shared mappings, we should conversely verify that changes get
5321 propagated back to all the places they're supposed to be.
5323 Grep wants private fixed already mapped.
5324 The main things grep needs to know about mmap are:
5325 * does it exist and is it safe to write into the mmap'd area
5326 * how to use it (BSD variants) */
5329 #include <sys/mman.h>
5331 #if !STDC_HEADERS && !HAVE_STDLIB_H
5335 /* This mess was copied from the GNU getpagesize.h. */
5336 #if !HAVE_GETPAGESIZE
5337 /* Assume that all systems that can run configure have sys/param.h. */
5338 # if !HAVE_SYS_PARAM_H
5339 # define HAVE_SYS_PARAM_H 1
5342 # ifdef _SC_PAGESIZE
5343 # define getpagesize() sysconf(_SC_PAGESIZE)
5344 # else /* no _SC_PAGESIZE */
5345 # if HAVE_SYS_PARAM_H
5346 # include <sys/param.h>
5347 # ifdef EXEC_PAGESIZE
5348 # define getpagesize() EXEC_PAGESIZE
5349 # else /* no EXEC_PAGESIZE */
5351 # define getpagesize() NBPG * CLSIZE
5354 # endif /* no CLSIZE */
5355 # else /* no NBPG */
5357 # define getpagesize() NBPC
5358 # else /* no NBPC */
5360 # define getpagesize() PAGESIZE
5361 # endif /* PAGESIZE */
5362 # endif /* no NBPC */
5363 # endif /* no NBPG */
5364 # endif /* no EXEC_PAGESIZE */
5365 # else /* no HAVE_SYS_PARAM_H */
5366 # define getpagesize() 8192 /* punt totally */
5367 # endif /* no HAVE_SYS_PARAM_H */
5368 # endif /* no _SC_PAGESIZE */
5370 #endif /* no HAVE_GETPAGESIZE */
5375 char *data, *data2, *data3;
5379 pagesize = getpagesize ();
5381 /* First, make a file with some known garbage in it. */
5382 data = (char *) malloc (pagesize);
5385 for (i = 0; i < pagesize; ++i)
5386 *(data + i) = rand ();
5388 fd = creat ("conftest.mmap", 0600);
5391 if (write (fd, data, pagesize) != pagesize)
5395 /* Next, try to mmap the file at a fixed address which already has
5396 something else allocated at it. If we can, also make sure that
5397 we see the same garbage. */
5398 fd = open ("conftest.mmap", O_RDWR);
5401 data2 = (char *) malloc (2 * pagesize);
5404 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5405 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5406 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5408 for (i = 0; i < pagesize; ++i)
5409 if (*(data + i) != *(data2 + i))
5412 /* Finally, make sure that changes to the mapped area do not
5413 percolate back to the file as seen by read(). (This is a bug on
5414 some variants of i386 svr4.0.) */
5415 for (i = 0; i < pagesize; ++i)
5416 *(data2 + i) = *(data2 + i) + 1;
5417 data3 = (char *) malloc (pagesize);
5420 if (read (fd, data3, pagesize) != pagesize)
5422 for (i = 0; i < pagesize; ++i)
5423 if (*(data + i) != *(data3 + i))
5429 rm -f conftest
$ac_exeext
5430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5431 (eval $ac_link) 2>&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); }; }; then
5440 ac_cv_func_mmap_fixed_mapped
=yes
5442 echo "$as_me: program exited with status $ac_status" >&5
5443 echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.
$ac_ext >&5
5447 ac_cv_func_mmap_fixed_mapped
=no
5449 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5452 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5453 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5454 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5456 cat >>confdefs.h
<<\_ACEOF
5463 echo "$as_me:$LINENO: checking for off_t" >&5
5464 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5465 if test "${ac_cv_type_off_t+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 cat >conftest.
$ac_ext <<_ACEOF
5471 cat confdefs.h
>>conftest.
$ac_ext
5472 cat >>conftest.
$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5474 $ac_includes_default
5486 rm -f conftest.
$ac_objext
5487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5488 (eval $ac_compile) 2>conftest.er1
5490 grep -v '^ *+' conftest.er1
>conftest.err
5492 cat conftest.err
>&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); } &&
5495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); }; } &&
5501 { ac_try
='test -s conftest.$ac_objext'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; }; then
5507 ac_cv_type_off_t
=yes
5509 echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.
$ac_ext >&5
5514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5516 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5517 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5518 if test $ac_cv_type_off_t = yes; then
5522 cat >>confdefs.h
<<_ACEOF
5529 # check header files
5530 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5531 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5532 if test "${ac_cv_header_stdc+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 cat >conftest.
$ac_ext <<_ACEOF
5538 cat confdefs.h
>>conftest.
$ac_ext
5539 cat >>conftest.
$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5554 rm -f conftest.
$ac_objext
5555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5556 (eval $ac_compile) 2>conftest.er1
5558 grep -v '^ *+' conftest.er1
>conftest.err
5560 cat conftest.err
>&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); } &&
5563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); }; } &&
5569 { ac_try
='test -s conftest.$ac_objext'
5570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); }; }; then
5575 ac_cv_header_stdc
=yes
5577 echo "$as_me: failed program was:" >&5
5578 sed 's/^/| /' conftest.
$ac_ext >&5
5580 ac_cv_header_stdc
=no
5582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5584 if test $ac_cv_header_stdc = yes; then
5585 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5586 cat >conftest.
$ac_ext <<_ACEOF
5589 cat confdefs.h
>>conftest.
$ac_ext
5590 cat >>conftest.
$ac_ext <<_ACEOF
5591 /* end confdefs.h. */
5595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5596 $EGREP "memchr" >/dev
/null
2>&1; then
5599 ac_cv_header_stdc
=no
5605 if test $ac_cv_header_stdc = yes; then
5606 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5607 cat >conftest.
$ac_ext <<_ACEOF
5610 cat confdefs.h
>>conftest.
$ac_ext
5611 cat >>conftest.
$ac_ext <<_ACEOF
5612 /* end confdefs.h. */
5616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5617 $EGREP "free" >/dev
/null
2>&1; then
5620 ac_cv_header_stdc
=no
5626 if test $ac_cv_header_stdc = yes; then
5627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5628 if test "$cross_compiling" = yes; then
5631 cat >conftest.
$ac_ext <<_ACEOF
5634 cat confdefs.h
>>conftest.
$ac_ext
5635 cat >>conftest.
$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5638 #if ((' ' & 0x0FF) == 0x020)
5639 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5640 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5642 # define ISLOWER(c) \
5643 (('a' <= (c) && (c) <= 'i') \
5644 || ('j' <= (c) && (c) <= 'r') \
5645 || ('s' <= (c) && (c) <= 'z'))
5646 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5649 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5654 for (i = 0; i < 256; i++)
5655 if (XOR (islower (i), ISLOWER (i))
5656 || toupper (i) != TOUPPER (i))
5661 rm -f conftest
$ac_exeext
5662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5663 (eval $ac_link) 2>&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); }; }; then
5674 echo "$as_me: program exited with status $ac_status" >&5
5675 echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.
$ac_ext >&5
5679 ac_cv_header_stdc
=no
5681 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5685 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5686 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5687 if test $ac_cv_header_stdc = yes; then
5689 cat >>confdefs.h
<<\_ACEOF
5690 #define STDC_HEADERS 1
5701 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h
5703 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5705 echo "$as_me:$LINENO: checking for $ac_header" >&5
5706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5713 # Is the header compilable?
5714 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5715 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5716 cat >conftest.
$ac_ext <<_ACEOF
5719 cat confdefs.h
>>conftest.
$ac_ext
5720 cat >>conftest.
$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 $ac_includes_default
5723 #include <$ac_header>
5725 rm -f conftest.
$ac_objext
5726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5727 (eval $ac_compile) 2>conftest.er1
5729 grep -v '^ *+' conftest.er1
>conftest.err
5731 cat conftest.err
>&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); } &&
5734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; } &&
5740 { ac_try
='test -s conftest.$ac_objext'
5741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }; }; then
5746 ac_header_compiler
=yes
5748 echo "$as_me: failed program was:" >&5
5749 sed 's/^/| /' conftest.
$ac_ext >&5
5751 ac_header_compiler
=no
5753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5755 echo "${ECHO_T}$ac_header_compiler" >&6
5757 # Is the header present?
5758 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5760 cat >conftest.
$ac_ext <<_ACEOF
5763 cat confdefs.h
>>conftest.
$ac_ext
5764 cat >>conftest.
$ac_ext <<_ACEOF
5765 /* end confdefs.h. */
5766 #include <$ac_header>
5768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5769 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5771 grep -v '^ *+' conftest.er1
>conftest.err
5773 cat conftest.err
>&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); } >/dev
/null
; then
5776 if test -s conftest.err
; then
5777 ac_cpp_err
=$ac_c_preproc_warn_flag
5778 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5785 if test -z "$ac_cpp_err"; then
5786 ac_header_preproc
=yes
5788 echo "$as_me: failed program was:" >&5
5789 sed 's/^/| /' conftest.
$ac_ext >&5
5791 ac_header_preproc
=no
5793 rm -f conftest.err conftest.
$ac_ext
5794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5795 echo "${ECHO_T}$ac_header_preproc" >&6
5797 # So? What about this header?
5798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5803 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5804 ac_header_preproc
=yes
5807 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5808 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5809 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5810 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5811 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5812 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5813 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5814 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5817 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5818 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5821 ## ------------------------------------------------------ ##
5822 ## Report this to the GNU Fortran Runtime Library lists. ##
5823 ## ------------------------------------------------------ ##
5826 sed "s/^/$as_me: WARNING: /" >&2
5829 echo "$as_me:$LINENO: checking for $ac_header" >&5
5830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5832 echo $ECHO_N "(cached) $ECHO_C" >&6
5834 eval "$as_ac_Header=\$ac_header_preproc"
5836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5841 cat >>confdefs.h
<<_ACEOF
5842 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5854 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
5856 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5858 echo "$as_me:$LINENO: checking for $ac_header" >&5
5859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5866 # Is the header compilable?
5867 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5869 cat >conftest.
$ac_ext <<_ACEOF
5872 cat confdefs.h
>>conftest.
$ac_ext
5873 cat >>conftest.
$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5875 $ac_includes_default
5876 #include <$ac_header>
5878 rm -f conftest.
$ac_objext
5879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5880 (eval $ac_compile) 2>conftest.er1
5882 grep -v '^ *+' conftest.er1
>conftest.err
5884 cat conftest.err
>&5
5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); } &&
5887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); }; } &&
5893 { ac_try
='test -s conftest.$ac_objext'
5894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898 (exit $ac_status); }; }; then
5899 ac_header_compiler
=yes
5901 echo "$as_me: failed program was:" >&5
5902 sed 's/^/| /' conftest.
$ac_ext >&5
5904 ac_header_compiler
=no
5906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5908 echo "${ECHO_T}$ac_header_compiler" >&6
5910 # Is the header present?
5911 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5912 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5913 cat >conftest.
$ac_ext <<_ACEOF
5916 cat confdefs.h
>>conftest.
$ac_ext
5917 cat >>conftest.
$ac_ext <<_ACEOF
5918 /* end confdefs.h. */
5919 #include <$ac_header>
5921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5922 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5924 grep -v '^ *+' conftest.er1
>conftest.err
5926 cat conftest.err
>&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } >/dev
/null
; then
5929 if test -s conftest.err
; then
5930 ac_cpp_err
=$ac_c_preproc_warn_flag
5931 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5938 if test -z "$ac_cpp_err"; then
5939 ac_header_preproc
=yes
5941 echo "$as_me: failed program was:" >&5
5942 sed 's/^/| /' conftest.
$ac_ext >&5
5944 ac_header_preproc
=no
5946 rm -f conftest.err conftest.
$ac_ext
5947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5948 echo "${ECHO_T}$ac_header_preproc" >&6
5950 # So? What about this header?
5951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5957 ac_header_preproc
=yes
5960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5963 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5974 ## ------------------------------------------------------ ##
5975 ## Report this to the GNU Fortran Runtime Library lists. ##
5976 ## ------------------------------------------------------ ##
5979 sed "s/^/$as_me: WARNING: /" >&2
5982 echo "$as_me:$LINENO: checking for $ac_header" >&5
5983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5985 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 eval "$as_ac_Header=\$ac_header_preproc"
5989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5993 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5994 cat >>confdefs.h
<<_ACEOF
5995 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6002 if test "${ac_cv_header_complex_h+set}" = set; then
6003 echo "$as_me:$LINENO: checking for complex.h" >&5
6004 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6005 if test "${ac_cv_header_complex_h+set}" = set; then
6006 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6009 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6011 # Is the header compilable?
6012 echo "$as_me:$LINENO: checking complex.h usability" >&5
6013 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6014 cat >conftest.
$ac_ext <<_ACEOF
6017 cat confdefs.h
>>conftest.
$ac_ext
6018 cat >>conftest.
$ac_ext <<_ACEOF
6019 /* end confdefs.h. */
6020 $ac_includes_default
6021 #include <complex.h>
6023 rm -f conftest.
$ac_objext
6024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6025 (eval $ac_compile) 2>conftest.er1
6027 grep -v '^ *+' conftest.er1
>conftest.err
6029 cat conftest.err
>&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } &&
6032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; } &&
6038 { ac_try
='test -s conftest.$ac_objext'
6039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }; }; then
6044 ac_header_compiler
=yes
6046 echo "$as_me: failed program was:" >&5
6047 sed 's/^/| /' conftest.
$ac_ext >&5
6049 ac_header_compiler
=no
6051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6053 echo "${ECHO_T}$ac_header_compiler" >&6
6055 # Is the header present?
6056 echo "$as_me:$LINENO: checking complex.h presence" >&5
6057 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6058 cat >conftest.
$ac_ext <<_ACEOF
6061 cat confdefs.h
>>conftest.
$ac_ext
6062 cat >>conftest.
$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6064 #include <complex.h>
6066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6069 grep -v '^ *+' conftest.er1
>conftest.err
6071 cat conftest.err
>&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); } >/dev
/null
; then
6074 if test -s conftest.err
; then
6075 ac_cpp_err
=$ac_c_preproc_warn_flag
6076 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6083 if test -z "$ac_cpp_err"; then
6084 ac_header_preproc
=yes
6086 echo "$as_me: failed program was:" >&5
6087 sed 's/^/| /' conftest.
$ac_ext >&5
6089 ac_header_preproc
=no
6091 rm -f conftest.err conftest.
$ac_ext
6092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6093 echo "${ECHO_T}$ac_header_preproc" >&6
6095 # So? What about this header?
6096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6098 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6099 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6100 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6101 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6102 ac_header_preproc
=yes
6105 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6106 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6107 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6108 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6109 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6110 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6111 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6112 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6113 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6114 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6115 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6116 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6119 ## ------------------------------------------------------ ##
6120 ## Report this to the GNU Fortran Runtime Library lists. ##
6121 ## ------------------------------------------------------ ##
6124 sed "s/^/$as_me: WARNING: /" >&2
6127 echo "$as_me:$LINENO: checking for complex.h" >&5
6128 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6129 if test "${ac_cv_header_complex_h+set}" = set; then
6130 echo $ECHO_N "(cached) $ECHO_C" >&6
6132 ac_cv_header_complex_h
=$ac_header_preproc
6134 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6135 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6138 if test $ac_cv_header_complex_h = yes; then
6140 cat >>confdefs.h
<<\_ACEOF
6141 #define HAVE_COMPLEX_H 1
6148 # Check for complex math functions
6149 echo "$as_me:$LINENO: checking for csin in -lm" >&5
6150 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
6151 if test "${ac_cv_lib_m_csin+set}" = set; then
6152 echo $ECHO_N "(cached) $ECHO_C" >&6
6154 ac_check_lib_save_LIBS
=$LIBS
6156 cat >conftest.
$ac_ext <<_ACEOF
6159 cat confdefs.h
>>conftest.
$ac_ext
6160 cat >>conftest.
$ac_ext <<_ACEOF
6161 /* end confdefs.h. */
6163 /* Override any gcc2 internal prototype to avoid an error. */
6167 /* We use char because int might match the return type of a gcc2
6168 builtin and then its argument prototype would still apply. */
6178 rm -f conftest.
$ac_objext conftest
$ac_exeext
6179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6180 (eval $ac_link) 2>conftest.er1
6182 grep -v '^ *+' conftest.er1
>conftest.err
6184 cat conftest.err
>&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); } &&
6187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; } &&
6193 { ac_try
='test -s conftest$ac_exeext'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 ac_cv_lib_m_csin
=yes
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.
$ac_ext >&5
6206 rm -f conftest.err conftest.
$ac_objext \
6207 conftest
$ac_exeext conftest.
$ac_ext
6208 LIBS
=$ac_check_lib_save_LIBS
6210 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
6211 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
6212 if test $ac_cv_lib_m_csin = yes; then
6219 # Check for library functions.
6222 for ac_func
in getrusage
times
6224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6225 echo "$as_me:$LINENO: checking for $ac_func" >&5
6226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6227 if eval "test \"\${$as_ac_var+set}\" = set"; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 cat >conftest.
$ac_ext <<_ACEOF
6233 cat confdefs.h
>>conftest.
$ac_ext
6234 cat >>conftest.
$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6238 #define $ac_func innocuous_$ac_func
6240 /* System header to define __stub macros and hopefully few prototypes,
6241 which can conflict with char $ac_func (); below.
6242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6243 <limits.h> exists even on freestanding compilers. */
6246 # include <limits.h>
6248 # include <assert.h>
6253 /* Override any gcc2 internal prototype to avoid an error. */
6258 /* We use char because int might match the return type of a gcc2
6259 builtin and then its argument prototype would still apply. */
6261 /* The GNU C library defines this for functions which it implements
6262 to always fail with ENOSYS. Some functions are actually named
6263 something starting with __ and the normal name is an alias. */
6264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6267 char (*f) () = $ac_func;
6276 return f != $ac_func;
6281 rm -f conftest.
$ac_objext conftest
$ac_exeext
6282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6283 (eval $ac_link) 2>conftest.er1
6285 grep -v '^ *+' conftest.er1
>conftest.err
6287 cat conftest.err
>&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); } &&
6290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); }; } &&
6296 { ac_try
='test -s conftest$ac_exeext'
6297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); }; }; then
6302 eval "$as_ac_var=yes"
6304 echo "$as_me: failed program was:" >&5
6305 sed 's/^/| /' conftest.
$ac_ext >&5
6307 eval "$as_ac_var=no"
6309 rm -f conftest.err conftest.
$ac_objext \
6310 conftest
$ac_exeext conftest.
$ac_ext
6312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6314 if test `eval echo '${'$as_ac_var'}'` = yes; then
6315 cat >>confdefs.h
<<_ACEOF
6316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6323 # Check for some C99 functions
6324 echo "$as_me:$LINENO: checking for round in -lm" >&5
6325 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
6326 if test "${ac_cv_lib_m_round+set}" = set; then
6327 echo $ECHO_N "(cached) $ECHO_C" >&6
6329 ac_check_lib_save_LIBS
=$LIBS
6331 cat >conftest.
$ac_ext <<_ACEOF
6334 cat confdefs.h
>>conftest.
$ac_ext
6335 cat >>conftest.
$ac_ext <<_ACEOF
6336 /* end confdefs.h. */
6338 /* Override any gcc2 internal prototype to avoid an error. */
6342 /* We use char because int might match the return type of a gcc2
6343 builtin and then its argument prototype would still apply. */
6353 rm -f conftest.
$ac_objext conftest
$ac_exeext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6355 (eval $ac_link) 2>conftest.er1
6357 grep -v '^ *+' conftest.er1
>conftest.err
6359 cat conftest.err
>&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } &&
6362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367 (exit $ac_status); }; } &&
6368 { ac_try
='test -s conftest$ac_exeext'
6369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); }; }; then
6374 ac_cv_lib_m_round
=yes
6376 echo "$as_me: failed program was:" >&5
6377 sed 's/^/| /' conftest.
$ac_ext >&5
6379 ac_cv_lib_m_round
=no
6381 rm -f conftest.err conftest.
$ac_objext \
6382 conftest
$ac_exeext conftest.
$ac_ext
6383 LIBS
=$ac_check_lib_save_LIBS
6385 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
6386 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
6387 if test $ac_cv_lib_m_round = yes; then
6389 cat >>confdefs.h
<<\_ACEOF
6390 #define HAVE_ROUND 1
6395 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
6396 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
6397 if test "${ac_cv_lib_m_roundf+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 ac_check_lib_save_LIBS
=$LIBS
6402 cat >conftest.
$ac_ext <<_ACEOF
6405 cat confdefs.h
>>conftest.
$ac_ext
6406 cat >>conftest.
$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6409 /* Override any gcc2 internal prototype to avoid an error. */
6413 /* We use char because int might match the return type of a gcc2
6414 builtin and then its argument prototype would still apply. */
6424 rm -f conftest.
$ac_objext conftest
$ac_exeext
6425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6426 (eval $ac_link) 2>conftest.er1
6428 grep -v '^ *+' conftest.er1
>conftest.err
6430 cat conftest.err
>&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } &&
6433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; } &&
6439 { ac_try
='test -s conftest$ac_exeext'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; }; then
6445 ac_cv_lib_m_roundf
=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.
$ac_ext >&5
6450 ac_cv_lib_m_roundf
=no
6452 rm -f conftest.err conftest.
$ac_objext \
6453 conftest
$ac_exeext conftest.
$ac_ext
6454 LIBS
=$ac_check_lib_save_LIBS
6456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
6457 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
6458 if test $ac_cv_lib_m_roundf = yes; then
6460 cat >>confdefs.h
<<\_ACEOF
6461 #define HAVE_ROUNDF 1
6466 # And other IEEE math functions
6467 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
6468 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
6469 if test "${ac_cv_lib_m_nextafter+set}" = set; then
6470 echo $ECHO_N "(cached) $ECHO_C" >&6
6472 ac_check_lib_save_LIBS
=$LIBS
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6481 /* Override any gcc2 internal prototype to avoid an error. */
6485 /* We use char because int might match the return type of a gcc2
6486 builtin and then its argument prototype would still apply. */
6496 rm -f conftest.
$ac_objext conftest
$ac_exeext
6497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6498 (eval $ac_link) 2>conftest.er1
6500 grep -v '^ *+' conftest.er1
>conftest.err
6502 cat conftest.err
>&5
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); } &&
6505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; } &&
6511 { ac_try
='test -s conftest$ac_exeext'
6512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; }; then
6517 ac_cv_lib_m_nextafter
=yes
6519 echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.
$ac_ext >&5
6522 ac_cv_lib_m_nextafter
=no
6524 rm -f conftest.err conftest.
$ac_objext \
6525 conftest
$ac_exeext conftest.
$ac_ext
6526 LIBS
=$ac_check_lib_save_LIBS
6528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
6529 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
6530 if test $ac_cv_lib_m_nextafter = yes; then
6532 cat >>confdefs.h
<<\_ACEOF
6533 #define HAVE_NEXTAFTER 1
6538 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
6539 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
6540 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 ac_check_lib_save_LIBS
=$LIBS
6545 cat >conftest.
$ac_ext <<_ACEOF
6548 cat confdefs.h
>>conftest.
$ac_ext
6549 cat >>conftest.
$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6552 /* Override any gcc2 internal prototype to avoid an error. */
6556 /* We use char because int might match the return type of a gcc2
6557 builtin and then its argument prototype would still apply. */
6567 rm -f conftest.
$ac_objext conftest
$ac_exeext
6568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6569 (eval $ac_link) 2>conftest.er1
6571 grep -v '^ *+' conftest.er1
>conftest.err
6573 cat conftest.err
>&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); } &&
6576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; } &&
6582 { ac_try
='test -s conftest$ac_exeext'
6583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }; }; then
6588 ac_cv_lib_m_nextafterf
=yes
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.
$ac_ext >&5
6593 ac_cv_lib_m_nextafterf
=no
6595 rm -f conftest.err conftest.
$ac_objext \
6596 conftest
$ac_exeext conftest.
$ac_ext
6597 LIBS
=$ac_check_lib_save_LIBS
6599 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
6600 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
6601 if test $ac_cv_lib_m_nextafterf = yes; then
6603 cat >>confdefs.h
<<\_ACEOF
6604 #define HAVE_NEXTAFTERF 1
6610 # Let the user override this
6611 # Check whether --enable-cmath or --disable-cmath was given.
6612 if test "${enable_cmath+set}" = set; then
6613 enableval
="$enable_cmath"
6614 need_math
=$enableval
6616 if test "$need_math" = "yes"; then
6617 { echo "$as_me:$LINENO: Including complex math functions in libgfor" >&5
6618 echo "$as_me: Including complex math functions in libgfor" >&6;};
6619 extra_math_obj
='$(gfor_cmath_obj)'
6622 MATH_OBJ
="$extra_math_obj"
6625 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
6626 # for struct timezone, as you might think. We also need to check how
6627 # to call gettimeofday if we have it.
6628 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6629 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6630 if test "${ac_cv_header_time+set}" = set; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 cat >conftest.
$ac_ext <<_ACEOF
6636 cat confdefs.h
>>conftest.
$ac_ext
6637 cat >>conftest.
$ac_ext <<_ACEOF
6638 /* end confdefs.h. */
6639 #include <sys/types.h>
6640 #include <sys/time.h>
6646 if ((struct tm *) 0)
6652 rm -f conftest.
$ac_objext
6653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6654 (eval $ac_compile) 2>conftest.er1
6656 grep -v '^ *+' conftest.er1
>conftest.err
6658 cat conftest.err
>&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } &&
6661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); }; } &&
6667 { ac_try
='test -s conftest.$ac_objext'
6668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); }; }; then
6673 ac_cv_header_time
=yes
6675 echo "$as_me: failed program was:" >&5
6676 sed 's/^/| /' conftest.
$ac_ext >&5
6678 ac_cv_header_time
=no
6680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6682 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6683 echo "${ECHO_T}$ac_cv_header_time" >&6
6684 if test $ac_cv_header_time = yes; then
6686 cat >>confdefs.h
<<\_ACEOF
6687 #define TIME_WITH_SYS_TIME 1
6694 for ac_func
in gettimeofday
6696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6697 echo "$as_me:$LINENO: checking for $ac_func" >&5
6698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6699 if eval "test \"\${$as_ac_var+set}\" = set"; then
6700 echo $ECHO_N "(cached) $ECHO_C" >&6
6702 cat >conftest.
$ac_ext <<_ACEOF
6705 cat confdefs.h
>>conftest.
$ac_ext
6706 cat >>conftest.
$ac_ext <<_ACEOF
6707 /* end confdefs.h. */
6708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6710 #define $ac_func innocuous_$ac_func
6712 /* System header to define __stub macros and hopefully few prototypes,
6713 which can conflict with char $ac_func (); below.
6714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6715 <limits.h> exists even on freestanding compilers. */
6718 # include <limits.h>
6720 # include <assert.h>
6725 /* Override any gcc2 internal prototype to avoid an error. */
6730 /* We use char because int might match the return type of a gcc2
6731 builtin and then its argument prototype would still apply. */
6733 /* The GNU C library defines this for functions which it implements
6734 to always fail with ENOSYS. Some functions are actually named
6735 something starting with __ and the normal name is an alias. */
6736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6739 char (*f) () = $ac_func;
6748 return f != $ac_func;
6753 rm -f conftest.
$ac_objext conftest
$ac_exeext
6754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6755 (eval $ac_link) 2>conftest.er1
6757 grep -v '^ *+' conftest.er1
>conftest.err
6759 cat conftest.err
>&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); } &&
6762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); }; } &&
6768 { ac_try
='test -s conftest$ac_exeext'
6769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); }; }; then
6774 eval "$as_ac_var=yes"
6776 echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.
$ac_ext >&5
6779 eval "$as_ac_var=no"
6781 rm -f conftest.err conftest.
$ac_objext \
6782 conftest
$ac_exeext conftest.
$ac_ext
6784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6786 if test `eval echo '${'$as_ac_var'}'` = yes; then
6787 cat >>confdefs.h
<<_ACEOF
6788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6794 if test "$ac_cv_func_gettimeofday" = yes; then
6795 echo "$as_me:$LINENO: checking for struct timezone" >&5
6796 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
6797 if test "${gfor_cv_struct_timezone+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6800 cat >conftest.
$ac_ext <<_ACEOF
6803 cat confdefs.h
>>conftest.
$ac_ext
6804 cat >>conftest.
$ac_ext <<_ACEOF
6805 /* end confdefs.h. */
6806 #include <sys/time.h>
6815 rm -f conftest.
$ac_objext
6816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6817 (eval $ac_compile) 2>conftest.er1
6819 grep -v '^ *+' conftest.er1
>conftest.err
6821 cat conftest.err
>&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } &&
6824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; } &&
6830 { ac_try
='test -s conftest.$ac_objext'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; }; then
6836 gfor_cv_struct_timezone
=yes
6838 echo "$as_me: failed program was:" >&5
6839 sed 's/^/| /' conftest.
$ac_ext >&5
6841 gfor_cv_struct_timezone
=no
6843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6845 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
6846 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
6847 if test $gfor_cv_struct_timezone = yes; then
6848 if test "$cross_compiling" = yes; then
6849 gfor_have_struct_timezone
=yes
6851 cat >conftest.
$ac_ext <<_ACEOF
6854 cat confdefs.h
>>conftest.
$ac_ext
6855 cat >>conftest.
$ac_ext <<_ACEOF
6856 /* end confdefs.h. */
6858 #ifdef TIME_WITH_SYS_TIME
6859 #include <sys/time.h>
6862 #ifdef HAVE_SYS_TIME_H
6863 #include <sys/time.h>
6870 struct timeval time;
6871 struct timezone dummy;
6872 if (gettimeofday (&time, &dummy))
6878 rm -f conftest
$ac_exeext
6879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6880 (eval $ac_link) 2>&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }; }; then
6889 gfor_have_struct_timezone
=yes
6891 echo "$as_me: program exited with status $ac_status" >&5
6892 echo "$as_me: failed program was:" >&5
6893 sed 's/^/| /' conftest.
$ac_ext >&5
6896 gfor_have_struct_timezone
=no
6898 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6900 if test $gfor_have_struct_timezone = yes; then
6902 cat >>confdefs.h
<<\_ACEOF
6903 #define HAVE_TIMEZONE 1
6909 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
6910 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
6911 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
6912 echo $ECHO_N "(cached) $ECHO_C" >&6
6914 cat >conftest.
$ac_ext <<_ACEOF
6917 cat confdefs.h
>>conftest.
$ac_ext
6918 cat >>conftest.
$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6921 #ifdef TIME_WITH_SYS_TIME
6922 #include <sys/time.h>
6925 #ifdef HAVE_SYS_TIME_H
6926 #include <sys/time.h>
6936 struct timeval time;
6937 #ifdef HAVE_TIMEZONE
6938 struct timezone dummy;
6939 #define DUMMY &dummy
6943 gettimeofday (&time, DUMMY);
6948 rm -f conftest.
$ac_objext conftest
$ac_exeext
6949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6950 (eval $ac_link) 2>conftest.er1
6952 grep -v '^ *+' conftest.er1
>conftest.err
6954 cat conftest.err
>&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); } &&
6957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); }; } &&
6963 { ac_try
='test -s conftest$ac_exeext'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; }; then
6969 emacs_cv_gettimeofday_two_arguments
=yes
6971 echo "$as_me: failed program was:" >&5
6972 sed 's/^/| /' conftest.
$ac_ext >&5
6974 emacs_cv_gettimeofday_two_arguments
=no
6976 rm -f conftest.err conftest.
$ac_objext \
6977 conftest
$ac_exeext conftest.
$ac_ext
6979 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
6980 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
6981 if test $emacs_cv_gettimeofday_two_arguments = no
; then
6983 cat >>confdefs.h
<<\_ACEOF
6984 #define GETTIMEOFDAY_ONE_ARGUMENT 1
6990 cat >confcache
<<\_ACEOF
6991 # This file is a shell script that caches the results of configure
6992 # tests run on this system so they can be shared between configure
6993 # scripts and configure runs, see configure's option --config-cache.
6994 # It is not useful on other systems. If it contains results you don't
6995 # want to keep, you may remove or edit it.
6997 # config.status only pays attention to the cache file if you give it
6998 # the --recheck option to rerun configure.
7000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7006 # The following way of writing the cache mishandles newlines in values,
7007 # but we know of no workaround that is simple, portable, and efficient.
7008 # So, don't put newlines in cache variables' values.
7009 # Ultrix sh set writes to stderr and can't be redirected directly,
7010 # and sets the high bit in the cache file unless we assign to the vars.
7013 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7015 # `set' does not quote correctly, so add quotes (double-quote
7016 # substitution turns \\\\ into \\, and sed turns \\ into \).
7019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7022 # `set' quotes correctly as required by POSIX, so do not add quotes.
7024 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7033 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7035 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7036 if test -w $cache_file; then
7037 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7038 cat confcache
>$cache_file
7040 echo "not updating unwritable cache $cache_file"
7045 if test ${multilib} = yes; then
7046 multilib_arg
="--enable-multilib"
7051 # Write our Makefile.
7052 ac_config_files
="$ac_config_files Makefile"
7054 cat >confcache
<<\_ACEOF
7055 # This file is a shell script that caches the results of configure
7056 # tests run on this system so they can be shared between configure
7057 # scripts and configure runs, see configure's option --config-cache.
7058 # It is not useful on other systems. If it contains results you don't
7059 # want to keep, you may remove or edit it.
7061 # config.status only pays attention to the cache file if you give it
7062 # the --recheck option to rerun configure.
7064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7070 # The following way of writing the cache mishandles newlines in values,
7071 # but we know of no workaround that is simple, portable, and efficient.
7072 # So, don't put newlines in cache variables' values.
7073 # Ultrix sh set writes to stderr and can't be redirected directly,
7074 # and sets the high bit in the cache file unless we assign to the vars.
7077 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7079 # `set' does not quote correctly, so add quotes (double-quote
7080 # substitution turns \\\\ into \\, and sed turns \\ into \).
7083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7086 # `set' quotes correctly as required by POSIX, so do not add quotes.
7088 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7095 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7097 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7099 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7100 if test -w $cache_file; then
7101 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7102 cat confcache
>$cache_file
7104 echo "not updating unwritable cache $cache_file"
7109 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7110 # Let make expand exec_prefix.
7111 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7113 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7114 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7115 # trailing colons and then remove the whole line if VPATH becomes empty
7116 # (actually we leave an empty line to preserve line numbers).
7117 if test "x$srcdir" = x.
; then
7118 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7119 s/:*\$(srcdir):*/:/;
7120 s/:*\${srcdir}:*/:/;
7122 s/^\([^=]*=[ ]*\):*/\1/;
7128 DEFS
=-DHAVE_CONFIG_H
7132 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7133 # 1. Remove the extension, and $U if already installed.
7134 ac_i
=`echo "$ac_i" |
7135 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7137 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7138 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7142 LTLIBOBJS
=$ac_ltlibobjs
7145 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7146 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7147 Usually this means the macro was only invoked conditionally." >&5
7148 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7149 Usually this means the macro was only invoked conditionally." >&2;}
7150 { (exit 1); exit 1; }; }
7153 : ${CONFIG_STATUS=./config.status}
7154 ac_clean_files_save
=$ac_clean_files
7155 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7156 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7157 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7158 cat >$CONFIG_STATUS <<_ACEOF
7160 # Generated by $as_me.
7161 # Run this file to recreate the current configuration.
7162 # Compiler output produced by configure, useful for debugging
7163 # configure, is in config.log if it exists.
7168 SHELL=\${CONFIG_SHELL-$SHELL}
7171 cat >>$CONFIG_STATUS <<\_ACEOF
7172 ## --------------------- ##
7173 ## M4sh Initialization. ##
7174 ## --------------------- ##
7176 # Be Bourne compatible
7177 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7180 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7181 # is contrary to our usage. Disable this feature.
7182 alias -g '${1+"$@"}'='"$@"'
7183 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7186 DUALCASE
=1; export DUALCASE
# for MKS sh
7188 # Support unset when possible.
7189 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7196 # Work around bugs in pre-3.0 UWIN ksh.
7197 $as_unset ENV MAIL MAILPATH
7204 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7205 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7206 LC_TELEPHONE LC_TIME
7208 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7209 eval $as_var=C
; export $as_var
7215 # Required to use basename.
7216 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7222 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7223 as_basename
=basename
7229 # Name of the executable.
7230 as_me
=`$as_basename "$0" ||
7231 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7232 X"$0" : 'X\(//\)$' \| \
7233 X"$0" : 'X\(/\)$' \| \
7234 . : '\(.\)' 2>/dev/null ||
7236 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7237 /^X\/\(\/\/\)$/{ s//\1/; q; }
7238 /^X\/\(\/\).*/{ s//\1/; q; }
7242 # PATH needs CR, and LINENO needs CR and PATH.
7243 # Avoid depending upon Character Ranges.
7244 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7245 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7246 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7247 as_cr_digits
='0123456789'
7248 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7250 # The user is always right.
7251 if test "${PATH_SEPARATOR+set}" != set; then
7252 echo "#! /bin/sh" >conf$$.sh
7253 echo "exit 0" >>conf$$.sh
7255 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7266 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7267 test "x$as_lineno_1" != "x$as_lineno_2" &&
7268 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7269 # Find who we are. Look in the path if we contain no path at all
7272 *[\\/]* ) as_myself
=$0 ;;
7273 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7277 test -z "$as_dir" && as_dir
=.
7278 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7283 # We did not find ourselves, most probably we were run as `sh COMMAND'
7284 # in which case we are not to be found in the path.
7285 if test "x$as_myself" = x
; then
7288 if test ! -f "$as_myself"; then
7289 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7290 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7291 { (exit 1); exit 1; }; }
7293 case $CONFIG_SHELL in
7295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7296 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7299 test -z "$as_dir" && as_dir
=.
7300 for as_base
in sh bash ksh sh5
; do
7303 if ("$as_dir/$as_base" -c '
7306 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7307 test "x$as_lineno_1" != "x$as_lineno_2" &&
7308 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7309 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7310 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7311 CONFIG_SHELL
=$as_dir/$as_base
7313 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7321 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7322 # uniformly replaced by the line number. The first 'sed' inserts a
7323 # line-number line before each line; the second 'sed' does the real
7324 # work. The second script uses 'N' to pair each line-number line
7325 # with the numbered line, and appends trailing '-' during
7326 # substitution so that $LINENO is not a special case at line end.
7327 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7328 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7329 sed '=' <$as_myself |
7334 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7337 s,^['$as_cr_digits']*\n,,
7339 chmod +x
$as_me.lineno ||
7340 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7341 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7342 { (exit 1); exit 1; }; }
7344 # Don't try to exec as it changes $[0], causing all sort of problems
7345 # (the dirname of $[0] is not the place where we might find the
7346 # original and so on. Autoconf is especially sensible to this).
7348 # Exit status is that of the last command.
7353 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7354 *c
*,-n*) ECHO_N
= ECHO_C
='
7356 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7357 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7360 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7366 rm -f conf$$ conf$$.exe conf$$.
file
7368 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7369 # We could just check for DJGPP; but this test a) works b) is more generic
7370 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7371 if test -f conf$$.exe
; then
7372 # Don't use ln at all; we don't have any links
7377 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7382 rm -f conf$$ conf$$.exe conf$$.
file
7384 if mkdir
-p .
2>/dev
/null
; then
7387 test -d .
/-p && rmdir .
/-p
7391 as_executable_p
="test -f"
7393 # Sed expression to map a string onto a valid CPP name.
7394 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7396 # Sed expression to map a string onto a valid variable name.
7397 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7401 # We need space, tab and new line, in precisely that order.
7411 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7412 # report actual input values of CONFIG_FILES etc. instead of their
7413 # values after options handling. Logging --version etc. is OK.
7417 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7418 ## Running $as_me. ##
7423 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
7424 generated by GNU Autoconf 2.59. Invocation command line was
7426 CONFIG_FILES = $CONFIG_FILES
7427 CONFIG_HEADERS = $CONFIG_HEADERS
7428 CONFIG_LINKS = $CONFIG_LINKS
7429 CONFIG_COMMANDS = $CONFIG_COMMANDS
7433 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7437 # Files that config.status was made for.
7438 if test -n "$ac_config_files"; then
7439 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7442 if test -n "$ac_config_headers"; then
7443 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7446 if test -n "$ac_config_links"; then
7447 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7450 if test -n "$ac_config_commands"; then
7451 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7454 cat >>$CONFIG_STATUS <<\_ACEOF
7457 \`$as_me' instantiates files from templates according to the
7458 current configuration.
7460 Usage: $0 [OPTIONS] [FILE]...
7462 -h, --help print this help, then exit
7463 -V, --version print version number, then exit
7464 -q, --quiet do not print progress messages
7465 -d, --debug don't remove temporary files
7466 --recheck update $as_me by reconfiguring in the same conditions
7467 --file=FILE[:TEMPLATE]
7468 instantiate the configuration file FILE
7469 --header=FILE[:TEMPLATE]
7470 instantiate the configuration header FILE
7472 Configuration files:
7475 Configuration headers:
7478 Configuration commands:
7481 Report bugs to <bug-autoconf@gnu.org>."
7484 cat >>$CONFIG_STATUS <<_ACEOF
7486 GNU Fortran Runtime Library config.status 0.2
7487 configured by $0, generated by GNU Autoconf 2.59,
7488 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7490 Copyright (C) 2003 Free Software Foundation, Inc.
7491 This config.status script is free software; the Free Software Foundation
7492 gives unlimited permission to copy, distribute and modify it."
7497 cat >>$CONFIG_STATUS <<\_ACEOF
7498 # If no file are specified by the user, then we need to provide default
7499 # value. By we need to know if files were specified by the user.
7505 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7506 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7514 *) # This is not an option, so the user has probably given explicit
7517 ac_need_defaults
=false
;;
7521 # Handling of the options.
7523 cat >>$CONFIG_STATUS <<\_ACEOF
7524 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7526 --version |
--vers* |
-V )
7527 echo "$ac_cs_version"; exit 0 ;;
7529 # Conflict between --help and --header
7530 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7531 Try \`$0 --help' for more information." >&5
7532 echo "$as_me: error: ambiguous option: $1
7533 Try \`$0 --help' for more information." >&2;}
7534 { (exit 1); exit 1; }; };;
7535 --help |
--hel |
-h )
7536 echo "$ac_cs_usage"; exit 0 ;;
7537 --debug |
--d* |
-d )
7539 --file |
--fil |
--fi |
--f )
7541 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7542 ac_need_defaults
=false
;;
7543 --header |
--heade |
--head |
--hea )
7545 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7546 ac_need_defaults
=false
;;
7547 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7548 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7552 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7553 Try \`$0 --help' for more information." >&5
7554 echo "$as_me: error: unrecognized option: $1
7555 Try \`$0 --help' for more information." >&2;}
7556 { (exit 1); exit 1; }; } ;;
7558 *) ac_config_targets
="$ac_config_targets $1" ;;
7564 ac_configure_extra_args
=
7566 if $ac_cs_silent; then
7568 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7572 cat >>$CONFIG_STATUS <<_ACEOF
7573 if \$ac_cs_recheck; then
7574 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7575 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7580 cat >>$CONFIG_STATUS <<_ACEOF
7582 # INIT-COMMANDS section.
7589 with_multisubdir="$with_multisubdir"
7590 with_multisrctop="$with_multisrctop"
7591 with_target_subdir="$with_target_subdir"
7592 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7593 multi_basedir="$multi_basedir"
7594 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7601 cat >>$CONFIG_STATUS <<\_ACEOF
7602 for ac_config_target
in $ac_config_targets
7604 case "$ac_config_target" in
7605 # Handling of arguments.
7606 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7607 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7608 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7609 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7610 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7611 { (exit 1); exit 1; }; };;
7615 # If the user did not use the arguments to specify the items to instantiate,
7616 # then the envvar interface is used. Set only those that are not.
7617 # We use the long form for the default assignment because of an extremely
7618 # bizarre bug on SunOS 4.1.3.
7619 if $ac_need_defaults; then
7620 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7621 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7622 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7625 # Have a temporary directory for convenience. Make it in the build tree
7626 # simply because there is no reason to put it here, and in addition,
7627 # creating and moving files from /tmp can sometimes cause problems.
7628 # Create a temporary directory, and hook for its removal unless debugging.
7631 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7632 trap '{ (exit 1); exit 1; }' 1 2 13 15
7635 # Create a (secure) tmp directory for tmp files.
7638 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7639 test -n "$tmp" && test -d "$tmp"
7642 tmp
=.
/confstat$$
-$RANDOM
7643 (umask 077 && mkdir
$tmp)
7646 echo "$me: cannot create a temporary directory in ." >&2
7647 { (exit 1); exit 1; }
7652 cat >>$CONFIG_STATUS <<_ACEOF
7655 # CONFIG_FILES section.
7658 # No need to generate the scripts if there are no CONFIG_FILES.
7659 # This happens for instance when ./config.status config.h
7660 if test -n "\$CONFIG_FILES"; then
7661 # Protect against being on the right side of a sed subst in config.status.
7662 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7663 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7664 s,@SHELL@,$SHELL,;t t
7665 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7666 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7667 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7668 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7669 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7670 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7671 s,@exec_prefix@,$exec_prefix,;t t
7672 s,@prefix@,$prefix,;t t
7673 s,@program_transform_name@,$program_transform_name,;t t
7674 s,@bindir@,$bindir,;t t
7675 s,@sbindir@,$sbindir,;t t
7676 s,@libexecdir@,$libexecdir,;t t
7677 s,@datadir@,$datadir,;t t
7678 s,@sysconfdir@,$sysconfdir,;t t
7679 s,@sharedstatedir@,$sharedstatedir,;t t
7680 s,@localstatedir@,$localstatedir,;t t
7681 s,@libdir@,$libdir,;t t
7682 s,@includedir@,$includedir,;t t
7683 s,@oldincludedir@,$oldincludedir,;t t
7684 s,@infodir@,$infodir,;t t
7685 s,@mandir@,$mandir,;t t
7686 s,@build_alias@,$build_alias,;t t
7687 s,@host_alias@,$host_alias,;t t
7688 s,@target_alias@,$target_alias,;t t
7690 s,@ECHO_C@,$ECHO_C,;t t
7691 s,@ECHO_N@,$ECHO_N,;t t
7692 s,@ECHO_T@,$ECHO_T,;t t
7694 s,@build@,$build,;t t
7695 s,@build_cpu@,$build_cpu,;t t
7696 s,@build_vendor@,$build_vendor,;t t
7697 s,@build_os@,$build_os,;t t
7699 s,@host_cpu@,$host_cpu,;t t
7700 s,@host_vendor@,$host_vendor,;t t
7701 s,@host_os@,$host_os,;t t
7702 s,@target@,$target,;t t
7703 s,@target_cpu@,$target_cpu,;t t
7704 s,@target_vendor@,$target_vendor,;t t
7705 s,@target_os@,$target_os,;t t
7706 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7707 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7708 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7709 s,@CYGPATH_W@,$CYGPATH_W,;t t
7710 s,@PACKAGE@,$PACKAGE,;t t
7711 s,@VERSION@,$VERSION,;t t
7712 s,@ACLOCAL@,$ACLOCAL,;t t
7713 s,@AUTOCONF@,$AUTOCONF,;t t
7714 s,@AUTOMAKE@,$AUTOMAKE,;t t
7715 s,@AUTOHEADER@,$AUTOHEADER,;t t
7716 s,@MAKEINFO@,$MAKEINFO,;t t
7717 s,@AMTAR@,$AMTAR,;t t
7718 s,@install_sh@,$install_sh,;t t
7719 s,@STRIP@,$STRIP,;t t
7720 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7721 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7722 s,@mkdir_p@,$mkdir_p,;t t
7724 s,@SET_MAKE@,$SET_MAKE,;t t
7725 s,@am__leading_dot@,$am__leading_dot,;t t
7726 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7727 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7728 s,@MAINT@,$MAINT,;t t
7729 s,@multi_basedir@,$multi_basedir,;t t
7730 s,@gcc_version@,$gcc_version,;t t
7731 s,@toolexecdir@,$toolexecdir,;t t
7732 s,@toolexeclibdir@,$toolexeclibdir,;t t
7734 s,@ac_ct_CC@,$ac_ct_CC,;t t
7735 s,@EXEEXT@,$EXEEXT,;t t
7736 s,@OBJEXT@,$OBJEXT,;t t
7737 s,@CFLAGS@,$CFLAGS,;t t
7739 s,@ac_ct_AS@,$ac_ct_AS,;t t
7741 s,@ac_ct_AR@,$ac_ct_AR,;t t
7742 s,@RANLIB@,$RANLIB,;t t
7743 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7745 s,@LIBTOOL@,$LIBTOOL,;t t
7746 s,@enable_shared@,$enable_shared,;t t
7747 s,@enable_static@,$enable_static,;t t
7749 s,@FFLAGS@,$FFLAGS,;t t
7750 s,@LDFLAGS@,$LDFLAGS,;t t
7751 s,@ac_ct_F77@,$ac_ct_F77,;t t
7753 s,@CPPFLAGS@,$CPPFLAGS,;t t
7754 s,@EGREP@,$EGREP,;t t
7755 s,@MATH_OBJ@,$MATH_OBJ,;t t
7756 s,@LIBOBJS@,$LIBOBJS,;t t
7757 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7762 cat >>$CONFIG_STATUS <<\_ACEOF
7763 # Split the substitutions into bite-sized pieces for seds with
7764 # small command number limits, like on Digital OSF/1 and HP-UX.
7766 ac_sed_frag
=1 # Number of current file.
7767 ac_beg
=1 # First line for current file.
7768 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7771 while $ac_more_lines; do
7772 if test $ac_beg -gt 1; then
7773 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7775 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7777 if test ! -s $tmp/subs.frag
; then
7780 # The purpose of the label and of the branching condition is to
7781 # speed up the sed processing (if there are no `@' at all, there
7782 # is no need to browse any of the substitutions).
7783 # These are the two extra sed commands mentioned above.
7785 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7786 if test -z "$ac_sed_cmds"; then
7787 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7789 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7791 ac_sed_frag
=`expr $ac_sed_frag + 1`
7793 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7796 if test -z "$ac_sed_cmds"; then
7799 fi # test -n "$CONFIG_FILES"
7802 cat >>$CONFIG_STATUS <<\_ACEOF
7803 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7804 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7806 - |
*:- |
*:-:* ) # input from stdin
7808 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7809 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7810 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7811 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7812 * ) ac_file_in
=$ac_file.
in ;;
7815 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7816 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7817 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7818 X"$ac_file" : 'X\(//\)[^/]' \| \
7819 X"$ac_file" : 'X\(//\)$' \| \
7820 X"$ac_file" : 'X\(/\)' \| \
7821 . : '\(.\)' 2>/dev/null ||
7823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7824 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7825 /^X\(\/\/\)$/{ s//\1/; q; }
7826 /^X\(\/\).*/{ s//\1/; q; }
7828 { if $as_mkdir_p; then
7833 while test ! -d "$as_dir"; do
7834 as_dirs
="$as_dir $as_dirs"
7835 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7836 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7837 X"$as_dir" : 'X\(//\)[^/]' \| \
7838 X"$as_dir" : 'X\(//\)$' \| \
7839 X"$as_dir" : 'X\(/\)' \| \
7840 . : '\(.\)' 2>/dev/null ||
7842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7843 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7844 /^X\(\/\/\)$/{ s//\1/; q; }
7845 /^X\(\/\).*/{ s//\1/; q; }
7848 test ! -n "$as_dirs" || mkdir
$as_dirs
7849 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7850 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7851 { (exit 1); exit 1; }; }; }
7855 if test "$ac_dir" != .
; then
7856 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7857 # A "../" for each directory in $ac_dir_suffix.
7858 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7860 ac_dir_suffix
= ac_top_builddir
=
7864 .
) # No --srcdir option. We are building in place.
7866 if test -z "$ac_top_builddir"; then
7869 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7871 [\\/]* | ?
:[\\/]* ) # Absolute path.
7872 ac_srcdir
=$srcdir$ac_dir_suffix;
7873 ac_top_srcdir
=$srcdir ;;
7875 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7876 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7879 # Do not use `cd foo && pwd` to compute absolute paths, because
7880 # the directories may not exist.
7882 .
) ac_abs_builddir
="$ac_dir";;
7885 .
) ac_abs_builddir
=`pwd`;;
7886 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7887 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7890 case $ac_abs_builddir in
7891 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7893 case ${ac_top_builddir}.
in
7894 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7895 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7896 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7899 case $ac_abs_builddir in
7900 .
) ac_abs_srcdir
=$ac_srcdir;;
7903 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7904 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7905 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7908 case $ac_abs_builddir in
7909 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7911 case $ac_top_srcdir in
7912 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7913 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7914 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7920 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7921 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7924 # Let's still pretend it is `configure' which instantiates (i.e., don't
7925 # use $as_me), people would be surprised to read:
7926 # /* config.h. Generated by config.status. */
7927 if test x
"$ac_file" = x-
; then
7930 configure_input
="$ac_file. "
7932 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7933 sed 's,.*/,,'` by configure."
7935 # First look for the input files in the build tree, otherwise in the
7937 ac_file_inputs
=`IFS=:
7938 for f in $ac_file_in; do
7940 -) echo $tmp/stdin ;;
7942 # Absolute (can't be DOS-style, as IFS=:)
7943 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7944 echo "$as_me: error: cannot find input file: $f" >&2;}
7945 { (exit 1); exit 1; }; }
7948 if test -f "$f"; then
7951 elif test -f "$srcdir/$f"; then
7956 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7957 echo "$as_me: error: cannot find input file: $f" >&2;}
7958 { (exit 1); exit 1; }; }
7961 done` ||
{ (exit 1); exit 1; }
7963 if test x
"$ac_file" != x-
; then
7964 { echo "$as_me:$LINENO: creating $ac_file" >&5
7965 echo "$as_me: creating $ac_file" >&6;}
7969 cat >>$CONFIG_STATUS <<_ACEOF
7973 cat >>$CONFIG_STATUS <<\_ACEOF
7975 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7976 s
,@configure_input@
,$configure_input,;t t
7977 s
,@srcdir@
,$ac_srcdir,;t t
7978 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7979 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7980 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7981 s
,@builddir@
,$ac_builddir,;t t
7982 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7983 s
,@top_builddir@
,$ac_top_builddir,;t t
7984 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7985 s
,@INSTALL@
,$ac_INSTALL,;t t
7986 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7988 if test x"$ac_file" != x-; then
7989 mv $tmp/out $ac_file
7997 cat >>$CONFIG_STATUS <<\_ACEOF
8000 # CONFIG_HEADER section.
8003 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8004 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8006 # ac_d sets the value in "#define NAME VALUE" lines.
8007 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8008 ac_dB
='[ ].*$,\1#\2'
8011 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8012 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8013 ac_uB
='$,\1#\2define\3'
8017 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8018 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8020 - |
*:- |
*:-:* ) # input from stdin
8022 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8023 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8024 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8025 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8026 * ) ac_file_in
=$ac_file.
in ;;
8029 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8030 echo "$as_me: creating $ac_file" >&6;}
8032 # First look for the input files in the build tree, otherwise in the
8034 ac_file_inputs
=`IFS=:
8035 for f in $ac_file_in; do
8037 -) echo $tmp/stdin ;;
8039 # Absolute (can't be DOS-style, as IFS=:)
8040 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8041 echo "$as_me: error: cannot find input file: $f" >&2;}
8042 { (exit 1); exit 1; }; }
8043 # Do quote $f, to prevent DOS paths from being IFS'd.
8046 if test -f "$f"; then
8049 elif test -f "$srcdir/$f"; then
8054 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8055 echo "$as_me: error: cannot find input file: $f" >&2;}
8056 { (exit 1); exit 1; }; }
8059 done` ||
{ (exit 1); exit 1; }
8060 # Remove the trailing spaces.
8061 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8065 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8066 # `conftest.undefs', that substitutes the proper values into
8067 # config.h.in to produce config.h. The first handles `#define'
8068 # templates, and the second `#undef' templates.
8069 # And first: Protect against being on the right side of a sed subst in
8070 # config.status. Protect against being in an unquoted here document
8072 rm -f conftest.defines conftest.undefs
8073 # Using a here document instead of a string reduces the quoting nightmare.
8074 # Putting comments in sed scripts is not portable.
8076 # `end' is used to avoid that the second main sed command (meant for
8077 # 0-ary CPP macros) applies to n-ary macro definitions.
8078 # See the Autoconf documentation for `clear'.
8079 cat >confdef2sed.
sed <<\_ACEOF
8084 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8086 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8089 # If some macros were called several times there might be several times
8090 # the same #defines, which is useless. Nevertheless, we may not want to
8091 # sort them, since we want the *last* AC-DEFINE to be honored.
8092 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8093 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8094 rm -f confdef2sed.sed
8096 # This sed command replaces #undef with comments. This is necessary, for
8097 # example, in the case of _POSIX_SOURCE, which is predefined and required
8098 # on some systems where configure will not decide to define it.
8099 cat >>conftest.undefs <<\_ACEOF
8100 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8103 # Break up conftest.defines because some shells have a limit on the size
8104 # of here documents, and old seds have small limits too (100 cmds).
8105 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8106 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8107 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8108 echo ' :' >>$CONFIG_STATUS
8110 while grep . conftest.defines >/dev/null
8112 # Write a limited-size here document to $tmp/defines.sed.
8113 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8114 # Speed up: don't consider the non `#define' lines.
8115 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8116 # Work around the forget-to-reset-the-flag bug.
8117 echo 't clr' >>$CONFIG_STATUS
8118 echo ': clr' >>$CONFIG_STATUS
8119 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8121 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8125 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8126 rm -f conftest.defines
8127 mv conftest.
tail conftest.defines
8129 rm -f conftest.defines
8130 echo ' fi # grep' >>$CONFIG_STATUS
8131 echo >>$CONFIG_STATUS
8133 # Break up conftest.undefs because some shells have a limit on the size
8134 # of here documents, and old seds have small limits too (100 cmds).
8135 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8137 while grep . conftest.undefs
>/dev
/null
8139 # Write a limited-size here document to $tmp/undefs.sed.
8140 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8141 # Speed up: don't consider the non
`#undef'
8142 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8143 # Work around the forget-to-reset-the-flag bug.
8144 echo 't clr' >>$CONFIG_STATUS
8145 echo ': clr' >>$CONFIG_STATUS
8146 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8148 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8152 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8153 rm -f conftest.undefs
8154 mv conftest.tail conftest.undefs
8156 rm -f conftest.undefs
8158 cat >>$CONFIG_STATUS <<\_ACEOF
8159 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8160 # use $as_me), people would be surprised to read:
8161 # /* config.h. Generated by config.status. */
8162 if test x
"$ac_file" = x-
; then
8163 echo "/* Generated by configure. */" >$tmp/config.h
8165 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8167 cat $tmp/in >>$tmp/config.h
8169 if test x
"$ac_file" != x-
; then
8170 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8171 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8172 echo "$as_me: $ac_file is unchanged" >&6;}
8174 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8175 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8176 X"$ac_file" : 'X\(//\)[^/]' \| \
8177 X"$ac_file" : 'X\(//\)$' \| \
8178 X"$ac_file" : 'X\(/\)' \| \
8179 . : '\(.\)' 2>/dev/null ||
8181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8182 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8183 /^X\(\/\/\)$/{ s//\1/; q; }
8184 /^X\(\/\).*/{ s//\1/; q; }
8186 { if $as_mkdir_p; then
8191 while test ! -d "$as_dir"; do
8192 as_dirs
="$as_dir $as_dirs"
8193 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8194 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8195 X"$as_dir" : 'X\(//\)[^/]' \| \
8196 X"$as_dir" : 'X\(//\)$' \| \
8197 X"$as_dir" : 'X\(/\)' \| \
8198 . : '\(.\)' 2>/dev/null ||
8200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8201 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8202 /^X\(\/\/\)$/{ s//\1/; q; }
8203 /^X\(\/\).*/{ s//\1/; q; }
8206 test ! -n "$as_dirs" || mkdir
$as_dirs
8207 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8208 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8209 { (exit 1); exit 1; }; }; }
8212 mv $tmp/config.h
$ac_file
8218 # Compute $ac_file's index in $config_headers.
8220 for _am_header
in $config_headers :; do
8222 $ac_file |
$ac_file:* )
8225 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8228 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8229 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8230 X$ac_file : 'X\(//\)[^/]' \| \
8231 X$ac_file : 'X\(//\)$' \| \
8232 X$ac_file : 'X\(/\)' \| \
8233 . : '\(.\)' 2>/dev/null ||
8235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8236 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8237 /^X\(\/\/\)$/{ s//\1/; q; }
8238 /^X\(\/\).*/{ s//\1/; q; }
8239 s/.*/./; q'`/stamp-h
$_am_stamp_count
8242 cat >>$CONFIG_STATUS <<\_ACEOF
8245 # CONFIG_COMMANDS section.
8247 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8248 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8249 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8250 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8251 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8252 X"$ac_dest" : 'X\(//\)[^/]' \| \
8253 X"$ac_dest" : 'X\(//\)$' \| \
8254 X"$ac_dest" : 'X\(/\)' \| \
8255 . : '\(.\)' 2>/dev/null ||
8257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8259 /^X\(\/\/\)$/{ s//\1/; q; }
8260 /^X\(\/\).*/{ s//\1/; q; }
8262 { if $as_mkdir_p; then
8267 while test ! -d "$as_dir"; do
8268 as_dirs
="$as_dir $as_dirs"
8269 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8270 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8271 X"$as_dir" : 'X\(//\)[^/]' \| \
8272 X"$as_dir" : 'X\(//\)$' \| \
8273 X"$as_dir" : 'X\(/\)' \| \
8274 . : '\(.\)' 2>/dev/null ||
8276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8278 /^X\(\/\/\)$/{ s//\1/; q; }
8279 /^X\(\/\).*/{ s//\1/; q; }
8282 test ! -n "$as_dirs" || mkdir
$as_dirs
8283 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8284 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8285 { (exit 1); exit 1; }; }; }
8289 if test "$ac_dir" != .
; then
8290 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8291 # A "../" for each directory in $ac_dir_suffix.
8292 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8294 ac_dir_suffix
= ac_top_builddir
=
8298 .
) # No --srcdir option. We are building in place.
8300 if test -z "$ac_top_builddir"; then
8303 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8305 [\\/]* | ?
:[\\/]* ) # Absolute path.
8306 ac_srcdir
=$srcdir$ac_dir_suffix;
8307 ac_top_srcdir
=$srcdir ;;
8309 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8310 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8313 # Do not use `cd foo && pwd` to compute absolute paths, because
8314 # the directories may not exist.
8316 .
) ac_abs_builddir
="$ac_dir";;
8319 .
) ac_abs_builddir
=`pwd`;;
8320 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8321 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8324 case $ac_abs_builddir in
8325 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8327 case ${ac_top_builddir}.
in
8328 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8329 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8330 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8333 case $ac_abs_builddir in
8334 .
) ac_abs_srcdir
=$ac_srcdir;;
8337 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8338 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8339 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8342 case $ac_abs_builddir in
8343 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8345 case $ac_top_srcdir in
8346 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8347 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8348 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8353 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8354 echo "$as_me: executing $ac_dest commands" >&6;}
8357 # Only add multilib support code if we just rebuilt the top-level
8359 case " $CONFIG_FILES " in
8361 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8368 cat >>$CONFIG_STATUS <<\_ACEOF
8370 { (exit 0); exit 0; }
8372 chmod +x
$CONFIG_STATUS
8373 ac_clean_files
=$ac_clean_files_save
8376 # configure is writing to config.log, and then calls config.status.
8377 # config.status does its own redirection, appending to config.log.
8378 # Unfortunately, on DOS this fails, as config.log is still kept open
8379 # by configure, so config.status won't be able to write to it; its
8380 # output is simply discarded. So we exec the FD to /dev/null,
8381 # effectively closing config.log, so it can be properly (re)opened and
8382 # appended to by config.status. When coming back to configure, we
8383 # need to make the FD available again.
8384 if test "$no_create" != yes; then
8386 ac_config_status_args
=
8387 test "$silent" = yes &&
8388 ac_config_status_args
="$ac_config_status_args --quiet"
8390 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8392 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8393 # would make configure fail if this is the last instruction.
8394 $ac_cs_success ||
{ (exit 1); exit 1; }